/* =========================================================
   CRUST & CO. — MAIN STYLESHEET
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --background: #171412;

    --background-light: #211c18;

    --surface: #24201c;

    --surface-light: #2d2722;

    --cream: #f4ede3;

    --muted: #aaa198;

    --gold: #b8793f;

    --gold-light: #dca66d;

    --border: rgba(255, 255, 255, 0.08);

    --container: 1180px;

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--background);

    color: var(--cream);

    font-family:
        "DM Sans",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

}


img {

    max-width: 100%;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font-family: inherit;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 60px),
        var(--container)
    );

    margin-inline: auto;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    border-bottom:
        1px solid
        rgba(255,255,255,0.04);

    transition:
        background 0.4s ease,
        backdrop-filter 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;

}


.header.scrolled {

    position: fixed;

    background:
        rgba(20, 17, 15, 0.82);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom-color:
        rgba(255,255,255,0.09);

    box-shadow:
        0 10px 40px
        rgba(0,0,0,0.25);

}


.nav {

    height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    transition:
        height 0.4s ease;

}


.header.scrolled .nav {

    height: 70px;

}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    gap: 4px;

    flex-shrink: 0;

}


.logo-main {

    font-size: 18px;

    font-weight: 600;

    letter-spacing: 3px;

}


.logo-symbol {

    color: var(--gold-light);

    font-family:
        "Playfair Display",
        serif;

    font-size: 20px;

}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 6px;

    background:
        rgba(255,255,255,0.025);

    border:
        1px solid
        rgba(255,255,255,0.06);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    border-radius: 50px;

}


.nav-link {

    position: relative;

    display: flex;

    align-items: center;

    padding:
        10px 16px;

    color: #aaa39b;

    font-size: 14px;

    font-weight: 500;

    border-radius: 40px;

    overflow: hidden;

    transition:
        color 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;

}


.nav-link span {

    position: relative;

    z-index: 2;

    transition:
        transform 0.3s ease,
        letter-spacing 0.3s ease;

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 5px;

    width: 0;
    height: 2px;

    background:
        var(--gold-light);

    border-radius: 10px;

    transform:
        translateX(-50%);

    transition:
        width 0.35s ease;

}


.nav-link:hover {

    color: #fff;

    background:
        rgba(198,138,74,0.08);

    transform:
        translateY(-2px);

}


.nav-link:hover span {

    transform:
        translateY(-1px);

    letter-spacing:
        0.3px;

}


.nav-link:hover::after {

    width: 22px;

}


.nav-link.active {

    color: #fff;

    background:
        rgba(198,138,74,0.12);

}


.nav-link.active::after {

    width: 22px;

}


.nav-link:active {

    transform:
        scale(0.94);

}


/* =========================================================
   NAV RIPPLE
========================================================= */

.nav-ripple {

    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        rgba(223,163,101,0.35);

    transform:
        translate(-50%,-50%)
        scale(0);

    pointer-events: none;

    animation:
        navRipple 0.6s ease-out forwards;

}


@keyframes navRipple {

    0% {

        transform:
            translate(-50%,-50%)
            scale(0);

        opacity: 1;

    }

    100% {

        transform:
            translate(-50%,-50%)
            scale(18);

        opacity: 0;

    }

}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


.order-button {

    padding:
        10px 18px;

    border:
        1px solid
        rgba(220,166,109,0.45);

    border-radius: 40px;

    color:
        var(--cream);

    font-size: 13px;

    font-weight: 500;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;

}


