/* ============================================
   SANITBUY — MODERN THEME OVERLAY
   Layout zgodny ze starą stroną, nowoczesny styl
   ============================================ */

/* ── Brand Colors ── */
:root {
  --sanitbuy-teal: #1a9e8a;
  --sanitbuy-teal-dark: #0e7d6c;
  --sanitbuy-dark: #1f282d;
  --sanitbuy-bg: #f5f6f8;
  --sanitbuy-card-bg: #ffffff;
  --sanitbuy-border: #e8eaed;
  --sanitbuy-text: #2c3e50;
  --sanitbuy-text-light: #7f8c9b;
  --sanitbuy-accent: #e74c3c;
  --sanitbuy-success: #27ae60;
  --sanitbuy-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--sanitbuy-font);
  color: var(--sanitbuy-text);
  background: var(--sanitbuy-bg);
  font-size: 14px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sanitbuy-teal);
  transition: color .15s;
}
a:hover {
  color: var(--sanitbuy-teal-dark);
}

/* ── Header ── */
.header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* ── Top Contact Bar ── */
.header-top-bar {
  background: var(--sanitbuy-dark);
  color: #ffffff;
  font-size: .8125rem;
  line-height: 36px;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.header-top-bar a {
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.header-top-bar .separator {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.6);
  margin: 0 12px;
  vertical-align: middle;
}
.header-top-bar .top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
}
.header-top-bar .top-bar-item .material-icons {
  font-size: 16px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.header-top-bar .top-bar-right {
  text-align: right;
}
.header-top-bar .top-bar-right a {
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

/* ── Logo ── */
.header-top__logo .navbar-brand {
  max-width: 260px !important;
}
.header-top__logo .logo {
  max-height: 60px;
  width: auto;
}

/* Hide search widget inside menu area (moved to header-top by JS) */
.header-bottom #_desktop_search {
  display: none !important;
}

/* ── Search ── */
.header-top__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.header-top__search {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.header-top-desktop {
  flex-wrap: nowrap;
}

.header-top__search,
.header-top__right {
  min-width: 0;
  white-space: nowrap;
}

#header-top-search {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* language switcher in top bar */
.header-top-bar .language-switcher .lang-link{
  color: #ffffff !important;
  font-weight: 700;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 3px;
  background: transparent;
  text-transform: uppercase;
  font-size: .8rem;
}
.header-top-bar .language-switcher .lang-link:hover{
  background: rgba(255,255,255,0.06);
}
@media (max-width:767px){
  .header-top-bar .language-switcher{display:none}
}

/* smaller role label */
.header-top-bar .phone-role{font-size:0.85rem;font-weight:600;margin-right:6px}

/* lang links next to login */
.header-top-bar .lang-links .lang-link{
  color: #ffffff !important;
  font-weight: 700;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 3px;
  background: transparent;
  font-size: .85rem;
}
.header-top-bar .lang-links .lang-link:hover{background: rgba(255,255,255,0.06)}
.header-top-bar .lang-links .lang-link.active,
.header-top-bar .language-switcher .lang-link.active {
  background: rgba(255,255,255,0.15) !important;
  text-decoration: underline;
  font-weight: 800;
}

/* Align 'see-more' to bottom-right of home-box */
.home-box{position:relative}
.home-box .see-more{position:absolute;right:1rem;bottom:1rem}
.home-box #time-specials .see-more a{display:inline-block}

/* Oferta czasowa - lepsza typografia i layout */
.page-cms .rte {
  max-width: 1050px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--sanitbuy-text);
}
.page-cms h1, .page-cms h2, .page-cms h3 {
  color: var(--sanitbuy-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.page-cms .product_list.grid.row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  padding-left: 0;
}
.page-cms .product_list.grid.row .item {
  background: var(--sanitbuy-card-bg);
  border-radius: 6px;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.page-cms #abc_index, .page-cms #abc_results, .page-cms .brands_popular, .page-cms .brands_list {
  display: none !important;
}
.page-cms .see_all { margin-top: 1rem; display:block; }

/* Make category anchor list nicer */
.page-cms #category-list-menu { display:flex; flex-wrap:wrap; gap:0.5rem 1.5rem; }
.page-cms #category-list-menu .category-list-item { list-style:none; }

/* Hide any residual footer content inside CMS page as a safeguard */
.page-cms .footer-container,
.page-cms footer#footer { display: none !important; }

/* Improve heading and category visuals for oferta-czasowa */
.page-cms .page-heading { font-size: 2rem; margin-bottom: 1rem; color: var(--sanitbuy-dark); }
.page-cms #category-list-menu .category-list-item a { color: var(--sanitbuy-teal); font-weight: 700; text-decoration: none; }
.page-cms #category-list-menu .category-list-item a:hover { color: var(--sanitbuy-teal-dark); text-decoration: underline; }

.page-cms .rte img { max-width: 220px; height: auto; margin: 0.5rem 0; }

/* Oferta czasowa - estetyka */
.page-cms .rte { max-width: 980px; margin: 1.25rem auto; font-size: 1rem; color: var(--sanitbuy-text); }
.page-cms .rte h1, .page-cms .rte h2, .page-cms .rte h3 { color: var(--sanitbuy-dark); font-weight: 700; margin-bottom: 0.6rem; }
.page-cms .rte ul { list-style:none; padding-left:0; display:grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap:0.5rem 1rem; }
.page-cms .rte ul li { background: #ffffff; padding: 0.45rem 0.6rem; border-radius:6px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.page-cms .rte a { color: var(--sanitbuy-teal); font-weight:600; text-decoration:none; }
.page-cms .rte a:hover { text-decoration:underline; }
.page-cms .rte .certificates { display:flex; gap:0.75rem; flex-wrap:wrap; justify-content:flex-start; }
.page-cms .rte .certificates img { max-width:120px; height:auto; display:block; }
.page-cms .see-more { display:none; }




.header-top #search_widget {
  width: 100%;
  max-width: 20rem;
  min-width: 16rem;
}

@media (min-width: 768px) {
  .header-top-desktop {
    position: relative;
  }

  .header-top__tools {
    position: relative;
    justify-content: flex-end;
  }

  .header-top__search {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 36rem;
    max-width: 50vw;
    z-index: 1;
  }

  #header-top-search {
    justify-content: center;
  }

  .header-top #search_widget {
    max-width: 36rem;
    min-width: 20rem;
  }

  .header-top__right {
    margin-left: auto;
    z-index: 2;
  }
}
.header-top #search_widget form {
  position: relative;
  width: 100%;
}
.header-top #search_widget input.js-search-input {
  background: var(--sanitbuy-bg);
  border: 1px solid var(--sanitbuy-border);
  border-radius: 8px;
  height: 42px;
  line-height: 42px;
  padding: 0 2.5rem 0 2.85rem;
  font-size: .875rem;
  transition: border-color .15s, box-shadow .15s;
}
.header-top #search_widget input.js-search-input:focus {
  border-color: var(--sanitbuy-teal);
  box-shadow: 0 0 0 3px rgba(26,158,138,.15);
  background: #fff;
}
.header-top #search_widget .search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sanitbuy-text-light);
  display: inline-flex;
  align-items: center;
}
.header-top #search_widget .clear {
  right: 8px;
  color: var(--sanitbuy-text-light);
}
.search-description {
  display: block;
  font-size: .75rem;
  color: var(--sanitbuy-text-light);
  margin-top: 2px;
  padding-left: 0;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .search-description {
    display: none;
  }
}

