/* Aeris shared theme: ivory surfaces, forest structure, copper actions. */
:root,body,body.ar-redesign{
 --paper:#f7f5ef;--paper-2:#eeeee5;--paper-lift:#fffefa;--white:#fffefa;
 --green:#172c25;--forest:#172c25;--espresso:#172c25;--espresso-2:#203a30;--ink:#172c25;
 --mute:#58645b;--muted:#58645b;--mute-dark:#d7ded3;
 --copper:#b64222;--rust-ink:#b64222;--rust:#b64222;--rust-dark:#efa786;
 --light:#eeeee5;--line:#d8dcd3;--line-2:#aab5a8;
 --serif:Georgia,'Times New Roman',serif;
 --sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 color:var(--ink);background:var(--paper);font-family:var(--sans);
}
body h1,body h2,body h3,body .lot-name{font-family:var(--serif);font-weight:400;letter-spacing:-.035em}
body :is(button,input,select,textarea){font-family:var(--sans)}
body :is(select,.dd-trigger,.learn-select){background:var(--paper-lift);color:var(--ink);border:1px solid var(--line-2);border-radius:0;min-height:44px;font-size:16px}
body :is(select option,.dd-menu,.dd-list,[role=listbox]){background:var(--paper-lift);color:var(--ink)}
body :is(.dd-option,[role=option]){min-height:44px}
body :is(.dd-option,[role=option]):is(:hover,[aria-selected=true]){background:var(--light);color:var(--copper)}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--copper);outline-offset:3px}
body :is(.stamp,.button,.quick-add,.chip,.learn-chip span,.pdp-chip){border-radius:0!important}
body .stamp{font-family:var(--sans);text-transform:none;letter-spacing:0;box-shadow:none}
body .ar-theme-nav{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
body .ar-theme-nav>li{list-style:none;margin:0;padding:0}
body .ar-theme-nav>li>a,body .ar-theme-nav>li>details>summary{font:400 14px/1.4 var(--sans);min-height:44px;display:flex;align-items:center;color:var(--ink)}
body .ar-theme-nav a[aria-current=page]{color:var(--copper)}
body :is(.ar-shop-menu,.coffee-guides-menu){position:relative}
body :is(.ar-shop-menu,.coffee-guides-menu)>summary{cursor:pointer;list-style:none;gap:7px;border-bottom:2px solid transparent}
body :is(.ar-shop-menu,.coffee-guides-menu)>summary::-webkit-details-marker{display:none}
body :is(.ar-shop-menu,.coffee-guides-menu)[open]>summary{color:var(--copper);border-bottom-color:var(--copper)}
body :is(.ar-shop-links,.coffee-guides-links){position:absolute;top:100%;left:0;min-width:220px;max-width:calc(100vw - 40px);padding:8px;background:var(--paper-lift);border:1px solid var(--line);box-shadow:0 12px 24px #172c2514;z-index:140}
body details:not([open])>:is(.ar-shop-links,.coffee-guides-links){display:none!important}
body details[open]>:is(.ar-shop-links,.coffee-guides-links){display:flex;flex-direction:column;gap:0}
body header nav details :is(.ar-shop-links,.coffee-guides-links)>a{display:flex;align-items:center;min-height:44px;padding:12px 14px;margin:0;border:0;font:400 14px/1.4 var(--sans);white-space:normal}
body details :is(.ar-shop-links,.coffee-guides-links)>a:is(:hover,:focus-visible){background:var(--light);color:var(--copper)}
body.ar-redesign .lot-grid{gap:36px 26px!important}
body.ar-redesign .lot-tile{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.ar-redesign .lot-tile .lot-hit{display:flex;flex-direction:column;height:100%}
body.ar-redesign .lot-tile .lot-media{aspect-ratio:1/1.1!important;overflow:hidden;background:var(--green)!important}
body.ar-redesign .lot-tile .lot-img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
body.ar-redesign .lot-tile .lot-body{display:flex!important;flex-direction:column;flex:1;padding:16px 0 0!important;gap:0!important}
body.ar-redesign .lot-tile .lot-origin{font:400 11px/1.6 var(--sans)!important;letter-spacing:.06em!important;color:var(--muted)!important;min-height:36px}
body.ar-redesign .lot-tile .lot-name{font-size:26px!important;line-height:1.15!important;margin-top:6px}
body.ar-redesign .lot-tile .lot-notes{display:flex!important;flex-wrap:wrap;align-content:start;gap:6px;margin:12px 0 18px!important;min-height:52px;line-height:1.5}
body :is(.pdp-chip,.product-notes>span){background:var(--light)!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:0!important;padding:3px 7px;font:400 12px/1.4 var(--sans)}
body .product-notes{display:flex;flex-wrap:wrap;gap:6px}
body.ar-redesign .lot-tile .lot-price-row{margin-top:auto!important;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:14px!important}
body.ar-redesign .lot-tile .lot-open-hint{font:600 12px/1.4 var(--sans)!important;color:var(--copper)!important;letter-spacing:0!important;text-transform:none!important;border:0!important;padding:8px 0!important}
body.ar-redesign .lot-tile .lot-price{font:400 13px/1.5 var(--sans)!important}
body.ar-redesign .lot-tile .lot-price-alt{font:400 11px/1.5 var(--sans);color:var(--muted)}
body .pview-sheet{background:var(--paper);border-radius:0!important}
body .pview{z-index:300!important}
body .pview-sheet{max-height:calc(100dvh - 32px)!important}
body .pview-scroll{min-height:0;overflow:auto}
body .pview-actions-row{background:var(--paper)!important;border-color:var(--line)!important}
body footer :is(.foot-grid,.footer-grid){display:grid;grid-template-columns:1.35fr 1fr 1fr 1.2fr;gap:32px}
body footer :is(h2,h3){font:600 13px/1.5 var(--sans);letter-spacing:.02em;color:var(--paper)}
body footer :is(p,address,li,a){font-size:13px;line-height:1.7}
body footer :is(ul){list-style:none;padding:0}
body footer :is(.foot-bottom,.footer-bottom){font-size:12px}
body footer .foot-bottom a{display:inline}
@media(min-width:901px) and (max-width:1120px){
 body .ar-theme-nav{gap:14px}body .ar-theme-nav>li>a,body .ar-theme-nav>li>details>summary{font-size:12px}
 .site-header .header-inner nav{gap:14px;margin-left:16px}
}
@media(max-width:900px){
 body :is(.site-header .header-inner>nav,header.head nav.nav){display:none!important}
 body .site-header .menu-toggle{display:flex}
 body :is(.mobile-menu,nav[aria-label=Mobile]) .ar-theme-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%}
 body :is(.mobile-menu,nav[aria-label=Mobile]) .ar-theme-nav>li>a{padding:12px 0}
 body :is(.mobile-menu,nav[aria-label=Mobile]) details>summary{padding:12px 0!important;min-height:48px}
 body :is(.mobile-menu,nav[aria-label=Mobile]) :is(.ar-shop-links,.coffee-guides-links){position:static;min-width:0;max-width:none;margin:0 0 10px 10px;border:0;border-left:1px solid var(--line);box-shadow:none}
 body :is(.mobile-menu,nav[aria-label=Mobile]) details a{display:flex;padding:12px;min-height:44px}
}
@media(max-width:767px){
 body.ar-redesign .lot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 16px!important}
 body.ar-redesign .lot-tile .lot-name{font-size:22px!important}
 body.ar-redesign .lot-tile .lot-origin{font-size:10px!important;min-height:48px}
 body.ar-redesign .lot-tile .lot-price-row{flex-wrap:wrap;gap:4px}
 body .pview{padding:0!important}
 body .pview-sheet{height:100dvh!important;max-height:100dvh!important}
 body footer :is(.foot-grid,.footer-grid){grid-template-columns:1fr 1fr;gap:28px}
 body footer :is(.foot-brand,.footer-brand){grid-column:1/-1}
}
@media(max-width:389px){body.ar-redesign .lot-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){body *,body *::before,body *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Keep product facts subordinate to the coffee title and actions on one row. */
body .pdp-glance{border-radius:0!important}
body .pdp-glance h2{font:400 22px/1.3 var(--serif)!important;letter-spacing:-.02em;margin-bottom:16px}
body .pview-sheet .pview-actions-row{display:grid!important;grid-template-columns:minmax(65px,1fr) auto minmax(118px,1.2fr);gap:8px!important;align-items:center;padding:12px!important}
body .pview-sheet .pview-actions-row .tile-qty{display:flex!important;align-items:center;width:auto!important;margin:0!important}
body .pview-sheet .pview-actions-row .qty-btn{width:28px!important;min-width:28px!important;height:44px;padding:0!important}
body .pview-sheet .pview-actions-row input{width:30px!important;min-width:0!important;padding:0!important;font-size:16px}
body .pview-sheet .pview-actions-row [data-pview-add]{width:100%!important;min-width:0!important;min-height:46px;padding:8px!important;margin:0!important;font-size:13px!important}
body .pview-action-price{font-size:12px;line-height:1.4}

/* Purchase controls sit outside the scrolling coffee details. */
body .pview-sheet{overflow:clip!important}
body .pview-sheet .pview-scroll{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
body .pview-sheet .pview-body{height:100%;min-height:0;overflow-y:auto!important}
body .pview-sheet>.pview-actions-row{position:relative!important;inset:auto!important;flex:0 0 auto!important;width:50%!important;margin:0 0 0 auto!important;border-top:1px solid var(--line);z-index:2}
@media(max-width:767px){
 body .pview-sheet .pview-scroll{overflow-y:auto!important}
 body .pview-sheet .pview-body{height:auto;overflow:visible!important}
 body .pview-sheet>.pview-actions-row{width:100%!important}
}

body.ar-redesign .pview.is-on .pview-sheet{overflow:clip!important;overflow-x:clip!important;overflow-y:clip!important}
body.ar-redesign .pview.is-on .pview-scroll{grid-template-rows:minmax(0,1fr)!important}
body.ar-redesign .pview.is-on .pview-body{min-height:0!important;max-height:100%!important;overflow-y:auto!important}

/* Phone layouts: readable cards, 44px controls, one scrolling product panel. */
@media(max-width:900px){
 body .site-header .header-actions{gap:6px}
 body .site-header .header-actions :is(.icon-button,.cart-open){min-width:44px;min-height:44px}
 body .site-header .header-inner{gap:12px}
 body :is(.mobile-menu,nav[aria-label="Mobile"]){overscroll-behavior:contain}
 body .mobile-menu{max-height:calc(100dvh - 104px);padding-bottom:max(20px,env(safe-area-inset-bottom))}
 body :is(.mobile-menu,nav[aria-label="Mobile"]) .ar-theme-nav>li>a,
 body :is(.mobile-menu,nav[aria-label="Mobile"]) details>summary{font-size:16px}
 body :is(.mobile-menu,nav[aria-label="Mobile"]) details a{font-size:15px}
}
@media(max-width:767px){
 body :is(input:not([type=checkbox]):not([type=radio]),select,textarea,
 .learn-chooser-selects select,.cart-options select,.cart-select-trigger){font-size:16px!important}
 body :is(.quick-add,.learn-chooser-filters button,.learn-chooser-summary button,.learn-chooser-empty button){min-height:44px}
 body .product-buy{gap:12px}
 body .filters{justify-content:flex-start;flex-wrap:wrap}
 body.ar-redesign .chip{min-height:44px!important}
 body .chocolate-buy{flex-wrap:wrap}
 body.ar-redesign .pview.is-on .pview-sheet{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important}
 body.ar-redesign .pview.is-on .pview-scroll{display:block!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;grid-template-rows:none!important}
 body.ar-redesign .pview.is-on .pview-body{height:auto!important;max-height:none!important;overflow:visible!important}
 body.ar-redesign .pview.is-on .pview-photo{height:clamp(190px,32dvh,280px)!important;min-height:0!important;max-height:280px!important}
 body.ar-redesign .pview.is-on .pview-photo-inner{height:100%!important;min-height:0!important}
 body.ar-redesign .pview.is-on .pview-photo img{height:100%!important;width:100%!important;object-fit:contain!important}
 body.ar-redesign .pview.is-on .pview-top{flex:0 0 auto!important;min-height:56px!important}
 body.ar-redesign .pview.is-on :is(.pview-close,.pview-prev,.pview-next){min-width:44px!important;min-height:44px!important}
 body.ar-redesign .pview.is-on .pview-sheet>.pview-actions-row{
 width:100%!important;grid-template-columns:minmax(62px,1fr) auto minmax(108px,1.2fr);
 padding:10px 12px max(10px,env(safe-area-inset-bottom))!important;
 }
 body.ar-redesign .pview.is-on .pview-actions-row .qty-btn{width:36px!important;min-width:36px!important;min-height:46px!important}
 body.ar-redesign .pview.is-on .pview-actions-row input{width:30px!important}
 body.ar-redesign .pview.is-on .pview-actions-row [data-pview-add]{font-size:13px!important;white-space:normal}
 body[data-cart-page] .cart-layout>.drawer-body.cart-items{padding:0!important;overflow:visible!important;max-height:none!important}
 body[data-cart-page] .cart-summary{position:static}
 body .cart-select-options{max-height:min(260px,40dvh);overscroll-behavior:contain}
 body footer :is(.foot-grid,.footer-grid) a{min-height:36px;display:inline-flex;align-items:center}
 body footer :is(.foot-grid,.footer-grid) :is(p,address,li,a){font-size:14px}
 body footer :is(.foot-bottom,.footer-bottom){flex-wrap:wrap;gap:14px}
}
@media(max-width:479px){
 body.ar-redesign .lot-grid,body.ar-redesign .shop-board .lot-grid,
 body .redesign-main .products,body .content-page .lot-grid{grid-template-columns:minmax(0,1fr)!important}
 body.ar-redesign .lot-tile .lot-media{aspect-ratio:1/1!important}
 body.ar-redesign .lot-tile .lot-name{font-size:28px!important}
 body.ar-redesign .lot-tile .lot-origin{min-height:0}
 body.ar-redesign .lot-tile .lot-notes{min-height:0}
 body .redesign-main .product-name h3{font-size:28px}
 body .hero-actions{flex-wrap:wrap;gap:16px}
 body .page-intro h1{font-size:clamp(36px,11vw,48px)}
 body .learn-chooser-selects{grid-template-columns:1fr 1fr}
 body .learn-chooser-selects label:last-child{grid-column:1/-1}
 body .learn-chooser-tools{max-height:42dvh;overflow:auto}
 body[data-cart-page] .cart-items .sheet-line{grid-template-columns:60px minmax(0,1fr);gap:10px 12px}
 body[data-cart-page] .cart-items .sheet-line>h4{grid-column:2;grid-row:1;font-size:19px;overflow-wrap:normal}
 body[data-cart-page] .cart-items .sheet-line>.cost{grid-column:2;grid-row:2;justify-self:start}
 body[data-cart-page] .cart-items .sheet-line>.meta{grid-column:2;grid-row:3}
 body[data-cart-page] .cart-items .sheet-line>img{grid-column:1;grid-row:1/4}
 body[data-cart-page] .cart-items .cart-options{grid-column:1/-1;grid-row:4}
 body[data-cart-page] .cart-items .cart-quantity{grid-column:1;grid-row:5}
 body[data-cart-page] .cart-items .sheet-line>.drop{grid-column:2;grid-row:5}
 body[data-cart-page] .cart-items .sheet-sublist{grid-column:1/-1;grid-row:4}
 body[data-cart-page] .cart-items .sheet-line:not(:has(>img))>h4{grid-column:1/-1}
 body[data-cart-page] .cart-items .sheet-line:not(:has(>img))>.cost{grid-column:1/-1}
 body[data-cart-page] .cart-items .sheet-line:not(:has(>img))>.meta{grid-column:1/-1}
 body[data-cart-page] .cart-items .cart-edit-flight{grid-column:1/-1;grid-row:6}
}
@media(max-width:350px){
 body.ar-redesign .pview.is-on .pview-sheet>.pview-actions-row{grid-template-columns:1fr auto;gap:8px!important}
 body.ar-redesign .pview.is-on .pview-actions-row [data-pview-add]{grid-column:1/-1}
 body .chocolate-hero h1{font-size:38px}
 body footer :is(.foot-grid,.footer-grid){grid-template-columns:1fr}
}

@media(max-width:767px){
 body.ar-redesign .pview.is-on .pview-photo{width:100%!important;max-width:none!important}
}
