/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f3f2ee;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    width: 100%;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(243, 242, 238, 0.94);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid #d8d7d2;
}

.header-container {
    width: min(1400px, 100%);

    min-height: 80px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    text-decoration: none;

    font-size: 22px;

    font-weight: 900;

    letter-spacing: -1px;

    white-space: nowrap;
}

.logo span {
    font-weight: 400;
}


/* =====================================================
   NAVIGATION
===================================================== */

.nav {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;
}

.nav a {
    text-decoration: none;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    position: relative;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: #111;

    transition: 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}


/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions {
    display: flex;

    align-items: center;

    gap: 12px;
}

.icon-btn,
.cart-btn,
.menu-btn {
    border: none;

    background: transparent;

    color: #111;
}

.icon-btn {
    width: 35px;
    height: 35px;

    font-size: 23px;
}

.cart-btn {
    border: 1px solid #111;

    border-radius: 50px;

    padding: 10px 17px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.cart-count {
    margin-left: 5px;

    font-weight: 700;
}

.menu-btn {
    display: none;

    font-size: 25px;
}


/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {
    position: fixed;

    inset: 0;

    z-index: 2000;

    background: #111;

    color: #fff;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 25px;

    transform: translateX(100%);

    transition: 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    color: #fff;

    text-decoration: none;

    font-size: 35px;

    font-weight: 700;
}

.mobile-close {
    position: absolute;

    top: 25px;
    right: 30px;

    background: transparent;

    border: none;

    color: #fff;

    font-size: 40px;
}


/* =====================================================
   SEARCH
===================================================== */

.search-overlay {
    position: fixed;

    inset: 0;

    z-index: 3000;

    background: rgba(0, 0, 0, 0.75);

    display: flex;

    justify-content: center;

    align-items: flex-start;

    padding-top: 120px;

    opacity: 0;

    pointer-events: none;

    transition: 0.3s ease;
}

.search-overlay.active {
    opacity: 1;

    pointer-events: auto;
}

.search-box {
    width: min(700px, calc(100% - 40px));

    background: #f3f2ee;

    padding: 45px;

    position: relative;
}

.search-box p {
    font-size: 12px;

    letter-spacing: 0.15em;

    margin-bottom: 20px;
}

.search-box input {
    width: 100%;

    border: none;

    border-bottom: 2px solid #111;

    background: transparent;

    outline: none;

    padding: 15px 0;

    font-size: 28px;
}

.search-close {
    position: absolute;

    right: 20px;
    top: 15px;

    border: none;

    background: transparent;

    font-size: 30px;
}

.search-results {
    margin-top: 20px;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    width: 100%;

    min-height: calc(100vh - 80px);

    display: grid;

    grid-template-columns: 45% 55%;
}

.hero-content {
    padding: 90px 8vw;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #111;

    color: #fff;
}

.hero-label {
    font-size: 11px;

    letter-spacing: 0.15em;

    margin-bottom: 30px;

    color: #aaa;
}

.hero h1 {
    font-size: clamp(60px, 8vw, 140px);

    line-height: 0.82;

    letter-spacing: -0.07em;

    font-weight: 900;
}

.hero h1 span {
    color: #999;
}

.hero-description {
    max-width: 380px;

    margin-top: 40px;

    color: #aaa;

    line-height: 1.6;

    font-size: 15px;
}

.primary-btn {
    width: fit-content;

    margin-top: 35px;

    padding: 17px 25px;

    background: #fff;

    color: #111;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.1em;

    transition: 0.3s ease;
}

.primary-btn:hover {
    background: #bbb;

    transform: translateY(-3px);
}

.hero-image {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 30% 30%,
            #aaa,
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #c9c8c2,
            #5c5c58
        );

    display: flex;

    justify-content: center;

    align-items: center;
}

.hero-image::before {
    content: "";

    position: absolute;

    width: 55%;

    height: 80%;

    background: #111;

    border-radius: 45% 45% 15% 15%;

    transform: rotate(7deg);

    opacity: 0.9;
}

.hero-image::after {
    content: "WORLD";

    position: absolute;

    right: 5%;

    bottom: 5%;

    font-size: clamp(40px, 7vw, 100px);

    font-weight: 900;

    color: rgba(255, 255, 255, 0.25);

    letter-spacing: -0.08em;
}

.hero-image-text {
    position: relative;

    z-index: 2;

    font-size: clamp(80px, 12vw, 200px);

    font-weight: 900;

    color: rgba(255, 255, 255, 0.8);

    letter-spacing: -0.1em;
}


/* =====================================================
   MARQUEE
===================================================== */

.marquee {
    width: 100%;

    overflow: hidden;

    background: #d9d8d2;

    border-bottom: 1px solid #111;

    border-top: 1px solid #111;

    padding: 15px 0;
}

.marquee-track {
    display: flex;

    width: max-content;

    gap: 50px;

    animation: marquee 25s linear infinite;
}

.marquee-track span {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.2em;

    white-space: nowrap;
}

@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =====================================================
   PRODUCTS