/* ── Header Right (contact, currency, user, cart) ── */
.header-top__right {
  gap: .5rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.header-top__right > div {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#schowek-root {
  margin-left: .5rem !important;
}

/* Layout fix: prevent horizontal page scrolling caused by overflowing elements */
html, body {
  overflow-x: hidden;
}


@media (max-width: 767px) {
  .header-top__tools {
    gap: .4rem;
  }

  .header-top__logo .navbar-brand {
    max-width: 170px !important;
  }

  .header-top #search_widget {
    max-width: 11rem;
    min-width: 8rem;
  }

  .header-top #search_widget input.js-search-input {
    height: 38px;
    line-height: 38px;
    font-size: .8125rem;
  }

  .header-top__right {
    gap: .35rem;
  }

  #schowek-root {
    margin-left: .25rem !important;
  }
}

/* Contact link in top */
#_desktop_contact_link .contact-link {
  font-size: .8125rem;
}
#_desktop_contact_link .contact-link a {
  color: var(--sanitbuy-text);
  font-weight: 500;
}
#_desktop_contact_link .contact-link a .material-icons {
  font-size: 18px;
  vertical-align: middle;
  margin-right: 4px;
  color: var(--sanitbuy-teal);
}

/* Currency selector */
.currency-selector__wrapper select {
  background: transparent;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 6px;
  font-size: .8125rem;
  padding: 3px 20px 3px 8px;
  cursor: pointer;
  appearance: auto;
}

