/* =========================================================
   PAWFECT — GLOBAL VARIABLES
========================================================= */

:root {

    --cream: #F9F6F0;
    --cream-dark: #EEE8DE;

    --white: #FFFFFF;

    --coral: #E07A5F;
    --coral-dark: #C95F48;

    --green: #1B4332;
    --green-dark: #133C37;

    --text: #242424;
    --muted: #6F6A63;

    --border: rgba(36, 36, 36, 0.12);

    --shadow:
        0 20px 50px rgba(27, 67, 50, 0.10);

    --radius-lg: 28px;
    --radius-md: 20px;

    --transition: 0.35s ease;
}



/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    background: var(--cream);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

}


img {

    width: 100%;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input {

    font: inherit;

}


button {

    cursor: pointer;

}


::selection {

    background: var(--coral);

    color: white;

}



/* =========================================================
   CONTAINER
========================================================= */

.container {

    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin-inline: auto;

}



/* =========================================================
   HEADER
========================================================= */

header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(249, 246, 240, 0.92);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid
        rgba(36, 36, 36, 0.07);

}


.navbar {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.logo {

    font-family:
        "Playfair Display",
        serif;

    font-size: 2rem;

    font-weight: 800;

    letter-spacing: -1px;

}


.logo span {

    color: var(--coral);

}


.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;

}


.nav-links a {

    position: relative;

    font-size: 0.9rem;

    font-weight: 600;

    color: #494640;

}


.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    background: var(--coral);

    transition:
        var(--transition);

}


.nav-links a:hover::after {

    width: 100%;

}



/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


.search-trigger,
.cart-button {

    width: 42px;

    height: 42px;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: transparent;

    display: grid;

    place-items: center;

    color: var(--text);

    position: relative;

    transition:
        var(--transition);

}


.search-trigger:hover,
.cart-button:hover {

    background: var(--white);

    transform:
        translateY(-2px);

}


.cart-count {

    position: absolute;

    top: -5px;

    right: -4px;

    width: 19px;

    height: 19px;

    border-radius: 50%;

    background: var(--coral);

    color: white;

    font-size: 0.65rem;

    display: grid;

    place-items: center;

    font-weight: 700;

}


.shop-button {

    border: none;

    background: var(--coral);

    color: white;

    padding:
        12px 20px;

    border-radius: 999px;

    font-weight: 700;

    transition:
        var(--transition);

}


.shop-button:hover {

    background:
        var(--coral-dark);

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(224, 122, 95, 0.25);

}


.menu-button {

    display: none;

    width: 42px;

    height: 42px;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: transparent;

}



/* =========================================================
   SEARCH PANEL
========================================================= */

.search-panel {

    position: fixed;

    inset: 0;

    background:
        rgba(19, 60, 55, 0.96);

    z-index: 2000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;

}


.search-panel.active {

    display: flex;

}


.search-box {

    width:
        min(700px, 100%);

    position: relative;

}


.search-box input {

    width: 100%;

    border: none;

    outline: none;

    background: white;

    padding:
        22px 65px 22px 25px;

    border-radius: 999px;

    font-size: 1.1rem;

}


.close-search {

    position: absolute;

    right: 8px;

    top: 8px;

    width: 48px;

    height: 48px;

    border: none;

    border-radius: 50%;

    background: var(--coral);

    color: white;

}



/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {

    display: none;

    background:
        var(--cream);

    border-top:
        1px solid var(--border);

    padding:
        25px 20px 30px;

}


.mobile-menu.active {

    display: block;

    animation:
        slideDown 0.3s ease;

}


.mobile-menu a {

    display: block;

    padding: 14px 0;

    font-weight: 600;

    border-bottom:
        1px solid var(--border);

}


