/* The landing owns composition; the theme remains the single owner of cards. */
.bia-clearance-landing{width:100%;margin:0 auto;padding:10px 0 46px;color:var(--batya-text,#222)}
.bia-clearance-hero{padding:19px clamp(16px,2.8vw,28px);background:var(--batya-card,#fff);border:1px solid var(--batya-border,#e9e3dd);border-radius:var(--batya-radius-card,14px)}
.bia-clearance-eyebrow{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.055em;color:var(--batya-brand,#ff6900)}
.bia-clearance-hero .bia-clearance-headline{display:block;max-width:790px;margin:0 0 10px;font-size:clamp(25px,2.8vw,34px);line-height:1.12;font-weight:750;letter-spacing:-.018em}
.bia-clearance-lead{max-width:740px;font-size:15px;line-height:1.48;margin:0 0 9px}
.bia-clearance-facts{display:flex;align-items:stretch;gap:10px 22px;flex-wrap:wrap;margin:10px 0}
.bia-clearance-facts>.bia-clearance-fact{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.bia-clearance-facts .bia-clearance-fact strong{font-size:22px;line-height:1.06;color:var(--batya-brand-dark,#c34b00);font-weight:800;font-variant-numeric:tabular-nums}
.bia-clearance-facts .bia-clearance-fact__label{display:block;color:var(--batya-text-soft,#595959);font-size:12px;line-height:1.3}
.bia-clearance-hero-actions{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin:11px 0 8px}
.bia-clearance-hero-actions a{display:inline-flex;align-items:center;min-height:38px;text-decoration:none;font-size:14px;font-weight:600}
.bia-clearance-hero-actions a:focus-visible,.bia-clearance-nav a:focus-visible,.bia-clearance-search button:focus-visible{outline:2px solid var(--batya-brand,#ff6900);outline-offset:3px}
.bia-clearance-note,.bia-clearance-footer{max-width:850px;margin:8px 0 0;color:var(--batya-text-soft,#777);font-size:12.5px;line-height:1.5}
/* Single-row, permanently reachable catalogue-of-sections. The JS only
   measures the already visible theme header; sticky works without JS. */
.bia-clearance-nav{position:sticky;top:var(--bia-clearance-nav-top,0px);z-index:30;display:flex;flex-wrap:nowrap;align-items:center;gap:9px;min-width:0;padding:8px 0;margin:10px 0 13px;border-top:1px solid var(--batya-border,#e9e3dd);border-bottom:1px solid var(--batya-border,#e9e3dd);background:var(--batya-bg,#fbf7f2);scroll-margin-top:calc(var(--bia-clearance-nav-top,0px) + 12px)}
.bia-clearance-nav.is-stuck{box-shadow:0 6px 12px -12px rgba(20,20,20,.38)}
.bia-clearance-nav-label{flex:0 0 auto;color:var(--batya-text-soft,#666);font-size:12.5px;font-weight:700;white-space:nowrap}
.bia-clearance-nav-track{display:flex;flex:1 1 auto;align-items:center;min-width:0;gap:7px;padding:2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.bia-clearance-nav-track::-webkit-scrollbar{display:none}
.bia-clearance-nav-track a{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:5px 11px;border:1px solid var(--batya-border,#e9e3dd);border-radius:var(--batya-radius-pill,20px);background:var(--batya-card,#fff);color:var(--batya-text,#222);font-size:13px;line-height:1.15;text-decoration:none;white-space:nowrap}
.bia-clearance-nav-track a:hover{border-color:var(--batya-brand,#ff6900)}
.bia-clearance-nav-track .bia-clearance-nav-featured{font-weight:650}
.bia-clearance-nav-track a.is-active{border-color:var(--batya-brand,#ff6900);background:var(--batya-brand-soft,#fff0e5);color:var(--batya-text,#222);font-weight:700}
.bia-clearance-nav-track a span{display:inline-flex;align-items:center;justify-content:center;min-width:19px;min-height:19px;padding:1px 5px;border-radius:16px;background:var(--batya-surface,#f4f1ed);color:var(--batya-text-soft,#666);font-size:11px;font-weight:600}
.bia-clearance-nav-track a.is-active span{background:var(--batya-card,#fff);color:var(--batya-text,#222)}
.bia-clearance-nav a:focus-visible,.bia-clearance-nav button:focus-visible{outline:2px solid var(--batya-brand,#ff6900);outline-offset:2px}
.bia-clearance-nav-arrow{display:none;flex:0 0 auto;align-items:center;justify-content:center;width:30px;min-height:36px;padding:0;border:1px solid var(--batya-border,#ddd);border-radius:7px;background:var(--batya-card,#fff);color:var(--batya-text,#222);font-size:23px;line-height:1;cursor:pointer}
.bia-clearance-nav.has-overflow .bia-clearance-nav-arrow{display:inline-flex}
.bia-clearance-nav-arrow:disabled{opacity:.28;cursor:default}
.bia-clearance-group{margin:29px 0 44px;scroll-margin-top:calc(var(--bia-clearance-nav-top,0px) + var(--bia-clearance-nav-height,58px) + 14px)}
.bia-clearance-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;border-bottom:1px solid var(--batya-border,#eee);padding-bottom:13px;margin-bottom:13px}
.bia-clearance-heading h2{font-size:clamp(20px,2.1vw,26px);font-weight:700;margin:0 0 6px;line-height:1.22}
.bia-clearance-heading p{font-size:13.5px;color:var(--batya-text-soft,#666);margin:0}
.bia-clearance-heading>a{font-size:13px;text-decoration:none;font-weight:600;white-space:nowrap}
.bia-clearance-group>.products{margin-top:0}
/* One visible continuation button after each even-numbered product preview. */
.bia-clearance-more{margin:14px 0 0}
.bia-clearance-more a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 16px;border:1px solid var(--batya-brand,#ff6900);border-radius:var(--batya-radius-sm,8px);background:var(--batya-card,#fff);color:var(--batya-brand,#ff6900);font-size:15px;font-weight:700;line-height:1.3;text-decoration:none;white-space:nowrap}
.bia-clearance-more a:hover{background:var(--batya-brand-soft,#fff0e5);border-color:var(--batya-brand,#ff6900)}
.bia-clearance-more a:focus-visible{outline:2px solid var(--batya-brand,#ff6900);outline-offset:3px}
.bia-clearance-more-label,.bia-clearance-more-arrow{display:inline-block}
.bia-clearance-more-arrow{font-size:16px;line-height:1}
.bia-clearance-pages{display:flex;align-items:center;justify-content:center;gap:10px 16px;flex-wrap:wrap;margin:22px 0}
.bia-clearance-pages a{display:inline-flex;align-items:center;min-height:40px;padding:8px 15px;border:1px solid var(--batya-border,#ddd);border-radius:6px;text-decoration:none}
.bia-clearance-results{margin:8px 0 14px;font-size:13px;color:var(--batya-text-soft,#666)}
.bia-clearance-empty{padding:22px 18px;background:var(--batya-card,#fff);border-radius:8px}
.bia-clearance-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,1fr);align-items:center;gap:16px 28px;margin:46px 0 20px;padding:25px clamp(16px,3vw,30px);border:1px solid var(--batya-border,#e9e3dd);border-radius:var(--batya-radius-card,14px);background:var(--batya-card,#fff);scroll-margin-top:calc(var(--bia-clearance-nav-top,0px) + var(--bia-clearance-nav-height,58px) + 14px)}
.bia-clearance-search h2{margin:0 0 8px;font-size:clamp(20px,2.2vw,26px);line-height:1.2}
.bia-clearance-search p{margin:0;color:var(--batya-text-soft,#666);font-size:14px;line-height:1.5}
.bia-clearance-search form{display:flex;align-items:stretch;gap:7px;min-width:0}
.bia-clearance-search input[type=search]{min-width:0;flex:1 1 auto;min-height:44px;padding:0 11px;border:1px solid var(--batya-border,#d9d4d0);border-radius:6px;color:var(--batya-text,#222);background:#fff;font:inherit;font-size:14px}
.bia-clearance-search button{flex:0 0 auto;min-height:44px;padding:0 13px;border:0;border-radius:6px;background:var(--batya-brand,#ff6900);color:#fff;font-size:13px;font-weight:700;cursor:pointer}
/* SALE ONLY: the theme normally switches from 2 to 3 columns at 768px.
   Clearance instead uses complete 2-card rows on small/tablet screens and
   4-card rows on desktop. The normal shop and its card template are untouched. */
.woocommerce.bia-clearance-landing ul.bia-clearance-products{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:8px!important;
  row-gap:10px!important;
  width:100%;
}
@media(min-width:1100px){
  .woocommerce.bia-clearance-landing ul.bia-clearance-products{
    grid-template-columns:repeat(4,minmax(0,1fr));
    column-gap:12px!important;
    row-gap:16px!important;
  }
}
/* Odd-sized full groups cannot lose their final product. Centre the
   unpaired card at its regular half-width rather than stretching it wide. */
@media(max-width:1099px){
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product:last-child:nth-child(odd){
    grid-column:1 / -1;
    justify-self:center;
    width:calc((100% - 8px)/2)!important;
    max-width:none;
  }
}
/* Fifth item is a navigation link, NOT a Woo product. Rather than a tall,
   mostly empty promotion box, give it the same image/content/action rhythm
   as the four adjacent native product cards. Only shown on wide desktops. */
.bia-clearance-more-tile{display:none;min-width:0;min-height:0;list-style:none}
@media(min-width:1100px){
  .woocommerce.bia-clearance-landing ul.bia-clearance-products--more-tile{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
  .bia-clearance-products--more-tile>.bia-clearance-more-tile{display:flex;align-self:stretch}
  .bia-clearance-group--more-tile>.bia-clearance-more{display:none}
}
.bia-clearance-more-tile__link{
  display:flex;flex-direction:column;align-items:stretch;
  min-width:0;min-height:0;width:100%;height:100%;padding:12px 12px 14px;
  border:0;border-radius:var(--batya-radius-card,14px);
  background:#fffdfa;color:var(--batya-text,#222);
  text-decoration:none;overflow:hidden;
  transition:box-shadow .18s ease,transform .18s ease;
}
.bia-clearance-more-tile__link:hover{
  box-shadow:0 8px 22px rgba(27,24,21,.08);
  transform:translateY(-1px);
}
.bia-clearance-more-tile__link:focus-visible{
  outline:2px solid var(--batya-brand,#ff6900);outline-offset:2px;
}
.bia-clearance-more-tile__visual{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;flex:0 0 auto;width:100%;min-height:0;
  aspect-ratio:var(--batya-product-media-ratio,3 / 4);
  flex-direction:column;align-items:center;justify-content:center;
  gap:11px;padding:24px 10px;
  border:1px solid #f0d8ba;border-radius:var(--batya-radius-card,12px);
  background-color:#fcf3e7;
  background-image:linear-gradient(180deg,#fffaf4 0%,#f9efdf 100%);
  text-align:center;
}
.bia-clearance-more-tile__visual::before,
.bia-clearance-more-tile__visual::after{
  content:"";position:absolute;z-index:-1;
  width:76px;height:100px;border:1px solid rgba(208,149,83,.23);
  border-radius:12px;pointer-events:none;
}
.bia-clearance-more-tile__visual::before{top:-31px;right:-25px;transform:rotate(-20deg)}
.bia-clearance-more-tile__visual::after{bottom:-40px;left:-33px;transform:rotate(18deg)}
.bia-clearance-more-tile__eyebrow{
  font-size:10px;line-height:1.4;font-weight:700;
  letter-spacing:.075em;color:#8b6247;
}
.bia-clearance-more-tile__symbol{
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;width:54px;height:54px;
  border:1px solid rgba(255,105,0,.6);border-radius:50%;
  background:rgba(255,255,255,.85);color:var(--batya-brand-dark,#c34b00);
  font-size:29px;line-height:1;
}
.bia-clearance-more-tile__count{
  display:block;font-size:clamp(18px,1.55vw,23px);
  line-height:1.22;font-weight:750;letter-spacing:-.02em;
  color:var(--batya-text,#222);text-wrap:balance;
}
.bia-clearance-more-tile__category{
  display:block;flex:1 1 auto;min-height:44px;
  padding:11px 7px 7px;color:#796452;
  font-size:12.5px;line-height:1.4;overflow-wrap:anywhere;
}
.bia-clearance-more-tile__action{
  display:flex;flex:0 0 auto;align-items:center;justify-content:center;
  box-sizing:border-box;
  gap:8px;width:100%;min-height:42px;
  margin-top:auto;padding:9px 10px;
  border:1px solid var(--batya-brand,#ff6900);
  border-radius:10px;
  background:var(--batya-card,#fff);color:var(--batya-brand,#ff6900);
  text-align:center;text-decoration:none;
  font-size:15px;font-weight:700;line-height:1.3;
}
.bia-clearance-more-tile__action>span{font-size:15px;line-height:1}
.bia-clearance-more-tile__link:hover .bia-clearance-more-tile__action{
  background:var(--batya-brand-soft,#fff0e5);
  border-color:var(--batya-brand,#ff6900);
  color:var(--batya-brand-dark,#c34b00);
}
@media(prefers-reduced-motion:reduce){
  .bia-clearance-more-tile__link{transition:none}
  .bia-clearance-more-tile__link:hover{transform:none}
}
/* Fix WooCommerce clearfix pseudo-elements becoming unwanted grid cells. */
.bia-clearance-landing ul.bia-clearance-products::before,
.bia-clearance-landing ul.bia-clearance-products::after{content:none!important;display:none!important}
/* Sale price is the shopping anchor: right-aligned, brand-toned and
   scoped exclusively to [batya_clearance]. Standard catalogue remains untouched.
   #c34b00 keeps a readable contrast on white; #ff6900 remains the UI accent. */
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price{justify-content:flex-end;text-align:right;width:100%}
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price .price{display:inline-flex;flex-direction:column;align-items:flex-end;gap:3px;width:100%;margin-left:auto;text-align:right;color:var(--batya-brand-dark,#c34b00);font-size:23px;line-height:1.1;font-weight:750;font-variant-numeric:tabular-nums}
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price .price>ins,
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price .price>ins .woocommerce-Price-amount{font-size:23px;font-weight:750;color:var(--batya-brand-dark,#c34b00);opacity:1;text-decoration:none}
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price .price>del,
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price .price>del .woocommerce-Price-amount{font-size:12.5px;font-weight:400;color:var(--batya-text-soft,#767676);opacity:.75}
@media(max-width:700px){
.bia-clearance-landing{padding:5px 0 35px}
.bia-clearance-hero{padding:16px 15px}
.bia-clearance-lead{font-size:14px}
.bia-clearance-nav{gap:8px;margin-right:-8px;padding-right:8px}
.bia-clearance-nav-label{font-size:12px}
.bia-clearance-nav-track{gap:6px}
.bia-clearance-nav-track a{min-height:40px;font-size:12.5px;padding:6px 10px}
.bia-clearance-nav.has-overflow .bia-clearance-nav-arrow{display:none}
.bia-clearance-group{margin:24px 0 34px}
.bia-clearance-heading{align-items:flex-start}
.bia-clearance-search{grid-template-columns:1fr;margin-top:33px;padding:20px 15px}
.bia-clearance-search form{flex-wrap:wrap}
.bia-clearance-search button{flex:1 1 100%}
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price .price,
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price .price>ins,
.woocommerce.bia-clearance-landing ul.products li.product .product-card__price .price>ins .woocommerce-Price-amount{font-size:20px}
}

@media(prefers-reduced-motion:reduce){.bia-clearance-nav,.bia-clearance-nav-track{scroll-behavior:auto}}

/* Stage 1: featured offers appear immediately after the category strip. */
.bia-clearance-highlights{margin:16px 0 30px;scroll-margin-top:calc(var(--bia-clearance-nav-top,0px) + var(--bia-clearance-nav-height,58px) + 14px)}
.bia-clearance-highlights .bia-clearance-heading{padding-bottom:12px;margin-bottom:13px}
.bia-clearance-highlights .bia-clearance-heading h2{font-size:clamp(23px,2.4vw,29px)}
.bia-clearance-section-kicker{margin:0 0 5px!important;color:var(--batya-brand,#ff6900)!important;font-size:11px!important;font-weight:750!important;letter-spacing:.06em}
.bia-clearance-highlights .bia-clearance-products{margin-top:0}
/* The link between groups is an escape to the full shop, not another sale filter. */
.bia-clearance-nudge{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin:34px 0 42px;padding:18px 22px;border:1px solid var(--batya-border,#e7ddd3);border-radius:var(--batya-radius-sm,8px);background:var(--batya-card,#fff)}
.bia-clearance-nudge>div{display:flex;flex-direction:column;gap:4px}
.bia-clearance-nudge strong{font-size:16px;line-height:1.3}
.bia-clearance-nudge span{font-size:13px;color:var(--batya-text-soft,#666)}
.bia-clearance-nudge a{display:inline-flex;align-items:center;gap:8px;min-height:40px;font-size:14px;font-weight:700;text-decoration:none;color:var(--batya-brand-dark,#c34b00)}
.bia-clearance-nudge a span{color:inherit;font-size:16px}
.bia-clearance-nudge a:focus-visible{outline:2px solid var(--batya-brand,#ff6900);outline-offset:3px}
@media(max-width:700px){
  .bia-clearance-highlights{margin:15px 0 25px}
  .bia-clearance-highlights .bia-clearance-heading h2{font-size:22px}
  .bia-clearance-nudge{margin:26px 0 30px;padding:17px 15px}
  .bia-clearance-nudge a{width:100%}
}

/* Final release-2 storefront polish: quiet rhythm, legible content and no
   competing commercial CTA. Product cards remain owned by the theme. */
.bia-clearance-highlights .bia-clearance-heading{margin-bottom:12px}
.bia-clearance-group{margin-top:27px;margin-bottom:36px}
.bia-clearance-heading{align-items:center;padding-bottom:12px}
.bia-clearance-heading h2{letter-spacing:-.012em}
.bia-clearance-landing .bia-clearance-faq,
.bia-clearance-landing .bia-clearance-about{margin:35px 0 0;max-width:100%}
.bia-clearance-landing .bia-clearance-faq h2,
.bia-clearance-landing .bia-clearance-about h2{font-size:clamp(19px,2vw,24px);line-height:1.3;margin:0 0 14px;font-weight:700}
.bia-clearance-faq-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;border-top:1px solid var(--batya-border,#e9e3dd)}
.bia-clearance-faq-item{padding:16px 0;border-bottom:1px solid var(--batya-border,#e9e3dd)}
.bia-clearance-faq-item h3{font-size:15px;font-weight:700;line-height:1.4;margin:0 0 7px}
.bia-clearance-faq-item p{font-size:13.5px;line-height:1.55;color:var(--batya-text-soft,#555);margin:0}
.bia-clearance-about{padding:23px clamp(14px,2vw,24px);border:1px solid var(--batya-border,#e9e3dd);border-radius:var(--batya-radius-sm,8px);background:var(--batya-card,#fff)}
.bia-clearance-about h2{margin:0 0 10px!important}
.bia-clearance-about p{max-width:900px;font-size:14px;line-height:1.65;margin:0 0 11px;color:var(--batya-text-soft,#555)}
.bia-clearance-about p:last-child{margin-bottom:0}
.bia-clearance-landing .bia-clearance-footer{margin-top:23px}
@media(max-width:700px){
  .bia-clearance-faq-items{grid-template-columns:minmax(0,1fr)}
  .bia-clearance-group{margin:22px 0 29px}
  .bia-clearance-about{padding:18px 15px}
  .bia-clearance-faq-item{padding:13px 0}
  .bia-clearance-highlights .bia-clearance-heading{margin-bottom:10px}
}

/* Custom hero: user-supplied clearance artwork. Use real HTML for text,
   prices and the shop-search link; the illustration is always decorative.
   Desktop hero stays ~300px tall without shifting or hiding product grid. */
.bia-clearance-hero--illustrated{
  position:relative;
  display:flex;
  align-items:center;
  min-height:300px;
  isolation:isolate;
  overflow:hidden;
  padding:22px clamp(18px,2.8vw,30px);
  /* Sales-oriented ivory rather than cold grey. The brand glow stays ONLY in
     the text-side wash; the original product artwork remains untouched. */
  border:1px solid #e2c6b1;
  box-shadow:0 12px 30px rgba(82,52,31,.14),0 2px 6px rgba(82,52,31,.06);
  background-color:#fff9f4;
  background-image:
    linear-gradient(90deg,rgba(255,250,246,1) 0%,rgba(255,250,246,.99) 28%,rgba(255,247,239,.97) 40%,rgba(255,247,239,.79) 53%,rgba(255,247,239,.12) 73%,transparent 100%),
    url('clearance-hero.svg');
  background-position:center center,right center;
  background-repeat:no-repeat;
  background-size:cover,cover;
}
.bia-clearance-hero--illustrated .bia-clearance-hero-content{
  position:relative;
  z-index:1;
  width:50%;
  max-width:520px;
  min-width:0;
}
.bia-clearance-hero--illustrated .bia-clearance-headline{
  max-width:470px;
  margin-bottom:8px;
  font-size:clamp(28px,2.55vw,32px);
  line-height:1.13;
  letter-spacing:-.018em;
}
.bia-clearance-hero--illustrated .bia-clearance-lead{max-width:475px;font-size:14px;line-height:1.43;margin-bottom:7px}
.bia-clearance-hero--illustrated .bia-clearance-hero-actions{margin:8px 0 4px}
.bia-clearance-hero--illustrated .bia-clearance-note{
  max-width:475px;
  margin-top:6px;
  color:#56514e;
  font-size:13px;
  line-height:1.4;
}

/* The route is deliberately compact: it does not cover the illustrated
   products or compete with the real offer buttons lower on the page. */
.bia-clearance-hero--illustrated .bia-clearance-headline{
  font-weight:800;
  text-wrap:balance;
}
.bia-clearance-local-proof{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  box-sizing:border-box;
  max-width:510px;
  margin:8px 0 10px;
  padding:9px 10px 9px 12px;
  border:1px solid rgba(255,105,0,.22);
  border-radius:11px;
  background:rgba(255,255,255,.92);
}
.bia-clearance-local-proof__details{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.bia-clearance-local-proof__address{
  color:var(--batya-text,#222);
  font-size:14px;
  font-weight:750;
  line-height:1.3;
}
.bia-clearance-local-proof__terms{
  color:var(--batya-text-soft,#595959);
  font-size:13px;
  line-height:1.3;
}
.bia-clearance-route-button,
.bia-clearance-hero-actions a.bia-clearance-route-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  box-sizing:border-box;
  min-height:44px;
  padding:9px 12px;
  border:1px solid var(--batya-brand,#ff6900);
  border-radius:9px;
  background:#fff;
  color:var(--batya-brand-dark,#c34b00);
  font-size:14px;
  font-weight:750;
  line-height:1.2;
  white-space:nowrap;
  text-decoration:none;
}
.bia-clearance-route-button:hover{
  border-color:var(--batya-brand,#ff6900);
  background:var(--batya-brand-soft,#fff0e5);
  color:var(--batya-brand-dark,#c34b00);
}
.bia-clearance-route-button:focus-visible{
  outline:2px solid var(--batya-brand,#ff6900);
  outline-offset:3px;
}
@media(max-width:700px){
  .bia-clearance-local-proof{
    grid-template-columns:minmax(0,1fr);
    margin:9px 0 11px;
    padding:10px;
  }
  .bia-clearance-local-proof__address{font-size:14px}
  .bia-clearance-local-proof__terms{font-size:13px}
  .bia-clearance-route-button{width:100%;min-height:44px;font-size:14px}
  .bia-clearance-hero--illustrated .bia-clearance-headline{
    font-size:clamp(25px,6vw,30px);
    max-width:100%;
  }
  .bia-clearance-hero--illustrated .bia-clearance-lead{font-size:14px;max-width:100%}
  .bia-clearance-hero--illustrated .bia-clearance-facts .bia-clearance-fact strong{font-size:20px}
  .bia-clearance-hero--illustrated .bia-clearance-note{font-size:13px;max-width:100%}
}

@media(min-width:701px) and (max-width:950px){
  .bia-clearance-hero--illustrated .bia-clearance-hero-content{width:62%;max-width:520px}
  .bia-clearance-hero--illustrated .bia-clearance-headline{font-size:clamp(27px,3.6vw,30px)}
  .bia-clearance-hero--illustrated .bia-clearance-local-proof{max-width:100%}
  .bia-clearance-hero--illustrated{
    background-image:linear-gradient(90deg,rgba(255,250,246,1) 0%,rgba(255,250,246,.99) 35%,rgba(255,247,239,.94) 56%,rgba(255,247,239,.2) 84%),url('clearance-hero.svg');
  }
}
@media(max-width:700px){
  /* Avoid a text-on-photo mobile hero: copy first, a shallow art strip last. */
  .bia-clearance-hero--illustrated{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    min-height:0;
    padding:18px 15px 0;
    background:#fff9f4;
  }
  .bia-clearance-hero--illustrated .bia-clearance-hero-content{
    width:100%;
    max-width:none;
  }
  .bia-clearance-hero--illustrated::after{
    content:"";
    display:block;
    width:calc(100% + 30px);
    flex:0 0 auto;
    height:clamp(108px,32vw,170px);
    margin:6px -15px 0;
    background:url('clearance-hero.svg') right center/cover no-repeat;
    border-top:1px solid #e8d1bf;
    pointer-events:none;
  }
}

/* 0.4.44: finished mobile landing — keep every conversion fact, but avoid
   wasting the first viewport on oversized stacks and a long image strip.
   The desktop/tablet hero and original illustration are unchanged. */
@media(max-width:700px){
  .bia-clearance-hero--illustrated{
    padding:12px 13px 0;
  }
  .bia-clearance-hero--illustrated .bia-clearance-eyebrow{
    margin-bottom:4px;
    font-size:11px;
  }
  .bia-clearance-hero--illustrated .bia-clearance-headline{
    max-width:100%;
    margin-bottom:6px;
    font-size:clamp(24px,6vw,28px);
    line-height:1.1;
  }
  .bia-clearance-hero--illustrated .bia-clearance-local-proof{
    margin:6px 0 8px;
    padding:8px 9px;
    gap:6px;
  }
  .bia-clearance-hero--illustrated .bia-clearance-local-proof__details{
    gap:2px;
  }
  .bia-clearance-hero--illustrated .bia-clearance-lead{
    max-width:100%;
    margin:0 0 5px;
    font-size:13.5px;
    line-height:1.35;
  }
  .bia-clearance-hero--illustrated .bia-clearance-facts{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    gap:6px 10px;
    margin:6px 0 5px;
  }
  .bia-clearance-hero--illustrated .bia-clearance-facts>.bia-clearance-fact{
    min-width:0;
  }
  .bia-clearance-hero--illustrated .bia-clearance-facts .bia-clearance-fact strong{
    font-size:21px;
  }
  .bia-clearance-hero--illustrated .bia-clearance-facts .bia-clearance-fact__label{
    font-size:11.5px;
    line-height:1.2;
  }
  .bia-clearance-hero--illustrated .bia-clearance-hero-actions{
    margin:5px 0 2px;
  }
  .bia-clearance-hero--illustrated .bia-clearance-hero-actions a{
    min-height:30px;
    font-size:13px;
    white-space:nowrap;
  }
  .bia-clearance-hero--illustrated .bia-clearance-note{
    margin:4px 0 0;
    font-size:12px;
    line-height:1.3;
  }
  .bia-clearance-hero--illustrated::after{
    width:calc(100% + 26px);
    height:clamp(92px,26vw,128px);
    margin:5px -13px 0;
  }
}

/* The first editorial showcase has five REAL Woo products, other grids
   retain their four + optional navigation tile layout. */
@media(min-width:1100px){
  .woocommerce.bia-clearance-landing ul.bia-clearance-spotlight-products{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}
/* On mobile the global two-column rule already centers a lone last card. */


/* 0.4.39 — clearance storefront ONLY: inset native Woo product cards and
   basket CTAs. No new card templates or modifications to shop-wide styling. */
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product{
  --bia-clearance-card-pad-x:12px;
  box-sizing:border-box;
  min-width:0;
  padding:12px var(--bia-clearance-card-pad-x) 14px!important;
  display:flex;
  flex-direction:column;
}
/* WooCommerce's high-specificity loop title can override the theme's
   14px catalogue-card title. Match that canonical size on clearance only;
   preserve the theme's line-clamp, spacing and link behaviour. */
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product .woocommerce-loop-product__title.product-card__title{
  font-size:var(--batya-font-sm,14px);
  line-height:1.35;
  font-weight:var(--batya-weight-medium,500);
  /* WooCommerce gives its loop headings vertical padding. That padding
     exposes a cut-off extra line when combined with -webkit-line-clamp. */
  padding:0;
}
/* On narrow sale cards two title lines often cannot fit the full product
   name; the normal catalog cards are wider. Allow a third line only here. */
@media(max-width:700px){
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product .woocommerce-loop-product__title.product-card__title{
    -webkit-line-clamp:3;
  }
}
/* The theme owns image/name/price markup; preserve its own layout but give
   the price and CTA a repeatable vertical rhythm. */
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product .product-card__price{
  margin-top:auto;
  padding-top:9px;
  margin-bottom:11px;
}
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product .product-card__actions,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product .product-card__footer{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  margin-left:0!important;
  margin-right:0!important;
  padding:0!important;
}
/* Only Woo action links inside actual product cards. Never style the
   'Ещё товары' tile, category navigation or general shop buttons. */
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.add_to_cart_button,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_simple,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_variable,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_external,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.added_to_cart.wc-forward{
  display:flex!important;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%!important;
  max-width:100%;
  min-height:42px;
  margin:0!important;
  padding:9px 10px!important;
  border-radius:10px;
  text-align:center;
  text-decoration:none;
  line-height:1.3;
  font-size:15px;
  font-weight:700;
  white-space:normal;
}
/* Place the bottom CTA in the card, not flush with its edge, even if theme
   wraps it in an action container. */
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.add_to_cart_button,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_simple,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_variable,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_external{
  margin-top:auto!important;
  background:var(--batya-brand,#ff6900);
  color:#fff;
  border:1px solid transparent;
}
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.add_to_cart_button:hover,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_simple:hover,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_variable:hover,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_external:hover{
  background:var(--batya-brand-dark,#d95500);
  color:#fff;
}
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.add_to_cart_button:focus-visible,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_simple:focus-visible,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_variable:focus-visible,
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_external:focus-visible{
  outline:2px solid var(--batya-brand,#ff6900);
  outline-offset:2px;
}
.woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.added_to_cart.wc-forward{
  margin-top:7px!important;
  border:1px solid var(--batya-brand,#ff6900);
  background:#fff;
  color:var(--batya-brand-dark,#c34b00);
}
@media(max-width:700px){
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product{
    --bia-clearance-card-pad-x:10px;
    padding:10px var(--bia-clearance-card-pad-x) 12px!important;
  }
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product .product-card__price{
    padding-top:7px;
    margin-bottom:10px;
  }
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.add_to_cart_button,
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_simple,
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_variable,
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.product_type_external,
  .woocommerce.bia-clearance-landing ul.bia-clearance-products>li.product a.added_to_cart.wc-forward{
    min-height:42px;
    padding:8px 7px!important;
    border-radius:9px;
    font-size:14px;
  }
  /* Mobile uses the standalone full-section link instead of the fifth tile. */
  .bia-clearance-more a{
    font-size:14px;
  }
}
