.store-site-header { position: sticky; top: 0; z-index: 40; background: var(--white); box-shadow: var(--shadow-xs); font-family: var(--font-body); }
.store-nav-primary { display: grid; width: min(100% - 40px,1290px); min-height: 88px; grid-template-columns: 240px minmax(260px,1fr) auto; align-items: center; gap: var(--space-28); margin-inline: auto; }
.store-brand img { display: block; width: auto; height: 40px; }
.store-nav-search { display: flex; min-width: 0; height: 50px; align-items: center; gap: var(--space-14); padding: 0 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); }
.store-nav-search:focus-within { border-color: var(--brand-600); box-shadow: var(--ring-brand); }
.store-nav-search svg { flex: 0 0 20px; width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.store-nav-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: var(--text-md); }
.store-nav-search input::placeholder { color: var(--muted); opacity: .8; }
.store-nav-links { display: flex; align-items: center; gap: var(--space-28); color: var(--ink); font-size: var(--text-md); white-space: nowrap; }
.store-nav-links a:not(.cart-link):hover,.store-category-nav a:hover { color: var(--brand-700); }
.store-nav-links .cart-link { color: var(--ink); }
.store-nav-links .cart-link svg { width: 25px; }
.store-category-nav { display: flex; min-height: 54px; align-items: center; gap: 34px; padding: 0 max(20px,calc((100vw - 1290px)/2)); overflow-x: auto; background: var(--brand-500); color: var(--ink); font: 500 15px/1.5 var(--font-body); white-space: nowrap; scrollbar-width: thin; }
.store-new-arrivals { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.store-new-arrivals svg { width: 18px; height: 22px; fill: currentColor; }
.store-new-arrivals[aria-current="page"] { font-weight: 700; }
.store-nav-category-list { display: contents; }
.store-category-nav a { flex: 0 0 auto; }
.store-category-nav a:focus-visible,.store-nav-links a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.store-hero { overflow: hidden; color: var(--white); background: radial-gradient(140% 100% at 15% 0%,#4a2f18 0%,var(--ink) 60%); }
.store-hero-grid { min-height: 360px; padding-block: 42px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: var(--space-48); }
.store-hero h1 { max-width: 660px; margin: 15px 0 0; font: 600 48px/1.12 var(--font-display); }
.store-hero p:not(.eyebrow) { max-width: 510px; margin: var(--space-18) 0 0; color: var(--white-a72); font-size: var(--text-xl); line-height: 1.6; }
.store-hero-art { position: relative; height: 300px; overflow: hidden; border: 1px solid var(--white-a10); border-radius: var(--radius-lg); background: radial-gradient(80% 90% at 30% 20%,#fdbc0533,transparent),linear-gradient(135deg,var(--ink-soft),var(--ink)); }
.art-ring { position: absolute; width: 250px; height: 250px; right: 30px; top: 25px; border: 1px solid #fdbc0566; border-radius: var(--radius-round); }
.art-block { position: absolute; display: block; border: 1px solid var(--white-a24); box-shadow: var(--shadow-dark); }
.art-block-one { left: 18%; top: 25%; width: 105px; height: 145px; transform: rotate(-14deg); background: linear-gradient(145deg,var(--brand-500),#7a3e2c); }
.art-block-two { left: 43%; top: 18%; width: 135px; height: 180px; transform: rotate(12deg); background: linear-gradient(145deg,#f5eee2,#ad9c83); }
.art-block-three { right: 14%; bottom: 14%; width: 115px; height: 80px; transform: rotate(-7deg); background: linear-gradient(145deg,#5c5143,#151515); }
.art-label { position: absolute; left: 26px; bottom: 24px; color: var(--white-a72); font: 600 10px/1.6 var(--font-display); letter-spacing: .18em; }
.public-site .store-benefits-section { padding-block: var(--space-28); }
.public-site .store-categories-section { padding-block: var(--space-32) 42px; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-14); }
.value-grid article { display: flex; gap: var(--space-12); padding: var(--space-18); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.value-mark { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-round); color: var(--brand-text); background: var(--brand-50); font-weight: 700; }
.value-grid h2 { margin: 0; font: 600 18px/1.4 var(--font-display); }
.value-grid p { margin: 5px 0 0; color: var(--muted); font-size: var(--text-lg); line-height: 1.5; }
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-16); margin-top: var(--space-26); }
.category-card { position: relative; display: flex; min-height: 150px; flex-direction: column; align-items: flex-start; gap: 9px; padding: var(--space-22); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform var(--duration-base),border-color var(--duration-base),box-shadow var(--duration-base); }
.category-card { text-decoration: none; }
.category-card:hover { transform: translateY(-3px); border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.category-card strong { font: 600 20px var(--font-display); }
.category-initial { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); color: var(--brand-700); background: var(--brand-50); font: 700 16px var(--font-display); }
.category-card .text-link { font-size: var(--text-sm); }
.public-site .section#catalog { padding-top: var(--space-32); }
.catalog-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); align-items: start; gap: var(--space-32); }
.catalog-sidebar { position: sticky; top: 24px; padding: var(--space-18); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.catalog-sidebar h2 { margin: 0 0 var(--space-12); font: 600 17px var(--font-display); }
.category-sidebar-tree ul { margin: 0; padding: 0; list-style: none; }
.category-sidebar-all,.category-sidebar-select { width: 100%; padding: var(--space-8) 9px; border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--ink-soft); font: inherit; font-size: var(--text-sm); text-align: left; cursor: pointer; }
.category-sidebar-all { margin-bottom: var(--space-4); font-weight: 700; }
.category-sidebar-row { display: flex; align-items: center; gap: 3px; }
.category-sidebar-select { flex: 1; }
.category-sidebar-all:hover,.category-sidebar-select:hover { background: var(--surface); color: var(--brand-700); }
.category-sidebar-all.active,.category-sidebar-select.active { background: var(--brand-50); color: var(--brand-700); font-weight: 700; }
.category-sidebar-toggle,.category-sidebar-toggle-spacer { display: grid; flex: 0 0 28px; width: 28px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--muted); font: 600 16px/1 var(--font-body); }
.category-sidebar-toggle { cursor: pointer; }
.category-sidebar-toggle:hover { background: var(--surface); color: var(--ink); }
.category-sidebar-children { padding-left: var(--space-14) !important; }
.catalog-main { min-width: 0; }
.catalog-main .catalog-controls { margin-top: 0; }
.catalog-main .store-product-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,190px),1fr)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-18); margin-top: var(--space-30); padding-bottom: var(--space-20); border-bottom: 1px solid var(--line); }
.catalog-search-sort { display: flex; align-items: center; gap: var(--space-12); }
.catalog-controls input,.catalog-controls select { box-sizing: border-box; height: 39px; min-height: 39px; padding: var(--space-8) var(--space-10); border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--white); color: var(--ink); font-size: var(--text-base); }
.search-field input { width: 210px; }
.catalog-controls .per-page input { width: 72px; }
.store-product-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,190px),1fr)); gap: var(--space-14); margin-top: var(--space-20); }
.store-product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform var(--duration-base),box-shadow var(--duration-base); cursor: pointer; }
.store-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-product-media { position: relative; }
.new-arrival-badge { position: absolute; z-index: 1; top: 10px; left: 10px; padding: var(--space-6) 11px; border: 1px solid var(--brand-600); border-radius: var(--radius-pill); background: var(--brand-500); color: var(--ink); font: 600 11px/1.3 var(--font-display); }
.store-product-image-link { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.product-image-controls { position: absolute; right: 9px; bottom: 9px; left: 9px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.product-image-nav { display: grid; width: 24px; height: 24px; place-items: center; padding: 0 0 2px; border: 1px solid var(--white-a72); border-radius: var(--radius-round); background: var(--white); color: var(--ink); box-shadow: 0 2px 8px #0002; font: 400 20px/1 var(--font-body); cursor: pointer; pointer-events: auto; }
.product-image-nav:hover { background: var(--brand-500); }
.product-image-nav:disabled { filter: blur(1px); opacity: .55; cursor: default; }
.product-image-nav:disabled:hover { background: var(--white); }
.product-image-nav:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }
.product-image { display: grid; width: 100%; height: 100%; min-height: 100px; place-items: center; overflow: hidden; background: radial-gradient(90% 90% at 35% 20%,var(--brand-50),#e8dac5); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { display: grid; width: 66%; height: 66%; place-items: center; border: 1px solid #2c1a1224; border-radius: var(--radius-sm); color: var(--ink-soft); background: linear-gradient(145deg,var(--white),#d8c8b2); box-shadow: var(--shadow-lg); }
.product-placeholder span { font: 600 38px var(--font-display); }
.product-category-chip { position: absolute; right: 10px; top: 10px; max-width: calc(100% - 20px); overflow: hidden; padding: var(--space-6) 9px; border-radius: var(--radius-pill); background: var(--white); color: var(--ink-soft); font-size: 10px; font-weight: 700; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.store-product-body { display: flex; flex: 1; flex-direction: column; padding: 11px; }
.store-product-body h3 { margin: 0; font: 600 13px/1.35 var(--font-display); }
.store-product-body h3 a:hover { color: var(--brand-text); }
.store-product-actions { display: flex; }
.store-product-body > .store-product-actions,.store-product-body > .product-tags + .store-product-actions { margin-top: auto; padding-top: var(--space-10); }
.public-site .store-product-actions .button { width: 100%; min-height: 0; padding: 9px var(--space-10); border-radius: var(--radius-md); font-size: var(--text-xs); line-height: 18px; text-align: center; }
.store-status { margin: var(--space-18) 0 0; color: var(--muted); font-size: var(--text-base); }
.public-site .product-detail-section { padding: var(--space-32) 0 50px; }
.product-breadcrumbs { margin-bottom: var(--space-32); color: var(--muted); }
.product-breadcrumbs a:hover { color: var(--brand-700); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: var(--space-48); }
.product-detail-grid[hidden] { display: none; }
.product-information { min-width: 0; padding-top: var(--space-8); }
.product-gallery-controls { top: 50%; bottom: auto; transform: translateY(-50%); }
.product-gallery-controls .product-image-nav { width: 36px; height: 36px; font-size: 26px; }
.product-gallery { position: sticky; top: 100px; aspect-ratio: 1/1; max-height: calc(100vh - 120px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.product-gallery .product-image img { object-fit: contain; }
.product-information h1 { margin: var(--space-14) 0 0; font: 600 34px/1.25 var(--font-display); }
.product-short-description { margin: var(--space-14) 0 0; color: var(--ink-soft); line-height: 1.7; }
.product-purchase { display: flex; gap: var(--space-12); margin-top: var(--space-28); }
.product-quantity { display: flex; align-items: center; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.product-quantity button { width: 42px; height: 54px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: var(--text-5xl); cursor: pointer; }
.product-quantity button:disabled { opacity: .4; cursor: not-allowed; }
.product-quantity input { width: 54px; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: center; appearance: textfield; -moz-appearance: textfield; }
.product-quantity input::-webkit-inner-spin-button,.product-quantity input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.public-site .product-purchase .button { flex: 1; min-height: 56px; padding: var(--space-10) var(--space-18); }
.product-support { margin-top: var(--space-32); padding: var(--space-24); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--brand-50); }
.product-support h2 { display: flex; align-items: center; gap: var(--space-10); margin: 0; font: 600 18px/1.4 var(--font-display); }
.product-support-icon { flex: 0 0 24px; width: 24px; height: 24px; color: var(--brand-700); }
.product-support p { margin: var(--space-12) 0; color: var(--ink-soft); line-height: 1.7; }
.product-support .text-link { text-decoration: underline; }
.product-long-description { margin-top: var(--space-30); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-long-description summary { position: relative; padding: var(--space-20) 30px var(--space-20) 0; font: 600 23px/1.3 var(--font-display); list-style: none; cursor: pointer; }
.product-long-description summary::-webkit-details-marker { display: none; }
.product-long-description summary::after { position: absolute; right: 4px; content: "+"; color: var(--brand-700); }
.product-long-description[open] summary::after { content: "\2212"; }
.product-long-description .body-copy { margin: 0 0 var(--space-24); white-space: pre-line; overflow-wrap: anywhere; }
.product-added-dialog { width: min(94vw,480px); padding: var(--space-30); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); color: var(--ink); box-shadow: var(--shadow-xl); }
.product-added-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: var(--text-5xl); cursor: pointer; }
.product-added-dialog h2 { margin: 0; font: 600 24px var(--font-display); }
.product-added-dialog p { margin: var(--space-12) 0 var(--space-24); color: var(--ink-soft); overflow-wrap: anywhere; }
.product-added-actions { display: grid; gap: var(--space-10); }
.public-site .product-added-actions .button { width: 100%; padding: var(--space-10) var(--space-18); text-align: center; }
.product-continue-shopping { border-color: var(--line); background: var(--white); color: var(--ink); }
.product-continue-shopping:hover { background: var(--surface); }
html:has(#product-detail) { scrollbar-width: none; }
html:has(#product-detail)::-webkit-scrollbar { display: none; }
.product-category { display: inline-block; padding: var(--space-6) 11px; border-radius: var(--radius-pill); color: var(--brand-700); background: var(--brand-50); font-size: var(--text-2xs); font-weight: 700; text-transform: uppercase; }
.product-meta-badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8); }
.product-new-arrival { display: inline-flex; align-items: center; padding: var(--space-6) 11px; border: 1px solid var(--brand-300); border-radius: var(--radius-pill); background: var(--brand-50); color: var(--brand-700); font: 600 11px/1.3 var(--font-display); text-transform: uppercase; }
.product-new-arrival[hidden] { display: none; }
.tag-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8); margin-top: var(--space-16); }
.tag-filters-label { color: var(--muted); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; }
.tag-chip { display: inline-block; padding: 5px var(--space-12); border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); color: var(--ink-soft); font-family: inherit; font-size: var(--text-xs); font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer; transition: border-color var(--duration-fast), background var(--duration-fast); }
.tag-chip:hover { border-color: var(--brand-500); }
.tag-chip.active { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); }
.tag-filters-clear { padding: 5px var(--space-4); border: 0; background: none; color: var(--brand-text); font-family: inherit; font-size: var(--text-xs); font-weight: 600; text-decoration: underline; cursor: pointer; }
.product-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: var(--space-10) 0 0; }
.product-tags[hidden] { display: none; }
.product-tags .tag-chip { padding: 2px 9px; font-size: var(--text-2xs); }
.cart-page h1 { margin: var(--space-16) 0 0; font: 600 34px var(--font-display); }
.page-intro-dark { color: var(--muted); }
.cart-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: start; gap: var(--space-26); margin-top: var(--space-24); }
.cart-items { display: grid; min-width: 0; align-content: start; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.cart-line { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: var(--space-16); padding: var(--space-18); border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-product-image { width: 92px; height: 92px; border-radius: var(--radius-sm); }
.cart-line-details { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: var(--space-6) var(--space-12); }
.cart-line-details > a { grid-column: 1; font-weight: 600; overflow-wrap: anywhere; }
.cart-category { grid-column: 1; color: var(--muted); font-size: var(--text-sm); overflow-wrap: anywhere; }
.quantity-controls { display: inline-flex; align-items: center; grid-column: 1; width: max-content; border: 1px solid var(--line); border-radius: var(--radius-xs); }
.quantity-controls button { width: 32px; height: 30px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: var(--text-2xl); }
.quantity-controls span { min-width: 28px; text-align: center; font-size: var(--text-sm); }
.cart-remove { grid-column: 2; grid-row: 1; justify-self: end; border: 0; background: none; color: var(--muted); font-size: var(--text-xs); text-decoration: underline; cursor: pointer; }
.cart-summary { align-self: start; padding: var(--space-22); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.cart-summary h2 { margin: 0 0 var(--space-18); font: 600 19px var(--font-display); }
.cart-summary-count { margin: 0; color: var(--ink-soft); font-size: var(--text-base); }
.cart-summary-count strong { color: var(--ink); }
.cart-summary-items { display: flex; flex-wrap: wrap; gap: var(--space-10); margin-top: var(--space-16); }
.cart-summary-items:empty { display: none; }
.cart-summary-item { display: block; flex: 0 0 58px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.cart-summary-image { width: 58px; height: 58px; }
.cart-summary-image img { object-fit: contain; }
.cart-summary-explanation { margin: var(--space-20) 0; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.6; }
.cart-summary .button { width: 100%; }
.cart-help { margin: var(--space-18) 0 0; color: var(--muted); font-size: var(--text-base); text-align: center; }
.cart-help a { color: var(--brand-700); font-weight: 600; text-decoration: underline; }
.cart-empty { padding: var(--space-32); text-align: center; }
.cart-empty p { color: var(--muted); }
.cart-breadcrumbs { color: var(--muted); }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--radius-round); background: var(--white); font-size: 23px; cursor: pointer; }
.account-section { min-height: 70vh; display: grid; place-items: center; padding: var(--space-48) var(--space-16); background: var(--surface); }
.account-panel { width: min(100%,460px); padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-md); }
.account-back { display: inline-block; margin-bottom: var(--space-28); color: var(--muted); font-size: var(--text-sm); }
.account-panel .eyebrow { color: var(--brand-text); font-size: var(--text-2xs); }
.account-panel h1 { margin: var(--space-8) 0 0; font: 600 28px var(--font-display); }
.account-intro { margin: var(--space-8) 0 0; color: var(--muted); font-size: var(--text-lg); }
.account-form { display: grid; gap: 15px; margin-top: var(--space-24); }
.account-form label,.staff-form label { display: grid; gap: 7px; color: var(--ink); font-size: var(--text-sm); font-weight: 600; }
.account-form label { font-size: var(--text-lg); }
.account-form input,.staff-form input,.staff-form select,.staff-form textarea { min-width: 0; width: 100%; padding: 11px var(--space-12); border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--white); color: var(--ink); outline: none; }
.account-form input:focus,.staff-form input:focus,.staff-form select:focus,.staff-form textarea:focus { border-color: var(--brand-600); }
.account-form .button { width: 100%; }
.account-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-10); color: var(--brand-text); font-size: var(--text-sm); }
.account-form + .form-note { margin-top: var(--space-14); }
@media(max-width:1120px) { .catalog-layout { grid-template-columns: 1fr; } .catalog-controls { grid-template-columns: 1fr; } .catalog-search-sort { justify-content: flex-end; } }
@media(max-width:760px) { .store-hero-grid { min-height: 0; grid-template-columns: 1fr; gap: var(--space-28); padding-block: 34px; } .store-hero h1 { font-size: var(--text-10xl); } .store-hero-art { height: 250px; } .value-grid { grid-template-columns: 1fr; } .category-grid { grid-template-columns: repeat(2,1fr); } .product-detail-grid,.cart-layout { grid-template-columns: 1fr; gap: var(--space-22); } .product-gallery { position: relative; top: auto; max-height: 460px; } .product-information h1 { font-size: 26px; } }
@media(max-width:560px) { .store-hero h1 { font-size: 34px; } .store-hero-art { height: 215px; } .category-grid { grid-template-columns: 1fr; } .category-card { min-height: 112px; } .store-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; } .category-field select { width: 100%; } .catalog-controls,.category-field { width: 100%; } .cart-line { grid-template-columns: 72px minmax(0,1fr); gap: var(--space-12); padding: 13px; } .cart-product-image { width: 72px; height: 72px; } .cart-line-details { grid-template-columns: minmax(0,1fr); } .cart-remove { grid-column: 1; grid-row: auto; justify-self: start; } .account-panel { padding: 25px var(--space-20); } }

