@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Artisanal Studio palette */
    --primary: #79443B;
    --primary-dark: #4B3621;
    --primary-light: #BCB88A;
    --accent: #8A9A5B;
    --accent-light: #FAF0E6;
    --cream: #FAF0E6;
    --warm-white: #FFFAF5;
    --text-dark: #2C1810;
    --text-medium: #5A4032;
    --text-light: #8B7355;
    --border: rgba(121, 68, 59, 0.12);
    --success: #6B9B6B;
    --danger: #C4554D;
    --card-shadow: 0 4px 20px rgba(75, 54, 33, 0.06);
    --hover-shadow: 0 12px 32px rgba(75, 54, 33, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    background: var(--warm-white);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; font-family: 'Work Sans', sans-serif; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.announcement-bar a { color: #fff; text-decoration: underline; }

/* ===== HEADER ===== */
header {
    background: rgba(255, 250, 245, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.logo-area img {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}
.logo-tagline {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
}

nav { display: flex; align-items: center; gap: 36px; }
nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s;
}
nav a:hover, nav a.active { color: var(--primary); }
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
nav a:hover::after, nav a.active::after { width: 100%; }

.nav-icons { display: flex; align-items: center; gap: 20px; }
.nav-icon {
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-medium);
    transition: color 0.3s;
    padding: 8px;
}
.nav-icon:hover { color: var(--primary); }
.nav-icon svg { width: 22px; height: 22px; }
.cart-count {
    position: absolute;
    top: 0;
    right: -2px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn svg { width: 28px; height: 28px; color: var(--text-dark); }

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(121, 68, 59, 0.25);
}
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 38px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.btn-white {
    background: white;
    color: var(--primary-dark);
    border: none;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-small {
    padding: 10px 24px;
    font-size: 13px;
}
.btn-danger {
    background: var(--danger);
    color: white;
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-danger:hover { background: #d04a38; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, #F5E6D3 50%, var(--accent-light) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212,149,106,0.15) 0%, transparent 60%);
}
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.hero-content h1 span { color: var(--primary); font-style: italic; }
.hero-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
}
.hero-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196,168,130,0.3), rgba(212,149,106,0.2));
    animation: float 6s ease-in-out infinite;
}
.hero-yarn-balls {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yarn-ball {
    position: absolute;
    border-radius: 50%;
    box-shadow: inset -8px -8px 20px rgba(0,0,0,0.1), 0 4px 15px rgba(0,0,0,0.1);
}
.yarn-ball-1 { width: 220px; height: 220px; background: linear-gradient(135deg, #E8A87C, #D4956A); top: 15%; left: 15%; }
.yarn-ball-2 { width: 160px; height: 160px; background: linear-gradient(135deg, #C4A882, #A08060); top: 10%; right: 10%; }
.yarn-ball-3 { width: 130px; height: 130px; background: linear-gradient(135deg, #B8D4E3, #8BB8CC); bottom: 15%; left: 5%; }
.yarn-ball-4 { width: 100px; height: 100px; background: linear-gradient(135deg, #E8C5A0, #D4A574); bottom: 10%; right: 20%; }
.yarn-ball-5 { width: 80px; height: 80px; background: linear-gradient(135deg, #D4B896, #C4A070); top: 50%; right: 5%; }
.yarn-ball-6 { width: 60px; height: 60px; background: linear-gradient(135deg, #F0D5B8, #E8C5A0); top: 35%; left: 5%; }

.yarn-thread {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), transparent);
    transform-origin: left center;
    opacity: 0.4;
}
.yarn-thread-1 { width: 120px; top: 30%; left: 35%; transform: rotate(25deg); }
.yarn-thread-2 { width: 80px; bottom: 25%; right: 30%; transform: rotate(-40deg); }
.yarn-thread-3 { width: 100px; top: 55%; left: 40%; transform: rotate(60deg); }

.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stats .stat h3 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--primary); }
.hero-stats .stat p { font-size: 13px; color: var(--text-light); margin-bottom: 0; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== CATEGORIES ===== */
.categories { padding: 100px 40px; max-width: 1400px; margin: 0 auto; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    transition: all 0.4s;
    border: none;
}

.category-card img {
    border: none;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--hover-shadow); }
.category-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-card:nth-child(1) .category-bg { background: linear-gradient(135deg, #F5E6D3, #E8D5C0); }
.category-card:nth-child(2) .category-bg { background: linear-gradient(135deg, #D5E8D4, #B8D4B0); }
.category-card:nth-child(3) .category-bg { background: linear-gradient(135deg, #D4E3F0, #B8CCE0); }
.category-card:nth-child(4) .category-bg { background: linear-gradient(135deg, #F0D5B8, #E8C5A0); }
.category-icon { font-size: 60px; opacity: 0.6; }
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(44,24,16,0.7));
    color: white;
}
.category-overlay h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 4px; }
.category-overlay p { font-size: 13px; opacity: 0.85; }

/* ===== PRODUCT CARDS ===== */
.products { padding: 100px 40px; background: var(--cream); }
.products-container { max-width: 1400px; margin: 0 auto; }

.product-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid transparent;
    overflow-x: hidden !important;
    max-width: 100% !important;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: var(--border);
}
.product-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    max-width: 100%;
    width: 100%;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-image-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}
.badge-new { background: var(--success); color: white; }
.badge-sale { background: var(--danger); color: white; }
.badge-best { background: var(--accent); color: white; }

.product-wishlist {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}
.product-wishlist:hover { background: #fff0f0; }
.product-wishlist svg { width: 18px; height: 18px; color: var(--text-light); }

.product-quick-add {
    position: absolute;
    bottom: -50px;
    left: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}
.product-card:hover .product-quick-add { bottom: 16px; }

.product-info { padding: 20px 24px 24px; }
.product-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 6px;
}
.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}
.product-name a {
    color: inherit;
    text-decoration: none;
}
.product-weight { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.product-colors { display: flex; gap: 6px; margin-bottom: 14px; }
.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px var(--border);
    cursor: pointer;
    transition: transform 0.2s;
}
.color-dot:hover { transform: scale(1.2); }
.color-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #f1f5f9;
    border: 1px solid var(--border);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-light);
    cursor: default;
    user-select: none;
}
.product-price { display: flex; align-items: center; gap: 10px; }
.price-current { font-size: 20px; font-weight: 700; color: var(--primary); }
.price-original { font-size: 14px; color: var(--text-light); text-decoration: line-through; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.stars { color: #F0A500; font-size: 13px; }
.rating-count { font-size: 12px; color: var(--text-light); }

/* ===== FEATURES ===== */
.features { padding: 80px 40px; max-width: 1400px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-light), var(--cream));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ===== PROMO BANNER ===== */
.promo-banner {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.promo-content { max-width: 600px; position: relative; z-index: 1; }
.promo-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}
.promo-content p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 32px; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 40px; max-width: 1400px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
    background: white;
    padding: 36px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: var(--card-shadow); }
.testimonial-stars { color: #F0A500; font-size: 16px; margin-bottom: 16px; }
.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
}
.author-info h4 { font-size: 15px; font-weight: 600; }
.author-info p { font-size: 13px; color: var(--text-light); }

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--cream), var(--accent-light));
}
.newsletter-container { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-family: 'Playfair Display', serif; font-size: 36px; margin-bottom: 12px; }
.newsletter p { color: var(--text-light); margin-bottom: 32px; font-size: 16px; }
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 15px;
    background: white;
    outline: none;
    transition: border-color 0.3s;
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* ===== FOOTER ===== */
footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 40px 30px;
}
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-brand .logo-text { color: white; font-size: 24px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    color: rgba(255,255,255,0.7);
}
.social-icon:hover { background: var(--primary); color: white; }
.social-icon svg { width: 18px; height: 18px; }

.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s;
}
.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom p { font-size: 13px; }
.payment-methods { display: flex; gap: 12px; align-items: center; }
.payment-icon {
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background: linear-gradient(135deg, var(--cream) 0%, #F5E6D3 50%, var(--accent-light) 100%);
    padding: 8px 40px;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 40%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(212,149,106,0.1) 0%, transparent 60%);
}
.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--text-dark);
    margin: 0 auto;
    position: relative;
    max-width: 1400px;
    text-align: center;
    line-height: 1.2;
}
.page-banner p {
    font-size: 12px;
    color: var(--text-light);
    position: relative;
    margin: 2px auto 0;
    max-width: 1400px;
    text-align: center;
    line-height: 1.3;
}
.breadcrumb {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 auto 2px;
    font-size: 11px;
    color: var(--text-light);
    position: relative;
    max-width: 1400px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-light); }

/* ===== ABOUT PAGE ===== */
.about-section { padding: 100px 40px; max-width: 1400px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.about-text p { font-size: 16px; line-height: 1.8; color: var(--text-medium); margin-bottom: 16px; }
.about-visual {
    background: linear-gradient(135deg, var(--accent-light), var(--cream));
    border-radius: 24px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    position: relative;
    overflow: hidden;
}
.about-values { padding: 80px 40px; background: var(--cream); }
.values-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.value-icon { font-size: 40px; margin-bottom: 20px; }
.value-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.team-section { padding: 100px 40px; max-width: 1400px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.team-card:hover { box-shadow: var(--card-shadow); }
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
}
.team-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--text-light); }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 100px 40px; max-width: 1400px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 24px;
    padding: 48px;
    color: white;
}
.contact-info-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 16px;
}
.contact-info-card > p { opacity: 0.85; margin-bottom: 36px; line-height: 1.7; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-item-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-item-text p { font-size: 14px; opacity: 0.85; }

.contact-form-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--border);
}
.contact-form-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-medium);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: var(--warm-white);
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group textarea { min-height: 140px; resize: vertical; }