.order-button:hover {

    background:
        rgba(220,166,109,0.12);

    border-color:
        var(--gold-light);

    transform:
        translateY(-2px);

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-btn {

    width: 40px;
    height: 40px;

    display: none;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;

    background:
        rgba(255,255,255,0.04);

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius: 50%;

    cursor: pointer;

}


.menu-btn span {

    width: 15px;
    height: 1.5px;

    background: #fff;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;

}


.menu-btn.open span:nth-child(1) {

    transform:
        translateY(6.5px)
        rotate(45deg);

}


.menu-btn.open span:nth-child(2) {

    opacity: 0;

}


.menu-btn.open span:nth-child(3) {

    transform:
        translateY(-6.5px)
        rotate(-45deg);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    width: 100%;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        #17110d;

}


.hero-background {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    z-index: 0;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(12,9,7,0.84) 0%,
            rgba(12,9,7,0.64) 35%,
            rgba(12,9,7,0.30) 68%,
            rgba(12,9,7,0.40) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    width: 100%;

    min-height: 650px;

    display: flex;

    align-items: center;

    padding-top: 100px;

    padding-bottom: 70px;

}


.hero-text {

    max-width: 620px;

}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {

    color:
        var(--gold-light);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;

    margin-bottom: 16px;

}


.hero-eyebrow {

    opacity: 0;

    animation:
        heroFadeUp 0.8s ease forwards;

    animation-delay: 0.2s;

}


/* =========================================================
   TYPEWRITER
========================================================= */

.typewriter-heading {

    min-height: 180px;

    margin-bottom: 25px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(
            55px,
            6.5vw,
            88px
        );

    line-height: 0.98;

    letter-spacing: -2px;

    color:
        var(--cream);

}


.typewriter-heading #typewriter-text {

    color:
        var(--cream);

}


.typewriter-cursor {

    color:
        var(--gold-light);

    font-family:
        "DM Sans",
        sans-serif;

    font-weight: 300;

    animation:
        blink-cursor 0.8s infinite;

}


@keyframes blink-cursor {

    0%,
    45% {

        opacity: 1;

    }

    46%,
    100% {

        opacity: 0;

    }

}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {

    max-width: 490px;

    color:
        #ddd3c8;

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 35px;

    opacity: 0;

    animation:
        heroFadeUp 0.8s ease forwards;

    animation-delay: 1.9s;

}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {

    display: flex;

    gap: 14px;

    opacity: 0;

    animation:
        heroFadeUp 0.8s ease forwards;

    animation-delay: 2.1s;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding:
        0 22px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 500;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;

}


.btn:hover {

    transform:
        translateY(-3px);

}


.btn-primary {

    background:
        var(--gold-light);

    color:
        #21150d;

}


.btn-primary:hover {

    background:
        #ebbb88;

}


.btn-secondary {

    border:
        1px solid
        rgba(255,255,255,0.35);

    color:
        var(--cream);

    background:
        rgba(255,255,255,0.03);

    backdrop-filter:
        blur(8px);

}


.btn-secondary:hover {

    background:
        rgba(255,255,255,0.10);

    border-color:
        rgba(255,255,255,0.6);

}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {

    padding:
        110px 0;

}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;

}


.section-heading h2,
.collections-heading h2,
.story-content h2,
.reviews-heading h2 {

    font-family:
        "Playfair Display",
        serif;

    font-weight: 500;

    font-size:
        clamp(38px,5vw,58px);

    line-height: 1.05;

}


.text-link {

    color:
        var(--gold-light);

    font-size: 13px;

    display: flex;

    gap: 8px;

    align-items: center;

}


.text-link span {

    transition:
        transform 0.3s ease;

}


.text-link:hover span {

    transform:
        translateX(5px);

}


/* =========================================================
   CUSTOMER FAVORITES
========================================================= */

.favorites-section {

    background:
        var(--background);

}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 20px;

}


.product-card {

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease;

}


.product-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(220,166,109,0.25);

}


/* =========================================================
   PRODUCT VISUALS
========================================================= */

.product-image {

    height: 250px;

    display: grid;

    place-items: center;

    overflow: hidden;

}


.product-bread {

    background:
        radial-gradient(
            circle at 50% 45%,
            #a96732,
            #432412
        );

}


.bread-visual {

    width: 180px;
    height: 115px;

    border-radius:
        48% 52% 45% 55%;

    background:
        linear-gradient(
            135deg,
            #d69a55,
            #75401d
        );

    transform:
        rotate(-8deg);

    box-shadow:
        15px 20px 30px
        rgba(0,0,0,0.35);

}