/* User info */
.header-block__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sanitbuy-text);
  font-weight: 500;
  font-size: .8125rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-block__action-btn:hover {
  color: var(--sanitbuy-teal);
}
.header-block__icon {
  font-size: 20px !important;
}
.header-block__badge {
  background: var(--sanitbuy-teal);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  text-align: center;
  padding: 0 5px;
  position: absolute;
  top: -4px;
  right: -8px;
}

/* ── Cart Block ── */
#_desktop_cart .blockcart {
  position: relative;
}
#_desktop_cart .blockcart .header-block__action-btn {
  position: relative;
}

/* ── Menu ── */
.header-bottom {
  background: #fff;
  border-top: 1px solid var(--sanitbuy-border);
  border-bottom: 1px solid var(--sanitbuy-border);
}
.main-menu__tree > li > a {
  padding: .875rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .8125rem;
  color: var(--sanitbuy-dark);
  letter-spacing: .3px;
  white-space: nowrap;
}
.main-menu__tree > li > a:hover {
  color: var(--sanitbuy-teal);
}

@media (min-width: 1200px) {
  .header-bottom .main-menu__tree {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-left: -1.1rem;
    width: 100%;
  }

  .header-bottom .main-menu__tree > li {
    flex: 0 0 auto;
  }

  .header-bottom .main-menu__tree > li > a {
    font-size: .75rem;
    padding: .75rem .75rem;
  }
}

/* ── Header mobile search ── */
.search__offcanvas {
  background: #fff;
}

/* ── Slider: hide captions/text ── */
#home-slider .carousel-caption,
#home-slider .caption,
#home-slider .carousel-link figcaption {
  display: none !important;
}
#home-slider .carousel-inner,
#home-slider .carousel-item,
#home-slider .carousel-content,
#home-slider .carousel-link {
  height: 100%;
}
#home-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Blog article images ── */
.home-box .blog-item img,
.home-box .promo-item img {
  max-height: 150px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.home-box .promo-item .product-thumb img {
  max-height: 140px;
}

/* ── Homepage ── */
.page-home {
  background: transparent;
  padding-left: 4rem;
  padding-right: 4rem;
}

/* ── Top Column (H1 + Slider + Certificates) ── */
#homepage-h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sanitbuy-dark);
  margin: 1.5rem 0 .75rem;
  padding: 0;
  line-height: 1.3;
}
#homepage-hero {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 1.5rem;
}
#homepage-hero #hero-slider-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  display: block;
  margin: 0;
}
#homepage-hero #hero-slider-wrap > * {
  width: 100%;
}
#homepage-hero #hero-slider-wrap > .hero-banner-icons,
#homepage-hero #hero-slider-wrap > .hero-banner-icons-right {
  width: auto !important;
}
/* hero left icons */
.hero-banner-icons {
  position: absolute;
  left: 16px;
  top: 18px;
  display: flex;
  flex-direction: column;
  z-index: 35;
}
.hero-banner-icons-right {
  position: absolute;
  left: auto !important;
  right: 0 !important;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 230px;
  padding: 14px 16px;
  background: rgba(92, 190, 193, 0.35);
  border-left: 1px solid rgba(255,255,255,.45);
  z-index: 30;
}
.hero-banner-icons .hero-icon {
  display: block;
  width: 76px;
  height: auto;
  object-fit: contain;
}
.hero-banner-icons-right .hero-right-item {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 32%;
}
.hero-banner-icons-right .hero-right-item + .hero-right-item {
  border-top: 1px solid rgba(255,255,255,.45);
}
.hero-banner-icons-right .hero-icon {
  display: block;
  width: 116px;
  height: auto;
  object-fit: contain;
}
.certificates-sidebar {
  width: 160px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 12px;
  padding: 16px 12px;
}
.certificates-sidebar img {
  display: block;
  max-width: 100%;
  height: auto;
}
.certificates-sidebar .cert-item {
  text-align: center;
  padding: 8px 0;
}
.certificates-sidebar .cert-item + .cert-item {
  border-top: 1px solid var(--sanitbuy-border);
}

/* ── Specifications Bar ── */
#specifications-bar {
  background: #fff;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
#specifications-bar .spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--sanitbuy-dark);
}
#specifications-bar .spec-item + .spec-item {
  border-left: 1px solid var(--sanitbuy-border);
}

