/* Retail Experience Framework v20.4.6 — product conversion polish */

/* ---------- Archive and related-product cards ---------- */
body.ref-v2046-card-cleanup .products .product-small .col-inner{
  position:relative!important;
  display:flex!important;
  height:100%!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
body.ref-v2046-card-cleanup .products .product-small .product-small.box{
  display:flex!important;
  height:100%!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
}
body.ref-v2046-card-cleanup .products .product-small .box-text{
  position:static!important;
  display:flex!important;
  width:100%!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
body.ref-v2046-card-cleanup .products .product-small .title-wrapper,
body.ref-v2046-card-cleanup .products .product-small .price-wrapper{
  width:100%!important;
  text-align:center!important;
}
body.ref-v2046-card-cleanup .products .product-small .price-wrapper{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
}
body.ref-v2046-card-cleanup .products .product-small .price,
body.ref-v2046-card-cleanup .products .product-small .price>span,
body.ref-v2046-card-cleanup .products .product-small .price ins,
body.ref-v2046-card-cleanup .products .product-small .price del{
  justify-content:center!important;
  text-align:center!important;
}
body.ref-v2046-card-cleanup .products .product-small .price{
  display:flex!important;
  min-height:25px!important;
  align-items:center!important;
  gap:7px!important;
  margin:8px auto 4px!important;
  font-variant-numeric:tabular-nums!important;
}
body.ref-v2046-card-cleanup .products .product-small .ref-loop-cart{
  display:flex!important;
  width:100%!important;
  margin-top:auto!important;
  padding-top:12px!important;
  justify-content:center!important;
}
body.ref-v2046-card-cleanup .products .product-small .ref-loop-cart .button{
  display:inline-flex!important;
  width:auto!important;
  min-width:132px!important;
  max-width:100%!important;
  min-height:42px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 auto!important;
  padding:0 19px!important;
  line-height:1.2!important;
}

/* Modern browsers suppress the duplicate before JavaScript has run. */
body.ref-v2046-card-cleanup .products .product-small:has(.ref-loop-cart) .add-to-cart-button{
  display:none!important;
}
body.ref-v2046-card-cleanup .products .product-small.ref-v2046-has-owned-cart .add-to-cart-button,
body.ref-v2046-card-cleanup .products .product-small.ref-v2046-has-owned-cart .ref-v2046-duplicate-cart{
  display:none!important;
}

/* Keep every badge inside the product-image frame. */
body.ref-v2046-card-cleanup .products .product-small .ref-cx2-badges,
body.ref-v2046-card-cleanup .products .product-small .ref-card-badges,
body.ref-v2046-card-cleanup .products .product-small .badge-container,
body.ref-v2046-card-cleanup .products .product-small .ref-v2046-badge-stack{
  position:absolute!important;
  z-index:12!important;
  top:12px!important;
  right:auto!important;
  bottom:auto!important;
  left:12px!important;
  display:flex!important;
  width:auto!important;
  max-width:calc(100% - 24px)!important;
  height:auto!important;
  min-height:0!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
  transform:none!important;
}
body.ref-v2046-card-cleanup .products .product-small .ref-cx2-badges span,
body.ref-v2046-card-cleanup .products .product-small .ref-card-badges .ref-badge,
body.ref-v2046-card-cleanup .products .product-small .badge-inner,
body.ref-v2046-card-cleanup .products .product-small .yith-wcbm-badge{
  display:inline-flex!important;
  width:auto!important;
  max-width:160px!important;
  height:26px!important;
  min-height:26px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0 10px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--ref-primary,#111)!important;
  color:#fff!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:26px!important;
  letter-spacing:.045em!important;
  text-overflow:ellipsis!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  box-shadow:0 7px 18px rgba(0,0,0,.14)!important;
  transform:none!important;
}
body.ref-v2046-card-cleanup .products .product-small .badge-container:empty{
  display:none!important;
}

/* ---------- Product-gallery support panel ---------- */
body.single-product.ref-v2046-product-polish #product-sidebar .ref-v2046-replaced-sidebar-widget,
body.single-product.ref-v2046-product-polish .product-sidebar-small .ref-v2046-replaced-sidebar-widget,
body.single-product.ref-v2046-product-polish #product-sidebar.ref-v2046-sidebar-replaced,
body.single-product.ref-v2046-product-polish .product-sidebar-small.ref-v2046-sidebar-replaced{
  display:none!important;
}
@media(min-width:850px){
  body.single-product.ref-v2046-product-polish .content-row.ref-v2046-sidebar-collapsed>.product-gallery,
  body.single-product.ref-v2046-product-polish .content-row.ref-v2046-sidebar-collapsed>.product-info{
    flex-basis:50%!important;
    max-width:50%!important;
  }
}
.ref-v2046-gallery-support{
  display:grid;
  width:100%;
  grid-template-columns:minmax(0,1.45fr) minmax(190px,.75fr);
  gap:14px;
  margin:22px 0 6px;
  box-sizing:border-box;
}
.ref-v2046-gallery-support>div,
.ref-v2046-gallery-support>aside{
  min-width:0;
  padding:18px;
  border:1px solid color-mix(in srgb,var(--ref-primary,#111) 12%,#e5e7eb);
  border-radius:20px;
  background:#fff;
  box-shadow:0 14px 34px rgba(23,31,48,.055);
}
.ref-v2046-gallery-support header>span,
.ref-v2046-support-information>span,
.ref-v2046-support-product>div>span{
  display:block;
  margin-bottom:4px;
  color:color-mix(in srgb,var(--ref-dark,#243245) 64%,#fff);
  font-size:9px;
  font-weight:850;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.ref-v2046-gallery-support h2{
  margin:0;
  color:var(--ref-dark,#17233c);
  font-size:19px;
  line-height:1.15;
  letter-spacing:-.02em;
}
.ref-v2046-gallery-support header>p{
  margin:6px 0 14px;
  color:color-mix(in srgb,var(--ref-dark,#243245) 67%,#fff);
  font-size:12px;
  line-height:1.5;
}
.ref-v2046-support-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.ref-v2046-support-product{
  display:grid;
  min-width:0;
  grid-template-columns:78px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:9px;
  border:1px solid #e7e9ed;
  border-radius:15px;
  background:#fafbfc;
}
.ref-v2046-support-image{
  display:block;
  overflow:hidden;
  border-radius:11px;
  background:#fff;
  aspect-ratio:1;
}
.ref-v2046-support-image img{
  display:block;
  width:100%;
  height:100%;
  margin:0;
  object-fit:contain;
}
.ref-v2046-support-product h3{
  display:-webkit-box;
  margin:0 0 5px;
  overflow:hidden;
  color:var(--ref-dark,#17233c);
  font-size:12px;
  line-height:1.3;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.ref-v2046-support-product h3 a{color:inherit;text-decoration:none}
.ref-v2046-support-price{
  margin-bottom:5px;
  color:var(--ref-primary,#111);
  font-size:12px;
  font-weight:850;
}
.ref-v2046-support-link{
  color:var(--ref-dark,#17233c);
  font-size:10px;
  font-weight:800;
  text-decoration:none;
}
.ref-v2046-support-information{
  background:color-mix(in srgb,var(--ref-primary,#111) 4%,#fff)!important;
}
.ref-v2046-support-information>div{
  display:grid;
  gap:8px;
  margin-top:13px;
}
.ref-v2046-support-information p{
  display:grid;
  grid-template-columns:23px minmax(0,1fr);
  gap:8px;
  align-items:center;
  margin:0;
  color:var(--ref-dark,#17233c);
  font-size:11px;
  line-height:1.35;
}
.ref-v2046-support-information i{
  display:inline-flex;
  width:23px;
  height:23px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--ref-primary,#111);
  color:#fff;
  font-size:10px;
  font-style:normal;
}

/* ---------- Readable product-description system ---------- */
body.single-product.ref-v2046-readable-description .woocommerce-Tabs-panel--description{
  padding:clamp(22px,3vw,36px)!important;
  border-radius:0 0 22px 22px!important;
}
.ref-v2046-description{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  color:var(--ref-dark,#243245);
  box-sizing:border-box;
}
.ref-v2046-description-heading{
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid color-mix(in srgb,var(--ref-primary,#111) 13%,#e7e9ed);
}
.ref-v2046-description-heading>span,
.ref-v2046-description-glance>span{
  display:block;
  margin-bottom:5px;
  color:var(--ref-primary,#111);
  font-size:10px;
  font-weight:850;
  letter-spacing:.085em;
  text-transform:uppercase;
}
.ref-v2046-description-heading h2{
  margin:0;
  color:var(--ref-dark,#17233c);
  font-size:clamp(24px,2.6vw,34px);
  line-height:1.12;
  letter-spacing:-.03em;
}
.ref-v2046-description-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(250px,320px);
  gap:clamp(24px,4vw,54px);
  align-items:start;
}
.ref-v2046-description-layout.is-single{grid-template-columns:minmax(0,1fr)}
.ref-v2046-description-prose{
  min-width:0;
  max-width:78ch;
  font-size:16px;
  line-height:1.78;
}
.ref-v2046-description-prose p{
  margin:0 0 1.15em;
  color:color-mix(in srgb,var(--ref-dark,#243245) 84%,#fff);
}
.ref-v2046-description-prose .ref-v2046-description-lead{
  margin-bottom:1.35em;
  color:var(--ref-dark,#17233c);
  font-size:clamp(17px,1.45vw,19px);
  font-weight:600;
  line-height:1.65;
}
.ref-v2046-description-prose h2,
.ref-v2046-description-prose h3,
.ref-v2046-description-prose h4{
  margin:1.5em 0 .55em;
  color:var(--ref-dark,#17233c);
  line-height:1.25;
}
.ref-v2046-description-prose h3{font-size:19px}
.ref-v2046-description-prose ul,
.ref-v2046-description-prose ol{
  display:grid;
  gap:8px;
  margin:1em 0 1.35em;
  padding-left:1.25em;
}
.ref-v2046-description-prose li{padding-left:.3em}
.ref-v2046-description-prose table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #e4e7eb;border-radius:14px}
.ref-v2046-description-prose th,
.ref-v2046-description-prose td{padding:11px 13px;border-bottom:1px solid #e8eaee;text-align:left}
.ref-v2046-description-glance{
  position:relative;
  padding:20px;
  border:1px solid color-mix(in srgb,var(--ref-primary,#111) 13%,#e5e7eb);
  border-radius:19px;
  background:color-mix(in srgb,var(--ref-primary,#111) 4%,#fff);
}
.ref-v2046-description-glance h3{
  margin:0 0 14px;
  color:var(--ref-dark,#17233c);
  font-size:19px;
  line-height:1.2;
}
.ref-v2046-description-glance ul{
  display:grid;
  gap:9px;
  margin:0;
  padding:0;
  list-style:none;
}
.ref-v2046-description-glance li{
  display:grid;
  grid-template-columns:25px minmax(0,1fr);
  gap:9px;
  align-items:start;
  margin:0;
  color:var(--ref-dark,#17233c);
  font-size:12.5px;
  line-height:1.45;
}
.ref-v2046-description-glance i{
  display:inline-flex;
  width:25px;
  height:25px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--ref-primary,#111);
  color:#fff;
  font-size:10px;
  font-style:normal;
  font-weight:850;
}
.ref-v2046-description-existing .ref-v2046-description-prose{max-width:82ch;margin:0 auto}

@media(max-width:1040px){
  .ref-v2046-gallery-support{grid-template-columns:1fr}
  .ref-v2046-support-information>div{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:849px){
  .ref-v2046-gallery-support{
    width:calc(100% - 30px);
    margin:18px auto 28px;
  }
  .ref-v2046-gallery-support.is-mobile-placement{grid-column:1/-1}
  .ref-v2046-support-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ref-v2046-description-layout{grid-template-columns:1fr}
  .ref-v2046-description-glance{order:-1}
}
@media(max-width:549px){
  body.ref-v2046-card-cleanup .products .product-small .ref-cx2-badges,
  body.ref-v2046-card-cleanup .products .product-small .ref-card-badges,
  body.ref-v2046-card-cleanup .products .product-small .badge-container,
  body.ref-v2046-card-cleanup .products .product-small .ref-v2046-badge-stack{
    top:8px!important;
    left:8px!important;
    max-width:calc(100% - 16px)!important;
  }
  body.ref-v2046-card-cleanup .products .product-small .ref-cx2-badges span,
  body.ref-v2046-card-cleanup .products .product-small .ref-card-badges .ref-badge,
  body.ref-v2046-card-cleanup .products .product-small .badge-inner,
  body.ref-v2046-card-cleanup .products .product-small .yith-wcbm-badge{
    height:23px!important;
    min-height:23px!important;
    padding:0 8px!important;
    font-size:8px!important;
    line-height:23px!important;
  }
  .ref-v2046-gallery-support{width:calc(100% - 24px);padding:0}
  .ref-v2046-support-product-grid{grid-template-columns:1fr}
  .ref-v2046-support-information>div{grid-template-columns:1fr}
  .ref-v2046-gallery-support>div,
  .ref-v2046-gallery-support>aside{padding:16px;border-radius:17px}
  body.single-product.ref-v2046-readable-description .woocommerce-Tabs-panel--description{padding:20px 16px!important}
  .ref-v2046-description-prose{font-size:15px;line-height:1.72}
}