.bread-visual span {

    position: relative;

    display: block;

    width: 55px;
    height: 4px;

    margin:
        18px auto 0;

    border-radius: 50%;

    background:
        rgba(255,226,181,0.45);

    transform:
        rotate(-25deg);

}


.product-croissant {

    background:
        #302015;

}


.croissant-visual {

    font-size: 100px;

    filter:
        drop-shadow(
            15px 20px 20px
            rgba(0,0,0,0.3)
        );

}


.product-cake {

    background:
        #2c211c;

}


.cake-visual {

    width: 155px;
    height: 125px;

    position: relative;

}


.cake-visual::before {

    content: "";

    position: absolute;

    left: 10px;
    bottom: 10px;

    width: 135px;
    height: 75px;

    background:
        linear-gradient(
            90deg,
            #5c3020,
            #a8643e,
            #4b281c
        );

    border-radius:
        8px 8px 15px 15px;

}


.cake-visual span {

    position: absolute;

    width: 145px;
    height: 20px;

    left: 5px;

    border-radius: 50%;

    background:
        #d9a078;

}


.cake-visual span:first-child {

    top: 25px;

}


.cake-visual span:last-child {

    top: 65px;

}


.product-cookie {

    background:
        #30241d;

}


.cookie-visual {

    display: flex;

    gap: 10px;

}


.cookie-visual span {

    width: 78px;
    height: 78px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #d59b5e,
            #75421f
        );

    box-shadow:
        8px 12px 20px
        rgba(0,0,0,0.3);

}


.cookie-visual span:nth-child(2) {

    margin-top: 30px;

}


.cookie-visual span:nth-child(3) {

    display: none;

}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info {

    padding:
        22px 20px 15px;

    display: flex;

    justify-content: space-between;

    gap: 15px;

}


.product-category {

    color:
        var(--gold-light);

    font-size: 8px;

    letter-spacing: 2px;

    margin-bottom: 5px;

}


.product-info h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 18px;

    font-weight: 500;

}


.product-price {

    color:
        var(--gold-light);

    font-size: 13px;

    white-space: nowrap;

}


/* =========================================================
   ADD BUTTON
========================================================= */

.add-button {

    width:
        calc(100% - 40px);

    margin:
        0 20px 20px;

    padding:
        11px;

    background:
        transparent;

    color:
        var(--cream);

    border:
        1px solid
        rgba(255,255,255,0.12);

    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease;

}


.add-button:hover {

    background:
        rgba(220,166,109,0.10);

    border-color:
        rgba(220,166,109,0.35);

}


/* =========================================================
   COLLECTIONS
========================================================= */

.collections-section {

    background:
        var(--background-light);

}


.collections-heading {

    max-width: 700px;

    margin-bottom: 50px;

}


.section-intro {

    max-width: 550px;

    color:
        var(--muted);

    margin-top: 20px;

    line-height: 1.8;

}


/* =========================================================
   COLLECTION GRID
========================================================= */

.collection-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 18px;

}


.collection-card {

    min-height: 300px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    padding: 28px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        linear-gradient(
            145deg,
            #4b2a19,
            #21150e
        );

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;

}


.collection-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(220,166,109,0.22),
            transparent 35%
        );

    transition:
        transform 0.5s ease;

}


.collection-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(220,166,109,0.35);

}


.collection-card:hover::before {

    transform:
        scale(1.2);

}


.collection-content {

    position: relative;

    z-index: 2;

}


.collection-number {

    display: block;

    color:
        var(--gold-light);

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 20px;

}


.collection-card h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 30px;

    font-weight: 500;

    margin-bottom: 10px;

}


.collection-card p {

    color:
        #c3b9af;

    font-size: 13px;

    line-height: 1.7;

    max-width: 280px;

}


.collection-link {

    display: inline-block;

    margin-top: 20px;

    color:
        var(--gold-light);

    font-size: 12px;

    transition:
        transform 0.3s ease;

}