/* Schowek (bookmark) */
.header-top__right #_desktop_cart { order: 90; }
.header-top__right #schowek-root { order: 91; }
#schowek-root { position: relative; margin-left: .5rem !important; }
.saved-products { font-size: .9rem; font-weight: 500; }
.saved-products a { color: var(--sanitbuy-text); text-decoration: none; }
.saved-products a:hover { color: var(--sanitbuy-teal); }
.saved-products.bold a { color: var(--sanitbuy-teal); text-decoration: underline; }
.saved-products-hint {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  width: 240px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--sanitbuy-border);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  font-size: .72rem;
  color: var(--sanitbuy-text-light);
  line-height: 1.2;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease;
}
#schowek-root:hover .saved-products-hint {
  opacity: 1;
  visibility: visible;
}
.schowek-modal { position: fixed; right: 18px; top: 72px; z-index: 2000; }
.schowek-modal__inner { min-width: 260px; max-width: 420px; border-radius: 8px; }
.schowek-modal a { color: var(--sanitbuy-text); }
.remove-from-schowek { display: none; }

.product__middle .product-legacy__actions #add_bookmark_item_25148,
.product__middle .product-legacy__actions .add-to-schowek {
  display: block !important;
}

/* Kontakt legacy content */
.contact-legacy h1 {
  font-size: 1.9rem;
  margin: 0 0 .25rem;
}
.contact-legacy .head {
  border-bottom: 2px solid var(--sanitbuy-border);
  margin-bottom: 1.5rem;
}
.contact-legacy .single_block {
  margin-bottom: 1rem;
}
.contact-legacy p {
  margin-bottom: .35rem;
}
.contact-legacy .single_block pre {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: .95rem;
  margin: 0;
  padding: 0;
  white-space: pre-line;
}
.contact-legacy .green {
  color: var(--sanitbuy-teal-dark);
}
.contact-legacy iframe {
  max-width: 100%;
  border-radius: 8px;
}
.contact-legacy .contact-map {
  width: 100%;
  min-height: 520px;
}
.contact-legacy #skype_content {
  margin-top: 1rem;
}

/* Category subcategory strip */
.page-category #subcategories,
.page-search #subcategories,
.page-cms #subcategories {
  margin-bottom: 1.5rem;
}

.page-category #subcategories .subcategory,
.page-search #subcategories .subcategory,
.page-cms #subcategories .subcategory {
  align-items: center;
  background: #fff;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: row;
  gap: .75rem;
  height: 100%;
  padding: .6rem .75rem;
  text-align: left;
  text-decoration: none;
}

.page-category #subcategories .subcategory__wrapper,
.page-search #subcategories .subcategory__wrapper,
.page-cms #subcategories .subcategory__wrapper {
  margin-bottom: 0;
}

.page-category #subcategories .subcategory__image,
.page-search #subcategories .subcategory__image,
.page-cms #subcategories .subcategory__image {
  aspect-ratio: 1 / 1;
  flex: 0 0 4.25rem;
  margin: 0;
  width: 4.25rem;
}

.page-category #subcategories .subcategory__image img,
.page-search #subcategories .subcategory__image img,
.page-cms #subcategories .subcategory__image img {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .10);
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.page-category #subcategories .subcategory__name,
.page-search #subcategories .subcategory__name,
.page-cms #subcategories .subcategory__name {
  color: var(--bs-gray-800);
  flex: 1 1 auto;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  min-width: 0;
}

@media (max-width: 767.98px) {
  .page-category #subcategories .subcategory,
  .page-search #subcategories .subcategory,
  .page-cms #subcategories .subcategory {
    flex-direction: column;
    gap: .75rem;
    text-align: center;
  }

  .page-category #subcategories .subcategory__image,
  .page-search #subcategories .subcategory__image,
  .page-cms #subcategories .subcategory__image {
    width: 72px;
    flex-basis: 72px;
  }

  .page-category #subcategories .subcategory__name,
  .page-search #subcategories .subcategory__name,
  .page-cms #subcategories .subcategory__name {
    font-size: 1rem;
    margin-top: 0;
  }
}
.contact-legacy #skype_content .img_wrap img {
  border-radius: 6px;
}
.contact-legacy #gallery_contact {
  min-height: 24px;
}
@media (max-width: 991px) {
  .contact-legacy .contact-map {
    min-height: 420px;
  }
}

#specifications-bar .spec-item .material-icons {
  font-size: 24px;
  color: var(--sanitbuy-teal);
  flex-shrink: 0;
}
@media (max-width: 991px) {
  #specifications-bar .spec-item {
    padding: 12px 16px;
    font-size: .8125rem;
  }
  #specifications-bar .spec-item + .spec-item {
    border-left: none;
    border-top: 1px solid var(--sanitbuy-border);
  }
}

