:root {
    --light-cream: #FAF8F5;
    --forest-green: #1E3329;
    --golden-tan: #DCA76E;
    --white: #FFFFFF;
    
    --text-dark: #1E3329;
    --text-light: #FFFFFF;
    --text-grey: #6b7280;
    --text-light-grey: #d1d5db;
    
    --font-primary: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-cream);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* 1. Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #F7F2EB;
    border-bottom: 1px solid rgba(30, 51, 41, 0.1);
    transition: all 0.3s ease;
}

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

.logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: var(--forest-green);
    color: var(--golden-tan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    transition: color 0.2s;
}

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

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

.icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: color 0.2s;
    color: var(--text-dark);
}

.icon:hover {
    color: var(--golden-tan);
}

.mobile-menu-icon {
    display: none;
}

/* 2. Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--deep-forest-green);
    background-image: url('hero-valley.png'), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30,51,41,0.9) 0%, rgba(30,51,41,0.6) 40%, transparent 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 4rem;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.hero-overline {
    color: var(--golden-tan);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.hero-heading {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    max-width: 700px;
    margin-bottom: 2rem;
}

.hero-subheading {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 500px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-golden {
    background-color: var(--golden-tan);
    color: var(--forest-green);
    border: none;
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s, transform 0.2s;
    font-family: inherit;
}

.btn-golden:hover {
    background-color: #c99359;
    transform: translateY(-2px);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* 3. Three-Column Feature Bar */
