/** Shopify CDN: Minification failed

Line 253:96 Expected identifier but found whitespace
Line 253:97 Unexpected bad string token
Line 253:98 Unterminated string token
Line 253:118 Unterminated string token
Line 254:96 Expected identifier but found whitespace
Line 254:97 Unexpected bad string token
Line 254:98 Unterminated string token
Line 254:120 Unterminated string token
Line 255:96 Expected identifier but found whitespace
Line 255:97 Unexpected bad string token
... and 35 more hidden warnings

**/

/* === SanitarePRO custom theme — bottom nav navy + gold === */
.t4s-section-header__bot {
  background-color: #0c1f3d !important;
  border-bottom: 2px solid #c8a06b;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}
html, body { overflow-x: hidden; }
.t4s-section-header__bot .t4s-nav__ul > li > a {
  color: #ffffff !important;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 12px 18px !important;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.t4s-section-header__bot .t4s-nav__ul > li > a:hover {
  color: #c8a06b !important;
}
.t4s-section-header__bot .t4s-nav__ul > li > a .t4s-icon-select-arrow {
  color: inherit;
}
/* Toate categoriile = primul item, cu accent gold */
.t4s-section-header__bot .t4s-nav__ul > li:first-child > a {
  background-color: #c8a06b !important;
  color: #0c1f3d !important;
  border-radius: 6px;
  font-weight: 700;
  margin-right: 14px;
  padding: 12px 22px !important;
}
.t4s-section-header__bot .t4s-nav__ul > li:first-child > a:hover {
  background-color: #d8b27b !important;
  color: #0c1f3d !important;
}
.t4s-section-header__bot .t4s-nav__ul > li:first-child > a i.las {
  margin-right: 8px;
  font-size: 18px;
}


/* === Product cards: contain (no crop) ca pe neakaisa === */
.t4s-products-grid .t4s_ratio :where(img, video),
.t4s-collection-products .t4s_ratio :where(img, video),
.t4s-product-grid .t4s_ratio :where(img, video),
.t4s-product__loop .t4s_ratio :where(img, video),
.t4s-product-loop .t4s_ratio :where(img, video),
.t4s-product-card .t4s_ratio :where(img, video),
[data-products-list] .t4s_ratio :where(img, video),
.t4s-product-inner .t4s_ratio :where(img, video) {
  object-fit: contain !important;
  background-color: #ffffff;
  padding: 6px;
}

/* Override the .t4s_cover force-cover rule for product cards */
.t4s-product__loop.t4s_cover .t4s_ratio :where(img, video),
.t4s-collection-products .t4s_cover .t4s_ratio :where(img, video),
.t4s-products-grid .t4s_cover .t4s_ratio :where(img, video) {
  object-fit: contain !important;
}


/* === Product cards: container stilizat (border, rounded, hover shadow) === */
body.template-collection .t4s-product,
body.template-collection .t4s-product-loop,
body.template-collection .t4s_box_pr,
body.template-search .t4s-product,
body.template-search .t4s-product-loop,
body.template-search .t4s_box_pr,
body.template-list-collections .t4s-product,
body.template-list-collections .t4s-product-loop,
body.template-list-collections .t4s_box_pr {
  background: #ffffff;
  border: 1px solid #e8eaee;
  border-radius: 12px;
  padding: 14px 14px 18px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  position: relative;
}
body.template-collection .t4s-product:hover,
body.template-collection .t4s-product-loop:hover,
body.template-collection .t4s_box_pr:hover,
body.template-search .t4s-product:hover,
body.template-search .t4s-product-loop:hover,
body.template-search .t4s_box_pr:hover,
body.template-list-collections .t4s-product:hover,
body.template-list-collections .t4s-product-loop:hover,
body.template-list-collections .t4s_box_pr:hover {
  border-color: #1F4E79;
  box-shadow: 0 10px 28px rgba(31, 78, 121, 0.12);
  transform: translateY(-2px);
}

/* Title polish */
.t4s-product .t4s-product-title a,
.t4s-product-loop .t4s-product-title a {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
}

/* Price more prominent */
.t4s-product .t4s-product-price,
.t4s-product-loop .t4s-product-price,
.t4s_box_pr .t4s-product-price {
  font-size: 17px;
  font-weight: 700;
  color: #0c1f3d;
  margin-top: 4px;
}

/* === SP custom CTA button (below price, rendered via loop snippet) === */
.sp-loop-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 10px 16px;
  background-color: #1F4E79;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid #1F4E79;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-transform: none;
  letter-spacing: 0.3px;
}
.sp-loop-cta:hover {
  background-color: #2563a8;
  border-color: #2563a8;
  color: #ffffff !important;
}
.sp-loop-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


