/* SudsyGlow - Japanese Artisan Soaps & Shampoos
   ============================================= */

/* CSS Variables */
:root {
    --cream: #FDFBF7;
    --cream-dark: #F5F1EB;
    --sage: #8B9B7E;
    --sage-light: #A8B59D;
    --sage-dark: #6B7A60;
    --blush: #E8D4D4;
    --blush-dark: #D4BEBE;
    --charcoal: #2C2C2C;
    --charcoal-light: #4A4A4A;
    --stone: #9B9B9B;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Page Transitions */
.page {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   Header
   ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--cream);
    border-bottom: 1px solid rgba(139, 155, 126, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--charcoal);
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.logo span {
    font-weight: 300;
    color: var(--sage);
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sage);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

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

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-icon {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.header-icon:hover {
    transform: translateY(-2px);
}

.header-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--charcoal);
    fill: none;
    stroke-width: 1.5;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--sage);
    color: var(--white);
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s ease;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--blush) 50%, var(--cream) 100%);
    opacity: 0.4;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-pattern {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    opacity: 0.08;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(139, 155, 126, 0.1);
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.hero h1 em {
    font-style: italic;
    color: var(--sage);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--charcoal-light);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Karla', sans-serif;
}

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

.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 155, 126, 0.3);
}

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

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-image-main {
    width: 100%;
    height: 550px;
    background: linear-gradient(145deg, var(--cream-dark), var(--blush));
    border-radius: 200px 200px 100px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-main::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(139, 155, 126, 0.2);
    border-radius: 180px 180px 80px 80px;
    pointer-events: none;
    z-index: 1;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-preview {
    text-align: center;
    padding: 2rem;
}

.product-preview-bottle {
    width: 120px;
    height: 200px;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    border-radius: 10px 10px 50px 50px;
    margin: 0 auto 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
}

.product-preview-bottle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background: var(--sage);
    border-radius: 5px 5px 0 0;
}

.product-preview-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.hero-floating {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    animation: float 4s ease-in-out infinite;
}

.hero-floating-1 {
    top: 15%;
    right: -20px;
    animation-delay: 0s;
}

.hero-floating-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 2s;
}

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

.floating-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage);
    fill: none;
}

.floating-text {
    font-size: 0.75rem;
}

.floating-text strong {
    display: block;
    font-weight: 500;
    color: var(--charcoal);
}

.floating-text span {
    color: var(--stone);
}

/* ==========================================
   Trust Bar
   ========================================== */
.trust-bar {
    background: var(--white);
    padding: 2rem;
    border-top: 1px solid rgba(139, 155, 126, 0.1);
    border-bottom: 1px solid rgba(139, 155, 126, 0.1);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--charcoal-light);
}

.trust-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage);
    fill: none;
}

/* ==========================================
   Featured Products
   ========================================== */
.featured {
    padding: 6rem 2rem;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 500px;
    margin: 0 auto;
    color: var(--charcoal-light);
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 155, 126, 0.15);
}

.product-image {
    height: 320px;
    background: linear-gradient(145deg, var(--cream), var(--cream-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

.product-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--sage);
    color: var(--white);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
}

.product-quick-add {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--charcoal);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.product-card:hover .product-quick-add {
    bottom: 1rem;
}

.product-quick-add:hover {
    background: var(--sage-dark);
}

.product-bottle {
    width: 80px;
    height: 140px;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    border-radius: 8px 8px 40px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.4s ease;
}

.product-card:hover .product-bottle {
    transform: scale(1.05);
}

.product-bottle::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: var(--sage);
    border-radius: 4px 4px 0 0;
}

.product-bottle.bar {
    width: 100px;
    height: 60px;
    border-radius: 10px;
}

.product-bottle.bar::before {
    display: none;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-category {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--stone);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
}

.product-price .original {
    text-decoration: line-through;
    color: var(--stone);
    font-weight: 300;
    margin-right: 0.5rem;
}

/* ==========================================
   Story Section
   ========================================== */
.story {
    padding: 6rem 2rem;
    background: var(--white);
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
}

.story-image {
    border-radius: 1rem;
    overflow: hidden;
    height: 250px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image:first-child {
    grid-column: span 2;
    height: 280px;
    background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 100%);
}

