/* ============================================
   TERRA TREASURES - Design System
   ============================================ */

/* CSS Variables - Earthy Color Palette */
:root {
    /* Primary Colors */
    --color-sage: #7A8B6E;
    --color-sage-light: #A3B899;
    --color-sage-dark: #5C6B52;
    
    /* Earth Tones */
    --color-terracotta: #C17A5C;
    --color-terracotta-light: #D9A88C;
    --color-clay: #A67C5B;
    
    /* Neutrals */
    --color-cream: #F7F5F0;
    --color-warm-white: #FDFCFA;
    --color-linen: #EDE8E0;
    --color-stone: #D4CFC7;
    --color-taupe: #9A958D;
    --color-charcoal: #3D3D3D;
    --color-espresso: #2A2520;
    
    /* Accents */
    --color-gold: #C9A962;
    --color-olive: #6B7A3C;
    
    /* Semantic Colors */
    --color-text-primary: var(--color-espresso);
    --color-text-secondary: var(--color-taupe);
    --color-text-muted: #8A8580;
    --color-bg-primary: var(--color-warm-white);
    --color-bg-secondary: var(--color-cream);
    --color-bg-dark: var(--color-espresso);
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background-color: var(--color-sage);
    color: var(--color-warm-white);
    text-align: center;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-warm-white);
    border-bottom: 1px solid var(--color-linen);
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-sage);
    color: var(--color-warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-espresso);
    letter-spacing: -0.5px;
}

/* Navigation */
.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--color-sage);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-sage);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
}

.icon-btn:hover {
    background-color: var(--color-cream);
    color: var(--color-sage);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background-color: var(--color-terracotta);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-espresso);
    transition: all var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-warm-white);
    z-index: 200;
    padding: var(--space-6);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-size: var(--text-3xl);
    color: var(--color-text-secondary);
}

.mobile-nav {
    margin-top: var(--space-16);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-espresso);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(253, 252, 250, 0.98);
    z-index: 150;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: var(--space-20);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: 0 var(--space-6);
    position: relative;
}

.search-close {
    position: absolute;
    top: -60px;
    right: var(--space-6);
    font-size: var(--text-3xl);
    color: var(--color-text-secondary);
}

.search-input {
    width: 100%;
    padding: var(--space-4) 0;
    font-size: var(--text-2xl);
    font-family: var(--font-display);
    border: none;
    border-bottom: 2px solid var(--color-stone);
    background: transparent;
    outline: none;
    transition: border-color var(--transition-fast);
}

.search-input:focus {
    border-color: var(--color-sage);
}

.search-submit {
    margin-top: var(--space-6);
    padding: var(--space-3) var(--space-8);
    background-color: var(--color-sage);
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.search-submit:hover {
    background-color: var(--color-sage-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-sage);
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-espresso);
    border: 1px solid var(--color-stone);
}

.btn-secondary:hover {
    border-color: var(--color-sage);
    color: var(--color-sage);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-sage);
    border: 2px solid var(--color-sage);
}

.btn-outline:hover {
    background-color: var(--color-sage);
    color: white;
}

.btn-small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hero Placeholders with CSS Gradients */
.hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-1 {
    background: linear-gradient(135deg, #F5F0E8 0%, #E8E0D5 50%, #D4CFC7 100%);
}

.hero-1::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 20%;
}

.hero-1::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(122, 139, 110, 0.3);
    border-radius: 50%;
    bottom: 30%;
    left: 15%;
}

.hero-2 {
    background: linear-gradient(135deg, #EDE8E0 0%, #E5DDD3 50%, #D9D4CC 100%);
}

.hero-2::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 350px;
    background: linear-gradient(180deg, rgba(193, 122, 92, 0.2) 0%, transparent 100%);
    border-radius: var(--radius-lg);
    top: 15%;
    left: 25%;
}

.hero-3 {
    background: linear-gradient(135deg, #F7F5F0 0%, #EDE8E0 50%, #E5DDD3 100%);
}

.hero-3::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(122, 139, 110, 0.4), transparent);
    top: 40%;
    left: 10%;
}

.hero-3::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 300px;
    background: linear-gradient(180deg, transparent, rgba(193, 122, 92, 0.3), transparent);
    top: 20%;
    right: 30%;
}

.placeholder-content {
    text-align: center;
    color: var(--color-taupe);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    z-index: 1;
}

.placeholder-icon {
    display: block;
    font-size: var(--text-5xl);
    color: var(--color-sage);
    margin-bottom: var(--space-4);
    opacity: 0.6;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-12) var(--space-6);
    background: linear-gradient(to top, rgba(253, 252, 250, 0.98) 0%, rgba(253, 252, 250, 0.8) 60%, transparent 100%);
}

.hero-eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-bottom: var(--space-3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-espresso);
    margin-bottom: var(--space-4);
    max-width: 500px;
}

