@import url("theme.css");

:root {
    --bg: #0e0c0b;
    --panel: #171310;
    --line: #382c24;
}

.header { background: #100d0b; border-bottom: 1px solid #29211b; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: clamp(47px, 5.6vw, 80px); }
.header .brand { font-size: clamp(1.15rem, 2.35vw, 2.1rem); font-weight: 600; letter-spacing: .14em; }
.header .brand img { width: clamp(49px, 5.9vw, 82px); height: clamp(39px, 5vw, 68px); }
.header nav { display: flex; align-items: center; justify-content: space-between; width: 46%; gap: 12px; }
.header nav a { font-size: clamp(.76rem, 1.15vw, 1rem); white-space: nowrap; }
.header nav a:hover, .footer a:hover { color: var(--copper); }
.header .nav-guide { position: relative; border: 0; }
.nav-guide summary { display: flex; align-items: center; gap: 6px; padding: 0; font-size: clamp(.76rem, 1.15vw, 1rem); font-weight: 500; }
.nav-guide summary::after { content: "⌄"; color: var(--copper-light); font-size: 1em; }
.nav-guide[open] summary::after { content: "⌃"; }
.nav-guide > div { position: absolute; z-index: 5; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); display: grid; min-width: 195px; padding: 6px; border: 1px solid #594234; border-radius: 7px; background: #17120f; box-shadow: 0 12px 26px #0008; }
.nav-guide:not([open]) > div { display: none; }
.nav-guide > div a { padding: 9px 10px; border-radius: 5px; }
.nav-guide > div a:hover, .nav-guide > div a[aria-current] { background: #2b2019; color: var(--copper-light); }

.hero { position: relative; border-bottom: 1px solid var(--line); background: #0b0908; }
.hero-slide { display: grid; grid-template-columns: 61% 39%; min-height: clamp(310px, 36.8vw, 600px); }
.hero-photo { position: relative; overflow: hidden; min-height: 0; }
.hero-photo > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 77%, #0b0908); pointer-events: none; }
.hero-sign { position: absolute; top: 5%; left: 4%; width: 13%; display: grid; justify-items: center; text-align: center; color: #e7a36f; font: 700 clamp(.5rem, 1.35vw, 1.35rem)/1.03 "Zalando Sans Expanded", sans-serif; text-transform: uppercase; letter-spacing: .1em; text-shadow: 2px 3px 3px #1b0d07; }
.hero-sign img { width: 68%; height: auto; margin-bottom: 5%; filter: drop-shadow(2px 3px 2px #28140b); }
.hero-copy { align-self: center; padding: 28px clamp(15px, 2.6vw, 44px) 54px clamp(8px, 1vw, 18px); }
.hero-copy h1, .hero-copy h2 { max-width: 15ch; font-size: clamp(2.1rem, 4.6vw, 5.15rem); letter-spacing: -.04em; }
.hero-copy p { max-width: 38ch; margin-top: 12px; }
.hero-copy .accent-line { width: clamp(42px, 6.3vw, 85px); }
.hero-copy .hero-divider { margin-block: clamp(14px, 2vw, 25px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px clamp(16px, 3.1vw, 48px); align-items: center; font-size: clamp(.86rem, 1.4vw, 1.15rem); }
.hero-actions .primary { transform: skewX(-13deg); border-radius: 2px; border-color: #a3633f; background: linear-gradient(110deg, #c68357, #864528); color: #fff4e8; padding-inline: clamp(12px, 2vw, 31px); }
.hero-actions .primary:hover { background: #a05b38; }
.hero-actions .primary > span { display: inline-flex; align-items: center; gap: 9px; transform: skewX(13deg); }
.hero-actions .text-link { color: var(--cream); border-bottom: 1px solid #b9784c; padding-block: 9px; }
.hero-actions .text-link:hover { color: var(--copper-light); text-decoration: none; }
.hero-controls { position: absolute; right: clamp(16px, 2.7vw, 44px); bottom: 9px; display: flex; align-items: center; gap: 3px; }
.hero-controls button { display: grid; place-items: center; min-width: 28px; min-height: 28px; border: 1px solid var(--line); border-radius: 5px; background: #100d0b; color: var(--cream); cursor: pointer; }
.hero-controls button:hover { border-color: var(--copper); }
.hero-controls .hero-dot { min-width: 19px; border-color: transparent; background: transparent; }
.hero-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--copper); }
.hero-dot[aria-current]::before { background: var(--copper); }
.empty-hero { padding-block: 64px; }
.empty-hero a { margin-top: 20px; }

.featured-section, .stock-section, .faq-section { padding-block: clamp(36px, 5vw, 76px); border-bottom: 1px solid var(--line); }
.featured-section { padding-block: clamp(22px, 2.6vw, 38px); overflow: hidden; background: radial-gradient(ellipse at 65% 100%, #1c1410, #100d0b 73%); }
.featured { display: grid; grid-template-columns: minmax(120px, .24fr) minmax(0, 1fr); align-items: center; gap: clamp(12px, 2.4vw, 34px); }
.featured .section-heading { transform: translateY(-12px); }
.section-heading h2 { max-width: 10ch; }
.featured .section-heading h2 { font-size: clamp(1.6rem, 3.3vw, 3.05rem); }
.section-heading p { margin: 16px 0 0; max-width: 24ch; font-size: clamp(.86rem, 1.2vw, 1rem); }
.featured-grid { --slant: 15deg; display: grid; grid-template-columns: 1.18fr 1fr; grid-auto-rows: clamp(135px, 17.45vw, 250px); gap: clamp(8px, 1.25vw, 18px); margin-right: clamp(24px, 3.8vw, 55px); transform: skewX(calc(-1 * var(--slant))); }
.featured-grid[data-count="1"] { grid-template-columns: 1fr; }
.featured-card { position: relative; isolation: isolate; display: flex; align-items: end; min-width: 0; overflow: hidden; border: 1px solid #755038; border-radius: 9px; background: var(--panel); }
.featured-grid[data-count="3"] .featured-card:first-child { grid-row: span 2; }
.featured-card img { position: absolute; inset: 0 auto auto 50%; width: calc(100% + clamp(36px, 5vw, 72px)); max-width: none; height: 100%; object-fit: cover; z-index: -2; transform: translateX(-50%) skewX(var(--slant)); }
.featured-grid[data-count="3"] .featured-card:first-child img { width: calc(100% + clamp(72px, 10vw, 144px)); }
.featured-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #100c09 3%, #120d08b5 25%, transparent 70%); }
.featured-card:hover, .featured-card:focus-visible { border-color: var(--copper-light); }
.featured-card:focus-visible { outline-offset: -4px; }
.featured-caption { width: 100%; padding: clamp(8px, 1.3vw, 18px) clamp(12px, 2vw, 31px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 8px; transform: skewX(var(--slant)); transform-origin: center bottom; }
.featured-caption h3 { grid-column: 1 / -1; font-size: clamp(1rem, 2.1vw, 1.85rem); }
.featured-grid[data-count="3"] .featured-card:first-child h3 { font-size: clamp(1.25rem, 2.7vw, 2.25rem); }
.featured-caption .button { min-height: 28px; padding: 4px clamp(6px, .85vw, 12px); font-size: clamp(.66rem, 1vw, .88rem); gap: 5px; background: #251710dc; }
.featured-specs { display: flex; flex-wrap: wrap; gap: 3px clamp(6px, .9vw, 13px); align-items: center; font-size: clamp(.63rem, 1vw, .87rem); }
.featured-specs > span { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.range-icon { color: var(--copper-light); font-weight: 700; font-size: 1.1em; }
.battery-icon { position: relative; display: inline-block; width: 11px; height: 7px; border: 1px solid var(--copper-light); border-radius: 1px; }
.battery-icon::after { content: ""; position: absolute; right: -3px; top: 1px; width: 1px; height: 3px; background: var(--copper-light); }

.stock-section { background: linear-gradient(138deg, #15110e, #0e0c0b 55%); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 14px; margin: 20px 0 12px; }
.filters label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
.results { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 12px 0 16px; color: var(--muted); font-size: .88rem; }
.stock-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.stock-grid.stock-seven { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.stock-seven .product-card { grid-column: span 3; }
.stock-seven .product-card:nth-child(n+5) { grid-column: span 4; }
.product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); }
.product-image { display: block; overflow: hidden; background: #29211d; }
.product-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.product-image:hover img { transform: scale(1.035); }
.product-card-body { padding: 15px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-card h3 a:hover { color: var(--copper); }
.price { display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; }
.price del { color: var(--muted); font-size: .82rem; }
.price strong { color: var(--copper-light); font-size: 1.1rem; }
.mini-specs { display: grid; gap: 5px; padding: 0; margin: 0 0 6px; list-style: none; font-size: .78rem; }
.mini-specs li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.mini-specs span { color: var(--muted); }
.mini-specs strong { text-align: right; }
.product-card .button { margin-top: auto; }
.compare-check { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); width: fit-content; cursor: pointer; }
.compare-check input { width: 15px; height: 15px; }
.compare-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 15px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: .9rem; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pagination a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 5px; }
.pagination a[aria-current] { background: var(--copper); color: #19100a; }

.faq-section { background: #110e0c; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(22px, 5vw, 74px); }
.faq-image { display: block; width: 100%; height: auto; max-height: 390px; object-fit: cover; border: 1px solid #74503a; border-radius: 10px; }
.faq-grid h2 { margin-bottom: 18px; }
details { border-bottom: 1px solid #6a4a34; }
details summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 0; cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--copper-light); font-size: 1.25rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 14px; }
.faq-more { display: inline-flex; gap: 8px; margin-top: 15px; }
.visit { padding-block: 26px; background: radial-gradient(ellipse at 55% 0, #442a1d, #1a120e 76%); border-bottom: 1px solid #4a3427; }
.visit-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.visit h2 { font-size: clamp(1.45rem, 3.4vw, 2.25rem); }
.visit p { margin: 7px 0 0; }

.footer { padding-top: 30px; background: #0c0a09; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.1fr 1.2fr; gap: 22px; align-items: start; }
.footer .brand { align-self: start; }
.footer nav, .footer-contact { display: grid; gap: 6px; font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; }
.footer nav strong, .footer-contact strong { color: var(--cream); }
.footer-legal { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-block: 14px; margin-top: 24px; font-size: .76rem; color: var(--muted); }

.detail-page { padding-block: clamp(34px, 6vw, 84px); min-height: 54vh; }
.detail-page .back-link { display: block; width: fit-content; margin-bottom: 22px; }
.detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 5vw, 66px); align-items: start; }
.detail-image { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.detail-copy h1 { font-size: clamp(2.2rem, 4.7vw, 4.75rem); margin-bottom: 14px; }
.detail-copy .price strong { font-size: 1.65rem; }
.category-label { margin: 0 0 8px; color: var(--copper-light); font-size: .88rem; }
.detail-copy p { margin-bottom: 18px; }
.detail-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.detail-specs div { padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; }
.detail-specs dt { color: var(--muted); font-size: .8rem; }
.detail-specs dd { margin: 5px 0 0; font-weight: 700; }
.compare-table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 8px; }
.compare-table { width: 100%; min-width: 570px; border-collapse: collapse; background: var(--panel); }
.compare-table th, .compare-table td { min-width: 140px; padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare-table th a img { display: block; width: 100%; max-width: 210px; height: auto; margin-bottom: 8px; border-radius: 6px; }

@media (max-width: 1020px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .header-inner { flex-wrap: wrap; gap: 2px; padding-block: 10px; }
    .header .brand { font-size: clamp(1rem, 4.8vw, 1.45rem); }
    .header nav { width: 100%; justify-content: space-between; gap: 8px; padding-block: 7px; }
    .hero-slide { grid-template-columns: 1fr; }
    .hero-photo { min-height: 0; aspect-ratio: 1.55; }
    .hero-photo::after { background: linear-gradient(0deg, #0b0908, transparent 23%); }
    .hero-copy { min-height: 230px; padding: 9px 20px 57px; }
    .hero-copy h1, .hero-copy h2 { max-width: 18ch; font-size: clamp(2.15rem, 8vw, 3.4rem); }
    .hero-actions { padding-left: 5px; }
    .hero-controls { right: 12px; bottom: 12px; }
    .hero-controls button { min-height: 34px; min-width: 31px; }
    .featured, .faq-grid, .detail-grid { grid-template-columns: 1fr; gap: 16px; }
    .featured .section-heading { transform: none; }
    .section-heading h2, .section-heading p { max-width: none; }
    .section-heading p { margin: 8px 0 0; }
    .featured-grid { --slant: 0deg; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; margin-right: 0; }
    .featured-grid[data-count="3"] .featured-card:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 235px; }
    .featured-card { min-height: 183px; }
    .featured-grid[data-count] .featured-card img, .featured-grid[data-count="3"] .featured-card:first-child img { inset: 0; width: 100%; transform: none; }
    .featured-caption { grid-template-columns: 1fr; padding: 10px; }
    .featured-caption .button { justify-self: start; }
    .stock-grid, .stock-grid.stock-seven { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stock-seven .product-card, .stock-seven .product-card:nth-child(n+5) { grid-column: auto; }
    .product-card-body { padding: 10px; }
    .filters { grid-template-columns: 1fr 1fr; gap: 10px; }
    .section-top { align-items: start; flex-direction: column; }
    .visit-inner, .compare-bar { align-items: start; flex-direction: column; }
    .faq-image { max-height: 250px; }
}
@media (max-width: 390px) {
    .brand { gap: 5px; font-size: .9rem; }
    .header nav a, .nav-guide summary { font-size: clamp(.72rem, 3.5vw, .84rem); }
    .stock-grid, .stock-grid.stock-seven, .featured-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
