/* ============================================
   MEADOWSSTYLE CORE STYLES
   An ongoing experiment in whimsical accessories
   ============================================ */

@import url('fonts.css');

/* ═══════════════════════════════════════════
   CSS VARIABLES & DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
    /* Color Palette */
    --coral: #e07a5f;
    --coral-light: #f4a58a;
    --coral-dark: #c55a3f;
    --forest: #3d5a47;
    --forest-light: #5a7a64;
    --forest-dark: #2a3f31;
    --cream: #f8f5f0;
    --cream-dark: #ebe5dc;
    --charcoal: #2d3436;
    --charcoal-light: #636e72;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 52, 54, 0.08);
    --shadow-md: 0 4px 20px rgba(45, 52, 54, 0.12);
    --shadow-lg: 0 8px 40px rgba(45, 52, 54, 0.16);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ═══════════════════════════════════════════
   BASE RESET & GLOBAL STYLES
   ═══════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--coral);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: var(--space-sm);
}

/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════ */
.container-a7x9 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-k2m3 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-p8v1 {
    padding: var(--space-2xl) 0;
}

.flex-n4q7 {
    display: flex;
}

.flex-n4q7.center-l9w2 {
    align-items: center;
    justify-content: center;
}

.grid-b5c8 {
    display: grid;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-m3p9 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-m3p9.primary-r6t2 {
    background-color: var(--coral);
    color: var(--white);
}

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

.btn-m3p9.secondary-f8n1 {
    background-color: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
}

.btn-m3p9.secondary-f8n1:hover {
    background-color: var(--forest);
    color: var(--white);
}

/* ═══════════════════════════════════════════
   FLOATING PILL HEADER (H12)
   ═══════════════════════════════════════════ */
.header-pill-j7h4 {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(248, 245, 240, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.header-pill-j7h4.scrolled-y3k9 {
    top: 10px;
    padding: 0.5rem 1.25rem;
    box-shadow: var(--shadow-lg);
}

.pill-content-w5m2 {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.logo-d4s6 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-d4s6 svg {
    width: 32px;
    height: 32px;
}

.nav-links-x9p3 {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-links-x9p3 a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    position: relative;
}

.nav-links-x9p3 a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width var(--transition-base);
}

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

.header-actions-c2v8 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.icon-btn-h6n3 {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.icon-btn-h6n3:hover {
    background: var(--cream-dark);
}

.icon-btn-h6n3 svg {
    width: 20px;
    height: 20px;
    stroke: var(--charcoal);
}

.cart-badge-r4t7 {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--coral);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle-b9w1 {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle-b9w1 span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition-base);
}

/* ═══════════════════════════════════════════
   MOBILE HEADER
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .header-pill-j7h4 {
        width: calc(100% - 24px);
        top: 10px;
        padding: 0.5rem 0.75rem;
        left: 12px;
        right: 12px;
    }
    
    .logo-d4s6 {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    
    .logo-d4s6 svg {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 0.9375rem;
        font-weight: 600;
    }
    
    .main-nav {
        display: none;
    }
    
    .icon-btn-h6n3 {
        width: 36px;
        height: 36px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .icon-btn-h6n3 svg {
        width: 18px;
        height: 18px;
    }
    
    .nav-links-x9p3 {
        display: none;
        position: fixed;
        top: 70px;
        left: 12px;
        right: 12px;
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: var(--space-md);
        flex-direction: column;
        gap: var(--space-sm);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links-x9p3.active-m7k2 {
        display: flex;
    }
    
    .menu-toggle-b9w1 {
        display: flex;
        width: 36px;
        height: 36px;
        padding: 8px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }
    
    .menu-toggle-b9w1 span {
        width: 20px;
        height: 2px;
    }
    
    .pill-content-w5m2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 8px;
    }
    
    .header-actions-c2v8 {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }
    
    .cart-badge-r4t7 {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -2px;
        right: -2px;
    }
    
    /* Fix container overflow */
    .container-a7x9 {
        padding: 0 var(--space-sm);
        max-width: 100%;
    }
    
    .container-k2m3 {
        padding: 0 var(--space-sm);
        max-width: 100%;
    }
    
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* ═══════════════════════════════════════════
   FOOTER - STORY CARDS (F11)
   ═══════════════════════════════════════════ */
.footer-s8n3 {
    background: var(--forest);
    color: var(--cream);
    padding-top: var(--space-2xl);
}

.story-cards-g7h2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.story-card-m4p9 {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: transform var(--transition-base);
}

.story-card-m4p9:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.story-icon-k3w7 {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: var(--coral);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-icon-k3w7 svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.story-card-m4p9 h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.story-card-m4p9 p {
    color: var(--cream-dark);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-bottom-n5c8 {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
}

.footer-grid-x2v6 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand-a1p4 h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.footer-brand-a1p4 p {
    color: var(--cream-dark);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-links-h8m2 h5 {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer-links-h8m2 ul {
    list-style: none;
}

.footer-links-h8m2 li {
    margin-bottom: var(--space-xs);
}

.footer-links-h8m2 a {
    color: var(--cream-dark);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links-h8m2 a:hover {
    color: var(--coral);
}

.footer-copyright-r9t3 {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cream-dark);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .story-cards-g7h2 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-x2v6 {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ═══════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════ */
.products-grid-f7n2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

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

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

.product-image-c6k4 {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-image-c6k4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

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

.product-info-m8p2 h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
}

.product-price-n5v7 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coral);
}

.product-price-n5v7 .original-x4h2 {
    font-size: 0.9375rem;
    color: var(--charcoal-light);
    text-decoration: line-through;
    margin-left: var(--space-xs);
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