@keyframes slideDown {

    from {

        opacity: 0;

        transform:
            translateY(-10px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}



/* =========================================================
   HERO
========================================================= */

.hero {

    padding:
        90px 0 80px;

}


.hero-grid {

    display: grid;

    grid-template-columns:
        0.95fr 1.05fr;

    align-items: center;

    gap: 70px;

}


.eyebrow {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--green);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 20px;

}


.eyebrow::before {

    content: "";

    width: 35px;

    height: 2px;

    background:
        var(--coral);

}


.hero h1 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(3.2rem, 6vw, 6rem);

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 600;

    max-width: 700px;

}


.hero h1 span {

    color:
        var(--coral);

    font-style:
        italic;

}


.hero-description {

    color:
        var(--muted);

    max-width: 510px;

    margin:
        28px 0;

    font-size: 1rem;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.btn {

    border: none;

    border-radius: 999px;

    padding:
        15px 23px;

    font-weight: 700;

    transition:
        var(--transition);

}


.btn-primary {

    background:
        var(--coral);

    color: white;

}


.btn-primary:hover {

    background:
        var(--coral-dark);

    transform:
        translateY(-3px);

}


.btn-secondary {

    background: transparent;

    border:
        1px solid var(--border);

    color:
        var(--text);

}


.btn-secondary:hover {

    background:
        white;

    transform:
        translateY(-3px);

}



/* =========================================================
   SOCIAL PROOF
========================================================= */

.social-proof {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 40px;

}


.avatars {

    display: flex;

}


.avatars img {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    object-fit: cover;

    border:
        3px solid var(--cream);

    margin-left: -9px;

}


.avatars img:first-child {

    margin-left: 0;

}


.proof-text {

    font-size: 0.78rem;

    font-weight: 700;

}


.stars {

    color:
        var(--coral);

    letter-spacing: 2px;

}



/* =========================================================
   HERO IMAGE
========================================================= */

.hero-visual {

    position: relative;

}


.hero-image {

    height: 620px;

    border-radius:
        48% 48% 25px 25px;

    overflow: hidden;

    box-shadow:
        var(--shadow);

    position: relative;

}


.hero-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(19, 60, 55, 0.12),
            transparent 40%
        );

}


.hero-image img {

    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;

}


.hero-image:hover img {

    transform:
        scale(1.04);

}



/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {

    position: absolute;

    background:
        rgba(255,255,255,0.94);

    backdrop-filter:
        blur(12px);

    padding: 15px;

    border-radius: 18px;

    box-shadow:
        0 15px 40px
        rgba(0,0,0,0.12);

    z-index: 5;

    animation:
        floating 4s ease-in-out infinite;

}


.floating-card.one {

    left: -35px;

    bottom: 70px;

}


.floating-card.two {

    right: -30px;

    top: 90px;

    animation-delay:
        1.3s;

}


.floating-card-content {

    display: flex;

    align-items: center;

    gap: 12px;

}


.floating-card-icon {

    width: 48px;

    height: 48px;

    border-radius: 14px;

    background:
        var(--cream-dark);

    display: grid;

    place-items: center;

    color:
        var(--green);

}


.floating-card small {

    color:
        var(--muted);

    font-size:
        0.68rem;

}


.floating-card strong {

    display: block;

    font-size:
        0.82rem;

}


@keyframes floating {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-10px);

    }

}



/* =========================================================
   TICKER
========================================================= */

.ticker {

    overflow: hidden;

    background:
        var(--green-dark);

    color: white;

    padding:
        17px 0;

}


.ticker-track {

    display: flex;

    width: max-content;

    animation:
        marquee 25s linear infinite;

}


.ticker-item {

    white-space: nowrap;

    padding-right: 35px;

    font-size:
        0.73rem;

    font-weight: 800;

    letter-spacing: 2px;

}


.ticker-item span {

    color:
        var(--coral);

    margin:
        0 15px;

}


@keyframes marquee {

    from {

        transform:
            translateX(0);

    }

    to {

        transform:
            translateX(-50%);

    }

}



