/* =========================================================
   ARADILUXE
   Luxury Jewelry & Accessories
   Main Website Styles
   ========================================================= */

/* =========================================================
   1. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #fbf8f2;
    color: #332b26;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   2. COLOUR VARIABLES
   ========================================================= */

:root {
    --gold: #c99600;
    --gold-dark: #9b7100;
    --gold-light: #e7c96f;

    --cream: #fbf8f2;
    --cream-dark: #f4eee2;

    --white: #ffffff;

    --brown: #332b26;
    --brown-light: #6d625b;

    --border: #e7dac3;

    --shadow-soft:
        0 12px 35px rgba(72, 51, 24, 0.08);

    --shadow-hover:
        0 18px 45px rgba(72, 51, 24, 0.14);

    --radius: 18px;
}


/* =========================================================
   3. HEADER / HERO NAVIGATION
   ========================================================= */

.site-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 24px rgba(60, 40, 20, 0.06);
    padding: 10px 4%;
    position: relative;
    z-index: 1000;
}

.header-container {
    width: 100%;
    max-width: 1450px;
    min-height: 88px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

/* Logo */

.brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.brand-logo {
    width: 118px;
    height: auto;
    max-height: 78px;
    object-fit: contain;
}

/* Navigation */

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2.2vw, 32px);
    min-width: 0;
}

.main-nav a {
    color: var(--brown);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--gold-dark);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Header actions */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

/* Search */

.header-actions form {
    display: flex;
    align-items: center;
    position: relative;
}

.header-actions form label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-actions input[type="search"] {
    width: 190px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: #fffdf9;
    color: var(--brown);
    padding: 0 42px 0 16px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-actions input[type="search"]::placeholder {
    color: #8a7e74;
}

.header-actions input[type="search"]:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 150, 0, 0.1);
}

.header-actions form button {
    position: absolute;
    right: 5px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
}

/* Cart */

.cart-link {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: #fffdf9;
    font-weight: 600;
    color: var(--brown);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.cart-link:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    transform: translateY(-1px);
}

.cart-count {
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold);
    color: white;
    font-size: 12px;
    font-weight: 700;
}

/* Account */

.account-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 30px;
    background: var(--gold);
    color: white;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.account-link:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 113, 0, 0.2);
}

/* =========================================================
   5. MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: white;
    color: var(--brown);

    cursor: pointer;
}


/* =========================================================
   6. MAIN
   ========================================================= */

main {
    width: 100%;
}

section {
    width: 100%;
}


/* =========================================================
   7. HERO SECTION
   ========================================================= */

#home {
    min-height: 520px;

    padding: 85px 7% 75px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(231, 201, 111, 0.16),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #fbf8f2 55%,
            #f5eddf 100%
        );

    position: relative;
    overflow: hidden;
}

#home::before {
    content: "";
    position: absolute;

    width: 360px;
    height: 360px;

    right: -120px;
    top: -120px;

    border: 1px solid rgba(201, 150, 0, 0.18);
    border-radius: 50%;
}

#home::after {
    content: "";
    position: absolute;

    width: 240px;
    height: 240px;

    right: 30px;
    top: 40px;

    border: 1px solid rgba(201, 150, 0, 0.1);
    border-radius: 50%;
}

#home h1,
#home h2 {
    max-width: 760px;

    margin-bottom: 18px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;

    color: var(--brown);

    position: relative;
    z-index: 1;
}

#home p {
    max-width: 650px;

    margin-bottom: 30px;

    color: var(--brown-light);
    font-size: 17px;

    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 14px;

    position: relative;
    z-index: 2;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 135px;
    min-height: 48px;

    padding: 0 24px;

    border-radius: 30px;

    background: var(--gold);
    color: white;

    font-weight: 700;

    transition: all 0.25s ease;
}

.hero-buttons a:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.hero-buttons a:last-child {
    background: transparent;
    color: var(--gold-dark);
    border: 1px solid var(--gold);
}

.hero-buttons a:last-child:hover {
    background: rgba(201, 150, 0, 0.08);
}


/* =========================================================
   8. CATEGORY SECTION
   ========================================================= */

#categories {
    padding: 90px 6%;
    background: var(--white);
    text-align: center;
}

#categories h2,
#new-arrivals h2,
#featured h2,
#about h2,
#why-shop h2,
#contact h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brown);
}

