:root {
    --color-bg: #faf6f1;
    --color-surface: #ffffff;
    --color-text: #3a2e26;
    --color-text-muted: #6f6259;
    --color-primary: #a8632f;
    --color-primary-dark: #8a4f24;
    --color-accent: #c97b4a;
    --color-border: #e8ded2;
    --radius: 14px;
    --shadow: 0 6px 20px rgba(58, 46, 38, 0.08);
    --shadow-hover: 0 12px 28px rgba(58, 46, 38, 0.14);
    --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 0.5em; color: var(--color-primary-dark); }

h2 { font-size: 2rem; text-align: center; }

.section-lead {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
    color: var(--color-text-muted);
}

a { color: var(--color-primary); text-decoration: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-small { padding: 8px 18px; font-size: 0.9rem; }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-buy { padding: 10px 20px; font-size: 0.9rem; white-space: nowrap; }

/* Header */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary-dark);
}

.logo-icon {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a:not(.btn) {
    color: var(--color-text);
    font-weight: 500;
}

.main-nav a:not(.btn):hover { color: var(--color-primary); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f3e4d3, #faf6f1);
    padding: 80px 0;
    text-align: center;
}

.hero-inner { max-width: 700px; margin: 0 auto; }

.hero h1 { font-size: 2.6rem; margin-bottom: 20px; }

.hero p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* Products */
.products { padding: 80px 0; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-image-link { aspect-ratio: 4 / 3; overflow: hidden; background: #f0e8de; }

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-link img { transform: scale(1.05); }

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-description {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    flex-grow: 1;
    margin-bottom: 18px;
}

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

.product-price {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary-dark);
}

/* About */
.about { padding: 70px 0; background: var(--color-surface); }

.about-inner { max-width: 700px; margin: 0 auto; text-align: center; }

.about-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label { color: var(--color-text-muted); font-size: 0.9rem; }

/* Reviews */
.reviews { padding: 70px 0; }

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin: 0;
}

.review-card p { font-style: italic; margin: 0 0 12px; }

.review-card cite { color: var(--color-text-muted); font-style: normal; }

.reviews-note {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 32px;
}

/* Footer */
.site-footer {
    background: #2c2117;
    color: #e8ded2;
    padding: 56px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    padding-bottom: 40px;
}

.footer-col h3 { color: #fff; font-size: 1.05rem; }

.footer-col p { color: #cbbfae; font-size: 0.92rem; }

.footer-col .btn-primary { margin-top: 8px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #a89684;
}

/* Responsive */
@media (max-width: 780px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        border-bottom: 1px solid var(--color-border);
        display: none;
        gap: 16px;
    }

    .main-nav.open { display: flex; }

    .nav-toggle { display: flex; }

    .hero h1 { font-size: 2rem; }
}
