/* ============================================
   Birch n Lavender Apothecary — Redesign
   Color Palette:
   - Charcoal:  #3D3D3F (primary text)
   - Forest:    #004D3A (primary accent)
   - Plum:      #611E7D (secondary accent)
   - Black:     #1A1A1A (footer)
   ============================================ */

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #F0F0F0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 260px;
    height: auto;
    opacity: 0;
    transform: scale(0.92);
    animation: loaderReveal 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(61, 61, 63, 0);
    animation: loaderTextIn 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards 0.5s;
}

.loader-bar {
    width: 120px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    overflow: hidden;
    opacity: 0;
    animation: loaderFadeIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards 0.3s;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: var(--charcoal-light);
    border-radius: 1px;
    animation: loaderProgress 2s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.4s;
}

@keyframes loaderReveal {
    0% { opacity: 0; transform: scale(0.92); }
    100% { opacity: 0.9; transform: scale(1); }
}

@keyframes loaderTextIn {
    0% { color: rgba(61, 61, 63, 0); transform: translateY(6px); }
    100% { color: rgba(61, 61, 63, 0.7); transform: translateY(0); }
}

@keyframes loaderFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes loaderProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal: #3D3D3F;
    --charcoal-light: #565658;
    --silver: #C5C5C5;
    --forest: #004D3A;
    --forest-hover: #003D2E;
    --forest-muted: #EAEAEA;
    --plum: #611E7D;
    --plum-muted: #F0F0F0;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --cream: #F5F5F5;
    --warm-gray: #EBEBEB;
    --light-sage: #F0F0F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --radius: 6px;
    --radius-lg: 10px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.75;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--black);
}

h2 { line-height: 1.25; letter-spacing: 0.01em; }
h3 { line-height: 1.3; }

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 15px 36px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 77, 58, 0.2);
}

.btn-primary:hover {
    background: var(--forest-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 77, 58, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--forest);
    font-weight: 500;
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 77, 58, 0.15);
}

.btn-cart {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--forest);
    padding: 10px 20px;
    font-size: 0.78rem;
    font-weight: 500;
}

.btn-cart:hover {
    background: var(--forest);
    color: var(--white);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--charcoal);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(61, 61, 63, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-container.nav-centered {
    justify-content: center;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    filter: invert(1) brightness(2);
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--white);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--white);
}

/* --- Nav Dropdown (mobile only) --- */
.dropdown-menu.mobile-only {
    display: none;
}

.dropdown-menu a::after {
    display: none;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #F0F0F0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="0.6" fill="%23C5C5C5" opacity="0.25"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 24px 80px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    width: 420px;
    max-width: 70vw;
    height: auto;
    margin: 0 auto 24px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--charcoal);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    font-style: italic;
    color: var(--charcoal-light);
    margin-top: 8px;
    letter-spacing: 0.03em;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
}

.divider-line {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--silver);
}

.divider-leaf {
    color: var(--forest);
    font-size: 0.5rem;
}

/* --- Section Divider (decorative) --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 200px;
    margin: 0 auto;
    padding: 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--silver);
}

.section-divider span {
    color: var(--forest);
    font-size: 0.5rem;
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header.mb-lg {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 12px;
}

.section-label.plum {
    color: var(--plum);
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--charcoal);
}

.section-description {
    font-size: 1rem;
    color: var(--charcoal-light);
    max-width: 520px;
    margin: 0 auto;
}

/* --- About Section --- */
.about {
    padding: 96px 0;
    background: #F0F0F0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.about-text .btn {
    margin-top: 8px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-card {
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--plum);
    transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    width: 36px;
    height: 36px;
    color: var(--plum);
    margin-bottom: 12px;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--black);
}

.value-card p {
    font-size: 0.92rem;
    color: var(--charcoal);
    line-height: 1.6;
}

/* --- Shop Section --- */
.shop {
    padding: 96px 0;
    background: var(--white);
}