.map-section { padding: 0 40px 100px; max-width: 1400px; margin: 0 auto; }
.map-placeholder {
    background: linear-gradient(135deg, var(--cream), #F5E6D3);
    border-radius: 24px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-light);
    border: 1px solid var(--border);
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail { padding: 60px 40px; max-width: 1400px; margin: 0 auto; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.pd-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
}
.pd-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pd-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color 0.3s;
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--primary); }
.pd-thumb .yarn-ball { position: relative; width: 50px; height: 50px; }
.pd-main-image {
    background: linear-gradient(135deg, #F5E6D3, #EDD5BC);
    border-radius: 24px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pd-main-image .yarn-ball { width: 200px; height: 200px; position: relative; }

.pd-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 8px;
}
.pd-brand {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.pd-price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pd-price { font-size: 32px; font-weight: 700; color: var(--primary); }
.pd-original { font-size: 18px; color: var(--text-light); text-decoration: line-through; }
.pd-discount {
    background: #FFF0ED;
    color: var(--danger);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.pd-rating .stars { font-size: 16px; }
.pd-rating span { font-size: 14px; color: var(--text-light); }

.pd-desc { font-size: 15px; line-height: 1.8; color: var(--text-medium); margin-bottom: 28px; }

.pd-option { margin-bottom: 24px; }
.pd-option label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.pd-colors { display: flex; gap: 10px; }
.pd-color {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: 3px solid transparent;
    box-shadow: 0 0 0 2px var(--border);
}
.pd-color:hover, .pd-color.active {
    border-color: white;
    box-shadow: 0 0 0 3px var(--primary);
    transform: scale(1.1);
}

.pd-sizes { display: flex; gap: 10px; }
.pd-size {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}
.pd-size:hover, .pd-size.active { border-color: var(--primary); background: var(--cream); color: var(--primary); }

.pd-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--accent-light); }
.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    background: white;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.pd-actions { display: flex; gap: 12px; margin-bottom: 32px; }
.pd-actions .btn-primary { flex: 1; justify-content: center; }
.pd-actions .wishlist-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.pd-actions .wishlist-btn:hover { border-color: var(--danger); background: #FFF5F5; }
.pd-actions .wishlist-btn svg { width: 22px; height: 22px; color: var(--text-light); }

.pd-meta { border-top: 1px solid var(--border); padding-top: 24px; }
.pd-meta-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}
.pd-meta-label { font-weight: 600; min-width: 120px; color: var(--text-medium); }
.pd-meta-value { color: var(--text-light); }

.pd-tabs { margin-top: 80px; }
.pd-tab-buttons { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 40px; }
.pd-tab-btn {
    padding: 16px 32px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
.pd-tab-btn.active { color: var(--primary); }
.pd-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}
.pd-tab-content { display: none; }
.pd-tab-content.active { display: block; }
.pd-tab-content p { font-size: 15px; line-height: 1.8; color: var(--text-medium); margin-bottom: 16px; }
.pd-tab-content ul { padding-left: 20px; }
.pd-tab-content li { font-size: 15px; line-height: 2; color: var(--text-medium); }

.review-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 14px;
}
.reviewer-name { font-weight: 600; font-size: 14px; }
.review-date { font-size: 13px; color: var(--text-light); }
.review-text { font-size: 14px; line-height: 1.7; color: var(--text-medium); }