/* =========================================================
   SECTIONS
========================================================= */

section {

    scroll-margin-top:
        90px;

}


.section {

    padding:
        110px 0;

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 30px;

    margin-bottom:
        45px;

}


.section-heading h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(2.5rem, 5vw, 4rem);

    line-height: 1;

    letter-spacing:
        -2px;

    font-weight:
        600;

    max-width:
        600px;

}


.section-heading p {

    color:
        var(--muted);

    max-width:
        380px;

    font-size:
        0.9rem;

}



/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 14px;

}


.category-card {

    height: 390px;

    position: relative;

    border-radius:
        var(--radius-md);

    overflow: hidden;

    color: white;

    isolation: isolate;

}


.category-card img {

    position: absolute;

    inset: 0;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;

    z-index: -2;

}


.category-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.65),
            transparent 60%
        );

    z-index: -1;

}


.category-card:hover img {

    transform:
        scale(1.08);

}


.category-content {

    position: absolute;

    inset:
        auto 18px 18px;

}


.category-content h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        1.35rem;

    margin-bottom: 3px;

}


.category-content p {

    font-size:
        0.68rem;

    opacity:
        0.8;

}


.category-arrow {

    position: absolute;

    top: 15px;

    right: 15px;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.2);

    backdrop-filter:
        blur(10px);

    display: grid;

    place-items: center;

    transition:
        var(--transition);

}


.category-card:hover
.category-arrow {

    background:
        var(--coral);

    transform:
        rotate(-45deg);

}



/* =========================================================
   PRODUCT CONTROLS
========================================================= */

.product-controls {

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 20px;

    margin-bottom:
        35px;

}


.filter-tabs {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}


.filter-btn {

    border:
        1px solid var(--border);

    background:
        transparent;

    padding:
        10px 17px;

    border-radius:
        999px;

    font-size:
        0.78rem;

    font-weight:
        700;

    transition:
        var(--transition);

}


.filter-btn:hover,
.filter-btn.active {

    background:
        var(--green);

    color:
        white;

    border-color:
        var(--green);

}



/* =========================================================
   PRODUCT SEARCH
========================================================= */

.product-search {

    width: 240px;

    position: relative;

}


.product-search input {

    width: 100%;

    border:
        1px solid var(--border);

    background:
        transparent;

    border-radius:
        999px;

    padding:
        11px 18px 11px 42px;

    outline: none;

}


.product-search input:focus {

    border-color:
        var(--coral);

}


.product-search svg {

    position: absolute;

    left: 15px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 17px;

    color:
        var(--muted);

}



/* =========================================================
   PRODUCTS GRID
========================================================= */

.products-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.product-card {

    background:
        white;

    border-radius:
        var(--radius-md);

    padding: 10px;

    transition:
        var(--transition);

    border:
        1px solid
        rgba(36,36,36,0.05);

}


.product-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow);

}


.product-image {

    height: 340px;

    border-radius:
        16px;

    overflow: hidden;

    position: relative;

    background:
        var(--cream-dark);

}


.product-image img {

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;

}


.product-card:hover
.product-image img {

    transform:
        scale(1.05);

}



/* =========================================================
   PRODUCT BADGES
========================================================= */

.product-badge {

    position: absolute;

    left: 14px;

    top: 14px;

    background:
        var(--green);

    color: white;

    border-radius:
        999px;

    padding:
        6px 10px;

    font-size:
        0.62rem;

    font-weight:
        800;

    letter-spacing:
        1px;

}


.product-badge.new {

    background:
        var(--coral);

}



/* =========================================================
   WISHLIST
========================================================= */

.wishlist {

    position: absolute;

    right: 14px;

    top: 14px;

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.9);

    display: grid;

    place-items: center;

    transition:
        var(--transition);

}


.wishlist:hover {

    transform:
        scale(1.08);

}


.wishlist.liked {

    color:
        var(--coral);

}