/* ── Homepage Content Boxes ── */
.home-section {
  margin-bottom: 1.5rem;
}
.home-box {
  background: #fff;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 12px;
  padding: 1.25rem;
  height: 100%;
}
.home-box h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sanitbuy-dark);
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-box h3 .material-icons {
  color: var(--sanitbuy-teal);
  font-size: 22px;
}
.home-box h3 a {
  color: inherit;
  text-decoration: none;
}
.home-box h3 a:hover {
  color: var(--sanitbuy-teal);
}
.home-box .see-more {
  text-align: right;
  margin-top: .75rem;
}
.home-box .see-more a {
  font-weight: 600;
  font-size: .8125rem;
  color: var(--sanitbuy-teal);
  text-decoration: none;
}
.home-box .see-more a:hover {
  color: var(--sanitbuy-teal-dark);
}

/* ── Time Offer / Promo ── */
#time-specials .promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.promo-item {
  text-align: center;
  padding: 12px;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 8px;
  transition: box-shadow .15s;
}
.promo-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.promo-item .countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--sanitbuy-accent);
  color: #fff;
  font-weight: 700;
  font-size: .8125rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.promo-item .product-thumb {
  display: block;
  margin-bottom: 8px;
}
.promo-item .product-thumb img {
  border-radius: 6px;
  max-height: 140px;
  width: auto;
}
.promo-item .product-title {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--sanitbuy-dark);
  line-height: 1.3;
  margin-bottom: 4px;
  text-decoration: none;
}
.promo-item .product-details {
  font-size: .75rem;
  color: var(--sanitbuy-text-light);
  margin-bottom: 6px;
}
.promo-item .product-price .old-price {
  text-decoration: line-through;
  color: var(--sanitbuy-text-light);
  font-size: .8125rem;
  margin-right: 6px;
}
.promo-item .product-price .price {
  color: var(--sanitbuy-accent);
  font-weight: 700;
  font-size: 1rem;
}
@media (max-width: 767px) {
  #time-specials .promo-grid { grid-template-columns: 1fr; }
}

/* ── Safety Shopping ── */
#safety-shopping ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#safety-shopping ul li {
  padding: 8px 0 8px 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%231a9e8a'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") left center no-repeat;
  background-size: 16px;
  font-size: .8125rem;
  color: var(--sanitbuy-dark);
  line-height: 1.5;
}
#safety-shopping ul li strong {
  color: var(--sanitbuy-teal);
  font-weight: 700;
}
#safety-shopping ul li + li {
  border-top: 1px solid var(--sanitbuy-border);
}

/* ── Clearance Sale ── */
#all-specials .clearance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 767px) {
  #all-specials .clearance-grid { grid-template-columns: 1fr; }
}

/* ── Blog Testimonials ── */
#recent-posts .blog-slider {
  position: relative;
}
#recent-posts .blog-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
}
#recent-posts .blog-item + .blog-item {
  border-top: 1px solid var(--sanitbuy-border);
}
#recent-posts .blog-avatar {
  width: 70px;
  flex-shrink: 0;
}
#recent-posts .blog-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}
#recent-posts .blog-content {
  flex: 1;
  min-width: 0;
}
#recent-posts .blog-content .blog-author {
  font-weight: 700;
  color: var(--sanitbuy-dark);
}
#recent-posts .blog-content p {
  font-size: .8125rem;
  color: var(--sanitbuy-text);
  line-height: 1.5;
  margin: 4px 0 0;
  font-style: italic;
}
#recent-posts .blog-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
#recent-posts .blog-nav a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sanitbuy-border);
  text-indent: -9999px;
  display: block;
}
#recent-posts .blog-nav a.active {
  background: var(--sanitbuy-teal);
}

/* ── New Products ── */
.new-products-category-menu {
  margin-bottom: 1.25rem;
}
.new-products-category-menu__title {
  display: none;
}
.new-products-category-menu__items {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.new-products-category-menu__item {
  display: inline-block;
  padding: .3rem .75rem;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none !important;
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.new-products-category-menu__item:hover,
.new-products-category-menu__item:focus {
  background: #000;
  color: #fff !important;
  border-color: #000;
  text-decoration: none !important;
}
.new-products-section {
  scroll-margin-top: 90px;
}
.new-products-section__header {
  padding-bottom: 8px;
  border-bottom: 1px solid #eceff3;
}
.new-products-section__top-link {
  color: #6b7280;
  font-size: 13px;
  text-decoration: none;
}
.new-products-section__top-link:hover,
.new-products-section__top-link:focus {
  color: #111827;
  text-decoration: underline;
}
.new-products .products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
@media (max-width: 575px) {
  .new-products-category-menu__items {
    padding: .75rem 0 1.25rem;
    gap: .35rem .4rem;
  }
  .new-products-category-menu__item {
    white-space: nowrap;
  }
  .new-products .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── Customer Reviews ── */
#home-reviews .reviews-slider {
  position: relative;
}
#home-reviews .review-item {
  text-align: center;
  padding: 24px 16px;
}
#home-reviews .review-item .stars {
  color: #f1c40f;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
#home-reviews .review-item blockquote {
  font-size: .9375rem;
  font-style: italic;
  color: var(--sanitbuy-text);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 12px;
}
#home-reviews .review-item .author {
  font-weight: 700;
  color: var(--sanitbuy-dark);
  font-style: normal;
}

