@import url('./fonts/manrope.css');

:root {
  color-scheme: light;
  --ink: #171d2b;
  --muted: #50596a;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #e2e3e7;
  --blue: #1745e8;
  --blue-hover: #1237bf;
  --blue-soft: #e8efff;
  --navy: #131f45;
  --radius: 18px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.16; letter-spacing: -.034em; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(calc(100% - 72px), 1264px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 10px 16px; border-radius: 8px; background: var(--white); }

.header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: clamp(18px, 3vw, 45px); }
.brand { display: inline-flex; align-items: center; justify-self: start; flex: none; width: clamp(9rem, 16vw, 12rem); }
.brand img { height: auto; mix-blend-mode: multiply; }
.nav { display: flex; flex: none; gap: 26px; align-items: center; font-size: .925rem; font-weight: 700; }
.nav a, .footer nav a { white-space: nowrap; }
.nav a:hover, .nav a[aria-current], .footer nav a:hover { color: var(--blue); }
.search { display: flex; align-items: center; min-width: 0; flex: 1; max-width: 410px; margin-left: auto; background: #eeeff2; border: 1px solid transparent; border-radius: 11px; }
.search:focus-within { border-color: var(--blue); }
.search input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 0 8px 15px; background: transparent; border: 0; outline: 0; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search button { display: grid; place-items: center; min-width: 45px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; }
.icon-search { position: relative; display: block; width: 16px; height: 16px; border: 1.8px solid currentColor; border-radius: 50%; margin: -3px 3px 0 0; }
.icon-search::after { content: ''; position: absolute; width: 7px; height: 1.8px; top: 12px; left: 11px; background: currentColor; transform: rotate(45deg); transform-origin: 0 50%; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 10px; background: var(--blue); color: var(--white); font-weight: 700; text-align: center; white-space: nowrap; }
.button:hover { background: var(--blue-hover); }
.button-small { min-height: 42px; padding: 8px 14px; font-size: .9rem; }
.button-outline { border-color: #ced4e4; color: var(--navy); background: var(--white); }
.button-outline:hover { background: var(--blue-soft); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--blue-soft); }
.text-link, .plain-button { color: var(--blue); font-weight: 700; text-underline-offset: 4px; }
.text-link:hover, .plain-button:hover { text-decoration: underline; }
.plain-button { border: 0; background: none; padding: 6px 0; font-size: .9rem; }

.hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: stretch; margin-top: 26px; border-radius: var(--radius); overflow: hidden; background: #f0eee7; }
.hero-copy { align-self: center; padding: clamp(34px, 4.7vw, 69px); }
.hero h1 { font-size: clamp(2.65rem, 4.8vw, 4.45rem); letter-spacing: -.072em; line-height: 1.02; }
.hero h1 span { color: var(--blue); display: block; }
.hero p { max-width: 355px; margin-top: 23px; color: #424b5c; font-size: clamp(1rem, 1.28vw, 1.13rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.hero-image { position: relative; min-height: 410px; background: #0730cf; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 52%; }
.hero-image::after { content: ''; pointer-events: none; position: absolute; width: 30px; height: 30px; bottom: 23px; right: 23px; border-right: 2px solid #d6e3ff; border-bottom: 2px solid #d6e3ff; border-radius: 0 0 4px 0; opacity: .84; }








.section { margin-top: clamp(36px, 4.1vw, 64px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; }
.section-head h2, .about-panel h2 { font-size: clamp(1.62rem, 2.5vw, 2.26rem); }
.task-collections { padding-block: clamp(31px, 5vw, 75px); background: #fff; }
.task-collections-heading { margin-bottom: clamp(23px, 4vw, 52px); padding-inline: clamp(0px, 1.8vw, 24px); }
.task-collections-heading::before { content: ''; display: block; width: clamp(43px, 5vw, 65px); height: 6px; margin-bottom: clamp(14px, 1.7vw, 21px); border-radius: 999px; background: linear-gradient(90deg, #0055ff, #8cb4ff); }
.task-collections-heading h2 { color: #10141c; font-size: clamp(2.05rem, 4.65vw, 3.5rem); line-height: 1.05; letter-spacing: -.055em; }
.task-collections-heading p { margin-top: 11px; color: #414c5e; font-size: clamp(1rem, 1.75vw, 1.4rem); }
.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.collection { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: clamp(15px, 2.45vw, 32px) clamp(13px, 1.7vw, 24px) clamp(22px, 2.1vw, 30px); border: 1px solid #dce1ea; border-radius: clamp(17px, 2.1vw, 27px); background: #fff; box-shadow: 0 12px 24px -11px #263e6833; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.collection:hover { transform: translateY(-4px); border-color: #b6cbf9; box-shadow: 0 14px 26px #192c4b1a; }
.collection-name { color: #10141c; font-size: clamp(1.06rem, 1.65vw, 1.5rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.16; }
.collection-copy { min-height: 2.8em; margin-top: 9px; color: #343e4f; font-size: clamp(.86rem, 1.14vw, 1rem); line-height: 1.4; }
.collection-arrow { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: clamp(33px, 3.8vw, 46px); aspect-ratio: 1; margin-top: clamp(10px, 1.5vw, 19px); border-radius: 50%; color: #0053ff; background: #eaf1ff; font-size: clamp(1.22rem, 2.3vw, 1.72rem); line-height: 1; transition: color .22s ease, background .22s ease; }
.collection:is(:hover, :focus-visible) .collection-arrow { color: #fff; background: #0053ff; }
.collection-photo { position: relative; isolation: isolate; flex: 1 0 auto; align-self: center; width: calc(100% + clamp(13px, 2.1vw, 30px)); aspect-ratio: 1.5; margin-top: clamp(-19px, -1.35vw, -5px); }
.collection-photo::before { content: ''; position: absolute; inset: auto 4% -13% 4%; height: 40%; z-index: -1; background: radial-gradient(ellipse at center, #566b8d46, #8091ac18 49%, transparent 72%); filter: blur(7px); }
.collection-image { position: absolute; inset: auto 0 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; transform-origin: center bottom; transition: transform .24s ease; }
.collection:first-child .collection-photo { aspect-ratio: 1.42; }
.collection:not(:first-child) .collection-photo::before { inset-inline: 8%; }
.collection:hover .collection-image { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .collection, .collection-image, .collection-arrow { transform: none !important; transition: none; }
}
.about-panel { color: #fff; background: var(--navy); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; padding: clamp(25px, 4vw, 46px); }
.about-panel p { max-width: 64ch; margin-top: 10px; color: #e1eaff; }
.footer { margin-top: 56px; color: #e2e8f4; background: #080b11; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-block: 23px; gap: 19px; }
.footer .brand img { mix-blend-mode: lighten; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 23px; font-size: .9rem; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.footer :focus-visible { outline-color: #88b6ff; }

.catalog { padding-top: 26px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.catalog-intro { margin-top: 16px; }
.catalog-intro h1 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); letter-spacing: -.065em; }
.catalog-intro p { margin-top: 9px; max-width: 62ch; color: var(--muted); font-size: 1.06rem; }
.segments { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 25px; }
.segments a { background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 20px; font-size: .91rem; font-weight: 700; }
.segments a:hover { border-color: var(--blue); }
.segments a[aria-current] { background: var(--blue); border-color: var(--blue); color: white; }
.catalog-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 23px; align-items: start; }
.filter-fields { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 15px; }
.filter-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.filter-heading h2 { font-size: 1.19rem; }
.filter-group { padding-top: 12px; }
.filter-group + .filter-group { border-top: 1px solid var(--line); margin-top: 14px; }
.filter-group label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 700; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 14px; top: calc(50% - 5px); width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.select select, .filter-group input { appearance: none; background: var(--white); border: 1px solid #cdd2dd; border-radius: 8px; width: 100%; min-height: 43px; padding: 7px 10px; font-size: 1rem; }
.select select { padding-right: 29px; cursor: pointer; }
.mobile-filter { display: none; }
.result-tools { display: flex; justify-content: space-between; align-items: center; gap: 13px; margin-bottom: 13px; min-height: 45px; }
.result-count { color: var(--muted); font-size: .9rem; }
.sort { display: flex; gap: 9px; align-items: center; font-size: .875rem; white-space: nowrap; }
.sort select { font-size: .9rem; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.home-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product { position: relative; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.favorite-button { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.favorite-button:hover, .favorite-button[aria-pressed="true"] { background: #edf3ff; color: var(--blue); }
.favorite-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.favorite-button[aria-busy="true"] { cursor: progress; }
.favorite-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.catalog-favorite { position: absolute; z-index: 1; inset: 9px 9px auto auto; }
.dialog-favorite { align-self: center; }
.product:hover { border-color: #a8baf6; }
.card-media { display: block; width: 100%; background: #e9ecf3; aspect-ratio: 1.43; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-media.card-media-studio { aspect-ratio: 4 / 3; background: #fff; }
.card-media-studio img { object-fit: contain; }
.card-media.card-media-desktop { aspect-ratio: 4 / 3; }
.card-media-desktop img { object-fit: contain; }
.image-unavailable { display: grid; width: 100%; height: 100%; min-height: 116px; place-items: center; color: var(--muted); font-size: .9rem; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 13px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin-bottom: 7px; font-size: .875rem; color: var(--muted); }
.condition { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; padding: 3px 8px; border-radius: 6px; background: var(--blue-soft); color: #1b3d9c; font-size: .84rem; font-weight: 700; }
.product h3 { font-size: 1.1rem; margin-bottom: 5px; overflow-wrap: anywhere; }
.product h3 a:hover { color: var(--blue); }
.card-spec { min-height: 2.4em; margin-bottom: 10px; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.card-end { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 6px 9px; flex-wrap: wrap; }
.prices { min-width: 0; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; line-height: 1.35; }
.prices strong { font-size: clamp(1.06rem, 1.6vw, 1.32rem); letter-spacing: -.045em; }
.prices s { color: var(--muted); font-size: .85rem; }
.card-end .button { min-width: 63px; padding-inline: 10px; min-height: 38px; }
.more { text-align: center; margin-top: 18px; }
.empty { grid-column: 1 / -1; border-radius: 14px; border: 1px solid var(--line); background: var(--white); text-align: center; padding: 38px 15px; }
.empty h2 { margin-bottom: 8px; font-size: 1.3rem; }
.empty p, .loading { color: var(--muted); }

.product-dialog { max-width: min(860px, calc(100% - 26px)); max-height: calc(100% - 26px); width: 100%; padding: 0; border: 0; border-radius: 17px; background: var(--white); color: var(--ink); box-shadow: 0 16px 82px #10173055; }
.product-dialog::backdrop { background: #1017309e; }
body:has(.product-dialog[open]) { overflow: hidden; }
.dialog-inner { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 23px; padding: 21px; }
.dialog-close { position: absolute; top: 11px; right: 11px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); z-index: 1; font-size: 1.6rem; line-height: 1; }
.dialog-close:hover { background: var(--blue-soft); }
.dialog-figure { width: 100%; aspect-ratio: 1.21; background: #eef0f5; border-radius: 10px; overflow: hidden; }
.dialog-figure img { width: 100%; height: 100%; object-fit: contain; }
.photo-enlarge { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.photo-enlarge:focus-visible { outline-offset: -3px; }
.photo-enlarge-icon { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: #101730d9; color: white; font-size: 1.3rem; }
.thumbs { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }
.thumb { width: 49px; height: 44px; border: 2px solid transparent; border-radius: 7px; padding: 1px; background: #e9ecf3; overflow: hidden; cursor: zoom-in; }
.thumb[aria-current="true"] { border-color: var(--blue); }
.thumb img { height: 100%; object-fit: cover; border-radius: 3px; }
.product-gallery { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #0e111b; color: #fff; }
.product-gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.product-gallery-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 8px clamp(14px, 3vw, 36px); }
.product-gallery-header p { min-width: 0; font-size: .94rem; font-weight: 650; overflow-wrap: anywhere; }
.product-gallery-stage { position: relative; display: grid; min-height: 0; place-items: center; padding-inline: clamp(0px, calc((100vw - 600px) / 4), 74px); touch-action: pan-y pinch-zoom; }
.product-gallery-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; user-select: none; }
.product-gallery button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff47; border-radius: 50%; background: #181e30e6; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.product-gallery button:hover { background: #2a3551; }
.product-gallery button:focus-visible { outline: 2px solid #91b6ff; outline-offset: 3px; }
.product-gallery-stage button { position: absolute; top: 50%; transform: translateY(-50%); }
.product-gallery-stage [data-step="-1"] { left: clamp(8px, 2vw, 24px); }
.product-gallery-stage [data-step="1"] { right: clamp(8px, 2vw, 24px); }
.product-gallery-count { padding: 12px 16px max(16px, env(safe-area-inset-bottom)); text-align: center; color: #d7dfef; font-variant-numeric: tabular-nums; }
.dialog-copy h2 { padding-right: 36px; margin-bottom: 10px; font-size: clamp(1.65rem, 3vw, 2.22rem); overflow-wrap: anywhere; }
.dialog-copy .prices { margin-block: 14px; }
.dialog-copy .prices strong { font-size: 1.85rem; }
.product-verification { color: #087348; font-size: .79rem; font-weight: 700; }
.dialog-verification { margin-bottom: 10px; }
.dialog-copy h3 { margin: 20px 0 7px; font-size: 1rem; }
.dialog-description p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.dialog-description p + p { margin-top: 5px; }
.spec-list { margin-block: 14px; border-block: 1px solid var(--line); padding-block: 4px; }
.spec-list > div { display: grid; grid-template-columns: minmax(95px, .6fr) 1fr; gap: 8px; border-bottom: 1px solid var(--line); padding: 7px 0; }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt, .dialog-note { color: var(--muted); font-size: .875rem; }
.spec-list dd { font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.dialog-note { margin-top: 9px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.product-benefits { display: grid; gap: 8px; margin-top: 16px; }
.product-benefit { border: 1px solid #dfe8ff; border-radius: 12px; background: #edf3ff; }
.product-benefit summary { display: grid; grid-template-columns: 19px minmax(0, 1fr) 8px; gap: 10px; align-items: center; padding: 10px 12px; min-height: 44px; font-size: .9rem; font-weight: 700; cursor: pointer; list-style: none; }
.product-benefit summary::-webkit-details-marker { display: none; }
.product-benefit summary::after { content: ''; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.product-benefit[open] summary::after { transform: rotate(45deg); }
.product-benefit summary:focus-visible { outline-offset: -3px; border-radius: inherit; }
.product-benefit summary svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.product-benefit-copy { display: grid; gap: 8px; padding: 0 12px 12px; font-size: .875rem; line-height: 1.5; }
.header-action { gap: 7px; }
[data-cart-count] { padding: 0 6px; min-width: 21px; border-radius: 12px; line-height: 21px; color: var(--blue); background: var(--white); }

.cart-page > .loading { margin-top: 15px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 18px; align-items: start; margin-top: 19px; }
.cart-left { display: grid; gap: 15px; }
.checkout-panel { border: 1px solid var(--line); padding: clamp(16px, 2vw, 25px); border-radius: 14px; background: var(--white); }
.checkout-panel h2 { font-size: 1.4rem; margin-bottom: 14px; }
.checkout-panel h3 { font-size: 1.04rem; }
.cart-item { display: grid; grid-template-columns: 75px minmax(0, 1fr) auto; align-items: center; column-gap: 13px; padding-block: 10px; }
.cart-item + .cart-item { border-top: 1px solid var(--line); }
.cart-item p { color: var(--muted); margin-top: 4px; font-size: .875rem; }
.cart-item .plain-button { padding: 8px 3px; }
.cart-image { display: block; width: 75px; height: 56px; background: #edf0f6; border-radius: 8px; overflow: hidden; }
.cart-image img { height: 100%; object-fit: cover; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 19px; }
.checkout-fields label { display: block; font-size: .89rem; font-weight: 700; }
.checkout-fields label[hidden] { display: none; }
.checkout-wide { grid-column: 1 / -1; }
.checkout-fields input, .checkout-fields select { width: 100%; min-width: 0; margin-top: 5px; min-height: 43px; padding: 7px 10px; font-size: 1rem; font-weight: 500; border: 1px solid #cdd2dd; border-radius: 8px; background: var(--white); }
.checkout-fields .select { display: block; }
.checkout-fields select { padding-right: 29px; }
.checkout-payment { display: grid; gap: 8px; padding: 0; margin: 0 0 14px; border: 0; }
.checkout-payment legend { margin-bottom: 8px; font-size: 1.05rem; font-weight: 750; }
.checkout-payment label { display: flex; align-items: center; gap: 9px; font-size: .92rem; }
.checkout-payment label[hidden] { display: none; }
.checkout-payment input { accent-color: var(--blue, #075bff); }
.checkout-note { color: var(--muted); font-size: .89rem; margin-top: 10px; }
.quote-button { margin-top: 15px; }
.button:disabled { cursor: wait; opacity: .66; }
.cart-totals > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; column-gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.cart-totals dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.order-summary .button { width: 100%; margin-top: 14px; }
.order-success { max-width: 640px; margin-top: 22px; }
.order-success p { margin-bottom: 15px; }

@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .nav { gap: 15px; }
  .hero-copy { padding: 33px; }
  .hero-image { min-height: 355px; }
  .catalog-layout { grid-template-columns: 202px minmax(0, 1fr); gap: 15px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding-block: 10px; }
  .nav { display: none; }
  .search { grid-row: 2; grid-column: 1 / -1; width: 100%; max-width: none; }
  .header-action { grid-row: 1; grid-column: 2; }
  .hero { margin-top: 14px; grid-template-columns: 1fr; }
  .hero-copy { padding: 27px 23px 25px; }
  .hero h1 { font-size: clamp(2.35rem, 7.5vw, 3.5rem); }
  .hero h1 span { display: inline; }
  .hero p { margin-top: 13px; }
  .hero-actions { margin-top: 17px; }
  .hero-image { min-height: 0; aspect-ratio: 1.75; }
  .hero-image::after { bottom: 12px; right: 12px; width: 22px; height: 22px; }



  .about-panel { flex-direction: column; align-items: flex-start; }
  .footer { margin-top: 37px; }
  .catalog { padding-top: 17px; }
  .catalog-intro { margin-top: 11px; }
  .segments { margin: 17px 0 16px; }
  .catalog-layout { display: block; }
  .mobile-filter { display: inline-flex; min-height: 43px; margin-bottom: 10px; }
  .filter-fields { margin-bottom: 10px; }
  .filter-fields:not(.is-open) { display: none; }
  .mobile-filter[aria-expanded="true"] { background: var(--blue-soft); }
  .card-spec { min-height: 0; }
  .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
  .shell { width: calc(100% - 26px); }
  .hero-copy { padding-inline: 18px; }
  .hero-actions { gap: 10px 16px; }
  .hero-actions .text-link { font-size: .93rem; }
  .hero-image { aspect-ratio: 1.54; }
  .section-head { align-items: flex-start; }
  .catalog-intro p { font-size: 1rem; }
  .segments a { font-size: .88rem; padding: 7px 10px; }
  .result-tools { flex-wrap: wrap; gap: 7px; }
  .sort { margin-left: auto; }
  .sort select { max-width: 197px; }
  .sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .products { gap: 8px; }
  .card-body { padding: 9px; }
  .card-media { aspect-ratio: 1.25; }
  .product h3 { font-size: 1rem; }
  .card-meta { gap: 3px 6px; }
  .card-end .button { min-height: 38px; }
  .dialog-inner { grid-template-columns: 1fr; padding: 13px; gap: 14px; }
  .dialog-close { top: 9px; right: 9px; }
  .dialog-copy h2 { padding-right: 0; }
  .checkout-fields { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 7px; }
  .cart-image { width: 62px; height: 51px; }
}

@media (max-width: 900px) {
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-photo { margin-top: 3px; }
}
@media (max-width: 360px) {
  .collections { grid-template-columns: 1fr; }
  .collection-copy { min-height: 0; }
}
