/* #shs_endless_scroll_loading {background-image: url(../img/loading.gif) !important;} */


/* ==========================================
   SHS Listing – Bootstrap-kompatibles Grid
   ohne equalizeListingHeights()
   ========================================== */
.shs_page_number.active {
    background-color: #007bff;
    color: #fff !important;
    border-color: #007bff;
}

.shs_prev {
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.shs_next {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}

.shs_page_number {
    border-radius: 0 !important;
}

#shs-end-of-list {
    opacity: 1;
    transition: opacity 0.6s;
    margin: 0px auto;
    padding: 18px 24px;
    text-align: center;
    background-color: rgb(249, 249, 249);
    border: 1px solid rgba(6, 6, 6, 0.08);
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 10px;
    color: rgb(51, 51, 51);
    font-size: 1.05em;
    font-weight: 500;
    line-height: 1.5;
    width: 100%;

}

#shs_load_more_box {
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

#shs_load_more_product_btn {
    display: inline-block;
    max-width: 100%;
    padding: 12px 20px;
    border: 1px solid #007bff;
    border-radius: 6px;
    background: #007bff;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

#shs_load_more_product_btn:hover,
#shs_load_more_product_btn:focus {
    background: #0069d9;
    border-color: #0062cc;
    color: #fff;
}


.shs_endless_product_listing.listing.row.products {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.shs_endless_product_listing.listing.row.products > .col {
  margin-bottom: 0;
}

.shs_endless_product_listing > .shs_endless_product_box {
  grid-column: span 4;
  display: flex;
  float: none !important;
  width: auto !important;
  padding-left: 0;
  padding-right: 0;
  align-self: stretch;
}

.shs_endless_product_listing > .shs_endless_page_marker_col,
.shs_endless_product_listing > #shs-end-of-list,
.shs_endless_product_listing > #shs_load_more_box,
.shs_endless_product_listing > #shs_endless_scroll_loading,
.shs_endless_product_listing > [id^="scroll-placeholder-"] {
  grid-column: 1 / -1;
}

.shs_endless_product_listing .section.panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100% !important;
}

.shs_endless_product_listing .section-body {
  display: block;
  flex: 1 0 auto;
}

.shs_endless_product_listing .section-footer {
  margin-top: auto;
}

.shs_endless_product_listing .image img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.shs_endless_product_listing .image {
  margin: 0;
}

.shs_endless_product_listing .image-link {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: normal !important;
}

.shs_endless_product_listing .title,
.shs_endless_product_listing .section-body,
.shs_endless_product_listing .section-footer,
.shs_endless_product_listing .section.panel {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.shs_endless_product_listing .image-link::before,
.shs_endless_product_listing .image-link:before {
  content: none !important;
  display: none !important;
}

.shs_endless_product_listing .title {
  min-height: 3.2em; /* gleiche Titellänge */
  overflow: hidden;
}

.shs_endless_product_listing .product-price {
  font-weight: bold;
  margin-top: 6px;
}

.shs_endless_product_listing .col-md-4,
.shs_endless_product_listing .col-sm-6 {
  padding-left: 0;
  padding-right: 0;
}


.shs_endless_product_listing .section.panel {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shs_endless_product_listing .section.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.shs_endless_product_listing .shs_pending_layout {
  visibility: hidden !important;
}

.shs_endless_product_listing .shs_pending_layout .section.panel,
.shs_endless_product_listing .shs_pending_layout .section.panel:hover {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

@media (max-width: 991px) {
  .shs_endless_product_listing > .shs_endless_product_box {
    grid-column: span 6;
  }
}

@media (max-width: 767px) {
  .shs_endless_product_listing {
    grid-template-columns: 1fr;
  }

  .shs_endless_product_listing > .shs_endless_product_box {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}





#shs_endless_scroll_loading {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 18px;
}

#shs_endless_scroll_loading .shs-loading-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 88px;
    padding: 18px 24px;
    border: 1px solid rgba(6, 6, 6, 0.08);
    border-radius: 12px;
    background: linear-gradient(180deg, #fbfbfb 0%, #f2f2f2 100%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

#shs_endless_scroll_loading .shs-loading-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #e5e5e5;
    border-top-color: #b21f2d;
    border-radius: 50%;
    animation: shs-loading-spin 0.85s linear infinite;
    flex: 0 0 auto;
}



#shs_endless_scroll_loading .column .box {
    border: none;
    padding: 0px;
    margin: 0px;
}


#shs_endless_scroll_gotoFooter {
    display: none;
    background-color: #fff;
    color: #757575;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    height: 50px;
    width: 50px;
    bottom: 10px; 
    right: 60px; 
    overflow: hidden; 
    position: fixed; 
    text-decoration: none; 
    text-indent: -999px; 
    z-index: 333;
    border-radius:50%;
    background: url(../img/shs_arrow_down.png) no-repeat 19px 25px;
}


#shs_endless_scroll_gotoHeader {
    display: none;
    background-color: #fff;
    color: #757575;
    box-shadow: 0 -2px 7px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    height: 50px;
    width: 50px;
    bottom: 70px; 
    right: 60px;
    overflow: hidden; 
    position: fixed; 
    text-decoration: none; 
    text-indent: -999px; 
    z-index: 333;
    border-radius:50%;
    background: url(../img/shs_arrow_up.png) no-repeat 19px 25px;
}



div.shs_endless_scroll_newpage_content {
    display: none;
}

#shs_endless_scroll_newpage {}

div.shs_endless_scroll_newpage_content {
    display: none;
}

#shs_endless_scroll_loading.col-xs-4 {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.endless_scroll_loading_text p {
    text-align: left;
    line-height: 1.4;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

@keyframes shs-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
