/* STORE ELEMENT: compact shop homepage (only shop.html).
   Keeps Sheets promo/fallback, responsive navigation, day/night and all existing functionality. */
.se-home-compact .wrap{padding-top:12px}
.se-home-compact .se-home-promo{margin:10px 0 12px;border-radius:14px}
.se-home-compact .se-promo-banner-image{aspect-ratio:4.2/1;max-height:230px;min-height:0;object-fit:cover}
.se-home-compact .se-promo-banner-caption{padding:10px 16px;gap:7px 14px}
.se-home-compact .se-promo-banner-caption h2{font-size:clamp(16px,1.7vw,21px);line-height:1.2}
.se-home-compact .se-promo-banner-caption p{font-size:13px;line-height:1.35}
.se-home-compact .se-promo-cta{padding:9px 14px;min-height:36px;font-size:13px}
.se-home-compact .se-promo-product{grid-template-columns:minmax(0,31%) minmax(0,1fr);min-height:0}
.se-home-compact .se-promo-product-visual img{height:165px;max-height:165px;object-fit:cover}
.se-home-compact .se-promo-product-body{padding:13px 20px;gap:5px}
.se-home-compact .se-promo-eyebrow{font-size:10px}
.se-home-compact .se-promo-product-body h2{font-size:clamp(17px,2vw,23px);line-height:1.2}
.se-home-compact .se-promo-product-body p{font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.se-home-compact .se-promo-product-price{font-size:18px}
.se-home-compact .hero{padding:13px 0 10px;border-bottom:1px solid var(--line,#383838)}
.se-home-compact .hero .tag{font-size:10px;letter-spacing:.08em;margin:0 0 5px}
.se-home-compact .hero h1{font-size:clamp(23px,3.1vw,34px);line-height:1.08;letter-spacing:.01em;margin:0 0 5px}
.se-home-compact .hero .muted{font-size:13px;line-height:1.4;margin:0}
.se-home-compact .se-shop-hero-cta{margin-top:8px;min-height:33px;padding:7px 13px;font-size:12px}
.se-home-compact .se-hero-benefits{margin-top:8px;gap:5px 15px;font-size:11px}
.se-home-compact .controls{margin:12px 0 9px;gap:8px}
.se-home-compact .controls input,.se-home-compact .controls select{padding:10px 12px;font-size:13px}
.se-home-compact #status{margin:7px 0}
.se-home-compact .se-discovery-showcase{margin:12px 0 18px;padding:14px;border-radius:14px;box-shadow:0 6px 18px #0002}
.se-home-compact .se-showcase-eyebrow{margin-bottom:3px;font-size:9px}
.se-home-compact .se-showcase-head h2{font-size:clamp(19px,2.2vw,23px)}
.se-home-compact .se-showcase-tabs{margin:10px 0;padding-bottom:8px;gap:6px}
.se-home-compact .se-showcase-tab{padding:7px 12px;font-size:12px}
.se-home-compact .se-showcase-subhead{margin-bottom:9px}
.se-home-compact .se-showcase-subhead h3{font-size:14px;margin-bottom:2px}
.se-home-compact .se-showcase-subhead p{font-size:11px}
.se-home-compact .se-showcase-track{padding-bottom:9px}
.se-home-compact .se-showcase-track .se-mini-card{flex-basis:clamp(140px,15vw,175px)}
.se-home-compact .se-showcase-track .se-mini-details{padding:8px;gap:5px}
.se-home-compact .se-showcase-track .se-mini-title{font-size:12px}
@media(max-width:650px){
 .se-home-compact .wrap{padding-top:8px}
 .se-home-compact .se-home-promo{margin:7px 0 9px;border-radius:11px}
 .se-home-compact .se-promo-banner-image{aspect-ratio:2.1/1;max-height:190px}
 .se-home-compact .se-promo-banner-caption{padding:9px;gap:6px}
 .se-home-compact .se-promo-banner-caption h2{font-size:16px}
 .se-home-compact .se-promo-banner-caption p{font-size:12px}
 .se-home-compact .se-promo-product{grid-template-columns:35% minmax(0,1fr)}
 .se-home-compact .se-promo-product-visual img{height:145px;max-height:145px}
 .se-home-compact .se-promo-product-body{padding:10px;gap:4px}
 .se-home-compact .se-promo-product-body h2{font-size:16px}
 .se-home-compact .se-promo-product-body p{font-size:11px;-webkit-line-clamp:2}
 .se-home-compact .se-promo-product-price{font-size:16px}
 .se-home-compact .se-promo-cta{min-height:34px;padding:7px 10px;width:auto;font-size:12px}
 .se-home-compact .hero{padding:10px 0 9px}
 .se-home-compact .hero h1{font-size:clamp(21px,6vw,28px)}
 .se-home-compact .hero .muted{font-size:12px}
 .se-home-compact .se-hero-benefits{gap:5px 10px;font-size:10px}
 .se-home-compact .controls{margin:10px 0 7px}
 .se-home-compact .se-discovery-showcase{margin:10px 0 14px;padding:10px}
 .se-home-compact .se-showcase-count{display:none}
 .se-home-compact .se-showcase-track .se-mini-card{flex-basis:140px}
 .se-home-compact .se-showcase-tab{padding:7px 10px}
}
@media(max-width:360px){
 .se-home-compact .se-promo-product{grid-template-columns:32% minmax(0,1fr)}
 .se-home-compact .se-promo-product-visual img{height:140px;max-height:140px}
 .se-home-compact .se-promo-product-body h2{font-size:14px}
 .se-home-compact .se-promo-product-body p{display:none}
 .se-home-compact .se-promo-cta{padding:6px 9px}
}

/* Product grid remains readable below the sticky header after anchor navigation. */
.se-home-compact #products{scroll-margin-top:90px}

/* Search and filters sit between curated collections and the main product grid. */
.se-home-compact .se-catalog-search{scroll-margin-top:74px;margin:0 0 9px;}
.se-home-compact .se-catalog-search .controls{margin:10px 0 6px;}
.se-home-compact .se-catalog-search #status{margin:5px 0 8px;}
.se-home-compact .se-catalog-discovery{margin-bottom:6px;}
@media(max-width:650px){
 .se-home-compact .se-catalog-search{scroll-margin-top:18px;}
 .se-home-compact .se-catalog-search .controls{margin:8px 0 6px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;}
 .se-home-compact .se-catalog-search #search{grid-column:1/-1;min-width:0;}
 .se-home-compact .se-catalog-search #category,.se-home-compact .se-catalog-search #sort{min-width:0;width:100%;} 
}

/* Stage 12C: compact cards only in homepage Hits/New/For You collections.
   Do not stretch ordinary cards to the height of landing-only cards with a CTA. */
.se-home-compact .se-discovery-showcase .se-showcase-track{
  align-items:flex-start;
}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-card{
  align-self:flex-start;
  height:auto;
  min-height:0;
}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-details{
  flex:0 0 auto;
  min-height:0;
  padding:9px 10px 11px;
  gap:5px;
}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-title{
  font-size:14px;
  font-weight:650;
  line-height:1.32;
  min-height:0;
  overflow-wrap:anywhere;
}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-details strong{
  margin-top:2px;
  font-size:15px;
  line-height:1.2;
}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-add{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:9px 7px;
  line-height:1.2;
  font-size:12px;
  min-height:38px;
  text-decoration:none;
}
@media(max-width:650px){
  .se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-title{font-size:13px}
  .se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-details{padding:8px;gap:4px}
  .se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-details strong{font-size:14px}
}

/* Stage 13D: same compact height for all showcase cards, including landing offers. */
.se-home-compact .se-discovery-showcase .se-showcase-track{align-items:stretch;padding-bottom:14px;}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-card{align-self:stretch;height:auto;min-height:0;}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-details{flex:1 1 auto;display:flex;flex-direction:column;}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-details strong{margin-top:auto;}
.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-add{margin-top:4px;min-height:38px;box-sizing:border-box;}
@media(max-width:650px){.se-home-compact .se-discovery-showcase .se-showcase-track{padding-bottom:12px}.se-home-compact .se-discovery-showcase .se-showcase-track .se-mini-add{padding:7px 4px;font-size:11px;min-height:35px}}

/* 2026-11-08: Reserve the asynchronous discovery shelf before Google Sheets responds.
   Desktop CLS mitigation. When the catalog has loaded, JS removes the pending class. */
@media (min-width: 751px){
  .se-home-compact #se-catalog-discovery.se-discovery-pending{
    display:block;min-height:338px;margin:12px 0 18px;border:1px solid var(--line,#ddd);
    border-radius:14px;position:relative;overflow:hidden;background:color-mix(in srgb,currentColor 3%, transparent);
  }
  .se-home-compact #se-catalog-discovery.se-discovery-pending::before{
    content:"";display:block;position:absolute;inset:24px 16px auto;height:34px;
    border-radius:8px;background:currentColor;opacity:.065;
  }
  .se-home-compact #se-catalog-discovery.se-discovery-pending::after{
    content:"";display:block;position:absolute;inset:105px 16px 15px;
    border-radius:10px;background:repeating-linear-gradient(90deg,currentColor 0 16%,transparent 16% 18%,currentColor 18% 34%,transparent 34% 36%);opacity:.045;
  }
  .se-home-compact #se-catalog-discovery:not([hidden]):not(.se-discovery-pending){min-height:338px;}
  .se-home-compact #products{min-height:380px;align-content:start;}
}
/* Keep the mobile first paint unchanged. */
@media (max-width:750px){.se-home-compact #se-catalog-discovery.se-discovery-pending{display:none;}}