/* Story image styling for actual images */
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-image:hover img {
    transform: scale(1.03);
}

.story-image-placeholder {
    text-align: center;
    color: var(--sage);
}

.story-image-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--sage);
    fill: none;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.story-image-placeholder span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.story-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.story-content h2 em {
    font-style: italic;
    color: var(--sage);
}

.story-text {
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
}

.story-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.story-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.story-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage);
    fill: none;
}

.story-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.story-feature p {
    font-size: 0.8rem;
    color: var(--stone);
}

/* ==========================================
   Ingredients Banner
   ========================================== */
.ingredients-banner {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ingredients-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ingredients-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ingredients-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.ingredients-banner p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.ingredient-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ingredient-tag {
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials {
    padding: 6rem 2rem;
    background: var(--cream);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--sage);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blush), var(--sage-light));
    border-radius: 50%;
}

.testimonial-name {
    font-weight: 500;
}

.testimonial-location {
    font-size: 0.8rem;
    color: var(--stone);
}

.testimonial-stars {
    color: var(--sage);
    margin-bottom: 0.5rem;
}

/* ==========================================
   Newsletter
   ========================================== */
.newsletter {
    padding: 5rem 2rem;
    background: var(--cream-dark);
    text-align: center;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.newsletter p {
    color: var(--charcoal-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(139, 155, 126, 0.3);
    border-radius: 0;
    background: var(--white);
    font-family: 'Karla', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--sage);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--sage-dark);
}

/* ==========================================
   Footer
   ========================================== */
footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand .logo span {
    color: var(--sage-light);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.footer-social svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    fill: none;
}

.footer-column h4 {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: 'Karla', sans-serif;
    font-weight: 500;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-column a:hover {
    color: var(--sage-light);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-payments {
    display: flex;
    gap: 0.5rem;
}

.footer-payments span {
    width: 40px;
    height: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* ==========================================
   Shop Page
   ========================================== */
.shop-hero {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
    text-align: center;
}

.shop-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.shop-hero p {
    color: var(--charcoal-light);
    max-width: 500px;
    margin: 0 auto;
}

.shop-filters {
    padding: 2rem;
    background: var(--white);
    border-bottom: 1px solid rgba(139, 155, 126, 0.1);
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(139, 155, 126, 0.3);
    font-family: 'Karla', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--sage);
    border-color: var(--sage);
    color: var(--white);
}

.filter-sort select {
    padding: 0.6rem 2rem 0.6rem 1rem;
    border: 1px solid rgba(139, 155, 126, 0.3);
    background: var(--white);
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.shop-products {
    padding: 4rem 2rem;
    background: var(--cream);
}

.shop-products .products-grid {
    margin-bottom: 3rem;
}

.load-more {
    text-align: center;
}

/* ==========================================
   About Page
   ========================================== */
.about-hero {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.about-hero h1 em {
    font-style: italic;
    color: var(--sage);
}

.about-hero p {
    font-size: 1.1rem;
    color: var(--charcoal-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    padding: 5rem 2rem;
}

.about-section:nth-child(even) {
    background: var(--cream);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse > * {
    direction: ltr;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, var(--cream-dark), var(--blush));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* About image styling for actual images */
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--charcoal-light);
    margin-bottom: 1rem;
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--sage);
    fill: none;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
}

/* ==========================================
   Contact Page
   ========================================== */
.contact-hero {
    padding: 10rem 2rem 4rem;
    background: var(--cream);
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.contact-hero p {
    color: var(--charcoal-light);
    max-width: 500px;
    margin: 0 auto;
}

.contact-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage);
    fill: none;
}

.contact-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

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

.contact-form {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 1rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(139, 155, 126, 0.3);
    background: var(--white);
    font-family: 'Karla', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sage);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    padding: 5rem 2rem;
    background: var(--cream);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--cream);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage);
    fill: none;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--charcoal-light);
}