/* ── SEO Text ── */
#seo-text {
  background: #fff;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
#seo-text h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sanitbuy-dark);
  margin: 0 0 .75rem;
}
#seo-text p {
  font-size: .875rem;
  color: var(--sanitbuy-text);
  line-height: 1.6;
  margin: 0 0 .75rem;
}
#seo-text p:last-child { margin: 0; }

/* ── Footer ── */
.footer__before {
  background: #fff;
  border-top: 1px solid var(--sanitbuy-border);
  padding: 2rem 0;
}
.footer__main {
  background: var(--sanitbuy-dark);
  color: rgba(255,255,255,.85);
  padding: 1.5rem 1rem 1rem;
  font-size: .875rem;
}
.footer__main a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}
.footer__main a:hover {
  color: #fff;
}
.footer__main h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.footer__main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__main ul li {
  padding: 4px 0;
}
.footer__main ul li a {
  font-size: .8125rem;
}
.footer__main .footer-contact p {
  margin: 0 0 4px;
  font-size: .8125rem;
}
.footer__main .footer-contact strong {
  color: #fff;
}
.footer__main .footer-certificates {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}
.footer__main .footer-certificates img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}
.footer__main .copyright {
  text-align: center;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8125rem;
}
.footer__main .copyright a {
  color: var(--sanitbuy-teal);
}

/* ── Product page (existing styles, preserved) ── */
.product.js-product-container {
  margin-bottom: 40px;
  max-width: 100%;
  overflow: visible !important;
}
.product__left .product-cover img,
.product__left .product-images img,
#product-images img,
.product__left picture img {
  max-height: 640px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}
.product__left .product-cover,
.product__left .images-container,
.product__left #product-images,
.product__left .product-images {
  max-height: 640px !important;
  min-height: auto !important;
  padding: 0 !important;
}
.product__left #product-images > div,
.product__left .product-images > div {
  max-height: 640px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.product__left picture {
  display: block !important;
  max-height: 640px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.product__left,
.product__middle,
.product__right {
  align-self: flex-start;
}
.product__right-sticky {
  position: sticky;
  top: 20px;
  padding: 0;
}

.product-id-25148 .product.js-product-container {
  background: #ffffff;
  padding: 24px;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(31, 40, 45, 0.06);
}

.product-id-25148 .product.js-product-container > .row {
  margin-left: 0;
  margin-right: 0;
}

.product-id-25148 .product.js-product-container > .row > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

/* ── Product Legacy (Custom layout for product ID 25148) ── */
#product-25148 .product-legacy,
.product__middle .product-legacy {
  background: #ffffff;
  padding: 1.25rem 1.35rem !important;
  margin: 0;
  border: 1px solid var(--sanitbuy-border);
  border-radius: 14px 14px 0 0;
  border-bottom: none;
  box-shadow: none;
}

#product-25148 .product-legacy__title,
.product__middle .product-legacy__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--sanitbuy-dark);
  line-height: 1.3;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

#product-25148 .product-legacy__specs-list,
.product__middle .product-legacy__specs-list {
  margin-bottom: 1rem;
  padding: 0.9rem 0;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--sanitbuy-text);
  border-top: 1px solid rgba(232, 234, 237, 0.9);
  border-bottom: 1px solid rgba(232, 234, 237, 0.9);
}

#product-25148 .spec-row,
.product__middle .spec-row {
  display: flex;
  gap: 0.35rem;
  align-items: baseline;
  padding: 0.34rem 0;
  color: var(--sanitbuy-text);
}

#product-25148 .spec-row strong,
.product__middle .spec-row strong {
  font-weight: 600;
  color: var(--sanitbuy-dark);
}