/* ===== CART PAGE ===== */
.cart-section { padding: 60px 40px; max-width: 1400px; margin: 0 auto; }
.cart-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; }
.cart-items { }
.cart-empty {
    text-align: center;
    padding: 80px 40px;
}
.cart-empty-icon { font-size: 80px; margin-bottom: 24px; }
.cart-empty h2 { font-family: 'Playfair Display', serif; margin-bottom: 12px; }
.cart-empty p { color: var(--text-light); margin-bottom: 32px; }

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 24px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    align-items: center;
    transition: all 0.3s;
}
.cart-item:hover { box-shadow: var(--card-shadow); }
.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-details h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.cart-item-details .cart-item-variant { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.cart-item-details .cart-item-price { font-size: 18px; font-weight: 700; color: var(--primary); }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-item-actions .qty-selector { }
.cart-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cart-remove:hover { text-decoration: underline; }

.cart-summary {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.cart-summary h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
}
.summary-row.total {
    font-weight: 700;
    font-size: 18px;
    padding-top: 16px;
    border-top: 2px solid var(--border);
    margin-top: 16px;
}
.summary-row span:last-child { font-weight: 600; }
.coupon-input {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}
.coupon-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}
.coupon-input input:focus { border-color: var(--primary); }
.coupon-input button {
    background: var(--cream);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.coupon-input button:hover { background: var(--accent-light); }
.cart-summary .btn-primary { width: 100%; justify-content: center; margin-top: 20px; padding: 18px; }
.cart-summary .continue-shopping {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--primary);
}
.cart-summary .continue-shopping:hover { text-decoration: underline; }

