﻿:root {
    --bg: #f6f7f8;
    --surface: #ffffff;
    --surface-soft: #f1f3f4;
    --text: #151515;
    --muted: #6f7479;
    --border: #e6e8ea;
    --dark: #111315;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container: 1380px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}


/* TOP BAR */

.topbar {
    background: var(--dark);
    color: white;
}

.topbar-inner {
    min-height: 34px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 42px;

    font-size: 12px;
}


/* HEADER */

.site-header {
    background: white;
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    min-height: 82px;

    display: grid;

    grid-template-columns:
        auto
        minmax(300px, 650px)
        auto;

    align-items: center;

    gap: 38px;
}

.brand {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1.2px;
}

.search-box {
    display: flex;
    position: relative;
}

.search-box input {
    width: 100%;

    height: 46px;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding:
        0
        76px
        0
        18px;

    outline: none;
}

.search-box input:focus {
    border-color: #9b9b9b;
}

.search-box button {
    position: absolute;

    right: 5px;
    top: 5px;

    height: 36px;

    border: 0;

    background: var(--dark);
    color: white;

    padding: 0 18px;

    border-radius: 9px;

    cursor: pointer;
}

.header-actions {
    display: flex;
    justify-content: flex-end;

    gap: 22px;
}

.header-action {
    display: flex;
    align-items: center;

    gap: 7px;

    font-size: 13px;
    font-weight: 600;
}

.action-icon {
    font-size: 19px;
}

.mobile-menu-button {
    display: none;

    border: 0;
    background: transparent;

    font-size: 24px;
}


/* NAV */

.main-nav {
    border-top: 1px solid var(--border);
}

.nav-inner {
    min-height: 52px;

    display: flex;
    align-items: center;

    gap: 30px;

    overflow-x: auto;

    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-inner a {
    white-space: nowrap;

    font-size: 13px;
    font-weight: 650;

    transition: opacity .2s ease;
}

.nav-inner a:hover {
    opacity: .55;
}


/* HERO */

.hero {
    margin-top: 26px;

    min-height: 470px;

    padding: 62px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            #101214 0%,
            #24282d 100%
        );

    color: white;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 60px;

    overflow: hidden;
}

.hero-label,
.section-eyebrow {
    display: block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.hero h1 {
    max-width: 600px;

    margin:
        0
        0
        22px;

    font-size: clamp(
        42px,
        5vw,
        72px
    );

    line-height: .98;

    letter-spacing: -3px;
}

.hero p {
    max-width: 570px;

    margin:
        0
        0
        30px;

    color: #c8cbce;

    font-size: 17px;

    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 750;
}

.button-primary {
    background: white;
    color: #111;
}

.button-secondary {
    color: white;
    border: 1px solid rgba(255,255,255,.25);
}

.button-light {
    background: white;
    color: #111;
}

.hero-placeholder {
    height: 330px;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 35% 30%,
            #555d65,
            #22272c 55%,
            #16191c
        );

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,.45);

    font-weight: 700;
}


/* TRUST */

.trust-section {
    margin-top: 26px;
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background: white;

    border:
        1px
        solid
        var(--border);

    border-radius: 16px;
}

.trust-item {
    padding: 24px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.trust-item:not(:last-child) {
    border-right:
        1px
        solid
        var(--border);
}

.trust-item strong {
    font-size: 14px;
}

.trust-item span {
    color: var(--muted);

    font-size: 12px;
}


/* SECTIONS */

.section {
    padding: 68px 0;
}

.section-soft {
    background: #eef0f2;
}

.section-header {
    display: flex;

    justify-content: space-between;
    align-items: end;

    gap: 30px;

    margin-bottom: 28px;
}

.section-header h2 {
    margin: 0;

    font-size: 34px;

    letter-spacing: -1px;
}

.section-eyebrow {
    color: var(--muted);
}

.section-link {
    font-size: 13px;
    font-weight: 700;
}


/* CATEGORIES */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 15px;
}

.category-card {
    background: white;

    border:
        1px
        solid
        var(--border);

    border-radius: 16px;

    overflow: hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0
        15px
        45px
        rgba(0,0,0,.06);
}

.category-image {
    aspect-ratio: 1 / 1;

    background:
        linear-gradient(
            135deg,
            #eceeef,
            #f7f8f8
        );
}

.category-name {
    padding: 18px;

    font-size: 14px;
    font-weight: 750;
}