/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info {

    padding:
        17px 8px 10px;

}


.product-info h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        1.45rem;

}


.product-description {

    color:
        var(--muted);

    font-size:
        0.78rem;

    margin:
        3px 0 10px;

}


.product-bottom {

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 10px;

}


.product-price {

    font-weight:
        800;

}


.add-cart {

    border:
        1px solid var(--border);

    background:
        transparent;

    border-radius:
        999px;

    padding:
        9px 13px;

    font-size:
        0.7rem;

    font-weight:
        800;

    transition:
        var(--transition);

}


.add-cart:hover,
.add-cart.added {

    background:
        var(--coral);

    border-color:
        var(--coral);

    color:
        white;

}


.empty-products {

    display:
        none;

    text-align:
        center;

    padding:
        60px 20px;

    color:
        var(--muted);

}



/* =========================================================
   STORY
========================================================= */

.story {

    background:
        var(--green-dark);

    color:
        white;

}


.story-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        70px;

    align-items:
        center;

}


.story-image {

    height:
        580px;

    overflow:
        hidden;

    border-radius:
        40% 20px 20px 20px;

}


.story-image img {

    height:
        100%;

    object-fit:
        cover;

}


.story-content .eyebrow {

    color:
        #cddbd4;

}


.story-content h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(2.6rem, 5vw, 4.5rem);

    line-height:
        1;

    margin-bottom:
        25px;

}


.story-content > p {

    color:
        #c8d1cc;

    max-width:
        520px;

    margin-bottom:
        30px;

}


.features {

    display:
        grid;

    gap:
        14px;

    margin-bottom:
        35px;

}


.feature {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    font-weight:
        700;

    font-size:
        0.88rem;

}


.feature-icon {

    width:
        35px;

    height:
        35px;

    border-radius:
        50%;

    background:
        rgba(255,255,255,0.1);

    display:
        grid;

    place-items:
        center;

    color:
        var(--coral);

}



/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonial-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        18px;

}


.testimonial {

    background:
        white;

    border-radius:
        var(--radius-md);

    padding:
        30px;

    border:
        1px solid
        var(--border);

}


.testimonial .stars {

    margin-bottom:
        20px;

}


.testimonial p {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        1.25rem;

    line-height:
        1.45;

    margin-bottom:
        25px;

}


.customer {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    font-size:
        0.78rem;

    font-weight:
        700;

}


.customer img {

    width:
        38px;

    height:
        38px;

    border-radius:
        50%;

    object-fit:
        cover;

}



/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter {

    padding-bottom:
        110px;

}


.newsletter-box {

    background:
        var(--coral);

    border-radius:
        35px;

    padding:
        65px;

    text-align:
        center;

    color:
        white;

    position:
        relative;

    overflow:
        hidden;

}


.newsletter-box::before,
.newsletter-box::after {

    content:
        "🐾";

    position:
        absolute;

    font-size:
        8rem;

    opacity:
        0.08;

}


.newsletter-box::before {

    left:
        5%;

    bottom:
        -30px;

    transform:
        rotate(-15deg);

}


.newsletter-box::after {

    right:
        5%;

    top:
        -30px;

    transform:
        rotate(20deg);

}


.newsletter-box h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(2.4rem, 5vw, 4rem);

    line-height:
        1;

    margin-bottom:
        15px;

}


.newsletter-box p {

    max-width:
        520px;

    margin:
        0 auto 25px;

    opacity:
        0.9;

}


.newsletter-form {

    display:
        flex;

    max-width:
        500px;

    margin:
        auto;

    background:
        white;

    padding:
        5px;

    border-radius:
        999px;

}


.newsletter-form input {

    flex:
        1;

    border:
        none;

    outline:
        none;

    padding:
        12px 18px;

    min-width:
        0;

}


.newsletter-form button {

    border:
        none;

    background:
        var(--green);

    color:
        white;

    padding:
        12px 20px;

    border-radius:
        999px;

    font-weight:
        700;

}