/* Featured categories — top 3 large cards */
.featured-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Compact category grid — remaining 8 */
.category-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Shared card styles */
.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(97, 30, 125, 0.2);
    transition: transform var(--transition), box-shadow var(--transition);
    display: block;
    text-decoration: none;
    color: inherit;
}

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

.category-card:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 2px;
}

.category-card:hover .category-link::after {
    transform: translateX(4px);
}

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

/* Featured card image */
.featured-categories .category-image {
    aspect-ratio: 4 / 3;
    background: var(--light-sage);
    position: relative;
    overflow: hidden;
}

.featured-categories .category-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.03), transparent);
    pointer-events: none;
}

/* Compact card image */
.category-grid-compact .category-image {
    aspect-ratio: 1 / 1;
    background: var(--light-sage);
    position: relative;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-placeholder {
    color: var(--forest);
    opacity: 0.3;
}

.category-placeholder svg {
    width: 56px;
    height: 56px;
}

/* Featured card info */
.featured-categories .category-info {
    padding: 20px 24px 24px;
}

.featured-categories .category-info h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.featured-categories .category-info p {
    font-size: 0.88rem;
    color: var(--charcoal-light);
    margin-bottom: 12px;
}

/* Compact card info */
.category-grid-compact .category-info {
    padding: 14px 16px 18px;
}

.category-grid-compact .category-info h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.category-grid-compact .category-info p {
    display: none;
}

.category-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}

.category-link::after {
    content: '\2192';
    transition: transform var(--transition);
}

/* Legacy grid (keep for backwards compat) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.category-info {
    padding: 20px 24px 24px;
}

.category-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.category-info p {
    font-size: 0.88rem;
    color: var(--charcoal-light);
    margin-bottom: 12px;
}

/* --- Product Page Styles --- */
.page-header {
    padding: 120px 0 50px;
    background: var(--charcoal);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--white);
}

.page-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.product-page {
    padding: 60px 0 100px;
    background: var(--white);
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-card-header {
    padding: 28px 28px 0;
}

.product-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.product-card-header .product-meta,
.product-meta {
    font-size: 0.82rem;
    color: var(--charcoal-light);
    opacity: 0.7;
    margin-bottom: 12px;
    padding: 0 28px;
}

.product-card-header .product-meta {
    padding: 0;
}

.product-card-header .product-description,
.product-description {
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-price-tag {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
    display: block;
    padding: 0 28px;
}

.product-price-tag .price-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--charcoal-light);
}

.scent-section {
    padding: 0 28px 28px;
}

.scent-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 12px;
}

.scent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scent-tag {
    font-size: 0.78rem;
    padding: 6px 14px;
    background: var(--cream);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    color: var(--charcoal);
    cursor: pointer;
    transition: all var(--transition);
}

.scent-tag:hover,
.scent-tag.selected {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.product-card-footer {
    padding: 16px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--cream);
}

/* Size options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 28px 16px;
}

.size-option {
    padding: 8px 16px;
    border: 1.5px solid var(--silver);
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--white);
    color: var(--charcoal);
    text-align: center;
}

.size-option:hover,
.size-option.selected {
    border-color: var(--forest);
    color: var(--forest);
}

.size-option .size-price {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 2px;
}

/* Subsection headers on product pages */
.product-subsection {
    margin-top: 60px;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--silver);
}

.product-subsection h2 {
    font-size: 1.8rem;
    font-weight: 400;
}

.product-subsection p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    margin-top: 4px;
}

/* Back to shop link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 40px;
    transition: gap var(--transition);
}

.back-link:hover {
    gap: 12px;
}

/* Wander pack special card */
.pack-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-width: 600px;
}

.pack-card .product-card-header {
    padding: 28px;
}

.pack-items {
    padding: 0 28px 20px;
}

.pack-items ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pack-items li {
    font-size: 0.88rem;
    color: var(--charcoal);
    padding-left: 20px;
    position: relative;
}