.collection-card:hover .collection-link {

    transform:
        translateX(5px);

}


/* Different collection tones */

.collection-pastries {

    background:
        linear-gradient(
            145deg,
            #5c3925,
            #211610
        );

}


.collection-cakes {

    background:
        linear-gradient(
            145deg,
            #49302b,
            #1f1513
        );

}


.collection-cookies {

    background:
        linear-gradient(
            145deg,
            #594027,
            #21170f
        );

}


.collection-donuts {

    background:
        linear-gradient(
            145deg,
            #663e2c,
            #241512
        );

}


.collection-desserts {

    background:
        linear-gradient(
            145deg,
            #4a302e,
            #201517
        );

}


/* =========================================================
   STORY
========================================================= */

.story-section {

    padding:
        120px 0;

    background:
        #120f0d;

}


.story-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}


.story-visual {

    min-height: 500px;

}


.story-image-placeholder {

    width: 100%;
    height: 500px;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    padding-bottom: 35px;

    background:
        radial-gradient(
            circle at 50% 35%,
            #9c6032,
            #432415 60%,
            #1a100b
        );

}


.story-image-placeholder span {

    color:
        rgba(255,255,255,0.65);

    font-size: 10px;

    letter-spacing: 4px;

}


.story-content {

    max-width: 520px;

}


.story-content h2 {

    margin-bottom: 25px;

}


.story-content p {

    color:
        var(--muted);

    font-size: 15px;

    line-height: 1.9;

    margin-bottom: 18px;

}


/* =========================================================
   REVIEWS
========================================================= */

.reviews-section {

    background:
        var(--background-light);

}


.reviews-heading {

    max-width: 650px;

    margin-bottom: 50px;

}


.reviews-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 20px;

}


.review-card {

    padding:
        35px 30px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

}


.stars {

    color:
        var(--gold-light);

    letter-spacing: 3px;

    font-size: 12px;

    margin-bottom: 20px;

}


.review-card p {

    color:
        #d1c7bc;

    font-family:
        "Playfair Display",
        serif;

    font-size: 19px;

    line-height: 1.6;

    margin-bottom: 25px;

}


.review-card span {

    color:
        var(--muted);

    font-size: 12px;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background:
        #0e0c0a;

    padding-top:
        70px;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 50px;

    padding-bottom:
        60px;

}


.footer-brand {

    max-width: 300px;

}


.footer-logo {

    margin-bottom: 18px;

}