#product-25148 .product-legacy__pricing,
.product__middle .product-legacy__pricing {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--sanitbuy-text);
  background: #ffffff;
  border: 1px solid rgba(232, 234, 237, 0.9);
  border-radius: 12px;
}

#product-25148 .pricing-row,
.product__middle .pricing-row {
  padding: 0.18rem 0;
}

#product-25148 .pricing-current,
.product__middle .pricing-current {
  padding: 0.2rem 0 0.45rem;
  margin-bottom: 0.3rem;
}

#product-25148 .pricing-term,
.product__middle .pricing-term {
  padding: 0.4rem 0 0;
  font-weight: 700;
  color: var(--sanitbuy-dark);
}

#product-25148 .product-legacy__quantity,
.product__middle .product-legacy__quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.85rem 0;
  font-size: 0.925rem;
  border-bottom: 1px solid rgba(232, 234, 237, 0.9);
}

#product-25148 .product-legacy__actions,
.product__middle .product-legacy__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#product-25148 .product-legacy__quantity .quantity-button input,
.product__middle .product-legacy__quantity .quantity-button input {
  width: 2.375rem!important;
  min-width: 2.375rem!important;
  height: 2.375rem!important;
  max-width: 2.375rem!important;
  border: 1px solid var(--sanitbuy-border)!important;
  border-radius: 10px;
  padding: 0!important;
  text-align: center;
  font-weight: 600;
  background: #fff;
}

#product-25148 .product-legacy__quantity button,
.product__middle .product-legacy__quantity button {
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--sanitbuy-border) !important;
  background: #fff !important;
  color: var(--sanitbuy-dark) !important;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(31, 40, 45, 0.04);
}

#product-25148 .product-legacy__actions button,
.product__middle .product-legacy__actions button {
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(31, 40, 45, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#product-25148 .product-legacy__actions button:hover,
.product__middle .product-legacy__actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(31, 40, 45, 0.12);
  filter: saturate(1.02);
}

#product-25148 .product__right-sticky .legacy-contact-box,
.product__right-sticky .legacy-contact-box {
  background: linear-gradient(135deg, #1a73e8 0%, #1565d8 100%) !important;
  padding: 1.35rem 1.4rem !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(26, 115, 232, 0.22);
}

#product-25148 .product__right-sticky .legacy-contact-box > div:first-child,
.product__right-sticky .legacy-contact-box > div:first-child {
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  letter-spacing: 0.01em;
}

#product-25148 .product__right-sticky .legacy-contact-box > div:last-child,
.product__right-sticky .legacy-contact-box > div:last-child {
  font-size: 0.9rem !important;
  line-height: 1.85 !important;
}

/* Faceted search scroll + toggle states */
.search-filters .facet,
.search-filters .facet.accordion-item {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.search-filters .facet-scroll {
  max-height: 18rem !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: .25rem;
}

.search-filters .facet .title {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: .35rem 0;
}

.search-filters .facet .title .facet-title {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-filters .facet .title .collapse-icons {
  flex: 0 0 auto;
}

.search-filters .facet .title .collapse-icons .remove,
.search-filters .facet .title[aria-expanded="true"] .collapse-icons .add,
.search-filters .facet .title:not([aria-expanded="true"]) .collapse-icons .remove {
  display: none;
}

.search-filters .facet .title[aria-expanded="true"] .collapse-icons .remove {
  display: inline-block;
}

.search-filters .facet .facet-label {
  align-items: flex-start;
  display: flex;
  flex-wrap: nowrap;
  gap: .35rem;
}

.search-filters .facet .facet-label .custom-checkbox,
.search-filters .facet .facet-label .custom-radio {
  flex: 0 0 auto;
  margin-top: .15rem;
  background: transparent !important;
  width: auto;
}

.search-filters .facet .facet-label .custom-checkbox span,
.search-filters .facet .facet-label .custom-radio span {
  background: transparent !important;
}

.search-filters .facet .facet-label a {
  flex: 1 1 auto;
  white-space: nowrap;
}

/* Product Tabs Styling for product 25148 */
#product-25148 .product__infos-tabs,
.product__infos-tabs {
  width: 100%;
  margin-top: 0;
}

#product-25148 .product.js-product-container > .row > .col-lg-8 > .row.mt-3 {
  margin-top: 0 !important;
}

#product-25148 .product__infos-tabs .nav-tabs,
.product__infos-tabs .nav-tabs {
  border-bottom: 2px solid var(--sanitbuy-border);
  margin-bottom: 0;
  gap: 0;
  padding-top: 0.25rem;
}

#product-25148 .product__infos-tabs .nav-link,
.product__infos-tabs .nav-link {
  padding: 1rem 1.35rem !important;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--sanitbuy-text) !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  margin-bottom: -2px;
  background: transparent !important;
  transition: all 0.15s;
}

#product-25148 .product__infos-tabs .nav-link:hover,
.product__infos-tabs .nav-link:hover {
  color: var(--sanitbuy-teal) !important;
  border-bottom-color: var(--sanitbuy-teal) !important;
}

#product-25148 .product__infos-tabs .nav-link.active,
.product__infos-tabs .nav-link.active {
  color: var(--sanitbuy-teal) !important;
  border-bottom-color: var(--sanitbuy-teal) !important;
  background: transparent !important;
}

#product-25148 .product__infos-tabs .tab-content,
.product__infos-tabs .tab-content {
  padding: 1.35rem 1.1rem 0.3rem;
  border: 1px solid var(--sanitbuy-border);
  border-top: none;
  border-radius: 0 0 14px 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 40, 45, 0.06);
}

#product-25148 .product__infos-tabs .nav-tabs,
.product__infos-tabs .nav-tabs {
  border-top: 1px solid var(--sanitbuy-border);
  border-left: 1px solid var(--sanitbuy-border);
  border-right: 1px solid var(--sanitbuy-border);
  background: #fff;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#product-25148 .product__infos-tabs .tab-pane,
.product__infos-tabs .tab-pane {
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hide unnecessary elements for product 25148 */
.product__middle:has(.product-legacy) ~ .mt-4,
.product-legacy ~ .product__variants_middle {
  display: none;
}

/* Hide prices and description short ONLY for product 25148 */
#product-25148 .product__prices,
#product-25148 .product__description-short {
  display: none;
}

/* ── Product 25148 Gallery Styling ── */
/* Main image container */
#product-25148 .product__images {
  margin-bottom: 0;
}

#product-25148 #product-images {
  border: 1px solid var(--sanitbuy-border);
  border-radius: 8px 8px 0 0;
  background: #ffffff;
  padding: 8px;
}

