/* Signed-in supermarket layout. Shared forms and receipts retain shop.css. */
.customer-store{--green:#51831d;--dark:#30352f;--line:#dedfdb}
.customer-store .wrap{max-width:1640px;width:calc(100% - 64px)}
.customer-topbar{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:74px}
.customer-help{display:flex;gap:32px;font-size:14px}
.customer-controls{display:flex;align-items:center;gap:32px;font-size:18px;font-weight:600}
.customer-menu{position:relative}
.customer-menu summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;white-space:nowrap}
.customer-menu summary::-webkit-details-marker{display:none}
.customer-menu summary>svg{width:22px;height:22px;transition:transform .15s}
.customer-menu[open] summary>svg{transform:rotate(180deg)}
.menu-panel{position:absolute;right:0;top:calc(100% + 18px);width:290px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:14px;box-shadow:0 10px 30px #0002;z-index:20;font-size:14px;font-weight:400;white-space:normal}
.menu-panel>a{display:block;padding:10px 12px;border-radius:4px}
.menu-panel>a:hover{background:#f1f5eb;text-decoration:none}
.menu-panel p{padding:0 12px 12px;margin:4px 0 6px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.menu-panel form{padding:10px 12px}
.groceries-menu .menu-panel{left:0;right:auto;max-height:65vh;overflow:auto}
.customer-basket{display:flex;align-items:center;gap:16px;border:1px solid #a6aaa2;border-radius:9px;padding:11px 15px 11px 0;white-space:nowrap}
.customer-basket:hover{background:#f6f7f4;text-decoration:none}
.basket-symbol{position:relative;display:flex;align-items:center;justify-content:center;padding:0 19px;border-right:1px solid var(--line)}
.basket-symbol>svg{width:30px;height:30px}
.basket-symbol small{position:absolute;right:9px;top:-9px;background:var(--green);color:white;min-width:18px;height:18px;border-radius:10px;font-size:10px;display:grid;place-items:center}
.customer-basket>svg{width:19px}
.customer-masthead{display:grid;grid-template-columns:25% minmax(0,1fr) 25%;align-items:center;min-height:96px;padding:5px 0 23px}
.customer-masthead .brand{justify-self:start}
.customer-masthead .brand strong{font-size:62px}
.customer-masthead .brand>span{font-size:10px}
.customer-masthead .search{max-width:none;width:100%;height:52px;border:1px solid #a8aaa4;background:#fff;border-radius:5px}
.customer-masthead .search input{font-size:17px}
.customer-masthead .search button{background:var(--green);color:#fff;padding:0 14px}
.customer-masthead .search svg{width:28px;height:28px}
.customer-primary{background:#f5f5f4}
.customer-nav-inner{display:flex;align-items:center;gap:40px;min-height:70px;font-size:18px;font-weight:600}
.customer-nav-note{margin-left:auto;font-size:13px;color:var(--muted);font-weight:400}
.customer-shortcuts{display:flex;justify-content:center;align-items:center;min-height:82px;border-bottom:1px solid #d4d7d0;gap:0}
.customer-shortcuts>a{display:flex;align-items:center;gap:13px;border-left:1px solid var(--line);padding:5px 26px;white-space:nowrap;font-size:17px;line-height:32px}
.customer-shortcuts>a:last-child{border-right:1px solid var(--line)}
.customer-shortcuts svg{width:28px;height:28px;flex-shrink:0}
.currency-icon{width:28px;height:28px;border:2px solid currentColor;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;line-height:1}
.customer-store .main-content{padding-top:30px}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:12px;line-height:1.7}
.customer-store .breadcrumb{font-size:14px;margin-bottom:28px}
.breadcrumb>span{color:#858a80}
.breadcrumb b{font-weight:600}
.supermarket-product{grid-template-columns:minmax(230px,28%) minmax(0,1fr);gap:54px}
.supermarket-product .detail-photo{border-radius:0;background:#fff;align-self:start;margin-top:75px}
.supermarket-product .detail-photo img{width:100%;height:340px;aspect-ratio:auto;object-fit:contain}
.supermarket-product .detail-info{padding:0}
.supermarket-product h1{font-size:32px;letter-spacing:-.025em;line-height:1.3;margin:0 0 18px}
.supermarket-product .detail-unit{font-size:15px;margin:0 0 7px}
.detail-category{font-size:14px;color:var(--green);text-decoration:underline;text-underline-offset:3px}
.detail-purchase{margin-top:22px;border-block:1px solid var(--line);padding:18px 0 22px}
.supermarket-product .price-row b{font-size:32px}
.supermarket-product .price-row b small{font-size:24px}
.supermarket-product .stock{font-size:13px;margin:0 0 20px;color:var(--muted)}
.product-actions{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.product-actions .detail-add{margin:0;gap:12px}
.product-actions .detail-add label{font-size:11px;gap:4px}
.product-actions .detail-add input{width:68px;height:48px;border-radius:4px}
.product-actions .button{min-height:48px;padding:10px 22px;border-radius:4px;font-size:17px;gap:12px}
.product-actions .detail-add .button{min-width:140px}
.product-actions .outline{border-color:var(--green);color:var(--green)}
.favourite-button svg{height:28px;width:28px}
.favourite-button.is-saved svg{fill:var(--green)}
.product-description{padding-top:26px}
.product-description h2{font-size:19px;letter-spacing:0}
.product-description .description{margin-top:12px;font-size:14px;white-space:pre-line}
.supermarket-product .detail-note{font-size:12px;margin-top:20px}
.customer-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px;padding:5px 0 25px;border-bottom:1px solid var(--line)}
.customer-welcome h1{font-size:28px;margin-top:6px;overflow-wrap:anywhere}
.customer-welcome p{font-size:15px;color:var(--muted);margin:10px 0 0}
.customer-welcome>a{display:flex;align-items:center;gap:14px;background:#f2f6ec;padding:17px 22px;border-radius:5px;font-size:12px;flex-shrink:0}
.customer-welcome>a svg{width:30px;height:30px}
.customer-welcome>a b{font-size:13px;color:var(--green)}
.saved-heading{margin:0 0 26px}
.saved-heading h1{font-size:30px}
.saved-heading p{color:var(--muted)}
.saved-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-top:20px}
.saved-tabs a{padding:12px 0;font-weight:600}
.saved-tabs [aria-current]{border-bottom:3px solid var(--green);color:var(--green)}
@media(max-width:1150px){.customer-store .wrap{width:calc(100% - 40px)}.customer-controls{gap:20px;font-size:16px}.customer-help{gap:18px;font-size:12px}.customer-masthead{grid-template-columns:23% 1fr 10%}.customer-nav-inner{gap:30px;font-size:16px}.customer-nav-note{font-size:11px}.customer-shortcuts>a{font-size:14px;padding-inline:18px;gap:9px}.supermarket-product{gap:32px;grid-template-columns:28% minmax(0,1fr)}.product-actions .button{font-size:15px;padding-inline:18px}.product-actions{gap:12px}.product-actions .detail-add .button{min-width:100px}}
@media(max-width:800px){.customer-help{display:none}.customer-topbar{justify-content:flex-end;min-height:66px}.customer-controls{width:100%;justify-content:flex-end;font-size:15px}.orders-link{margin-right:auto}.customer-basket{gap:10px;padding:8px 10px 8px 0}.basket-symbol{padding:0 14px}.basket-symbol>svg{width:25px;height:25px}.customer-masthead{grid-template-columns:130px 1fr;min-height:95px;gap:25px}.customer-masthead .search{order:initial}.customer-masthead .brand strong{font-size:50px}.customer-nav-inner{gap:26px;min-height:58px;font-size:15px}.customer-nav-note{display:none}.customer-shortcuts{justify-content:flex-start;overflow:auto;min-height:70px}.customer-shortcuts>a{padding-inline:18px;font-size:13px}.customer-shortcuts svg{width:24px;height:24px}.supermarket-product{grid-template-columns:32% minmax(0,1fr);gap:25px}.supermarket-product h1{font-size:27px}.supermarket-product .detail-photo img{height:260px}.product-actions .detail-add .button{min-width:120px}.customer-welcome{align-items:flex-start;flex-direction:column}.customer-welcome>a{width:100%}.customer-welcome h1{font-size:26px}}
@media(max-width:560px){.customer-store .wrap{width:calc(100% - 30px)}.customer-controls{gap:14px;font-size:12px}.customer-topbar{min-height:64px}.customer-basket{font-size:13px;gap:8px}.customer-basket>svg{display:none}.basket-symbol{padding:0 12px}.basket-symbol small{right:5px}.customer-menu summary{gap:5px}.customer-menu summary>svg{width:16px}.customer-masthead{grid-template-columns:1fr;gap:18px;padding:7px 0 20px}.customer-masthead .brand strong{font-size:48px}.customer-masthead .brand>span{font-size:8px}.customer-masthead .search{height:46px}.customer-masthead .search input{font-size:15px}.customer-nav-inner{gap:22px;font-size:13px;min-height:58px}.customer-nav-inner>a{white-space:nowrap}.customer-shortcuts{min-height:66px}.customer-shortcuts>a{font-size:12px;padding-inline:16px}.customer-store .main-content{padding-top:20px}.customer-store .breadcrumb{font-size:11px;gap:8px;margin-bottom:22px}.supermarket-product{display:flex;flex-direction:column;gap:24px}.supermarket-product .detail-photo{width:100%;margin:0}.supermarket-product .detail-photo img{height:230px}.supermarket-product .detail-info{width:100%}.supermarket-product h1{font-size:27px;margin-bottom:12px}.detail-purchase{margin-top:18px}.product-actions{display:grid;grid-template-columns:1fr;gap:12px}.product-actions .detail-add{display:flex}.product-actions .detail-add label{flex-shrink:0}.product-actions .detail-add .button{flex:1}.product-actions .button{width:100%;font-size:16px}.product-actions form{width:100%}.menu-panel{width:min(290px,calc(100vw - 30px));right:-90px}.groceries-menu .menu-panel{right:auto;left:0}.customer-welcome h1{font-size:25px}.saved-heading h1{font-size:27px}}
@media print{.customer-store .main-content{padding:0;width:100%;max-width:none}}
