/* Product search stays available in the pinned catalogue header. */
.theme-bento .site-header.has-catalog-search { display:grid; grid-template-columns:auto minmax(180px,1fr) auto auto; align-items:center; gap:24px; }
.theme-bento .has-catalog-search .main-nav { margin-left:0; }
.theme-bento .header-search { position:relative; margin:0; min-width:0; }
.theme-bento .header-search input { display:block; width:100%; min-width:0; height:46px; min-height:46px; border:1px solid #e7e7eb; border-radius:999px; background:#f5f5f8; color:var(--ink); padding:10px 40px 10px 42px; font-size:13px; line-height:24px; appearance:none; transition:background-color .2s,border-color .2s; }
.theme-bento .header-search input::placeholder { color:var(--muted); opacity:1; }
.theme-bento .header-search input:focus { background:#fff; border-color:var(--brand); outline:2px solid #89070715; outline-offset:2px; }
.theme-bento .header-search input::-webkit-search-cancel-button { appearance:none; }
.theme-bento .header-search-icon { position:absolute; top:14px; left:14px; color:var(--muted); pointer-events:none; }
.theme-bento .header-search-clear { position:absolute; top:3px; right:3px; height:40px; width:36px; display:flex; align-items:center; justify-content:center; border:0; border-radius:999px; color:var(--muted); background:none; cursor:pointer; }
.theme-bento .header-search-clear[hidden] { display:none; }
.theme-bento .header-search-clear:hover { color:var(--brand); background:var(--soft); }
.theme-bento .header-search-clear:focus-visible { outline:2px solid var(--brand); outline-offset:-3px; }
.theme-bento .header-cart-icon { display:none; }
.theme-bento .header-account .cart-link .header-cart-text { border:0; padding:0; font-weight:500; font-size:inherit; }
.theme-bento .catalog-heading { margin:0 0 24px; }
.theme-bento #catalog-title { font-size:32px; line-height:1.2; letter-spacing:-.04em; }
.theme-bento.page-catalog main { padding-top:32px; }
.theme-bento .product-list-heading { scroll-margin-top:var(--catalog-header-offset,104px); margin-bottom:0; }
.theme-bento .selected-category { margin:0 0 20px; }
.theme-bento :is(.catalog-section,.catalog-content,.company-about,.company-delivery,.product) { scroll-margin-top:var(--catalog-header-offset,104px); }
@media(max-width:1140px) {
 .theme-bento .site-header.has-catalog-search { gap:16px; }
 .theme-bento .has-catalog-search .header-account { gap:16px; }
}
@media(max-width:1000px) {
 .theme-bento .site-header.has-catalog-search { grid-template-columns:minmax(0,1fr) auto; gap:10px 20px; }
 .theme-bento .has-catalog-search .header-brand-group { grid-column:1/-1; grid-row:1; }
 .theme-bento .has-catalog-search .header-search { grid-column:1; grid-row:2; }
 .theme-bento .has-catalog-search .main-nav { display:none; }
 .theme-bento .has-catalog-search .header-account { grid-column:2; grid-row:2; }
}
@media(max-width:640px) {
 .theme-bento .site-header.has-catalog-search { padding:10px 16px; gap:8px 12px; }
 .theme-bento .has-catalog-search .header-brand-group { justify-content:space-between; }
 .theme-bento .has-catalog-search .header-account { gap:10px; }
 .theme-bento .has-catalog-search .header-account .cart-link { min-height:44px; padding:0 12px; gap:8px; }
 .theme-bento .has-catalog-search .header-cart-icon { display:block; flex-shrink:0; }
 .theme-bento .has-catalog-search .header-account .cart-link .header-cart-text { display:none; }
 .theme-bento .has-catalog-search .header-account .cart-link [data-count] { font-size:12px; }
 .theme-bento .header-search input { height:44px; min-height:44px; font-size:16px; padding-left:36px; padding-right:32px; }
 .theme-bento .header-search-icon { left:11px; top:13px; width:17px; height:17px; }
 .theme-bento .header-search-clear { top:2px; right:2px; width:30px; height:40px; }
 .theme-bento .header-search input:placeholder-shown { padding-right:10px; }
 .theme-bento.page-catalog main { padding-top:24px; }
 .theme-bento #catalog-title { font-size:27px; }
 .theme-bento .catalog-heading { margin-bottom:20px; }
 .theme-bento .selected-category { margin:0 0 18px; font-size:22px; }
}
@media(max-width:359px) {
 .theme-bento .site-header.has-catalog-search { padding-left:12px; padding-right:12px; gap:8px; }
 .theme-bento .has-catalog-search .header-account { gap:6px; }
 .theme-bento .has-catalog-search .header-account .cart-link { padding:0 10px; }
 .theme-bento .header-search input { font-size:16px; }
}
/* Guest actions use the real session state. */
.theme-bento .header-guest { gap:18px; }
.theme-bento .header-account .guest-login { display:flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px; border-radius:999px; background:var(--brand); color:white; font-weight:500; }
.theme-bento .header-account .guest-login:hover { background:var(--brand-dark); }
.theme-bento .header-account .guest-manager { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:2px; max-width:none; min-height:44px; white-space:nowrap; }
.theme-bento .guest-manager>span { font-size:10px; line-height:1.3; color:var(--muted); }
.theme-bento .guest-manager>strong { font-size:12px; line-height:1.4; font-weight:500; }
.theme-bento .guest-manager:hover>strong { color:var(--brand); }
.theme-bento .guest-access h1 { font-size:28px; }
.theme-bento .guest-access .form-actions { justify-content:center; flex-wrap:wrap; }
@media(max-width:640px) {
 .theme-bento .has-catalog-search .header-account.header-guest { gap:10px; }
 .theme-bento .header-account.header-guest>a { width:auto; max-width:none; flex-shrink:0; font-size:12px; }
 .theme-bento .header-account.header-guest>a::before { content:none; display:none; }
 .theme-bento .header-account .guest-login { max-width:none; min-height:44px; padding:0 12px; font-size:12px; }
 .theme-bento .guest-manager>strong { font-size:11px; }
 .theme-bento .guest-manager>span { font-size:9px; }
 .theme-bento .is-guest .header-search input { padding-right:32px; }
 .theme-bento .is-guest .header-search input:placeholder-shown { padding-right:10px; }
}
@media(max-width:359px) { .theme-bento .has-catalog-search .header-account.header-guest { gap:8px; }.theme-bento .header-account .guest-login { padding:0 10px; } }
