style.css * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #faf9f6;
    color: #222;
    overflow-x: hidden;
}

/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 6%;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow:
        0 4px 25px rgba(0, 0, 0, .05);
}

.logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c9a227;
}

.cart-btn {
    border: none;
    background: #c9a227;
    color: white;
    padding: 14px 26px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
    box-shadow:
        0 6px 18px rgba(201, 162, 39, .25);
}

.cart-btn:hover {
    transform: translateY(-2px);
}

/* HERO */

.hero {
    text-align: center;
    padding: 110px 20px 90px;
    background:
        linear-gradient(to bottom,
            #ffffff,
            #f7f5ef);
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    color: #b88b1b;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 720px;
    margin: auto;
    line-height: 1.8;
}

/* CATEGORY */

.categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.category-btn {
    border: 2px solid #c9a227;
    background: white;
    color: #c9a227;
    padding: 14px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

.category-btn:hover {
    background: #c9a227;
    color: white;
    transform: translateY(-3px);
}

/* PRODUCTS */

.products {
    max-width: 1400px;
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: white;
    border-radius: 35px;
    overflow: hidden;
    cursor: pointer;
    transition: .35s;
    box-shadow:
        0 10px 35px rgba(0, 0, 0, .06);
}

.card:hover {
    transform:
        translateY(-10px);
}

.card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.price {
    font-size: 30px;
    font-weight: 700;
    color: #c9a227;
    margin-bottom: 18px;
}

.buy-btn {
    width: 100%;
    border: none;
    background: #c9a227;
    color: white;
    padding: 16px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.buy-btn:hover {
    opacity: .92;
    transform: scale(1.02);
}

/* POPUP */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
}

.modal-content {
    width: 100%;
    max-width: 950px;
    background: white;
    border-radius: 35px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .18);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-size: 40px;
    margin-bottom: 12px;
}

.modal-price {
    font-size: 34px;
    font-weight: 700;
    color: #c9a227;
    margin: 16px 0;
}

.modal-text {
    line-height: 1.8;
    color: #666;
}

.cart-btn-popup,
.close-btn {
    border: none;
    padding: 18px;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 14px;
}

.cart-btn-popup {
    background: #c9a227;
    color: white;
}

.close-btn {
    background: #eee;
}

/* CART */

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
}

.cart-content {
    background: white;
    width: 100%;
    max-width: 650px;
    border-radius: 35px;
    padding: 35px;
}

.cart-title {
    font-size: 38px;
    margin-bottom: 20px;
    color: #c9a227;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.remove-btn {
    background: #ff4d4d;
    border: none;
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
    background: #c9a227;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

/* MOBILE */

@media(max-width:768px) {

    header {
        padding: 18px 20px;
    }

    .logo {
        font-size: 22px;
        max-width: 180px;
        line-height: 1.2;
    }

    .cart-btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .hero {
        padding: 70px 20px;
    }

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

    .hero p {
        font-size: 15px;
    }

    .categories {
        gap: 10px;
        padding: 30px 15px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .category-btn {
        white-space: nowrap;
        padding: 12px 22px;
        font-size: 14px;
    }

    .products {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 22px;
    }

    .card {
        border-radius: 28px;
    }

    .card img {
        aspect-ratio: 1/1;
    }

    .card h3 {
        font-size: 22px;
    }

    .price {
        font-size: 28px;
    }

    .modal-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-image img {
        height: 320px;
    }

    .modal-info {
        padding: 28px;
    }

    .modal-info h2 {
        font-size: 30px;
    }

    .cart-content {
        padding: 25px;
        border-radius: 28px;
    }

    .checkout-btn {
        position: sticky;
        bottom: 0;
    }

}

style.css
/* =========================
LUXURY HOMEPAGE UPGRADE
========================= */

.hero {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px;
    background:
        linear-gradient(135deg,
            #ffffff 0%,
            #f7f5ef 45%,
            #f4efe2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background:
        radial-gradient(circle,
            rgba(201, 162, 39, .08),
            transparent 70%);
    top: -120px;
    right: -120px;
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background:
        radial-gradient(circle,
            rgba(201, 162, 39, .06),
            transparent 70%);
    bottom: -120px;
    left: -120px;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 60px;
    border-radius: 40px;

    background:
        rgba(255, 255, 255, .65);

    backdrop-filter:
        blur(20px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .06);
}


.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #b88b1b;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 82px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #c9a227;
    margin-bottom: 22px;
}

.hero p {
    font-size: 20px;
    line-height: 1.9;
    max-width: 720px;
    margin: auto;
    color: #666;
    margin-bottom: 35px;
}

.hero-btn {
    background: #c9a227;
    border: none;
    color: white;
    padding: 18px 38px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .35s;
    box-shadow:
        0 12px 30px rgba(201, 162, 39, .25);
}

.hero-btn:hover {
    transform:
        translateY(-4px) scale(1.03);
}

/* FEATURED */

.featured {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px 70px;
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 25px;
}

.featured-card {
    background: white;
    padding: 35px;
    border-radius: 30px;
    text-align: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05);
    transition: .35s;
    border:
        1px solid rgba(201, 162, 39, .08);
}

.featured-card:hover {
    transform:
        translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, .08);
}

