* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
}

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

.shop-header {
    position: sticky;
    top: 0;
    z-index: 10;

    background: #ffffff;

    border-bottom: 2px solid #000000;

    padding: 24px 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: clamp(32px, 5vw, 82px);
    font-weight: 900;
    letter-spacing: -0.08em;
}

.shop-header nav {
    display: flex;
    gap: 28px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    font-size: 13px;
}

.cart-nav span {
    display: inline-grid;
    place-items: center;

    min-width: 22px;
    height: 22px;

    border-radius: 999px;

    background: #ff0000;
    color: #ffffff;

    margin-left: 6px;
}

.shop-page {
    padding: 70px 36px 90px;
}

/* COMING SOON */

.coming-shop-banner {
    position: sticky;
    top: 96px;
    z-index: 20;

    width: fit-content;

    margin: 0 auto 50px;

    border: 2px solid #000000;

    padding: 12px 22px;

    background: #ffffff;
    color: #000000;

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

    letter-spacing: 0.16em;

    text-transform: uppercase;

    animation: pulseComing 1.8s ease-in-out infinite;
}

@keyframes pulseComing {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .45;
    }

    100% {
        opacity: 1;
    }
}

/* HERO */

.shop-hero {
    max-width: 1100px;
    margin-bottom: 70px;
}

.shop-hero h1 {
    margin: 0;

    font-size: clamp(42px, 8vw, 120px);

    line-height: .88;

    letter-spacing: -0.07em;

    font-weight: 900;
}

/* PRODUCTS */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    border: 2px solid #000000;

    padding: 18px;

    transition:
        transform 250ms ease,
        background 250ms ease,
        color 250ms ease;
}

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

    background: #000000;
    color: #ffffff;
}

.product-image {
    aspect-ratio: 1 / 1.15;

    background: linear-gradient(135deg, #eeeeee, #cccccc);
    color: #000000;

    display: grid;
    place-items: center;

    font-size: 42px;
    font-weight: 900;

    letter-spacing: -0.08em;

    margin-bottom: 18px;
}

.product-card h3 {
    margin: 0;

    font-size: 22px;

    letter-spacing: -0.05em;
}

.product-meta {
    display: flex;
    justify-content: space-between;

    margin: 12px 0 18px;

    font-weight: 900;
}

.add-btn {
    width: 100%;

    border: 2px solid currentColor;

    background: transparent;

    padding: 13px;

    font-weight: 900;

    cursor: pointer;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.add-btn:hover {
    background: #ff0000;
    border-color: #ff0000;

    color: #ffffff;
}

/* CART PAGE */

.cart-item {
    border-top: 2px solid #000000;

    padding: 24px 0;

    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 22px;

    align-items: center;
}

.cart-item h3 {
    margin: 0;

    font-size: 28px;

    letter-spacing: -0.05em;
}

.cart-item p {
    margin: 8px 0 0;

    font-weight: 900;
}

.qty {
    display: flex;
    align-items: center;
    gap: 14px;

    font-weight: 900;
}

.qty button,
.remove-btn,
.checkout-btn,
.clear-btn {
    border: 2px solid #000000;

    background: #ffffff;
    color: #000000;

    padding: 10px 14px;

    font-weight: 900;

    cursor: pointer;
}

.qty button:hover,
.remove-btn:hover,
.checkout-btn:hover,
.clear-btn:hover {
    background: #000000;
    color: #ffffff;
}

.cart-summary {
    margin-top: 50px;

    border-top: 2px solid #000000;

    padding-top: 30px;
}

.cart-summary h2 {
    font-size: clamp(40px, 7vw, 100px);

    margin: 0 0 24px;

    letter-spacing: -0.07em;
}

.checkout-btn {
    background: #ff0000;
    border-color: #ff0000;

    color: #ffffff;

    margin-right: 12px;
}

.clear-btn {
    margin-top: 12px;
}

.empty-cart {
    font-size: 32px;
    font-weight: 900;

    letter-spacing: -0.05em;
}

.empty-cart a {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .cart-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .shop-header {
        padding: 20px;
    }

    .shop-header nav {
        gap: 14px;

        font-size: 11px;
    }

    .shop-page {
        padding: 50px 20px 70px;
    }

    .coming-shop-banner {
        top: 82px;

        font-size: 11px;

        padding: 10px 16px;

        margin-bottom: 40px;
    }

    .shop-hero h1 {
        font-size: clamp(44px, 15vw, 76px);
    }

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