/* ===== CHECKOUT PAGE ===== */
.checkout-section { padding: 60px 40px; max-width: 1200px; margin: 0 auto; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; }
.checkout-step {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 24px;
}
.checkout-step h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}
.checkout-step .form-row { margin-bottom: 0; }
.checkout-step .form-group { margin-bottom: 16px; }
.checkout-step .form-group label { font-size: 13px; font-weight: 500; margin-bottom: 6px; }

.payment-methods-checkout { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.payment-option:hover { border-color: var(--primary-light); }
.payment-option.selected { border-color: var(--primary); background: var(--cream); }
.payment-option input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }
.payment-option-label h4 { font-size: 14px; font-weight: 600; }
.payment-option-label p { font-size: 12px; color: var(--text-light); }

.order-summary {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.order-summary h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.order-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.order-item-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.order-item-info { flex: 1; }
.order-item-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.order-item-info p { font-size: 12px; color: var(--text-light); }
.order-item-price { font-size: 15px; font-weight: 600; color: var(--primary); white-space: nowrap; }

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--success);
    font-weight: 500;
}
.secure-checkout svg { width: 16px; height: 16px; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--text-dark);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .hero-content h1 { font-size: 48px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .pd-grid { grid-template-columns: 1fr; }
    .cart-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    nav { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    /* Mobile nav panel: hamburger opens this in place of the hidden desktop nav */
    header { position: sticky; }
    nav#mobile-nav.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
        padding: 8px 24px 20px;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 999;
    }
    nav#mobile-nav.active > a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }
    nav#mobile-nav.active .nav-dropdown-wrapper {
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    nav#mobile-nav.active .nav-dropdown-trigger {
        display: block;
        padding: 14px 0;
        font-size: 16px;
    }
    /* On mobile there's no hover, so the Products submenu opens via the .open class (toggled by JS on tap) */
    nav#mobile-nav.active .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        padding: 0 0 10px 12px;
        min-width: 0;
    }
    nav#mobile-nav.active .nav-dropdown-wrapper.open .nav-dropdown-menu {
        display: flex;
    }
}
@media (max-width: 768px) {
    .nav-container { padding: 0 20px; }
    .hero { min-height: auto; padding: 40px 20px; }
    .hero-container { padding: 40px 20px; }
    .hero-content h1 { font-size: 38px; }
    .categories { padding: 60px 20px; }
    .categories-grid { grid-template-columns: 1fr; }
    .products { padding: 60px 20px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-image { height: 200px; }
    .promo-banner { margin: 0 20px; padding: 50px 30px; }
    .promo-content h2 { font-size: 32px; }
    .testimonials { padding: 60px 20px; }
    .features { padding: 60px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .newsletter { padding: 60px 20px; }
    .newsletter-form { flex-direction: column; }
    footer { padding: 60px 20px calc(20px + 64px) 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 32px; }
    .page-banner { padding: 6px 20px; }
    .page-banner h1 { font-size: 16px; }
    .about-section { padding: 60px 20px; }
    .about-visual { height: 250px; }
    .contact-section { padding: 60px 20px; }
    .pd-gallery { grid-template-columns: 1fr; }
    .pd-thumbs { flex-direction: row; }
    .pd-main-image { height: 350px; }
    .cart-section { padding: 40px 20px; }
    .cart-item { grid-template-columns: 80px 1fr; }
    .cart-item-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .checkout-section { padding: 40px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .hero-content h1 { font-size: 32px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .pd-actions { flex-direction: column; }
    .pd-actions .btn-primary { width: 100%; }
    .promo-cards-section { padding: 40px 16px; }
    .promo-cards-section .promo-card { padding: 30px 22px !important; }
    .promo-cards-section .promo-card h3 { font-size: 1.6rem; }
}

/* ===== WOOLCRAFT PREMIUM V2 UPGRADES ===== */
:root {
    --forest: #1b4332;
    --forest-dark: #081c15;
    --forest-light: #2d6a4f;
}

/* --- Inline Search Bar --- */
.header-search {
    flex: 0 1 300px;
    margin: 0 20px;
}
.header-search form {
    position: relative;
    width: 100%;
}
.header-search input {
    width: 100%;
    padding: 10px 45px 10px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--cream);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s;
}
.header-search input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}
.header-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    color: var(--text-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
}
.header-search button svg {
    width: 18px;
    height: 18px;
}

/* --- Search Autocomplete --- */
.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    margin-top: 4px;
}
.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s;
    border-bottom: 1px solid var(--border);
}
.autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}
.autocomplete-item:hover {
    background: var(--cream);
    color: var(--primary);
}
.autocomplete-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
}
.autocomplete-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.autocomplete-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.autocomplete-category {
    font-size: 0.75rem;
    color: var(--text-light);
}
.autocomplete-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
}
.autocomplete-empty {
    padding: 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- Dropdown Menu Hint & List --- */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}