.feature-bar {
    background-color: var(--forest-green);
    padding: 4rem 2rem;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-icon {
    color: var(--golden-tan);
    width: 32px;
    height: 32px;
    margin-bottom: 1.5rem;
}

.feature-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-light-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 4. Dynamic Product Grid Section */
.product-section {
    background-color: var(--light-cream);
    padding: 6rem 2rem;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.product-card {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #f3f4f6;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--forest-green);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.4rem 0.8rem;
    text-transform: uppercase;
    z-index: 2;
}

.product-content {
    padding: 2rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-overline {
    color: var(--golden-tan);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    color: var(--forest-green);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-grey);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    /* 3 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
    margin-top: auto;
}

.product-price {
    font-weight: 700;
    color: var(--forest-green);
    font-size: 1.1rem;
}

.product-notify {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.2s;
}

.product-notify:hover {
    color: var(--golden-tan);
}

/* 5. Mission Statement Section */
.mission-section {
    background-color: var(--forest-green);
    padding: 6rem 2rem;
    text-align: center;
}

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

.mission-heading {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.mission-text {
    color: var(--text-light-grey);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.mission-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 60px;
    margin: 0 auto 1.5rem auto;
}

.mission-footer-text {
    color: var(--golden-tan);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* 6. Newsletter Section */
.newsletter-section {
    background-color: var(--light-cream);
    padding: 6rem 2rem;
    text-align: center;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-icon {
    color: var(--golden-tan);
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.newsletter-heading {
    color: var(--forest-green);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-subheading {
    color: var(--text-grey);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 450px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(30, 51, 41, 0.2);
    border-right: none;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-color: var(--forest-green);
}

.btn-dark {
    background-color: var(--forest-green);
    color: var(--white);
    border: 1px solid var(--forest-green);
    padding: 1rem 2rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-dark:hover {
    background-color: #15241d;
}

/* 7. Footer */
.footer-section {
    background-color: var(--forest-green);
    padding: 5rem 2rem 2rem 2rem;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo-box {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: var(--text-light-grey);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-col-title {
    color: var(--golden-tan);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light-grey);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-tiny-text {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 1.5rem;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-input {
    background-color: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 0.875rem 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.footer-input:focus {
    border-color: var(--golden-tan);
}

.footer-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.btn-golden-full {
    background-color: var(--golden-tan);
    color: var(--forest-green);
    border: none;
    padding: 0.875rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-golden-full:hover {
    background-color: #c99359;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 3rem;
    }
    
    .feature-container {
        gap: 2rem;
    }
    
    .product-grid {
        gap: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .header-center {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .hero-content {
        padding: 0 2rem;
    }
    
    .hero-heading {
        font-size: 2.25rem;
    }
    
    .feature-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-right: 1px solid rgba(30, 51, 41, 0.2);
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}


/* --- Account Page Styles --- */
.account-section { padding: 4rem 2rem; min-height: calc(100vh - 80px - 400px); }
.account-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.account-sidebar { background-color: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-radius: 4px; padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.account-nav { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.account-nav-link { font-size: 0.95rem; font-weight: 500; color: var(--text-grey); transition: color 0.2s; }
.account-nav-link:hover { color: var(--forest-green); }
.account-nav-link.active { color: var(--golden-tan); font-weight: 600; }
.logout-btn { background: none; border: none; color: var(--text-grey); font-size: 0.9rem; font-family: inherit; font-weight: 500; text-align: left; cursor: pointer; margin-top: auto; transition: color 0.2s; }
.logout-btn:hover { color: #e53e3e; }
.account-content { background-color: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-radius: 4px; padding: 3rem; }
.account-card-title { font-size: 1.5rem; color: var(--forest-green); margin-bottom: 2rem; font-weight: 600; }
.profile-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.85rem; color: var(--text-grey); font-weight: 500; }
.form-input { padding: 0.8rem 1rem; border: 1px solid rgba(30, 51, 41, 0.2); border-radius: 2px; font-family: inherit; font-size: 0.95rem; color: var(--text-dark); outline: none; transition: border-color 0.3s; }
.form-input:focus { border-color: var(--forest-green); }
.account-section-title { font-size: 1.1rem; color: var(--forest-green); margin-top: 2rem; margin-bottom: 1.5rem; font-weight: 600; }
.addresses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.address-card { border: 1px solid rgba(30, 51, 41, 0.1); padding: 1.5rem; border-radius: 2px; }
.address-card.default-address { border-color: var(--golden-tan); background-color: rgba(220, 167, 110, 0.05); }
.address-header { margin-bottom: 0.75rem; }
.address-type { font-size: 0.8rem; font-weight: 600; color: var(--forest-green); text-transform: uppercase; }
.address-text { font-size: 0.9rem; color: var(--text-grey); line-height: 1.6; }
.form-actions { margin-top: 2rem; display: flex; justify-content: flex-end; }
.account-save-btn { padding: 1rem 2.5rem; }
@media (max-width: 768px) { .account-container { grid-template-columns: 1fr; gap: 2rem; } .account-sidebar { padding: 1.5rem; } .account-nav { flex-direction: row; overflow-x: auto; margin-bottom: 0; gap: 1.5rem; padding-bottom: 0.5rem; } .account-nav-link { white-space: nowrap; } .logout-btn { display: none; } .account-content { padding: 1.5rem; } .form-row, .addresses-grid { grid-template-columns: 1fr; } }


/* --- Auth Page Styles --- */
.auth-section { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; background-color: var(--light-cream); }
.auth-card { background-color: var(--white); padding: 3rem; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); width: 100%; max-width: 450px; transition: all 0.3s ease; }
.auth-title { color: var(--forest-green); font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; text-align: center; }
.auth-subtitle { color: var(--text-grey); font-size: 0.95rem; margin-bottom: 2rem; text-align: center; }
.auth-form { display: flex; flex-direction: column; gap: 1.25rem; }
.auth-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.auth-form-group label { font-size: 0.85rem; color: var(--text-dark); font-weight: 500; }
.auth-input { padding: 0.85rem 1rem; border: 1px solid rgba(30, 51, 41, 0.2); border-radius: 2px; font-family: inherit; font-size: 0.95rem; color: var(--text-dark); outline: none; transition: border-color 0.3s; }
.auth-input:focus { border-color: var(--golden-tan); }
.auth-btn { background-color: var(--forest-green); color: var(--white); border: 1px solid var(--forest-green); padding: 1rem; font-family: inherit; font-weight: 600; font-size: 0.9rem; letter-spacing: 1px; cursor: pointer; transition: background-color 0.3s; margin-top: 0.5rem; width: 100%; border-radius: 2px; }
.auth-btn:hover { background-color: #15241d; }
.auth-footer-text { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-grey); }
.auth-link { color: var(--golden-tan); font-weight: 600; cursor: pointer; transition: color 0.2s; background: none; border: none; font-family: inherit; font-size: inherit; padding: 0; }
.auth-link:hover { color: #c99359; }
@media (max-width: 480px) { .auth-card { padding: 2rem 1.5rem; } }


/* ============================================= */
/* Search Overlay */
/* ============================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 51, 41, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 2rem;
}
.search-overlay-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}
.search-overlay-close:hover { color: #fff; }
.search-overlay-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}
.search-overlay-input::placeholder { color: rgba(255,255,255,0.4); }
.search-overlay-input:focus { border-color: var(--golden-tan); }
.search-results-box {
    margin-top: 1rem;
    background: var(--white);
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-height: 320px;
    overflow-y: auto;
    display: none;
}
.search-results-box.has-results { display: block; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background 0.2s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--light-cream); }
.search-result-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.search-result-info { flex: 1; }
.search-result-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 0.15rem;
}
.search-result-price {
    font-size: 0.8rem;
    color: var(--text-grey);
}
.search-no-results {
    padding: 1.25rem;
    text-align: center;
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* ============================================= */
/* Cart Drawer */
/* ============================================= */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 51, 41, 0.5);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-backdrop.active { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--white);
    z-index: 301;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.active { transform: translateX(0); }
.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cart-drawer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-grey);
    transition: color 0.2s;
    line-height: 1;
}
.cart-drawer-close:hover { color: var(--forest-green); }
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
}
.cart-empty-msg {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-grey);
    font-size: 0.95rem;
}
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    background: #f3f4f6;
}
.cart-item-details { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 0.25rem;
}
.cart-item-meta {
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-bottom: 0.25rem;
}
.cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--forest-green);
}
.cart-item-remove {
    align-self: center;
    background: none;
    border: none;
    font-size: 0.75rem;
    color: var(--text-grey);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.cart-item-remove:hover { color: #e53e3e; }
.cart-drawer-footer {
    padding: 1.25rem 1.75rem 1.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.cart-coupon-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.cart-coupon-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(30,51,41,0.15);
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s;
}
.cart-coupon-input:focus { border-color: var(--golden-tan); }
.cart-coupon-input::placeholder { color: #bbb; }
.cart-coupon-btn {
    padding: 0.7rem 1rem;
    background: var(--light-cream);
    border: 1px solid rgba(30,51,41,0.15);
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: var(--forest-green);
    transition: background 0.2s;
}
.cart-coupon-btn:hover { background: #eee7dc; }
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
}
.cart-subtotal-label {
    font-size: 0.9rem;
    color: var(--text-grey);
    font-weight: 500;
}
.cart-subtotal-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--forest-green);
}
.cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--forest-green);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 2px;
}
.cart-checkout-btn:hover { background: #15241d; }

/* Cart badge */
.header-bag-wrapper { position: relative; }
.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--golden-tan);
    color: var(--forest-green);
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.cart-count-badge.visible { display: flex; }

/* Product Add-to-bag button */
.product-add-btn {
    background: var(--golden-tan);
    color: var(--forest-green);
    border: none;
    padding: 0.55rem 1rem;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.product-add-btn:hover { background: #c99359; transform: translateY(-1px); }
.product-add-btn.added {
    background: var(--forest-green);
    color: var(--white);
    pointer-events: none;
}

/* Newsletter success state */
.newsletter-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--forest-green);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1rem 0;
}
.newsletter-success .check-icon {
    color: var(--golden-tan);
    font-size: 1.25rem;
}

/* Order history */
.order-history-card {
    border: 1px solid rgba(30,51,41,0.1);
    border-radius: 2px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.order-id {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--golden-tan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.order-detail {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.order-status {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(220,167,110,0.15);
    color: var(--golden-tan);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}
.back-to-store {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--golden-tan);
    transition: color 0.2s;
}
.back-to-store:hover { color: #c99359; }


/* ============================================= */
/* Checkout & Order Success Pages                */
/* ============================================= */

/* Checkout Layout */
.checkout-page-header {
    background-color: #F7F2EB;
    border-bottom: 1px solid rgba(30, 51, 41, 0.1);
    padding: 1.25rem 2rem;
}
.checkout-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.checkout-back-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}
.checkout-back-link:hover {
    color: var(--golden-tan);
}
.checkout-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.checkout-section {
    padding: 3rem 2rem 5rem;
    min-height: calc(100vh - 80px);
    background-color: var(--light-cream);
}
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
}

/* Breadcrumbs */
.checkout-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.breadcrumb-item {
    color: var(--text-grey);
}
.breadcrumb-item.active {
    color: var(--forest-green);
    font-weight: 700;
}
.breadcrumb-sep {
    color: var(--text-light-grey);
}

/* Express sign-in banner */
.checkout-express-banner {
    background: rgba(30, 51, 41, 0.04);
    border: 1px solid rgba(30, 51, 41, 0.1);
    border-radius: 3px;
    padding: 0.9rem 1.25rem;
    font-size: 0.85rem;
    color: var(--forest-green);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.checkout-express-banner a {
    color: var(--golden-tan);
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Form Sections */
.checkout-form-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 2.5rem;
    border: 1px solid rgba(30, 51, 41, 0.06);
}
.checkout-block {
    margin-bottom: 2.25rem;
}
.checkout-block:last-child {
    margin-bottom: 0;
}
.checkout-block-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.checkout-row.single {
    grid-template-columns: 1fr;
}
.checkout-row.three-col {
    grid-template-columns: 1.2fr 1fr 0.8fr;
}
.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.checkout-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.checkout-input, .checkout-select, .checkout-textarea {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(30, 51, 41, 0.2);
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--forest-green);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.checkout-input:focus, .checkout-select:focus, .checkout-textarea:focus {
    border-color: var(--golden-tan);
    box-shadow: 0 0 0 2px rgba(220, 167, 110, 0.15);
}
.checkout-textarea {
    resize: vertical;
    min-height: 70px;
}

/* Pay Button */
.checkout-pay-btn {
    width: 100%;
    padding: 1.15rem;
    background: var(--forest-green);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.checkout-pay-btn:hover {
    background: #14241d;
    transform: translateY(-1px);
}
.checkout-pay-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Trust Badges */
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 51, 41, 0.08);
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--text-grey);
    line-height: 1.3;
}
.trust-badge-icon {
    color: var(--golden-tan);
    flex-shrink: 0;
}

/* Right Column: Order Summary Card */
.checkout-summary-card {
    position: sticky;
    top: 6rem;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.04);
    border: 1px solid rgba(30, 51, 41, 0.08);
    padding: 2.25rem;
}
.summary-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(30, 51, 41, 0.08);
    margin-bottom: 1.5rem;
}
.summary-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.summary-thumb-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.06);
}
.summary-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.summary-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--golden-tan);
    color: var(--forest-green);
    font-size: 0.65rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.summary-item-info {
    flex: 1;
}
.summary-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 0.2rem;
}
.summary-item-weight {
    font-size: 0.8rem;
    color: var(--text-grey);
}
.summary-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest-green);
}