/* === Card alignment: flex column + title clamp + CTA jos === */
body.template-collection .t4s-products-grid .t4s-product,
body.template-collection .t4s-products .t4s-product,
body.template-collection .t4s-product-loop,
body.template-collection .t4s_box_pr,
body.template-search .t4s-product-loop,
body.template-list-collections .t4s-product-loop {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}
body.template-collection .t4s-product-info,
body.template-collection .t4s-product__info,
body.template-collection .t4s_inf_pr,
body.template-collection .t4s-loop-product__inner,
body.template-search .t4s-product-info,
body.template-list-collections .t4s-product-info {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Titlu: max 3 randuri, min-height egal pentru aliniere */
body.template-collection .t4s-product-title,
body.template-collection .t4s-product__title,
body.template-collection h3.t4s-product-title,
body.template-search .t4s-product-title,
body.template-list-collections .t4s-product-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 4.2em !important;
  max-height: 4.2em !important;
  line-height: 1.4 !important;
  margin-bottom: 6px;
}
.t4s-product-title a,
.t4s-product__title a {
  display: block;
}

/* CTA: lipita de jos */
.sp-loop-cta {
  margin-top: auto !important;
}

/* Pretul: ancorat sub titlu, nu se intinde */
.t4s-product-price,
.t4s-product__price {
  margin-top: 4px;
  flex: 0 0 auto;
}


/* === Mobile: clamp 5 randuri, grow natural (no fixed height) === */
@media (max-width: 768px) {
  body.template-collection .t4s-product-title,
  body.template-search .t4s-product-title,
  body.template-list-collections .t4s-product-title {
    -webkit-line-clamp: 5 !important;
    min-height: 2.8em !important;
    max-height: 7em !important;
    height: auto !important;
  }
}