#categories > p {
    max-width: 650px;
    margin: 12px auto 45px;
    color: var(--brown-light);
}

.category-grid {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.category-card {
    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 22px;

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    width: 100%;
    aspect-ratio: 1 / 1;

    margin-bottom: 20px;

    overflow: hidden;
    border-radius: 50%;

    background: var(--cream-dark);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.45s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.06);
}

.category-card h3 {
    margin-bottom: 8px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;

    color: var(--brown);
}

.category-card p {
    min-height: 75px;

    margin-bottom: 18px;

    color: var(--brown-light);
    font-size: 14px;
}

.category-card > a {
    display: inline-flex;

    padding: 9px 20px;

    border: 1px solid var(--gold);
    border-radius: 25px;

    color: var(--gold-dark);

    font-weight: 700;

    transition: all 0.25s ease;
}

.category-card > a:hover {
    background: var(--gold);
    color: white;
}


/* =========================================================
   9. NEW ARRIVALS
   ========================================================= */

#new-arrivals {
    padding: 90px 6%;
    background: var(--cream);

    text-align: center;
}

#new-arrivals > p {
    margin: 10px auto 40px;
    color: var(--brown-light);
}

#new-arrivals > div {
    max-width: 350px;
    min-height: 220px;

    margin: 18px;

    padding: 28px;

    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;

    vertical-align: top;

    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-soft);

    text-align: left;
}

#new-arrivals h3 {
    margin-bottom: 10px;

    font-family: Georgia, "Times New Roman", serif;
    color: var(--brown);
}

#new-arrivals p {
    color: var(--brown-light);
}

#new-arrivals strong {
    margin: 15px 0;

    color: var(--gold-dark);
    font-size: 21px;
}

#new-arrivals a {
    display: inline-flex;
    justify-content: center;

    padding: 10px 18px;

    border-radius: 25px;

    background: var(--gold);
    color: white;

    font-weight: 700;
}


/* =========================================================
   10. FEATURED PRODUCTS
   ========================================================= */

#featured {
    padding: 90px 6%;
    background: white;
}

#featured > h2,
#featured > p {
    text-align: center;
}

#featured > p {
    max-width: 650px;
    margin: 12px auto 45px;
    color: var(--brown-light);
}

.product-grid {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    min-width: 0;

    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: var(--cream-dark);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--gold-dark);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    min-height: 52px;

    margin-bottom: 10px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;

    color: var(--brown);
}

.product-price {
    margin-bottom: 15px;

    color: var(--gold-dark);

    font-size: 20px;
    font-weight: 800;
}

.add-to-cart {
    width: 100%;

    min-height: 43px;

    border: none;
    border-radius: 25px;

    background: var(--gold);
    color: white;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.add-to-cart:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}


/* =========================================================
   11. ABOUT SECTION
   ========================================================= */

#about {
    padding: 90px 8%;

    background:
        linear-gradient(
            135deg,
            #f5eddf,
            #fffdf9
        );

    text-align: center;
}

#about h2 {
    margin-bottom: 20px;
    font-size: 38px;
}

#about p {
    max-width: 800px;
    margin: 0 auto 18px;

    color: var(--brown-light);
    font-size: 16px;
}


/* =========================================================
   12. WHY SHOP WITH ARADILUXE
   ========================================================= */

#why-shop {
    padding: 82px 6% 90px;
    background: #fffdf9;
    text-align: center;
}

/* The introduction stays together inside one subtle gold/cream box. */

#why-shop .section-heading {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 30px 34px 32px;
    background: rgba(231, 201, 111, 0.12);
    border: 1px solid rgba(201, 150, 0, 0.24);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(72, 51, 24, 0.05);
    position: relative;
}

#why-shop .section-heading::after {
    content: "";
    width: 54px;
    height: 2px;
    margin: 20px auto 0;
    display: block;
    background: var(--gold);
    border-radius: 10px;
}

#why-shop .section-label {
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

#why-shop .section-heading h2 {
    max-width: 760px;
    margin: 0 auto 12px;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brown);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
}

#why-shop .section-heading > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--brown-light);
    font-size: 16px;
    line-height: 1.75;
}

/* Four benefits remain side-by-side on normal desktop screens. */

.why-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.why-card {
    min-height: 210px;
    padding: 30px 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card::before {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    margin: 0 auto 18px;
    background: var(--gold);
    border-radius: 10px;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 150, 0, 0.5);
    box-shadow: var(--shadow-hover);
}