.dropdown-hint {
    font-size: 11px;
    margin-left: 2px;
    transition: transform 0.3s;
}
.nav-dropdown-wrapper:hover .dropdown-hint {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--hover-shadow);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}
.nav-dropdown-wrapper:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}
.nav-dropdown-menu a {
    padding: 8px 20px;
    font-size: 13.5px;
    color: var(--text-medium);
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}
.nav-dropdown-menu a:hover {
    background: var(--cream);
    color: var(--primary);
}

/* --- Hero Dual-Column Mosaic Grid --- */
.hero-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.mosaic-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    height: 520px;
}
.mosaic-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mosaic-column.spacer-top {
    margin-top: 30px;
}
.mosaic-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s ease;
}
.mosaic-item:hover {
    transform: scale(1.02);
}
.mosaic-item.size-large {
    flex: 1.4;
}
.mosaic-item.size-small {
    flex: 0.9;
}
.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Benefits Bar --- */
/* Benefits Bar - Artisanal Studio */
.benefits-bar {
    background: var(--cream);
    color: var(--text-dark);
    padding: 40px 24px;
}
.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}
.benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}
.benefit-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.benefit-text p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

/* --- Category Card Improvements --- */
.category-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: block;
}
.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.category-card:hover .category-img {
    transform: scale(1.08);
}
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 10, 8, 0.8) 10%, rgba(12, 10, 8, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.category-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}
.category-overlay p {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

/* --- Product Filter Tabs --- */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}
.tab-btn {
    background: var(--cream);
    color: var(--text-medium);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.tab-btn:hover, .tab-btn.active {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(107, 79, 46, 0.15);
}

/* --- Dynamic Wishlist Filled Style --- */
.product-wishlist svg.filled {
    fill: var(--danger);
    stroke: var(--danger);
}

/* --- About Collage Section --- */
.about-collage-section {
    padding: 100px 40px;
    background: var(--cream);
}
.about-collage-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.collage-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.collage-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    width: 500px;
    height: 480px;
}
.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}
.collage-img.item-1 {
    grid-column: 1 / 8;
    grid-row: 1 / 9;
    z-index: 2;
}
.collage-img.item-2 {
    grid-column: 6 / 13;
    grid-row: 4 / 13;
    z-index: 1;
}
.collage-img.item-3 {
    grid-column: 2 / 7;
    grid-row: 8 / 13;
    z-index: 3;
    border: 5px solid var(--cream);
}
.floating-badge-card {
    position: absolute;
    right: -20px;
    bottom: 30px;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--hover-shadow);
    z-index: 4;
    border-left: 4px solid var(--accent);
}
.floating-badge-card h4 {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.floating-badge-card .count {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 4px 0;
}
.floating-badge-card .label {
    font-size: 12px;
    color: var(--text-medium);
}
.about-story-content .story-p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 20px;
}
.story-bullets {
    list-style: none;
    padding: 0;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.story-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.story-bullets .bullet-icon {
    background: var(--primary-light);
    color: var(--primary-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}
.story-bullets div {
    font-size: 14.5px;
    color: var(--text-dark);
    line-height: 1.5;
}

/* --- Promo Cards Polish --- */
.promo-cards-section {
    padding: 60px 24px;
}
.promo-cards-section .promo-card {
    border-radius: 24px !important;
    padding: 40px 32px !important;
    min-height: 260px !important;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s, box-shadow 0.4s;
}
.promo-cards-section .promo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}
.promo-cards-section .promo-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.promo-cards-section .promo-card p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 28px;
    max-width: 85%;
}
.promo-cards-section .promo-card .btn {
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: all 0.2s;
}
.promo-cards-section .promo-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* --- 4-Column Testimonials --- */
.testimonials-grid-4col {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.testimonial-card-v2 {
    background: #fff;
    padding: 28px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.testimonial-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-light);
}
.testimonial-card-v2 .t-badge {
    align-self: flex-start;
    background: var(--cream);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.testimonial-card-v2 .testimonial-product {
    font-size: 11.5px;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 14px;
    margin-bottom: 14px;
    border-top: 1px dashed var(--border);
}
.testimonial-card-v2 .testimonial-product span {
    font-weight: 600;
    color: var(--text-medium);
}

/* --- Forest Green Newsletter & Success State --- */
.newsletter {
    background: var(--forest);
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}
.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #fff;
    margin: 10px 0 16px;
}
.newsletter p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 32px;
}
.newsletter-form {
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 24px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}
.newsletter-form button {
    background: var(--forest-dark);
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}
.newsletter-form button:hover {
    background: var(--forest-light);
}
.newsletter-success {
    display: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    max-width: 550px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
}
.newsletter-success span {
    font-weight: bold;
    margin-right: 6px;
}
.newsletter.success-active .newsletter-form {
    display: none;
}
.newsletter.success-active .newsletter-success {
    display: block;
}