.summary-breakdown {
    border-top: 1px solid rgba(30, 51, 41, 0.08);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-grey);
}
.shipping-free-badge {
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.summary-total-row {
    border-top: 1px solid rgba(30, 51, 41, 0.12);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.summary-total-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.summary-total-subtext {
    font-size: 0.7rem;
    color: var(--text-grey);
    font-weight: 400;
}
.summary-total-amount {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--forest-green);
}

/* Heritage Guarantee Card */
.heritage-guarantee-box {
    margin-top: 1.75rem;
    padding: 1.25rem;
    background: rgba(220, 167, 110, 0.08);
    border: 1px dashed rgba(220, 167, 110, 0.4);
    border-radius: 4px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.heritage-guarantee-icon {
    color: var(--golden-tan);
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.heritage-guarantee-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 0.25rem;
}
.heritage-guarantee-text {
    font-size: 0.78rem;
    color: var(--text-grey);
    line-height: 1.45;
}

/* ============================================= */
/* Order Success Page Styles                     */
/* ============================================= */
.order-success-section {
    padding: 4rem 2rem 6rem;
    min-height: calc(100vh - 80px);
    background-color: var(--light-cream);
}
.order-success-container {
    max-width: 840px;
    margin: 0 auto;
}

/* Animated Checkmark */
.success-hero-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(30, 51, 41, 0.08);
    padding: 3rem 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}
.success-check-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulseCheck 1.8s infinite ease-in-out;
}
@keyframes pulseCheck {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); }
}
.success-check-icon {
    color: #2e7d32;
    width: 36px;
    height: 36px;
}
.success-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}
.success-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-grey);
    max-width: 500px;
    margin: 0 auto;
}