/* === Iconite la categoriile din dropdown "Toate categoriile" === */
.t4s-section-header__bot .t4s-sub-menu a[href$="/lavoare"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/cabine-de-dus"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/usi-pentru-cabine-de-dus"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/cadite-de-dus"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/rigole-liniare"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/vase-wc-si-bideuri"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/cazi-cu-paravane"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/baterii-sanitare"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/dusuri"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/bucatarie"]::before,
.t4s-section-header__bot .t4s-sub-menu a[href$="/produse-de-baie"]::before {
  font-family: "Line Awesome Free";
  font-weight: 900;
  margin-right: 12px;
  font-size: 16px;
  width: 22px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  color: #1F4E79;
}

.t4s-section-header__bot .t4s-sub-menu a[href$="/lavoare"]::before                    { content: "043"; }  /* tint */
.t4s-section-header__bot .t4s-sub-menu a[href$="/cabine-de-dus"]::before              { content: "2cc"; }  /* shower */
.t4s-section-header__bot .t4s-sub-menu a[href$="/usi-pentru-cabine-de-dus"]::before   { content: "52b"; }  /* door-open */
.t4s-section-header__bot .t4s-sub-menu a[href$="/cadite-de-dus"]::before              { content: "593"; }  /* hot-tub */
.t4s-section-header__bot .t4s-sub-menu a[href$="/rigole-liniare"]::before             { content: "7a4"; }  /* grip-lines */
.t4s-section-header__bot .t4s-sub-menu a[href$="/vase-wc-si-bideuri"]::before         { content: "7d8"; }  /* toilet */
.t4s-section-header__bot .t4s-sub-menu a[href$="/cazi-cu-paravane"]::before           { content: "2cd"; }  /* bath */
.t4s-section-header__bot .t4s-sub-menu a[href$="/baterii-sanitare"]::before           { content: "0c8"; }  /* tap-like (square) — fallback */
.t4s-section-header__bot .t4s-sub-menu a[href$="/dusuri"]::before                     { content: "2cc"; }  /* shower */
.t4s-section-header__bot .t4s-sub-menu a[href$="/bucatarie"]::before                  { content: "2e7"; }  /* utensils */
.t4s-section-header__bot .t4s-sub-menu a[href$="/produse-de-baie"]::before            { content: "4b8"; }  /* couch */

/* Hover icon — stays accent */
.t4s-section-header__bot .t4s-sub-menu li:hover > a::before {
  color: #c8a06b;
}


/* === Footer SanitarePRO polish === */
.t4s-footer,
.t4s-section-footer {
  padding-top: 50px !important;
  padding-bottom: 30px !important;
}
.t4s-section-footer .t4s-row > .t4s-col-item,
.t4s-section-footer .t4s-col {
  margin-bottom: 24px;
}
/* Headings mai vizibili */
.t4s-section-footer h3,
.t4s-section-footer .t4s-footer__heading,
.t4s-section-footer h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  color: #ffffff !important;
  margin-bottom: 18px !important;
  position: relative;
  padding-bottom: 10px;
}
.t4s-section-footer h3::after,
.t4s-section-footer .t4s-footer__heading::after,
.t4s-section-footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #c8a06b;
}
/* Link-urile din meniu mai vizibile */
.t4s-section-footer .t4s-footer__menu a,
.t4s-section-footer ul a {
  font-size: 15px !important;
  line-height: 2.2 !important;
  color: #cfd8e3 !important;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.t4s-section-footer .t4s-footer__menu a:hover,
.t4s-section-footer ul a:hover {
  color: #c8a06b !important;
  padding-left: 6px;
}
/* Custom text contact */
.t4s-section-footer .t4s-rte p,
.t4s-section-footer p {
  font-size: 15px !important;
  line-height: 1.7 !important;
}


/* === Newsletter form polish === */
.t4s-section-footer .t4s-newsletter,
.t4s-section-footer form[data-newsletter] {
  max-width: 420px;
}
.t4s-section-footer .t4s-newsletter input[type="email"],
.t4s-section-footer .t4s-newsletter__input {
  width: 100% !important;
  padding: 14px 18px !important;
  border: 2px solid rgba(255,255,255,.2) !important;
  border-radius: 999px 0 0 999px !important;
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  font-size: 14px !important;
  outline: none;
  transition: border-color .2s;
}
.t4s-section-footer .t4s-newsletter input[type="email"]::placeholder {
  color: rgba(255,255,255,.55) !important;
}
.t4s-section-footer .t4s-newsletter input[type="email"]:focus {
  border-color: #c8a06b !important;
  background: rgba(255,255,255,.10) !important;
}
.t4s-section-footer .t4s-newsletter button[type="submit"],
.t4s-section-footer .t4s-newsletter__btn {
  background: #c8a06b !important;
  color: #0c1f3d !important;
  border: 2px solid #c8a06b !important;
  border-radius: 0 999px 999px 0 !important;
  font-weight: 700 !important;
  padding: 0 22px !important;
  cursor: pointer;
  transition: background .2s;
}
.t4s-section-footer .t4s-newsletter button[type="submit"]:hover {
  background: #d8b27b !important;
  border-color: #d8b27b !important;
}

/* === Cart drawer polish === */
.t4s-cart-drawer {
  z-index: 9999;
}
.t4s-cart-drawer__header {
  padding: 16px 20px !important;
  border-bottom: 1px solid #e0e6ed !important;
  background: #fff;
}
.t4s-cart-drawer__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0c1f3d !important;
}
.t4s-cart-drawer__footer {
  padding: 16px 20px !important;
  border-top: 1px solid #e0e6ed !important;
  background: #fafbfc;
}
.t4s-btn-checkout,
.t4s-cart-drawer__btn-checkout,
button[name="checkout"] {
  background: #1F4E79 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 14px 20px !important;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background .2s;
  font-size: 15px !important;
}
.t4s-btn-checkout:hover,
.t4s-cart-drawer__btn-checkout:hover,
button[name="checkout"]:hover {
  background: #2563a8 !important;
}