/* --- Slide-in Cart Drawer Layout --- */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 8, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10000;
}
.cart-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.active {
    right: 0;
}
.drawer-header {
    flex-shrink: 0;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.drawer-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--primary-dark);
}
#cart-drawer-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-medium);
    padding: 6px;
    transition: color 0.2s;
}
#cart-drawer-close:hover {
    color: var(--danger);
}
.drawer-body {
    flex: 1 1 auto;
    max-height: calc(100vh - 250px);
    max-height: calc(100dvh - 250px);
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}
/* Shipping Progress */
.shipping-progress-container {
    background: var(--cream);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}
.shipping-progress-text {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
}
.shipping-progress-bg {
    background: var(--border);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}
.shipping-progress-bar {
    background: var(--success);
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
}
/* Drawer Items */
.drawer-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.drawer-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.drawer-item-img-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.drawer-item-img-wrapper .yarn-ball {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}
.drawer-item-info {
    flex: 1;
}
.drawer-item-info h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.drawer-item-info h4 a:hover {
    color: var(--primary);
}
.drawer-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}
.drawer-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.drawer-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
}
.drawer-item-qty button {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
}
.drawer-item-qty button:hover {
    background: var(--cream);
}
.drawer-item-qty span {
    width: 24px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
}
.drawer-item-remove {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
}
.drawer-item-remove:hover {
    color: var(--danger);
    text-decoration: underline;
}
.drawer-footer {
    flex-shrink: 0;
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--warm-white);
}
.drawer-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.drawer-note {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.btn-checkout {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px;
    border-radius: 50px;
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.3);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255,250,245,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
    z-index: 1001;
    pointer-events: none;
}
.mobile-nav.active {
    max-height: min(420px, calc(100svh - 80px));
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav-content {
    padding: 12px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mobile-nav-content a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-medium);
    padding: 8px 0;
}
.mobile-nav-content a.active {
    color: var(--primary);
}
.mobile-search {
    margin-top: 10px;
}
.mobile-search form {
    display: flex;
    gap: 8px;
}
.mobile-search input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
}
.mobile-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
}

/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 250, 245, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    z-index: 1100;
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    padding: 0 8px;
}
.mobile-bottom-nav a,
.mobile-bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-medium);
    font-size: 11px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 12px;
    transition: color 0.2s, background 0.2s;
    font-family: inherit;
}
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover,
.mobile-bottom-nav button:hover {
    color: var(--primary);
    background: var(--accent-light);
}
.mobile-bottom-nav a svg,
.mobile-bottom-nav button svg {
    width: 22px;
    height: 22px;
}

/* --- Responsive Upgrades --- */
@media (max-width: 1200px) {
    .testimonials-grid-4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .mosaic-container { height: 400px; }
    .about-collage-container { grid-template-columns: 1fr; gap: 40px; }
    .collage-visual { display: flex; justify-content: center; }
    .benefits-container { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .benefits-container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .benefit-item { padding: 16px; }
    .testimonials-grid-4col { grid-template-columns: 1fr; }
    .header-search { display: none; }
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: 64px; }
}
@media (max-width: 480px) {
    .benefits-container { grid-template-columns: 1fr; }
}

