/* GSM 1.3: clear touch targets, owner setup and priced delivery. */
.theme-v1 [hidden]{display:none!important}
.theme-v1 a:focus-visible,.theme-v1 button:focus-visible,.theme-v1 summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.theme-v1 .home-hero{position:relative;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:480px;margin-top:8px;border:1px solid var(--line);border-radius:calc(var(--radius) + 14px);background:linear-gradient(120deg,var(--surface),color-mix(in srgb,var(--accent) 5%,var(--surface)));overflow:hidden}
.home-hero .hero-copy{padding:54px 0 48px 48px;z-index:2;min-width:0}
.home-hero .hero-copy .eyebrow{font-size:12px;letter-spacing:.12em}
.home-hero .hero-copy h1{font-size:clamp(36px,4.5vw,62px);line-height:1.04;letter-spacing:-.055em;max-width:640px;margin:22px 0}
.home-hero .hero-copy>p:not(.eyebrow){font-size:16px;line-height:1.7;max-width:400px}
.hero-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:28px 0}
.theme-v1 .home-hero .hero-cta{font-size:14px;min-height:48px;padding:15px 22px;margin:0}
.home-hero .hero-secondary{display:inline-flex;align-items:center;gap:8px;font-size:13px;margin:0;color:var(--ink)}
.home-hero .hero-secondary svg{width:17px}
.hero-footnote{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;line-height:1.5}
.hero-footnote svg{width:17px;color:var(--shop-accent);flex-shrink:0}
.home-hero .hero-visual{position:relative;min-width:0;display:flex;justify-content:center;align-items:center;padding:20px 22px 50px}
.home-hero .hero-halo{width:360px;height:360px;max-width:95%;background:color-mix(in srgb,var(--accent) 8%,transparent);filter:blur(0);border:1px solid color-mix(in srgb,var(--accent) 12%,transparent)}
.home-hero .hero-visual img{height:360px;width:100%;max-width:470px;object-fit:contain;z-index:1;position:relative;object-position:center}
.hero-floating-card{position:absolute;bottom:30px;left:12%;right:12%;display:flex;align-items:center;gap:14px;padding:18px;background:var(--surface);border:1px solid var(--line);box-shadow:0 16px 40px #1018280a;border-radius:var(--radius);text-decoration:none;z-index:2}
.hero-floating-card>span{display:grid;place-items:center;padding:10px;border-radius:10px;color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.hero-floating-card>div{display:grid;gap:5px;flex:1;min-width:0}
.hero-floating-card strong{font-size:13px;overflow-wrap:anywhere}
.hero-floating-card small{font-size:11px;color:var(--muted)}
.hero-floating-card>svg{width:18px}
.home-discovery{display:grid;grid-template-columns:1fr 1.35fr;gap:24px;align-items:center;margin:36px 0 20px}
.home-discovery h2{margin:0 0 8px;font-size:25px;letter-spacing:-.04em}
.home-discovery p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}
.home-search{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--surface);padding:8px 8px 8px 18px;border-radius:var(--radius);min-width:0;margin:0}
.home-search>svg{width:22px;flex-shrink:0;color:var(--muted)}
.theme-v1 .home-search input{flex:1;min-width:0;width:100%;border:0;background:transparent;padding:8px 0;font-size:15px}
.theme-v1 .home-search button{display:flex;align-items:center;gap:10px;padding:12px 18px;min-height:46px;font-size:13px;white-space:nowrap}
.home-search button svg{width:16px}
.home-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:44px 0}
.home-service-grid>a{padding:28px;border:1px solid var(--line);border-radius:calc(var(--radius) + 4px);background:var(--surface);text-decoration:none}
.home-service-grid>a>span{display:grid;place-items:center;width:44px;height:44px;background:var(--bg);border-radius:12px;color:var(--accent)}
.home-service-grid h3{font-size:19px;letter-spacing:-.03em;margin:20px 0 12px}
.home-service-grid p{font-size:14px;color:var(--muted);line-height:1.7;margin:0 0 20px}
.home-service-grid b{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--accent)}
.home-service-grid b svg{width:16px}
.home-empty{display:flex;align-items:center;gap:24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:36px;margin:28px 0}
.home-empty>span{color:var(--accent)}.home-empty>div{flex:1}.home-empty h2{font-size:24px}.home-empty p{color:var(--muted);line-height:1.6}
.theme-v1 .home-finance{border-radius:calc(var(--radius) + 6px);padding:36px;margin:36px 0}
.home-finance h2{font-size:32px;line-height:1.15}.home-finance p:not(.eyebrow){font-size:14px;line-height:1.7}
.shipping-admin-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(260px,1fr);gap:28px;align-items:start}
.shipping-admin-layout>div{min-width:0}.shipping-settings{display:grid;gap:20px}.shipping-settings label:not(.check-row){display:grid;gap:9px;margin-top:22px;font-size:14px}.shipping-settings .editor-card p{line-height:1.65;color:var(--muted);font-size:14px}
.shipping-section-heading{display:flex;gap:16px;align-items:start}.shipping-section-heading h2{margin:0!important}.shipping-section-heading p{margin:10px 0}.step-number{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:color-mix(in srgb,var(--accent) 8%,var(--surface));color:var(--accent);border-radius:10px;font-weight:700;font-size:15px}.step-number svg{width:18px}.step-done{background:color-mix(in srgb,var(--shop-accent) 12%,var(--surface));color:var(--shop-accent)}
.shipping-settings .shipping-switch{display:flex;align-items:center;gap:10px;margin:18px 0;font-size:14px;min-height:44px}.shipping-switch input{width:20px;height:20px}.shipping-settings .editor-submit{position:static!important}
.shipping-help{position:sticky;top:24px}.shipping-help h2{font-size:26px!important}.shipping-help ol{padding-left:22px;margin:24px 0}.shipping-help li{padding:0 0 16px 6px;line-height:1.7;font-size:14px}.shipping-help p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.7}.shipping-help .button-secondary{font-size:12px;margin-top:12px;white-space:normal}
.carriers-panel{margin-top:32px}.carriers-panel>p{color:var(--muted);font-size:14px;line-height:1.65}.carriers-panel .collection-heading>span{color:var(--muted);font-size:12px}
.carrier-card{border:1px solid var(--line);border-radius:var(--radius);margin:16px 0;overflow:hidden}.carrier-card summary{display:flex;align-items:center;gap:16px;padding:20px;cursor:pointer;list-style:none}.carrier-card summary::-webkit-details-marker{display:none}.carrier-card summary>span:first-child{display:grid;gap:6px;flex:1;min-width:0}.carrier-card summary strong{font-size:15px;overflow-wrap:anywhere}.carrier-card summary small{font-size:12px;color:var(--muted)}.carrier-card summary b{font-size:16px;white-space:nowrap}.carrier-edit{color:var(--accent);font-size:13px;text-decoration:underline}.carrier-form{padding:0 20px 20px;display:grid;gap:20px}.carrier-form label{font-size:14px}.carrier-form button{justify-self:start;min-height:46px}.carrier-form .check-row{display:flex;align-items:center;gap:10px}.carrier-form .check-row input{width:19px;height:19px}.carrier-advanced summary{padding:10px 0;font-size:13px;color:var(--muted)}.carrier-advanced label{display:grid;gap:8px}.carrier-delete{padding:12px 20px;border-top:1px solid var(--line);margin:0;text-align:right}.carrier-delete .button-danger{font-size:12px;padding:8px 12px;min-height:40px}.new-carrier{padding-top:16px;border-top:1px solid var(--line);margin-top:20px}.new-carrier .carrier-form{padding:0}.new-carrier h3{font-size:20px;margin-bottom:22px}.shipping-empty{background:var(--bg);padding:18px;border-radius:10px;line-height:1.6}
.theme-v1 .delivery-options label{display:flex;align-items:center;gap:12px;padding:18px;min-height:72px}.delivery-options input{width:20px;height:20px;flex-shrink:0}.delivery-options label:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,var(--surface))}.delivery-options label>span{display:grid;gap:6px}.delivery-options strong{font-size:14px}.delivery-options small{font-size:12px;color:var(--muted);line-height:1.5}
[data-delivery-panel]>h3{margin:24px 0 14px;font-size:16px}.courier-options{display:grid;gap:10px;margin-bottom:24px}.courier-options>label{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:16px;min-height:60px;cursor:pointer}.courier-options input{width:20px;height:20px;flex-shrink:0}.courier-options label>span{flex:1;min-width:0;font-size:14px;overflow-wrap:anywhere}.courier-options label strong{font-size:13px;text-align:right}.courier-options label:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,var(--surface))}
.pickup-location{display:flex;gap:16px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--bg);margin:22px 0}.pickup-location>span{color:var(--accent);flex-shrink:0}.pickup-location h3{font-size:16px;margin:0 0 10px}.pickup-location p{margin:10px 0;line-height:1.7;overflow-wrap:anywhere}.pickup-location small{color:var(--muted);line-height:1.6;font-size:12px}
.summary-line{display:flex;align-items:start;justify-content:space-between;gap:18px;padding:12px 0;font-size:14px;line-height:1.55}.summary-line b{white-space:nowrap}.shipping-totals{margin-top:16px;border-top:1px solid var(--line);padding-top:8px}.shipping-totals .checkout-total{margin:12px 0;padding-top:18px;border-top:1px solid var(--line)}.shipping-totals .checkout-total strong{font-size:25px;overflow-wrap:anywhere}.shipping-totals .field-hint{font-size:12px;line-height:1.7;margin:14px 0 24px}.order-shipping{margin:24px 0;border-top:1px solid var(--line);padding-top:24px}.order-shipping p{line-height:1.7;overflow-wrap:anywhere}.confirmation-delivery{padding:20px;border:1px solid var(--line);background:var(--bg);border-radius:12px;text-align:left;margin:24px 0}.confirmation-delivery p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.delivery-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.delivery-info-grid p{line-height:1.7;overflow-wrap:anywhere}.delivery-contact{margin-top:24px}.delivery-contact p{line-height:1.7}
.owner-setup{margin:26px 0}.owner-setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.owner-setup-grid>a{display:flex;align-items:center;gap:14px;border:1px solid var(--line);padding:18px;border-radius:12px;text-decoration:none}.owner-setup-grid>a>div{flex:1;display:grid;gap:7px;min-width:0}.owner-setup-grid strong{font-size:14px;overflow-wrap:anywhere}.owner-setup-grid small{font-size:12px;color:var(--muted);line-height:1.5}.owner-setup-grid>a>svg{width:17px;color:var(--muted);flex-shrink:0}.owner-setup .collection-heading h2{font-size:26px}.owner-actions-refresh{grid-template-columns:repeat(4,minmax(0,1fr))}.owner-actions-refresh a{padding:24px 20px}.owner-actions-refresh small{line-height:1.7}
@media(max-width:1050px){.shipping-admin-layout{grid-template-columns:1fr}.shipping-help{position:static}.home-hero .hero-copy{padding-left:32px}.home-hero .hero-visual img{height:300px}.owner-actions-refresh{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-floating-card{left:5%;right:5%}.home-service-grid>a{padding:22px}}
@media(max-width:760px){.theme-v1 .home-hero{grid-template-columns:1fr;min-height:0;border-radius:18px;margin-top:0}.home-hero .hero-copy{padding:28px 24px 12px}.home-hero .hero-copy .eyebrow{font-size:10px;line-height:1.6}.home-hero .hero-copy h1{font-size:38px;max-width:100%;margin:18px 0;line-height:1.08}.home-hero .hero-copy>p:not(.eyebrow){font-size:14px;max-width:100%;line-height:1.65}.hero-actions{gap:16px;margin:22px 0 18px}.theme-v1 .home-hero .hero-cta{font-size:13px;padding:13px 18px;min-height:46px}.home-hero .hero-secondary{font-size:12px}.hero-footnote{font-size:11px}.home-hero .hero-visual{padding:0 24px 20px;height:196px}.home-hero .hero-visual img{height:190px;max-width:300px;width:100%;object-position:center}.home-hero .hero-halo{width:200px;height:180px}.hero-floating-card{display:none}.home-discovery{grid-template-columns:1fr;gap:14px;margin:26px 0 18px}.home-discovery h2{font-size:23px}.home-discovery p{font-size:13px}.home-search{gap:10px;padding-left:14px}.theme-v1 .home-search input{font-size:16px}.theme-v1 .home-search button{font-size:12px;padding:12px 14px;min-height:44px}.home-search button svg{display:none}.theme-v1 .collection-heading h2{font-size:25px}.collection-heading>a{font-size:12px;line-height:1.5}.theme-v1 .product-card h2{font-size:14px;line-height:1.45}.theme-v1 .card-price strong{font-size:20px}.product-card .availability{font-size:11px;line-height:1.6}.theme-v1 .product-card-details{font-size:12px;min-height:44px;display:flex;align-items:center}.product-card-category{font-size:11px}.product-card-installment{font-size:11px;line-height:1.6}.home-service-grid{grid-template-columns:1fr;gap:12px;margin:30px 0}.home-service-grid>a{padding:22px;position:relative}.home-service-grid h3{font-size:20px;margin:14px 0 10px}.home-service-grid p{font-size:14px;margin-bottom:15px}.home-service-grid b{font-size:13px}.home-empty{flex-direction:column;align-items:start;gap:12px;padding:24px}.home-empty h2{font-size:22px}.home-empty p{font-size:14px}.theme-v1 .home-finance{padding:26px;margin:28px 0}.home-finance h2{font-size:28px}.shipping-settings .editor-card,.carriers-panel{padding:22px 18px!important}.shipping-section-heading{gap:12px}.shipping-section-heading h2{font-size:22px!important}.shipping-settings .editor-submit{font-size:14px;white-space:normal;padding:16px;width:100%}.carrier-card summary{padding:16px;gap:10px;flex-wrap:wrap}.carrier-card summary b{font-size:15px}.carrier-card summary strong{font-size:14px}.carrier-form{padding:0 16px 18px}.carrier-form .field-grid{grid-template-columns:1fr}.carrier-form button{width:100%;font-size:14px}.carrier-delete{padding:12px 16px}.carrier-edit{font-size:12px}.shipping-help li{font-size:14px}.shipping-help .button-secondary{font-size:13px}.theme-v1 .checkout-card p{font-size:14px;line-height:1.7}.checkout-card .field-grid label{font-size:14px}.theme-v1 .checkout-card h2{font-size:21px}.theme-v1 .checkout-summary h2{font-size:21px}.checkout-item strong{font-size:14px}.checkout-item b{font-size:13px}.checkout-item small{font-size:12px;line-height:1.6}.pickup-location{padding:16px;gap:12px}.pickup-location p{font-size:14px}.shipping-totals .checkout-total strong{font-size:25px}.delivery-info-grid{grid-template-columns:1fr;gap:16px}.owner-setup-grid{grid-template-columns:1fr}.owner-setup .collection-heading{align-items:start;gap:16px}.owner-setup .collection-heading h2{font-size:23px}.owner-setup .collection-heading>a{font-size:12px}.owner-setup-grid>a{padding:16px 12px}.owner-actions-refresh{grid-template-columns:1fr}.owner-actions-refresh a{padding:18px 20px 18px 64px}.owner-actions-refresh strong{font-size:15px}.owner-actions-refresh small{font-size:13px}.owner-recent-row strong{font-size:14px}.owner-recent-row small,.owner-recent-row>span{font-size:12px}.owner-stats span{font-size:13px}.theme-v1 .admin-navigation>nav>a{font-size:13px;min-height:44px;display:flex;align-items:center}.theme-v1 .admin-top>div>a{display:flex;font-size:11px;padding:8px;min-height:40px}.theme-v1 .admin-top{gap:12px}.theme-v1 .admin-top>div{gap:8px}.admin-brand{min-width:0}.admin-brand>svg{display:none}}
@media(max-width:380px){.home-hero .hero-copy{padding:24px 20px 10px}.home-hero .hero-copy h1{font-size:34px}.hero-actions{gap:12px}.home-search>svg{display:none}.home-search{padding-left:12px}.theme-v1 .admin-top .admin-brand strong{font-size:12px}.theme-v1 .admin-top>div>a{font-size:10px}.theme-v1 .admin-top .button-secondary{padding:8px}.shipping-totals .checkout-total strong{font-size:23px}.courier-options label{padding:14px 12px}}
/* The light hero uses the owner's ink/muted colors, rather than the old dark-hero text. */
.theme-v1 .home-hero{color:var(--ink)}
.home-hero .hero-copy h1,.hero-floating-card strong{color:var(--ink)}
.home-hero .hero-copy .eyebrow,.home-hero .hero-copy>p:not(.eyebrow){color:var(--muted)}
.theme-v1 .home-hero .hero-secondary{color:var(--ink)!important}

.theme-v1 .owner-setup{margin:26px 0}

/* Shared homepage category picker. Pictures come from each site's own catalog. */
.home-category-selector{margin:30px 0 42px;min-width:0}
.category-selector-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.theme-v1 .category-selector-heading h2{font-size:26px;line-height:1.25;letter-spacing:-.035em;margin:0;color:var(--ink)}
.category-selector-all{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;min-height:44px;color:var(--ink);font-size:13px;font-weight:600;text-decoration:none}
.category-selector-all svg{width:18px;height:18px}
.category-choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:18px;min-width:0}
.theme-v1 .category-choice{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:calc(var(--radius) + 4px);overflow:hidden;background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .18s,box-shadow .18s}
.category-choice-media{position:relative;display:grid;place-items:center;aspect-ratio:1.4;background:#fff;overflow:hidden}
.category-choice-media img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;padding:18px;transition:transform .22s}
.category-choice-media>svg{width:48px;height:48px;color:var(--muted)}
.category-choice-info{display:flex;flex-direction:column;flex:1;padding:17px 18px 13px;gap:8px;min-width:0}
.category-choice-info strong{font-size:16px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.category-choice-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.category-choice-bottom small{font-size:12px;line-height:1.5;color:var(--muted)}
.category-choice-arrow{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--bg);color:var(--ink)}
.category-choice-arrow svg{width:16px;height:16px}
.category-selector-controls[hidden]{display:none!important}
.category-selector-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:8px}
.category-selector-controls p{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
.category-selector-controls>div{display:flex;gap:6px;flex-shrink:0}
.theme-v1 .category-selector-controls button{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink)}
.category-selector-controls button svg{width:18px;height:18px}
.category-selector-controls button:first-child svg{transform:rotate(180deg)}
.theme-v1 .category-selector-controls button:disabled{opacity:.35;cursor:default}
.category-choice:focus-visible,.category-selector-all:focus-visible,.category-selector-controls button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(hover:hover){.category-choice:hover{border-color:var(--accent);box-shadow:0 6px 20px #1018280a}.category-choice:hover img{transform:scale(1.04)}.category-selector-all:hover{text-decoration:underline}}
@media(min-width:1051px){.category-choice-list{grid-template-columns:repeat(4,minmax(0,1fr))}.category-choice-list:has(>.category-choice:only-child){grid-template-columns:minmax(185px,300px)}.category-choice-list:has(>.category-choice:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(185px,300px))}.category-choice-list:has(>.category-choice:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(185px,1fr))}}
@media(max-width:760px){
  .home-category-selector{margin:24px 0 30px}
  .category-selector-heading{gap:12px;margin-bottom:12px;align-items:center}
  .theme-v1 .category-selector-heading h2{font-size:22px}
  .category-selector-all{font-size:12px;gap:5px}
  .category-selector-all svg{width:16px;height:16px}
  .category-choice-list{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:156px;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:2px;padding:4px 2px 10px;margin:0 -2px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
  .category-choice-list:has(>.category-choice:nth-child(2):last-child){grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-columns:auto}
  .category-choice{scroll-snap-align:start;scroll-margin-inline:2px}
  .category-choice-media{aspect-ratio:1.2}
  .category-choice-media img{padding:12px}
  .category-choice-info{padding:12px 12px 10px;gap:7px}
  .category-choice-info strong{font-size:14px;line-height:1.45}
  .category-choice-bottom small{font-size:11px}
  .category-choice-arrow{width:24px;height:24px}
  .category-choice-arrow svg{width:14px;height:14px}
}
@media(max-width:380px){.theme-v1 .category-selector-heading h2{font-size:19px}.category-choice-list{grid-auto-columns:140px}.category-selector-all{font-size:11px}}
@media(prefers-reduced-motion:reduce){.category-choice,.category-choice-media img{transition:none}}
/* Native header search: compact suggestions with the same prices as the catalog. */
.header-search{position:relative}
.live-search-panel[hidden]{display:none!important}
.live-search-panel{position:absolute;top:calc(100% + 9px);left:0;right:0;max-height:min(65vh,520px);overflow-y:auto;overscroll-behavior:contain;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 14px 40px #10182826;text-align:left;z-index:100}
.live-search-status{margin:0;padding:14px 16px 9px;font-size:12px;line-height:1.5;color:var(--muted)}
.live-search-results{display:grid}
.live-search-item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;min-height:80px}
.live-search-item img{width:56px;height:56px;object-fit:contain;flex-shrink:0;background:white;border-radius:8px;padding:5px}
.live-search-copy{display:grid;gap:5px;min-width:0}
.live-search-copy strong{font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.live-search-copy small{font-size:11px;color:var(--muted);line-height:1.45}
.live-search-copy b{font-size:14px;color:var(--ink)}
.live-search-item:hover,.live-search-item[aria-selected=true]{background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.live-search-all{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;font-size:13px;font-weight:600;color:var(--accent);text-decoration:none;min-height:48px}
.live-search-all svg{width:18px;height:18px}
.live-search-item:focus-visible,.live-search-all:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
/* Three helpful shortcuts, using less space on a phone. */
.home-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:38px 0}
.theme-v1 .home-help-card{display:flex;align-items:center;gap:16px;min-width:0;padding:24px;border:1px solid var(--line);border-radius:calc(var(--radius) + 4px);background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .18s,background .18s}
.home-help-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--accent) 8%,var(--surface));color:var(--accent)}
.home-help-icon svg{width:23px;height:23px}
.home-help-copy{display:grid;gap:7px;min-width:0;flex:1}
.home-help-copy strong{font-size:16px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.home-help-copy>span{font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.home-help-arrow{display:grid;place-items:center;color:var(--muted);flex-shrink:0}
.home-help-arrow svg{width:17px;height:17px}
.home-help-card:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 3%,var(--surface))}
.home-help-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
/* Complete palette cards and empty-taxonomy controls in the common owner admin. */
.visibility-settings{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}
.visibility-settings .check-row{margin:0!important;font-size:14px!important}
.visibility-settings p{font-size:12px;line-height:1.6;color:var(--muted);margin:9px 0 0}
.visibility-settings>button{min-height:44px;flex-shrink:0;font-size:13px}
.theme-v1 .palette-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0 28px}
.theme-v1 .palette-card{display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:14px;text-align:left;background:var(--surface);color:var(--ink);font-family:inherit}
.theme-v1 .palette-card[aria-pressed=true]{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:2px}
.palette-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.palette-card>strong{font-size:15px;color:var(--ink)}
.palette-card>small{font-size:11px;line-height:1.55;color:var(--muted);font-weight:400}
.palette-mini{display:grid;gap:10px;width:100%;padding:10px;background:var(--palette-bg);border-radius:8px}
.palette-mini-top{display:flex;justify-content:space-between;align-items:center;background:var(--palette-surface);padding:7px;border-radius:3px}
.palette-mini-top i{width:24%;height:5px;background:var(--palette-ink);border-radius:2px}
.palette-mini-top b{width:12%;height:6px;background:var(--palette-accent);border-radius:2px}
.palette-mini-hero{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:8px;background:var(--palette-surface);border-radius:5px}
.palette-mini-hero i{width:45%;height:16px;border-top:5px solid var(--palette-ink);border-bottom:5px solid var(--palette-accent)}
.palette-mini-hero b{width:25px;height:25px;border-radius:50%;background:var(--palette-accent);opacity:.22}
.palette-mini-products{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.palette-mini-products i{height:26px;background:var(--palette-surface);border-bottom:4px solid var(--palette-accent);border-radius:3px}
.palette-swatches{display:flex;gap:5px;margin-top:auto}
.palette-swatches i{width:16px;height:16px;border-radius:50%;border:1px solid #00000016}
@media(max-width:1050px){.theme-v1 .palette-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-v1 .home-help-card{padding:18px;gap:12px}.home-help-icon{width:36px;height:36px}.home-help-copy strong{font-size:14px}.home-help-arrow{display:none}}
@media(max-width:760px){.live-search-panel{top:calc(100% + 7px);max-height:58vh}.live-search-item{padding:10px 12px;gap:10px}.live-search-copy strong{font-size:13px}.live-search-copy small{font-size:11px}.home-help-grid{grid-template-columns:1fr;gap:10px;margin:28px 0}.theme-v1 .home-help-card{padding:17px 16px;gap:14px}.home-help-icon{width:40px;height:40px}.home-help-copy strong{font-size:15px}.home-help-copy>span{font-size:12px}.home-help-arrow{display:grid}.visibility-settings{align-items:stretch;flex-direction:column;gap:14px}.visibility-settings>button{align-self:start}.theme-v1 .palette-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-v1 .palette-card{padding:10px}.palette-card>small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.home-help-card{transition:none}}

/* Mobile search lives inside the menu; the header keeps one compact row. */
.drawer-search{display:none}
@media(max-width:760px){
.theme-v1.is-public .shop-header .header-inner{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:auto;gap:10px;padding:10px 16px}
.is-public .desktop-header-search{display:none!important}
.is-public .header-inner .shop-logo{grid-column:2;grid-row:1;justify-self:center;max-width:100%;overflow:hidden}
.is-public .header-inner .shop-logo strong{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.is-public .header-inner .shop-logo img{max-width:100%;max-height:44px}
.is-public .header-cart{grid-column:3;grid-row:1}.is-public .menu-toggle{grid-column:1;grid-row:1}
.is-public .drawer-search{display:grid;grid-template-columns:20px minmax(0,1fr) 40px;margin:0 18px 18px;padding:8px 10px;min-height:52px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);position:relative}
.drawer-search>svg{width:20px;height:20px}.drawer-search input{min-width:0;width:100%;font-size:16px!important;background:transparent;color:var(--ink);padding:8px;border:0!important;outline-offset:1px}.drawer-search>button{width:40px;height:40px;padding:10px;background:transparent;color:var(--ink);border:0}.drawer-search>button svg{width:20px;height:20px}
.shop-drawer{padding:0;width:min(390px,calc(100vw - 24px));max-width:100vw}.drawer-search .live-search-panel{left:0;right:0;max-height:55dvh;z-index:10}.shop-drawer .drawer-head{padding:20px 18px}.shop-drawer>nav{padding:0 18px 24px}
}