===================================================== */

.products-section {
    width: min(1400px, 100%);

    margin: 0 auto;

    padding: 110px 30px;
}

.section-header {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 50px;
}

.section-label {
    font-size: 10px;

    letter-spacing: 0.18em;

    color: #777;

    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(45px, 6vw, 85px);

    line-height: 0.9;

    letter-spacing: -0.06em;
}

.section-description {
    max-width: 350px;

    color: #666;

    line-height: 1.6;

    font-size: 14px;
}


/* =====================================================
   FILTERS
===================================================== */

.filters {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-bottom: 35px;
}

.filter-btn {
    border: 1px solid #bbb;

    background: transparent;

    padding: 10px 18px;

    border-radius: 50px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #111;

    color: #fff;

    border-color: #111;
}


/* =====================================================
   PRODUCT GRID
===================================================== */

.products-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 45px 20px;
}

.product-card {
    min-width: 0;
}

.product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 0.78;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.4s ease;
}

.product-image:hover {
    transform: scale(0.98);
}

.product-black {
    background: #181818;
}

.product-white {
    background: #dddcd7;
}

.product-grey {
    background: #777773;
}

.product-beige {
    background: #c9b9a3;
}

.product-dark {
    background: #282828;
}

.product-green {
    background: #69715f;
}

.product-placeholder {
    font-size: clamp(70px, 9vw, 130px);

    font-weight: 900;

    letter-spacing: -0.1em;

    color: rgba(255, 255, 255, 0.65);
}

.product-placeholder.dark {
    color: rgba(0, 0, 0, 0.35);
}

.product-number {
    position: absolute;

    top: 15px;

    left: 15px;

    font-size: 11px;

    font-weight: 700;
}

.favorite-product {
    position: absolute;

    top: 10px;

    right: 12px;

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.7);

    font-size: 22px;

    transition: 0.3s ease;

    z-index: 2;
}

.favorite-product:hover {
    transform: scale(1.1);
}

.favorite-product.active {
    background: #111;

    color: #fff;
}

.product-tag {
    position: absolute;

    bottom: 15px;

    left: 15px;

    padding: 7px 10px;

    background: #111;

    color: #fff;

    font-size: 9px;

    letter-spacing: 0.1em;
}

.product-info {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 15px;
}

.product-info h3 {
    font-size: 15px;

    font-weight: 500;
}

.product-info p {
    margin-top: 5px;

    color: #777;

    font-size: 12px;
}

.product-info strong {
    font-size: 14px;

    white-space: nowrap;
}

.add-cart {
    width: 100%;

    margin-top: 15px;

    padding: 13px;

    border: 1px solid #111;

    background: transparent;

    color: #111;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.1em;

    transition: 0.3s ease;
}

.add-cart:hover {
    background: #111;

    color: #fff;
}

.product-card.hidden {
    display: none;
}


/* =====================================================
   STATEMENT
===================================================== */

.statement {
    min-height: 700px;

    background: #111;

    color: #fff;

    padding: 100px 8vw;

    display: grid;

    grid-template-columns: 15% 85%;

    align-items: center;
}

.statement-number {
    font-size: 12px;

    color: #777;
}

.statement-content {
    max-width: 900px;
}

.statement-content h2 {
    font-size: clamp(55px, 9vw, 130px);

    line-height: 0.85;

    letter-spacing: -0.08em;
}

.statement-content h2 span {
    color: #777;
}

.statement-content > p:last-child {
    max-width: 500px;

    margin-top: 50px;

    color: #aaa;

    line-height: 1.7;
}


/* =====================================================
   CATEGORIES
===================================================== */

.categories {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
}

.category-card {
    min-height: 500px;

    position: relative;

    display: flex;

    align-items: end;

    padding: 45px;

    overflow: hidden;

    background: #aaa;
}

.category-card:nth-child(1) {
    background: #222;
    color: #fff;
}

.category-card:nth-child(2) {
    background: #d5d1c7;
}

.category-card:nth-child(3) {
    background: #7d7d78;
    color: #fff;
}

.category-card:nth-child(4) {
    background: #aaa99f;
}

.category-card::before {
    content: "WS";

    position: absolute;

    right: 5%;

    top: 5%;

    font-size: clamp(100px, 15vw, 250px);

    font-weight: 900;

    letter-spacing: -0.1em;

    opacity: 0.15;

    transition: 0.5s ease;
}

.category-card:hover::before {
    transform: scale(1.1) rotate(-5deg);
}

.category-content {
    position: relative;

    z-index: 2;
}

.category-content span {
    font-size: 11px;

    opacity: 0.6;
}

.category-content h2 {
    margin: 15px 0;

    font-size: clamp(50px, 7vw, 90px);

    line-height: 0.8;

    letter-spacing: -0.07em;
}

.category-content a {
    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.1em;
}


/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter {
    padding: 120px 8vw;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    background: #d9d8d2;
}

.newsletter h2 {
    font-size: clamp(50px, 7vw, 100px);

    line-height: 0.85;

    letter-spacing: -0.08em;
}