@media(max-width:900px) { .store-nav-primary { grid-template-columns: 180px minmax(160px,1fr) auto; gap: var(--space-18); } .store-nav-links { gap: var(--space-18); font-size: var(--text-base); } }
@media(max-width:700px) { .store-nav-primary { width: min(100% - 32px,1290px); grid-template-columns: auto 1fr; gap: var(--space-12) var(--space-18); padding-block: var(--space-12); } .store-brand img { height: 36px; } .store-nav-search { grid-column: 1 / -1; grid-row: 2; height: 44px; } .store-nav-links { grid-column: 2; grid-row: 1; justify-self: end; gap: var(--space-16); } .store-category-nav { gap: var(--space-24); padding-inline: var(--space-16); } }
@media(max-width:420px) { .store-nav-links { gap: var(--space-10); font-size: var(--text-xs); } .store-nav-links .cart-link { width: 24px; } .store-nav-links .cart-link svg { width: 22px; } .store-category-nav { gap: var(--space-20); font-size: var(--text-base); } }

.customer-dialog { width: min(94vw,560px); max-height: 90vh; overflow-y: auto; padding: var(--space-28); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-xl); }
.customer-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-18); }
.customer-dialog-header h2 { margin: var(--space-4) 0 0; font: 600 24px var(--font-display); }
.customer-dialog .icon-button { flex: 0 0 auto; }
.customer-choice-dialog { border-color: #765840; background: radial-gradient(circle at top right,#624129 0,transparent 58%),var(--ink); color: var(--white); }
.customer-choice-dialog .eyebrow { color: var(--brand-300); }
.customer-choice-dialog .icon-button { border-color: var(--white-a44); background: var(--white-a10); color: var(--white); }
.customer-choice-dialog .icon-button:hover { background: var(--white-a24); }
.customer-choice-dialog .icon-button:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; }
.customer-choice-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-14); margin-top: var(--space-26); }
.customer-choice-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-10); min-height: 220px; padding: var(--space-20); border: 1px solid transparent; border-radius: var(--radius-lg); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; transition: transform var(--duration-base),box-shadow var(--duration-base); }
.customer-choice-existing { background: #fff8e9; border-color: #e8d4b8; }
.customer-choice-new { background: var(--brand-500); border-color: var(--brand-500); }
.customer-choice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-dark); }
.customer-choice-card:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.customer-choice-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-xl); background: #2c1a1214; color: var(--ink); }
.customer-choice-icon svg { width: 23px; height: 23px; }
.customer-choice-card strong { font-size: var(--text-2xl); }
.customer-choice-description { color: var(--ink-soft); font-size: var(--text-base); line-height: 1.6; }
.customer-choice-action { display: flex; align-items: center; gap: var(--space-8); margin-top: auto; padding-top: var(--space-6); font-size: var(--text-sm); font-weight: 700; }
.customer-choice-action span { font-size: var(--text-2xl); line-height: 1; }
.account-intro { color: var(--muted); line-height: 1.6; }
.customer-registration-dialog { width: min(94vw,620px); }
.customer-registration-dialog .account-intro { margin: var(--space-10) 0 0; }
.customer-registration-dialog .account-form { margin-top: var(--space-18); }
.account-form textarea { min-width: 0; width: 100%; padding: 11px var(--space-12); border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--white); color: var(--ink); font: inherit; resize: vertical; }
.account-form textarea:focus { border-color: var(--brand-600); outline: none; }
.optional-label { color: var(--muted); font-size: var(--text-xs); font-weight: 400; }
.company-suggestions:not([hidden]) { display: grid; max-height: 190px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius-xs); }
.company-suggestion { padding: var(--space-10) var(--space-12); border: 0; background: var(--white); color: var(--ink); text-align: left; cursor: pointer; }
.company-suggestion:hover,.company-suggestion:focus-visible { background: var(--surface); }
.new-arrivals-dialog { width: min(1100px,94vw); max-width: none; max-height: min(90vh,900px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-xl); }
.new-arrivals-dialog-content { padding: var(--space-28); }
.new-arrivals-dialog .customer-dialog-header { align-items: center; }
.new-arrivals-dialog .customer-dialog-header h2 { max-width: 700px; font-size: var(--text-6xl); }
.new-arrivals-dialog .eyebrow { color: var(--brand-text); }
.new-arrivals-dialog-intro { max-width: 680px; margin: var(--space-12) 0 0; color: var(--ink-soft); line-height: 1.6; }
.new-arrivals-dialog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--space-14); margin-top: var(--space-20); }
.new-arrivals-dialog-actions { display: flex; flex-wrap: wrap; gap: var(--space-10); margin-top: var(--space-22); }
.new-arrivals-dialog-actions .button { min-height: 48px; padding: var(--space-10) 22px; }
@media(max-width:560px) { .customer-dialog { padding: 22px var(--space-18); } .customer-choice-cards { grid-template-columns: 1fr; } .customer-choice-card { min-height: auto; } }
@media(max-width:800px) {
  .catalog-layout { grid-template-columns: 1fr; gap: var(--space-20); }
  .catalog-sidebar { position: static; }
  .catalog-main .store-product-grid,.store-product-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,170px),1fr)); }
  .catalog-controls { align-items: stretch; flex-direction: column; gap: var(--space-12); }
  .catalog-search-sort { width: 100%; min-width: 0; justify-content: stretch; flex-direction: row; }
  .catalog-search-sort .search-field { flex: 1 1 auto; min-width: 0; }
  .catalog-search-sort .search-field input { width: 100%; }
  .catalog-search-sort .per-page { flex: 0 0 72px; }
  .category-field,.category-field select { width: 100%; }
  .new-arrivals-dialog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:800px) { .product-category-chip { top: 5px; right: 5px; max-width: calc(100% - 10px); padding: 2px 5px; font-size: 7px; line-height: 1.2; letter-spacing: 0; } }
@media(max-width:400px) { .store-product-body { padding: var(--space-10); } .product-purchase { flex-wrap: wrap; } .product-purchase .product-quantity { flex: 1 0 100%; justify-content: center; } .public-site .product-purchase .button { flex-basis: 100%; } }
@media(max-width:560px) {
  .new-arrivals-dialog { width: min(96vw,540px); }
  .new-arrivals-dialog-content { padding: var(--space-22); }
  .new-arrivals-dialog-grid { grid-template-columns: 1fr; }
  .new-arrivals-dialog-actions { flex-direction: column; }
  .new-arrivals-dialog-actions .button { width: 100%; }
}
.product-added-dialog::backdrop, .customer-dialog::backdrop, .new-arrivals-dialog::backdrop { background: var(--scrim-ink); }