.hero-subtitle {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    max-width: 450px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

/* Hero Navigation */
.hero-dots {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: var(--color-stone);
    transition: all var(--transition-fast);
}

.hero-dot.active {
    background-color: var(--color-sage);
    width: 30px;
    border-radius: var(--radius-sm);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(253, 252, 250, 0.9);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-espresso);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    z-index: 10;
    opacity: 0;
}

.hero:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background-color: var(--color-sage);
    color: white;
}

.hero-prev {
    left: var(--space-4);
}

.hero-next {
    right: var(--space-4);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    background-color: var(--color-cream);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--color-linen);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.badge-icon {
    color: var(--color-sage);
    flex-shrink: 0;
}

.badge-text {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-bottom: var(--space-3);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--color-espresso);
}

.section-footer {
    text-align: center;
    margin-top: var(--space-10);
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
    padding: var(--space-20) 0;
}

.categories-grid {
    display: grid;
    gap: var(--space-4);
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-cream);
    transition: transform var(--transition-base);
}

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

.category-card:hover .category-link {
    opacity: 1;
    transform: translateX(0);
}

.category-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-taupe);
}

.cat-jewelry {
    background: linear-gradient(135deg, #F5F0E8 0%, #E8E0D5 100%);
}

.cat-jewelry::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(201, 169, 98, 0.3);
    border-radius: 50%;
    top: 20%;
    right: 20%;
}

.cat-decor {
    background: linear-gradient(135deg, #EDE8E0 0%, #E5DDD3 100%);
}

.cat-decor::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 150px;
    background: rgba(193, 122, 92, 0.15);
    border-radius: var(--radius-md);
    bottom: 20%;
    left: 20%;
}

.cat-new {
    background: linear-gradient(135deg, #F7F5F0 0%, #EDE8E0 100%);
}

.cat-new::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 2px;
    background: rgba(122, 139, 110, 0.4);
    top: 40%;
    left: 15%;
}

.category-content {
    padding: var(--space-6);
}

.category-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-espresso);
    margin-bottom: var(--space-1);
}

.category-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
}