.featured-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #c9a227;
}

.featured-card p {
    line-height: 1.8;
    color: #666;
}

/* PRODUCT CARD UPGRADE */

.card {
    transition:
        transform .35s,
        box-shadow .35s;
}

.card:hover {
    transform:
        translateY(-12px);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, .10);
}

.card img {
    transition: .5s;
}

.card:hover img {
    transform: scale(1.04);
}

/* CATEGORY SCROLL */

.categories::-webkit-scrollbar {
    height: 5px;
}

.categories::-webkit-scrollbar-thumb {
    background: #d4b04a;
    border-radius: 20px;
}

/* MOBILE */

@media(max-width:768px) {

    .hero {
        min-height: 88vh;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 120px 20px;
        position: relative;
        overflow: hidden;

        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, .96),
                rgba(248, 246, 241, .98)),

            url("https://images.unsplash.com/photo-1617038220319-276d3cfab638?w=1600") center/cover no-repeat;
    }

    /* soft luxury glow */

    .hero::before {
        content: "";
        position: absolute;
        top: -180px;
        right: -150px;
        width: 500px;
        height: 500px;
        background:
            radial-gradient(circle,
                rgba(201, 162, 39, .10),
                transparent 70%);
        border-radius: 50%;
    }

    .hero::after {
        content: "";
        position: absolute;
        bottom: -160px;
        left: -120px;
        width: 400px;
        height: 400px;
        background:
            radial-gradient(circle,
                rgba(201, 162, 39, .08),
                transparent 70%);
        border-radius: 50%;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 125px;
    width: auto;
    object-fit: contain;
}

@media(max-width:768px) {

    .logo-img {
        height: 52px;
    }

}

/* SEARCH */

.search-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-top: -20px;
}

#searchInput {
    width: 100%;
    max-width: 650px;
    padding: 18px 28px;
    border-radius: 50px;
    border: none;
    background: white;
    font-size: 16px;
    outline: none;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);

    transition: .3s;
}

#searchInput:focus {
    transform:
        translateY(-2px);

    box-shadow:
        0 15px 40px rgba(201, 162, 39, .15);
}

@media(max-width:768px) {

    .search-container {
        padding: 20px 18px;
    }

    #searchInput {
        padding: 16px 22px;
        font-size: 15px;
    }

}

/* =========================
LUXURY LOADER
========================= */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity .8s ease;
}

.loader-content {
    text-align: center;
    animation:
        fadeLuxury 1.5s ease;
}

.loader-logo {
    width: 240px;
    max-width: 80%;
    filter:
        drop-shadow(0 0 18px rgba(201, 162, 39, .35));
}

.loader-content p {
    color: #c9a227;
    font-size: 18px;
    letter-spacing: 3px;
    margin-top: 18px;
    font-weight: 500;
}

@keyframes fadeLuxury {

    0% {
        opacity: 0;
        transform:
            translateY(20px);
    }

    100% {
        opacity: 1;
        transform:
            translateY(0);
    }

}

/* MOBILE */

@media(max-width:768px) {

    .loader-logo {
        width: 180px;
    }

    .loader-content p {
        font-size: 14px;
        letter-spacing: 2px;
    }

}

/* QTY BUTTONS */

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #c9a227;
    color: white;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: .3s;
}

.qty-btn:hover {
    transform: scale(1.08);
}