.newsletter h2 span {
    display: block;

    color: #777;
}

.newsletter > div > p:last-child {
    max-width: 400px;

    margin-top: 30px;

    color: #666;

    line-height: 1.6;
}

.newsletter-form {
    align-self: center;

    display: flex;

    border-bottom: 2px solid #111;
}

.newsletter-form input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    padding: 18px 0;

    font-size: 17px;
}

.newsletter-form button {
    border: none;

    background: transparent;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;
}


/* =====================================================
   CART
===================================================== */

.cart-overlay {
    position: fixed;

    inset: 0;

    z-index: 4000;

    background: rgba(0, 0, 0, 0.5);

    opacity: 0;

    pointer-events: none;

    transition: 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;

    pointer-events: auto;
}

.cart {
    position: absolute;

    right: 0;
    top: 0;

    width: min(500px, 100%);

    height: 100%;

    background: #f3f2ee;

    display: flex;

    flex-direction: column;

    transform: translateX(100%);

    transition: 0.4s ease;
}

.cart-overlay.active .cart {
    transform: translateX(0);
}

.cart-header {
    padding: 25px;

    border-bottom: 1px solid #ccc;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.cart-header h2 {
    font-size: 18px;
}

.cart-header button {
    border: none;

    background: transparent;

    font-size: 30px;
}

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 25px;
}

.empty-cart {
    color: #777;

    text-align: center;

    margin-top: 50px;
}

.cart-item {
    display: grid;

    grid-template-columns: 80px 1fr auto;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #ddd;
}

.cart-item-image {
    width: 80px;

    height: 100px;

    background: #222;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    font-weight: 900;
}

.cart-item-info h3 {
    font-size: 14px;

    font-weight: 500;
}

.cart-item-info p {
    margin-top: 7px;

    font-size: 12px;

    color: #777;
}

.quantity {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 12px;
}

.quantity button {
    width: 25px;

    height: 25px;

    border: 1px solid #aaa;

    background: transparent;
}

.remove-item {
    border: none;

    background: transparent;

    color: #888;

    font-size: 11px;

    margin-top: 10px;
}

.cart-item-price {
    font-weight: 700;

    font-size: 14px;
}

.cart-footer {
    border-top: 1px solid #ccc;

    padding: 25px;
}

.cart-total {
    display: flex;

    justify-content: space-between;

    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;

    padding: 18px;

    border: none;

    background: #111;

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.1em;
}


/* =====================================================
   SEARCH RESULTS
===================================================== */

.search-result {
    display: flex;

    justify-content: space-between;

    padding: 15px 0;

    border-bottom: 1px solid #ccc;
}

.search-result button {
    border: none;

    background: #111;

    color: #fff;

    padding: 8px 12px;

    font-size: 10px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #111;

    color: #fff;

    padding: 80px 30px 25px;
}

.footer-top {
    width: min(1400px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 2fr repeat(3, 1fr);

    gap: 50px;
}

.footer-brand .logo {
    display: inline-block;

    color: #fff;
}

.footer-brand p {
    max-width: 250px;

    margin-top: 20px;

    color: #777;

    font-size: 13px;

    line-height: 1.6;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-column h3 {
    font-size: 10px;

    letter-spacing: 0.15em;

    color: #777;

    margin-bottom: 10px;
}

.footer-column a {
    color: #aaa;

    text-decoration: none;

    font-size: 13px;

    transition: 0.3s ease;
}

.footer-column a:hover {
    color: #fff;

    transform: translateX(4px);
}

.footer-bottom {
    width: min(1400px, 100%);

    margin: 70px auto 0;

    padding-top: 20px;

    border-top: 1px solid #292929;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #555;

    font-size: 11px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 11px;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .header-container {
        min-height: 70px;

        padding: 0 18px;
    }

    .nav {
        display: none;
    }

    .icon-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .hero-content {
        min-height: 650px;

        padding: 70px 25px;
    }

    .hero-image {
        min-height: 500px;
    }

    .section-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .products-section {
        padding: 80px 18px;
    }

    .products-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .product-image {
        aspect-ratio: 0.85;
    }

    .statement {
        min-height: 600px;

        padding: 80px 25px;

        display: block;
    }

    .statement-content {
        margin-top: 50px;
    }

    .categories {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 450px;

        padding: 30px;
    }

    .newsletter {
        padding: 80px 25px;

        grid-template-columns: 1fr;

        gap: 60px;
    }

    .footer {
        padding: 60px 25px 25px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;

        gap: 45px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;

        margin-top: 50px;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 450px) {

    .logo {
        font-size: 18px;
    }

    .cart-btn {
        padding: 8px 12px;

        font-size: 10px;
    }

    .hero-content {
        min-height: 580px;
    }

    .hero-image {
        min-height: 400px;
    }

    .mobile-menu a {
        font-size: 28px;
    }

    .search-box {
        padding: 35px 20px;
    }

    .search-box input {
        font-size: 21px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

}