/* PRODUCTS */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.product-card {
    background: white;

    border:
        1px
        solid
        var(--border);

    border-radius: 17px;

    overflow: hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0
        18px
        45px
        rgba(0,0,0,.055);
}

.product-image {
    position: relative;

    aspect-ratio: 1 / 1;

    background:
        linear-gradient(
            135deg,
            #eceeef,
            #fafafa
        );
}

.product-badge {
    position: absolute;

    left: 14px;
    top: 14px;

    background: #111;
    color: white;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 800;
}

.favorite-button {
    position: absolute;

    right: 12px;
    top: 12px;

    width: 36px;
    height: 36px;

    border:
        1px
        solid
        var(--border);

    border-radius: 50%;

    background: white;

    cursor: pointer;

    font-size: 17px;
}

.product-info {
    padding: 18px;
}

.product-category {
    display: block;

    margin-bottom: 7px;

    color: var(--muted);

    font-size: 11px;
}

.product-info h3 {
    margin:
        0
        0
        16px;

    font-size: 15px;
}

.product-price {
    margin-bottom: 16px;

    font-size: 19px;
    font-weight: 850;
}

.add-cart-button {
    width: 100%;

    height: 42px;

    border: 0;

    border-radius: 10px;

    background: var(--dark);
    color: white;

    font-weight: 750;

    cursor: pointer;
}


/* CAMPAIGN */

.campaign-banner {
    min-height: 220px;

    border-radius: 22px;

    padding: 45px;

    background: #111315;
    color: white;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.campaign-banner h2 {
    margin:
        0
        0
        12px;

    font-size: 38px;

    letter-spacing: -1px;
}

.campaign-banner p {
    color: #bfc3c6;
}


/* BLOG */

.blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.blog-card {
    background: white;

    border:
        1px
        solid
        var(--border);

    border-radius: 17px;

    overflow: hidden;
}

.blog-image {
    height: 230px;

    background:
        linear-gradient(
            135deg,
            #e7e9eb,
            #f7f7f7
        );
}

.blog-content {
    padding: 22px;
}

.blog-content span {
    color: var(--muted);

    font-size: 11px;
}

.blog-content h3 {
    margin:
        9px
        0
        18px;

    font-size: 20px;

    line-height: 1.25;
}

.blog-content a {
    font-size: 13px;
    font-weight: 700;
}


/* FOOTER */

.site-footer {
    margin-top: 70px;

    background: #101214;
    color: white;
}

.footer-grid {
    padding: 60px 0;

    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1fr;

    gap: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 11px;
}

.footer-column h3 {
    margin:
        0
        0
        10px;

    font-size: 14px;
}

.footer-column a,
.footer-column p {
    margin: 0;

    color: #aeb2b6;

    font-size: 13px;
}

.footer-logo {
    margin-bottom: 10px;

    font-size: 27px;
    font-weight: 900;
}

.footer-brand p {
    max-width: 320px;

    line-height: 1.65;
}

.footer-bottom {
    border-top:
        1px
        solid
        rgba(255,255,255,.08);

    padding: 20px 0;

    color: #7e8388;

    font-size: 12px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .header-main {
        grid-template-columns:
            auto
            1fr
            auto;
    }

    .header-actions span:not(.action-icon) {
        display: none;
    }

    .category-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 800px) {

    .container {
        width:
            min(
                100% - 24px,
                var(--container)
            );
    }

    .topbar-inner span:nth-child(n+2) {
        display: none;
    }

    .header-main {
        min-height: 70px;

        grid-template-columns:
            auto
            1fr
            auto;

        gap: 14px;
    }

    .mobile-menu-button {
        display: block;
    }

    .brand {
        font-size: 22px;
    }

    .search-box {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .nav-inner {
        padding: 18px 0;

        align-items: flex-start;
        flex-direction: column;

        gap: 17px;
    }

    .hero {
        min-height: auto;

        padding: 38px 26px;

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-placeholder {
        height: 250px;
    }

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom:
            1px
            solid
            var(--border);
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 520px) {

    .header-actions {
        gap: 10px;
    }

    .header-action:nth-child(-n+2) {
        display: none;
    }

    .hero {
        margin-top: 12px;

        border-radius: 17px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .product-info {
        padding: 13px;
    }

    .category-grid {
        gap: 10px;
    }

    .campaign-banner {
        padding: 32px 24px;

        align-items: flex-start;
        flex-direction: column;
    }

    .campaign-banner h2 {
        font-size: 31px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}