.why-card h3 {
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--gold-dark);
    font-size: 22px;
}

.why-card p {
    color: var(--brown-light);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   13. FINAL CALL TO ACTION
   ========================================================= */

main > section:not(#home):not(#categories):not(#new-arrivals):not(#featured):not(#about):not(#why-shop):not(#contact) {
    padding: 90px 6%;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #332b26,
            #4a3b30
        );

    color: white;
}

main > section:not(#home):not(#categories):not(#new-arrivals):not(#featured):not(#about):not(#why-shop):not(#contact) h2 {
    margin-bottom: 15px;

    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
}

main > section:not(#home):not(#categories):not(#new-arrivals):not(#featured):not(#about):not(#why-shop):not(#contact) p {
    max-width: 650px;

    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.8);
}

main > section:not(#home):not(#categories):not(#new-arrivals):not(#featured):not(#about):not(#why-shop):not(#contact) a {
    display: inline-flex;

    padding: 12px 25px;

    border-radius: 30px;

    background: var(--gold);

    color: white;

    font-weight: 700;
}


/* =========================================================
   14. CONTACT
   ========================================================= */

#contact {
    padding: 85px 6%;

    background: var(--cream);

    text-align: center;
}

#contact h2 {
    margin-bottom: 15px;
    font-size: 38px;
}

#contact > p {
    margin-bottom: 10px;
    color: var(--brown-light);
}

#contact a {
    color: var(--gold-dark);
    font-weight: 700;
}


/* =========================================================
   15. FOOTER
   ========================================================= */

footer {
    padding: 55px 6% 30px;

    background: #2e2722;
    color: white;

    text-align: center;
}

footer h2 {
    margin-bottom: 8px;

    font-family: Georgia, "Times New Roman", serif;

    color: var(--gold-light);
    font-size: 30px;
}

footer > p {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.7);
}

footer nav {
    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    gap: 25px;

    margin-bottom: 25px;
}

footer nav a {
    color: rgba(255, 255, 255, 0.85);

    transition: color 0.25s ease;
}

footer nav a:hover {
    color: var(--gold-light);
}


/* =========================================================
   16. RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .header-container {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 18px;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 4px;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   17. RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 760px) {

    body {
        font-size: 15px;
    }


    /* Header */

    .site-header {
        padding: 10px 5%;
    }

    .header-container {
        min-height: 62px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .brand-logo {
        width: 125px;
        max-height: 80px;
    }

    .main-nav {
        width: 100%;

        display: none;

        flex-direction: column;

        gap: 12px;

        padding: 15px 0;

        border-top: 1px solid var(--border);
    }

    .main-nav.active {
        display: flex;
    }

    .header-actions {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr auto;

        gap: 8px;
    }

    .header-actions form {
        width: 100%;
    }

    .header-actions input[type="search"] {
        width: 100%;
    }

    .cart-link {
        padding: 0 12px;
    }

    .account-link {
        grid-column: 1 / -1;
        width: 100%;
    }

    .menu-toggle {
        display: block;

        margin-left: auto;
    }


    /* Hero */

    #home {
        min-height: auto;

        padding: 70px 6%;

        text-align: center;
    }

    #home h1,
#home h2 {
        font-size: 40px;
    }

    #home p {
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }


    /* Categories */

    #categories {
        padding: 65px 5%;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .category-card {
        max-width: 420px;
        margin: 0 auto;
    }


    /* Products */

    #featured {
        padding: 65px 5%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info {
        padding: 15px;
    }

    .product-info h3 {
        font-size: 16px;
        min-height: auto;
    }

    .product-price {
        font-size: 17px;
    }


    /* New arrivals */

    #new-arrivals {
        padding: 65px 5%;
    }

    #new-arrivals > div {
        width: calc(100% - 20px);
        margin: 10px;
    }


    /* About */

    #about {
        padding: 65px 6%;
    }


    /* Why shop */

    #why-shop {
        padding: 70px 5%;
    }

    #why-shop .section-heading h2 {
        font-size: 35px;
    }

    #why-shop .section-heading {
        margin-bottom: 30px;
        padding: 25px 20px 27px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        min-height: auto;
    }


    /* CTA */

    main > section:not(#home):not(#categories):not(#new-arrivals):not(#featured):not(#about):not(#why-shop):not(#contact) {
        padding: 65px 6%;
    }


    /* Contact */

    #contact {
        padding: 65px 6%;
    }


    /* Footer */

    footer {
        padding: 45px 5% 25px;
    }

    footer nav {
        gap: 14px 20px;
    }
}