/* Trust badges in cart drawer */
.t4s-cart-drawer__footer::before {
  content: "🛡 Garanție REA  ·  🚚 Livrare 2-14 zile  ·  ↩ Retur 30 zile";
  display: block;
  font-size: 11px;
  color: #888;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}



/* === Card aliniere pe TOATE template-urile (homepage, product page, etc.) === */
.t4s-products-grid .t4s-product,
.t4s-products .t4s-product,
.t4s-product-loop,
.t4s_box_pr,
.t4s-products-wr .t4s-product {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}
.t4s-product-info,
.t4s-product__info,
.t4s_inf_pr,
.t4s-loop-product__inner {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}
.t4s-product-title,
.t4s-product__title,
h3.t4s-product-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 4.2em !important;
  max-height: 4.2em !important;
  line-height: 1.4 !important;
  margin-bottom: 6px;
}
.t4s-product-price,
.t4s-product__price {
  margin-top: 4px;
  flex: 0 0 auto;
}
.sp-loop-cta {
  margin-top: auto !important;
}

/* Forteaza aceasi inaltime per rand pentru cardurile de pe homepage */
.t4s-products-grid,
.t4s-products,
.t4s-products-wr,
[data-products-list],
.t4s-row.t4s-products-grid {
  align-items: stretch !important;
}
.t4s-products-grid > .t4s-col,
.t4s-products > .t4s-col,
.t4s-products-wr > .t4s-col {
  display: flex !important;
}

@media (max-width: 768px) {
  .t4s-product-title,
  .t4s-product__title,
  h3.t4s-product-title {
    -webkit-line-clamp: 5 !important;
    min-height: 2.8em !important;
    max-height: 7em !important;
    height: auto !important;
  }
}


/* === FIX homepage: featured-collection slider + grid (Flickity & masonry) === */
/* Lanțul complet de flex pentru aliniere reală */
.t4s_box_pr_grid > .t4s-col-item,
.t4s_box_pr_slider > .t4s-col-item,
.t4s_box_pr_masonry > .t4s-col-item,
.t4s-products > .t4s-col-item,
.t4s-products .t4s-col-item.t4s-product {
  display: flex !important;
  flex-direction: column;
  height: 100% !important;
}
.t4s-col-item > .t4s-product-wrapper,
.t4s-col-item .t4s-product-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
}
.t4s-product-wrapper > .t4s-product-info,
.t4s-product-wrapper .t4s-product-info {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}
.t4s-product-info > .t4s-product-info__inner,
.t4s-product-info .t4s-product-info__inner {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}
/* Titlul: aceeași înălțime peste tot */
.t4s-product .t4s-product-title,
.t4s-product .t4s-product__title,
.t4s-product h3.t4s-product-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 4.2em !important;
  max-height: 4.2em !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
  flex: 0 0 auto !important;
}
/* Prețul: ancorat în jos */
.t4s-product .t4s-product-price,
.t4s-product .t4s-product__price {
  margin-top: auto !important;
  flex: 0 0 auto !important;
  padding-top: 6px !important;
}
/* Slider Flickity: forțează aceeași înălțime la celule */
.flickityt4s .flickityt4s-cell,
.flickityt4s .t4s-col-item {
  height: 100% !important;
  display: flex !important;
}
.flickityt4s .flickityt4s-viewport,
.flickityt4s .flickityt4s-slider {
  align-items: stretch !important;
}

@media (max-width: 768px) {
  .t4s-product .t4s-product-title,
  .t4s-product .t4s-product__title,
  .t4s-product h3.t4s-product-title {
    -webkit-line-clamp: 5 !important;
    min-height: 2.8em !important;
    max-height: 7em !important;
    height: auto !important;
  }
}


