@font-face { font-family: "Roboto Condensed"; src: url("fonts/roboto-condensed-bold.woff") format("woff"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: Inter; src: url("fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("fonts/inter-semibold.woff") format("woff"); font-weight: 600 900; font-display: swap; }
:root {
    color-scheme: dark;
    --bg: #101115;
    --panel: #191b21;
    --line: #343741;
    --text: #f7f5ef;
    --muted: #b8bac4;
    --accent: #8df2e2;
    --heading: "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
    --body: "Inter", Arial, sans-serif;
    font-family: var(--body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.02; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
button:disabled { opacity: .55; cursor: wait; }
img { display: block; max-width: 100%; }
.wrap { width: min(1344px, calc(100% - 112px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; z-index: 20; top: 12px; left: 12px; background: var(--accent); color: #071c19; padding: 12px; }
.top { position: sticky; top: 0; z-index: 2; background: #101115; border-bottom: 1px solid #272a32; }
.mast { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { width: fit-content; }
.brand-logo { width: 136px; height: 55px; object-fit: contain; }
.mast nav { display: flex; gap: clamp(14px, 3vw, 40px); align-items: center; font-size: .86rem; font-weight: 650; color: var(--muted); }
.mast nav a:hover, .mast nav [aria-current] { color: var(--text); }
.mast nav [aria-current] { position: relative; }
.mast nav [aria-current]::after { content: ""; position: absolute; height: 2px; background: var(--accent); bottom: -9px; left: 0; right: 0; }
.cart-button {
    justify-self: end; display: flex; align-items: center; gap: 9px; padding: 8px 12px;
    border: 1px solid var(--line); background: var(--panel); color: var(--text);
    border-radius: 6px; font-weight: 660; font-size: .85rem;
}
.cart-button:hover { border-color: var(--accent); }
.cart-button svg, .search-wrap svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
#bag-count { border-radius: 3px; min-width: 23px; text-align: center; background: #2e343d; padding: 1px 5px; }
.hero { isolation: isolate; position: relative; min-height: clamp(420px, 35vw, 540px); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid #303039; }
.hero picture, .hero picture img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero picture img { object-fit: cover; object-position: 65% center; }
.hero::after { content: ""; background: linear-gradient(90deg, #0a0a0ef5 0%, #0a0a0ed9 27%, #0a0a0e59 61%, transparent 93%); }
.hero-content { padding-block: 38px 42px; }
.eyebrow { font-size: .71rem; text-transform: uppercase; font-weight: 760; letter-spacing: .16em; color: var(--accent); }
.hero h1, .collection h2, .project h2, dialog h2, .result h1 { font-family: var(--heading); text-transform: uppercase; font-weight: 800; }
.hero h1 { font-size: clamp(4rem, 8.2vw, 8.4rem); letter-spacing: -.013em; line-height: .89; max-width: 700px; margin-top: 11px; }
.hero-content > p:not(.eyebrow) { color: #e0dfe5; max-width: 460px; font-size: clamp(1rem, 1.52vw, 1.19rem); margin-top: 22px; }
.actions { display: flex; gap: 11px; flex-wrap: wrap; }
.hero .actions { margin-top: 26px; }
.button {
    display: inline-flex; justify-content: center; align-items: center; gap: 11px;
    padding: 10px 16px; min-height: 44px; border: 1px solid var(--line); border-radius: 5px;
    background: var(--panel); color: var(--text); font-size: .85rem; font-weight: 740; text-align: center;
    transition: background-color .16s ease, border-color .16s ease;
}
.button:hover { border-color: var(--accent); }
.button.primary { color: #0e201e; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: #c4fff3; border-color: #c4fff3; }
.button.secondary { background: #15151db8; border-color: #767582; }
.collection { padding-block: 51px 58px; scroll-margin-top: 86px; }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 15px; }
.collection h2, .project h2 { font-size: clamp(2.4rem, 4.9vw, 4.1rem); }
.search-wrap { position: relative; width: min(100%, 290px); }
.search-wrap svg { position: absolute; left: 13px; top: 13px; color: var(--muted); pointer-events: none; }
input, textarea, select {
    color: var(--text); background: #121319; border: 1px solid #464955; border-radius: 5px; min-width: 0;
    padding: 8px 10px; min-height: 40px;
}
input::placeholder { color: #a4a7b1; }
.search-wrap input { width: 100%; padding-left: 39px; min-height: 44px; font-size: .9rem; background: var(--panel); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
    background: var(--panel); color: #e6e5ea; border: 1px solid var(--line); border-radius: 50px;
    padding: 8px 13px; font-size: .8rem; font-weight: 650;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); color: #102321; border-color: var(--accent); }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 19px 11px; color: var(--muted); font-size: .8rem; }
.catalog-meta select { color: var(--text); min-height: 27px; padding: 2px 4px; margin-left: 3px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { overflow: hidden; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.card-image { display: block; aspect-ratio: 1.62; position: relative; overflow: hidden; background: #202127; }
.card-image:focus-visible { outline-offset: -4px; z-index: 1; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.card:hover .card-image img { transform: scale(1.045); }
.label { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border-radius: 3px; background: #0f1216eb; color: #fff; font-size: .7rem; font-weight: 720; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 17px 16px 15px; }
.card-body .card-group { font-size: .65rem; font-weight: 720; letter-spacing: .095em; text-transform: uppercase; color: var(--accent); }
.card-body h3 { font-size: 1.19rem; letter-spacing: -.023em; }
.card-body p { font-size: .83rem; color: var(--muted); }
.card-bottom { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 9px; font-size: .76rem; font-weight: 650; }
.card-bottom span { color: var(--muted); }
.card-bottom a, .card-bottom a span { color: var(--accent); }
.card-bottom a:hover { text-decoration: underline; }
.empty { text-align: center; padding-block: 45px; border: 1px dashed var(--line); }
.empty p { margin-block: 10px 15px; color: var(--muted); }
.project { background: #181b22; border: 1px solid #39444d; border-radius: 9px; padding: clamp(20px, 4vw, 48px); display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.project h2 { margin-block: 6px 10px; }
.project p:not(.eyebrow) { color: var(--muted); }
.project a { flex: 0 0 auto; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 26px; padding-block: 33px; color: var(--muted); font-size: .8rem; }
.footer a:last-child { color: var(--accent); }
.footer .brand-logo { width: 117px; height: 48px; }
dialog { padding: 0; color: var(--text); background: var(--panel); border: 1px solid #444955; border-radius: 9px; width: min(820px, calc(100% - 24px)); max-height: calc(100dvh - 30px); }
dialog::backdrop { background: #050608c4; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-inner { position: relative; }
.close { position: absolute; z-index: 1; top: 11px; right: 11px; width: 40px; height: 40px; color: var(--text); background: #13141aeb; border: 1px solid #646770; border-radius: 5px; font-size: 1.35rem; }
.product-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.product-visual img { width: 100%; height: 100%; min-height: 315px; object-fit: cover; }
#customizer { padding: 35px 24px 25px; }
dialog h2 { font-size: clamp(2.3rem, 4.9vw, 3.4rem); padding-right: 22px; margin: 5px 0 10px; }
.detail-copy, .fine { color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
#product-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#product-options > :only-child { grid-column: 1 / -1; }
form > label, .field-row label, #product-options label { display: block; font-size: .8rem; font-weight: 650; margin-bottom: 11px; }
form label input:not([type="checkbox"]), form label textarea, form label select { display: block; width: 100%; margin-top: 4px; }
textarea { resize: vertical; }
#product-price { font-weight: 700; margin-bottom: 8px; }
.bag { max-width: 560px; width: min(100%, 560px); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 0; border-width: 0 0 0 1px; }
.bag-inner { padding: 24px; }
.bag h3 { font-size: 1rem; margin-block: 21px 10px; }
.bag-lines { margin: 0 0 13px; padding: 0; list-style: none; }
.bag-lines li { display: grid; grid-template-columns: minmax(0, 1fr) 66px auto; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bag-lines input { width: 100%; }
.bag-lines p { color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.bag-lines li button { background: transparent; color: var(--accent); border: 0; text-decoration: underline; font-size: .78rem; padding: 5px; }
.subtotal { display: flex; gap: 10px; justify-content: space-between; margin-block: 12px 7px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
form .consent { display: flex; align-items: start; gap: 8px; }
.consent input { margin: 4px 0 0; accent-color: var(--accent); }
.form-alert { color: #ffc5b8; font-size: .8rem; }
.form-alert:not(:empty) { margin-block: 7px; }
.toast { position: fixed; z-index: 3; right: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 11px 15px; background: #e0fff7; color: #0a211d; border-radius: 5px; font-weight: 650; font-size: .85rem; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.toast.visible { opacity: 1; }
.result { width: min(90%, 520px); margin: min(15vh, 125px) auto; }
.result h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); margin-block: 12px 18px; }
.result p, .result .button { margin-top: 14px; }
.noscript { text-align: center; padding: 14px; border-top: 1px solid var(--line); }
@media (max-width: 1020px) { .wrap { width: calc(100% - 60px); } .products { gap: 12px; } }
@media (max-width: 800px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
    .wrap { width: calc(100% - 30px); }
    .mast { min-height: 94px; grid-template-columns: 1fr auto; row-gap: 2px; padding-block: 5px 10px; }
    .brand-logo { width: 114px; height: 44px; }
    .mast nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; }
    .mast nav [aria-current]::after { bottom: -5px; }
    .cart-button { grid-column: 2; grid-row: 1; }
    .hero { min-height: 425px; align-items: end; }
    .hero picture img { object-position: 70% center; }
    .hero::after { background: linear-gradient(0deg, #0a0a0ef7 0%, #0a0a0ebd 50%, #0a0a0e33 100%); }
    .hero-content { padding-block: 49px 32px; }
    .hero h1 { font-size: clamp(3.2rem, 11.3vw, 4.8rem); }
    .hero-content > p:not(.eyebrow) { margin-top: 15px; }
    .hero .actions { margin-top: 18px; }
    .hero .button { min-height: 40px; padding: 7px 10px; font-size: .75rem; }
    .collection { scroll-margin-top: 103px; padding-block: 30px; }
    .search-wrap { width: 100%; }
    .filters { margin-top: 13px; }
    .card-body { padding: 11px 10px; gap: 6px; }
    .card-body h3 { font-size: 1.01rem; }
    .card-body p { font-size: .76rem; }
    .card-bottom { padding-top: 7px; }
    .label { top: 6px; left: 6px; font-size: .61rem; }
    .product-details { grid-template-columns: 1fr; }
    .product-visual img { height: min(31vh, 245px); min-height: 135px; }
    #customizer { padding: 17px 15px; }
    .project { flex-direction: column; align-items: start; }
}
@media (max-width: 355px) { .products, .field-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