/* ==========================================
   Cart Sidebar
   ========================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2001;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(139, 155, 126, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.3rem;
}

.cart-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--cream);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: var(--blush);
}

.cart-close svg {
    width: 18px;
    height: 18px;
    stroke: var(--charcoal);
    fill: none;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(139, 155, 126, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 100px;
    background: var(--cream);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-bottle {
    width: 35px;
    height: 60px;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream-dark) 100%);
    border-radius: 4px 4px 20px 20px;
    position: relative;
}

.cart-item-bottle::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 8px;
    background: var(--sage);
    border-radius: 2px 2px 0 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cart-item-variant {
    font-size: 0.8rem;
    color: var(--stone);
    margin-bottom: 0.75rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(139, 155, 126, 0.3);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.cart-item-price {
    text-align: right;
}

.cart-item-total {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cart-item-remove {
    font-size: 0.75rem;
    color: var(--stone);
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--charcoal);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    stroke: var(--stone);
    fill: none;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-empty p {
    color: var(--stone);
    margin-bottom: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(139, 155, 126, 0.1);
    background: var(--cream);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cart-subtotal span:last-child {
    font-weight: 500;
}

.cart-shipping {
    font-size: 0.85rem;
    color: var(--stone);
    margin-bottom: 1.5rem;
}

.cart-checkout {
    width: 100%;
    padding: 1rem;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cart-checkout:hover {
    background: var(--sage-dark);
}

/* ==========================================
   Product Detail Page
   ========================================== */
.product-detail {
    padding: 8rem 2rem 4rem;
    background: var(--cream);
}

.product-detail-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    height: 500px;
    background: var(--white);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-main-image .product-bottle {
    width: 120px;
    height: 200px;
}

.product-thumbs {
    display: flex;
    gap: 0.75rem;
}

.product-thumb {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--sage);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb .product-bottle {
    width: 25px;
    height: 45px;
}

.product-thumb .product-bottle::before {
    width: 10px;
    height: 5px;
    top: -5px;
}

.product-details-content {
    padding-top: 1rem;
}

.product-breadcrumb {
    font-size: 0.8rem;
    color: var(--stone);
    margin-bottom: 1rem;
}

.product-breadcrumb a {
    color: var(--stone);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: var(--sage);
}

.product-detail-name {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
}

.product-detail-tagline {
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
}

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-detail-price small {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--stone);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.product-rating-stars {
    color: var(--sage);
}

.product-rating-count {
    font-size: 0.85rem;
    color: var(--stone);
}

.product-options {
    margin-bottom: 2rem;
}

.product-option {
    margin-bottom: 1.5rem;
}

.product-option-label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: block;
}

.product-option-values {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.option-value {
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(139, 155, 126, 0.3);
    background: transparent;
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-value:hover,
.option-value.selected {
    background: var(--sage);
    border-color: var(--sage);
    color: var(--white);
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(139, 155, 126, 0.3);
}

.quantity-selector button {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.quantity-selector button:hover {
    background: var(--cream);
}

.quantity-selector input {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid rgba(139, 155, 126, 0.3);
    border-right: 1px solid rgba(139, 155, 126, 0.3);
    text-align: center;
    font-family: 'Karla', sans-serif;
    font-size: 1rem;
}

.quantity-selector input:focus {
    outline: none;
}

.product-add-cart {
    flex: 1;
    padding: 1rem 2rem;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-add-cart:hover {
    background: var(--sage-dark);
}

.product-detail-desc {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 155, 126, 0.2);
}

.product-detail-desc h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-detail-desc p {
    color: var(--charcoal-light);
    margin-bottom: 1rem;
}

.product-detail-desc ul {
    margin-left: 1.5rem;
    color: var(--charcoal-light);
}

.product-detail-desc li {
    margin-bottom: 0.5rem;
}

.product-accordion {
    margin-bottom: 2rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(139, 155, 126, 0.2);
}

.accordion-header {
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.accordion-header svg {
    width: 18px;
    height: 18px;
    stroke: var(--charcoal);
    fill: none;
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-header svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-content {
    max-height: 500px;
}

.accordion-content-inner {
    padding-bottom: 1.5rem;
    color: var(--charcoal-light);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-text {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image-main {
        height: 400px;
    }

    .hero-floating {
        display: none;
    }

    .story-container,
    .about-grid,
    .contact-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .about-grid.reverse {
        direction: ltr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .trust-container {
        gap: 2rem;
    }

    .trust-item span {
        display: none;
    }

    .story-features {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 2rem;
    }

    .footer-brand p {
        margin: 0 auto 1.5rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
    }

    .product-gallery {
        position: static;
    }
}

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

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