/* =========================================================
   18. SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .brand-logo {
        width: 110px;
    }

    .header-actions {
        grid-template-columns: 1fr;
    }

    .cart-link {
        justify-content: center;
    }

    .account-link {
        width: 100%;
    }

    #home h1,
#home h2 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    #why-shop .section-heading h2 {
        font-size: 31px;
    }

    footer nav {
        flex-direction: column;
        gap: 8px;
    }
}

/* =========================================================
   ARADILUXE SHOPPING CART
   ========================================================= */

.cart-page {
    min-height: 75vh;
    background:
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #fbf8f2 55%,
            #f5eddf 100%
        );
}


.cart-section {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 85px 6% 100px;
}


.cart-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    padding: 32px 35px;
    text-align: center;
    background: rgba(231, 201, 111, 0.12);
    border: 1px solid rgba(201, 150, 0, 0.25);
    border-radius: 22px;
    box-shadow:
        0 12px 30px rgba(72, 51, 24, 0.06);
}


.cart-heading h1 {
    margin-bottom: 12px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(36px, 5vw, 52px);
    color: var(--brown);
}


.cart-heading p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--brown-light);
}


.cart-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        370px;
    gap: 30px;
    align-items: start;
}


.cart-items-panel {
    min-width: 0;
}


.cart-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.cart-item {
    display: grid;
    grid-template-columns:
        110px
        minmax(160px, 1fr)
        auto
        auto
        auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}


.cart-item-image {
    width: 110px;
    height: 110px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--cream-dark);
}


.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.cart-item-info {
    min-width: 0;
}


.cart-item-category {
    display: block;
    margin-bottom: 5px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


.cart-item-info h3 {
    margin-bottom: 8px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 20px;
    line-height: 1.3;
    color: var(--brown);
}


.cart-item-price {
    margin: 0;
    color: var(--gold-dark);
    font-weight: 800;
}


.cart-item-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: #fffdf9;
}


.quantity-button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--gold);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.quantity-button:hover {
    background: var(--gold-dark);
    transform: scale(1.05);
}


.cart-item-quantity {
    min-width: 24px;
    text-align: center;
    color: var(--brown);
    font-weight: 800;
}


.cart-item-subtotal {
    min-width: 105px;
    text-align: right;
}


.cart-item-subtotal span {
    display: block;
    margin-bottom: 3px;
    color: var(--brown-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.cart-item-subtotal strong {
    color: var(--gold-dark);
    font-size: 16px;
}


.remove-cart-item {
    border: none;
    background: transparent;
    color: #8d6255;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}


.remove-cart-item:hover {
    color: #a33325;
    text-decoration: underline;
}


.cart-summary {
    position: sticky;
    top: 25px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}


.cart-summary h2 {
    margin-bottom: 28px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 30px;
    color: var(--brown);
}


.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--brown-light);
}


.summary-row strong {
    color: var(--brown);
}


.summary-divider {
    width: 100%;
    height: 1px;
    margin: 22px 0;
    background: var(--border);
}


.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}


.summary-total span {
    color: var(--brown);
    font-size: 18px;
    font-weight: 700;
}


.summary-total strong {
    color: var(--gold-dark);
    font-size: 25px;
}


