/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f7f3ee;
    --bg-alt: #fbf9f6;
    --surface: #ffffff;
    --text: #1f1f1f;
    --muted: #6b6b6b;
    --accent: #8b6a2f;
    --accent-dark: #6f5323;
    --border: #e5ded6;
    --shadow-soft: 0 10px 30px rgba(32, 24, 16, 0.08);
    --shadow-light: 0 6px 18px rgba(32, 24, 16, 0.06);
    --radius: 6px;
    --transition: 0.25s ease;
    --font-heading: "Playfair Display", serif;
    --font-body: "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 34px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
}

.btn-outline:hover {
    color: #fff;
    background: var(--accent);
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* Hero */
.hero {
    position: relative;
    min-height: 78vh;
    margin-top: 78px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 244, 238, 0.95), rgba(245, 239, 231, 0.9));
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.9);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    color: #2a241b;
}

.hero-badge {
    font-size: 2.4rem;
    margin-bottom: 18px;
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 500;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: #3d3426;
    margin: 12px 0 28px;
}

/* Product cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    overflow: hidden;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.product-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 18, 12, 0.35);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-shop {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    cursor: pointer;
}

.product-info {
    padding: 18px;
    text-align: center;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.product-price {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--accent);
    color: #fff;
}

/* Reviews */
.reviews-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.review-card {
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
}

.review-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.review-body {
    padding: 16px;
    text-align: center;
}

.review-stars {
    color: #d1aa4a;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.review-name {
    font-weight: 600;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Newsletter */
.newsletter {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 520px;
    margin: 24px auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.newsletter-form button {
    border-radius: var(--radius);
}

/* Page headers */
.page-hero {
    padding: 120px 0 60px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    letter-spacing: 3px;
}

.page-hero p {
    color: var(--muted);
    max-width: 640px;
    margin: 12px auto 0;
}

/* Forms */
.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid label {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-size: 0.95rem;
}

.form-grid textarea {
    min-height: 140px;
    resize: vertical;
}

.form-card {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
}

.notice {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Utilities */
.center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.spacer {
    height: 40px;
}