.footer-brand p {

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.8;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-column h4 {

    color:
        var(--cream);

    font-size: 12px;

    letter-spacing: 1px;

    margin-bottom: 8px;

}


.footer-column a,
.footer-column p {

    color:
        var(--muted);

    font-size: 12px;

    transition:
        color 0.3s ease;

}


.footer-column a:hover {

    color:
        var(--gold-light);

}


.footer-bottom {

    border-top:
        1px solid
        rgba(255,255,255,0.06);

    padding:
        20px 0;

}


.footer-bottom .container {

    display: flex;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom span {

    color:
        #706a63;

    font-size: 10px;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroFadeUp {

    from {

        opacity: 0;

        transform:
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {


    .container {

        width:
            min(
                calc(100% - 40px),
                var(--container)
            );

    }


    /* NAV */

    .nav-menu {

        position: absolute;

        top: 78px;

        left: 20px;
        right: 20px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;

        padding: 12px;

        border-radius: 18px;

        background:
            rgba(20,18,16,0.96);

        backdrop-filter:
            blur(20px);

        border:
            1px solid
            rgba(255,255,255,0.08);

        transform:
            translateY(-15px);

        opacity: 0;

        pointer-events: none;

        transition:
            transform 0.35s ease,
            opacity 0.35s ease;

    }


    .nav-menu.mobile-open {

        transform:
            translateY(0);

        opacity: 1;

        pointer-events: auto;

    }


    .nav-link {

        padding:
            15px 18px;

        border-radius: 12px;

    }


    .nav-link::after {

        left: 18px;

        bottom: 8px;

        transform: none;

    }


    .nav-link:hover::after,
    .nav-link.active::after {

        width: 25px;

    }


    .menu-btn {

        display: flex;

    }


    .order-button {

        display: none;

    }


    /* HERO */

    .hero {

        min-height: 620px;

    }


    .hero-content {

        min-height: 620px;

        padding-top: 120px;

        padding-bottom: 60px;

    }


    .hero-background {

        object-position:
            center center;

    }


    .hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(12,9,7,0.80),
                rgba(12,9,7,0.48)
            );

    }


    /* PRODUCTS */

    .product-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    /* COLLECTIONS */

    .collection-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    /* STORY */

    .story-grid {

        grid-template-columns:
            1fr;

        gap: 50px;

    }


    .story-content {

        max-width: 700px;

    }


    /* REVIEWS */

    .reviews-grid {

        grid-template-columns:
            1fr;

    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            repeat(2,1fr);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {


    .container {

        width:
            calc(100% - 30px);

    }


    /* HEADER */

    .nav {

        height: 76px;

    }


    .logo-main {

        font-size: 15px;

    }


    .logo-symbol {

        font-size: 17px;

    }


    .header.scrolled .nav {

        height: 66px;

    }


    /* HERO */

    .hero {

        min-height: 600px;

    }


    .hero-content {

        min-height: 600px;

        padding-top: 105px;

        padding-bottom: 50px;

    }


    .hero-background {

        object-position:
            55% center;

    }


    .hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(12,9,7,0.82),
                rgba(12,9,7,0.52)
            );

    }


    .hero-text {

        max-width: 100%;

    }


    .typewriter-heading {

        min-height: 125px;

        font-size: 48px;

        letter-spacing: -1px;

    }


    .hero-description {

        font-size: 14px;

        line-height: 1.7;

    }


    .hero-buttons {

        flex-wrap: wrap;

    }


    .btn {

        min-height: 46px;

        padding:
            0 18px;

    }


    /* SECTIONS */

    .section {

        padding:
            80px 0;

    }


    .section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 15px;

    }


    .section-heading h2,
    .collections-heading h2,
    .story-content h2,
    .reviews-heading h2 {

        font-size: 40px;

    }


    /* PRODUCTS */

    .product-grid {

        grid-template-columns:
            1fr;

    }


    .product-image {

        height: 280px;

    }


    /* COLLECTIONS */

    .collection-grid {

        grid-template-columns:
            1fr;

    }


    .collection-card {

        min-height: 280px;

    }


    /* STORY */

    .story-section {

        padding:
            80px 0;

    }


    .story-visual {

        min-height: 350px;

    }


    .story-image-placeholder {

        height: 350px;

    }


    /* REVIEWS */

    .review-card {

        padding:
            28px 22px;

    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    .footer-bottom .container {

        flex-direction: column;

    }

}
/* =====================================================
   HOMEPAGE REAL IMAGES
===================================================== */


/* -----------------------------------------------------
   CUSTOMER FAVORITES
----------------------------------------------------- */

.product-image {
    overflow: hidden;
    position: relative;
}


.product-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.product-card:hover .product-image img {
    transform: scale(1.06);
}


/* -----------------------------------------------------
   COLLECTION IMAGES
----------------------------------------------------- */

.collection-card {
    overflow: hidden;
}


.collection-image {
    width: 100%;
    height: 260px;

    overflow: hidden;

    position: relative;
}


.collection-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


.collection-card:hover .collection-image img {
    transform: scale(1.07);
}


.collection-content {
    position: relative;
    z-index: 2;
}


/* -----------------------------------------------------
   OUR STORY IMAGE
----------------------------------------------------- */

.story-image {
    width: 100%;
    height: 560px;

    overflow: hidden;

    border-radius: 30px;
}


.story-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}


.story-image:hover img {
    transform: scale(1.04);
}


/* -----------------------------------------------------
   CONTACT SECTION
----------------------------------------------------- */

.contact-section {
    padding: 120px 0;

    background: var(--surface);
}


.contact-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 90px;

    align-items: center;
}


/* -----------------------------------------------------
   CONTACT VISUAL
----------------------------------------------------- */

.contact-visual {
    position: relative;

    min-height: 560px;
}


.contact-image {
    overflow: hidden;

    border-radius: 28px;

    position: absolute;
}


.contact-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


.contact-image:hover img {
    transform: scale(1.05);
}


.contact-image-main {
    width: 72%;
    height: 430px;

    top: 0;
    left: 0;
}


.contact-image-small {
    width: 48%;
    height: 300px;

    right: 0;
    bottom: 0;

    border: 10px solid var(--surface);
}


/* -----------------------------------------------------
   CONTACT CONTENT
----------------------------------------------------- */

.contact-content {
    max-width: 520px;
}


.contact-content h2 {
    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(2.5rem, 5vw, 4.5rem);

    line-height: 1.05;

    margin:
        15px 0 25px;
}


.contact-intro {
    font-size: 1rem;

    line-height: 1.8;

    opacity: 0.72;

    max-width: 480px;

    margin-bottom: 40px;
}


/* -----------------------------------------------------
   CONTACT DETAILS
----------------------------------------------------- */

.contact-details {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 30px;

    margin-bottom: 40px;
}


.contact-detail-label {
    display: block;

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.13em;

    opacity: 0.5;

    margin-bottom: 8px;
}


.contact-detail p,
.contact-detail a {
    margin: 0;

    font-size: 0.95rem;

    line-height: 1.7;

    color: inherit;

    text-decoration: none;
}


.contact-detail a:hover {
    text-decoration: underline;
}


.contact-button {
    display: inline-flex;
}


/* -----------------------------------------------------
   RESPONSIVE
----------------------------------------------------- */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .contact-content {
        max-width: 100%;
    }


    .contact-visual {
        min-height: 500px;
    }

}