.checkout-button {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 30px;
    background: var(--gold);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.checkout-button:hover:not(:disabled) {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}


.checkout-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.continue-shopping-button {
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 30px;
    background: transparent;
    color: var(--gold-dark);
    font-weight: 700;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.continue-shopping-button:hover {
    background: var(--gold);
    color: #ffffff;
}


.checkout-message {
    min-height: 24px;
    margin-top: 18px;
    text-align: center;
    color: var(--brown-light);
    font-size: 14px;
}


.checkout-message.success {
    color: var(--gold-dark);
    font-weight: 700;
}


.cart-empty {
    padding: 60px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}


.cart-empty-icon {
    margin-bottom: 15px;
    font-size: 50px;
}


.cart-empty h2 {
    margin-bottom: 12px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 32px;
    color: var(--brown);
}


.cart-empty p {
    max-width: 550px;
    margin: 0 auto 25px;
    color: var(--brown-light);
}


.cart-empty .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    border-radius: 30px;
    background: var(--gold);
    color: #ffffff;
    font-weight: 700;
}


.cart-empty .primary-button:hover {
    background: var(--gold-dark);
}


.cart-loading {
    padding: 50px;
    text-align: center;
    color: var(--brown-light);
}


.products-loading,
.products-message {
    grid-column: 1 / -1;
    padding: 45px;
    text-align: center;
    color: var(--brown-light);
}


/* =========================================================
   CART RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }


    .cart-summary {
        position: static;
    }


    .cart-item {
        grid-template-columns:
            100px
            minmax(0, 1fr)
            auto;
    }


    .cart-item-controls {
        grid-column: 2;
        justify-self: start;
    }


    .cart-item-subtotal {
        grid-column: 3;
        grid-row: 1 / span 2;
    }


    .remove-cart-item {
        grid-column: 2;
        justify-self: start;
    }

}


@media (max-width: 760px) {

    .cart-section {
        padding: 65px 5% 75px;
    }


    .cart-heading {
        padding: 25px 20px;
        margin-bottom: 30px;
    }


    .cart-item {
        grid-template-columns:
            85px
            minmax(0, 1fr);
        gap: 15px;
        padding: 15px;
    }


    .cart-item-image {
        width: 85px;
        height: 85px;
    }


    .cart-item-info h3 {
        font-size: 17px;
    }


    .cart-item-controls {
        grid-column: 2;
        justify-self: start;
    }


    .cart-item-subtotal {
        grid-column: 2;
        grid-row: auto;
        min-width: 0;
        text-align: left;
    }


    .remove-cart-item {
        grid-column: 2;
        justify-self: start;
    }


    .cart-summary {
        padding: 25px 20px;
    }

}


@media (max-width: 480px) {

    .cart-heading h1 {
        font-size: 34px;
    }


    .cart-item {
        grid-template-columns: 75px 1fr;
    }


    .cart-item-image {
        width: 75px;
        height: 75px;
    }


    .cart-item-info h3 {
        font-size: 16px;
    }


    .cart-item-price {
        font-size: 14px;
    }


    .cart-item-controls,
    .cart-item-subtotal,
    .remove-cart-item {
        grid-column: 1 / -1;
    }


    .cart-item-controls {
        justify-self: start;
    }


    .cart-item-subtotal {
        text-align: left;
    }

}

/* =========================================================
   19. CHECKOUT PAGE
   ========================================================= */

/*
   Section labels ("SECURE CHECKOUT", "YOUR DETAILS", etc.)
   used across the cart and checkout pages.
*/

.section-label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/*
   Full-page overlay shown briefly while checkout.js
   confirms the customer is logged in.
*/

.auth-check-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
}

.auth-check-overlay p {
    padding: 18px 30px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    color: var(--brown-light);
    font-weight: 700;
}


.checkout-page {
    min-height: 75vh;
    background:
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #fbf8f2 55%,
            #f5eddf 100%
        );
}


.checkout-section {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 85px 6% 100px;
}


.checkout-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        370px;
    gap: 30px;
    align-items: start;
}


.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}


/* CUSTOMER DETAILS CARD */

