@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Rajdhani:wght@600;700&display=swap');

:root {
  --ink: #080812;
  --paper: #f7f3ea;
  --panel: #11111d;
  --muted: #a5a4ad;
  --line: rgba(247, 243, 234, .16);
  --magenta: #ff00a8;
  --blue: #00a2ff;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 145px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.45 Inter, Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.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; }

.review-bar { background: var(--magenta); color: var(--ink); padding: 7px 20px; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(8,8,18,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-main { min-height: 82px; padding: 8px clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 218px; height: 62px; object-fit: contain; object-position: left center; mix-blend-mode: screen; }
.header-actions { display: flex; align-items: center; gap: 22px; font: 700 .8rem Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: .11em; }
.header-actions > a:hover, .header-actions > a:focus-visible { color: var(--blue); }
.category-nav { display: flex; gap: 4px; padding: 0 clamp(18px, 4vw, 64px) 9px; overflow-x: auto; scrollbar-width: thin; }
.category-nav button, .category-nav a { flex: 0 0 auto; border: 0; border-radius: 999px; background: transparent; color: var(--paper); padding: 8px 11px; font: 700 .75rem Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: .07em; }
.category-nav button:hover, .category-nav button.active, .category-nav a:hover, .category-nav a:focus-visible { background: rgba(255,0,168,.14); color: #fff; }
.icon-button { justify-self: end; position: relative; display: flex; align-items: center; gap: 5px; background: none; color: var(--paper); border: 0; font-size: 1.6rem; }
.icon-button strong { min-width: 19px; height: 19px; padding: 1px 5px; border-radius: 12px; background: var(--magenta); color: var(--ink); font-size: .68rem; line-height: 17px; }

.intro { min-height: 245px; padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 78px) 38px; display: flex; justify-content: space-between; align-items: end; gap: 36px; overflow: hidden; position: relative; }
.intro::before { content: "2026"; position: absolute; right: -1vw; top: -35px; color: transparent; -webkit-text-stroke: 1px rgba(247,243,234,.09); font: 700 clamp(130px, 24vw, 330px)/1 Rajdhani, sans-serif; pointer-events: none; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font: 700 .84rem/1 Rajdhani, sans-serif; letter-spacing: .18em; }
h1, h2 { font-family: Rajdhani, Arial Narrow, sans-serif; text-transform: uppercase; }
h1 { margin: 0; max-width: 900px; font-size: clamp(3rem, 7.2vw, 7.2rem); line-height: .83; letter-spacing: -.05em; }
h1 em { color: var(--magenta); font-style: normal; }
.intro-meta { position: relative; min-width: 160px; padding-left: 20px; border-left: 2px solid var(--blue); }
.intro-meta span { display: block; font: 700 clamp(2.7rem, 5vw, 5rem)/.8 Rajdhani, sans-serif; }
.intro-meta p { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }

.catalog-shell { background: var(--paper); color: var(--ink); border-radius: 28px 28px 0 0; min-height: 700px; padding: 22px clamp(14px, 4vw, 58px) 80px; }
.catalog-path { min-height: 32px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #6a676f; font-size: .84rem; overflow-x: auto; }
.catalog-path button { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; }
.catalog-path strong { color: var(--ink); white-space: nowrap; }
.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.search-field { height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 1px solid rgba(8,8,18,.18); border-radius: 12px; background: white; }
.search-field span { font-size: 1.7rem; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1rem; }
.filter-toggle { display: none; padding: 0 18px; border: 1px solid var(--ink); border-radius: 12px; background: var(--ink); color: white; font-weight: 700; }
.category-browser { padding: 26px 0 30px; }
.category-browser-head, .subcategory-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.category-browser-head h2, .subcategory-head h3 { margin: 0; font: 700 clamp(1.8rem, 3vw, 3rem)/1 Rajdhani, sans-serif; text-transform: uppercase; }
.category-browser-head .eyebrow { margin-bottom: 9px; }
.category-picker { display: grid; gap: 5px; min-width: min(360px, 48vw); color: #66636b; font-size: .78rem; }
.category-picker select { width: 100%; min-height: 46px; padding: 8px 34px 8px 12px; border: 1px solid rgba(8,8,18,.22); border-radius: 9px; background: white; color: var(--ink); }
.category-menu { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 9px; max-height: 430px; margin-top: 20px; padding: 12px; overflow: auto; border: 1px solid rgba(8,8,18,.14); border-radius: 16px; background: #eeeadf; }
.category-menu[hidden], .subcategory-panel[hidden] { display: none; }
.category-tile { min-width: 0; display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 12px; padding: 7px; border: 1px solid transparent; border-radius: 11px; background: white; color: var(--ink); text-align: left; }
.category-tile:hover, .category-tile.active { border-color: var(--magenta); }
.category-tile img, .category-tile > .sprite-frame, .category-placeholder { width: 60px; height: 60px; border-radius: 8px; object-fit: contain; background: var(--ink); color: white; display: grid; place-items: center; }
.category-tile strong, .category-tile small { display: block; overflow: hidden; text-overflow: ellipsis; }
.category-tile strong { font-size: .85rem; line-height: 1.2; }
.category-tile small { margin-top: 4px; color: #6d6971; font-size: .72rem; }
.subcategory-panel { margin-top: 24px; padding: clamp(18px,3vw,30px); border-radius: 18px; background: var(--ink); color: white; }
.subcategory-head { align-items: center; }
.subcategory-head p { margin: 5px 0 0; color: var(--muted); font-size: .86rem; }
.subcategory-head button { flex: 0 0 auto; padding: 10px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: white; }
.subcategory-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(138px,1fr)); gap: 10px; margin-top: 20px; }
.subcategory-card { min-width: 0; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 11px; background: #171723; color: white; text-align: left; }
.subcategory-card:hover, .subcategory-card.active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.subcategory-card img, .subcategory-placeholder { width: 100%; height: 138px; object-fit: contain; background: #242432; display: grid; place-items: center; color: #737382; font-size: 1.4rem; }
.subcategory-card > .sprite-frame { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.subcategory-card span:last-child { display: block; padding: 10px; }
.subcategory-card strong, .subcategory-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subcategory-card strong { font-size: .82rem; }
.subcategory-card small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.catalog-status { margin: 0; padding: 24px; border-radius: 12px; background: #eeeadf; text-align: center; }
.category-strip { display: flex; gap: 8px; padding: 18px 0 22px; overflow-x: auto; scrollbar-width: thin; }
.chip { flex: 0 0 auto; border: 1px solid rgba(8,8,18,.2); border-radius: 999px; background: transparent; padding: 9px 15px; font-size: .88rem; font-weight: 600; }
.chip:hover, .chip.active { background: var(--ink); border-color: var(--ink); color: white; }

.catalog-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(22px, 4vw, 56px); }
.filters { position: sticky; top: 142px; align-self: start; }
.filter-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--ink); }
.filter-head h2 { font-size: 1.45rem; }
.filter-head button { border: 0; background: transparent; color: #6b6970; text-decoration: underline; }
fieldset { border: 0; border-bottom: 1px solid rgba(8,8,18,.15); margin: 0; padding: 22px 0; }
legend { margin-bottom: 12px; font: 700 1rem Rajdhani, sans-serif; text-transform: uppercase; }
.filter-option { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: .9rem; }
.filter-option input { accent-color: var(--magenta); width: 17px; height: 17px; }
.filter-scroll { max-height: 270px; overflow: auto; padding-right: 8px; scrollbar-width: thin; }
.team-select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid rgba(8,8,18,.2); border-radius: 9px; background: white; color: var(--ink); font-size: .86rem; }
.results-head { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.results-head p { margin: 0; }
.results-head label { display: flex; gap: 10px; align-items: center; color: #66636b; font-size: .85rem; }
.results-head select { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 7px 28px 7px 5px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 14px; margin-top: 18px; }
.product-card { min-width: 0; position: relative; }
.product-image { display: flex; align-items: center; justify-content: center; position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: #e7e3dc; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.product-image .sprite-frame { width: 100%; height: auto; aspect-ratio: 1 / 1; transition: transform .45s ease; }
.product-card:hover .product-image img, .product-card:hover .product-image .sprite-frame { transform: scale(1.025); }
.sprite-frame { display: block; aspect-ratio: 1 / 1; background-repeat: no-repeat; background-color: #e7e3dc; }
.product-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; color: inherit; }
.badge { position: absolute; left: 10px; bottom: 10px; padding: 6px 9px; border-radius: 6px; background: rgba(8,8,18,.87); color: white; font-size: .72rem; font-weight: 700; }
.favorite { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(247,243,234,.92); color: var(--ink); font-size: 1.35rem; z-index: 2; }
.favorite.active { background: var(--magenta); color: white; }
.product-info { display: block; padding: 12px 3px 0; }
.product-info small { color: #716e75; }
.product-info h3 { margin: 5px 0 8px; font-size: .96rem; line-height: 1.28; font-weight: 600; min-height: 2.55em; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-price { font: 700 .92rem Rajdhani, sans-serif; }
.reference { display: inline-flex; align-items: center; gap: 7px; font: 700 .75rem Rajdhani, sans-serif; letter-spacing: .08em; }
.reference::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.load-more { display: block; min-width: 230px; margin: 48px auto 0; padding: 15px 24px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-weight: 700; }
.load-more:hover { background: var(--magenta); border-color: var(--magenta); }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-state h2 { margin-bottom: 5px; font-size: 2rem; }
.empty-state button { border: 0; background: transparent; text-decoration: underline; }

.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(2.8rem, 6vw, 6.2rem); line-height: .88; }
.section-heading > p:last-child { color: #65626a; max-width: 650px; }
.pricing { padding: 90px clamp(18px, 5vw, 78px); background: #eeeadf; color: var(--ink); }
.price-layout { display: grid; grid-template-columns: 1.35fr .8fr; gap: clamp(28px, 6vw, 90px); }
.price-layout h3 { margin: 0 0 16px; font: 700 1.15rem Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.price-side { display: grid; gap: 34px; align-content: start; }
.price-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.price-grid.compact { grid-template-columns: 1fr; }
.price-card, .shipping-card { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 18px; border: 1px solid rgba(8,8,18,.14); border-radius: 12px; background: #faf8f1; }
.price-card strong, .shipping-card strong { color: #b10074; font: 700 1.35rem Rajdhani,sans-serif; white-space: nowrap; }
.shipping-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.how { padding: 90px clamp(18px, 5vw, 78px); background: radial-gradient(circle at 85% 10%, rgba(255,0,168,.14), transparent 28%), radial-gradient(circle at 10% 80%, rgba(0,162,255,.12), transparent 28%), #080812; }
.dark-heading > p:last-child { color: var(--muted); }
.how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.how li { min-height: 190px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how li:nth-child(3n) { border-right: 0; }
.how li .step-number { display: block; color: var(--magenta); font: 700 1rem Rajdhani,sans-serif; margin-bottom: 28px; }
.how li h3 { margin: 0 0 8px; font: 700 1.25rem Rajdhani,sans-serif; text-transform: uppercase; }
.how li p { margin: 0; color: var(--muted); font-size: .9rem; }
.order-help { margin: 34px 0 0; color: var(--muted); font-size: .9rem; }
.order-help a { color: var(--blue); text-decoration: underline; }
.contact { padding: 85px clamp(18px, 5vw, 78px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: end; background: var(--paper); color: var(--ink); }
.contact h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; }
.contact-links { border-top: 2px solid var(--ink); }
.contact-links a { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(8,8,18,.16); }
.contact-links small { color: #6f6c72; }
.contact-links strong { overflow-wrap: anywhere; }
.contact-links span { font-size: 1.4rem; }
footer { padding: 36px clamp(18px, 5vw, 78px); display: grid; grid-template-columns: 1fr 2fr auto; gap: 34px; align-items: end; color: var(--muted); font-size: .8rem; }
footer img { width: 180px; mix-blend-mode: screen; }
footer p { margin: 0; }

.product-dialog { width: min(1100px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.product-dialog::backdrop { background: rgba(8,8,18,.82); backdrop-filter: blur(6px); }
.dialog-close { position: fixed; z-index: 4; right: max(22px, calc((100vw - 1100px)/2 + 18px)); top: 24px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: white; font-size: 1.8rem; }
.dialog-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 640px; }
.dialog-gallery { min-width: 0; overflow: hidden; }
.gallery-main { min-height: 560px; display: grid; place-items: center; background: #e7e3dc; }
.gallery-main img { width: 100%; height: 640px; max-height: 720px; object-fit: contain; }
.gallery-main .sprite-frame { width: min(100%, 400px); height: auto; aspect-ratio: 1 / 1; }
.gallery-thumbs { display: flex; max-width: 100%; gap: 8px; padding: 10px; overflow-x: auto; background: white; }
.gallery-thumbs button { width: 70px; height: 70px; flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; }
.gallery-thumbs button.active { border-color: var(--magenta); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .sprite-frame { width: 100%; height: 100%; aspect-ratio: 1 / 1; }
.photo-ref { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border-block: 1px solid rgba(8,8,18,.15); background: white; }
.dialog-details { padding: clamp(34px, 5vw, 64px) clamp(24px, 4vw, 52px); display: flex; flex-direction: column; }
.dialog-details .eyebrow { color: var(--magenta); }
.dialog-details h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 4rem); line-height: .92; }
.dialog-details .detail-ref { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-block: 1px solid rgba(8,8,18,.15); }
.detail-ref code { font: 700 1rem Rajdhani,sans-serif; letter-spacing: .09em; }
.copy-button { border: 0; background: transparent; color: var(--ink); font-weight: 700; text-decoration: underline; }
.details-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.details-list dt { color: #77737a; font-size: .76rem; }
.details-list dd { margin: 3px 0 0; font-weight: 600; }
.request-button { margin-top: auto; padding: 16px 22px; border: 0; border-radius: 999px; background: var(--magenta); color: var(--ink); font-weight: 800; }
.request-button:hover { background: var(--ink); color: white; }
.detail-note { color: #716e75; font-size: .78rem; margin: 12px 0 0; }
.text-request { margin-top: 12px; color: #55515a; font-size: .82rem; font-weight: 700; text-decoration: underline; }
.product-options { display: grid; gap: 13px; margin-top: auto; padding-top: 8px; }
.product-options label, .checkout-form label { display: grid; gap: 6px; color: #56525a; font-size: .78rem; font-weight: 600; }
.product-options label small { font-weight: 400; }
.product-options input, .product-options select, .checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(8,8,18,.22); border-radius: 9px; background: white; color: var(--ink); }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.add-to-cart { width: 100%; }
.price-pending { padding: 10px 12px; border-radius: 9px; background: #fff0d7; color: #694300; }

.cart-dialog, .checkout-dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.checkout-dialog { width: min(980px, calc(100% - 24px)); }
.cart-dialog::backdrop, .checkout-dialog::backdrop { background: rgba(8,8,18,.82); backdrop-filter: blur(6px); }
.panel-close { right: max(18px, calc((100vw - 740px)/2 + 18px)); }
.checkout-dialog .panel-close { right: max(18px, calc((100vw - 960px)/2 + 18px)); }
.cart-panel, .checkout-form, .order-success { padding: clamp(28px,5vw,56px); }
.panel-heading { padding-right: 54px; margin-bottom: 26px; }
.panel-heading h2, .order-success h2 { margin: 0; font: 700 clamp(2.7rem,6vw,5rem)/.88 Rajdhani,sans-serif; text-transform: uppercase; }
.panel-heading > p:last-child { margin: 8px 0 0; color: #6c6870; }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid rgba(8,8,18,.13); border-radius: 14px; background: white; }
.cart-item-image { width: 86px; aspect-ratio: 1; overflow: hidden; border-radius: 9px; background: #e7e3dc; }
.cart-item-image img, .cart-item-image .sprite-frame { width: 100%; height: 100%; object-fit: contain; }
.cart-item > div:nth-child(2) > strong, .cart-item small { display: block; }
.cart-item small { margin-top: 5px; color: #6c6870; font-size: .72rem; }
.cart-item-actions { display: flex; align-items: end; gap: 14px; margin-top: 9px; }
.cart-item-actions label { color: #6c6870; font-size: .72rem; }
.cart-item-actions input { width: 65px; margin-left: 6px; padding: 5px; border: 1px solid #bbb7b0; border-radius: 6px; }
.cart-item-actions button { border: 0; background: transparent; color: #9b005f; font-size: .75rem; text-decoration: underline; }
.cart-empty { padding: 60px 15px; text-align: center; }
.cart-empty h3 { margin-bottom: 5px; font: 700 1.5rem Rajdhani,sans-serif; text-transform: uppercase; }
.cart-empty p { color: #6c6870; }
.cart-totals { display: grid; gap: 9px; margin-top: 25px; padding-top: 20px; border-top: 2px solid var(--ink); }
.cart-totals > div { display: flex; justify-content: space-between; gap: 18px; }
.cart-totals .cart-total { margin-top: 5px; padding-top: 12px; border-top: 1px solid rgba(8,8,18,.16); font-size: 1.25rem; }
.checkout-button { width: 100%; min-height: 52px; margin-top: 12px; padding: 13px 20px; border: 0; border-radius: 999px; background: var(--magenta); color: var(--ink); font-weight: 800; }
.checkout-button:hover { background: var(--ink); color: white; }
.checkout-button:disabled { cursor: not-allowed; opacity: .45; }
.form-warning { margin: 9px 0; padding: 10px 12px; border-radius: 9px; background: #fff0d7; color: #694300; font-size: .8rem; }
.checkout-grid { display: grid; gap: 26px; }
.checkout-grid section { padding-bottom: 24px; border-bottom: 1px solid rgba(8,8,18,.15); }
.checkout-grid h3 { margin: 0 0 14px; font: 700 1.2rem Rajdhani,sans-serif; text-transform: uppercase; }
.checkout-grid h3 small { color: #77737a; font: 400 .75rem Inter,sans-serif; text-transform: none; }
.form-grid { display: grid; gap: 12px; }
.form-grid.two-columns { grid-template-columns: 1fr 1fr; }
.form-grid .wide { grid-column: 1 / -1; }
.checkout-form textarea { resize: vertical; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-options label { display: flex; align-items: start; gap: 10px; padding: 14px; border: 1px solid rgba(8,8,18,.18); border-radius: 12px; background: white; }
.payment-options input { width: 18px; min-height: 18px; accent-color: var(--magenta); }
.payment-options span, .payment-options small { display: block; }
.payment-options small { margin-top: 4px; color: #6c6870; font-weight: 400; }
.secure-note { margin: 12px 0 0; color: #65616a; font-size: .78rem; }
#checkoutItems { display: grid; gap: 8px; }
#checkoutItems > div, .checkout-grand-total { display: flex; justify-content: space-between; gap: 18px; }
#checkoutItems small { color: #77737a; }
.checkout-grand-total { margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 1.2rem; }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; margin-top: 22px; }
.consent input { width: 18px; min-height: 18px; accent-color: var(--magenta); }
.form-status { min-height: 22px; margin: 10px 0 0; color: #8d005a; text-align: center; font-size: .82rem; }
.order-success { text-align: center; }
.order-success dl { max-width: 520px; margin: 30px auto; border-block: 1px solid rgba(8,8,18,.17); }
.order-success dl div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; }
.order-success dt { color: #6c6870; }
.order-success dd { margin: 0; font-weight: 800; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: white; color: var(--ink); border-radius: 999px; padding: 12px 18px; box-shadow: 0 14px 45px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: .22s ease; font-size: .85rem; font-weight: 700; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 920px) {
  .intro { align-items: start; flex-direction: column; min-height: 330px; }
  .intro-meta { align-self: flex-end; }
  .filter-toggle { display: block; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; padding: 15px 18px; border: 1px solid rgba(8,8,18,.15); border-radius: 14px; }
  .filters.open { display: block; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dialog-grid { grid-template-columns: 1fr; }
  .gallery-main { min-height: 420px; }
  .gallery-main img { height: 500px; }
  .gallery-main .sprite-frame { width: min(100%, 400px); height: auto; }
  .price-layout, .contact { grid-template-columns: 1fr; }
  .how ol { grid-template-columns: repeat(2,1fr); }
  .how li:nth-child(3n) { border-right: 1px solid var(--line); }
  .how li:nth-child(2n) { border-right: 0; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .review-bar { font-size: .7rem; }
  .header-main { min-height: 69px; }
  .brand img { width: 162px; height: 50px; }
  .header-actions > a { display: none; }
  .category-nav { padding-bottom: 7px; }
  .intro { padding-top: 58px; }
  .category-browser-head, .subcategory-head { align-items: stretch; flex-direction: column; }
  .category-picker { width: 100%; min-width: 0; }
  .subcategory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-menu { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr auto; }
  .search-field { min-width: 0; }
  .search-field input { font-size: .86rem; }
  .filter-toggle { padding: 0 13px; }
  .product-grid { gap: 24px 8px; }
  .product-image { border-radius: 10px; }
  .product-info h3 { font-size: .84rem; }
  .results-head label { display: none; }
  .dialog-close { right: 18px; }
  .gallery-main { min-height: 340px; }
  .gallery-main img { height: 380px; }
  .gallery-main .sprite-frame { width: min(100%, 360px); height: auto; }
  .price-grid, .shipping-grid { grid-template-columns: 1fr; }
  .how ol { grid-template-columns: 1fr; }
  .how li, .how li:nth-child(2n), .how li:nth-child(3n) { min-height: auto; border-right: 0; }
  .contact-links a { grid-template-columns: 65px 1fr auto; }
  .header-actions { gap: 8px; }
  .icon-button { font-size: 1.25rem; }
  .cart-panel, .checkout-form, .order-success { padding: 24px 15px; }
  .cart-item { grid-template-columns: 66px 1fr; align-items: start; }
  .cart-item-image { width: 66px; }
  .cart-item > strong { grid-column: 2; }
  .cart-item-actions { flex-wrap: wrap; }
  .form-grid.two-columns, .payment-options, .option-grid { grid-template-columns: 1fr; }
  .panel-close, .checkout-dialog .panel-close { right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