@media (max-width: 600px) {

    .collection-image {
        height: 220px;
    }


    .story-image {
        height: 420px;

        border-radius: 22px;
    }


    .contact-section {
        padding: 80px 0;
    }


    .contact-visual {
        min-height: 400px;
    }


    .contact-image-main {
        width: 78%;
        height: 310px;
    }


    .contact-image-small {
        width: 48%;
        height: 210px;

        border-width: 7px;
    }


    .contact-details {
        grid-template-columns: 1fr;

        gap: 24px;
    }

}
/* =====================================================
   HOMEPAGE SHOPPING CART
===================================================== */


/* -----------------------------------------------------
   CART BUTTON
----------------------------------------------------- */

.cart-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 0;
    background: transparent;

    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;

    cursor: pointer;

    padding: 10px 4px;

    color: inherit;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.cart-button:hover {
    transform: translateY(-2px);
}


.cart-icon {
    font-size: 1.1rem;
}


.cart-count {
    min-width: 21px;
    height: 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #8b4a32;
    color: #ffffff;

    font-size: 0.7rem;
    font-weight: 700;

    transition:
        transform 0.25s ease;
}


.cart-count.bump {
    transform: scale(1.3);
}


/* -----------------------------------------------------
   CART OVERLAY
----------------------------------------------------- */

.cart-overlay {
    position: fixed;

    inset: 0;

    z-index: 9999;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}


/* -----------------------------------------------------
   CART DRAWER
----------------------------------------------------- */

.cart-drawer {
    position: absolute;

    top: 0;
    right: 0;

    width: min(450px, 92vw);
    height: 100%;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    transform: translateX(100%);

    transition:
        transform 0.4s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

    box-shadow:
        -15px 0 50px rgba(0, 0, 0, 0.15);
}


.cart-overlay.open .cart-drawer {
    transform: translateX(0);
}


/* -----------------------------------------------------
   CART HEADER
----------------------------------------------------- */

.cart-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    padding: 30px;

    border-bottom:
        1px solid rgba(0, 0, 0, 0.08);
}


