:root {
    --sand: #efe4d6;
    --sage: #dfe7dd;
    --forest: #3f5a4c;
    --earth: #6b5b4b;
    --cream: #f6efe6;
    --white: #ffffff;
    --text: #24211d;
    --muted: #6e655c;
    --accent: #7da48b;
    --shadow: 0 18px 36px rgba(36, 33, 29, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Nunito', system-ui, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(246, 239, 230, 0.92);
    backdrop-filter: blur(12px);
    z-index: 10;
    border-bottom: 1px solid rgba(63, 90, 76, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 16px;
}

.brand a {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.brand span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
}

.site-nav a {
    padding: 6px 10px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.site-nav a:hover {
    background: var(--sage);
    color: var(--forest);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(63, 90, 76, 0.18);
    background: transparent;
    color: var(--forest);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle-icon {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.hero {
    padding: 80px 0 60px;
    background: linear-gradient(140deg, var(--sand), var(--cream));
}

.hero-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--earth);
    margin-bottom: 10px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.hero-text {
    margin: 18px 0 24px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.button {
    border: none;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button.primary {
    background: var(--forest);
    color: #fff;
    box-shadow: var(--shadow);
}

.button.ghost {
    border: 1px solid rgba(63, 90, 76, 0.2);
    color: var(--forest);
    background: transparent;
}

.button.small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

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

.trust-list {
    display: grid;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--muted);
}

.trust-list span {
    display: block;
    color: var(--forest);
    font-weight: 600;
}

.hero-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hero-tags span {
    padding: 6px 14px;
    background: var(--sage);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--forest);
}

.statement {
    padding: 60px 0;
}

.statement-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.statement-card {
    background: var(--sage);
    padding: 24px;
    border-radius: 20px;
    color: var(--forest);
}

.catalog {
    padding: 70px 0;
    background: transparent;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.muted {
    color: var(--muted);
}

.search-wrap input {
    width: 100%;
    border: 1px solid rgba(63, 90, 76, 0.2);
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 1rem;
    background: var(--white);
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filter-button {
    border: 1px solid rgba(63, 90, 76, 0.2);
    background: transparent;
    color: var(--forest);
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-button.active,
.filter-button:hover {
    background: var(--forest);
    color: #fff;
}

.catalog-meta {
    margin-bottom: 20px;
    color: var(--muted);
}

.catalog-alert {
    background: var(--sage);
    border-radius: 18px;
    padding: 16px 18px;
    color: var(--forest);
    margin-bottom: 20px;
}

.catalog-alert strong {
    display: block;
    margin-bottom: 6px;
}

.catalog-alert code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
}

.product-grid {
    display: grid;
    gap: 22px;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.product-card.is-hiding {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

[hidden] {
    display: none !important;
}

.product-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.image-placeholder {
    height: 100%;
    background: linear-gradient(140deg, var(--sage), var(--sand));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.image-placeholder.large {
    min-height: 360px;
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(63, 90, 76, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--earth);
}

.product-description {
    color: var(--muted);
    font-size: 0.95rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price {
    font-weight: 600;
    color: var(--forest);
}

.empty-state {
    display: none;
    padding: 30px;
    text-align: center;
    color: var(--muted);
}

.empty-state.visible {
    display: block;
}

.philosophy {
    padding: 70px 0;
    background: var(--sand);
}

.philosophy-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.soft-list {
    list-style: none;
    margin-top: 16px;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.soft-list li {
    padding-left: 18px;
    position: relative;
}

.soft-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.philosophy-card {
    background: var(--white);
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact {
    padding: 70px 0 90px;
}

.contact-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.contact-card {
    background: var(--sage);
    padding: 30px;
    border-radius: 24px;
}

.contact-info {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.contact-info span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.product-detail {
    padding: 80px 0;
}

.detail-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.detail-content {
    display: grid;
    gap: 16px;
}

.detail-description {
    color: var(--muted);
}

.detail-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-highlights span {
    padding: 6px 14px;
    background: var(--sage);
    border-radius: 999px;
    font-size: 0.85rem;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-empty {
    text-align: center;
    padding: 60px 20px;
}

.site-footer {
    background: #efe6db;
    padding: 50px 0 20px;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    gap: 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(63, 90, 76, 0.1);
    margin-top: 24px;
    padding-top: 16px;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 110px;
    }

    .site-header .container {
        position: relative;
        padding: 14px 0;
    }

    .brand a {
        font-size: 1.15rem;
    }

    html.js .nav-toggle {
        display: inline-flex;
    }

    html.js .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: rgba(246, 239, 230, 0.98);
        border: 1px solid rgba(63, 90, 76, 0.12);
        border-radius: 18px;
        padding: 10px;
        display: grid;
        gap: 6px;
        opacity: 0;
        transform: translateY(-8px);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
        box-shadow: var(--shadow);
    }

    html.js .site-header.nav-open .site-nav {
        opacity: 1;
        transform: translateY(0);
        max-height: 320px;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav a {
        padding: 10px 12px;
    }

    .hero {
        padding: 62px 0 46px;
    }

    .product-media {
        height: 200px;
    }

    .product-footer {
        gap: 12px;
        flex-wrap: wrap;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .hero-card,
    .philosophy-card,
    .contact-card {
        padding: 22px;
    }

    .product-body {
        padding: 18px;
    }
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statement-grid,
    .philosophy-grid,
    .contact-grid,
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .search-wrap {
        min-width: 280px;
    }

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

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