/* Order Meta Grid */
.order-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: #FAF8F5;
    border: 1px solid rgba(30, 51, 41, 0.08);
    border-radius: 4px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    text-align: left;
}
.meta-box-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
    margin-bottom: 0.35rem;
}
.meta-box-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest-green);
}
.meta-box-val.gold {
    color: var(--golden-tan);
}

/* Live Status Tracker */
.status-tracker-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(30, 51, 41, 0.08);
    padding: 2.25rem 2.5rem;
    margin-bottom: 2rem;
}
.tracker-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--forest-green);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tracker-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.tracker-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: rgba(30, 51, 41, 0.1);
    z-index: 1;
}
.tracker-progress-bar {
    position: absolute;
    top: 18px;
    left: 40px;
    width: 25%;
    height: 3px;
    background: #2e7d32;
    z-index: 2;
    transition: width 0.5s ease;
}
.tracker-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    text-align: center;
}
.tracker-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid rgba(30, 51, 41, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-grey);
    transition: all 0.3s;
}
.tracker-step.completed .tracker-circle, .tracker-step.active .tracker-circle {
    background: #2e7d32;
    border-color: #2e7d32;
    color: var(--white);
}
.tracker-step-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 0.2rem;
}
.tracker-step-sub {
    font-size: 0.72rem;
    color: var(--text-grey);
}

