/* ==========================================================================
   NUTERA TRADERS - Premium Organic Store CSS
   Theme: Beige, Organic Green, & Pure White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-beige:       #F7F4EB;     /* Warm earthy beige backdrop */
    --bg-cream:       #FAF8F5;     /* Lighter soft cream backdrop */
    --white:          #FFFFFF;     /* Clean white surfaces */
    
    --green-forest:   #2C4230;     /* Deep rich brand forest green */
    --green-sage:     #5F8567;     /* Organic leaf/sage green */
    --green-light:    #E9EFEA;     /* Soft mint green highlight */
    
    --text-dark:      #222D24;     /* Deep readable near-black green */
    --text-muted:     #6A7B6E;     /* Medium earthy sage-gray */
    
    --border:         #E3DDD3;     /* Warm earthy border */
    --border-light:   #EFECE6;     /* Soft border for subtle dividers */

    /* Typography */
    --font-serif:     'DM Serif Display', serif;
    --font-sans:      'Inter', sans-serif;

    /* Layout & FX */
    --radius-sm:      8px;
    --radius:         16px;
    --radius-lg:      24px;
    --transition:     0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-soft:    0 12px 40px rgba(44, 66, 48, 0.05);
    --shadow-hover:   0 24px 60px rgba(44, 66, 48, 0.1);
    --shadow-header:  0 4px 30px rgba(44, 66, 48, 0.04);
}

/* ==========================================================================
   GLOBAL RESET & UTILITIES
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-beige);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--green-forest);
}

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

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-beige);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--green-sage);
}

/* ==========================================================================
   HEADER & STICKY NAVBAR (Glassmorphic)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    padding: 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-header);
}

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

/* Brand Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--green-sage);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(95, 133, 103, 0.3);
    flex-shrink: 0;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--green-forest);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--green-sage);
    margin-top: 2px;
}

.custom-logo {
    height: 65px;
    max-width: 260px;
    object-fit: contain;
    transition: var(--transition);
    margin-top: -4px;
    margin-bottom: -4px;
}

.site-header.scrolled .custom-logo {
    height: 52px;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--green-sage);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

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

/* Header Search */
.header-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-input {
    width: 0;
    opacity: 0;
    visibility: hidden;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-cream);
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.header-search-wrap.active .header-search-input {
    width: 220px;
    opacity: 1;
    visibility: visible;
}

.header-search-btn {
    position: absolute;
    left: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-wrap.active .header-search-btn {
    color: var(--green-sage);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-action-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-action-btn:hover {
    background: var(--green-sage);
    color: var(--white);
    border-color: var(--green-sage);
    box-shadow: 0 4px 14px rgba(95, 133, 103, 0.2);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--green-forest);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav-admin {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-sage);
    background: var(--green-light);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(95, 133, 103, 0.2);
}

.btn-nav-admin:hover {
    background: var(--green-sage);
    color: var(--white);
}

.btn-nav-logout {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.btn-nav-logout:hover {
    background: #FEE2E2;
    color: #DC2626;
    border-color: #FCA5A5;
}

.btn-nav-login {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 22px;
    background: var(--green-forest);
    color: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(44, 66, 48, 0.2);
}

.btn-nav-login:hover {
    background: var(--green-sage);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 133, 103, 0.3);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 10px;
    background: var(--bg-cream);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--green-forest);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-beige);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
}

.mobile-menu-nav a {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--green-forest);
}

.mobile-menu-nav a:hover {
    color: var(--green-sage);
}

/* ==========================================================================
   BUTTONS (Organic Aesthetic)
   ========================================================================== */
.btn-organic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2.6rem;
    background: var(--green-sage);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(95, 133, 103, 0.25);
    transition: var(--transition);
}

.btn-organic:hover {
    background: var(--green-forest);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(44, 66, 48, 0.3);
    color: var(--white);
}

.btn-outline-organic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2.6rem;
    background: transparent;
    color: var(--green-forest);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--green-sage);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-organic:hover {
    background: var(--green-sage);
    color: var(--white);
    border-color: var(--green-sage);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(95, 133, 103, 0.15);
}

/* Premium standard styling override for general buttons */
.btn {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--green-sage);
    color: var(--white);
    border: none;
    box-shadow: 0 8px 24px rgba(95, 133, 103, 0.25);
}

.btn-primary:hover {
    background: var(--green-forest);
    box-shadow: 0 12px 32px rgba(44, 66, 48, 0.3);
}

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

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

/* ==========================================================================
   PRODUCT CARDS & GRIDS
   ========================================================================== */
.products-grid, .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    position: relative;
    opacity: 1 !important; /* Ensure always visible */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green-sage);
}

.product-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-cream);
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

/* Card badges */
.product-badge-exclusive {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--green-forest);
    color: var(--white);
    padding: 0.4rem 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 66, 48, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.product-img-wrapper:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--green-sage);
    font-weight: 700;
    display: block;
    margin-bottom: 0.6rem;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--green-forest);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.product-price {
    font-size: 1.3rem;
    color: var(--green-forest);
    font-weight: 800;
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   SLIDING CART DRAWER (UX Highlight)
   ========================================================================== */
.side-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 66, 48, 0.4);
    backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.side-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: var(--white);
    z-index: 2100;
    box-shadow: -10px 0 40px rgba(44, 66, 48, 0.15);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.side-cart-drawer.open {
    transform: translateX(0);
}

.side-cart-header {
    padding: 1.8rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-cream);
}