.checkout-form-panel {
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.checkout-form-panel h2 {
    margin-bottom: 26px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 26px;
    color: var(--brown);
}

.checkout-page .cart-items-panel h2 {
    margin-bottom: 18px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 26px;
    color: var(--brown);
}


/* FORM FIELDS */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-group label {
    color: var(--brown);
    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: #fffdf9;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--brown);
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a89a8c;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 150, 0, 0.15);
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.form-error {
    display: block;
    min-height: 16px;
    color: #a33325;
    font-size: 12px;
    font-weight: 600;
}

.form-message {
    margin-top: 16px;
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 700;
}


/* PAYMENT NOTE (inside the order summary card) */

.payment-note {
    margin: 24px 0;
    padding: 18px 20px;
    background: rgba(231, 201, 111, 0.12);
    border: 1px solid rgba(201, 150, 0, 0.25);
    border-radius: 16px;
}

.payment-note p:last-child {
    margin: 0;
    color: var(--brown-light);
    font-size: 13px;
    line-height: 1.6;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 600px) {

    .checkout-section {
        padding: 60px 5% 70px;
    }

    .checkout-form-panel,
    .checkout-page .cart-summary {
        padding: 24px;
    }
}


/* =========================================================
   20. CHECKOUT — PAYMENT SECTION
   ========================================================= */

.payment-panel {
    margin: 24px 0;
}

.payment-panel h3 {
    margin-bottom: 16px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 19px;
    color: var(--brown);
}


/* BANK DETAILS CARD */

.bank-details-card {
    padding: 18px 20px;
    margin-bottom: 16px;
    background: #fffdf9;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.bank-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bank-detail-row + .bank-detail-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.bank-detail-row span {
    color: var(--brown-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.bank-detail-row strong {
    color: var(--gold-dark);
    font-size: 16px;
}


/* EXPLANATION TEXT */

.payment-instructions {
    margin: 0 0 20px;
    padding: 14px 16px;
    background: rgba(231, 201, 111, 0.12);
    border: 1px solid rgba(201, 150, 0, 0.25);
    border-radius: 14px;
    color: var(--brown-light);
    font-size: 13px;
    line-height: 1.6;
}


/* PAYMENT METHOD SELECTOR */

.payment-method-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method-label {
    margin-bottom: 4px;
    color: var(--brown);
    font-size: 14px;
    font-weight: 700;
}

.payment-method-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.payment-method-option:hover {
    border-color: var(--gold-light);
}

.payment-method-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.payment-method-option span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.payment-method-option strong {
    color: var(--brown);
    font-size: 14px;
}

.payment-method-option small {
    color: var(--brown-light);
    font-size: 12px;
    line-height: 1.4;
}

.payment-method-option:has(input:checked) {
    background: rgba(231, 201, 111, 0.14);
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 150, 0, 0.12);
}


/* =========================================================
   20. SEND ORDER VIA WHATSAPP
   ========================================================= */

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin-top: 14px;
    border: none;
    border-radius: 30px;
    background: #25d366;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.whatsapp-button span {
    font-size: 18px;
}

.whatsapp-button:hover:not(:disabled) {
    background: #1ebe58;
    box-shadow: var(--shadow-soft);
}

.whatsapp-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.whatsapp-hint {
    margin-top: 10px;
    color: var(--brown-light);
    font-size: 12px;
    text-align: center;
}


/* =========================================================
   21. PRODUCT SEARCH + CATEGORY FILTER (FEATURED SECTION)
   ========================================================= */

.product-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin: 10px 0 40px;
}


/* SEARCH BAR */

.product-search-form {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.product-search-form input[type="search"] {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: #fffdf9;
    color: var(--brown);
    padding: 0 54px 0 22px;
    font-size: 15px;
    outline: none;
    box-shadow: var(--shadow-soft);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.product-search-form input[type="search"]::placeholder {
    color: #a89a8c;
}

.product-search-form input[type="search"]:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 150, 0, 0.15);
}

.product-search-form button {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--gold);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.product-search-form button:hover {
    background: var(--gold-dark);
}


/* CATEGORY FILTER BAR */

.category-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.category-filter-btn {
    padding: 9px 22px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: #ffffff;
    color: var(--brown);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease;
}

.category-filter-btn:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
}

.category-filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
}


/* SEARCH STATUS TEXT */

.product-search-status {
    margin: 0;
    color: var(--brown-light);
    font-size: 13px;
    min-height: 16px;
}


/* IMAGE CLICK AFFORDANCE */

.product-image {
    cursor: pointer;
}

.product-image:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}


/* =========================================================
   22. PRODUCT IMAGE LIGHTBOX
   ========================================================= */

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 22, 15, 0.82);
}

.image-lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: min(600px, 90vw);
    max-height: 90vh;
    animation: lightbox-pop 0.25s ease;
}

@keyframes lightbox-pop {

    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-lightbox-content img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.image-lightbox-caption {
    margin: 0;
    color: #fdf8ee;
    font-size: 14px;
    text-align: center;
}

.image-lightbox-close {
    position: absolute;
    top: -46px;
    right: -6px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: var(--brown);
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
}

.image-lightbox-close:hover {
    transform: scale(1.08);
}

body.lightbox-open {
    overflow: hidden;
}


/* RESPONSIVE */

@media (max-width: 600px) {

    .image-lightbox {
        padding: 16px;
    }

    .image-lightbox-close {
        top: -42px;
        right: 0;
    }

    .product-search-form input[type="search"] {
        height: 46px;
        font-size: 14px;
    }

    .add-to-cart {
        min-height: 46px;
    }

    .category-filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}