.category-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-sage);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-section {
    padding: var(--space-20) 0;
    background-color: var(--color-cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.product-card {
    background-color: var(--color-warm-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-linen);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: var(--color-taupe);
    text-align: center;
    padding: var(--space-4);
}

.prod-1 {
    background: linear-gradient(135deg, #F5F0E8 0%, #E8E0D5 100%);
}

.prod-1::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border: 2px solid rgba(201, 169, 98, 0.3);
    border-radius: 50%;
    top: 20%;
    left: 20%;
}

.prod-2 {
    background: linear-gradient(135deg, #E8DDD3 0%, #D9CFC3 100%);
}

.prod-2::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 70%;
    background: rgba(193, 122, 92, 0.15);
    border-radius: var(--radius-md);
    bottom: 15%;
    left: 25%;
}

.prod-3 {
    background: linear-gradient(135deg, #F0EDE8 0%, #E5E0D8 100%);
}

.prod-3::before {
    content: '';
    position: absolute;
    width: 40%;
    height: 60%;
    border: 2px solid rgba(122, 139, 110, 0.2);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    top: 20%;
    left: 30%;
}

.prod-4 {
    background: linear-gradient(135deg, #EDE8E0 0%, #E0D8CC 100%);
}

.prod-4::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 2px;
    background: rgba(201, 169, 98, 0.3);
    top: 50%;
    left: 15%;
}

.prod-5 {
    background: linear-gradient(135deg, #F7F5F0 0%, #EDE8E0 100%);
}

.prod-5::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 50%;
    background: rgba(154, 149, 141, 0.1);
    border-radius: var(--radius-sm);
    top: 25%;
    left: 20%;
}

.prod-6 {
    background: linear-gradient(135deg, #E5DDD3 0%, #D9D4CC 100%);
}

.prod-6::before {
    content: '';
    position: absolute;
    width: 30%;
    height: 60%;
    background: rgba(201, 169, 98, 0.2);
    border-radius: var(--radius-sm);
    bottom: 20%;
    left: 35%;
}

.wishlist-toggle {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 36px;
    height: 36px;
    background-color: rgba(253, 252, 250, 0.9);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.wishlist-toggle:hover {
    background-color: var(--color-warm-white);
    color: var(--color-terracotta);
}

.wishlist-toggle.active {
    color: var(--color-terracotta);
    fill: currentColor;
}

.product-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background-color: var(--color-sage);
    color: white;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.product-info {
    padding: var(--space-4);
}

.product-name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-espresso);
    margin-bottom: var(--space-1);
    line-height: 1.4;
}

.product-artisan {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.price {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-espresso);
}

.price-original {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.add-to-cart {
    width: 100%;
}

/* ============================================
   STORY SECTION
   ============================================ */
.story-section {
    padding: var(--space-20) 0;
}

.story-grid {
    display: grid;
    gap: var(--space-10);
}

.story-content .section-title {
    margin-bottom: var(--space-6);
}

.story-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

.story-values {
    margin: var(--space-8) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.value-item {
    display: flex;
    gap: var(--space-4);
}

.value-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 300;
    color: var(--color-sage);
    opacity: 0.6;
}

.value-content h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-espresso);
    margin-bottom: var(--space-1);
}

.value-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.story-image {
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.story-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8DDD3 0%, #D9CFC3 50%, #C9B8A8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-taupe);
    position: relative;
}

.story-placeholder::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(253, 252, 250, 0.3);
    border-radius: 50%;
    top: 20%;
    right: 10%;
}

.story-placeholder::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(122, 139, 110, 0.1);
    border-radius: var(--radius-lg);
    bottom: 15%;
    left: 15%;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    padding: var(--space-20) 0;
    background-color: var(--color-sage);
    color: var(--color-warm-white);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter .section-eyebrow {
    color: var(--color-sage-light);
}

.newsletter .section-title {
    color: var(--color-warm-white);
    margin-bottom: var(--space-4);
}

.newsletter-text {
    color: rgba(253, 252, 250, 0.9);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.newsletter-form {
    max-width: 450px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: var(--space-2);
}

.newsletter-input {
    flex: 1;
    padding: var(--space-4);
    font-size: var(--text-base);
    border: 1px solid rgba(253, 252, 250, 0.3);
    border-radius: var(--radius-sm);
    background-color: rgba(253, 252, 250, 0.1);
    color: var(--color-warm-white);
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-input::placeholder {
    color: rgba(253, 252, 250, 0.6);
}

.newsletter-input:focus {
    border-color: var(--color-warm-white);
    background-color: rgba(253, 252, 250, 0.15);
}

.newsletter .btn-primary {
    background-color: var(--color-warm-white);
    color: var(--color-sage);
}

.newsletter .btn-primary:hover {
    background-color: var(--color-cream);
}

.form-note {
    font-size: var(--text-xs);
    color: rgba(253, 252, 250, 0.7);
    margin-top: var(--space-3);
}

/* ============================================
   INSTAGRAM
   ============================================ */
.instagram {
    padding: var(--space-20) 0;
    background-color: var(--color-cream);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.instagram-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.instagram-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    color: var(--color-taupe);
    text-align: center;
    padding: var(--space-2);
    transition: transform var(--transition-base);
}

.instagram-item:hover .instagram-placeholder {
    transform: scale(1.05);
}

.ig-1 { background: linear-gradient(135deg, #F5F0E8 0%, #E8E0D5 100%); }
.ig-2 { background: linear-gradient(135deg, #EDE8E0 0%, #E5DDD3 100%); }
.ig-3 { background: linear-gradient(135deg, #E8DDD3 0%, #D9CFC3 100%); }
.ig-4 { background: linear-gradient(135deg, #F7F5F0 0%, #EDE8E0 100%); }
.ig-5 { background: linear-gradient(135deg, #E5DDD3 0%, #D9D4CC 100%); }
.ig-6 { background: linear-gradient(135deg, #F0EDE8 0%, #E5E0D8 100%); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-espresso);
    color: var(--color-linen);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-brand .logo-icon {
    background-color: var(--color-sage);
}

.footer-brand .logo-text {
    color: var(--color-warm-white);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--color-taupe);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-taupe);
    border: 1px solid var(--color-charcoal);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    color: var(--color-warm-white);
    border-color: var(--color-sage);
    background-color: var(--color-sage);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-warm-white);
    margin-bottom: var(--space-4);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-taupe);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-charcoal);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-taupe);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: var(--color-taupe);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-warm-white);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-warm-white);
    z-index: 300;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-linen);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
}

.cart-close {
    font-size: var(--text-2xl);
    color: var(--color-text-secondary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-6);
}

.cart-empty {
    text-align: center;
    padding: var(--space-12) 0;
}

.cart-empty p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.cart-footer {
    padding: var(--space-6);
    border-top: 1px solid var(--color-linen);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.cart-note {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 250;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--color-espresso);
    color: var(--color-warm-white);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    z-index: 400;
    opacity: 0;
    transition: all var(--transition-base);
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-8);
    }
    
    .header-container {
        height: 80px;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .main-nav {
        display: block;
    }
    
    .hero-content {
        padding: var(--space-16);
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .badges-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: repeat(2, 1fr);
    }
    
    .category-large {
        grid-row: span 2;
    }
    
    .category-large .category-image {
        aspect-ratio: auto;
        height: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .story-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-content {
        left: var(--space-12);
        bottom: var(--space-12);
        width: auto;
        background: transparent;
        padding: 0;
    }
    
    .hero-title {
        font-size: var(--text-6xl);
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .instagram-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .hero-content {
        left: calc((100vw - 1400px) / 2 + var(--space-12));
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 80px;
}