/* =========================================================
   FOOTER
========================================================= */

footer {

    background:
        #102D28;

    color:
        white;

    padding:
        70px 0 25px;

}


.footer-grid {

    display:
        grid;

    grid-template-columns:
        1.5fr repeat(3, 1fr);

    gap:
        40px;

    padding-bottom:
        50px;

}


footer .logo {

    margin-bottom:
        15px;

}


footer .logo span {

    color:
        var(--coral);

}


.footer-brand p {

    color:
        #aab9b2;

    max-width:
        300px;

    font-size:
        0.82rem;

}


.footer-column h4 {

    font-size:
        0.8rem;

    text-transform:
        uppercase;

    letter-spacing:
        1.5px;

    margin-bottom:
        18px;

}


.footer-column a {

    display:
        block;

    color:
        #aab9b2;

    font-size:
        0.8rem;

    margin-bottom:
        10px;

    transition:
        var(--transition);

}


.footer-column a:hover {

    color:
        white;

    transform:
        translateX(3px);

}


.footer-bottom {

    border-top:
        1px solid
        rgba(255,255,255,0.1);

    padding-top:
        20px;

    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

    color:
        #91a49c;

    font-size:
        0.7rem;

}



/* =========================================================
   TOAST
========================================================= */

.toast {

    position:
        fixed;

    right:
        25px;

    bottom:
        25px;

    background:
        var(--green-dark);

    color:
        white;

    padding:
        15px 20px;

    border-radius:
        14px;

    box-shadow:
        var(--shadow);

    transform:
        translateY(100px);

    opacity:
        0;

    pointer-events:
        none;

    transition:
        0.4s ease;

    z-index:
        5000;

    font-size:
        0.8rem;

}


.toast.show {

    transform:
        translateY(0);

    opacity:
        1;

}



/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {

    opacity:
        0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}