/* Two-column Breakdown */
.success-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.success-info-box {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(30, 51, 41, 0.08);
    padding: 2rem;
}
.info-box-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--forest-green);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.info-detail-line {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.35rem;
}
.info-detail-muted {
    font-size: 0.8rem;
    color: var(--text-grey);
}

/* Success Actions */
.success-actions-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
.btn-whatsapp-updates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.15rem;
    background: #25D366;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s, transform 0.15s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}
.btn-whatsapp-updates:hover {
    background: #1eb855;
    transform: translateY(-1px);
}
.success-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.btn-outline-dark {
    padding: 1rem;
    background: transparent;
    color: var(--forest-green);
    border: 1px solid var(--forest-green);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.25s;
}
.btn-outline-dark:hover {
    background: var(--forest-green);
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .checkout-summary-card {
        position: static;
        order: -1;
    }
    .checkout-row {
        grid-template-columns: 1fr;
    }
    .checkout-row.three-col {
        grid-template-columns: 1fr;
    }
    .order-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .success-breakdown-grid {
        grid-template-columns: 1fr;
    }
    .success-secondary-actions {
        grid-template-columns: 1fr;
    }
    .tracker-steps {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .tracker-steps::before {
        display: none;
    }
    .tracker-progress-bar {
        display: none;
    }
    .tracker-step {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: 1rem;
    }
    .tracker-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}