.cart-header h2 {
    margin: 6px 0 0;

    font-family:
        "Playfair Display",
        serif;

    font-size: 2rem;
}


.cart-close {
    width: 40px;
    height: 40px;

    border: 0;

    background: #f5f1eb;

    border-radius: 50%;

    font-size: 1.6rem;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.cart-close:hover {
    transform: rotate(90deg);
}


/* -----------------------------------------------------
   CART ITEMS
----------------------------------------------------- */

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 25px 30px;
}


.empty-cart {
    padding: 80px 20px;

    text-align: center;

    font-size: 0.95rem;

    line-height: 1.7;

    opacity: 0.65;
}


/* -----------------------------------------------------
   CART ITEM
----------------------------------------------------- */

.cart-item {
    display: grid;

    grid-template-columns:
        70px
        1fr
        auto;

    gap: 15px;

    align-items: center;

    padding: 18px 0;

    border-bottom:
        1px solid rgba(0, 0, 0, 0.08);
}


.cart-item-image {
    width: 70px;
    height: 70px;

    overflow: hidden;

    border-radius: 14px;

    background: #f3eee7;
}


.cart-item-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.cart-item-name {
    font-weight: 600;

    margin-bottom: 5px;
}


.cart-item-price {
    font-size: 0.9rem;

    opacity: 0.65;

    margin-bottom: 10px;
}


.cart-quantity {
    display: flex;

    align-items: center;

    gap: 10px;
}


.quantity-button {
    width: 28px;
    height: 28px;

    border: 1px solid rgba(0, 0, 0, 0.15);

    background: transparent;

    border-radius: 50%;

    cursor: pointer;

    font-size: 1rem;
}


.quantity-value {
    min-width: 20px;

    text-align: center;

    font-size: 0.9rem;

    font-weight: 600;
}


.remove-item {
    border: 0;

    background: transparent;

    color: #9a5b47;

    font-size: 0.75rem;

    cursor: pointer;
}


.remove-item:hover {
    text-decoration: underline;
}


/* -----------------------------------------------------
   CART FOOTER
----------------------------------------------------- */

.cart-footer {
    padding: 25px 30px;

    border-top:
        1px solid rgba(0, 0, 0, 0.08);

    background: #faf8f4;
}


.cart-total-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;

    font-size: 1rem;
}


.cart-total-row strong {
    font-family:
        "Playfair Display",
        serif;

    font-size: 1.5rem;
}


.checkout-button {
    width: 100%;

    border: 0;

    padding: 16px 20px;

    border-radius: 10px;

    background: #8b4a32;

    color: #ffffff;

    font-family: inherit;

    font-size: 0.95rem;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.checkout-button:hover {
    transform: translateY(-2px);

    opacity: 0.9;
}


/* -----------------------------------------------------
   MOBILE
----------------------------------------------------- */

@media (max-width: 700px) {

    .cart-button span:not(.cart-icon):not(.cart-count) {
        display: none;
    }


    .cart-drawer {
        width: 100%;
    }


    .cart-header {
        padding: 24px;
    }


    .cart-items {
        padding: 20px 24px;
    }


    .cart-footer {
        padding: 20px 24px;
    }

}
/* ==========================================
   CART TEXT VISIBILITY FIX
========================================== */

.cart-drawer,
.cart-drawer * {
    color: #30221c;
}

.cart-drawer {
    background: #ffffff;
}

.cart-drawer h2,
.cart-drawer h3,
.cart-drawer p,
.cart-drawer span,
.cart-drawer strong,
.cart-drawer .cart-item-name,
.cart-drawer .cart-item-price,
.cart-drawer .cart-total {
    color: #30221c;
}

/* Quantity controls */
.cart-drawer button {
    color: #30221c;
}

/* Keep checkout/action buttons readable */
.cart-drawer .checkout-btn,
.cart-drawer .cart-checkout-btn,
.cart-drawer .checkout-button {
    color: #ffffff;
}