/* === MOBILE homepage: forțează dimensiuni exacte pentru aliniere perfectă === */
@media (max-width: 768px) {
  /* Imagine container: aspect 1:1 fix, fără variații */
  .t4s-product .t4s-product-inner,
  .t4s-product .t4s-product__inner,
  .t4s-product .t4s_ratio,
  .t4s-product .t4s-product-images {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
  }
  /* Titlul: minim 2 linii pentru a egala 1-liner cu 2-liner */
  .t4s-product .t4s-product-title,
  .t4s-product .t4s-product__title,
  .t4s-product h3.t4s-product-title,
  body .t4s-product .t4s-product-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.6em !important;
    max-height: 2.6em !important;
    line-height: 1.3 !important;
    margin: 8px 0 6px !important;
    font-size: 14px !important;
  }
  /* Prețul: înălțime fixă */
  .t4s-product .t4s-product-price,
  .t4s-product .t4s-product__price {
    min-height: 1.4em !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: 14px !important;
    flex: 0 0 auto !important;
  }
  /* Butonul Adaugă în coș: înălțime + lățime fixă */
  .t4s-product .sp-loop-cta,
  .t4s-product .t4s-pr-form,
  .t4s-product .t4s-pr-form button,
  .t4s-product .product-form__submit {
    margin-top: auto !important;
    flex: 0 0 auto !important;
    width: 100% !important;
  }
}


/* === MOBILE: înălțime totală FIXĂ pe carduri pentru aliniere perfectă === */
@media (max-width: 768px) {
  /* Card complet: înălțime totală fixă */
  body .t4s-product.t4s-col-item,
  body .t4s_box_pr_grid > .t4s-col-item,
  body .t4s_box_pr_slider > .t4s-col-item,
  body .t4s-products .t4s-col-item {
    min-height: 380px !important;
  }
  /* Form wrapper pentru "Adaugă în coș" - zero margin */
  .t4s-product .t4s-product-info form {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    margin-top: auto !important;
  }
  /* Buton CTA: înălțime + dimensiuni fixe */
  .t4s-product .sp-loop-cta {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    line-height: 1 !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    width: 100% !important;
  }
  .t4s-product .sp-loop-cta svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
  }
  /* Ascunde vendor, rating, swatches conditional pe mobile homepage */
  .t4s-product .t4s-product-vendor,
  .t4s-product .t4s-pr-color-swatches,
  .t4s-product .t4s-pr-size-swatches,
  .t4s-product .t4s-pr-color,
  .t4s-product .t4s-pr-size {
    display: none !important;
  }
  /* Info inner: împarte spațiul uniform */
  .t4s-product .t4s-product-info,
  .t4s-product .t4s-product-info__inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: auto !important;
    padding: 8px !important;
  }
}


/* === FIX FINAL aliniere titluri (desktop + mobile) === */
/* Specificitate maximă pe homepage și colecții */
body .t4s-products .t4s-product-title,
body .t4s-products .t4s-product__title,
body .t4s-products h3.t4s-product-title,
body .t4s-products .t4s-product .t4s-product-title,
body .t4s_box_pr_grid .t4s-product-title,
body .t4s_box_pr_slider .t4s-product-title,
body .t4s-product-loop .t4s-product-title,
body .t4s_box_pr .t4s-product-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: 2.8em !important;
  min-height: 2.8em !important;
  max-height: 2.8em !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  body .t4s-products .t4s-product-title,
  body .t4s-products .t4s-product__title,
  body .t4s-products h3.t4s-product-title,
  body .t4s_box_pr_grid .t4s-product-title,
  body .t4s_box_pr_slider .t4s-product-title,
  body .t4s-product-loop .t4s-product-title {
    height: 2.6em !important;
    min-height: 2.6em !important;
    max-height: 2.6em !important;
    line-height: 1.3 !important;
    font-size: 13px !important;
  }
}


