/* Amore: compact supermarket layout, with original product photography. */
:root{--canvas:#f5f6f8;--border:#e2e5e9;--ink:#202a3a}
.home-category-section{padding:22px 0 12px}
.home-category-section h2{font-size:24px;color:var(--navy);margin:0 0 18px}
.home-category-cards{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.home-category-card{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0;background:white;border:1px solid var(--border);border-radius:6px;padding:18px 10px;color:var(--ink);text-align:center;transition:border-color .2s,box-shadow .2s}
.home-category-card:hover,.home-category-card.selected{border-color:var(--red);box-shadow:0 3px 12px #124F9E10}
.home-category-symbol{display:grid;place-items:center;width:58px;height:58px;background:#eef3fb;border-radius:50%;margin-bottom:4px}
.home-category-symbol img{width:30px;height:30px}
.home-category-card strong{font-size:14px;line-height:1.35;color:var(--navy)}
.home-category-description{font-size:12px;line-height:1.4;color:#56647a;min-height:34px}
.home-category-card small{margin-top:auto;font-size:12px;color:var(--red);font-weight:600}
@media(max-width:1000px){.home-category-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.home-category-section{padding:22px 0 8px}.home-category-section h2{font-size:22px}.home-category-cards{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 12px}.home-category-card{flex:0 0 150px;scroll-snap-align:start;padding:16px 10px}.home-category-card strong{font-size:14px}.home-category-description{min-height:34px}}
body{background:var(--canvas)}
.preview{padding:5px 20px;font-size:12px;background:var(--navy)}
.header-inner{max-width:1440px;padding:8px 32px;gap:34px}
.brand img{width:132px;height:76px}
.search{max-width:900px;margin:auto;border-radius:28px;background:#f6f7f9;padding:4px 5px 4px 20px}
.search input{height:40px}
.search-submit{border-radius:24px;padding:9px 24px}
.cart-button{border-radius:6px;min-width:86px;justify-content:center}
header nav{background:var(--navy);border:0}
.nav-inner{max-width:1440px;padding:0 28px}
.nav-categories{gap:0;justify-content:space-between;scrollbar-width:thin;scrollbar-color:#ffffff70 transparent}
.nav-categories button{color:white;padding:11px 12px;min-height:66px;gap:9px;border-bottom:3px solid transparent}
.nav-categories button:hover,.nav-categories button.active{background:#ffffff12;color:white;border-bottom-color:white}
.nav-category-icon{filter:brightness(0) invert(1);width:22px;height:22px}
.nav-category-copy strong{font-size:13px;color:inherit}
.nav-category-copy small{font-size:11px;color:#e2eafd}
main{max-width:1440px;padding:20px 32px 0}
.campaign{position:relative;border:0;border-radius:6px;background:white}
.campaign-content{min-height:0}
.campaign-slide{grid-template-columns:1fr 1fr;min-height:326px;background:var(--red);isolation:isolate}
.campaign-slide.navy{background:var(--navy)}.campaign-slide.blue{background:var(--navy)}
.campaign-copy{padding:32px 54px;max-width:650px}
.campaign-kicker{font-size:11px;letter-spacing:.16em;margin-bottom:14px}
.campaign h1{font-size:clamp(34px,3.8vw,52px);line-height:1.06;letter-spacing:-1.7px;margin:0 0 14px}
.campaign-copy>p{font-size:15px;line-height:1.5;max-width:340px;margin:0 0 20px}
.campaign-copy .light-button{border-radius:4px;padding:10px 18px;gap:22px}
.campaign-products{display:flex;align-items:center;justify-content:center;gap:12px;min-height:250px;height:auto;margin:22px 48px 22px 0;padding:26px 16px;background:white;border-radius:5px;transform:rotate(-2deg);box-shadow:0 14px 0 #0000000c}
.campaign-products:before,.campaign-products:after{display:none}
.hero-product,.hero-product-0,.hero-product-1,.hero-product-2{position:static;inset:auto;width:30%;height:196px;aspect-ratio:auto;border-radius:0;border:0;padding:5px;box-shadow:none;transform:rotate(2deg);display:flex;align-items:center;justify-content:center;background:white}
.hero-product:hover{transform:rotate(2deg) translateY(-4px)}
.hero-product img{width:auto;height:auto;max-width:min(100%,var(--photo-width));max-height:min(100%,var(--photo-height));object-fit:contain}
.campaign-arrow{position:absolute;top:calc(50% - 36px);width:34px;height:48px;border:0;background:#ffffffed;color:var(--navy);font-size:30px;line-height:1;z-index:3;box-shadow:0 2px 6px #0002;border-radius:3px}
.campaign-arrow.previous{left:7px}.campaign-arrow.next{right:7px}
.campaign-bar{min-height:44px;padding:0 18px}
.campaign-caption{font-size:12px;font-weight:500;color:#566175}
.carousel-controls{gap:10px}.carousel-pause{font-size:12px}
.intro-strip{border:0;padding:16px 0;color:#606b79;font-size:13px}
.intro-strip strong{font-size:14px;font-weight:700}.intro-strip>span{font-size:12px}
.catalog{border:0;padding-top:16px}
.catalog-toolbar{align-items:center;margin-bottom:18px;padding-top:5px}
.catalog-eyebrow{margin:0 0 5px;font-size:10px;letter-spacing:.12em;font-weight:700;color:#626d7e}
#collection-heading{font-size:25px;letter-spacing:-.6px;line-height:1.25;color:var(--navy);margin-bottom:6px}
.catalog-toolbar #result-count{font-size:13px;color:#596779}
.sort{border:1px solid #d9dfe7;background:white;border-radius:5px;padding:0 12px;font-size:12px}
.sort select{min-height:44px;font-size:13px}
.product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.product-card{padding:14px;border-radius:5px;border:1px solid #e2e5e9;box-shadow:none}
.product-card:hover{box-shadow:0 4px 16px #132e5810;border-color:#b5c4dc}
.product-image-wrap{background:white}
.product-visual{height:190px;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;padding:10px;background:white}
.product-visual img{width:auto;height:auto;aspect-ratio:auto;max-width:min(100%,var(--photo-width,220px));max-height:min(100%,var(--photo-height,220px));object-fit:contain;transform:none!important}
.product-info{padding-top:2px}
.brand-label{font-size:10px;letter-spacing:.04em;color:#4f617a;margin:10px 0 5px}
.product-name{font-size:14px;font-weight:500;color:#202e43;line-height:1.45;min-height:61px;-webkit-line-clamp:3}
.pack{font-size:12px;margin:6px 0 12px;color:#5c697c;min-height:18px}
.product-bottom{padding-top:10px;border:0}
.add-button{border:1px solid var(--navy);background:white;color:var(--navy);border-radius:4px;min-height:44px;font-weight:700}
.add-button:hover{background:var(--navy);color:white;border-color:var(--navy)}
.card-stepper{border-radius:4px;border-color:var(--navy)}.card-stepper button{color:var(--navy)}
.quick-view{border-radius:4px;font-size:11px;background:#f2f5f9;color:var(--navy)}
.final-price{font-size:24px;color:#142f58}
.pagination{margin:20px 0 30px}
.detail-layout>img{width:auto;height:auto;max-width:min(100%,var(--photo-width,320px));max-height:min(320px,var(--photo-height,320px));justify-self:center}
@media(min-width:1440px){.product-visual{height:210px}}
@media(max-width:1150px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.nav-categories{justify-content:flex-start}.campaign-copy{padding:30px 44px}.campaign-products{margin-right:40px;gap:2px;padding:20px 8px}.hero-product{height:174px}.campaign h1{font-size:38px}}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-inner{gap:22px}.campaign-copy>p{font-size:14px}.hero-product{height:146px}.campaign-products{min-height:214px}}
@media(max-width:760px){
 html{scroll-padding-top:205px}
 .preview{font-size:11px;padding:5px 10px}.preview strong{display:none}.preview span{font-size:11px}
 .header-inner{padding:6px 14px 10px;gap:7px 16px}.brand img{width:101px;height:59px}.cart-button{min-width:71px;min-height:44px;padding:8px 12px}
 .search{order:4;flex-basis:100%;padding:3px 4px 3px 14px}.search input{height:35px}.search-submit{min-height:40px;padding:8px 16px;font-size:13px}
 .nav-inner{padding:0 6px}.nav-categories{gap:0}.nav-categories button{min-height:58px;padding:8px 12px;gap:8px}.nav-category-copy strong{font-size:12px}.nav-category-copy small{font-size:10px}.nav-category-icon{width:20px;height:20px}
 main{padding:12px 12px 0}
 .campaign-slide{grid-template-columns:1fr;min-height:0}.campaign-copy{padding:22px 27px 12px}.campaign-kicker{font-size:10px;margin-bottom:10px}.campaign h1{font-size:34px;line-height:1.05;margin-bottom:10px;letter-spacing:-1px}.campaign-copy>p{font-size:13px;line-height:1.45;margin-bottom:14px;max-width:280px}.campaign-copy .light-button{font-size:12px;min-height:44px;padding:10px 14px}
 .campaign-products{min-height:132px;margin:5px 27px 22px;padding:8px 12px;gap:12px;transform:none;box-shadow:0 6px 0 #0000000c}.hero-product,.hero-product-0,.hero-product-1,.hero-product-2{height:112px;width:30%;transform:none}.hero-product:hover{transform:none}
 .campaign-arrow{width:25px;height:44px;font-size:24px;top:45%}.campaign-arrow.previous{left:0}.campaign-arrow.next{right:0}
 .campaign-bar{display:flex;justify-content:center;min-height:42px;padding:0 10px}.campaign-caption{display:none}.carousel-controls{width:auto}.campaign-tabs button{min-width:40px;min-height:42px}
 .intro-strip{padding:15px 2px 5px}.intro-strip strong{display:inline;font-size:13px;margin-right:4px}.intro-strip p{font-size:12px}
 .catalog{padding-top:20px}.catalog-toolbar{gap:12px;margin-bottom:14px}.catalog-toolbar>div{flex:1}.catalog-eyebrow{font-size:9px}#collection-heading{font-size:21px}.catalog-toolbar #result-count{font-size:12px}.sort{padding:0 7px;font-size:0}.sort select{max-width:112px;font-size:12px;background:transparent}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-card{padding:10px}.product-visual{height:151px;padding:7px}.brand-label{font-size:10px;margin:8px 0 5px}.product-name{font-size:13px;min-height:57px;line-height:1.45}.pack{font-size:11px}.quick-view{opacity:1;font-size:11px;min-height:44px}.add-button{font-size:13px}
 .pagination{margin:18px 0 24px}
}
@media(max-width:380px){.product-visual{height:136px}.campaign h1{font-size:31px}.campaign-products{gap:6px}.catalog-toolbar{gap:6px}}

.product-photo-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:160px;width:100%;color:#69758b;background:#f6f7fa;border-radius:8px;font-size:18px}.product-photo-pending small{font-size:14px;font-weight:400}.product-photo-pending>span{font-weight:700;letter-spacing:.12em}.detail-layout>.product-photo-pending{min-height:280px}.cart-row>.product-photo-pending{min-height:80px;width:80px;font-size:12px}.cart-row>.product-photo-pending small{font-size:10px}.sync-note{font-size:14px;color:#59677e}.add-button:disabled{opacity:.6;cursor:default}

.gluten-access{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex-shrink:0;border:1px solid #dce2ec;border-radius:12px;min-width:76px;min-height:64px;background:#fff;color:var(--navy);padding:8px;font:600 14px inherit;cursor:pointer}.gluten-access svg{width:27px;height:27px;color:var(--red)}.gluten-access span{font-size:14px;font-weight:700}.gluten-access:hover,.gluten-access[aria-pressed="true"]{background:#fff1f3;border-color:var(--red)}.gluten-access:focus-visible{outline:3px solid var(--navy);outline-offset:3px}.gluten-note{max-width:650px;font-size:14px;line-height:1.5;color:#536078}.product-image-wrap{position:relative;display:flex;flex-direction:column;align-items:stretch}.product-visual{display:flex;align-items:center;justify-content:center;margin:auto;width:100%;overflow:hidden}.product-visual img{object-position:center center;margin:auto;display:block}.product-badges:empty{display:none}@media(max-width:760px){.gluten-access{min-width:62px;min-height:58px;margin-left:auto}.gluten-access svg{width:24px;height:24px}}

.product-photo{display:block;overflow:hidden;object-fit:contain;flex-shrink:0}.product-visual .product-photo{width:auto;height:auto;max-width:100%;max-height:100%;margin:auto}.detail-layout>.product-photo{max-width:100%;max-height:350px;width:auto;height:auto;justify-self:center;align-self:center}.cart-row>.product-photo{width:64px;height:76px}.hero-product>.product-photo{max-width:100%;max-height:100%;width:auto;height:auto;margin:auto}.gluten-access{font-family:inherit}

/* Category disclosure: the panel sits outside the horizontally scrolling row. */
#category-navigation{position:relative}
.nav-categories button strong{font-size:14px}
.nav-categories button[aria-expanded="true"]{background:#ffffff18;border-bottom-color:white}
.category-chevron{font-size:19px;line-height:1;transition:transform .15s}
[aria-expanded="true"] .category-chevron{transform:rotate(180deg)}
.subcategory-panel{position:absolute;top:100%;left:8px;width:350px;max-width:calc(100% - 16px);max-height:min(420px,55vh);overflow-y:auto;background:#fff;color:var(--navy);padding:12px;border:1px solid #dce2ec;border-radius:0 0 12px 12px;box-shadow:0 14px 30px #10264a26;z-index:30}
.subcategory-panel[hidden]{display:none}
.subcategory-panel p{font-size:14px;font-weight:800;margin:4px 10px 8px}
.subcategory-panel button{display:block;width:100%;text-align:left;padding:11px 10px;min-height:44px;border:0;border-radius:7px;background:white;color:var(--navy);font:inherit;font-size:14px;line-height:1.4}
.subcategory-panel button:hover,.subcategory-panel button[aria-pressed="true"]{background:#f0f3f9;color:var(--navy)}
.subcategory-panel button:focus-visible{outline:2px solid var(--navy);outline-offset:-3px}
.nav-categories button:focus-visible{outline:2px solid white;outline-offset:-3px}
@media(max-width:760px){.nav-categories button strong{font-size:12px}}

.detail-purchase{margin:20px 0 12px}
.detail-quantity-label{display:block;font-size:14px;font-weight:700;margin-bottom:10px}
.detail-quantity-row{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}
.detail-quantity-row .card-stepper{flex:0 0 130px;min-height:48px}
.detail-quantity-row .detail-add{flex:1;min-height:48px;white-space:nowrap}
.detail-existing{font-size:13px!important;color:var(--muted);margin-top:10px}
.detail-purchase button:disabled{opacity:.5;cursor:not-allowed}

.detail-quantity-row .detail-add{background:#fff;color:var(--navy);border:1px solid var(--navy)}
.detail-quantity-row .detail-buy{flex:1;min-height:48px}
.detail-quantity-row .card-stepper{flex-basis:100%;max-width:160px;margin-right:calc(100% - 160px)}
.purchase-dialog{width:min(600px,calc(100% - 24px))}
.purchase-product{display:flex;gap:20px;align-items:center;margin:24px 0}
.purchase-product>img,.purchase-product>svg,.purchase-product>.product-photo-pending{width:110px;height:120px;object-fit:contain;flex-shrink:0}
.purchase-product h3{font-size:18px;margin:0 0 8px}.purchase-product p{font-size:14px;margin:5px 0}
.purchase-subtotal{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--border);padding:18px 0;font-size:18px}
.purchase-notice{padding:16px;background:#f1f4fa;border-radius:8px;margin:20px 0}.purchase-notice p,.purchase-delivery{font-size:14px}
.purchase-dialog>.primary{width:100%;opacity:.5;cursor:not-allowed}.purchase-dialog>.text-button{display:block;margin:16px auto 0}
@media(max-width:480px){.detail-quantity-row .detail-add,.detail-quantity-row .detail-buy{flex-basis:100%}.purchase-product{gap:12px}.purchase-product>img,.purchase-product>svg{width:85px}}

/* Suggestions remain anchored to the search field on desktop and mobile. */
.search{position:relative;overflow:visible}
.search-suggestions{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:50;background:#fff;border:1px solid #d5deeb;border-radius:16px;box-shadow:0 12px 30px #14275326;padding:6px;max-height:min(440px,55vh);overflow-y:auto;text-align:left}
.search-suggestions[hidden]{display:none}
.search-suggestion{display:flex;align-items:baseline;gap:12px;padding:12px 14px;border-radius:9px;cursor:pointer;min-height:44px}
.search-suggestion:hover,.search-suggestion[aria-selected="true"]{background:#eef3fb}
.suggestion-kind{flex:0 0 62px;font-size:11px;font-weight:700;color:#526481;text-transform:uppercase;letter-spacing:.03em}
.suggestion-name{color:#153052;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:600px){.search-suggestion{padding:11px 9px;gap:8px}.suggestion-kind{flex-basis:56px;font-size:10px}.suggestion-name{font-size:13px}}

#sort-control[hidden]{display:none}
.tax-price{width:100%;margin-top:4px;font-size:12px;line-height:1.45;color:#526481}
.tax-price summary{cursor:pointer;color:var(--navy);text-decoration:underline;text-underline-offset:3px;padding:6px 0;min-height:32px;overflow-wrap:anywhere}
.tax-price summary:focus-visible{outline:2px solid var(--navy);outline-offset:3px;border-radius:3px}
.tax-price-content{margin:4px 0 8px;padding:10px 12px;background:#f1f4fa;border-radius:8px;display:grid;gap:4px}
.tax-price-content strong{font-size:15px;color:#153052}
.tax-price-content small{font-size:11px;line-height:1.5}
@media(max-width:760px){#sort-control select{max-width:170px;min-width:145px}}

.price-block .tax-price-visible{font-size:11px;line-height:1.5;font-weight:400;color:#526481;margin:7px 0 3px;overflow-wrap:anywhere}.price-block .tax-price-visible span{font-weight:500}.product-alcohol-notice{font-size:11px;line-height:1.5;color:#455a73;margin:10px 0 4px;font-weight:500}

.price-block .tax-price-visible{font-size:10px;margin-top:4px;line-height:1.4}

.withdrawal-entry{display:block;text-align:right;padding:5px 18px;background:#fff;color:#17386c;font-size:12px;text-decoration:underline}

/* User-supplied transparent product photographs use a white backdrop in every view. */
.product-photo{background-color:#fff}
