/* Recipe Clothing owner-requested storefront refinement layer. Loaded last. */
:root{
  --recipe-gutter:clamp(14px,2.2vw,34px);
  --recipe-section-space:clamp(34px,4.6vw,68px);
}
.recipe-store .recipe-header__inner{height:64px;gap:18px}
.recipe-store .recipe-nav,.recipe-store .recipe-actions{font-weight:700;letter-spacing:.075em}
.recipe-store .recipe-brand{display:flex;align-items:center;justify-content:center;min-width:150px}
.recipe-store .recipe-brand img{display:block;width:auto;height:39px;max-width:190px;filter:invert(1)}
.recipe-store .recipe-section{padding:var(--recipe-section-space) 0}
.recipe-store .recipe-section--tight{padding:clamp(26px,3.2vw,48px) 0}
.recipe-store .recipe-section__head{margin-bottom:22px}
.recipe-store .recipe-story{padding:clamp(42px,6vw,88px) var(--recipe-gutter)}
.recipe-store .recipe-collection-hero{padding:clamp(42px,6vw,84px) var(--recipe-gutter) clamp(28px,4vw,54px)}
.recipe-store .recipe-grid-wrap{padding-bottom:clamp(48px,6vw,82px)}
.recipe-store .recipe-footer{margin-top:48px}
.recipe-store .recipe-footer__top{padding:clamp(42px,5vw,72px) var(--recipe-gutter);gap:34px}
.recipe-store .recipe-editorial{min-height:580px}
.recipe-store .recipe-editorial__copy{padding:clamp(30px,4.6vw,68px)}
.recipe-store .recipe-collection-tile{min-height:460px}