/* === Apropie titlul de imagine (fără modificare dimensiuni) === */
body .t4s-product .t4s-product-info {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body .t4s-product .t4s-product-info__inner {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body .t4s-product .t4s-product-title,
body .t4s-product h3.t4s-product-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body .t4s-product .t4s-product-inner,
body .t4s-product .t4s-product__inner {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* === Elimină tot spațiul intermediar între iconițe și titlu === */
body .t4s-product .t4s-product-btns2 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
body .t4s-product .t4s-product-wrapper > * + * {
  margin-top: 0 !important;
}
body .t4s-product-inner > *:last-child,
body .t4s-product__inner > *:last-child {
  margin-bottom: 0 !important;
}
body .t4s-product .t4s-product-info {
  margin-top: -8px !important;
}


/* === Override variabilele de spațiere produs din temă === */
:root, body, .t4s-product {
  --product-space-img-txt: 0px !important;
  --product-space-elements: 4px !important;
}


/* === Titlu 3 linii (extins de la 2 linii) === */
body .t4s-products .t4s-product-title,
body .t4s-products h3.t4s-product-title,
body .t4s_box_pr_grid .t4s-product-title,
body .t4s_box_pr_slider .t4s-product-title,
body .t4s-product-loop .t4s-product-title,
body .t4s_box_pr .t4s-product-title {
  -webkit-line-clamp: 3 !important;
  height: 4.2em !important;
  min-height: 4.2em !important;
  max-height: 4.2em !important;
}
@media (max-width: 768px) {
  body .t4s-products .t4s-product-title,
  body .t4s-products h3.t4s-product-title,
  body .t4s_box_pr_grid .t4s-product-title,
  body .t4s_box_pr_slider .t4s-product-title,
  body .t4s-product-loop .t4s-product-title {
    -webkit-line-clamp: 3 !important;
    height: 3.9em !important;
    min-height: 3.9em !important;
    max-height: 3.9em !important;
  }
}


/* === Preț mai mare, lipit de titlu, depărtat de buton === */
body .t4s-product .t4s-product-price,
body .t4s-product .t4s-product__price,
body .t4s-products .t4s-product-price {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 16px !important;
  line-height: 1.3 !important;
}
body .t4s-product .t4s-product-price ins,
body .t4s-product .t4s-product-price del {
  font-size: inherit !important;
}
@media (max-width: 768px) {
  body .t4s-product .t4s-product-price,
  body .t4s-product .t4s-product__price {
    font-size: 16px !important;
    margin-bottom: 14px !important;
  }
}


/* === Preț și mai mare + spațiu redus la titlu === */
body .t4s-product .t4s-product-price,
body .t4s-product .t4s-product__price,
body .t4s-products .t4s-product-price {
  font-size: 20px !important;
}
body .t4s-product .t4s-product-title,
body .t4s-product h3.t4s-product-title {
  margin-bottom: 2px !important;
}
@media (max-width: 768px) {
  body .t4s-product .t4s-product-price,
  body .t4s-product .t4s-product__price {
    font-size: 18px !important;
  }
  body .t4s-product .t4s-product-title,
  body .t4s-product h3.t4s-product-title {
    margin-bottom: 2px !important;
  }
}


/* === FIX: prețul lipit de titlu (anulează margin-top:auto vechi) === */
body .t4s-product .t4s-product-price,
body .t4s-product .t4s-product__price,
body .t4s-products .t4s-product-price {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Doar butonul CTA rămâne ancorat jos */
body .t4s-product .sp-loop-cta,
body .t4s-product form:has(.sp-loop-cta) {
  margin-top: auto !important;
}


/* === FIX FINAL: titlu natural height + spațiu gol între preț și buton === */
/* Suprascrie regulile anterioare cu height fix pe titlu */
body .t4s-products .t4s-product-title,
body .t4s-products h3.t4s-product-title,
body .t4s_box_pr_grid .t4s-product-title,
body .t4s_box_pr_slider .t4s-product-title,
body .t4s-product-loop .t4s-product-title,
body .t4s_box_pr .t4s-product-title {
  height: auto !important;
  min-height: 0 !important;
  max-height: 4.2em !important;
  -webkit-line-clamp: 3 !important;
  margin-bottom: 2px !important;
}
@media (max-width: 768px) {
  body .t4s-products .t4s-product-title,
  body .t4s-products h3.t4s-product-title,
  body .t4s_box_pr_grid .t4s-product-title,
  body .t4s_box_pr_slider .t4s-product-title {
    height: auto !important;
    min-height: 0 !important;
    max-height: 3.9em !important;
  }
}


/* === FIX butoane: ancorat jos prin form direct child === */
body .t4s-product .t4s-product-info__inner > form,
body .t4s-product .t4s-product-info__inner > a.sp-loop-cta,
body .t4s-product .t4s-product-info__inner > .sp-loop-cta,
body .t4s-product .t4s-product__info > form,
body .t4s-product .t4s-product__info > a.sp-loop-cta {
  margin-top: auto !important;
  display: block !important;
  width: 100% !important;
}


/* === FORCE: toate cardurile din același rând au exact aceeași înălțime === */
body .t4s-row,
body .t4s-products,
body .t4s_box_pr_grid,
body .t4s_box_pr_slider,
body .t4s-products-wr {
  align-items: stretch !important;
}
/* Col-item și product flex column pe toată înălțimea */
body .t4s-row > .t4s-col-item,
body .t4s-products > .t4s-col-item,
body .t4s_box_pr_grid > .t4s-col-item,
body .t4s_box_pr_slider > .t4s-col-item,
body .t4s-col-item.t4s-product {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}
body .t4s-col-item.t4s-product,
body .t4s-product.t4s-pr-grid {
  height: auto !important;
  flex: 1 1 100% !important;
}
body .t4s-col-item > .t4s-product-wrapper,
body .t4s-product-wrapper {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}


/* === BRUTE FORCE: înălțime fixă cards pentru aliniere garantată === */
body .t4s-products .t4s-col-item.t4s-product,
body .t4s_box_pr_grid > .t4s-col-item,
body .t4s_box_pr_slider > .t4s-col-item {
  min-height: 500px !important;
}
@media (max-width: 768px) {
  body .t4s-products .t4s-col-item.t4s-product,
  body .t4s_box_pr_grid > .t4s-col-item,
  body .t4s_box_pr_slider > .t4s-col-item {
    min-height: 420px !important;
  }
}


/* === FIX FINAL: stretch cards FĂRĂ override pe lățime (bootstrap row-cols) === */
body .t4s-col-item.t4s-product,
body .t4s-product.t4s-pr-grid {
  flex: unset !important;
  /* nu setăm flex-basis ca bootstrap row-cols să gestioneze lățimea */
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}
body .t4s-col-item.t4s-product > .t4s-product-wrapper {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 100% !important;
}


/* === FORȚEZ înălțime fixă (height) — nu min-height === */
body .t4s-products .t4s-col-item.t4s-product,
body .t4s_box_pr_grid > .t4s-col-item,
body .t4s_box_pr_slider > .t4s-col-item {
  height: 540px !important;
  min-height: 540px !important;
}
@media (max-width: 768px) {
  body .t4s-products .t4s-col-item.t4s-product,
  body .t4s_box_pr_grid > .t4s-col-item,
  body .t4s_box_pr_slider > .t4s-col-item {
    height: 420px !important;
    min-height: 420px !important;
  }
}


/* === Înălțime fixă pe orice variantă de card === */
body .t4s-products .t4s-product,
body .t4s-products [class*="t4s-product"][class*="t4s-pr-grid"],
body .t4s_box_pr_grid .t4s-product,
body .t4s_box_pr_slider .t4s-product,
body .t4s-col-item,
body .t4s-row > .t4s-col-item,
body [class*="row-cols"] > * {
  height: 540px !important;
  min-height: 540px !important;
  max-height: 540px !important;
}
@media (max-width: 768px) {
  body .t4s-products .t4s-product,
  body .t4s-products [class*="t4s-product"][class*="t4s-pr-grid"],
  body .t4s_box_pr_grid .t4s-product,
  body .t4s_box_pr_slider .t4s-product,
  body .t4s-col-item,
  body .t4s-row > .t4s-col-item,
  body [class*="row-cols"] > * {
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
  }
}


/* === HIDE add-to-cart button from product cards (loop only) === */
/* The button is JS-injected into [data-replace-atc] placeholder. Hide both placeholder + final classes. */
[data-replace-atc],
[data-has-qty],
[data-action-atc],
.t4s-pr-addtocart,
.t4s-pr-item-btn.t4s-pr-addtocart,
.sp-loop-cta {
  display: none !important;
  visibility: hidden !important;
}
/* Hide ATC inside product card buttons row (keep quickview/wishlist) */
.t4s-product-btns > [data-replace-atc],
.t4s-product-btns > [data-action-atc],
.t4s-product-info__btns .t4s-pr-addtocart,
.t4s-product-info__btns [data-action-atc] {
  display: none !important;
}


/* ===== PDP CRO improvements (2026-05-05) ===== */

/* Hide tags row on product page (commercial tags should not be public) */
.t4s-tags-wrapper { display: none !important; }

/* Compact related variants — horizontal carousel */
.sp-rv-grid {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.sp-rv-grid::-webkit-scrollbar { height: 6px; }
.sp-rv-grid::-webkit-scrollbar-thumb { background: #c5cdd8; border-radius: 3px; }
.sp-rv-grid::-webkit-scrollbar-track { background: #f1f4f8; }
.sp-rv-grid > .sp-rv-card {
  flex: 0 0 calc(50% - 5px);
  scroll-snap-align: start;
  min-width: 0;
}
@media (min-width: 600px) {
  .sp-rv-grid > .sp-rv-card { flex: 0 0 calc(33.333% - 7px); }
}
@media (min-width: 1024px) {
  .sp-rv-grid > .sp-rv-card { flex: 0 0 calc(20% - 8px); }
}

/* Trust + WhatsApp section near ATC */
.sp-pdp-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 18px;
}
.sp-pdp-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #25d366;
  color: #fff !important;
  border: 1px solid #25d366;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: background-color .2s ease;
}
.sp-pdp-whatsapp:hover { background: #1faa52; border-color: #1faa52; color: #fff !important; }
.sp-pdp-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

.sp-pdp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
@media (min-width: 600px) {
  .sp-pdp-trust { grid-template-columns: 1fr 1fr 1fr; }
}
.sp-pdp-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1F4E79;
  line-height: 1.3;
}
.sp-pdp-trust__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #1F4E79;
}

/* Inclus / NU inclus / Compatibile blocks */
.sp-pdp-included {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}
.sp-pdp-included h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0c1f3d;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sp-pdp-included ul { list-style: none; padding: 0; margin: 0 0 12px; }
.sp-pdp-included li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.4;
}
.sp-pdp-included--yes li::before { content: "✓"; color: #16a34a; font-weight: bold; flex-shrink: 0; }
.sp-pdp-included--no li::before { content: "✕"; color: #dc2626; font-weight: bold; flex-shrink: 0; }
.sp-pdp-included--compat li::before { content: "→"; color: #1F4E79; font-weight: bold; flex-shrink: 0; }


/* === iOS mobile viewport / toolbar fixes (2026-05-05) === */
@media (max-width: 1024px) {
  /* Use dynamic viewport height (dvh) to fix iOS Safari scrollbar issue
     where viewport height changes on chrome show/hide */
  html, body {
    min-height: 100vh; /* fallback */
    min-height: 100dvh;
  }
  /* Page background matches content (avoid visible white gaps) */
  html { background: #ffffff; }
  body { background: #ffffff; }
  /* Disable rubber-band overscroll which reveals page background past content */
  html { overscroll-behavior-y: none; }
  body { overscroll-behavior-y: none; }
  /* Mobile toolbar respects iOS home-indicator safe area */
  .t4s-toolbar {
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    height: calc(55px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* Reserve space at end of page so last footer content isn't covered by fixed toolbar */
  .t4s-website-wrapper > footer,
  #t4s-footer {
    padding-bottom: calc(55px + env(safe-area-inset-bottom, 0px));
  }
  /* Back to top button shifts above toolbar + safe area */
  #shopify-section-back_top #t4s-backToTop {
    bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