.pack-items li::before {
    content: '\2022';
    color: var(--forest);
    position: absolute;
    left: 0;
}

/* --- Process Section --- */
.process {
    padding: 96px 0;
    background: var(--white);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--forest);
    opacity: 0.4;
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.65;
}

.process-connector {
    width: 40px;
    height: 1px;
    background: var(--silver);
    margin-top: 32px;
    flex-shrink: 0;
}

/* --- Testimonials --- */
.testimonials {
    padding: 96px 0;
    background: #F0F0F0;
}

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

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 3px solid var(--plum);
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--plum);
    opacity: 0.12;
    position: absolute;
    top: 16px;
    left: 24px;
    line-height: 1;
}

.testimonial-stars {
    color: var(--plum);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--black);
}

/* --- Testimonial Carousel (mobile) --- */
.testimonial-carousel {
    display: none;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    -webkit-overflow-scrolling: touch;
    gap: 24px;
    padding: 0 24px;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track .testimonial-card {
    flex: 0 0 calc(100% - 48px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    margin: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--silver);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background: var(--plum);
    transform: scale(1.25);
}

/* --- Contact Section (with inline newsletter) --- */
.contact {
    padding: 96px 0;
    background: var(--white);
}

.contact-newsletter {
    background: var(--forest-muted);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 60px;
}

.contact-newsletter .newsletter-text h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.contact-newsletter .newsletter-text p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
}

.contact-newsletter .newsletter-form {
    display: flex;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-newsletter .newsletter-form input {
    padding: 14px 18px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
    width: 240px;
}

.contact-newsletter .newsletter-form input::placeholder {
    color: var(--silver);
}

.contact-newsletter .newsletter-form .btn {
    border-radius: 0;
    padding: 14px 24px;
    white-space: nowrap;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.92rem;
    color: var(--charcoal);
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--forest);
}

.contact-socials {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--charcoal);
    transition: all var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--forest);
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #DDD;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(0, 77, 58, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B0B0B0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
}

/* --- Footer --- */
.footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 16px;
    filter: invert(1) brightness(2);
    opacity: 0.8;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-mini {
    margin-top: 20px;
}

.footer-contact-mini p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 20px);
        max-width: none;
    }

    .contact-newsletter {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .contact-newsletter .newsletter-form {
        justify-content: center;
    }

    .contact-newsletter .newsletter-form input {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--charcoal);
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        padding: 0 24px;
        gap: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

    .nav-links.active {
        max-height: 600px;
        padding: 24px;
    }

    .nav-links a {
        padding: 12px 0;
    }

    .nav-dropdown {
        position: static;
    }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu.mobile-only {
        display: block;
        position: static;
        transform: none;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        text-align: center;
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 500px;
        padding: 4px 0 8px;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.6);
        padding: 8px 0;
        font-size: 0.78rem;
    }

    .dropdown-menu a:hover {
        background: transparent;
        color: var(--white);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 0;
    }

    .hero-content {
        padding: 120px 24px 60px;
    }

    .hero-logo {
        width: 320px;
        max-width: 75vw;
    }

    .featured-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-newsletter {
        padding: 24px;
    }

    .contact-newsletter .newsletter-form {
        flex-direction: column;
    }

    .contact-newsletter .newsletter-form input {
        width: 100%;
    }

    .contact-newsletter .newsletter-form .btn {
        border-radius: var(--radius);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-step {
        flex: 0 0 100%;
        text-align: left;
        display: flex;
        gap: 20px;
        align-items: flex-start;
        padding: 16px 0;
    }

    .step-number {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .about,
    .shop,
    .process,
    .testimonials,
    .contact {
        padding: 72px 0;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .product-page {
        padding: 40px 0 70px;
    }

    .scent-tag {
        padding: 10px 16px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .testimonial-desktop {
        display: none;
    }

    .testimonial-carousel {
        display: block;
    }

    .about,
    .shop,
    .process,
    .testimonials,
    .contact {
        padding: 56px 0;
    }
}
