
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
    --cream: #f7f5ef;
    --paper: #fffefa;
    --green: #244d3c;
    --green-dark: #17382b;
    --terracotta: #c87555;
    --ink: #282c27;
    --muted: #777970;
    --line: #e8e5dc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    height: 84px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.7px;
}

.logo-mark {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: white;
    border-radius: 50%;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.logo-accent {
    color: var(--terracotta);
}

.navigation {
    display: flex;
    gap: 34px;
    color: #555950;
    font-size: 13px;
    font-weight: 600;
}

.navigation a:hover {
    color: var(--terracotta);
}

.header-button,
.primary-button {
    background: var(--green);
    color: white;
    padding: 13px 22px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s;
}

.header-button:hover,
.primary-button:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* Shopping Cart Header */
.header-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 5px;
    transition: 0.2s;
}

.header-cart:hover {
    border-color: var(--green);
    background: #f6f4ee;
}

.cart-count {
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.hero {
    min-height: 530px;
    padding: 80px 10%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
    overflow: hidden;
}

.hero-content {
    max-width: 590px;
}

.eyebrow {
    display: block;
    color: var(--terracotta);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 19px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(46px, 5.5vw, 72px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -1.5px;
}

.hero h1 em {
    color: var(--terracotta);
    font-weight: 500;
}

.hero-content > p {
    color: var(--muted);
    max-width: 420px;
    font-size: 15px;
    margin: 24px 0 29px;
    line-height: 1.9;
}

.hero-note {
    color: var(--muted);
    font-size: 11px;
    margin-top: 26px;
}

.hero-art {
    height: 355px;
    position: relative;
    display: grid;
    place-items: center;
}

.hero-circle {
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: #e6d8c2;
    position: absolute;
}

.hero-circle::before {
    content: "✳";
    position: absolute;
    font-size: 175px;
    color: var(--green);
    opacity: 0.85;
    inset: 48px;
    display: grid;
    place-items: center;
}

.hero-label,
.hero-caption {
    position: absolute;
    background: var(--paper);
    padding: 12px 18px;
    font-size: 11px;
    box-shadow: 0 8px 30px #00000012;
}

.hero-label {
    top: 25px;
    right: 5%;
    color: var(--green);
}

.hero-caption {
    bottom: 22px;
    left: 5%;
    color: var(--terracotta);
}

.hero-decoration {
    position: absolute;
    top: 40px;
    left: 8%;
    color: var(--terracotta);
    font-size: 40px;
}

.intro {
    background: var(--paper);
    text-align: center;
    padding: 76px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.closing-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 500;
    line-height: 1.2;
}

.intro p {
    color: var(--muted);
    max-width: 620px;
    margin: 19px auto 0;
    font-size: 14px;
    line-height: 1.9;
}

.categories-section,
.products-section {
    padding: 80px 8%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 36px;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.section-note {
    color: var(--muted);
    font-size: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.category-card {
    min-height: 160px;
    padding: 28px;
    background: #e8e2d5;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.2s;
}

.category-card:nth-child(3n+2) {
    background: #e4e9df;
}

.category-card:nth-child(3n) {
    background: #efe1d7;
}

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

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 500;
}

.category-card span {
    color: var(--muted);
    font-size: 12px;
}

.products-section {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.product-card {
    background: var(--cream);
    border-radius: 5px;
    overflow: hidden;
    transition: 0.25s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #0000000d;
}

.product-image {
    height: 260px;
    background: #ebe7dd;
    display: grid;
    place-items: center;
    overflow: hidden;
}

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

.no-image {
    color: #aaa18f;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.product-info {
    padding: 21px;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 500;
}

.product-description {
    font-size: 12px;
    color: var(--muted);
    margin: 8px 0 15px;
    min-height: 38px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-price {
    color: var(--green);
    font-size: 17px;
    font-weight: 700;
}

.stock-label {
    font-size: 10px;
    color: var(--green);
    background: #e0e9df;
    border-radius: 20px;
    padding: 5px 9px;
}

.stock-label.sold-out {
    color: #a43e32;
    background: #f2dfda;
}

.closing-banner {
    padding: 75px 20px;
    text-align: center;
    background: var(--green);
    color: white;
}

.closing-banner .eyebrow {
    color: #e6b79e;
}

.closing-banner p {
    color: #d3ded6;
    margin: 17px 0 28px;
    font-size: 13px;
}

.light-button {
    display: inline-block;
    padding: 13px 22px;
    background: var(--paper);
    color: var(--green);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.footer {
    padding: 30px 8%;
    background: var(--paper);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer p,
.footer > span {
    color: var(--muted);
    font-size: 11px;
}

.loading {
    color: var(--muted);
    padding: 30px;
    font-size: 13px;
}

@media (max-width: 800px) {
    .header {
        padding: 16px 5%;
        height: auto;
        flex-wrap: wrap;
        gap: 15px;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 65px 7%;
    }

    .hero-art {
        height: 290px;
    }

    .hero-circle {
        width: 250px;
        height: 250px;
    }

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

    .categories-section,
    .products-section {
        padding: 60px 6%;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .header-button {
        padding: 10px 13px;
        font-size: 11px;
    }

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

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 240px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }
}