.reveal.visible {

    opacity:
        1;

    transform:
        translateY(0);

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .category-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .category-card {

        height:
            350px;

    }


    .hero-grid {

        gap:
            40px;

    }


    .hero-image {

        height:
            540px;

    }

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {


    .nav-links,
    .nav-actions .shop-button {

        display:
            none;

    }


    .menu-button {

        display:
            grid;

        place-items:
            center;

    }


    .hero {

        padding:
            60px 0;

    }


    .hero-grid {

        grid-template-columns:
            1fr;

    }


    .hero-content {

        text-align:
            center;

    }


    .eyebrow {

        justify-content:
            center;

    }


    .hero h1,
    .hero-description {

        margin-inline:
            auto;

    }


    .hero-buttons,
    .social-proof {

        justify-content:
            center;

    }


    .hero-visual {

        max-width:
            650px;

        width:
            100%;

        margin:
            auto;

    }


    .products-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .story-grid {

        grid-template-columns:
            1fr;

    }


    .story-image {

        height:
            450px;

    }


    .testimonial-grid {

        grid-template-columns:
            1fr;

    }


    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {


    .container {

        width:
            min(
                100% - 28px,
                1180px
            );

    }


    .navbar {

        min-height:
            70px;

    }


    .logo {

        font-size:
            1.7rem;

    }


    .nav-actions {

        margin-left:
            auto;

    }


    .hero {

        padding:
            45px 0 60px;

    }


    .hero h1 {

        font-size:
            clamp(
                2.7rem,
                14vw,
                4rem
            );

        letter-spacing:
            -2px;

    }


    .hero-description {

        font-size:
            0.88rem;

    }


    .hero-image {

        height:
            440px;

        border-radius:
            45% 45% 20px 20px;

    }


    .floating-card {

        padding:
            10px;

    }


    .floating-card.one {

        left:
            5px;

        bottom:
            25px;

    }


    .floating-card.two {

        right:
            5px;

        top:
            35px;

    }


    .floating-card-icon {

        width:
            38px;

        height:
            38px;

    }


    .section {

        padding:
            75px 0;

    }


    .section-heading {

        display:
            block;

        margin-bottom:
            30px;

    }


    .section-heading h2 {

        margin-bottom:
            15px;

        font-size:
            2.6rem;

    }


    .category-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            10px;

    }


    .category-card {

        height:
            290px;

    }


    .category-content h3 {

        font-size:
            1.15rem;

    }


    .product-controls {

        display:
            block;

    }


    .filter-tabs {

        margin-bottom:
            15px;

    }


    .product-search {

        width:
            100%;

    }


    .products-grid {

        grid-template-columns:
            1fr;

    }


    .product-image {

        height:
            370px;

    }


    .story-image {

        height:
            400px;

    }


    .newsletter {

        padding-bottom:
            75px;

    }


    .newsletter-box {

        padding:
            45px 20px;

        border-radius:
            25px;

    }


    .newsletter-form {

        flex-direction:
            column;

        background:
            transparent;

        gap:
            8px;

    }


    .newsletter-form input {

        border-radius:
            999px;

        padding:
            15px;

    }


    .newsletter-form button {

        padding:
            14px;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

        gap:
            35px 20px;

    }


    .footer-brand {

        grid-column:
            1 / -1;

    }


    .footer-bottom {

        flex-direction:
            column;

    }

}



/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {


    .category-grid {

        grid-template-columns:
            1fr;

    }


    .category-card {

        height:
            330px;

    }


    .hero-buttons {

        flex-direction:
            column;

    }


    .btn {

        width:
            100%;

    }


    .hero-image {

        height:
            390px;

    }

}
/* ===== SaaS additions: cart drawer, checkout, stock ===== */
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:var(--transition);z-index:90}
.overlay.show{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(420px,100%);background:var(--white);z-index:95;display:flex;flex-direction:column;transform:translateX(100%);transition:var(--transition);box-shadow:var(--shadow)}
.drawer.open{transform:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--border)}
.drawer-head h3{font-family:"Playfair Display",serif;font-size:24px}
.drawer-head button,.rm{background:none;border:0;cursor:pointer;color:var(--muted)}
.drawer-body{flex:1;overflow:auto;padding:12px 24px}
.drawer-foot{padding:20px 24px;border-top:1px solid var(--border);display:grid;gap:8px}
.cart-item{display:grid;grid-template-columns:64px 1fr auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border)}
.cart-item img{width:64px;height:64px;object-fit:cover;border-radius:14px;background:var(--cream-dark)}
.cart-item small{display:block;color:var(--muted)}
.qty{display:inline-flex;align-items:center;gap:12px;margin-top:6px}
.qty button{width:28px;height:28px;border-radius:50%;border:1px solid var(--border);background:none;cursor:pointer}
.row{display:flex;justify-content:space-between}.row.total{font-weight:800;font-size:18px;margin-top:6px}
.muted-p{color:var(--muted);padding:12px 0}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;place-items:center;padding:20px;z-index:100}
.modal.show{display:grid}
.modal-card{background:var(--white);border-radius:var(--radius-lg);padding:32px;width:min(480px,100%);display:grid;gap:14px;max-height:92vh;overflow:auto}
.modal-card h3{font-family:"Playfair Display",serif;font-size:28px}
.modal-card form{display:grid;gap:14px}
.modal-card label{display:grid;gap:6px;font-weight:600;font-size:14px}
.modal-card input,.modal-card textarea{font:inherit;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--cream)}
.modal-actions{display:flex;gap:12px;justify-content:flex-end}
.form-error{color:var(--coral-dark);min-height:1em}
.stock-note{color:var(--coral-dark);font-weight:600}
.add-cart:disabled{opacity:.5;cursor:not-allowed}
:focus-visible{outline:3px solid var(--coral);outline-offset:2px}
