/* Customer storefront. Shared Egg & Jy colour and type tokens live in brand.css. */
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html:not([data-lang]), html:not([data-lang]) body { touch-action: manipulation; }
body { background-color: #f7f5ed; background-image: none; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: white; color: var(--green-deep); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.hero { min-height: 640px; border: 0; justify-content: flex-start; text-align: left; }
.storefront-topbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 12px 22px; }
.storefront-home { display: block; flex: none; }
.hero .storefront-home .brand { width: 112px; filter: none; margin: 0; }
.storefront-nav { display: none; gap: 28px; align-items: center; }
.storefront-nav a { color: var(--on-green); text-decoration: none; font-size: .78rem; font-weight: 600; }
.storefront-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.langs { z-index: 4; top: 26px; right: 22px; background: var(--green-deep); border-color: #8f967f; }
.langs button { min-height: 42px; padding: 10px 14px; }
.heroshot { top: 90px; bottom: auto; height: 320px; }
.heroshot img { height: 100%; object-position: 50% 56%; }
.heroshot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, #2f3a201a 35%, #2f3a20 94%); }
.hero::after { background: none; }
.herobody { align-items: flex-start; padding: 212px 24px 34px; }
.hero-eyebrow, .section-eyebrow { margin: 0 0 12px; font-size: .66rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; color: var(--ochre-ink); }
.hero-eyebrow { color: #e7c38b; }
.herobody h1 { margin: 0; font-size: clamp(2.1rem, 8vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.hero .line-af, .hero .line-en { margin: 16px 0 0; font: 400 1.1rem/1.4 var(--f-script); text-transform: none; letter-spacing: 0; opacity: 1; color: #e9dbc0; }
html[lang="en"] .hero .line-af, html[lang="af"] .hero .line-en { display: none; }
.hero-intro { max-width: 39ch; margin: 16px 0 22px; font-size: .85rem; line-height: 1.7; color: #ececde; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-actions .btn { background: var(--on-green); color: var(--green-deep); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; font-size: .86rem; padding: 13px 22px; }
.hero-actions .btn:hover { background: white; }
.hero-how { color: var(--on-green); font-size: .8rem; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 9px; }
.hero-how:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-note { margin: 18px 0 0; font-size: .7rem; color: #d4d9c7; }
.promise { margin: 0 auto; max-width: 620px; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 20px 8px 8px; }
.promise::before { display: none; }
.promise div { padding: 12px 8px; font-size: .59rem; letter-spacing: .04em; border: 0 !important; }
.promise svg { background: #ede8d8; padding: 7px; width: 17px; height: 17px; }
section { padding-top: 38px; }
#shop { scroll-margin-top: 24px; }
section > h2 { padding-top: 0; }
section > h2::before { display: none; }
h2 { font-size: clamp(1.65rem, 5vw, 2.2rem); letter-spacing: -.035em; }
.sub { max-width: 66ch; font-size: .86rem; line-height: 1.7; margin-top: 10px; }
#requestProcess { background: #fffefa; padding: 22px; border-radius: 20px; margin: 26px 0 24px; }
#requestProcess > b { font-size: .87rem; margin-bottom: 20px; }
#requestProcess ol { list-style: none; padding: 0; counter-reset: order-step; display: grid; gap: 20px; }
#requestProcess li { position: relative; counter-increment: order-step; padding-left: 40px; margin: 0; font-size: .78rem; line-height: 1.65; }
#requestProcess li::before { content: counter(order-step, decimal-leading-zero); position: absolute; top: 1px; left: 0; color: var(--ochre-ink); font-size: .72rem; font-weight: 700; background: var(--ochre-soft); border-radius: 10px; width: 29px; height: 29px; display: grid; place-items: center; }
#requestProcess strong { display: block; color: var(--green-deep); font-size: .84rem; margin-bottom: 5px; }
#requestProcess > p { border-top: 1px solid var(--rule-soft); margin-top: 20px; padding-top: 15px; font-size: .74rem; }
.quantity-help { margin: 0 0 18px; color: var(--ink-soft); font-size: .76rem; max-width: 66ch; line-height: 1.65; }
.prod { border-color: #e3decd; border-radius: 20px; box-shadow: 0 4px 18px -15px #2f3a2044; }
.prod .shot { border-bottom: 0; }
.prod .price { font-size: 1rem; line-height: 1.5; }
.prod h3 { font-size: 1rem; line-height: 1.4; }
.prod .meta { font-size: .7rem; }
.prod:has(.shot) .dial { box-shadow: 0 0 0 4px white, 0 4px 12px #2f3a2025; }
.stepper { background: #f7f5ed; border-color: #d4d9c8; }
.stepper button:last-child { background: var(--green); color: white; }
.stepper button:last-child:hover:not(:disabled) { background: var(--green-deep); }
.stepper button { width: 40px; height: 44px; }
.basket-panel { display: none; }
.basket-panel h3 { font-size: 1.4rem; line-height: 1.25; letter-spacing: -.03em; margin: 0 0 23px; color: var(--green-deep); }
.basket-empty { font-size: .84rem; line-height: 1.8; margin: 0 0 24px; color: var(--ink-soft); }
.basket-line { display: flex; justify-content: space-between; gap: 16px; font-size: .8rem; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
.basket-line span { overflow-wrap: anywhere; }
.basket-line b { flex: none; font-size: .72rem; font-weight: 600; color: var(--ink-soft); }
.basket-total { margin: 23px 0; font-weight: 700; font-size: 1.3rem; color: var(--green-deep); line-height: 1.45; }
.basket-total span { display: block; font-weight: 400; font-size: .76rem; margin-top: 3px; color: var(--ink-soft); }
.basket-help { font-size: .72rem; line-height: 1.75; color: var(--ink-soft); margin: 16px 0 0; }
.basket-panel .btn { font-size: .77rem; padding: 14px; border-radius: 11px; }
.btn { border-radius: 12px; font-size: .87rem; }
.bar { border-top: 1px solid var(--rule); padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.bar .inner { gap: 12px; }
.bar .sum b { font-size: 1.08rem; }
.bar .sum span { font-size: .7rem; letter-spacing: 0; }
.bar .btn { padding: 14px 18px; font-size: .84rem; }
.checkout-basket { background: #fffefa; border: 1px solid var(--rule); border-radius: 16px; padding: 17px 20px; margin: 0 0 22px; }
.checkout-basket summary { font-size: .9rem; color: var(--green-deep); font-weight: 700; cursor: pointer; }
.basket-edit { background: none; border: none; color: var(--ochre-ink); font: 600 .76rem/1.5 var(--f-sans); padding: 14px 0 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pickcard { padding: 24px; box-shadow: none; }
.story { border-top-width: 1px; }
.journey { border-top-width: 1px; }
#install { padding-bottom: 50px; }
.band img { height: 230px; }
#bandHensWrap { display: none; }
footer { padding-top: 38px; }

/* The short masthead keeps the actual order details near the top on phones. */
body:has(#shop[hidden]) .hero { min-height: 0; border-radius: 0; margin: 0; }
body:has(#shop[hidden]) .herobody, body:has(#shop[hidden]) .storefront-nav { display: none; }
body:has(#shop[hidden]) .storefront-topbar { min-height: 94px; }
body:has(#shop[hidden]) .hero .brand { width: 110px; }
body:has(#shop[hidden]) .hero::after { background: none; }
body:has(#shop[hidden]) main { padding-bottom: 40px; }
body:has(#shop[hidden]) .skip-link { display: none; }

@media (min-width: 700px) {
  .hero { margin: 18px; border-radius: 24px; min-height: 520px; }
  .storefront-topbar { padding: 18px 30px; }
  .storefront-nav { display: flex; padding-right: 130px; gap: 22px; }
  .langs { right: 30px; top: 29px; }
  .herobody { padding: 30px 34px 42px; width: 62%; }
  .herobody h1 { font-size: clamp(2.5rem, 4.5vw, 3.5rem); }
  .heroshot { top: 0; bottom: 0; left: 43%; height: 100%; }
  .heroshot img { height: 100%; object-position: 40% 50%; }
  .heroshot::after { display: none; }
  .hero::after { background: linear-gradient(90deg, #2f3a20 28%, #2f3a20f7 36%, #2f3a2066 65%, #2f3a2000 90%), linear-gradient(180deg, #2f3a2099, transparent 35%); }
  .hero-intro { max-width: 34ch; }
  .promise { max-width: 1000px; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 8px 18px 0; }
  .promise div { justify-content: center; }
  #requestProcess ol { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
  #requestProcess li { padding: 40px 0 0; }
  #requestProcess li::before { top: 0; }
  #requestProcess > p { max-width: none; }
}
@media (min-width: 900px) {
  .wrap { max-width: 1180px; padding: 0 30px; }
  .hero { max-width: 1440px; margin: 24px auto 0; border-radius: 28px; width: calc(100% - 48px); }
  .storefront-topbar { max-width: 1220px; width: 100%; margin: 0 auto; padding: 20px 40px; }
  .hero .storefront-home .brand { width: 126px; }
  .langs { right: max(40px, calc((100% - 1220px)/2 + 40px)); top: 33px; }
  .storefront-nav { gap: 32px; }
  .herobody { width: min(1220px, 100%); padding: 30px 40px 50px; margin: 0 auto; }
  .herobody h1 { max-width: 12ch; font-size: clamp(3rem, 4.4vw, 4rem); }
  .hero-intro { max-width: 39ch; }
  .hero .line-af, .hero .line-en { font-size: 1.2rem; }
  .promise { max-width: 1180px; padding: 20px 30px 0; }
  .promise div { font-size: .63rem; gap: 12px; }
  .promise svg { padding: 10px; }
  section { padding-top: 55px; }
  #shop .section-eyebrow { margin-bottom: 9px; }
  #requestProcess { padding: 25px 28px 20px; }
  #requestProcess ol { gap: 40px; }
  #requestProcess li { padding: 0 0 0 42px; }
  #requestProcess > b { font-size: .95rem; }
  .products { gap: 20px; }
  .prod { --shot-h: 225px; }
  .prod:not(:has(.shot)) { min-height: 150px; }
  #story .journey { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: center; min-height: 200px; margin-bottom: 32px; }
  #story .jstep { display: none; }
  #story .nestscene, #story .trayscene, #story .roadscene { padding: 22px; }
  #story .nest, #story .tray, #story .road { width: 100%; max-width: 340px; }
  .story { display: grid; grid-template-columns: 1fr 1.1fr; text-align: left; }
  .story .shot { height: 100%; min-height: 460px; }
  .story .inner { align-items: flex-start; padding: 34px 38px; }
  .story .mark { width: 86px; margin: 0; }
  .story .sprig { width: 130px; }
  .story p { font-size: .85rem; line-height: 1.75; }
  #checkout, #thanks { max-width: 680px; }
  #install { max-width: 780px; }
  .installcard { padding: 26px; }
  .bar .inner { max-width: 1080px; }
  body:has(#shop[hidden]) .hero { max-width: none; width: 100%; }
}
@media (min-width: 1100px) {
  .shop-grid { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 26px; align-items: start; }
  .basket-panel { display: block; position: sticky; top: 26px; padding: 26px 23px; border: 1px solid var(--rule); border-radius: 20px; background: #fffefa; box-shadow: 0 12px 32px -28px #2f3a2077; }
  .quantity-help { min-height: 50px; margin-bottom: 15px; }
  .prod { --shot-h: 205px; }
  .prod:has(.shot) { grid-template-columns: minmax(0,1fr); }
  .prod:has(.shot) .stepper, .prod:has(.shot) .out { justify-self: end; grid-column: 1; }
  .prod:not(:has(.shot)) { grid-template-columns: 58px minmax(0,1fr); }
  .prod:not(:has(.shot)) .stepper, .prod:not(:has(.shot)) .out { grid-column: 1 / -1; justify-self: end; }
  .prod .price { font-size: .92rem; }
  .bar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 359px) {
  .hero-actions { gap: 14px; }
  .hero-actions .btn { padding: 12px 16px; }
  .hero-how { font-size: .73rem; }
  .herobody { padding-left: 20px; padding-right: 20px; }
  .promise div { gap: 7px; }
  .promise svg { padding: 5px; }
  .pickcard { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar { transition: none; }
}
