/* Общая дизайн-система для браузера и MAUI Blazor Hybrid. */
:root {
    --bg: #1d272a;
    --surface: #263235;
    --deep: #141e21;
    --mint: #a9ddc8;
    --text: #f0f4f1;
    --muted: #afbfbc;
    --line: #455756;
    --burgundy: #58182b;
    color-scheme: dark;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    background: var(--bg);
    color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
button, input, select, textarea, a { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--mint); }
button { background: none; border: 0; }
button:hover, a:hover { color: var(--mint); }
svg { display: block; }
.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
h1 { font-size: clamp(38px, 4.5vw, 68px); letter-spacing: -.065em; line-height: 1.08; margin-bottom: 28px; }
h2 { font-size: clamp(25px, 2.4vw, 36px); letter-spacing: -.045em; line-height: 1.15; }
h3 { font-size: 19px; letter-spacing: -.025em; }
p { line-height: 1.6; color: var(--muted); }
small { color: var(--muted); font-size: 12px; line-height: 1.5; }
strong { font-weight: 500; }
.eyebrow { display: block; color: var(--mint); font-size: 10px; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.muted { color: var(--muted); font-size: 13px; }
.pre-line { white-space: pre-line; }
.lead { font-size: 19px; line-height: 1.7; }
.app-shell { max-width: 1920px; margin: 0 auto; }
.content-wrap { width: calc(100% - 128px); max-width: 1500px; margin: auto; }
.page-content { padding-top: 32px; padding-bottom: 110px; min-height: 65vh; }
.site-header { height: 86px; display: flex; align-items: center; gap: 28px; padding: 0 4.45%; border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 5; }
.wordmark { font-size: 34px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.brand-caption { color: var(--muted); border-left: 1px solid var(--line); padding-left: 25px; font-size: 12px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.header-actions a, .header-action, .desktop-link { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; }
.cart-count { color: var(--mint); font-size: 11px; }
.icon-button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 4px; }
.category-nav { display: flex; gap: 35px; padding: 20px 4.45%; border-bottom: 1px solid var(--line); font-size: 12px; overflow-x: auto; white-space: nowrap; }
.category-nav .active { color: var(--mint); }
.button { min-height: 48px; padding: 13px 25px; border: 1px solid transparent; border-radius: 30px; background: var(--mint); color: var(--deep); display: inline-flex; align-items: center; justify-content: center; gap: 24px; font-size: 14px; font-weight: 500; transition: background .2s, transform .2s; }
.button:hover { color: var(--deep); background: #c5f4df; transform: translateY(-1px); }
.chip { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid var(--line); border-radius: 25px; background: transparent; color: var(--text); font-size: 12px; line-height: 1.3; }
.chip.active { background: var(--mint); border-color: var(--mint); color: var(--deep); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.text-button { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 12px; color: var(--muted); }
.round-button { border: 1px solid var(--line); border-radius: 50%; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.selected { color: var(--mint); }
.selected .icon { fill: #a9ddc822; }
.hero { position: relative; aspect-ratio: 1398 / 1125; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-mobile { display: none; }
.hero-copy { position: absolute; left: 44.9%; top: 3.8%; width: 20%; background: transparent; padding: 1.1% .8%; }
.hero-copy h1 { font-size: clamp(20px, 2.2vw, 40px); letter-spacing: -.035em; margin: 0 0 14px; max-width: 250px; }
.hero-copy p { font-size: clamp(12px, 1.15vw, 19px); line-height: 1.25; max-width: 210px; margin: 0; }
.hero-categories { position: absolute; top: 9%; left: 2.5%; display: flex; flex-direction: column; gap: clamp(70px, 8.7vw, 170px); }
.hero-categories a { display: flex; flex-direction: column; font-size: clamp(18px, 1.7vw, 30px); line-height: 1.3; background: transparent; padding: 2px; }
.hero-categories small { font-size: 11px; }
.hero-categories a::after { content: ''; width: 22px; height: 1px; background: var(--muted); margin-top: 10px; }
.hero-selection { position: absolute; left: 17.6%; top: 76.25%; width: 70.5%; height: 8.8%; background: linear-gradient(90deg, #a8e6d5, #aae2cd); color: var(--deep); border-radius: 100px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.4%; gap: 18px; }
.hero-selection:hover { color: var(--deep); background: #c5f4df; }
.hero-selection strong { font-size: clamp(17px, 2vw, 30px); font-weight: 600; letter-spacing: -.04em; }
.hero-selection b { font-size: clamp(16px, 1.7vw, 26px); white-space: nowrap; font-weight: 500; }
.hero-divider { height: 40%; width: 1px; background: #1d272a77; }
.hero-colors { display: flex; gap: 16px; }
.hero-colors i { width: 32px; height: 32px; border-radius: 50%; background: #aaaead; border: 1px solid white; }
.hero-colors i:first-child { background: var(--burgundy); outline: 1px solid var(--burgundy); outline-offset: 3px; }
.hero-colors i:nth-child(2) { background: #f0f2f0; }
.hero-watch { position: absolute; left: 1%; top: 69%; width: 15%; height: 30%; }
.hero-airpods { position: absolute; right: 0; top: 45%; width: 12%; height: 30%; }
.hero-mac { position: absolute; right: 0; top: 2%; width: 9%; height: 40%; }
.custom-hero { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.intro { display: grid; grid-template-columns: 1fr 2.4fr; padding: 58px 0 62px; border-bottom: 1px solid var(--line); }
.intro h2 { margin: 0; font-size: clamp(25px, 2.5vw, 40px); }
.section-space { padding-top: 74px; padding-bottom: 34px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2, .section-heading h3 { margin: 0; }
.section-heading a { font-size: 12px; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.product-card { min-width: 0; border-top: 1px solid var(--line); padding-top: 12px; padding-bottom: 38px; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.product-art { display: block; width: 100%; aspect-ratio: 1.027; overflow: hidden; }
.uploaded-art { object-fit: contain; }
.art-link { display: block; margin: 8px 0 18px; overflow: hidden; }
.art-link .product-art { transition: transform .3s; }
.art-link:hover .product-art { transform: scale(1.045); }
.product-name { display: block; font-size: 19px; letter-spacing: -.03em; margin-bottom: 8px; }
.product-configuration { font-size: 12px; margin-bottom: 13px; }
.swatches { display: flex; align-items: center; gap: 9px; padding-left: 2px; margin: 14px 0; }
.swatch { display: inline-block; border-radius: 50%; width: 15px; height: 15px; border: 1px solid #dce5df99; }
.swatch.active { outline: 1px solid var(--mint); outline-offset: 3px; }
.swatches.large { gap: 14px; }
.swatches.large .swatch { width: 24px; height: 24px; }
.card-bottom { margin-top: 23px; display: flex; align-items: center; justify-content: space-between; }
.card-bottom strong { font-size: 21px; letter-spacing: -.03em; }
.add-button { display: flex; justify-content: center; align-items: center; border-radius: 50%; background: var(--mint); color: var(--deep); width: 35px; height: 35px; }
.add-button:hover { background: #d3f8e8; color: var(--deep); }
.ecosystem { padding: 70px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.ecosystem h2 { font-size: clamp(35px, 4vw, 62px); margin: 20px 0; }
.ecosystem p { max-width: 490px; font-size: 15px; }
.ecosystem-art { position: relative; }
.optical-ring { position: absolute; width: 83%; height: 83%; left: 8%; top: 5%; border-radius: 50%; border: 1px solid #455756aa; pointer-events: none; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 85px 0; }
.benefits > div { border-top: 1px solid var(--line); padding-top: 28px; }
.benefits h3 { margin-top: 20px; }
.benefits p { max-width: 320px; font-size: 13px; }
.benefits a { font-size: 12px; }
.site-footer { background: var(--deep); padding: 60px 4.45% 26px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1fr; gap: 35px; }
.footer-grid h2 { font-size: 30px; }
.footer-grid h3 { text-transform: uppercase; font-size: 10px; letter-spacing: .13em; color: var(--mint); margin-bottom: 24px; }
.footer-grid p, .footer-grid a { font-size: 12px; color: var(--muted); }
.footer-grid a { display: block; margin-bottom: 15px; }
.footer-wordmark { font-size: clamp(80px, 10vw, 165px); font-weight: 700; letter-spacing: -.065em; padding: 65px 0 30px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 10px; }
.footer-bottom > :first-child { margin-right: auto; }
.footer-bottom > :last-child { margin-left: auto; }
.demo-note { margin: 24px 0 0; font-size: 10px; color: #819694; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 11px; margin-bottom: 52px; }
.page-heading { position: relative; margin-bottom: 50px; }
.page-heading .eyebrow { margin-bottom: 20px; }
.page-heading p { margin: 0; }
.page-heading h1 { margin-bottom: 20px; }
.category-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 50px 0; }
.category-tiles > a { border-top: 1px solid var(--line); padding-top: 20px; font-size: 22px; }
.category-tiles .icon { float: right; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-block: 1px solid var(--line); font-size: 12px; }
.catalog-toolbar select { border: 0; width: auto; margin: 0; padding: 5px; font-size: 12px; }
.catalog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 46px; margin-top: 35px; }
.filters { padding-right: 5px; }
.filters > label, .filters > fieldset { padding-bottom: 22px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.filters h3 { font-size: 15px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
fieldset { border: 0; padding: 0; }
legend { font-size: 12px; margin-bottom: 15px; }
.price-range { display: flex; gap: 10px; }
.price-range input { min-width: 0; }
.help-banner { border-block: 1px solid var(--line); margin-top: 80px; padding: 55px 20px; display: flex; align-items: center; justify-content: space-between; }
.help-banner h2 { margin-top: 16px; font-size: 40px; }
.mobile-filter { display: none; }
label { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); margin-bottom: 23px; }
input, select, textarea { display: block; width: 100%; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 13px 14px; margin-top: 9px; min-height: 44px; }
input::placeholder, textarea::placeholder { color: #90a09e; }
input:focus, select:focus, textarea:focus { border-color: var(--mint); }
select option { background: var(--bg); }
input[type=checkbox], input[type=radio] { display: inline-block; width: 17px; min-width: 17px; min-height: 17px; height: 17px; padding: 0; margin: 0; accent-color: var(--mint); }
input[type=range] { padding: 0; accent-color: var(--mint); border: 0; }
input[type=color] { padding: 5px; }
.check-label { display: flex; align-items: center; gap: 11px; }
.check-label a { text-decoration: underline; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-panel { max-width: 620px; }
.form-error, .validation-message, .validation-errors { color: #f0aaad; font-size: 13px; line-height: 1.6; }
.form-error, .form-message { border: 1px solid var(--line); padding: 16px; border-radius: 4px; }
.form-message { color: var(--mint); }
.validation-errors { padding-left: 18px; }
.invalid { border-color: #d78389; }
.panel { background: var(--surface); padding: 28px; border-radius: 9px; margin-bottom: 25px; }
.panel h2 { font-size: 26px; }
.panel p:last-child { margin-bottom: 0; }
.empty-state { min-height: 440px; padding: 90px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.empty-state h1, .empty-state h2, .empty-state p { margin: 0; }
.empty-state > .icon { width: 56px; height: 56px; color: var(--mint); margin-bottom: 12px; }
.empty-state.compact { min-height: 350px; padding: 45px 20px; }
.product-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: start; }
.main-product-image { position: relative; padding: 0 60px; }
.main-product-image > .product-art { max-height: 590px; }
.detail-optic { width: 30%; position: absolute; right: 8%; top: 3%; border: 1px solid var(--mint); border-radius: 50%; aspect-ratio: 1; overflow: hidden; }
.detail-optic .product-art { width: 260%; max-width: none; transform: translate(-30%, -8%); }
.detail-caption { color: var(--muted); font-size: 12px; position: absolute; right: 4%; top: 46%; }
.detail-caption::before { content: ''; display: block; position: absolute; width: 120px; height: 1px; background: var(--mint); transform: rotate(-25deg); transform-origin: right center; right: 10px; top: -20px; }
.thumbnails { display: flex; gap: 22px; justify-content: center; margin: 15px 0 40px; }
.thumbnails button { width: 75px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.thumbnails button.active { border-color: var(--mint); }
.product-info { padding-top: 22px; }
.product-info h1 { font-size: clamp(35px, 3.2vw, 52px); margin: 15px 0; }
.stock-rating { display: flex; align-items: center; gap: 15px; font-size: 12px; color: var(--muted); }
.stock-rating .chip { color: var(--mint); padding: 5px 12px; font-size: 10px; }
.detail-price { font-size: 33px; letter-spacing: -.04em; margin: 32px 0; }
.option-group { border-top: 1px solid var(--line); padding: 23px 0; }
.option-group .section-heading { font-size: 12px; margin-bottom: 22px; }
.buy-row { display: flex; gap: 12px; margin: 20px 0; }
.buy-row .button { flex: 1; }
.delivery-line { display: flex; gap: 17px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.delivery-line .icon { color: var(--mint); }
.detail-tabs { display: flex; gap: 40px; border-block: 1px solid var(--line); margin: 55px 0; padding: 25px 0; font-size: 12px; overflow-x: auto; white-space: nowrap; }
.description-section, .specification-section, .reviews-section { padding: 35px 0 60px; border-bottom: 1px solid var(--line); }
.description-section h2 { font-size: 45px; margin-top: 25px; }
.description-section > p { max-width: 650px; }
.feature-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 45px; }
.feature-columns h3 { color: var(--mint); font-size: 37px; }
.feature-columns p { font-size: 13px; }
dl { margin: 25px 0; }
dl > div { border-bottom: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; font-size: 13px; }
dt { color: var(--muted); }
dd { margin: 0; }
.specification-section { max-width: 850px; }
.review { padding: 28px 0; border-top: 1px solid var(--line); }
.review .section-heading { margin-bottom: 10px; }
.stars { color: var(--mint); letter-spacing: .2em; font-size: 13px; }
.review p { margin-top: 18px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 65px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding: 25px 0; }
.cart-item p { font-size: 12px; }
.cart-item .product-name { font-size: 18px; }
.cart-item > strong { font-size: 20px; }
.cart-controls { display: flex; gap: 18px; align-items: center; }
.quantity { border: 1px solid var(--line); border-radius: 25px; display: inline-flex; align-items: center; gap: 8px; padding: 3px; font-size: 12px; }
.quantity button { width: 27px; height: 27px; }
.continue-link { display: inline-flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 22px 0 10px; font-size: 12px; }
.order-summary { background: var(--surface); border-radius: 12px; padding: 28px; position: sticky; top: 20px; }
.order-summary h2 { font-size: 25px; margin-bottom: 28px; }
.order-summary > div { display: flex; justify-content: space-between; gap: 22px; font-size: 12px; padding-bottom: 24px; color: var(--muted); }
.order-summary > .summary-total { font-size: 21px; color: var(--text); padding-top: 26px; border-top: 1px solid var(--line); letter-spacing: -.03em; }
.order-summary .button { width: 100%; }
.order-summary > small { display: block; margin-top: 15px; font-size: 10px; }
.order-summary > p { font-size: 11px; margin: 20px 0 0; }
.order-summary .coupon-input { display: block; border-top: 1px solid var(--line); padding-top: 20px; }
.coupon-input label { margin-bottom: 10px; }
.checkout-steps { display: flex; gap: 30px; margin: 40px 0 45px; }
.checkout-steps button { color: var(--muted); font-size: 12px; display: inline-flex; gap: 14px; align-items: center; }
.checkout-steps b { display: inline-flex; border: 1px solid var(--line); width: 27px; height: 27px; border-radius: 50%; align-items: center; justify-content: center; }
.checkout-steps .active b { background: var(--mint); color: var(--deep); }
.checkout-form h2 { font-size: 26px; margin-bottom: 30px; }
.checkout-form > .button { float: right; }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 25px; }
.delivery-option { text-align: left; border: 1px solid var(--line); border-radius: 8px; padding: 23px; }
.delivery-option strong, .delivery-option small { display: block; }
.delivery-option small { margin-top: 10px; }
.delivery-option.active { border-color: var(--mint); background: #a9ddc808; }
.success-state { max-width: 700px; margin: 30px auto; display: flex; flex-direction: column; text-align: center; align-items: center; gap: 22px; }
.success-icon { border: 1px solid var(--mint); border-radius: 50%; padding: 25px; color: var(--mint); }
.success-icon .icon { width: 45px; height: 45px; }
.success-state .panel { width: 100%; }
.success-state h1, .success-state p { margin: 0; }
.comparison-scroll { overflow-x: auto; }
.comparison-grid { display: grid; gap: 30px; }
.comparison-grid .pre-line { font-size: 13px; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 780px; }
.auth-story { padding: 75px 14%; background: var(--deep); position: relative; overflow: hidden; }
.auth-story h2 { font-size: 75px; margin-top: 40px; position: relative; z-index: 1; }
.auth-orbit { width: 90%; margin: -25px auto 0; border-radius: 50%; border: 1px solid var(--line); overflow: hidden; }
.auth-story p { margin-top: 40px; font-size: 13px; }
.auth-form { align-self: center; max-width: 520px; padding: 60px 50px; width: 100%; margin: 0 auto; }
.auth-form h1 { font-size: 40px; margin-top: 25px; }
.auth-form p { font-size: 13px; }
.auth-form .button { width: 100%; margin: 25px 0; }
.auth-form a { color: var(--mint); }
.account-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 75px; }
.account-nav { display: flex; flex-direction: column; align-items: stretch; }
.account-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13px; }
.account-nav a.active { color: var(--mint); }
.account-nav .text-button { padding: 20px 0; }
.greeting { display: flex; align-items: center; gap: 23px; margin-bottom: 45px; }
.greeting h2 { margin: 0 0 6px; }
.greeting p { margin: 0; font-size: 12px; }
.avatar { background: var(--mint); color: var(--deep); border-radius: 50%; width: 57px; height: 57px; display: inline-flex; align-items: center; justify-content: center; font-size: 25px; }
.order-card { border-block: 1px solid var(--line); padding: 25px 0; margin-bottom: 30px; }
.order-card > a { float: right; font-size: 12px; }
.order-devices { display: flex; gap: 20px; margin: 15px 0; }
.order-devices .product-art { width: 130px; }
.order-line { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.order-line .product-art { width: 80px; }
.order-line > strong { margin-left: auto; }
.order-line p { font-size: 12px; margin: 6px 0 0; }
.order-progress { display: flex; gap: 10px; margin: 25px 0; }
.order-progress span { flex: 1; border-top: 2px solid var(--line); padding-top: 12px; font-size: 11px; color: var(--muted); }
.order-progress .active { border-color: var(--mint); color: var(--mint); }
.account-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 45px; }
.account-tiles > a { border: 1px solid var(--line); padding: 25px; border-radius: 7px; }
.account-tiles p, .account-tiles span { font-size: 12px; }
.support-answer { border-left: 2px solid var(--mint); padding: 15px 20px; background: #a9ddc808; }
.information-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 100px; align-items: start; margin-top: 65px; }
.prose { color: var(--muted); font-size: 18px; line-height: 1.9; }
.information-layout > div > .product-art { max-width: 360px; }
.service-steps { border-top: 1px solid var(--line); margin-top: 40px; }
.service-steps > div { display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); padding: 25px 0; }
.service-steps span { color: var(--mint); font-size: 12px; }
.service-steps h3 { margin: 0; }
.overlay { position: fixed; inset: 0; z-index: 50; background: #071011b3; backdrop-filter: blur(7px); overflow: auto; }
.drawer { min-height: 100%; width: min(560px, 95%); margin-left: auto; padding: 45px; background: var(--bg); box-shadow: -20px 0 100px #0006; }
.drawer h2 { font-size: 25px; }
.menu-category { display: flex; justify-content: space-between; font-size: 44px; letter-spacing: -.04em; padding: 17px 0; border-bottom: 1px solid var(--line); }
.menu-category span { color: var(--mint); }
.menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 40px; font-size: 13px; }
.search-panel { max-width: 860px; margin: 10vh auto; background: var(--bg); padding: 40px; border: 1px solid var(--line); border-radius: 10px; }
.search-input { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.search-input input { border: 0; font-size: 30px; margin: 0; padding: 20px 0; }
.search-result { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.search-result .product-art { width: 75px; }
.search-result strong { margin-left: auto; font-size: 13px; }
.search-panel > .button { margin-top: 30px; }
.dialog { max-width: 510px; margin: 20vh auto; background: var(--surface); padding: 40px; border: 1px solid var(--line); border-radius: 14px; }
.dialog > a { display: block; margin-top: 25px; font-size: 12px; }
.toast { position: fixed; z-index: 60; bottom: 28px; right: 28px; display: flex; align-items: center; gap: 18px; background: var(--mint); color: var(--deep); padding: 16px 20px; border-radius: 10px; max-width: calc(100vw - 40px); box-shadow: 0 10px 40px #0004; font-size: 13px; }
.toast a { text-decoration: underline; white-space: nowrap; }
.toast button:hover, .toast a:hover { color: var(--burgundy); }
.loading { min-height: 70vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 25px; }
.loading-line { width: 140px; height: 2px; background: linear-gradient(90deg, var(--line), var(--mint), var(--line)); background-size: 200%; animation: pulse 1.4s infinite; }
@keyframes pulse { to { background-position: -200%; } }
.skip-link { position: absolute; top: -80px; left: 20px; background: var(--mint); color: var(--deep); padding: 12px; z-index: 100; }
.skip-link:focus { top: 10px; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; padding: 18px; background: #631e30; color: white; z-index: 200; width: 100%; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; }
.admin-heading h1 { font-size: 48px; margin: 18px 0 10px; }
.admin-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 40px; margin-top: 45px; }
.admin-nav { display: flex; flex-direction: column; gap: 5px; align-self: start; position: sticky; top: 20px; }
.admin-nav button { text-align: left; padding: 15px; border-radius: 6px; font-size: 13px; }
.admin-nav .active { background: var(--mint); color: var(--deep); }
.admin-content { min-width: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.stats-grid > div { background: var(--surface); padding: 28px; border-radius: 8px; }
.stats-grid span { color: var(--muted); font-size: 12px; }
.stats-grid strong { display: block; font-size: 39px; letter-spacing: -.05em; margin-top: 25px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; }
th { color: var(--muted); font-weight: 400; }
td, th { border-bottom: 1px solid var(--line); padding: 16px 12px; }
td .chip { margin: 4px; }
.table-product { display: flex; align-items: center; gap: 15px; min-width: 200px; }
.table-product .product-art { width: 65px; }
.variant-editor { border: 1px solid var(--line); border-radius: 6px; padding: 20px; margin-bottom: 20px; }
.admin-list-row { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.admin-list-row strong { flex: 1; }
.admin-list-row > span { font-size: 12px; color: var(--muted); }
.admin-editor { border: 1px solid var(--mint); }
@media (min-width: 1600px) { .hero-copy { top: 4%; } }
@media (max-width: 1100px) {
    .content-wrap { width: calc(100% - 64px); }
    .header-actions { gap: 17px; }
    .catalog-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { gap: 20px; }
    .checkout-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
    .product-detail { gap: 25px; }
    .main-product-image { padding: 10px 20px; }
    .product-info h1 { font-size: 35px; }
    .cart-item { grid-template-columns: 95px minmax(0, 1fr); gap: 16px; }
    .cart-item > strong { grid-column: 2; }
    .information-layout { gap: 40px; }
    .hero-colors { gap: 12px; }
    .hero-colors i { width: 23px; height: 23px; }
    .account-layout { gap: 35px; grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 700px) {
    :root { font-size: 14px; }
    h1 { font-size: 42px; }
    h2 { font-size: 27px; }
    .content-wrap { width: calc(100% - 40px); }
    .page-content { padding-top: 24px; padding-bottom: 65px; }
    .site-header { height: 75px; padding: 0 20px; gap: 0; }
    .wordmark { font-size: 29px; }
    .brand-caption, .desktop-label, .header-actions .desktop-link, .category-nav .desktop-link { display: none; }
    .header-actions { gap: 16px; }
    .header-actions .icon { width: 20px; height: 20px; }
    .category-nav { gap: 0; justify-content: space-between; padding: 20px; font-size: 11px; }
    .hero { aspect-ratio: 803 / 1959; }
    .hero-desktop { display: none; }
    .hero-mobile { display: block; }
    .hero-copy { left: 4%; top: 3%; width: 39%; padding: 4px; background: transparent; }
    .hero-copy h1 { font-size: 23px; margin-bottom: 13px; }
    .hero-copy p { font-size: 13px; max-width: 140px; }
    .hero-categories, .hero-watch, .hero-airpods { display: none; }
    .hero-mac { top: 75%; width: 100%; height: 25%; }
    .hero-selection { left: 3%; top: 64.6%; width: 94%; height: 7%; padding: 0 5%; gap: 8px; border-radius: 24px; }
    .hero-selection strong { max-width: 77px; font-size: 16px; }
    .hero-selection b { font-size: 13px; }
    .hero-colors { gap: 8px; }
    .hero-colors i { width: 16px; height: 16px; }
    .hero-divider { height: 32%; }
    .intro { display: block; padding: 42px 0; }
    .intro h2 { margin-top: 28px; font-size: 27px; }
    .section-space { padding-top: 40px; padding-bottom: 25px; }
    .section-heading { gap: 12px; margin-bottom: 26px; }
    .section-heading a { font-size: 10px; }
    .product-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .product-card { padding-bottom: 28px; }
    .card-top .eyebrow { font-size: 8px; }
    .card-top .icon-button { width: 25px; height: 25px; }
    .card-top .icon { width: 17px; height: 17px; }
    .art-link { margin: 16px 0 18px; }
    .product-name { font-size: 16px; }
    .product-configuration { font-size: 10px; line-height: 1.5; min-height: 30px; margin-bottom: 8px; }
    .swatch { width: 11px; height: 11px; }
    .swatches { gap: 8px; }
    .card-bottom { margin-top: 18px; }
    .card-bottom strong { font-size: 18px; }
    .add-button { width: 28px; height: 28px; }
    .add-button .icon { width: 17px; height: 17px; }
    .ecosystem { grid-template-columns: 1fr; gap: 10px; padding: 40px 0; }
    .ecosystem h2 { font-size: 43px; }
    .ecosystem-art { max-width: 370px; }
    .benefits { grid-template-columns: 1fr; gap: 35px; padding: 50px 0; }
    .benefits > div { padding-top: 23px; }
    .site-footer { padding: 45px 20px 25px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid h2 { font-size: 30px; }
    .footer-grid h3 { font-size: 10px; }
    .footer-wordmark { font-size: 85px; padding: 35px 0 30px; }
    .footer-bottom { flex-wrap: wrap; gap: 20px; font-size: 9px; }
    .footer-bottom > :first-child { width: 100%; }
    .footer-bottom > :last-child { margin-left: 0; }
    .footer-bottom .text-button { font-size: 9px; padding: 0; }
    .breadcrumbs { font-size: 10px; gap: 9px; margin-bottom: 35px; }
    .page-heading { margin-bottom: 37px; }
    .page-heading p { font-size: 13px; margin-top: 28px; }
    .category-tiles { grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
    .category-tiles > a { font-size: 20px; }
    .category-tiles > a:last-child { grid-column: 1 / -1; max-width: 50%; }
    .catalog-toolbar { font-size: 10px; gap: 8px; }
    .catalog-toolbar select { font-size: 10px; max-width: 145px; }
    .mobile-filter { display: inline-flex; }
    .mobile-filter .icon { width: 14px; height: 14px; }
    .catalog-layout { display: block; margin-top: 24px; }
    .filters { display: none; }
    .filters.filters-open { display: block; background: var(--surface); padding: 23px; margin-bottom: 25px; border-radius: 10px; }
    .filter-chips { gap: 8px; margin-bottom: 28px; }
    .filter-chips .chip { font-size: 10px; padding: 8px 12px; }
    .help-banner { display: block; padding: 38px 0; margin-top: 30px; }
    .help-banner h2 { font-size: 35px; }
    .product-detail { grid-template-columns: 1fr; gap: 0; }
    .main-product-image { max-width: 390px; margin: auto; padding: 0 10px; }
    .detail-optic { right: 2%; width: 28%; }
    .detail-caption { font-size: 10px; right: 2%; }
    .detail-caption::before { width: 80px; }
    .thumbnails { margin-top: 12px; margin-bottom: 25px; }
    .thumbnails button { width: 65px; }
    .product-info { padding-top: 12px; }
    .product-info h1 { font-size: 36px; }
    .detail-price { font-size: 30px; margin: 30px 0; }
    .buy-row { gap: 9px; }
    .buy-row .button { padding: 14px 16px; font-size: 12px; gap: 13px; }
    .round-button { width: 43px; height: 43px; }
    .detail-tabs { gap: 24px; font-size: 10px; margin: 42px 0 20px; padding: 23px 0; }
    .description-section h2 { font-size: 32px; }
    .feature-columns { grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
    .feature-columns > div { border-top: 1px solid var(--line); padding-top: 25px; }
    .feature-columns h3 { font-size: 34px; margin-bottom: 15px; }
    .description-section, .specification-section, .reviews-section { padding: 25px 0; }
    .reviews-section .section-heading { align-items: flex-start; }
    .reviews-section .section-heading h2 { font-size: 25px; }
    .reviews-section .chip { font-size: 10px; }
    .checkout-layout { grid-template-columns: 1fr; gap: 38px; }
    .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 8px 20px; padding: 22px 0; }
    .cart-controls { gap: 10px; }
    .cart-controls .text-button { font-size: 10px; }
    .cart-item > strong { font-size: 22px; }
    .cart-item .product-name { font-size: 17px; }
    .cart-item p { font-size: 11px; }
    .order-summary { position: static; padding: 28px 24px; }
    .order-summary .summary-total { font-size: 23px; }
    .checkout-steps { gap: 10px; justify-content: space-between; margin-bottom: 40px; }
    .checkout-steps button { gap: 8px; font-size: 10px; padding: 0; }
    .checkout-steps b { width: 24px; height: 24px; }
    .delivery-options { grid-template-columns: 1fr; }
    .delivery-option { padding: 23px; }
    .checkout-form > .button { width: 100%; }
    .checkout-form > .form-error { clear: both; margin-top: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .auth-layout { grid-template-columns: 1fr; min-height: auto; }
    .auth-story { display: none; }
    .auth-form { padding: 60px 20px 85px; max-width: 440px; }
    .auth-form h1 { font-size: 38px; }
    .account-layout { grid-template-columns: 1fr; gap: 40px; }
    .account-nav { flex-direction: row; flex-wrap: wrap; gap: 10px; }
    .account-nav a, .account-nav .text-button { border: 1px solid var(--line); border-radius: 22px; padding: 10px 16px; font-size: 11px; }
    .account-nav a.active { color: var(--deep); background: var(--mint); }
    .account-nav .icon { display: none; }
    .greeting { gap: 16px; }
    .greeting h2 { font-size: 26px; }
    .avatar { min-width: 47px; width: 47px; height: 47px; font-size: 21px; }
    .account-tiles { grid-template-columns: 1fr; }
    .order-line { gap: 12px; font-size: 12px; }
    .order-line .product-art { width: 58px; }
    .order-line > strong { white-space: nowrap; }
    .order-progress span { font-size: 9px; }
    .information-layout { grid-template-columns: 1fr; gap: 40px; margin-top: 35px; }
    .prose { font-size: 16px; }
    .panel { padding: 24px; }
    .drawer { padding: 25px; }
    .drawer h2 { font-size: 22px; }
    .menu-category { font-size: 39px; }
    .search-panel { margin: 0; padding: 25px 20px; min-height: 100%; border: 0; border-radius: 0; }
    .search-input input { font-size: 24px; }
    .search-result { gap: 12px; }
    .search-result .product-art { width: 60px; }
    .search-result > span { font-size: 14px; }
    .search-result strong { font-size: 11px; }
    .search-result .icon { display: none; }
    .dialog { margin: 15vh 20px; padding: 27px; }
    .toast { left: 15px; bottom: 15px; right: 15px; padding: 14px; gap: 10px; font-size: 12px; max-width: none; }
    .toast > .icon { display: none; }
    .toast a { font-size: 10px; }
    .admin-heading { align-items: flex-start; }
    .admin-heading h1 { font-size: 35px; }
    .admin-heading > .chip { max-width: 110px; text-align: center; }
    .admin-layout { grid-template-columns: 1fr; gap: 25px; margin-top: 25px; }
    .admin-nav { flex-direction: row; flex-wrap: wrap; position: static; gap: 8px; }
    .admin-nav button { border: 1px solid var(--line); border-radius: 25px; font-size: 10px; padding: 10px 13px; }
    .admin-content > .section-heading { flex-wrap: wrap; }
    .stats-grid { gap: 12px; }
    .stats-grid > div { padding: 18px; }
    .stats-grid strong { font-size: 27px; overflow-wrap: anywhere; }
    .stats-grid span { font-size: 10px; }
    .admin-list-row { flex-wrap: wrap; gap: 15px; }
    .admin-list-row strong { flex-basis: 100%; }
    .admin-editor { padding: 20px 16px; }
    .variant-editor { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
