/* One account control beside the bag; no separate greeting banner. */
.store-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-left:auto}
.customer-header-control{position:relative;color:#935932}
.customer-header-control [hidden]{display:none!important}
.customer-entry>summary,.customer-header-menu>summary{display:flex;align-items:center;gap:9px;min-height:48px;padding:7px 13px;border:1px solid #d8cebb;border-radius:8px;background:#fffdf7;color:#935932;font:13px/1.4 Arial,sans-serif;cursor:pointer;list-style:none;text-decoration:none;transition:background .18s,color .18s,border-color .18s}
.customer-header-menu>summary::-webkit-details-marker,.customer-entry>summary::-webkit-details-marker{display:none}
.customer-entry>summary>svg,.customer-header-menu>summary>svg{width:20px;height:20px;flex-shrink:0}
.customer-header-menu>summary>.customer-chevron,.customer-entry>summary>.customer-chevron{width:14px;height:14px}
.store-header .menu-toggle>.customer-chevron{width:12px;height:12px}
.customer-entry>summary span,.customer-header-menu>summary span{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.customer-header-control strong{font:600 13px/1.4 Arial,sans-serif;white-space:nowrap}
.customer-header-control small{font:12px/1.4 Arial,sans-serif;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-entry[open]>summary,.customer-entry>summary:hover,.customer-header-menu>summary:hover,.customer-header-menu[open]>summary{background:#935932;border-color:#935932;color:#fffdf8}
.customer-header-control :focus-visible{outline:2px solid #935932;outline-offset:3px}
.customer-header-dropdown{position:absolute;z-index:110;right:0;top:calc(100% + 8px);width:210px;padding:7px;background:#fffdf8;border:1px solid #dfceb7;border-radius:10px;box-shadow:0 10px 30px #28271f20}
.customer-header-dropdown a,.customer-header-dropdown button{display:block;width:100%;min-height:44px;padding:11px 13px;border:0;border-radius:6px;background:transparent;color:#6b665c;text-align:left;text-decoration:none;font:14px/1.5 Arial,sans-serif;cursor:pointer;transition:background .18s,color .18s}
.customer-header-dropdown button{border-top:1px solid #e8ddcd;border-radius:0 0 6px 6px;color:#935932}
.customer-header-dropdown a:hover,.customer-header-dropdown button:hover{background:#f0e7d8;color:#844a28}
.customer-header-dropdown button:disabled{opacity:.5;cursor:wait}
.customer-page .customer-onboarding{max-width:540px;margin:auto;padding:8px 0}
.customer-page .customer-onboarding>p{font:24px/1.3 Georgia,serif;color:#28271f;margin-top:0}
.customer-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
.customer-delivery-grid>label,.customer-postcode>label{display:block;margin:0!important;font:14px/1.5 Arial,sans-serif;color:#514c42}
.customer-page .customer-delivery-grid input,.customer-page .customer-delivery-grid select{margin:8px 0 0;width:100%;min-width:0;height:46px;min-height:46px;border:1px solid #d8bea1;border-radius:7px;background:#fffefa;padding:10px 12px;color:#28271f;font:15px/1.5 Arial,sans-serif}
.customer-delivery-grid label small{display:inline;font:inherit;color:#6b665c}
.customer-delivery-wide{grid-column:1/-1}
.customer-postcode{display:flex;align-items:flex-end;gap:10px;min-width:0}
.customer-postcode>label{flex:1;min-width:0}
.customer-page .customer-postcode button{height:46px;margin:0;white-space:nowrap;padding:10px 14px}
.customer-page .customer-lookup-result{padding:14px 18px;border:1px solid #e2d4bf;border-radius:8px;background:#f5efe4}
.customer-lookup-result[hidden],.customer-lookup-result label[hidden],.customer-postcode button[hidden]{display:none!important}
.customer-page .customer-lookup-result p{margin:0 0 10px;font-size:13px}
.customer-page .customer-delivery-note{padding:16px 0;margin:18px 0 0;border-top:1px solid #e2d4bf;font:13px/1.6 Arial,sans-serif;color:#6b665c;max-width:none}
.customer-delivery-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.customer-page .customer-delivery-actions button{margin:0}
.customer-saved-delivery{margin:14px 0 22px;padding:16px;border:1px solid #dfceb7;border-radius:9px;background:#f2eadc}
.customer-saved-delivery[hidden]{display:none!important}
.customer-saved-delivery strong{font:500 18px/1.4 Georgia,serif;color:#28271f}
.customer-saved-delivery p{margin:6px 0 12px!important;color:#6b665c;font:13px/1.6 Arial,sans-serif!important;text-align:left}
.customer-saved-delivery>div{display:flex;gap:8px;flex-wrap:wrap}
.customer-saved-delivery button{min-height:40px;border:1px solid #d8bea1;border-radius:6px;padding:8px 11px;font:13px/1.4 Arial,sans-serif;color:#935932;background:#fffdf8;cursor:pointer}
.customer-saved-delivery button:hover{background:#935932;color:#fffdf8;border-color:#935932}
.customer-saved-delivery button[hidden]{display:none!important}
@media(max-width:1100px){.store-header{gap:14px}.store-header nav{gap:0}.store-header nav a{padding:12px 10px}.customer-header-control small{max-width:110px}}
@media(min-width:701px) and (max-width:1000px){.store-header{flex-wrap:wrap}.store-header .menu-toggle{display:flex;align-items:center;min-height:48px;padding:10px 12px;background:#fffdf7;border:1px solid #d8cebb;border-radius:8px;margin-left:auto}.store-header nav{display:none;order:4;flex-basis:100%;width:100%;padding:8px 0}.store-header nav.mobile-open{display:flex;justify-content:flex-start;flex-wrap:wrap}.store-header-actions{margin-left:0}}
@media(max-width:700px){.store-header-actions{gap:7px;margin-left:0}.store-header .customer-entry>summary,.store-header .customer-header-menu>summary{min-height:44px;padding:5px 9px;gap:6px}.customer-header-control strong{font-size:12px}.customer-header-control small{font-size:11px;max-width:105px}.customer-entry>summary>svg,.customer-header-menu>summary>svg{width:17px;height:17px}.customer-header-menu>summary>.customer-chevron{display:none}}
@media(max-width:480px){body.storefront-page .store-header{gap:7px}body.storefront-page .store-header .brand img{width:50px;height:50px}body.storefront-page .store-header .menu-toggle{font-size:0;width:36px;min-width:36px;padding:8px;margin-left:auto}body.storefront-page .store-header .menu-toggle::after{content:'☰';font-size:17px}.customer-header-control small{max-width:90px}.customer-entry>summary>svg,.customer-header-menu>summary>svg{display:none}.store-header #bag{padding:8px;gap:5px}.customer-header-dropdown{width:200px}.customer-delivery-grid{grid-template-columns:1fr;gap:18px}.customer-delivery-wide{grid-column:auto}.customer-delivery-actions{align-items:stretch;flex-direction:column}.customer-postcode{gap:8px}.customer-page .customer-postcode button{padding:10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.customer-header-control *{transition:none!important}}

/* Mobile header: explicit menu, visible registration and a compact bag. */
@media(max-width:700px){
 body.storefront-page .store-header{min-height:78px;padding:12px 16px;gap:8px;align-items:center}
 body.storefront-page .store-header .brand,body.storefront-page .store-header .brand img{width:54px;height:54px}
 body.storefront-page .store-header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:62px;height:44px;min-height:44px;padding:8px;gap:5px;margin-left:auto;border:0;border-radius:9px;background:#eee7d8;color:#754423;font:600 12px/1.4 Arial,sans-serif}
 body.storefront-page .store-header .menu-toggle::after{content:none}
 body.storefront-page .store-header-actions{gap:8px;margin-left:0;align-items:center}
 body.storefront-page .store-header .customer-entry>summary,body.storefront-page .store-header .customer-header-menu>summary{min-height:44px;height:44px;padding:6px 10px;gap:7px;border-radius:10px;justify-content:center}
 body.storefront-page .store-header .customer-entry>summary>svg,body.storefront-page .store-header .customer-header-menu>summary>svg:not(.customer-chevron){display:block;width:18px;height:18px}
 body.storefront-page .store-header .customer-entry>summary small{display:block;max-width:none}
 body.storefront-page .store-header .customer-entry>summary>svg:not(.customer-chevron){display:none}
 body.storefront-page .store-header .customer-entry>summary>.customer-chevron{width:12px;height:12px}
 body.storefront-page .store-header .menu-toggle>.customer-chevron{width:12px;height:12px;transition:transform .18s}
 body.storefront-page .store-header .menu-toggle[aria-expanded="true"]>.customer-chevron{transform:rotate(180deg)}
 body.storefront-page .store-header .customer-header-control strong{font-size:13px;line-height:17px}
 body.storefront-page .store-header .customer-header-control small{font-size:11px;line-height:15px;max-width:90px}
 body.storefront-page .store-header #bag{position:relative;width:44px;height:44px;min-height:44px;padding:10px;gap:0;border-radius:10px}
 body.storefront-page .store-header #bag>span:not(#count){display:none}
 body.storefront-page .store-header .bag-icon{width:20px;height:20px}
 body.storefront-page .store-header #bag:is(:hover,:focus-visible) .bag-icon{color:inherit}
 body.storefront-page .store-header #count{position:absolute;right:-3px;top:-4px;min-width:18px;height:18px;padding:0 4px;font-size:10px;border:2px solid #f7f3e8;border-radius:9px}
 body.storefront-page .store-header nav.mobile-open{margin-top:4px;padding:6px;background:#fffdf7;border:1px solid #e2d5c1;border-radius:12px}
 body.storefront-page .store-header nav a,body.storefront-page .store-header nav a:last-child{min-height:44px;padding:12px;border:0;border-radius:7px;font-size:14px}
 body.storefront-page .customer-header-dropdown{width:220px;max-width:calc(100vw - 32px);right:0;top:calc(100% + 10px);padding:6px;border-radius:12px}
}
@media(max-width:360px){
 body.storefront-page .store-header{padding:10px 12px;gap:6px}
 body.storefront-page .store-header .brand,body.storefront-page .store-header .brand img{width:44px;height:44px}
 body.storefront-page .store-header-actions{gap:6px}
 body.storefront-page .store-header .menu-toggle{min-width:60px;padding:6px}
 body.storefront-page .store-header .customer-entry>summary,body.storefront-page .store-header .customer-header-menu>summary{padding:6px 8px}
 body.storefront-page .store-header .customer-header-menu>summary>svg:not(.customer-chevron){display:none}
 body.storefront-page .store-header .customer-header-control small{max-width:84px}
 body.storefront-page .customer-header-dropdown{width:206px}
}

.customer-page .customer-tabs[hidden]{display:none!important}
.customer-mobile-navigation{display:none}
@media(max-width:760px){
 .customer-page .customer-tabs{display:none}
 .customer-mobile-navigation:not([hidden]){display:block;padding:16px;background:#eee7d8;border:1px solid #dfceb7;border-bottom:0;border-radius:12px 12px 0 0}
 .customer-page .customer-mobile-navigation label{display:block;margin:0 0 8px;font:600 13px/1.5 Arial,sans-serif;color:#6b665c}
 .customer-page .customer-mobile-navigation .customer-select-trigger{margin:0;min-height:50px;background:#fffdf8;font-size:15px}
 .customer-mobile-navigation .customer-select-options{z-index:20}
}

/* Delivery editor: connected sections, stable error rows and branded selectors. */
.customer-delivery-card{border:1px solid #dfceb7;border-radius:12px;background:#fffdf8;min-width:0}
.customer-delivery-section{padding:24px 26px;min-width:0}
.customer-delivery-section+.customer-delivery-section{border-top:1px solid #e5d8c5}
.customer-delivery-section>header{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.customer-delivery-section>header .customer-section-icon{width:38px;height:38px;border-radius:10px}
.customer-page .customer-delivery-section h3{font:23px/1.3 Georgia,serif;margin:0 0 5px;color:#28271f}
.customer-page .customer-delivery-section header p{font:13px/1.6 Arial,sans-serif;color:#6b665c;margin:0}
.customer-delivery-card .customer-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;align-items:start}
.customer-delivery-card .customer-recipient-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.customer-delivery-field{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;align-content:start}
.customer-page .customer-delivery-field>label,.customer-page .customer-address-choices>label{display:block;margin:0;font:500 14px/1.5 Arial,sans-serif;color:#28271f}
.customer-delivery-field label small{font:12px/1.5 Arial,sans-serif;color:#6b665c}
.customer-page .customer-delivery-field input,.customer-page .customer-delivery-field select{height:48px;min-height:48px;margin:0;background:#fffefa;border-color:#d8bea1;border-radius:8px;font:16px/1.5 Arial,sans-serif}
.customer-delivery-card .customer-postcode{display:flex;align-items:flex-start;gap:9px;min-width:0}
.customer-postcode>input{flex:1;min-width:0}
.customer-page .customer-delivery-card .customer-postcode button{min-height:48px;height:48px;flex-shrink:0;margin:0;border-radius:8px}
.customer-error-slot{min-height:20px;min-width:0}
.customer-page .customer-error-slot .customer-field-feedback{margin:0;gap:6px;font:12px/1.6 Arial,sans-serif}
.customer-page .customer-error-slot .customer-field-feedback svg{width:14px;height:14px;margin-top:2px}
.customer-page .customer-delivery-name-help{font:12px/1.6 Arial,sans-serif;color:#6b665c;margin:0}
.customer-page .customer-delivery-footer{padding:20px 26px;border-top:1px solid #e5d8c5;border-radius:0 0 12px 12px;background:#f5efe4}
.customer-page .customer-delivery-footer>p{font:13px/1.6 Arial,sans-serif;margin:0 0 16px;color:#6b665c}
.customer-delivery-card .customer-delivery-actions{gap:10px}
.customer-delivery-footer>.customer-form-status{margin-top:12px}
.customer-page .customer-delivery-card .customer-lookup-result{margin:0;padding:16px;background:#f5efe4;border-color:#dfceb7}
.customer-page .customer-lookup-result p:only-child{margin:0}
.customer-address-choices{display:grid;gap:8px}
#customer-delivery-form [hidden]{display:none!important}
.customer-select{position:relative;min-width:0}
:is(.customer-page,#basket) .customer-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;margin:0;padding:10px 13px;border:1px solid #d8bea1;border-radius:8px;background:#fffefa;color:#28271f;font:15px/1.5 Arial,sans-serif;text-align:left;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.customer-select-trigger>svg{width:17px;height:17px;color:#935932;transition:transform .18s;flex-shrink:0}
:is(.customer-page,#basket) .customer-select-trigger:hover,:is(.customer-page,#basket) .customer-select-trigger[aria-expanded="true"]{background:#f2e8d9;border-color:#a2683f;color:#704324}
.customer-select-trigger[aria-expanded="true"]>svg{transform:rotate(180deg)}
.customer-select-value{display:flex;align-items:center;gap:10px;min-width:0}
.customer-select-value>span:last-child{overflow-wrap:anywhere}
.customer-country-code{display:inline-grid;place-items:center;min-width:28px;height:25px;border-radius:6px;background:#f0e6d7;color:#935932;font:600 10px/1 Arial,sans-serif;letter-spacing:.4px;flex-shrink:0}
.customer-select-options{position:absolute;z-index:45;top:calc(100% + 6px);left:0;right:0;max-height:min(260px,45vh);overflow-y:auto;padding:6px;background:#fffdf8;border:1px solid #d8bea1;border-radius:10px;box-shadow:0 10px 28px #49341c22;scrollbar-width:thin;scrollbar-color:#c7ad8c transparent}
.customer-select-options.opens-up{top:auto;bottom:calc(100% + 6px)}
:is(.customer-page,#basket) .customer-select-options>button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px;margin:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#6b665c;font:14px/1.5 Arial,sans-serif;text-align:left;cursor:pointer;transition:background .18s,color .18s}
.customer-select-options>button>span:not(.customer-country-code){flex:1;min-width:0;overflow-wrap:anywhere}
.customer-select-options>button>svg{width:17px;height:17px;visibility:hidden;flex-shrink:0}
:is(.customer-page,#basket) .customer-select-options>button[aria-selected="true"]{background:#f1e7d8;color:#704324;font-weight:600}
.customer-select-options>button[aria-selected="true"]>svg{visibility:visible}
:is(.customer-page,#basket) .customer-select-options>button:hover,:is(.customer-page,#basket) .customer-select-options>button:focus-visible{outline:none;background:#935932;color:#fffdf8}
.customer-select-options>button:hover .customer-country-code,.customer-select-options>button:focus-visible .customer-country-code{background:#fffdf825;color:#fffdf8}
.customer-select-trigger:focus-visible{outline:2px solid #935932;outline-offset:3px}
@media(max-width:760px){.customer-delivery-section{padding:20px}.customer-delivery-card .customer-recipient-grid{grid-template-columns:minmax(0,1fr)}.customer-delivery-section>header{margin-bottom:18px}.customer-page .customer-delivery-footer{padding:20px}}
@media(max-width:600px){.customer-delivery-card .customer-delivery-grid{grid-template-columns:minmax(0,1fr);gap:10px}.customer-delivery-section{padding:18px}.customer-delivery-card .customer-delivery-wide{grid-column:auto}.customer-page .customer-delivery-section h3{font-size:21px}.customer-page .customer-delivery-footer{padding:18px}.customer-delivery-actions{align-items:stretch;flex-direction:column}.customer-delivery-actions .customer-form-status{align-self:flex-start}.customer-page .customer-delivery-card .customer-postcode button{padding:10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.customer-select *{transition:none!important}}
@media(max-width:380px){.customer-delivery-card .customer-postcode{flex-wrap:wrap}.customer-postcode>input{flex-basis:100%}.customer-page .customer-delivery-card .customer-postcode button{width:100%}.customer-select .customer-country-code{display:none}}

/* Guest options stay together in a small, keyboard-accessible account menu. */
.customer-guest-dropdown p{margin:3px 10px 7px;color:#776957;font:11px/1.5 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.customer-header-dropdown.customer-guest-dropdown a{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e4d4bd;color:#89502d;background:#fffdf8;margin-top:6px;font-weight:600}
.customer-header-dropdown.customer-guest-dropdown a span{font-size:17px}
.customer-header-dropdown.customer-guest-dropdown .customer-create-link{color:#fffdf8;background:#935932;border-color:#935932}
.customer-header-dropdown.customer-guest-dropdown a:is(:hover,:focus-visible){background:#754423;border-color:#754423;color:#fffdf8}
.customer-entry[open]>summary>.customer-chevron{transform:rotate(180deg)}

/* Long account names never push the bag onto another row. */
.customer-header-identity{padding:8px 12px 12px;margin-bottom:5px;border-bottom:1px solid #e8ddcd}
.customer-header-identity small{display:block;max-width:none;white-space:normal;margin-bottom:4px;color:#776957}
.customer-header-control .customer-header-identity strong{display:block;font:500 17px/1.4 Georgia,serif;color:#28271f;white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){
 body.storefront-page .store-header{display:grid;grid-template-columns:auto auto minmax(0,1fr)}
 body.storefront-page .store-header .menu-toggle{margin-left:0}
 body.storefront-page .store-header nav{grid-column:1/-1}
 body.storefront-page .store-header-actions{justify-self:end;min-width:0;max-width:100%}
 body.storefront-page .store-header .customer-header-control{min-width:0}
 body.storefront-page .store-header .customer-header-menu>summary>span{flex:1;overflow:hidden}
 body.storefront-page .store-header .customer-header-menu [data-customer-greeting]{max-width:min(90px,100%)}
 body.storefront-page .store-header #bag{flex-shrink:0}
 body.storefront-page .store-header .customer-header-identity small{max-width:none}
 body.storefront-page .store-header .customer-header-identity strong{font-size:17px;line-height:1.4}
}
