/* CURI TIME BOX — pre-order, cart and order pages.
   Builds on styles.css tokens (Arvo display, Lato body, charcoal / cream zones, gold actions). */

.shop,.cart-overlay{--ink:#2C3538;--sub:#5A686C;--paper:#FAF5EC;--paper-2:#F1E9DB;--paper-3:#EAE0CE;--rule:rgba(63,77,81,.16);--rule-2:rgba(63,77,81,.3);--white:#FFFFFF;--clay:#BF5F49;--clay-ink:#9A4A38}
.shop .eyebrow{margin-bottom:0}
.shop-wrap{max-width:1320px;margin:0 auto;padding:28px var(--pad-x) 110px}
.shop-crumb{font-size:13px;color:var(--sub);margin-bottom:24px}
.shop-crumb a{color:var(--sub)}
.shop-grid{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.shop-media{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:14px}
.shop-buy{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:22px}

/* gallery */
.shop-main{position:relative;aspect-ratio:4/3;max-width:100%;background:var(--paper-2);overflow:hidden}
.shop-main img{width:100%;height:100%;object-fit:cover}
.shop-main .tag{position:absolute;left:14px;bottom:14px;background:rgba(31,38,40,.78);color:#F7F2EB;font-size:12px;letter-spacing:.04em;padding:6px 10px}
.shop-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.shop-thumbs button{padding:0;border:2px solid transparent;background:var(--paper-2);cursor:pointer;aspect-ratio:1/1;overflow:hidden}
.shop-thumbs button[aria-pressed="true"]{border-color:var(--ink)}
.shop-thumbs img{width:100%;height:100%;object-fit:cover}
.shop-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--rule);margin-top:10px}
.shop-facts>div{background:var(--paper);padding:18px 16px}
.shop-facts b{display:block;font-family:var(--display);font-weight:400;font-size:22px;color:var(--ink)}
.shop-facts span{font-size:13px;color:var(--sub);line-height:1.5}

/* buy box */
.shop-title{font-family:var(--display);font-weight:400;font-size:40px;line-height:1.1;color:var(--ink)}
.shop-title span{color:var(--clay)}
.shop-lede{font-size:17px;line-height:1.55;max-width:34em;margin-top:10px}
.shop-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px}
.shop-price .now{font-family:var(--display);font-size:40px;color:var(--ink);font-variant-numeric:tabular-nums}
.shop-price .was{font-size:16px;color:var(--sub)}
.shop-price .save{background:var(--clay);color:#fff;font-size:12px;font-weight:700;letter-spacing:.08em;padding:4px 9px}
.shop-stock{display:flex;flex-direction:column;gap:8px}
.shop-stock .row{display:flex;justify-content:space-between;font-size:13px;gap:12px}
.shop-stock .bar{height:6px;background:var(--paper-3)}
.shop-stock .bar i{display:block;height:6px;background:var(--gold)}
.shop-label{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);margin-bottom:12px;padding:0}
.shop-block{border-top:1px solid var(--rule);padding-top:20px}
.shop-swatch{display:flex;align-items:center;gap:14px;font-size:15px}
.shop-swatch i{width:34px;height:34px;border-radius:50%;background:#BA6B57;box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink);flex:0 0 auto}
.shop-swatch small{color:var(--sub);font-size:15px}
.shop-seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.shop-seg button{font:inherit;cursor:pointer;min-height:48px;font-size:15px;font-weight:700;color:var(--ink);background:transparent;border:1px solid var(--ink)}
.shop-seg button[aria-checked="true"]{background:var(--ink);color:var(--paper)}
.shop fieldset{border:0;margin:0;padding:0;min-width:0}
.shop-opts{display:flex;flex-direction:column;gap:10px}
.shop-opt{text-align:left;font:inherit;color:inherit;cursor:pointer;display:flex;gap:14px;align-items:flex-start;padding:16px 18px;background:transparent;border:1px solid var(--rule-2);width:100%}
.shop-opt[aria-checked="true"]{background:var(--white);border-color:var(--ink)}
.shop-opt.dashed{border:1px dashed #A8741F}
.shop-opt.dashed[aria-checked="true"]{background:var(--white)}
.shop-opt .mark{flex:0 0 auto;width:20px;height:20px;border:1.5px solid var(--ink);display:flex;align-items:center;justify-content:center;margin-top:2px}
.shop-opt[role="radio"] .mark{border-radius:50%}
.shop-opt[role="radio"] .mark::after{content:"";width:10px;height:10px;border-radius:50%}
.shop-opt[role="radio"][aria-checked="true"] .mark::after{background:var(--ink)}
.shop-opt[role="checkbox"][aria-checked="true"] .mark{background:var(--ink)}
.shop-opt[role="checkbox"][aria-checked="true"] .mark::after{content:"";width:5px;height:10px;border:solid var(--paper);border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.shop-opt .txt{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.shop-opt .top{display:flex;justify-content:space-between;gap:12px;font-weight:700;font-size:15px;color:var(--ink)}
.shop-opt .top span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.shop-opt .desc{font-size:14px;line-height:1.5;color:var(--sub)}
.shop-cta-row{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap}
.qty{display:flex;align-items:center;border:1px solid var(--rule-2)}
.qty button{width:46px;height:54px;background:transparent;border:0;font-size:20px;cursor:pointer;color:var(--ink)}
.qty button:disabled{color:#B7AE9F;cursor:default}
.qty output{width:32px;text-align:center;font-size:16px;font-variant-numeric:tabular-nums;color:var(--ink)}
.shop-cta{flex:1 1 220px;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--gold);color:#1F2628;border:0;font:inherit;font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;min-height:54px;padding:0 20px;cursor:pointer;text-decoration:none;transition:background .25s}
.shop-cta:hover{background:#D9A75A}
.shop-cta:disabled{background:#E3D8C4;color:#6B6355;cursor:not-allowed}
.shop-paynote{font-size:13px;color:var(--sub);text-align:center}
.shop-delivery{background:var(--paper-2);padding:20px;display:flex;flex-direction:column;gap:14px}
.shop-delivery .head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--ink)}
.shop-delivery .head span{color:var(--sub)}
.shop-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;font-size:12px;line-height:1.4}
.shop-steps li{display:flex;flex-direction:column;gap:6px}
.shop-steps li::before{content:"";height:3px;background:#D9C7A8}
.shop-steps li.done::before{background:var(--gold)}
.shop-steps b{color:var(--ink)}
.shop-steps span{color:var(--sub)}
.shop-delivery p{font-size:13px;color:var(--sub);line-height:1.55}
.shop-trust{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;font-size:14px;line-height:1.45}
.shop-trust li{display:flex;gap:10px}
.shop-trust svg{flex:0 0 auto}

/* dark band */
.shop-band{background:var(--charcoal);color:var(--cream);padding:96px var(--pad-x)}
.shop-band-in{max-width:1320px;margin:0 auto;display:flex;flex-wrap:wrap;gap:56px}
.shop-band-in>div{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:24px}
.shop-band h2{font-family:var(--display);font-weight:400;font-size:32px;line-height:1.2}
.shop-band h2 em{color:var(--gold-bright)}
.shop-box{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line)}
.shop-box li{background:var(--charcoal);padding:22px 20px;display:flex;flex-direction:column;gap:6px}
.shop-box b{font-size:16px}
.shop-box span{font-size:14px;color:var(--cream-muted)}
.shop-spec{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);font-size:14px;line-height:1.5}
.shop-spec dt,.shop-spec dd{padding:12px 0;border-bottom:1px solid var(--line);margin:0}
.shop-spec dt{color:var(--cream-muted)}

/* FAQ */
.shop-faq{max-width:860px;margin:0 auto;padding:96px var(--pad-x);display:flex;flex-direction:column;gap:28px}
.shop-faq h2{text-align:center;font-family:var(--display);font-weight:400;font-size:32px;color:var(--ink)}
.shop-faq .list{border-top:1px solid var(--rule)}
.shop-faq details{border-bottom:1px solid var(--rule);padding:20px 0}
.shop-faq summary{font-family:var(--display);font-size:18px;color:var(--ink);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.shop-faq summary::-webkit-details-marker{display:none}
.shop-faq summary::after{content:"+";color:#A8741F;font-family:var(--body);font-size:22px;line-height:1}
.shop-faq details[open] summary::after{content:"–"}
.shop-faq details p{margin-top:12px;font-size:15px;line-height:1.65;max-width:62ch}

/* nav cart */
.nav-cart{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;color:#F7F2EB;background:transparent;border:0;cursor:pointer}
.nav-cart .count{position:absolute;top:4px;right:2px;min-width:18px;height:18px;border-radius:9px;background:#BF5F49;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px}
.nav-cart .count[hidden]{display:none}
.nav-preorder{padding:10px 18px;background:#C98B2C;color:#1F2628;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;text-decoration:none;font-weight:700;min-height:40px;display:inline-flex;align-items:center;white-space:nowrap}
.nav-preorder:hover{background:#D9A75A}

/* cart drawer */
.cart-overlay{position:fixed;inset:0;z-index:2100;background:rgba(31,38,40,.62);display:flex;justify-content:flex-end}
.cart-drawer{width:min(480px,100%);height:100%;background:#FAF5EC;color:#3F4D51;display:flex;flex-direction:column;box-shadow:-24px 0 60px rgba(0,0,0,.25);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);animation:cartIn .32s cubic-bezier(.2,.7,.2,1)}
@keyframes cartIn{from{transform:translateX(40px);opacity:.4}to{transform:none;opacity:1}}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--rule)}
.cart-head h2{font-family:var(--display);font-weight:400;font-size:22px;color:var(--ink)}
.cart-head h2 small{color:var(--sub);font-size:16px}
.cart-x{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;color:var(--ink);cursor:pointer}
.cart-body{flex:1;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:20px}
.cart-line{display:flex;gap:16px}
.cart-line img{width:96px;height:120px;object-fit:cover;background:var(--paper-2);flex:0 0 auto}
.cart-line .info{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--sub)}
.cart-line .info .name{display:flex;justify-content:space-between;gap:12px;font-size:16px;color:var(--ink);font-weight:700}
.cart-line .info .name span{font-variant-numeric:tabular-nums}
.cart-line .controls{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.cart-line .qty button{width:40px;height:44px;font-size:18px}
.cart-line .qty output{width:26px}
.cart-remove{background:transparent;border:0;font:inherit;font-size:13px;color:var(--sub);text-decoration:underline;cursor:pointer;min-height:44px}
.cart-empty{text-align:center;padding:48px 8px;display:flex;flex-direction:column;gap:16px;align-items:center;color:var(--sub)}
.cart-empty b{font-family:var(--display);font-weight:400;font-size:20px;color:var(--ink)}
.cart-note{background:var(--paper-2);padding:16px;font-size:13px;line-height:1.55;display:flex;gap:12px}
.cart-foot{border-top:1px solid var(--rule);padding:20px 24px 24px;display:flex;flex-direction:column;gap:12px}
.cart-sum{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;font-size:14px}
.cart-sum dt,.cart-sum dd{margin:0}
.cart-sum dd{font-variant-numeric:tabular-nums;text-align:right}
.cart-sum .muted{color:var(--sub)}
.cart-sum .total{font-weight:700;font-size:16px;color:var(--ink)}
.cart-err{background:#F6E3DD;color:#7A3526;font-size:14px;line-height:1.5;padding:12px 14px}
.spin{width:16px;height:16px;border:2px solid rgba(31,38,40,.3);border-top-color:#1F2628;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* confirmation */
.conf-hero{background:var(--charcoal);color:var(--cream);padding:72px var(--pad-x) 88px}
.conf-in{max-width:1240px;margin:0 auto;display:flex;flex-direction:column;gap:56px}
.conf-top{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-end;justify-content:space-between}
.conf-top>div:first-child{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:18px}
.conf-top h1{font-family:var(--display);font-weight:400;font-size:clamp(32px,4vw,46px);line-height:1.12}
.conf-top h1 em{color:var(--gold-bright)}
.conf-top p{font-size:17px;line-height:1.6;max-width:36em;color:var(--cream-muted)}
.conf-top p b{color:var(--cream)}
.conf-card{flex:1 1 320px;min-width:0;border:1px solid var(--line-strong);padding:22px;display:flex;flex-direction:column;gap:12px;font-size:14px}
.conf-card .r{display:flex;justify-content:space-between;gap:12px}
.conf-card .r span:first-child{color:var(--cream-muted)}
.conf-card .r b{font-variant-numeric:tabular-nums;text-align:right}
.conf-track{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.conf-track li{display:flex;flex-direction:column;gap:10px;padding-right:20px}
.conf-track .dot{display:flex;align-items:center}
.conf-track .dot::before{content:"";width:14px;height:14px;border-radius:50%;border:2px solid rgba(247,242,235,.4);box-sizing:border-box;flex:0 0 auto}
.conf-track .dot::after{content:"";flex:1;height:2px;background:rgba(247,242,235,.22)}
.conf-track li:last-child .dot::after{display:none}
.conf-track li.done .dot::before{background:var(--gold);border-color:var(--gold)}
.conf-track li.done .dot::after{background:var(--gold)}
.conf-track li.next .dot::before{border-color:var(--gold)}
.conf-track b{font-size:15px}
.conf-track span{font-size:13px;color:var(--cream-muted)}
.conf-more{max-width:1240px;margin:0 auto;padding:88px var(--pad-x);display:flex;flex-direction:column;gap:32px}
.conf-more h2{font-family:var(--display);font-weight:400;font-size:30px;color:var(--ink)}
.conf-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.conf-cards>div{background:var(--white);border:1px solid var(--rule);padding:28px;display:flex;flex-direction:column;gap:14px}
.conf-cards h3{font-family:var(--display);font-weight:400;font-size:21px;color:var(--ink)}
.conf-cards p{font-size:14px;line-height:1.55}
.conf-cards .k{font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:#A8741F}
.conf-day{display:flex;flex-direction:column;gap:10px}
.conf-day label{font-size:13px;font-weight:700;color:var(--ink)}
.conf-day input{font:inherit;font-size:16px;color:var(--ink);background:var(--white);border:1px solid var(--rule-2);padding:12px 14px;min-height:48px;border-radius:0}
.conf-day input:focus{outline:2px solid var(--gold);outline-offset:0}
.conf-day .shop-cta{flex:0 0 auto}
.conf-thanks{background:var(--paper-2);padding:14px 16px;font-size:14px}
.conf-state{max-width:640px;margin:0 auto;padding:120px var(--pad-x);text-align:center;display:flex;flex-direction:column;gap:18px;align-items:center}
.conf-state h1{font-family:var(--display);font-weight:400;font-size:34px;color:var(--ink)}
.conf-state p{font-size:16px;line-height:1.6}

/* phone: sticky buy bar */
.shop-sticky{display:none}
@media (max-width:820px){
  .shop-sticky{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:150;align-items:center;gap:12px;background:#FAF5EC;border-top:1px solid rgba(63,77,81,.16);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 24px rgba(31,38,40,.08);transition:transform .3s}
  .shop-sticky.away{transform:translateY(110%)}
  .shop-sticky .p{display:flex;flex-direction:column;font-size:12px;color:#5A686C;line-height:1.3}
  .shop-sticky .p b{font-family:var(--display);font-weight:400;font-size:20px;color:#2C3538}
  .shop-sticky .shop-cta{min-height:50px;font-size:12px;letter-spacing:.16em}
  body:has(.shop-sticky) footer{padding-bottom:110px}
  .shop-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shop-facts>div{padding:14px 10px}
  .shop-facts b{font-size:17px}
  .shop-facts span{font-size:12px}
}
@media (max-width:560px){
  #nav{gap:12px}
  .nav-right{gap:8px}
  .nav-cart{display:none}
}
@media (max-width:820px){
  .shop-wrap{padding-top:20px}
  .shop-title,.shop-price .now{font-size:32px}
  .shop-thumbs{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
  .shop-facts{grid-template-columns:1fr}
  .shop-trust,.shop-box{grid-template-columns:1fr}
  .shop-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px}
  .shop-band,.shop-faq{padding-top:64px;padding-bottom:64px}
  .nav-preorder{display:none}
}
@media (prefers-reduced-motion:reduce){.cart-drawer{animation:none}.spin{animation-duration:2s}}
