/* =========================
   GLOBAL
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f1e8;
    color: #111;
    overflow-x: hidden;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================
   NAVIGATION
========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

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

    padding: 18px 5%;

    background: rgba(245, 241, 232, 0.95);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.logo {
    color: #111;
    text-decoration: none;

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

    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #111;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: opacity 0.25s ease;
}

.nav-links a:hover {
    opacity: 0.55;
}


/* =========================
   CART BUTTON
========================= */

.cart-button {
    display: inline-flex;

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

    gap: 5px;

    padding: 11px 18px;

    border: 0;

    border-radius: 30px;

    background: #111;
    color: white;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.cart-button:hover {
    background: #333;
    transform: translateY(-2px);
}

.cart-button:active {
    transform: scale(0.96);
}

#cartCount {
    display: inline-flex;

    min-width: 20px;
    height: 20px;

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

    margin-left: 3px;

    background: white;
    color: #111;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 700;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

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

    text-align: center;

    padding: 80px 20px;

    background:
        radial-gradient(
            circle at top,
            #ffffff 0%,
            transparent 45%
        ),
        #f5f1e8;
}

.hero-content {
    width: 100%;
    max-width: 800px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 4px;

    margin: 0 0 18px;

    opacity: 0.65;
}

.hero h1 {
    margin: 0;

    font-size: clamp(45px, 8vw, 85px);

    line-height: 0.98;

    letter-spacing: -4px;
}

.hero-text {
    max-width: 550px;

    margin: 30px auto;

    font-size: 18px;

    line-height: 1.7;

    opacity: 0.75;
}


/* =========================
   SHOP BUTTON
========================= */

.primary-button {
    display: inline-block;

    padding: 15px 30px;

    border-radius: 30px;

    background: #111;
    color: white;

    text-decoration: none;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.primary-button:hover {
    background: #333;

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.15);
}

.primary-button:active {
    transform: scale(0.96);
}


/* =========================
   SHOP SECTION
========================= */

.shop-section {
    width: 100%;

    padding: 100px 5%;

    text-align: center;

    background: #f5f1e8;
}

.section-heading {
    width: 100%;
    max-width: 800px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2 {
    margin: 0 0 15px;

    font-size: clamp(35px, 6vw, 60px);

    letter-spacing: -2px;
}

.section-heading > p:not(.eyebrow) {
    margin: 0 auto;

    line-height: 1.7;

    opacity: 0.65;
}


/* =========================
   PRODUCT GRID
========================= */

.product-grid {
    display: grid;

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

    gap: 25px;

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}


/* =========================
   PRODUCT CARD
========================= */

.product-card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 16px;

    text-align: left;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}


/* =========================
   PRODUCT IMAGE
========================= */

.product-image {
    display: block;

    width: 100%;
    height: 300px;

    object-fit: cover;

    background: #eee;
}


/* =========================
   PRODUCT INFORMATION
========================= */

.product-info {
    padding: 20px;
}

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

    font-size: 17px;

    line-height: 1.4;
}

.product-price {
    margin: 0 0 18px;

    font-size: 18px;

    font-weight: 700;
}


/* =========================
   ADD TO CART
========================= */

.add-cart {
    width: 100%;

    padding: 13px 18px;

    border: 0;

    border-radius: 10px;

    background: #111;
    color: white;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.25s ease;
}

.add-cart:hover {
    background: #333;

    transform: translateY(-2px);
}

.add-cart:active {
    transform: scale(0.97);
}


/* =========================
   ABOUT
========================= */

.about-section {
    padding: 110px 20px;

    background: #111;
    color: white;

    text-align: center;
}

.about-inner {
    width: 100%;
    max-width: 750px;

    margin: auto;
}

.about-inner h2 {
    margin: 0 0 30px;

    font-size: clamp(35px, 6vw, 60px);

    letter-spacing: -2px;
}

.about-inner p:not(.eyebrow) {
    font-size: 18px;

    line-height: 1.8;

    opacity: 0.75;

    margin-bottom: 25px;
}

.about-points {
    display: flex;

    justify-content: center;

    gap: 50px;

    margin-top: 40px;
}

