:root {
    --red: #f41010;
    --dark: #111;
    --black: #050505;
    --white: #fff;
    --gray: #f3f3f3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--black);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.top-strip {
    min-height: 34px;
    padding: 7px 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: var(--dark);
    color: var(--white);
    font-size: 10px;
    letter-spacing: 1.2px;
}
.top-strip strong { text-align: center; }
.top-strip a { justify-self: end; text-decoration: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 82px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e8e8e8;
    backdrop-filter: blur(12px);
}
.header-container {
    height: 100%;
    width: min(1380px, calc(100% - 48px));
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 8px;
    color: var(--dark);
    text-decoration: none;
}
.brand-mark { display: none; }
.brand > span {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1.8px;
}
.brand > span span { color: var(--red); }
.main-nav {
    position: absolute;
    left: 24px;
    top: 82px;
    width: 270px;
    display: none;
    flex-direction: column;
    background: var(--dark);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.main-nav.open { display: flex; }
.nav-link {
    padding: 17px 24px;
    color: #fff;
    border-bottom: 1px solid #333;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: #fff; background: var(--red); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.search-link, .cart-link, .menu-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--dark);
}
.search-link, .cart-link { display: grid; place-items: center; position: relative; }
.search-link svg, .cart-link svg { width: 24px; height: 24px; fill: currentColor; }
.cart-count {
    position: absolute;
    right: 0;
    top: 1px;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 9px;
}
.menu-toggle {
    justify-self: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}
.menu-toggle span { width: 27px; height: 2px; background: var(--dark); }

.search-panel {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    background: rgba(17,17,17,.96);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}
.search-panel.open { opacity: 1; visibility: visible; }
.search-close {
    position: absolute;
    right: 28px;
    top: 24px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 38px;
    cursor: pointer;
}
.search-panel form { width: min(760px, calc(100% - 40px)); color: #fff; }
.search-panel label { display: block; margin-bottom: 18px; font-family: Impact, "Arial Black", sans-serif; font-size: clamp(34px, 7vw, 72px); }
.search-panel form div { display: flex; border-bottom: 2px solid #fff; }
.search-panel input { width: 100%; height: 58px; border: 0; outline: 0; background: transparent; color: #fff; }
.search-panel input::placeholder { color: #aaa; }
.search-panel form button { width: 110px; border: 0; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; }

.hero {
    height: clamp(430px, 48vw, 650px);
    position: relative;
    overflow: hidden;
    background: #151515;
}
.hero-track, .hero-slide { width: 100%; height: 100%; }
.hero-track { position: relative; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, transform 1.2s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-arrow {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 50%;
    z-index: 3;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(0,0,0,.25);
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
}
.hero-arrow svg { width: 28px; height: 28px; fill: currentColor; }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}
.hero-dot {
    width: 32px;
    height: 3px;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.45);
}
.hero-dot.active { background: var(--white); }

.brand-marquee {
    height: 76px;
    overflow: hidden;
    background: var(--dark);
    border-top: 5px solid var(--red);
    border-bottom: 5px solid var(--red);
}
.brand-marquee-track {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 52px;
    width: max-content;
    min-width: 100%;
    padding: 0 30px;
}
.brand-marquee span {
    color: #fff;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(17px, 2vw, 27px);
    letter-spacing: 2px;
    white-space: nowrap;
}

.trust-strip {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #ddd;
}
.trust-strip article {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid #ddd;
}
.trust-strip article:last-child { border-right: 0; }
.trust-strip b { color: var(--red); font-size: 28px; }
.trust-strip div { display: flex; flex-direction: column; }
.trust-strip strong { font-size: 13px; letter-spacing: 1px; }
.trust-strip span { margin-top: 4px; color: #777; font-size: 12px; }

.catalog-section {
    width: min(1380px, calc(100% - 48px));
    margin: auto;
    padding: 74px 0;
}
.section-header {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
}
.section-header p {
    grid-column: 1/-1;
    margin: 0 0 7px;
    color: var(--red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-align: center;
}
.section-header h2 {
    grid-column: 2;
    margin: 0;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(38px, 5vw, 68px);
    line-height: .95;
    letter-spacing: 2px;
}
.section-header a {
    grid-column: 3;
    justify-self: end;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.category-card {
    min-height: 390px;
    position: relative;
    overflow: hidden;
    background: #efefef;
}
.category-card a { height: 100%; display: block; text-decoration: none; }
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.category-card:hover img { transform: scale(1.035); }
.category-card span {
    position: absolute;
    left: 18px;
    top: 16px;
    z-index: 2;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}
.category-card h3 {
    position: absolute;
    left: 0;
    bottom: 48px;
    z-index: 2;
    margin: 0;
    padding: 12px 16px;
    background: var(--red);
    color: #fff;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
}
.category-card em {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.products-section {
    padding: 74px max(24px, calc((100% - 1380px)/2));
    background: #f3f3f3;
    position: relative;
    overflow: hidden;
}
.products-section::before,
.products-section::after {
    content: "";
    position: absolute;
    top: 140px;
    bottom: 20px;
    z-index: 4;
    width: 7%;
    pointer-events: none;
}
.products-section::before {
    left: 0;
    background: linear-gradient(90deg, #f3f3f3 20%, rgba(243,243,243,0));
}
.products-section::after {
    right: 0;
    background: linear-gradient(-90deg, #f3f3f3 20%, rgba(243,243,243,0));
}
.products-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 26px;
}
.products-heading p { margin: 0 0 5px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: 2px; }
.products-heading h2 { margin: 0; font-family: Impact, "Arial Black", sans-serif; font-size: clamp(38px, 5vw, 62px); }
.product-controls { display: flex; gap: 8px; }
.product-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid #bbb;
    background: #fff;
    cursor: pointer;
}
.product-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    padding: 14px 10% 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.product-grid::-webkit-scrollbar { display: none; }
.product-card {
    flex: 0 0 31%;
    scroll-snap-align: start;
}
.product-card {
    position: relative;
    background: #fff;
    opacity: .48;
    filter: saturate(.55) blur(.35px);
    transform: scale(.94);
    transition: opacity .45s ease, filter .45s ease, transform .45s ease, box-shadow .45s ease;
}
.product-card.active {
    z-index: 2;
    opacity: 1;
    filter: none;
    transform: scale(1);
    box-shadow: 0 18px 38px rgba(0,0,0,.16);
}
.product-card.nearby {
    opacity: .72;
    filter: saturate(.78);
    transform: scale(.97);
}
.product-card > img {
    width: 100%;
    aspect-ratio: 1/1.05;
    object-fit: cover;
}
.product-card > div { padding: 16px; }
.product-card p { margin: 0 0 4px; color: #777; font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.product-card h3 { margin: 0 0 10px; font-size: 17px; }
.product-card strong { display: block; margin-bottom: 14px; color: var(--red); }
.product-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    padding: 7px 9px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}
.wish-button {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
}
.wish-button.selected { color: var(--red); }
.add-button {
    width: 100%;
    height: 42px;
    border: 0;
    background: var(--dark);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
}
.add-button:hover { background: var(--red); }
.product-dots {
    height: 12px;
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}
.product-dot {
    width: 28px;
    height: 3px;
    border: 0;
    padding: 0;
    background: #bbb;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.product-dot.active {
    width: 52px;
    background: var(--red);
}

.catalog-section-alt {
    width: 100%;
    max-width: none;
    padding-left: max(24px, calc((100% - 1380px)/2));
    padding-right: max(24px, calc((100% - 1380px)/2));
    background: #fff;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.brand-card { position: relative; background: #eee; }
.brand-card a { display: block; text-decoration: none; }
.brand-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.brand-card h3 {
    margin: 0;
    padding: 14px 8px;
    background: #fff;
    color: var(--dark);
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-align: center;
}

.brand-banner {
    min-height: 330px;
    padding: 60px max(24px, calc((100% - 1380px)/2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--red);
    color: #fff;
}
.brand-banner p {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
}
.brand-banner h2 {
    margin: 0;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(48px, 7vw, 82px);
    line-height: .88;
}

.site-footer { background: #111; color: #fff; }
.footer-container {
    width: min(1380px, calc(100% - 48px));
    margin: auto;
    padding: 60px 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.footer-brand { font-size: 28px; font-weight: 900; text-decoration: none; }
.footer-brand span { color: var(--red); }
.footer-main p { max-width: 360px; color: #aaa; line-height: 1.7; }
.footer-container h3 { margin: 0 0 16px; font-size: 12px; letter-spacing: 2px; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { color: #aaa; font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copyright {
    grid-column: 1/-1;
    margin: 30px 0 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 10px;
    letter-spacing: 1.5px;
}

@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card { flex-basis: 42%; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .top-strip { grid-template-columns: 1fr auto; padding: 7px 14px; }
    .top-strip strong { display: none; }
    .site-header { height: 68px; }
    .header-container { width: calc(100% - 20px); }
    .brand-mark { display: block; width: 42px; height: 42px; }
    .brand > span { display: none; }
    .main-nav { top: 68px; left: 10px; width: calc(100% - 20px); }
    .header-actions { gap: 2px; }
    .search-link, .cart-link { width: 38px; }
    .hero { height: 420px; }
    .hero-slide img { object-position: center; }
    .hero-arrow { width: 38px; height: 38px; }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
    .brand-marquee { height: 64px; }
    .brand-marquee-track { justify-content: flex-start; width: max-content; animation: marquee 18s linear infinite alternate; }
    @keyframes marquee { to { transform: translateX(-35%); } }
    .trust-strip { width: 100%; grid-template-columns: 1fr; padding: 0 18px; }
    .trust-strip article { min-height: 82px; justify-content: flex-start; border-right: 0; border-bottom: 1px solid #ddd; }
    .trust-strip article:last-child { border-bottom: 0; }
    .catalog-section { width: 100%; padding: 54px 12px; }
    .section-header { grid-template-columns: 1fr auto; }
    .section-header p { text-align: left; }
    .section-header h2 { grid-column: 1; justify-self: start; font-size: 42px; }
    .section-header a { grid-column: 2; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .category-card { min-height: 250px; }
    .category-card h3 { bottom: 40px; font-size: 16px; }
    .products-section { padding: 54px 12px; }
    .product-grid { padding-inline: 10%; }
    .products-section::before,
    .products-section::after { display: none; }
    .product-card { flex-basis: 80%; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .brand-card h3 { font-size: 14px; }
    .brand-banner { min-height: 270px; padding: 50px 20px; }
    .brand-banner h2 { font-size: 48px; }
    .footer-container { width: calc(100% - 32px); grid-template-columns: 1fr; }
}