#product-25148 .carousel-item {
  background: #f8f9fa;
  border-radius: 4px;
}

/* Thumbnails container and heading */
#product-25148 .thumbnails__container {
  background: #ffffff;
  border: 1px solid var(--sanitbuy-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 0;
  margin: 0;
}

/* Thumbnail list styling */
#product-25148 .thumbnails__list {
  margin: 0;
  padding: 0.75rem;
  background: #f8f9fa;
}

#product-25148 .thumbnails__list .thumbnail {
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: white;
  padding: 0;
}

#product-25148 .thumbnails__list .thumbnail img {
  border-radius: 4px;
  display: block;
}

#product-25148 .thumbnails__list .thumbnail.active {
  border-color: var(--sanitbuy-teal);
}

#product-25148 .thumbnails__list .thumbnail:hover {
  border-color: var(--sanitbuy-teal);
  box-shadow: 0 2px 8px rgba(26, 158, 138, 0.15);
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 991px) {
  #homepage-hero {
    flex-direction: column;
  }
  .certificates-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .certificates-sidebar .cert-item + .cert-item {
    border-top: none;
    border-left: 1px solid var(--sanitbuy-border);
    padding-left: 20px;
  }
  #specifications-bar .spec-item + .spec-item {
    border-left: none;
    border-top: 1px solid var(--sanitbuy-border);
  }
  .home-box {
    margin-bottom: 1rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .header-top__logo {
    display: none !important;
  }
  .header-top__search {
    display: none !important;
  }
  .main-menu .header-block.d-xl-none {
    display: flex !important;
  }
  .header-top-bar {
    font-size: .75rem;
    line-height: 32px;
  }
  .header-top-bar .separator {
    margin: 0 6px;
  }
  #homepage-h1 {
    font-size: 1.125rem;
  }
  .certificates-sidebar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }
  .certificates-sidebar .cert-item {
    flex: 1;
    min-width: 80px;
  }
  .certificates-sidebar .cert-item + .cert-item {
    border-left: 1px solid var(--sanitbuy-border);
    border-top: none;
  }
  .promo-item .countdown {
    font-size: .75rem;
    padding: 2px 8px;
  }
  #recent-posts .blog-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__main .row > div {
    margin-bottom: 1.5rem;
  }
}

/* Small mobile */
@media (max-width: 575px) {
  .promo-item .product-title {
    font-size: .75rem;
  }
}

/* ── Sticky header tweaks ── */
.js-sticky-header.is-sticky {
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