.about-points div {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.about-points strong {
    font-size: 25px;
}

.about-points span {
    opacity: 0.7;
}


/* =========================
   OVERLAY
========================= */

.overlay {
    position: fixed;

    inset: 0;

    z-index: 1900;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.overlay.active {
    opacity: 1;

    visibility: visible;
}


/* =========================
   CART PANEL
========================= */

.cart-panel {
    position: fixed;

    top: 0;
    right: 0;

    width: min(430px, 90vw);

    height: 100vh;

    z-index: 2000;

    display: flex;

    flex-direction: column;

    background: white;

    box-shadow:
        -10px 0 40px rgba(0, 0, 0, 0.15);

    transform: translateX(100%);

    transition:
        transform 0.4s cubic-bezier(
            0.4,
            0,
            0.2,
            1
        );
}

.cart-panel.active {
    transform: translateX(0);
}


/* =========================
   CART HEADER
========================= */

.cart-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 25px;

    border-bottom: 1px solid #eee;
}

.cart-header h2 {
    margin: 0;

    font-size: 24px;
}


/* =========================
   CLOSE BUTTON
========================= */

.close-button {
    width: 38px;
    height: 38px;

    border: 0;

    border-radius: 50%;

    background: #f5f1e8;

    color: #111;

    font-size: 25px;

    line-height: 1;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.close-button:hover {
    background: #e8e2d6;

    transform: rotate(90deg);
}


/* =========================
   CART ITEMS
========================= */

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 20px 25px;
}

.empty-cart {
    padding: 40px 0;

    text-align: center;

    opacity: 0.55;
}


/* =========================
   CART ITEM
========================= */

.cart-item {
    display: flex;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 80px;
    height: 80px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 7px;

    font-size: 15px;
}

.cart-item-price {
    font-weight: 700;
}


/* =========================
   QUANTITY
========================= */

.quantity-controls {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 10px;
}

.quantity-controls button {
    width: 30px;
    height: 30px;

    padding: 0;

    border: 1px solid #ddd;

    border-radius: 6px;

    background: white;

    transition: background 0.2s ease;
}

.quantity-controls button:hover {
    background: #f5f1e8;
}


/* =========================
   REMOVE
========================= */

.remove-item {
    padding: 0;

    border: 0;

    background: transparent;

    color: #888;

    font-size: 12px;

    margin-top: 8px;

    transition: color 0.2s ease;
}

.remove-item:hover {
    color: #111;
}


/* =========================
   CART FOOTER
========================= */

.cart-footer {
    padding: 25px;

    border-top: 1px solid #eee;

    background: white;
}

.cart-total {
    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 20px;

    margin-bottom: 20px;
}

.checkout-button {
    width: 100%;

    padding: 15px;

    border: 0;

    border-radius: 10px;

    background: #111;
    color: white;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.checkout-button:hover {
    background: #333;

    transform: translateY(-2px);
}

.checkout-button:active {
    transform: scale(0.97);
}


/* =========================
   CHECKOUT MODAL
========================= */

.checkout-modal {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.checkout-modal.active {
    opacity: 1;

    visibility: visible;
}


/* =========================
   CHECKOUT BOX
========================= */

.checkout-box {
    width: min(550px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 30px;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2);

    transform: translateY(20px);

    transition: transform 0.3s ease;
}

.checkout-modal.active .checkout-box {
    transform: translateY(0);
}


/* =========================
   CHECKOUT HEADER
========================= */

.checkout-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;
}

.checkout-header h2 {
    margin: 0;
}

.checkout-intro {
    opacity: 0.65;
    line-height: 1.6;
}


/* =========================
   CHECKOUT FORM
========================= */

.checkout-box label {
    display: block;

    margin-top: 16px;

    margin-bottom: 6px;

    font-size: 14px;

    font-weight: 700;
}

.checkout-box input,
.checkout-box textarea {
    width: 100%;

    padding: 14px;

    border: 1px solid #ddd;

    border-radius: 10px;

    outline: none;

    background: white;

    transition: border 0.2s ease;
}

.checkout-box textarea {
    min-height: 90px;

    resize: vertical;
}

.checkout-box input:focus,
.checkout-box textarea:focus {
    border-color: #111;
}


/* =========================
   CHECKOUT SUMMARY
========================= */

.checkout-summary {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 25px 0;

    padding: 20px;

    background: #f5f1e8;

    border-radius: 12px;

    font-size: 18px;
}


/* =========================
   WHATSAPP CHECKOUT
========================= */

.whatsapp-checkout {
    width: 100%;

    padding: 15px;

    border: 0;

    border-radius: 10px;

    background: #25d366;
    color: white;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.whatsapp-checkout:hover {
    background: #1ebe5d;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(37, 211, 102, 0.25);
}

.whatsapp-checkout:active {
    transform: scale(0.97);
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 40px 5%;

    border-top: 1px solid rgba(0, 0, 0, 0.1);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    background: #f5f1e8;
}

.footer h2 {
    margin: 0 0 8px;

    letter-spacing: 4px;
}

.footer p {
    margin: 0;

    opacity: 0.6;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

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

}


@media (max-width: 700px) {

    .navbar {
        padding: 15px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        display: none;
    }

    .logo {
        font-size: 21px;
    }

    .cart-button {
        padding: 10px 15px;
    }

    .hero {
        min-height: 580px;

        padding: 70px 20px;
    }

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

    .shop-section {
        padding: 70px 15px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading .eyebrow {
        white-space: nowrap;
        letter-spacing: 3px;
    }

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

        max-width: 400px;
    }

    .product-image {
        width: 100%;
        height: 300px;
    }

    .about-section {
        padding: 80px 20px;
    }

    .about-points {
        gap: 25px;
    }

    .cart-panel {
        width: 92vw;
    }

    .checkout-box {
        padding: 22px;
    }

    .footer {
        flex-direction: column;

        text-align: center;
    }

}


@media (max-width: 400px) {

    .section-heading .eyebrow {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .product-image {
        width: 100%;

        height: auto;

        aspect-ratio: 1 / 1;
    }

}
.product-size{
    color:#555;
    font-size:14px;
    margin:5px 0;
    font-weight:600;
}

.cart-size{
    color:#777;
    font-size:13px;
    margin:4px 0;
}