.side-cart-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--green-forest);
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-cart-close {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-cart-close:hover {
    background: var(--bg-beige);
    color: var(--green-sage);
}

.side-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-cart-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.side-cart-item-img {
    width: 70px;
    height: 80px;
    background: var(--bg-cream);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

.side-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-cart-item-info {
    flex: 1;
}

.side-cart-item-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--green-forest);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.side-cart-item-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--green-sage);
}

.side-cart-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 4px 10px;
    background: var(--bg-cream);
    margin-top: 0.5rem;
    width: fit-content;
}

.side-cart-qty-ctrl button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 2px 8px;
    transition: var(--transition);
}

.side-cart-qty-ctrl button:hover {
    color: var(--green-forest);
}

.side-cart-qty-ctrl span {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.side-cart-item-remove {
    background: none;
    border: none;
    color: #DC2626;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 10px;
    opacity: 0.4;
    transition: var(--transition);
}

.side-cart-item-remove:hover {
    opacity: 1;
}

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

.side-cart-empty i {
    font-size: 3rem;
    color: var(--green-sage);
    opacity: 0.25;
    margin-bottom: 1.5rem;
    display: block;
}

.side-cart-empty-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.side-cart-footer {
    padding: 1.8rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-cream);
}

.side-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.side-cart-subtotal-lbl {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-muted);
}

.side-cart-subtotal-val {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--green-forest);
    font-weight: 700;
}

.side-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-side-cart-checkout {
    width: 100%;
    padding: 1rem;
    background: var(--green-sage);
    color: var(--white);
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(95, 133, 103, 0.2);
}

.btn-side-cart-checkout:hover {
    background: var(--green-forest);
    box-shadow: 0 6px 20px rgba(44, 66, 48, 0.3);
}

.btn-side-cart-viewall {
    width: 100%;
    padding: 0.9rem;
    background: var(--white);
    color: var(--green-forest);
    border: 1px solid var(--border);
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-side-cart-viewall:hover {
    border-color: var(--green-sage);
    color: var(--green-sage);
}

/* ==========================================================================
   PRODUCT QUICK VIEW MODAL (UI Highlight)
   ========================================================================== */
.quickview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 66, 48, 0.5);
    backdrop-filter: blur(8px);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

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

.quickview-modal {
    width: 100%;
    max-width: 900px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(44, 66, 48, 0.2);
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
    position: relative;
    border: 1px solid var(--border-light);
}

.quickview-overlay.open .quickview-modal {
    transform: scale(1);
    opacity: 1;
}

.quickview-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.quickview-close:hover {
    background: var(--green-sage);
    color: var(--white);
    border-color: var(--green-sage);
}

.quickview-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.quickview-img-section {
    background: var(--bg-cream);
    height: 480px;
    overflow: hidden;
    border-right: 1px solid var(--border-light);
}

.quickview-img-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quickview-info-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 480px;
    overflow-y: auto;
}

.quickview-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--green-sage);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.quickview-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--green-forest);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.quickview-price {
    font-size: 1.8rem;
    color: var(--green-forest);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.quickview-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.quickview-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quickview-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 10px 20px;
    background: var(--bg-cream);
}

.quickview-qty-ctrl button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 5px;
}

.quickview-qty-ctrl input {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    font-weight: 700;
    font-family: inherit;
    font-size: 1rem;
    color: var(--green-forest);
}

.quickview-qty-ctrl input:focus {
    outline: none;
}

/* ==========================================================================
   FORMS & INPUTS (Minimalist Earthy)
   ========================================================================== */
.form-group {
    margin-bottom: 1.8rem;
}

.form-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-weight: 800;
    color: var(--green-forest);
}

.form-control {
    width: 100%;
    padding: 1rem 1.4rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--green-sage);
    box-shadow: 0 0 0 4px rgba(95, 133, 103, 0.1);
}

textarea.form-control {
    resize: none;
}

/* Underline fields (like checkout) */
.form-control-underline {
    border: none;
    border-bottom: 1.5px solid var(--border);
    border-radius: 0;
    padding: 1rem 0;
    background: transparent;
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control-underline:focus {
    outline: none;
    border-bottom-color: var(--green-sage);
}

/* ==========================================================================
   ALERTS
   ========================================================================== */
.alert {
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: var(--green-light);
    color: var(--green-forest);
    border: 1px solid rgba(95, 133, 103, 0.25);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.06);
    color: #CC2D2D;
    border: 1px solid rgba(220, 53, 69, 0.15);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
section {
    padding: 7rem 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    color: var(--green-forest);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-title span {
    color: var(--green-sage);
}

.section-subtitle {
    text-align: center;
    color: var(--green-sage);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 800;
    font-size: 0.72rem;
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background: var(--green-forest);
    color: rgba(255, 255, 255, 0.75);
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.9rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 6px;
}

/* Footer newsletter */
.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--white);
}

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

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

.footer-newsletter-submit {
    background: var(--green-sage);
    border: none;
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-newsletter-submit:hover {
    background: var(--white);
    color: var(--green-forest);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .quickview-grid {
        grid-template-columns: 1fr;
    }
    
    .quickview-img-section, .quickview-info-section {
        height: 360px;
    }
    
    .quickview-img-section {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .btn-nav-login, .btn-nav-admin, .btn-nav-logout, .nav-user-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .products-grid, .card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .quickview-modal {
        max-width: 480px;
    }
    
    .quickview-img-section {
        height: 240px;
    }
    
    .quickview-info-section {
        padding: 1.8rem;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .products-grid, .card-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-name {
        font-size: 1.2rem;
    }
}
