/* The cart (cart.js fills it): the header's cart button and its hover ticket, Add to cart on product pages, and
   the cart page. Built on baker-feed.css and roadside.css. The order summary and the hover cart read like the
   counter's pick ticket: paper, a stitched line like the bag-size tag, a tear-off stub and a perforated edge. */

/* ---------------------------------------------------------------- the ticket (hover cart and order summary) */
/* The wrapper casts the outline and the solid shadow the design's cards use; the paper inside is cut by masks
   (notches for the stub, a perforated bottom edge), and drop-shadow follows the cut. */
.pick-ticket{filter:drop-shadow(0 0 .6px #c9b994) drop-shadow(0 6px 0 #e6dcc4)}
.ticket-paper{position:relative;background:var(--paper);padding:30px 28px 26px;border-radius:4px 20px 0 0;
  -webkit-mask:radial-gradient(11px at 0 100%,#0000 98%,#000) 0 0/51% 100% no-repeat,radial-gradient(11px at 100% 100%,#0000 98%,#000) 100% 0/51% 100% no-repeat;
  mask:radial-gradient(11px at 0 100%,#0000 98%,#000) 0 0/51% 100% no-repeat,radial-gradient(11px at 100% 100%,#0000 98%,#000) 100% 0/51% 100% no-repeat}
.ticket-paper:before{content:"";position:absolute;left:16px;right:16px;top:11px;border-top:1px dashed #c8ad7a}
.ticket-stub{position:relative;background:var(--paper);padding:24px 28px 32px;
  background-image:linear-gradient(90deg,#d6c59f 55%,#0000 0);background-size:11px 2px;background-repeat:repeat-x;background-position:0 0;background-origin:padding-box;
  -webkit-mask:radial-gradient(11px at 0 0,#0000 98%,#000) 0 0/51% calc(100% - 8px) no-repeat,radial-gradient(11px at 100% 0,#0000 98%,#000) 100% 0/51% calc(100% - 8px) no-repeat,radial-gradient(7px at 50% 100%,#0000 96%,#000) 50% 100%/17px 16px repeat-x;
  mask:radial-gradient(11px at 0 0,#0000 98%,#000) 0 0/51% calc(100% - 8px) no-repeat,radial-gradient(11px at 100% 0,#0000 98%,#000) 100% 0/51% calc(100% - 8px) no-repeat,radial-gradient(7px at 50% 100%,#0000 96%,#000) 50% 100%/17px 16px repeat-x}
.ticket-stub>*{position:relative}
/* A ticket with no stub after it: a perforated bottom edge. */
.ticket-paper:last-child{border-radius:4px 20px 0 0;padding-bottom:34px;
  -webkit-mask:linear-gradient(#000 0 0) 0 0/100% calc(100% - 8px) no-repeat,radial-gradient(7px at 50% 100%,#0000 96%,#000) 50% 100%/17px 16px repeat-x;
  mask:linear-gradient(#000 0 0) 0 0/100% calc(100% - 8px) no-repeat,radial-gradient(7px at 50% 100%,#0000 96%,#000) 50% 100%/17px 16px repeat-x}

/* The pickup promise: the clock and the store's own words (GET checkout pickup_summary). */
.cart-pickup-line{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.5;font-weight:700;color:var(--green)}
.cart-pickup-line svg{width:17px;height:17px;margin-top:1px;color:var(--red)}
.cart-pickup-line:has([data-cart-pickup][hidden]){display:none}

/* A line's problem from the quote (sold out, not sold online, over the limit). */
.line-problem{display:flex;gap:8px;align-items:flex-start;margin-top:8px;padding:8px 11px;font-size:13px;line-height:1.45;font-weight:700;color:#7b2a1d;background:#f8e3d6;border-radius:6px 2px 6px 2px}
.line-problem:before{content:"!";flex:0 0 17px;height:17px;display:grid;place-items:center;font:700 11px/1 var(--sans);color:#fff8e6;background:var(--red);border-radius:50%;margin-top:1px}
.line-problem[hidden]{display:none}

/* ---------------------------------------------------------------- quantity stepper (product page and cart) */
.qty-stepper{display:inline-flex;align-items:stretch;height:48px;background:#fffaf0;border:1px solid #d5ccb4;border-radius:9px 3px 9px 3px;box-shadow:0 3px 0 #213e3210}
.qty-stepper button{width:44px;display:grid;place-items:center;background:none;color:var(--green);border-radius:8px 2px 8px 2px;transition:background .2s,color .2s}
.qty-stepper button svg{width:17px;height:17px;stroke-width:2}
.qty-stepper button:hover:not(:disabled){background:#efe3cf;color:var(--red)}
.qty-stepper button:disabled{color:#b8b4a4;cursor:default}
.qty-stepper button:focus-visible{outline:3px solid #bc621b;outline-offset:-3px}
.qty-stepper input{width:46px;border:0;border-inline:1px solid #e3d8bf;background:none;text-align:center;font:700 16px var(--sans);color:var(--green);-moz-appearance:textfield;appearance:textfield}
.qty-stepper input::-webkit-inner-spin-button,.qty-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.qty-stepper input:focus-visible{outline:3px solid #bc621b;outline-offset:-3px}

/* ---------------------------------------------------------------- header: the cart button */
.cart-menu{position:relative;display:flex}
.header-cart{position:relative;display:flex;align-items:center;gap:8px;padding:10px 13px;font-size:13px;font-weight:700;border-radius:5px;transition:background .2s,color .2s}
.header-cart svg{width:19px;height:19px}
.header-cart:hover,.cart-menu[data-open] .header-cart,.page-cart .header-cart{background:#efe3cf;color:var(--red)}
.cart-count{position:absolute;top:2px;left:25px;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;font:700 11px/1 var(--sans);color:#fff8e6;background:var(--red);border:2px solid #fbf6e9;border-radius:10px;font-variant-numeric:tabular-nums}
.cart-count[hidden]{display:none}
@media(prefers-reduced-motion:no-preference){
  .cart-menu[data-just-added] .cart-count{animation:cart-bump .5s cubic-bezier(.3,1.6,.5,1)}
  @keyframes cart-bump{40%{transform:scale(1.35)}}
}

/* ---------------------------------------------------------------- header: the hover ticket */
.cart-peek{position:absolute;top:calc(100% + 14px);right:-12px;z-index:45;width:min(392px,calc(100vw - 32px));
  visibility:hidden;opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .18s,transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s .22s}
.cart-menu[data-open] .cart-peek{visibility:visible;opacity:1;transform:none;pointer-events:auto;transition:opacity .18s,transform .22s cubic-bezier(.2,.8,.2,1)}
/* A bridge over the gap, so the pointer can travel from the button to the ticket. */
.cart-peek:before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
/* The tab the ticket hangs from, under the button. */
.cart-peek-tab{position:absolute;top:-7px;right:36px;width:16px;height:16px;background:var(--paper);transform:rotate(45deg);border-radius:3px 0 0 0}
/* On the cart page the page itself is the cart. */
.page-cart .cart-peek{display:none}
.cart-peek .ticket-paper{padding:24px 22px 32px}
.cart-peek-added{display:none;align-items:center;gap:8px;margin:-4px 0 14px;padding:8px 11px;font-size:13px;font-weight:700;color:#24563a;background:#e2efdc;border-radius:7px 2px 7px 2px}
.cart-peek-added svg{width:16px;height:16px}
.cart-menu[data-just-added] .cart-peek-added{display:flex}
.cart-peek-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e9dfc8}
.cart-peek-head h2{font-size:21px;line-height:1.2;letter-spacing:-.5px}
.cart-peek-head span{font-size:12.5px;font-weight:700;color:var(--muted)}
.peek-lines{list-style:none;margin:0;padding:0}
.peek-line{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:13px;align-items:center;padding:12px 0;border-bottom:1px dashed #e3d6b8}
.peek-photo{width:56px;height:56px;display:block;overflow:hidden;background:#fff;border:1px solid #e6dcc4;border-radius:3px 11px 3px 11px}
.peek-photo img{width:100%;height:100%;object-fit:cover}
.peek-line.no-photo .peek-photo{background:repeating-linear-gradient(135deg,#f6efdf 0 6px,#fffaf0 6px 12px)}
.peek-text{min-width:0}
.peek-text a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:700;line-height:1.35}
.peek-text a:hover{color:var(--red)}
.peek-meta{display:flex;flex-wrap:wrap;gap:2px 10px;margin-top:2px;font-size:12.5px;color:var(--muted)}
.peek-meta [data-line=variant][hidden]{display:none}
.peek-text .line-problem{margin-top:6px;padding:5px 8px;font-size:12px}
.peek-price{font:15px/1.2 var(--serif);white-space:nowrap}
.cart-peek-more{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:var(--red);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.cart-peek-more[hidden]{display:none}
.peek-sum{display:flex;align-items:baseline;justify-content:space-between;margin-top:14px}
.peek-sum dt{font-size:14px;font-weight:700}
.peek-sum dd{margin:0;font:24px/1 var(--serif);letter-spacing:-.6px}
.cart-peek .cart-pickup-line{margin-top:12px;font-size:12.5px}
.cart-peek-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.cart-peek-actions .button{width:100%;font-size:12.5px;min-height:46px}
.cart-peek-actions .button:only-child{grid-column:1/-1}
.cart-peek .ticket-note{margin-top:12px;font-size:12.5px;padding:8px 11px}
/* A checkout link that can't be used yet (empty, closed, under the minimum, a problem): it looks it, everywhere. */
.button[data-cart-go][aria-disabled=true]{background:#c9c2ae;border-color:#c9c2ae;color:#f8f3e6;box-shadow:0 4px 0 #ada58f;transform:none;cursor:not-allowed}
.peek-empty{display:none;text-align:center;padding:12px 6px 4px}
.peek-empty p{font:19px/1.3 var(--serif);letter-spacing:-.4px}
.peek-empty span{display:block;margin-top:6px;font-size:13px;color:var(--muted)}
.peek-empty .button{margin-top:16px;font-size:12.5px;min-height:44px}
.cart-peek [data-cart-state=empty] .peek-filled{display:none}
.cart-peek [data-cart-state=empty] .peek-empty{display:block}

/* ---------------------------------------------------------------- the product page: Add to cart */
.add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%;margin-top:24px}
.add-button{flex:1 1 220px;max-width:340px;min-height:50px;font-size:14px}
.add-button .add-done{display:none}
.add-to-cart[data-added] .add-button{background:#2c6a45;border-color:#2c6a45;box-shadow:0 4px 0 #1b4a2f}
.add-to-cart[data-added] .add-label{display:none}
.add-to-cart[data-added] .add-done{display:inline-flex;align-items:center;gap:10px}
.add-button:disabled{background:#c9c2ae;border-color:#c9c2ae;color:#f8f3e6;box-shadow:0 4px 0 #ada58f;transform:none;cursor:not-allowed}
.add-label{display:inline-flex;align-items:center;gap:10px}
.add-hint,.add-closed{flex-basis:100%;font-size:13.5px;font-weight:700;color:#7b2a1d}
.add-hint[hidden],.add-closed[hidden],.add-note[hidden]{display:none}
.add-note{flex-basis:100%;font-size:14px;line-height:1.5;color:#55634f}
.add-note a{font-weight:700;color:var(--green);text-decoration:underline;text-underline-offset:3px}
.add-hint:focus{outline:none}
.add-to-cart+.cart-pickup-line{margin-top:14px}
.add-to-cart~.product-actions{margin-top:18px}
.add-to-cart~.product-actions .button{min-height:44px;font-size:12px;padding:9px 15px}

/* ---------------------------------------------------------------- listings: Add to cart on the card */
/* One-size items get Add to cart, items with choices See choices. Both sit above the card's stretched link. */
.card-add,.card-choose{position:relative;z-index:2}
/* The action sits at the foot of the card, so a row's buttons line up whatever the names' lengths. */
.product-card:has(.card-add,.card-choose) .product-card-body{flex:1;display:flex;flex-direction:column;align-items:flex-start}
.product-card-body>.card-add,.product-card-body>.card-choose{margin-top:auto;padding-top:12px}
.card-add .button{min-height:40px;padding:8px 13px;font-size:12px;gap:8px}
.card-add .button svg{width:15px;height:15px}
.card-add .add-label,.card-add[data-added] .add-done{display:inline-flex;align-items:center;gap:8px}
.card-add .add-done,.card-add[data-added] .add-label{display:none}
.card-add[data-added] .button{background:#2c6a45;border-color:#2c6a45;color:#fff8e6;box-shadow:0 3px 0 #1b4a2f}
.card-add[data-closed]{display:none}
.card-choose{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:12.5px;font-weight:700;color:var(--red)}
.card-choose svg{width:14px;height:14px;transition:transform .2s}
.product-card:hover .card-choose svg{transform:translateX(3px)}

/* ---------------------------------------------------------------- the cart page */
.cart-page,.checkout-page{padding-block:clamp(40px,4.4vw,64px) clamp(72px,8vw,120px)}
.cart-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 32px;padding-bottom:clamp(26px,3vw,38px);border-bottom:1px solid #e3d8bf}
.cart-head h1{font-size:clamp(42px,4.6vw,70px);line-height:1.12;letter-spacing:-2.4px;margin-top:-.13em}
.cart-head p{font-size:16px;line-height:1.6;color:#55634f}
.cart-head p strong{color:var(--green)}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,420px);gap:clamp(36px,5vw,88px);align-items:start;margin-top:clamp(8px,1.4vw,18px)}
.cart-lines{list-style:none;margin:0;padding:0}
.cart-line{display:grid;grid-template-columns:clamp(84px,8vw,116px) minmax(0,1fr) auto minmax(96px,auto);grid-template-areas:"photo info qty total" "photo info remove remove";gap:8px clamp(18px,2vw,30px);align-items:start;padding-block:26px;border-bottom:1px solid #e3d8bf}
.cart-line-photo{grid-area:photo;display:block;aspect-ratio:1;overflow:hidden;background:#fff;border:1px solid #e3d8bf;border-radius:4px 16px 4px 16px;box-shadow:0 4px 0 #ebe1ca}
.cart-line-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.cart-line-photo:hover img{transform:scale(1.04)}
.cart-line.no-photo .cart-line-photo{background:repeating-linear-gradient(135deg,#f6efdf 0 7px,#fffaf0 7px 14px)}
.cart-line-info{grid-area:info;min-width:0;padding-top:2px}
.cart-line-name{font-size:clamp(19px,1.5vw,22px);line-height:1.3;letter-spacing:-.4px}
.cart-line-name a:hover{color:var(--red)}
.cart-line-variant{display:inline-block;margin-top:9px;padding:4px 10px;font-size:12.5px;font-weight:700;background:#efe6d2;border-radius:6px 2px 6px 2px}
.cart-line-variant[hidden]{display:none}
.cart-line-unit{margin-top:8px;font-size:14px;color:var(--muted)}
.cart-line .qty-stepper{grid-area:qty;justify-self:start}
.cart-line-total{grid-area:total;justify-self:end;padding-top:9px;font:clamp(20px,1.6vw,23px)/1.2 var(--serif);letter-spacing:-.5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.cart-line-remove{grid-area:remove;justify-self:start;display:inline-flex;align-items:center;gap:7px;margin-top:4px;padding:6px 8px 6px 4px;font-size:13px;font-weight:700;color:var(--muted);background:none;border-radius:4px;transition:color .2s,background .2s}
.cart-line-remove svg{width:16px;height:16px}
.cart-line-remove:hover{color:var(--red);background:#f6ead8}
.cart-line.is-problem .cart-line-photo{opacity:.6}
/* A removed line waits eight seconds with Undo, then goes. */
.cart-line.is-removed{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:18px;font-size:14.5px;color:var(--muted)}
.cart-line.is-removed strong{color:var(--green)}
.cart-undo{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;font-size:13px;font-weight:700;color:var(--green);background:#efe6d2;border-radius:7px 2px 7px 2px;transition:background .2s,color .2s}
.cart-undo svg{width:16px;height:16px}
.cart-undo:hover{background:var(--green);color:#fff8e6}
@media(prefers-reduced-motion:no-preference){
  .cart-line.is-removed{animation:cart-removed .3s ease-out}
  @keyframes cart-removed{from{opacity:0;transform:translateX(-10px)}}
}
.cart-back{display:inline-flex;align-items:center;gap:9px;margin-top:26px;font-size:14px;font-weight:700;padding:8px 2px}
.cart-back svg{width:17px;height:17px;transition:transform .2s}
.cart-back:hover{color:var(--red)}
.cart-back:hover svg{transform:translateX(-3px)}

/* The order summary ticket, beside the lines and with the page as it scrolls. */
.cart-ticket{position:sticky;top:calc(var(--header-h,150px) + 26px)}
.cart-ticket h2{font-size:clamp(25px,2vw,30px);line-height:1.2;letter-spacing:-.8px}
.ticket-sums{margin:18px 0 0}
.ticket-sums div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-block:9px;font-size:15px}
.ticket-sums dt span{margin-left:6px;font-size:13px;color:var(--muted)}
.ticket-sums dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.ticket-sums .ticket-total{margin-top:10px;padding-top:18px;border-top:2px solid var(--green)}
.ticket-total dt{font-size:16px;font-weight:700}
.ticket-total dd{font:clamp(32px,2.6vw,40px)/1 var(--serif);font-weight:400;letter-spacing:-1.2px}
.ticket-note{margin-top:14px;padding:10px 13px;font-size:13.5px;line-height:1.5;font-weight:700;color:#7b2a1d;background:#f8e3d6;border-radius:7px 2px 7px 2px}
.ticket-note[hidden]{display:none}
.ticket-go{width:100%;margin-top:22px;min-height:56px;font-size:15px}
.ticket-go[aria-disabled=true]{background:#c9c2ae;border-color:#c9c2ae;color:#f8f3e6;box-shadow:0 4px 0 #ada58f;transform:none;cursor:not-allowed}
.ticket-soon{margin-top:22px;font-size:14px;line-height:1.6;color:#55634f}
.ticket-soon+.button{width:100%;margin-top:14px}
.ticket-stub h3{font:700 14px/1.4 var(--sans);letter-spacing:0}
.ticket-stub .cart-pickup-line{margin-top:10px;font-weight:400;font-size:14px;color:#455646}
.ticket-stub address{margin-top:12px;font-style:normal;font-size:14px;line-height:1.6;color:#455646}
.ticket-stub address a{font-weight:700;color:var(--green);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ticket-pay{display:flex;align-items:center;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #ece2cc;font-size:14px;font-weight:700}
.ticket-pay svg{width:17px;height:17px;color:var(--red)}
.ticket-pay:has([data-cart-pay][hidden]){display:none}

/* Loading, empty and filled: the server draws all three; cart.js says which this browser's cart is. */
.cart-page[data-cart-state=loading] .cart-layout{visibility:hidden}
.cart-page[data-cart-state=loading] .cart-empty,.cart-page[data-cart-state=filled] .cart-empty{display:none}
.cart-page[data-cart-state=empty] .cart-layout,.cart-page[data-cart-state=empty] .cart-head p{display:none}
.cart-page[data-cart-state=empty] .cart-head{border-bottom:0;padding-bottom:0}

/* Empty: a blank order slip beside the way back to the shop. */
.cart-empty{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:clamp(32px,5vw,80px);margin-top:clamp(28px,3vw,40px);padding:clamp(28px,3.4vw,48px);background:#f4ecda;border-radius:4px 24px 4px 24px}
.cart-empty h2{font-size:clamp(28px,2.6vw,38px);line-height:1.2;letter-spacing:-1px}
.cart-empty p{font-size:15.5px;line-height:1.8;color:#55634f;margin-top:14px}
.cart-empty .empty-actions .button{font-size:13px}
.blank-slip{justify-self:center;width:min(100%,300px);transform:rotate(2.5deg)}
.blank-slip .ticket-paper{padding:34px 26px 40px}
.blank-slip-no{display:flex;justify-content:space-between;font-size:12px;font-weight:700;color:#9a8a66}
.blank-slip-rule{height:30px;border-bottom:1px solid #e3d6b8}
.blank-slip-rule:nth-child(3){position:relative}
.blank-slip-rule:nth-child(3):after{content:"";position:absolute;left:4px;bottom:6px;width:58%;height:2px;background:#c8ad7a;border-radius:2px;opacity:.55}
.blank-slip-total{display:flex;justify-content:space-between;margin-top:18px;font:15px var(--serif);color:#9a8a66}

/* Phones and tablets: the total and Check out stay at the bottom of the screen. */
.cart-bar{display:none}
/* Narrower lines: the name gets the whole width, the quantity and total go under it. */
@media(max-width:1180px){
  .cart-line{grid-template-columns:clamp(76px,9vw,100px) minmax(0,1fr) auto;grid-template-areas:"photo info info" "photo qty total" "photo remove remove";gap:10px 20px}
  .cart-line .qty-stepper{margin-top:6px}
  .cart-line-total{align-self:center;padding-top:6px}
}
@media(max-width:1000px){
  .cart-layout{grid-template-columns:1fr}
  .cart-ticket{position:static;max-width:560px}
}
@media(max-width:900px){
  .page-cart .mobile-actions,.page-checkout .mobile-actions{display:none}
  .cart-page[data-cart-state=filled]~.cart-bar{position:fixed;left:0;right:0;bottom:0;z-index:35;display:flex;align-items:center;gap:16px;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:var(--cream);border-top:1px solid #d8daca;box-shadow:0 -4px 20px #152c2318}
  .cart-bar p{display:flex;flex-direction:column;font-size:12px;font-weight:700;color:var(--muted);line-height:1.2}
  .cart-bar strong{font:22px/1.15 var(--serif);color:var(--green);letter-spacing:-.5px}
  .cart-bar .button{margin-left:auto;min-height:48px;font-size:13px;padding-inline:22px}
  .cart-bar .button[aria-disabled=true]{background:#c9c2ae;border-color:#c9c2ae;box-shadow:0 4px 0 #ada58f;transform:none}
  .page-cart main{padding-bottom:80px}
  .cart-empty{grid-template-columns:1fr}
  .blank-slip{display:none}
}
@media(max-width:600px){
  /* With a cart in the header the phone number leaves it: "Call the store" is in the bar along the bottom. */
  .header-inner:has(.cart-menu){grid-template-columns:1fr auto auto auto}
  .header-inner:has(.cart-menu) .header-phone{display:none}
  .cart-menu{grid-column:3;grid-row:1}
  .header-inner:has(.cart-menu) .menu-toggle{grid-column:4}
  .header-cart{padding:10px}
  .cart-count{left:22px;top:1px}
  .header-cart .header-cart-word{display:none}
  /* After an add the ticket drops in under the header, the width of the screen. */
  .cart-peek{position:fixed;top:calc(var(--header-h,140px) + 10px);left:12px;right:12px;width:auto}
  .cart-peek-tab{display:none}
  .cart-line{grid-template-columns:76px minmax(0,1fr) auto;gap:10px 16px;padding-block:22px}
  .cart-line .qty-stepper{height:44px}
  .cart-line-name{font-size:18px}
  .cart-head h1{letter-spacing:-1.6px}
  .ticket-paper,.ticket-stub{padding-inline:22px}
}
@media(max-width:1400px) and (min-width:601px){
  .header-cart .header-cart-word{display:none}
  .header-cart{padding:10px 11px}
}
@media(prefers-reduced-motion:reduce){
  .cart-peek,.cart-menu[data-open] .cart-peek{transition:none;transform:none}
  .cart-line-photo img{transition:none}
}


/* ---------------------------------------------------------------- checkout */
.checkout-error{margin:0 0 22px;padding:14px 16px;font-size:14.5px;line-height:1.55;font-weight:700;color:#7b2a1d;background:#f8e3d6;border-left:4px solid var(--red);border-radius:2px 8px 8px 2px}
.checkout-error[hidden]{display:none}
.checkout-error:focus{outline:none}
.checkout-step{margin:0;padding:30px 0 34px;border:0;border-bottom:1px solid #e3d8bf;min-width:0}
.checkout-step:first-child{padding-top:6px}
.checkout-step:last-child{border-bottom:0}
.checkout-step legend{float:left;width:100%;padding:0;margin:0 0 22px}
.step-title{display:flex;align-items:center;gap:14px;font:clamp(24px,2vw,28px)/1.2 var(--serif);letter-spacing:-.6px}
.checkout-step legend+*{clear:both}
.step-no{flex:0 0 36px;height:36px;display:grid;place-items:center;font:17px/1 var(--serif);letter-spacing:0;color:var(--green);border:1.5px solid var(--green);border-radius:50%}
.step-lead{font-size:14.5px;line-height:1.6;color:#55634f;margin:-8px 0 16px}
.step-lead[hidden]{display:none}
.checkout-account a{font-weight:700;color:var(--red);text-decoration:underline;text-underline-offset:3px}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.field{min-width:0}
.field[hidden]{display:none}
.field label{display:block;margin-bottom:7px;font-size:13.5px;font-weight:700}
.field-optional{margin-left:4px;font-weight:400;color:var(--muted)}
.field-optional[hidden]{display:none}
.field input,.field textarea{width:100%;min-height:52px;padding:13px 15px;font:16px/1.4 var(--sans);color:var(--green);background:#fffaf0;border:1px solid #cfc5ab;border-radius:9px 3px 9px 3px;transition:border-color .2s,box-shadow .2s}
.field textarea{resize:vertical;min-height:88px}
.field input:hover,.field textarea:hover{border-color:#a99c7c}
.field input:focus-visible,.field textarea:focus-visible{outline:3px solid #bc621b;outline-offset:2px;border-color:var(--green)}
.field input:user-invalid,.field textarea:user-invalid{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.field-help{margin-top:6px;font-size:12.5px;line-height:1.45;color:var(--muted)}
.checkout-step .field[data-checkout-field=note]{margin-top:22px}
.day-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.day-choice{position:relative}
.day-choice[hidden]{display:none}
.day-choice input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.day-choice>span{display:flex;flex-direction:column;min-height:74px;justify-content:center;padding:12px 16px;background:#fffaf0;border:1px solid #d5ccb4;border-radius:9px 3px 9px 3px;transition:border-color .2s,background .2s,box-shadow .2s}
.day-choice small{font-size:11.5px;font-weight:700;color:var(--red)}
.day-choice small[hidden]{display:none}
.day-choice strong{font-size:15px;line-height:1.3}
.day-choice span span{font-size:13px;color:var(--muted)}
.day-choice:hover>span{border-color:var(--green)}
.day-choice input:checked+span{background:var(--green);border-color:var(--green);color:#fff8e6;box-shadow:0 3px 0 #112b20}
.day-choice input:checked+span small{color:var(--gold)}
.day-choice input:checked+span span{color:#d4dccd}
.day-choice input:focus-visible+span{outline:3px solid #bc621b;outline-offset:3px}
.link-button{margin-top:12px;padding:6px 0;font-size:13.5px;font-weight:700;color:var(--red);background:none;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.link-button[hidden]{display:none}
.method-choices{display:grid;gap:10px}
.method-choice{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;background:#fffaf0;border:1px solid #d5ccb4;border-radius:9px 3px 9px 3px;cursor:pointer;transition:border-color .2s,background .2s}
.method-choice input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.method-dot{width:20px;height:20px;border:2px solid #b3a685;border-radius:50%;transition:border-color .2s,background .2s,box-shadow .2s}
.method-text{display:flex;flex-direction:column;gap:2px}
.method-text strong{font-size:15px}
.method-text span{font-size:13.5px;color:var(--muted)}
.method-text span[hidden]{display:none}
.method-test{display:none;padding:3px 9px;font-size:11.5px;font-weight:700;color:#5b4410;background:#f6dfa5;border-radius:999px}
.method-choice[data-test] .method-test{display:inline-block}
.method-choice:hover{border-color:var(--green)}
.method-choice:has(input:checked){border-color:var(--green);background:#f1f4e9;box-shadow:inset 0 0 0 1px var(--green)}
.method-choice:has(input:checked) .method-dot{border-color:var(--green);background:var(--green);box-shadow:inset 0 0 0 4px #f1f4e9}
.method-choice:has(input:focus-visible){outline:3px solid #bc621b;outline-offset:3px}
.method-choices[data-count="1"] .method-dot{display:none}
.method-choices[data-count="1"] .method-choice{grid-template-columns:minmax(0,1fr) auto}
.field-check{margin-top:18px}
.field-check[hidden]{display:none}
.field-check label{display:flex;align-items:flex-start;gap:11px;font-size:14.5px;line-height:1.5;cursor:pointer}
.field-check input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:var(--green)}
.checkout-policies{margin:10px 0 0 29px;font-size:13.5px;color:#55634f}
.checkout-policies[hidden]{display:none}
.checkout-policies summary{cursor:pointer;font-weight:700;color:var(--red)}
.checkout-policies p{margin-top:8px;white-space:pre-line;line-height:1.65}
.checkout-submit{width:100%;margin-top:26px;min-height:58px;font-size:15px}
.checkout-submit:disabled{opacity:.7;cursor:progress;transform:none}
.checkout-fine{display:none;margin-top:12px;font-size:13px;line-height:1.5;color:var(--muted);text-align:center}
.checkout-form[data-method=card] .checkout-fine[data-for=card],.checkout-form[data-method=in_person] .checkout-fine[data-for=in_person],.checkout-form[data-method=ach] .checkout-fine[data-for=ach]{display:block}
/* The store holds cards and charges at confirmation (D8): the held-card wording replaces the charge wording. */
.checkout-form[data-method=card][data-holds] .checkout-fine[data-for=card]{display:none}
.checkout-form[data-method=card][data-holds] .checkout-fine[data-for=card_hold]{display:block}
.pay-hold-note{display:none;margin-top:6px;font-size:14.5px;line-height:1.6;color:#55634f}
.checkout-page[data-holds] .pay-hold-note{display:block}
.checkout-page[data-checkout-state=placing] .checkout-submit [data-submit-text]:after{content:"\2026"}
.checkout-page[data-checkout-state=closed] .checkout-submit,.checkout-page[data-checkout-state=closed] .checkout-fine{display:none}

/* Paying: the order is placed and the store's own payment form is here. */
.checkout-paying{display:none}
.checkout-page[data-checkout-state=paying] .checkout-form,.checkout-page[data-checkout-state=confirming] .checkout-form{display:none}
.checkout-page[data-checkout-state=paying] .checkout-paying,.checkout-page[data-checkout-state=confirming] .checkout-paying{display:block}
.checkout-paying h2{font-size:clamp(28px,2.4vw,34px);line-height:1.2;letter-spacing:-.8px}
.checkout-recap{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px}
.checkout-recap div{display:flex;gap:7px;padding:7px 12px;font-size:13.5px;background:#efe6d2;border-radius:7px 2px 7px 2px}
.checkout-recap div[hidden]{display:none}
.checkout-recap dt{font-weight:700}
.checkout-recap dd{margin:0}
.pay-mount{min-height:120px;padding:clamp(20px,2.4vw,30px);background:#fffaf0;border:1px solid #d9cdb0;border-radius:4px 18px 4px 18px;box-shadow:0 5px 0 #ebe1ca;transition:opacity .2s}
.pay-mount .payment-test{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.pay-mount .payment-test p{flex-basis:100%;font-size:14px;font-weight:700;color:#5b4410}
.pay-mount .payment-test .button{min-height:44px;font-size:12.5px;padding:9px 15px;background:var(--paper);border-color:#cfc5ab}
.checkout-page[data-checkout-state=confirming] .pay-mount{opacity:.45;pointer-events:none}
/* The processor's own form (the Stripe adapter: .payment-form with .payment-fields, .payment-error and its Pay button). */
.pay-mount .payment-form{display:grid;gap:16px}
.pay-mount .payment-fields{min-height:150px}
.pay-mount .payment-error{margin:0;padding:10px 13px;font-size:14px;font-weight:700;line-height:1.5;color:#7b2a1d;background:#f8e3d6;border-radius:7px 2px 7px 2px}
.pay-mount .payment-error[hidden]{display:none}
.pay-mount .payment-form>.button{width:100%;min-height:56px;font-size:15px;color:#fff8e8;background:var(--red);border-color:var(--red);box-shadow:0 4px 0 var(--red-dark)}
.pay-mount .payment-form>.button:hover:not(:disabled){background:#aa3d2b;box-shadow:0 7px 0 var(--red-dark)}
.pay-mount .payment-form>.button:disabled{opacity:.6;cursor:progress;transform:none;box-shadow:0 4px 0 var(--red-dark)}
.pay-mount .payment-redirect{font-size:14.5px;line-height:1.6}
.pay-confirming{display:none;align-items:center;gap:10px;margin-top:16px;font-size:14px;font-weight:700}
.checkout-page[data-checkout-state=confirming] .pay-confirming{display:flex}
.pay-spinner{width:18px;height:18px;border:2.5px solid #d5ccb4;border-top-color:var(--green);border-radius:50%}
@media(prefers-reduced-motion:no-preference){.pay-spinner{animation:pay-spin .8s linear infinite}@keyframes pay-spin{to{transform:rotate(360deg)}}}
.checkout-paying .link-button{display:block;margin-top:16px}
.checkout-paying .link-button[hidden]{display:none}
.pay-secure{display:flex;align-items:flex-start;gap:9px;margin-top:20px;font-size:13px;line-height:1.5;color:var(--muted)}
.pay-secure svg{width:16px;height:16px;margin-top:1px;flex-shrink:0}

/* The order summary on checkout and the order page: the ticket, with compact lines. */
.summary-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.summary-head h2{font-size:clamp(24px,2vw,28px);line-height:1.2;letter-spacing:-.7px}
.summary-head a{font-size:13px;font-weight:700;color:var(--red);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.summary-lines{list-style:none;margin:14px 0 4px;padding:0}
.summary-line{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px 0;border-bottom:1px dashed #e3d6b8}
.summary-photo{position:relative;width:52px;height:52px;background:repeating-linear-gradient(135deg,#f6efdf 0 6px,#fffaf0 6px 12px);border:1px solid #e3d8bf;border-radius:3px 11px 3px 11px}
.summary-photo img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.summary-qty{position:absolute;top:-8px;right:-8px;min-width:21px;height:21px;padding:0 5px;display:grid;place-items:center;font:700 11px/1 var(--sans);color:#fff8e6;background:var(--green);border:2px solid var(--paper);border-radius:11px}
.summary-text{display:flex;flex-direction:column;min-width:0;font-size:14px;font-weight:700;line-height:1.35}
.summary-variant{font-size:12.5px;font-weight:400;color:var(--muted)}
.summary-variant[hidden]{display:none}
.summary-text .line-problem{margin-top:6px;padding:5px 8px;font-size:12px}
.summary-price{font:15px/1.2 var(--serif);white-space:nowrap}
.ticket-call{margin-top:12px;font-size:14px;color:#455646}
.ticket-call a{font-weight:700;color:var(--green)}
/* Paying an earlier order from its link: the order's own lines and totals stand in for the cart's. */
.checkout-page .summary-order,.checkout-page[data-from-order] .summary-cart{display:none}
.checkout-page[data-from-order] .summary-order{display:block}
.checkout-page[data-from-order] .ticket-sums.summary-order{display:block}
.checkout-page .summary-order .summary-line{grid-template-columns:auto minmax(0,1fr) auto}
.checkout-empty{display:none}
.checkout-page[data-checkout-state=empty] .checkout-layout{display:none}
.checkout-page[data-checkout-state=empty] .checkout-empty{display:grid;grid-template-columns:1fr}
.checkout-page[data-checkout-state=empty] .cart-head p{display:none}

/* ---------------------------------------------------------------- the order page */
.order-page{padding-block:clamp(40px,4.4vw,64px) clamp(72px,8vw,120px)}
.order-layout{margin-top:0}
.order-main h1{font-size:clamp(42px,4.6vw,70px);line-height:1.12;letter-spacing:-2.4px;margin-top:-.13em}
.order-message{margin-top:22px}
.order-message p{font-size:clamp(17px,1.4vw,19px);line-height:1.7;color:#3f5142}
.order-message strong{color:var(--green)}
.order-message a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.order-email{margin-top:12px;font-size:15px;color:var(--muted)}
.order-partial{margin-top:14px;padding:11px 14px;font-size:15px;line-height:1.6;color:#3f5142;background:#efe6d2;border-radius:7px 2px 7px 2px}
.order-partial[hidden],.ticket-charged[hidden]{display:none}
.ticket-sums .ticket-charged{margin-top:4px;color:#2c6a45}
.ticket-charged dd{font-size:16px}
.ticket-paid-with{margin-top:12px;font-size:13.5px;color:var(--muted)}
.ticket-paid-with[hidden]{display:none}
.order-email strong{color:var(--green)}
.order-main .empty-actions{margin-top:28px}
.order-steps{list-style:none;counter-reset:step;margin:clamp(36px,4vw,54px) 0 0;padding:28px 0 0;border-top:1px solid #e3d8bf;display:grid;gap:18px}
.order-steps li{counter-increment:step;display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;font-size:15px;line-height:1.6;color:#55634f}
.order-steps li:before{content:counter(step);width:36px;height:36px;display:grid;place-items:center;font:17px/1 var(--serif);color:var(--green);border:1.5px solid var(--green);border-radius:50%}
.order-steps strong{display:block;color:var(--green)}
.order-ticket .ticket-paper{padding-top:36px}
.order-ticket h2{font-size:clamp(25px,2vw,30px);line-height:1.2;letter-spacing:-.8px;padding-right:130px}
.order-test{display:none;margin-top:10px;padding:6px 11px;font-size:12.5px;font-weight:700;color:#5b4410;background:#f6dfa5;border-radius:7px 2px 7px 2px}
.order-page[data-order-test] .order-test{display:inline-block}
.order-ticket .summary-line{grid-template-columns:auto minmax(0,1fr) auto}
.summary-qty-text{font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap}
.order-ticket .ticket-stub h3 span{font-weight:400}
.order-ticket .ticket-stub .hours{margin-top:12px;font-size:13px}
/* The counter's rubber stamp for where the order stands. */
.order-stamp{position:absolute;top:24px;right:20px;z-index:1;padding:7px 13px 6px;font:700 17px/1 var(--serif);letter-spacing:.3px;color:var(--stamp,#2c6a45);border:2.5px solid currentColor;border-radius:6px;outline:1px solid currentColor;outline-offset:2px;transform:rotate(-7deg);opacity:.88;mix-blend-mode:multiply;white-space:nowrap}
.order-page[data-order-state=waiting] .order-stamp,.order-page[data-order-state=held] .order-stamp{--stamp:#9a6a14}
.order-page[data-order-state=unpaid] .order-stamp,.order-page[data-order-state=cancelled] .order-stamp,.order-page[data-order-state=bank_failed] .order-stamp{--stamp:var(--red)}
.order-page[data-order-state=pay_at_pickup] .order-stamp,.order-page[data-order-state=released] .order-stamp{--stamp:var(--green)}
@media(prefers-reduced-motion:no-preference){
  .order-page:not([data-order-state=loading]) .order-stamp{animation:stamp-down .45s cubic-bezier(.2,1.4,.4,1) .25s both}
  @keyframes stamp-down{from{opacity:0;transform:rotate(-12deg) scale(1.7)}}
}
.order-page:not([data-order-state=loading]) [data-show=loading],
.order-page:not([data-order-state=held]) [data-show=held],
.order-page:not([data-order-state=released]) [data-show=released],
.order-page:not([data-order-state=bank_failed]) [data-show=bank_failed],
.order-page:not([data-order-state=paid]) [data-show=paid],
.order-page:not([data-order-state=pay_at_pickup]) [data-show=pay_at_pickup],
.order-page:not([data-order-state=waiting]) [data-show=waiting],
.order-page:not([data-order-state=unpaid]) [data-show=unpaid],
.order-page:not([data-order-state=ready]) [data-show=ready],
.order-page:not([data-order-state=picked_up]) [data-show=picked_up],
.order-page:not([data-order-state=cancelled]) [data-show=cancelled],
.order-page:not([data-order-state=missing]) [data-show=missing],
.order-page[data-order-state=loading] [data-show=ok],
.order-page[data-order-state=missing] [data-show=ok]{display:none}

@media(max-width:600px){
  .field-grid{grid-template-columns:1fr}
  .day-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .step-title{font-size:23px}
  .order-ticket h2{padding-right:0;margin-top:34px}
}


/* ---------------------------------------------------------------- header: the account link */
.header-account{display:flex;align-items:center;gap:8px;padding:10px 13px;font-size:13px;font-weight:700;border-radius:5px;transition:background .2s,color .2s}
.header-account svg{width:19px;height:19px}
.header-account:hover,.header-account[aria-current]{background:#efe3cf;color:var(--red)}
@media(max-width:1400px){.header-account .header-account-word{display:none}.header-account{padding:10px 11px}}
@media(max-width:900px){.header-account{display:none}}

/* ---------------------------------------------------------------- the account page (account.js) */
/* The server draws every state; the page shows the one this visitor is in. */
[data-show-account]{display:none}
.account-page[data-account-state=loading] [data-show-account~=loading],
.account-page[data-account-state=verify] [data-show-account~=verify],
.account-page[data-account-state=signed-out] [data-show-account~=signed-out],
.account-page[data-account-state=reset-request] [data-show-account~=reset-request],
.account-page[data-account-state=reset] [data-show-account~=reset],
.account-page[data-account-state=sent] [data-show-account~=sent],
.account-page[data-account-state=reset-sent] [data-show-account~=reset-sent],
.account-page[data-account-state=signed-in] [data-show-account~=signed-in]{display:var(--show,block)}
.account-doors,.account-home{--show:grid}
.account-signed{display:none;font-size:15px;color:#55634f}
.account-page[data-account-state=signed-in] .account-signed{display:block}
.account-signed .link-button{margin:0 0 0 6px;padding:0}
.account-page{padding-block:clamp(40px,4.4vw,64px) clamp(72px,8vw,120px)}
.account-notice{margin-top:22px;padding:12px 15px;font-size:15px;font-weight:700;color:#24563a;background:#e2efdc;border-radius:7px 2px 7px 2px}
.account-notice[hidden]{display:none}
.account-working{margin-top:28px;font-size:15px;color:var(--muted)}
.account-lead{font-size:15px;line-height:1.7;color:#55634f;margin-top:10px}
.account-form{display:grid;gap:16px;margin-top:20px}
.account-form .checkout-error{margin:0}
.account-form .field-check{margin-top:0}
.account-form .link-button{justify-self:start;margin-top:0}
.account-submit{width:100%;min-height:54px;font-size:14px}
.account-door h2,.account-orders h2,.account-card h2{font-size:clamp(25px,2.1vw,30px);line-height:1.2;letter-spacing:-.8px}

/* Signed out: sign in on the left; making an account on paper on the right. */
.account-doors{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,80px);align-items:start;margin-top:clamp(28px,3vw,40px)}
.account-door-new{padding:clamp(24px,3vw,40px);background:#f4ecda;border-radius:4px 24px 4px 24px}
.account-perks{list-style:none;margin:16px 0 4px;padding:0;display:grid;gap:8px}
.account-perks li{display:flex;align-items:center;gap:12px;font-size:15px;color:#3f5142}
.account-perks li:before{content:"";flex:0 0 7px;height:7px;background:var(--gold);border-radius:1px;transform:rotate(45deg)}
.account-single{max-width:620px;margin-top:clamp(28px,3vw,40px)}
.account-sent .link-button{margin-top:16px}

/* Signed in: orders on the left, details and the tax exemption on the right. */
.account-home{grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:clamp(36px,5vw,88px);align-items:start;margin-top:clamp(24px,2.6vw,36px)}
.account-order-list{list-style:none;margin:18px 0 0;padding:0;border-top:1px solid #e3d8bf}
.account-order-link{display:grid;grid-template-columns:minmax(120px,auto) minmax(0,1fr) auto minmax(80px,auto);align-items:center;gap:8px 22px;padding:18px 4px;border-bottom:1px solid #e3d8bf;transition:background .2s}
.account-order-link:hover{background:#f4ecda}
.account-order-no{font:18px/1.3 var(--serif);letter-spacing:-.3px}
.account-order-dates{display:flex;flex-wrap:wrap;gap:2px 14px;font-size:13.5px;color:var(--muted)}
.account-order-pickup:has([data-field=pickup][hidden]){display:none}
.account-order-status{padding:4px 10px;font-size:12.5px;font-weight:700;background:#efe6d2;border-radius:6px 2px 6px 2px;white-space:nowrap}
.account-order[data-status=completed] .account-order-status{background:#e2efdc;color:#24563a}
.account-order[data-status=cancelled] .account-order-status{color:var(--muted)}
.account-order-total{justify-self:end;font:17px/1.2 var(--serif);white-space:nowrap}
.account-empty{margin-top:18px;font-size:15px;color:#55634f}
.account-empty a{font-weight:700;color:var(--red);text-decoration:underline;text-underline-offset:3px}
.account-empty[hidden]{display:none}
.account-side{display:grid;gap:28px}
.account-card{padding:clamp(22px,2.4vw,30px);background:var(--paper);border:1px solid #e0d6c0;border-radius:4px 20px 4px 20px;box-shadow:0 6px 0 #ebe1ca}
.account-card .field input,.account-card .field select{background:#fff}
.field select{width:100%;min-height:52px;padding:13px 15px;font:16px/1.4 var(--sans);color:var(--green);background:#fffaf0;border:1px solid #cfc5ab;border-radius:9px 3px 9px 3px}
.field select:focus-visible{outline:3px solid #bc621b;outline-offset:2px}
.account-save{display:flex;align-items:center;gap:14px}
.account-done{font-size:13.5px;font-weight:700;color:#24563a}
.account-done[hidden]{display:none}
.account-certs{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.account-cert{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:12px 14px;font-size:13.5px;background:#f6efdf;border-radius:7px 2px 7px 2px}
.account-cert-kind{font-weight:700}
.account-cert-number{justify-self:end;font-variant-numeric:tabular-nums}
.account-cert-status{color:#7a5a12;font-weight:700}
.account-cert[data-status=active] .account-cert-status{color:#24563a}
.account-cert-expires{justify-self:end;color:var(--muted)}
.account-add-cert{margin-top:16px}
.account-add-cert summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--red)}
.account-add-cert[open] summary{margin-bottom:4px}
@media(max-width:1000px){
  .account-home{grid-template-columns:1fr}
}
@media(max-width:760px){
  .account-doors{grid-template-columns:1fr}
  .account-order-link{grid-template-columns:minmax(0,1fr) auto;gap:6px 14px}
  .account-order-dates{grid-column:1/-1;order:3}
  .account-order-status{justify-self:start}
}


/* ---------------------------------------------------------------- pickup or delivery (D7) */
.way-choices{margin-bottom:18px}
.way-choices[hidden]{display:none}
.checkout-address{margin-top:24px;padding-top:22px;border-top:1px dashed #d9cba9}
.checkout-address[hidden]{display:none}
.checkout-address-title{font:clamp(19px,1.5vw,21px)/1.3 var(--serif);letter-spacing:-.3px;margin-bottom:14px}
.field-grid .field-wide{grid-column:1/-1}
.checkout-form[data-method=in_person_delivery] .checkout-fine[data-for=in_person_delivery]{display:block}
.ticket-stub .stub-delivery{display:none}
.checkout-page[data-way=delivery] .ticket-stub .stub-delivery{display:block}
.checkout-page[data-way=delivery] .ticket-stub .stub-pickup,.checkout-page[data-way=delivery] .ticket-stub address{display:none}
.stub-delivery .ticket-call{margin-top:8px}
.ticket-sums [data-cart-delivery-row][hidden],.ticket-sums [data-order-delivery-row][hidden]{display:none}
.ticket-pay:has([data-cart-delivery-offer][hidden]){display:none}
/* The order page says pickup or delivery to match the order. */
.order-page:not([data-order-way=delivery]) [data-way=delivery],.order-page[data-order-way=delivery] [data-way=pickup]{display:none}
.order-delivery-address{margin-top:10px;font-style:normal;font-size:14px;line-height:1.6;color:#455646}

/* The page's lead names delivery too when the store delivers (data-delivers from GET checkout). */
.lead-both{display:none}
[data-delivers] .lead-both{display:inline}
[data-delivers] .lead-pickup{display:none}

[data-checkout-zip-note]{font-size:13.5px;font-weight:700;color:var(--green)}
.checkout-credit{margin-top:4px;font-size:11.5px;color:var(--muted)}
.checkout-credit[hidden]{display:none}
.exempt-note{margin-top:14px;padding:10px 13px;font-size:13.5px;line-height:1.5;color:var(--green);background:#e8efe6;border-radius:7px 2px 7px 2px}
.exempt-note[hidden],.exempt-note [hidden]{display:none}
.exempt-note a{color:inherit;font-weight:700}
