:root {
  color-scheme: dark;
  --ink: #f4f4f4;
  --ink-soft: #dedede;
  --paper: #0a0a0a;
  --canvas: #121212;
  --surface: #181818;
  --surface-raised: #202020;
  --muted: #b7b7b7;
  --line: #393939;
  --accent: #d4af37;
  --accent-hover: #edc94d;
  --accent-soft: #332b13;
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI", Arial, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 3px 14px rgba(0, 0, 0, .28);
  --shadow-dialog: 0 16px 48px rgba(0, 0, 0, .62);
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.announcement { min-height: 36px; display: flex; align-items: center; justify-content: center; padding: 8px 16px; color: #fff; background: var(--ink); font-size: 13px; text-align: center; }
.site-header { position: sticky; z-index: 20; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.header-main { min-height: 76px; display: grid; grid-template-columns: 150px minmax(240px, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 40px); }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-size: 15px; font-weight: 750; letter-spacing: .04em; white-space: nowrap; }
.search { height: 48px; display: flex; align-items: center; gap: 11px; padding: 0 12px 0 15px; border: 1px solid #c9cdd2; border-radius: var(--radius-sm); background: #fff; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.search input::placeholder { color: #8a8a8a; }
.search kbd { border: 1px solid #e6e6e6; border-radius: 3px; padding: 2px 5px; color: #666; font-family: var(--font-body); font-size: 12px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-action { position: relative; min-width: 48px; min-height: 48px; display: grid; justify-items: center; align-content: center; gap: 3px; padding: 4px 6px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 12px; white-space: nowrap; }
.header-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.header-action:hover { color: var(--accent); }
.action-count { position: absolute; top: 0; right: 1px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border-radius: 20px; color: white; background: var(--accent); font-style: normal; font-size: 12px; }
.action-count:empty { display: none; }
.category-nav { border-top: 1px solid #f0f1f2; }
.category-nav__inner { min-height: 44px; display: flex; align-items: center; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.category-nav__inner::-webkit-scrollbar { display: none; }
.category-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; padding: 10px 0; color: var(--ink-soft); font-size: 14px; transition: color var(--transition); }
.category-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: var(--accent); transform: scaleX(0); transition: transform var(--transition); }
.category-nav a:hover, .category-nav a.is-active { color: var(--ink); }
.category-nav a:hover::after, .category-nav a.is-active::after { transform: scaleX(1); }

.hero { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 40px; align-items: center; margin-top: 32px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); }
.hero__copy { max-width: 470px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 650; letter-spacing: -.045em; line-height: 1.08; }
.hero h1 em { color: var(--ink-soft); font-style: normal; }
.hero__description { max-width: 420px; margin: 20px 0 24px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; font-size: 15px; font-weight: 650; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.button--primary, .button--dark { color: #fff; background: var(--accent); }
.button--primary:hover, .button--dark:hover { background: var(--accent-hover); }
.button--secondary, .button--outline { border-color: #bfc4cb; color: var(--ink); background: #fff; }
.button--secondary:hover, .button--outline:hover { border-color: var(--ink); background: #f7f8fa; }
.button:disabled, .button[aria-disabled="true"] { color: #61666d; background: #e7e9ed; cursor: not-allowed; }
.hero__campaign { min-width: 0; margin: 0; }
.hero-animation-frame picture { display: block; width: 100%; height: 100%; }
.hero-banner { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: contain; border-radius: var(--radius-sm); background: #f5f6f7; }
.hero-animation-frame { position: relative; width: min(100%, 390px); aspect-ratio: 2 / 3; margin-inline: auto; overflow: hidden; border: 1px solid #e4e5e7; border-radius: var(--radius-md); background: #e8e7e5; box-shadow: 0 18px 42px rgba(20, 24, 31, .12); isolation: isolate; }
.hero-banner--animation { width: 100%; height: 100%; aspect-ratio: 2 / 3; object-fit: cover; animation: hero-camera-move 15s ease-in-out infinite; }
.hero-animation-light { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.hero-animation-light::before { position: absolute; top: -20%; bottom: -20%; left: -45%; width: 32%; content: ""; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), rgba(221,232,255,.28), transparent); filter: blur(9px); opacity: 0; transform: skewX(-14deg); animation: hero-light-sweep 15s ease-in-out infinite; }
.hero__campaign figcaption { max-width: 390px; margin: 10px auto 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
@keyframes hero-camera-move {
  0%, 100% { transform: scale(1.015) translate3d(0, 0, 0); }
  20% { transform: scale(1.055) translate3d(-.6%, 0, 0); }
  48% { transform: scale(1.085) translate3d(.7%, -.3%, 0); }
  72% { transform: scale(1.055) translate3d(-.4%, .2%, 0); }
}
@keyframes hero-light-sweep {
  0%, 5%, 77%, 100% { left: -45%; opacity: 0; }
  10% { opacity: .8; }
  24% { left: 120%; opacity: 0; }
  48% { left: -45%; opacity: 0; }
  54% { opacity: .75; }
  68% { left: 120%; opacity: 0; }
}

.catalog-section { padding-top: 56px; padding-bottom: 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 20px; }
.eyebrow--muted { margin-bottom: 8px; color: var(--muted); }
.section-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.7vw, 34px); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.section-heading > p { max-width: 420px; margin: 0 0 3px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.category-cards { display: flex; gap: 12px; overflow-x: auto; padding: 3px 2px 12px; scrollbar-width: thin; scrollbar-color: #c9cbd3 transparent; }
.category-card { position: relative; min-width: 200px; min-height: 136px; flex: 0 0 200px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f8f9fa; cursor: pointer; transition: border-color var(--transition), background var(--transition); text-align: left; }
.category-card:hover { border-color: var(--accent); background: #f2f4f7; }
.category-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.category-card__count { color: var(--muted); font-size: 12px; }
.category-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--accent); background: #fff; }
.category-card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.category-card__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.category-card__title { max-width: 168px; font-family: var(--font-display); font-size: 16px; font-weight: 650; line-height: 1.35; }
.category-card__arrow { color: var(--accent); }
.category-card__arrow svg, .details-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.featured-section { padding-top: 40px; padding-bottom: 32px; }
.section-heading--featured { margin-bottom: 20px; }
.section-heading--featured .eyebrow { margin-bottom: 8px; }
.featured-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.featured-grid .product-card { box-shadow: var(--shadow-card); }
.featured-more { margin-top: 24px; }

.product-section { padding: 48px 0 64px; background: var(--canvas); }
.section-heading--products { margin-bottom: 20px; }
.section-heading--products h2 { font-size: clamp(24px, 3vw, 32px); }
.catalog-count { color: var(--muted); font-size: 14px; }
.catalog-toolbar { min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 17px; padding: 0 0 12px; border-bottom: 1px solid #dfe1e4; }
.filter-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-size: 14px; font-weight: 650; }
.filter-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.filter-active-count { min-width: 20px; height: 20px; display: none; place-items: center; padding: 0 4px; border-radius: 20px; color: white; background: var(--accent); font-size: 12px; }
.filter-active-count.is-visible { display: grid; }
.catalog-toolbar__right { display: flex; align-items: center; gap: 22px; }
.clear-filters { min-height: 44px; padding: 8px 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 13px; }
.clear-filters:hover { color: var(--ink); }
.sort-control { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.sort-control select { min-height: 44px; padding: 0 28px 0 11px; border: 1px solid #c9cdd2; border-radius: var(--radius-sm); color: var(--ink); background: white; cursor: pointer; font-size: 13px; }
.catalog-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 150px; display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.filters__head h3 { margin: 0; font-family: var(--font-display); font-size: 16px; }
.filters__close { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.filters__close svg { width: 20px; height: 20px; }
.field-label { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.filters select, .price-fields input, .manage-search input { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid #c9cdd2; border-radius: var(--radius-sm); color: var(--ink); background: white; font-size: 14px; }
.filters select { cursor: pointer; }
.filter-divider { height: 1px; margin: 4px 0; background: var(--line); }
.price-fields { display: flex; align-items: center; gap: 7px; color: #777; }
.price-fields input { min-width: 0; }
.check-option { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }
.check-option input { position: absolute; opacity: 0; }
.check-option__box { width: 20px; height: 20px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #9da2a9; border-radius: 3px; }
.check-option input:checked + .check-option__box { border-color: var(--accent); background: var(--accent); }
.check-option input:checked + .check-option__box::after { color: white; content: "✓"; font-size: 12px; }
.check-option input:focus-visible + .check-option__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.filter-note { margin: -2px 0 2px 28px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.filter-apply { display: none; width: 100%; margin-top: 8px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-grid.featured-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; transition: border-color var(--transition), box-shadow var(--transition); }
.product-card:hover { border-color: #b6bcc5; box-shadow: var(--shadow-card); }
.product-card__image { position: relative; width: 100%; aspect-ratio: 1 / .84; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #f7f8f9; }
.product-card__image-link { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; }
.product-card__image-link img, .product-card__image-link svg { width: 100%; height: 100%; object-fit: contain; }
.product-card__image-link img { padding: 20px; }
.product-card__image .favorite-button { position: absolute; z-index: 1; top: 10px; right: 10px; }
.product-card__body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.product-brand { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.product-title { min-height: 48px; margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 650; line-height: 1.4; }
.product-title a { display: -webkit-box; overflow: hidden; color: inherit; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-title a:hover { color: var(--accent); }
.product-meta { min-height: 20px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.product-stock, .product-review-note { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.product-stock { color: #52714c; font-weight: 600; }
.product-review-note { color: var(--muted); }
.product-price { margin-top: auto; padding-top: 16px; }
.product-price__label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.product-price del { display: block; margin-bottom: 2px; color: var(--muted); font-size: 13px; }
.product-price strong { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.product-price small { display: block; min-height: 34px; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.product-card__actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.add-cart { min-height: 48px; padding: 0 12px; border: 0; border-radius: var(--radius-sm); color: white; background: var(--accent); cursor: pointer; font-size: 14px; font-weight: 650; transition: background var(--transition); }
.add-cart:hover { background: var(--accent-hover); }
.quick-buy-button, .cart-quick-buy { min-height: 44px; padding: 0 12px; border: 1px solid #bfc4cb; border-radius: var(--radius-sm); color: var(--ink); background: #fff; cursor: pointer; font-size: 14px; font-weight: 650; transition: background var(--transition), border-color var(--transition); }
.quick-buy-button:hover, .cart-quick-buy:hover { border-color: var(--ink); background: #f7f8fa; }
.details-button, .favorite-button { display: grid; place-items: center; border: 1px solid #dedede; border-radius: 3px; background: white; cursor: pointer; }
.details-button { min-width: 44px; min-height: 44px; font-size: 15px; }
.details-button:hover, .favorite-button:hover { border-color: var(--accent); color: var(--accent); }
.favorite-button { width: 44px; height: 44px; color: #454950; }
.favorite-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.favorite-button.is-favorite { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.favorite-button.is-favorite svg { fill: var(--accent); }
.empty-state { padding: 64px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); text-align: center; }
.empty-state h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 27px; }
.page-button { min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; cursor: pointer; font-size: 14px; }
.page-button:hover { border-color: #d7d7d7; background: white; }
.page-button.is-current { border-color: var(--ink); color: white; background: var(--ink); }
.page-button:disabled { color: #aaa; cursor: not-allowed; }
.page-ellipsis { padding: 0 3px; color: #555; font-size: 12px; }

.site-footer { color: #eee; background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.5fr .8fr 1.1fr .95fr; gap: 40px; padding-top: 45px; padding-bottom: 43px; }
.brand--footer .brand__logo { width: 56px; height: 56px; }
.brand--footer .brand__name { color: #fff; }
.footer-brand > p { margin: 15px 0 0; color: #b7b7b7; font-size: 14px; line-height: 1.7; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h3 { margin: 1px 0 5px; color: #c6c6c6; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a, .footer-column > span, .footer-column button { color: #d0d0d0; font-size: 14px; line-height: 1.6; }
.footer-column a:hover, .footer-column button:hover { color: white; }
.footer-column button { padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.footer-column--note { padding-top: 0; }
.security-footer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 36px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid #363636; }
.security-footer__copy { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px 12px; align-items: center; }
.security-footer__icon { width: 28px; height: 28px; fill: none; stroke: #cbd1db; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.security-footer__copy h2 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; }
.security-footer__copy p { grid-column: 2; margin: 0; color: #d0d0d0; font-size: 14px; line-height: 1.6; }
.security-footer__copy .security-footer__disclaimer { color: #b7b7b7; font-size: 12px; }
.security-footer__image { display: block; width: min(100%, 620px); max-height: 220px; justify-self: end; object-fit: contain; }
.footer-bottom { min-height: 52px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #363636; color: #b7b7b7; font-size: 12px; }

.toast { position: fixed; z-index: 50; right: 20px; bottom: 20px; max-width: min(380px, calc(100% - 40px)); padding: 13px 17px; border: 1px solid #333; border-radius: 4px; color: white; background: #171717; box-shadow: var(--shadow-dialog); opacity: 0; pointer-events: none; transition: opacity var(--transition); font-size: 14px; line-height: 1.5; }
.toast.is-visible { opacity: 1; }
.overlay { position: fixed; z-index: 29; inset: 0; background: rgba(0,0,0,.4); }
dialog { padding: 0; color: var(--ink); border: 1px solid #e0e0e0; border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-dialog); }
dialog::backdrop { background: rgba(0,0,0,.4); }
.dialog-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #e0e0e0; border-radius: var(--radius-sm); background: white; cursor: pointer; }
.dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.dialog-close:hover { color: var(--accent); border-color: var(--accent); }
.product-page-mode > .announcement, .product-page-mode > .site-header, .product-page-mode > #store-main, .product-page-mode > .site-footer { display: none; }
.product-main { min-height: 100vh; padding: 28px 0 60px; background: #fafaf9; }
.product-page-shell { max-width: 1080px; }
.product-back { display: inline-block; margin-bottom: 22px; color: #555; font-size: 12px; text-decoration: none; }
.product-back:hover { color: var(--accent); }
.product-detail-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding: clamp(20px, 5vw, 54px); border: 1px solid var(--line); border-radius: 8px; background: white; }
.product-detail__visual { min-height: 390px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #f7f7f6; }
.product-detail__image { width: 100%; max-height: 520px; object-fit: contain; }
.product-gallery { min-width: 0; }
.product-gallery__thumbnails { display: flex; gap: 9px; overflow-x: auto; padding: 12px 2px 3px; }
.product-gallery__thumbnail { width: 68px; height: 68px; flex: 0 0 68px; padding: 3px; border: 1px solid #d6d6d4; border-radius: 5px; background: white; cursor: pointer; }
.product-gallery__thumbnail.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.product-gallery__thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__content { align-self: center; }
.product-detail__brand { margin: 18px 0 5px; color: var(--muted); font-size: 12px; }
.product-detail__content h1 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -.04em; }
.product-detail__description { margin: 17px 0; color: #575757; font-size: 14px; line-height: 1.75; }
.product-detail__pricing { display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; align-items: center; margin: 22px 0 13px; padding: 18px; border: 1px solid #e8e8e5; border-radius: 6px; background: #fafaf9; }
.product-detail__pricing > span:first-child { color: #6f6f6f; font-size: 12px; }
.product-detail__price-label { grid-column: 1; color: #333; font-size: 13px; font-weight: 700; }
.product-detail__pricing strong { grid-column: 2; grid-row: 2; font-family: var(--font-display); font-size: clamp(25px, 4vw, 34px); letter-spacing: -.04em; }
.product-detail__saving { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.product-detail__notice { padding: 12px; border-left: 3px solid #c39751; color: #66573e; background: #fbf8f1; font-size: 13px; line-height: 1.65; }
.product-detail__footnote { color: var(--muted); font-size: 13px; line-height: 1.6; }
.product-facts__title { margin: 20px 0 8px; font-size: 16px; }
.product-facts { width: 100%; border-collapse: collapse; font-size: 13px; }
.product-facts tr { border-top: 1px solid var(--line); }
.product-facts th, .product-facts td { padding: 10px 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.product-facts th { width: 36%; color: var(--muted); font-weight: 600; }
.product-facts td { color: var(--ink); }
.product-detail__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.variant-selector { display: grid; gap: 15px; margin: 18px 0; }
.variant-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.variant-group legend { margin-bottom: 8px; color: #333; font-size: 13px; font-weight: 650; }
.variant-options, .variant-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-option { min-height: 42px; padding: 8px 13px; border: 1px solid #d6d6d4; border-radius: 5px; color: var(--ink); background: white; font: inherit; font-size: 13px; cursor: pointer; }
.variant-option:hover, .variant-option.is-selected { border-color: var(--accent); }
.variant-option.is-selected { box-shadow: inset 0 0 0 1px var(--accent); }
.variant-option small { color: var(--muted); font-size: 11px; }
.variant-swatch { width: 38px; height: 38px; padding: 0; border: 1px solid #bdbdbd; border-radius: 50%; cursor: pointer; }
.variant-swatch.is-selected { outline: 2px solid var(--accent); outline-offset: 3px; }
.variant-swatch:focus-visible, .variant-option:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.swatch--black { background: #222; }
.swatch--white { background: #fff; }
.swatch--blue, .swatch--ultramarine { background: #385eaa; }
.swatch--yellow { background: #e8cc58; }
.swatch--green { background: #718b6a; }
.swatch--pink, .swatch--rose-gold { background: #d3a6a4; }
.swatch--sage { background: #9baa91; }
.swatch--mist-blue { background: #b6c8d6; }
.swatch--graphite { background: #55575b; }
.swatch--red { background: #ad514d; }
.swatch--gray { background: #999b9b; }
.swatch--silver { background: #d4d7da; }
.swatch--navy { background: #35435c; }
.swatch--mint { background: #a4c7b1; }
.swatch--violet { background: #9b91b2; }
.variant-price-line { margin: 0; color: var(--muted); font-size: 13px; }
.variant-price-line strong { color: var(--ink); }
.variant-confidence-note { margin: -4px 0 12px; color: #66573e; font-size: 12px; line-height: 1.55; }
.cart-item__variant { display: block; margin: 1px 0 4px; color: var(--muted); font-size: 11px; }
.quick-purchase-variants { padding: 12px 0; border-top: 1px solid var(--line); }
.quick-purchase-variants .variant-selector { margin: 0; }
.manage-product-settings { grid-column: 1 / -1; padding-top: 7px; border-top: 1px solid var(--line); }
.manage-product-settings summary { min-height: 36px; display: flex; align-items: center; color: #343434; font-size: 12px; font-weight: 650; cursor: pointer; }
.manage-product-settings .field-label { display: block; margin: 9px 0 5px; }
.manage-product-settings select, .manage-variants-editor { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #dedede; border-radius: 4px; background: white; font: inherit; font-size: 13px; }
.manage-variants-editor { min-height: 150px; resize: vertical; font-family: Consolas, monospace; font-size: 12px; line-height: 1.5; }
.manage-product-settings .field-help { margin: 5px 0 8px; }
.product-page-error { padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.product-page-error h1 { font-family: var(--font-display); }
.related-section { padding-top: 48px; }
.related-section .section-heading { margin-bottom: 18px; }
.related-section .section-heading h2 { font-size: clamp(22px, 2.5vw, 28px); }

.side-dialog { width: min(440px, calc(100% - 18px)); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border: 0; border-radius: 0; }
.side-dialog__head { min-height: 93px; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.side-dialog__head .eyebrow { margin-bottom: 6px; }
.side-dialog__head h2 { margin: 0; font-family: var(--font-display); font-size: 22px; letter-spacing: -.03em; }
.side-dialog__head h2 span { color: var(--muted); font-size: 13px; font-weight: 500; }
.side-dialog__content { height: calc(100% - 182px); overflow: auto; padding: 12px 21px; }
.side-dialog__footer { padding: 16px 21px 20px; border-top: 1px solid var(--line); }
.side-empty { display: grid; min-height: 230px; place-content: center; justify-items: center; color: var(--muted); text-align: center; }
.side-empty span { margin-bottom: 9px; color: var(--muted); }
.side-empty span svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.side-empty b { margin-bottom: 5px; color: var(--ink); font-family: var(--font-display); font-size: 16px; }
.side-empty p { max-width: 280px; margin: 0; font-size: 13px; line-height: 1.6; }
.cart-item, .favorite-item { display: grid; grid-template-columns: 63px minmax(0, 1fr) auto; gap: 10px; padding: 13px 0; border-bottom: 1px solid #eee; }
.mini-art { width: 63px; height: 63px; display: grid; place-items: center; overflow: hidden; border: 1px solid #eee; border-radius: 4px; background: #f8f8f7; }
.mini-art svg, .mini-art img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__name, .favorite-item__name { margin: 0 0 5px; font-family: var(--font-display); font-size: 14px; font-weight: 700; line-height: 1.4; }
.cart-item__price, .favorite-item__price { color: #555; font-size: 12px; }
.cart-item__controls { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 3px; }
.quantity-control button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.quantity-control button:disabled { color: var(--muted); cursor: not-allowed; opacity: .55; }
.quantity-control span { min-width: 24px; text-align: center; font-size: 12px; }
.remove-item { min-height: 44px; padding: 4px; border: 0; color: #555; background: transparent; cursor: pointer; font-size: 12px; text-decoration: underline; }
.cart-item__total { align-self: start; font-size: 13px; font-weight: 700; white-space: nowrap; }
.cart-summary { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 14px; }
.cart-summary strong { font-family: var(--font-display); font-size: 18px; }
.cart-disclaimer { margin: 12px 0 13px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.checkout-blocked { width: 100%; }
.favorite-item { grid-template-columns: 63px minmax(0, 1fr) 32px; align-items: center; }
.favorite-item__actions { display: grid; gap: 5px; }

.manage-dialog { position: relative; width: min(900px, calc(100% - 24px)); max-height: min(860px, calc(100% - 24px)); overflow: auto; padding: 28px; }
.manage-dialog > .dialog-close { position: absolute; top: 17px; right: 17px; }
.manage-dialog h2 { margin: 0 45px 8px 0; font-family: var(--font-display); font-size: 27px; letter-spacing: -.04em; }
.manage-intro { max-width: 600px; margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.manage-warning { padding: 12px 13px; border: 1px solid #eee4cd; border-radius: 4px; color: #695b42; background: #fcf8ef; font-size: 13px; line-height: 1.6; }
.manage-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0 20px; }
.import-button { position: relative; overflow: hidden; }
.import-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.manage-browser { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; align-items: end; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.manage-browser .field-label { margin: 0; }
.manage-browser select, .manage-browser input { width: 100%; min-width: 0; min-height: 44px; padding: 0 11px; border: 1px solid #dedede; border-radius: 4px; background: white; font: inherit; font-size: 14px; }
.manage-product-count { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.manage-list { max-height: min(44vh, 390px); overflow: auto; padding: 2px 6px 6px 0; }
.manage-category-group + .manage-category-group { margin-top: 14px; }
.manage-category-group > h3 { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 10px 12px; border-bottom: 1px solid #e6e6e6; color: #3e3e3e; background: #f7f7f6; font-family: var(--font-display); font-size: 14px; }
.manage-category-group > h3 span { color: #555; font-family: var(--font-body); font-size: 12px; font-weight: 500; }
.manage-category-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding-top: 9px; }
.manage-product { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 132px; align-items: center; gap: 9px; padding: 9px; border: 1px solid #e8e8e7; border-radius: 5px; background: white; transition: border-color var(--transition), background var(--transition); }
.manage-product.is-saving { border-color: var(--accent); background: var(--accent-soft); }
.manage-product__info { min-width: 0; display: flex; align-items: center; gap: 9px; }
.manage-preview { width: 55px; height: 55px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #ededed; border-radius: 4px; background: #f7f7f6; }
.manage-preview-image, .manage-preview svg { width: 100%; height: 100%; object-fit: contain; }
.manage-preview-placeholder { color: var(--muted); }
.manage-preview-placeholder svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.manage-product__copy { min-width: 0; }
.manage-product__copy h4 { display: -webkit-box; margin: 0 0 5px; overflow: hidden; font-family: var(--font-display); font-size: 13px; font-weight: 700; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.manage-product__copy p { margin: 0; color: var(--muted); font-size: 12px; }
.image-dropzone { position: relative; min-height: 61px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; overflow: hidden; border: 1px dashed #b7b7b7; border-radius: 4px; color: #555; background: #f5f5f5; cursor: pointer; text-align: center; transition: border-color var(--transition), background var(--transition), color var(--transition); }
.image-dropzone:hover, .image-dropzone.is-dragging { border-color: var(--accent); color: var(--accent); background: #f4f0e2; }
.image-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.image-dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.image-dropzone__icon { color: var(--accent); font-size: 18px; }
.image-dropzone__text { font-size: 12px; line-height: 1.5; }
.image-dropzone__text b { color: var(--accent); font-size: 12px; }
.remove-product-image { grid-column: 1 / -1; justify-self: end; min-height: 40px; padding: 4px 8px; border: 0; color: #555; background: transparent; cursor: pointer; font-size: 12px; text-decoration: underline; }
.remove-product-image:hover { color: #a32d2d; }
.manage-empty { padding: 30px 12px; color: var(--muted); text-align: center; font-size: 14px; }
.reset-catalog { min-height: 44px; margin-top: 14px; padding: 5px 0; border: 0; color: #555; background: transparent; cursor: pointer; font-size: 12px; text-decoration: underline; }
.admin-entry[hidden] { display: none; }
.admin-mode .admin-entry { display: grid; }
.account-dialog, .checkout-dialog, .quick-purchase-dialog { position: relative; width: min(460px, calc(100% - 28px)); max-height: min(780px, calc(100% - 32px)); overflow: auto; padding: 30px; }
.account-dialog > .dialog-close, .checkout-dialog > .dialog-close, .quick-purchase-dialog > .dialog-close { position: absolute; top: 14px; right: 14px; }
.account-dialog h2, .checkout-dialog h2, .quick-purchase-dialog h2 { margin: 0 42px 12px 0; font-family: var(--font-display); font-size: 25px; letter-spacing: -.04em; }
.account-notice, .checkout-unavailable { padding: 12px; border-left: 3px solid #c39751; color: #66573e; background: #fbf8f1; font-size: 14px; line-height: 1.6; }
.auth-form, .quick-purchase-form { display: grid; gap: 9px; margin-top: 18px; }
.auth-field { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9cdd2; border-radius: var(--radius-sm); color: var(--ink); background: #fff; font: inherit; font-size: 15px; }
.auth-form .button, .quick-purchase-form .button { margin-top: 8px; }
.auth-actions { display: flex; justify-content: space-between; gap: 16px; }
.account-switch { min-height: 44px; margin-top: 14px; padding: 0; border: 0; color: var(--accent); background: transparent; cursor: pointer; font-size: 14px; }
.auth-quick-purchase { width: 100%; margin-top: 16px; }
.quick-purchase-note, .checkout-data-notice { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.quick-address-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quick-address-row > div { min-width: 0; }
.quick-purchase-form textarea { min-height: 82px; resize: vertical; }
.checkout-data-notice { padding: 10px 12px; border-left: 3px solid #c39751; color: #66573e; background: #fbf8f1; }
.checkout-payment-notice { margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-soft); background: var(--canvas); font-size: 14px; line-height: 1.6; }
.field-help { margin: -4px 0 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.checkout-fulfillment[hidden] { display: none; }
.checkout-options { min-width: 0; display: grid; gap: 8px; margin: 18px 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.checkout-options legend { padding: 0 5px; font-size: 15px; font-weight: 700; }
.checkout-option { min-height: 52px; display: flex; align-items: flex-start; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.checkout-option input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.checkout-option span { display: grid; gap: 3px; }
.checkout-option strong { font-size: 14px; line-height: 1.4; }
.checkout-option small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.checkout-option--unavailable { color: #555d66; background: #f7f8f9; cursor: not-allowed; }
.checkout-option--unavailable input { cursor: not-allowed; }
.checkout-items { display: grid; gap: 9px; margin: 15px 0; padding: 0; list-style: none; }
.checkout-items li, .checkout-total { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 14px; }
.checkout-total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.checkout-empty { color: var(--muted); font-size: 12px; }
.checkout-disabled { width: 100%; opacity: .55; cursor: not-allowed; }
.checkout-dialog .checkout-unavailable { margin: 14px 0; border-left-color: #b94a48; color: #71413f; background: #fcf4f3; }

@media (min-width: 1400px) {
  .page-shell { width: min(1320px, calc(100% - 80px)); }
}

@media (max-width: 1100px) {
  .page-shell { width: min(100% - 48px, 1000px); }
  .header-main { grid-template-columns: 150px minmax(180px, 1fr) auto; gap: 20px; }
  .header-actions { gap: 8px; }
  .account-action span { display: none; }
  .featured-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
  .footer-column--note { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .hero__copy { max-width: 680px; }
  .hero__campaign { width: 100%; }
  .catalog-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid.featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 120px; }
  .page-shell { width: calc(100% - 32px); }
  .announcement { min-height: 40px; padding: 8px 12px; font-size: 12px; line-height: 1.4; }
  .header-main { min-height: 82px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-top: 10px; }
  .brand__logo { width: 48px; height: 48px; }
  .header-actions { gap: 2px; }
  .header-action { min-width: 44px; min-height: 44px; padding: 4px; }
  .header-action span { display: none; }
  .header-action svg { width: 20px; height: 20px; }
  .action-count { top: 0; right: 0; }
  .search { grid-column: 1 / -1; grid-row: 2; height: 44px; margin-bottom: 10px; }
  .search kbd { display: none; }
  .category-nav__inner { min-height: 44px; gap: 20px; }
  .category-nav a { min-height: 44px; font-size: 13px; }
  .hero { gap: 22px; margin-top: 16px; padding: 24px 20px 20px; }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); }
  .hero__description { margin: 16px 0 20px; font-size: 15px; }
  .hero__actions { gap: 12px; }
  .hero-animation-frame { width: min(100%, 360px); }
  .featured-section { padding-top: 32px; }
  .catalog-section { padding-top: 40px; padding-bottom: 36px; }
  .section-heading { display: block; margin-bottom: 18px; }
  .section-heading h2 { max-width: 540px; font-size: clamp(24px, 6vw, 30px); }
  .section-heading > p { margin-top: 10px; font-size: 14px; }
  .category-cards { gap: 10px; }
  .category-card { min-width: 176px; min-height: 132px; flex-basis: 176px; padding: 14px; }
  .category-card__title { font-size: 15px; }
  .category-card__icon { width: 42px; height: 42px; }
  .featured-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-section { padding: 36px 0 48px; }
  .section-heading--products { display: flex; align-items: flex-end; gap: 10px; }
  .section-heading--products h2 { font-size: 23px; }
  .catalog-count { max-width: 130px; text-align: right; font-size: 12px; }
  .catalog-toolbar { align-items: center; gap: 10px; }
  .catalog-toolbar__right { align-items: flex-end; gap: 8px; }
  .sort-control { gap: 5px; font-size: 12px; }
  .sort-control select { max-width: 154px; min-height: 44px; font-size: 12px; }
  .clear-filters { min-height: 44px; font-size: 12px; }
  .catalog-layout { display: block; }
  .filters { position: fixed; z-index: 31; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); display: none; align-content: start; gap: 12px; overflow: auto; border: 0; border-radius: 0; box-shadow: -8px 0 28px rgba(0,0,0,.12); }
  .filters.is-open { display: grid; }
  .filters__close { display: block; }
  .filter-apply { display: flex; }
  .product-card__body { padding: 12px; }
  .product-card__image { aspect-ratio: 1 / .92; }
  .product-card__image-link img { padding: 12px; }
  .product-brand { font-size: 12px; }
  .product-title { min-height: 42px; font-size: 14px; }
  .product-meta { min-height: 36px; font-size: 12px; }
  .product-price { padding-top: 12px; }
  .product-price__label, .product-price del, .product-price small { font-size: 12px; }
  .product-price strong { font-size: clamp(15px, 4vw, 20px); }
  .product-price small { min-height: 34px; }
  .product-card__actions { gap: 8px; margin-top: 12px; }
  .add-cart { min-height: 44px; font-size: 13px; }
  .favorite-button, .details-button { min-width: 44px; min-height: 44px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-top: 34px; padding-bottom: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column--note { grid-column: 1 / -1; }
  .security-footer { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; padding-bottom: 22px; }
  .security-footer__image { width: min(100%, 520px); max-height: none; justify-self: start; }
  .footer-bottom { min-height: 52px; flex-wrap: wrap; padding-block: 10px; font-size: 11px; }
  .product-main { padding-top: 20px; }
  .product-detail-page { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
  .product-detail__visual { min-height: 260px; }
  .product-detail__image { max-height: 360px; }
  .product-detail__content h1 { font-size: 30px; }
  .product-detail__description { font-size: 15px; }
  .product-detail__actions { position: sticky; z-index: 5; bottom: 0; margin: 18px -16px -16px; padding: 12px 16px; border-top: 1px solid var(--line); background: white; }
  .manage-dialog { padding: 24px 18px; }
  .manage-dialog h2 { font-size: 24px; }
  .manage-browser { grid-template-columns: 1fr; gap: 7px; }
  .manage-product-count { grid-column: 1; }
  .manage-list { max-height: 42vh; }
  .manage-category-products { grid-template-columns: 1fr; }
  .manage-product { grid-template-columns: minmax(0, 1fr) 132px; }
}

@media (max-width: 480px) {
  .page-shell { width: calc(100% - 24px); }
  .header-main { gap: 8px; }
  .brand__logo { width: 42px; height: 42px; }
  .header-actions { gap: 0; }
  .header-action { min-width: 42px; }
  .hero { padding: 20px 16px 16px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .hero-animation-frame { width: min(100%, 330px); }
  .section-heading--products { align-items: flex-start; flex-direction: column; }
  .catalog-count { max-width: none; text-align: left; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .catalog-toolbar__right { width: 100%; align-items: center; justify-content: space-between; }
  .sort-control select { max-width: 190px; }
  .product-grid, .featured-grid { gap: 8px; }
  .product-card__body { padding: 10px; }
  .product-title { font-size: 13px; }
  .product-meta { font-size: 12px; }
  .product-price strong { font-size: 15px; }
  .add-cart { padding-inline: 8px; font-size: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand, .footer-column--note { grid-column: 1; }
  .brand--footer .brand__logo { width: 48px; height: 48px; }
  .security-footer__copy { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; }
  .security-footer__icon { width: 24px; height: 24px; }
  .security-footer__copy h2 { font-size: 16px; }
  .security-footer__copy p { font-size: 13px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 2px; }
  .product-detail__actions { flex-direction: column; }
  .product-detail__actions .button { width: 100%; }
  .cart-item, .favorite-item { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px; }
  .mini-art { width: 56px; height: 56px; }
  .account-dialog, .checkout-dialog, .quick-purchase-dialog { padding: 26px 20px; }
  .manage-product { grid-template-columns: minmax(0, 1fr); }
}

.announcement { color: var(--accent); background: #080808; }
.site-header, .search, .hero, .category-card__icon, .filter-toggle, .sort-control select,
.filters, .product-card, .product-detail-page, .product-detail__pricing, .product-gallery__thumbnail,
.variant-option, .manage-product-settings select, .manage-variants-editor, .manage-category-group > h3,
.manage-product, .manage-preview, .account-dialog, .checkout-dialog, .quick-purchase-dialog,
.manage-dialog, .orders-dialog, .side-dialog, dialog, .dialog-close, .auth-field {
  color: var(--ink);
  border-color: var(--line);
  background-color: var(--surface);
}
.category-nav { border-color: var(--line); }
.category-nav a, .header-action, .field-label, .filters__head h3, .manage-product-settings summary,
.manage-category-group > h3, .manage-category-group > h3 span, .manage-product__copy h4,
.product-detail__price-label, .variant-group legend, .product-detail__facts td,
.checkout-options legend, .checkout-option strong, .manage-list {
  color: var(--ink);
}
.search { border-color: #555; }
.search input, .filters select, .price-fields input, .manage-search input,
.manage-product-settings select, .manage-variants-editor, .auth-field {
  color: var(--ink);
  border-color: #505050;
  background: #101010;
}
.search input::placeholder, .search kbd, .manage-search input::placeholder {
  color: var(--muted);
}
.search kbd { border-color: var(--line); }
.hero { border-color: var(--line); background: #111; }
.hero__campaign figcaption { color: var(--muted); }
.hero-animation-frame { border-color: var(--line); background: #111; box-shadow: var(--shadow-card); }
.hero-animation-light::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), rgba(212,175,55,.12), transparent); }
.button--primary, .button--dark { color: #101010; background: var(--accent); }
.button--primary:hover, .button--dark:hover { color: #101010; background: var(--accent-hover); }
.button--secondary, .button--outline, .filter-toggle, .dialog-close {
  color: var(--ink);
  border-color: #686868;
  background: var(--surface);
}
.button--secondary:hover, .button--outline:hover, .dialog-close:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
  background: var(--surface-raised);
}
.button:disabled, .button[aria-disabled="true"] { color: #a4a4a4; background: #383838; }
.category-cards { scrollbar-color: #777 transparent; }
.category-card { color: var(--ink); border-color: var(--line); background: var(--surface); }
.category-card:hover { border-color: var(--accent); background: var(--surface-raised); }
.category-card__icon { color: var(--accent); }
.category-card__arrow, .details-button, .product-title a:hover, .clear-filters:hover { color: var(--accent); }
.product-section { color: var(--ink); background: #111; }
.catalog-toolbar { border-color: var(--line); }
.sort-control, .catalog-count, .section-heading > p { color: var(--muted); }
.filter-active-count, .action-count { color: #111; background: var(--accent); }
.clear-filters, .field-label, .check-option { color: var(--ink-soft); }
.check-option__box { border-color: #777; }
.check-option input:checked + .check-option__box { border-color: var(--accent); background: var(--accent); }
.check-option input:focus-visible + .check-option__box { outline-color: var(--accent); }
.product-card { border-color: var(--line); background: var(--surface); }
.product-card:hover { border-color: #8a7431; }
.product-card__image, .product-detail__visual, .manage-preview, .manage-preview-placeholder {
  border-color: var(--line);
  background: #111;
}
.product-price strong, .product-detail__pricing strong { color: var(--accent); }
.product-price del, .product-price small, .product-price__label, .product-meta,
.product-brand, .product-detail__brand, .product-detail__saving, .product-detail__footnote,
.product-detail__description, .product-detail__pricing > span:first-child, .product-back,
.product-facts th, .product-gallery__thumbnail img, .side-empty, .side-empty span,
.cart-item__variant, .cart-item__price, .cart-item__total, .cart-disclaimer,
.checkout-empty, .checkout-option small, .manage-product__copy p, .manage-intro,
.orders-notice, .payment-methods-note {
  color: var(--muted);
}
.product-detail-page, .product-page-error, .related-section, .side-dialog__head,
.side-dialog__footer, .checkout-total, .product-facts tr, .manage-product-settings,
.checkout-options, .checkout-option, .orders-list article {
  border-color: var(--line);
}
.product-detail__visual { background: #111; }
.product-detail__pricing { border-color: var(--line); background: var(--surface-raised); }
.product-detail__price-label, .product-facts td, .variant-price-line strong { color: var(--ink); }
.product-detail__notice, .variant-confidence-note, .account-notice, .checkout-unavailable,
.checkout-data-notice, .checkout-payment-notice, .manage-warning {
  border-left-color: var(--accent);
  color: #e8dfc4;
  background: #242014;
}
.variant-option { border-color: #555; }
.variant-option:hover, .variant-option.is-selected { border-color: var(--accent); }
.variant-option.is-selected { box-shadow: inset 0 0 0 1px var(--accent); }
.variant-swatch.is-selected { outline-color: var(--accent); }
.variant-swatch:focus-visible, .variant-option:focus-visible { outline-color: var(--accent); }
.product-gallery__thumbnail { border-color: #555; }
.product-gallery__thumbnail.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.product-back:hover, .account-switch { color: var(--accent); }
.cart-item, .favorite-item, .manage-product, .orders-list article { border-color: var(--line); }
.manage-category-group > h3 { border-color: var(--line); background: #202020; }
.manage-product.is-saving { border-color: var(--accent); background: #292411; }
.manage-preview { border-color: var(--line); }
.image-dropzone { border-color: #666; color: var(--ink-soft); background: #111; }
.image-dropzone:hover, .image-dropzone.is-dragging { border-color: var(--accent); color: var(--accent); background: #242014; }
.image-dropzone:focus-within { outline-color: var(--accent); }
.image-dropzone__icon, .image-dropzone__text b { color: var(--accent); }
.remove-product-image, .reset-catalog { color: var(--muted); }
.remove-product-image:hover { color: #ff8a80; }
.checkout-option { background: var(--surface); }
.checkout-option:has(input:checked) { border-color: var(--accent); }
.checkout-option input { accent-color: var(--accent); }
.checkout-unavailable { color: #e8dfc4; }
.checkout-card-link { width: 100%; }
.checkout-card-link[hidden] { display: none; }
.payment-methods-note { margin: 10px 0; font-size: 13px; line-height: 1.5; }
.add-cart { color: #101010; }
.quick-buy-button, .cart-quick-buy, .details-button, .favorite-button {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-raised);
}
.quick-buy-button:hover, .cart-quick-buy:hover, .details-button:hover, .favorite-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface);
}
.add-cart:hover { color: #101010; }
.favorite-button.is-favorite { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.empty-state { color: var(--ink); background: var(--surface); }
.page-button:hover { border-color: var(--accent); color: var(--ink); background: var(--surface-raised); }
.page-button.is-current { border-color: var(--accent); color: #101010; background: var(--accent); }
.checkout-dialog .checkout-unavailable { border-left-color: var(--accent); color: #e8dfc4; background: #242014; }
.toast { border-color: var(--accent); color: var(--ink); background: #161616; }
.dialog-close:hover { color: var(--accent); border-color: var(--accent); }
.site-footer { color: var(--ink); background: #101010; }
.footer-column a, .footer-column button, .footer-column span, .footer-brand > p { color: var(--ink-soft); }
.footer-column a:hover, .footer-column button:hover { color: var(--accent); }
.footer-bottom { border-color: var(--line); color: var(--muted); }
.brand__name, .brand--footer .brand__name { color: var(--ink); }
.brand--footer .brand__name { color: var(--ink); }
.whatsapp-header { color: var(--accent); }
.whatsapp-float {
  position: fixed;
  z-index: 18;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  background: #171717;
  box-shadow: var(--shadow-card);
}
.whatsapp-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-float:hover { color: #111; background: var(--accent); }
.orders-dialog { position: relative; width: min(820px, calc(100% - 28px)); max-height: min(780px, calc(100% - 32px)); overflow: auto; padding: 30px; }
.orders-dialog > .dialog-close { position: absolute; top: 14px; right: 14px; }
.orders-dialog h2 { margin: 0 42px 12px 0; font-family: var(--font-display); font-size: 25px; }
.orders-list { display: grid; gap: 10px; }
.orders-list article { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.orders-list h3, .orders-list p { margin: 0 0 6px; }
.orders-list small { color: var(--muted); }
.manage-actions { flex-wrap: wrap; }
.manage-warning { border-left: 3px solid var(--accent); }
[hidden], dialog[open] [hidden] { display: none; }
@media (max-width: 720px) {
  .whatsapp-float { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: 48px; min-width: 48px; height: 48px; min-height: 48px; padding: 0; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .product-page-mode .whatsapp-float { bottom: max(100px, calc(env(safe-area-inset-bottom) + 88px)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner--animation, .hero-animation-light::before { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --transition: 1ms linear; scroll-behavior: auto; }
  html { scroll-behavior: auto; }
  .hero-banner--animation, .hero-animation-light::before { animation: none; }
}

/* ---------- Refinamento visual ---------- */
:root {
  --font-body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --paper: #080808;
  --surface: #141414;
  --surface-raised: #1c1c1c;
  --line: #2c2c2c;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --gold-gradient: linear-gradient(135deg, #f3d36b 0%, #d4af37 45%, #a8841f 100%);
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5b;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-glow: 0 0 0 1px rgba(212, 175, 55, .35), 0 18px 40px rgba(212, 175, 55, .12);
  --transition: 220ms cubic-bezier(.2, .7, .2, 1);
}
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(212, 175, 55, .08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(212, 175, 55, .05), transparent 60%),
    var(--paper);
  background-attachment: fixed;
}
::selection { color: #111; background: var(--accent); }
* { scrollbar-color: #3a3a3a transparent; }

.announcement { background: var(--gold-gradient); color: #111; font-weight: 650; letter-spacing: .02em; }
.site-header {
  background: rgba(10, 10, 10, .82);
  border-bottom-color: rgba(212, 175, 55, .18);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.brand__logo { box-shadow: 0 0 0 1px rgba(212, 175, 55, .4), 0 6px 18px rgba(212, 175, 55, .15); }
.search { border-radius: 999px; background: #101010; transition: border-color var(--transition), box-shadow var(--transition); }
.search input { background: transparent; }
.header-action { border-radius: 12px; transition: color var(--transition), background var(--transition); }
.header-action:hover { background: rgba(212, 175, 55, .08); }

.hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(212, 175, 55, .22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 320px at 15% 20%, rgba(212, 175, 55, .14), transparent 70%),
    linear-gradient(160deg, #161616 0%, #0d0d0d 100%);
  box-shadow: var(--shadow-card);
}
.hero h1 { font-weight: 800; letter-spacing: -.04em; }
.hero h1 em { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-animation-frame { border-radius: var(--radius-lg); }

.button { border-radius: 999px; font-weight: 650; transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition); }
.button:not(:disabled):hover { transform: translateY(-1px); }
.button--primary, .button--dark, .add-cart { background: var(--gold-gradient); box-shadow: 0 6px 18px rgba(212, 175, 55, .18); }
.button--primary:hover, .button--dark:hover, .add-cart:hover { background: var(--gold-gradient); filter: brightness(1.08); box-shadow: 0 10px 26px rgba(212, 175, 55, .28); }
.button--whatsapp { color: #fff; background: var(--whatsapp); box-shadow: 0 8px 22px rgba(37, 211, 102, .22); }
.button--whatsapp:hover { color: #fff; background: var(--whatsapp-hover); box-shadow: 0 12px 28px rgba(37, 211, 102, .32); }
.button--whatsapp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.section-heading h2 { font-weight: 750; }
.section-heading h2::after { display: block; width: 44px; height: 3px; margin-top: 10px; border-radius: 3px; content: ""; background: var(--gold-gradient); }

.category-card { border-radius: var(--radius-md); background: linear-gradient(160deg, #181818, #111); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.category-card:hover { transform: translateY(-3px); background: linear-gradient(160deg, #1d1d1d, #131313); box-shadow: var(--shadow-glow); }
.category-card__icon { border-radius: 12px; border-color: rgba(212, 175, 55, .3); background: rgba(212, 175, 55, .08); }

.product-section { background: transparent; }
.filters { border-radius: var(--radius-md); background: var(--surface); }
.product-card { overflow: hidden; border-radius: var(--radius-md); background: linear-gradient(180deg, #171717, #121212); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.product-card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, .55); box-shadow: var(--shadow-glow); }
.product-card__image { background: radial-gradient(circle at 50% 40%, #1e1e1e, #0f0f0f 75%); }
.product-card__image-link img { transition: transform 400ms cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .product-card__image-link img { transform: scale(1.06); }
.favorite-button { border-radius: 999px; background: rgba(20, 20, 20, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.product-brand { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-price strong { font-size: 23px; font-weight: 800; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.add-cart, .quick-buy-button, .cart-quick-buy { border-radius: 999px; }
.page-button { border-radius: 999px; }

dialog { border-radius: var(--radius-lg); }
.checkout-option { border-radius: var(--radius-md); transition: border-color var(--transition), background var(--transition); }
.checkout-option:has(input:checked) { background: rgba(212, 175, 55, .07); box-shadow: inset 0 0 0 1px var(--accent); }
.checkout-card-link { margin-top: 14px; }
.checkout-whatsapp-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }

.whatsapp-float { border-color: transparent; color: #fff; background: var(--whatsapp); box-shadow: 0 10px 28px rgba(37, 211, 102, .35); animation: whatsapp-pulse 2.8s ease-out infinite; }
.whatsapp-float:hover { color: #fff; background: var(--whatsapp-hover); }
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 10px 28px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .45); }
  70%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, .35), 0 0 0 14px rgba(37, 211, 102, 0); }
}
.site-footer { border-top: 1px solid rgba(212, 175, 55, .18); background: linear-gradient(180deg, #0f0f0f, #070707); }
.toast { border-radius: var(--radius-md); }
dialog::backdrop { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
  .product-card:hover, .category-card:hover, .button:not(:disabled):hover { transform: none; }
  .product-card:hover .product-card__image-link img { transform: none; }
}