/* Source catalogue photography is predominantly 1080×1920. Keep that 9:16 geometry instead of forcing 3:4. */
.recipe-store .recipe-product-card__media{aspect-ratio:9/16;background:#eeeae4}
.recipe-store .recipe-product-card__media img{width:100%;height:100%;object-fit:cover;object-position:center top}
.recipe-store .pdp-gallery__stage{aspect-ratio:9/16;background:#eeeae4}
.recipe-store .pdp-gallery__thumb{aspect-ratio:9/16;background:#eeeae4}
.recipe-store .pdp-gallery__main,.recipe-store .pdp-gallery__thumb img{object-fit:cover;object-position:center top}
.recipe-store .pdp-shell{padding-top:24px;padding-bottom:clamp(54px,6vw,88px)}
.recipe-store .pdp-breadcrumb{margin-bottom:22px}
.recipe-store .pdp{grid-template-columns:minmax(0,1.05fr) minmax(340px,.72fr);gap:clamp(28px,4vw,62px)}
.recipe-store .pdp-heading .pdp-intro{margin:0 0 10px;font-size:13px;line-height:1.55}
.recipe-store .pdp-heading h1{margin:8px 0 14px;font-size:clamp(40px,4vw,62px)}
.recipe-store .pdp-price{margin:18px 0 8px}
.recipe-store .pdp-stockline{margin-bottom:18px}
.recipe-store .pdp-description-block{margin-top:18px;padding-top:18px}
.recipe-store .pdp-purchase,.recipe-store .pdp-purchase.add-cart{margin-top:20px}
.recipe-store .pdp-client-actions{margin-top:24px}
.recipe-store .pdp-summary{top:88px}
@media (min-width:981px){
  .recipe-store .pdp-summary__inner{max-height:calc(100vh - 108px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:8px}
}

/* Full-bleed motion hero directly below the header. */
.recipe-store .recipe-hero{min-height:min(82vh,880px);background:#111}
.recipe-store .recipe-hero__media video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.recipe-store .recipe-hero__media:after{background:linear-gradient(180deg,rgba(0,0,0,.06) 36%,rgba(0,0,0,.56) 100%)}
.recipe-store .recipe-hero__copy{padding:clamp(30px,5vw,72px) var(--recipe-gutter)}

/* Shopify-like checkout composition while preserving Recipe backend/payment semantics. */
.recipe-store .checkout-shell{width:min(1240px,calc(100% - (var(--recipe-gutter)*2)));padding:34px 0 64px}
.recipe-store .checkout-shell>header{margin-bottom:26px}
.recipe-store .checkout-shell h1{font-family:Inter,Arial,sans-serif;font-size:clamp(28px,3vw,40px);font-weight:650;letter-spacing:-.035em;line-height:1.05}
.recipe-store .checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.78fr);gap:clamp(34px,5vw,72px);align-items:start}
.recipe-store .checkout-main{min-width:0}
.recipe-store .checkout-form{display:block}
.recipe-store .checkout-section{padding:0 0 28px;margin:0 0 28px;border:0;border-bottom:1px solid var(--recipe-line);background:transparent}
.recipe-store .checkout-section:last-of-type{margin-bottom:0}
.recipe-store .checkout-section__heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin:0 0 16px}
.recipe-store .checkout-section__heading h2{margin:0;font-family:Inter,Arial,sans-serif;font-size:18px;font-weight:650;letter-spacing:-.02em}
.recipe-store .checkout-section__heading small{font-size:11px;color:var(--recipe-muted)}
.recipe-store .checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.recipe-store .checkout-fields .checkout-field--wide{grid-column:1/-1}
.recipe-store .checkout-field{position:relative;display:block!important}
.recipe-store .checkout-field span{position:absolute;z-index:1;top:8px;left:12px;color:var(--recipe-muted);font-size:9px;font-weight:600;letter-spacing:.04em;text-transform:none;pointer-events:none}
.recipe-store .checkout-field input,.recipe-store .checkout-field select{min-height:54px;padding:22px 12px 7px;border:1px solid #c9c6c0;border-radius:6px;background:#fff;font-size:14px}
.recipe-store .checkout-field input:focus,.recipe-store .checkout-field select:focus{outline:2px solid #111;outline-offset:-2px}
.recipe-store .checkout-payment-options{display:grid;gap:8px}
.recipe-store .checkout-form .payment-choice{min-height:58px;border-radius:6px;background:#fff;padding:0 14px}
.recipe-store .checkout-sidebar{position:sticky;top:88px;min-width:0}
.recipe-store .checkout-summary{padding:22px;border:1px solid var(--recipe-line);border-radius:8px;background:rgba(255,255,255,.5)}
.recipe-store .checkout-summary__title{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}
.recipe-store .checkout-summary__title h2{margin:0;font-family:Inter,Arial,sans-serif;font-size:16px;font-weight:650}
.recipe-store .checkout-summary__items{display:grid;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--recipe-line)}
.recipe-store .checkout-summary__item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center}
.recipe-store .checkout-summary__media{position:relative;width:58px;aspect-ratio:9/16;overflow:hidden;border-radius:5px;background:var(--recipe-card)}
.recipe-store .checkout-summary__media img{width:100%;height:100%;object-fit:cover;display:block}
.recipe-store .checkout-summary__qty{position:absolute;right:-5px;top:-5px;min-width:20px;height:20px;display:grid;place-items:center;border-radius:20px;background:#666;color:#fff;font-size:10px}
.recipe-store .checkout-summary__item h3{margin:0 0 3px;font-size:12px;font-weight:600;line-height:1.35}
.recipe-store .checkout-summary__item small{display:block;color:var(--recipe-muted);font-size:10px;line-height:1.4}
.recipe-store .checkout-summary__price{font-size:12px;font-weight:600;white-space:nowrap}
.recipe-store .checkout-totals{padding-top:12px}
.recipe-store .checkout-totals p{display:flex;justify-content:space-between;gap:20px;margin:0;padding:7px 0;font-size:12px;color:var(--recipe-muted)}
.recipe-store .checkout-totals strong{color:var(--recipe-ink);font-weight:600}
.recipe-store .checkout-totals .checkout-total{margin-top:8px;padding-top:14px;border-top:1px solid var(--recipe-line);font-size:15px;color:var(--recipe-ink)}
.recipe-store .checkout-submit{width:100%;min-height:54px;margin-top:18px;border:1px solid #111;border-radius:6px;background:#111;color:#fff;font-size:12px;font-weight:700;letter-spacing:.04em;cursor:pointer}
.recipe-store .checkout-submit:hover{background:#292929}
.recipe-store .checkout-trust{margin:11px 0 0;text-align:center;color:var(--recipe-muted);font-size:10px;line-height:1.45}
.recipe-store .checkout-mobile-summary-toggle{display:none}

/* Richer order confirmation */
.recipe-store .thank-you{width:min(980px,calc(100% - (var(--recipe-gutter)*2)))}
.recipe-store .thank-you__status{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;margin:22px 0 28px}
.recipe-store .thank-you__check{width:42px;height:42px;display:grid;place-items:center;border:1px solid #39764c;border-radius:50%;color:#39764c;font-size:20px}
.recipe-store .thank-you__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:20px;margin-top:24px}
.recipe-store .thank-you__panel{padding:20px;border:1px solid var(--recipe-line);border-radius:7px;background:rgba(255,255,255,.35)}
.recipe-store .thank-you__panel h2{margin:0 0 14px;font-family:Inter,Arial,sans-serif;font-size:15px;font-weight:650}
.recipe-store .thank-you__panel p{margin:6px 0;color:var(--recipe-muted);font-size:12px;line-height:1.55}
.recipe-store .thank-you .receipt{margin:0}

/* Fixed mobile destination bar. */
.recipe-mobile-tabbar{display:none}
@media(max-width:760px){
  .recipe-store{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
  .recipe-store .recipe-header__inner{height:58px;grid-template-columns:1fr auto;padding-left:14px;padding-right:14px}
  .recipe-store .recipe-brand{justify-content:flex-start;min-width:0}
  .recipe-store .recipe-brand img{height:32px;max-width:145px}
  .recipe-store .recipe-actions{font-size:10px;font-weight:700}
  .recipe-store .recipe-mobile-categories{padding:9px 14px 10px;gap:17px;font-weight:650}
  .recipe-store .recipe-section{padding:34px 0}
  .recipe-store .recipe-section--tight{padding:24px 0}
  .recipe-store .recipe-story{padding:46px 14px}
  .recipe-store .recipe-footer{margin-top:32px}
  .recipe-store .recipe-footer__top{padding:38px 18px 32px;gap:26px}
  .recipe-store .recipe-collection-tile{min-height:125vw}
  .recipe-store .recipe-hero{min-height:70vh}
  .recipe-store .recipe-hero__copy{padding:28px 18px}
  .recipe-mobile-tabbar{position:fixed;z-index:95;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid rgba(18,18,18,.14);background:rgba(248,247,244,.97);backdrop-filter:blur(16px)}
  .recipe-mobile-tabbar a{display:grid;place-items:center;gap:3px;min-height:45px;text-decoration:none;color:#111;font-size:9px;font-weight:650;letter-spacing:.02em}
  .recipe-mobile-tabbar svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7}
  .recipe-store .pdp-shell{padding:18px 14px 56px}
  .recipe-store .pdp{gap:24px}
  .recipe-store .pdp-summary__inner{max-height:none;overflow:visible;padding-right:0}
  .recipe-store .checkout-shell{width:calc(100% - 28px);padding:26px 0 46px}
  .recipe-store .checkout-layout{grid-template-columns:1fr;gap:18px}
  .recipe-store .checkout-sidebar{position:static;order:-1}
  .recipe-store .checkout-mobile-summary-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;padding:14px 0;border:0;border-top:1px solid var(--recipe-line);border-bottom:1px solid var(--recipe-line);background:transparent;color:#111;font-size:12px;font-weight:650}
  .recipe-store .checkout-summary{display:none;margin-top:12px}
  .recipe-store .checkout-summary.is-open{display:block}
  .recipe-store .checkout-fields{grid-template-columns:1fr}
  .recipe-store .checkout-fields .checkout-field--wide{grid-column:auto}
  .recipe-store .thank-you__grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.recipe-store .recipe-hero__media video{display:none}}
