/* ==========================================================================
   PURELY ECO-MARKETPLACE CORE STYLESHEET (VARIABLES & RESET ARCHITECTURE)
   ========================================================================== */
   :root {
    --white: #FFFFFF;
    --leaf-green: #4CAF50;
    --leaf-green-hover: #43A047;
    --soft-beige: #FAF3E0;
    --sky-blue: #E3F2FD;
    --light-gray: #F5F7FA;
    --dark-charcoal: #2C3E50;
    --muted-text: #7F8C8D;
    --accent-glow: rgba(76, 175, 80, 0.15);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --hover-shadow: 0 20px 40px rgba(76, 175, 80, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Light / Pastel Mode Adaptations */
[data-theme="pastel"] {
    --white: #FDFBF7;
    --light-gray: #E8F5E9;
    --soft-beige: #F5E6CA;
    --dark-charcoal: #1E272C;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    color: var(--dark-charcoal);
    background-color: var(--white);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

button, input, select {
    font-family: inherit;
    outline: none;
    border: none;
}

/* Page Loader Architecture */
.page-loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
.spinner-container {
    text-align: center;
}
.leaf-spinner {
    font-size: 3rem;
    color: var(--leaf-green);
    animation: spin 1.5s infinite linear;
}
.loader-logo {
    margin-top: 16px;
    letter-spacing: 4px;
    font-weight: 300;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Toast Engine */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast-msg {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInLeft 0.3s forwards;
}
@keyframes slideInLeft { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Global UI Blocks */
.section-header {
    margin-bottom: 48px;
}
.text-center { text-align: center; }
.pre-title {
    color: var(--leaf-green);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-primary {
    background-color: var(--leaf-green);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--leaf-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76,175,80,0.25);
}
.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-charcoal);
}
.btn-secondary:hover {
    background-color: #E2E8F0;
    transform: translateY(-2px);
}
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   NAVIGATION DESKTOP & MOBILE INTEGRATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo i { color: var(--leaf-green); }
.header-location {
    font-size: 0.8rem;
    background-color: var(--soft-beige);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.nav-menu {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-size: 0.95rem;
    color: var(--dark-charcoal);
    opacity: 0.75;
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--leaf-green);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--leaf-green);
    transition: var(--transition-smooth);
}
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.action-btn {
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark-charcoal);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}
.action-btn:hover { background-color: var(--light-gray); }
.primary-action {
    background-color: var(--light-gray);
}
.badge {
    position: absolute;
    top: 2px; right: 2px;
    background-color: var(--leaf-green);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-toggle { display: none; background: none; font-size: 1.5rem; cursor: pointer; }

/* ==========================================================================
   UPGRADED HERO SECTION ARCHITECTURE
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    overflow: hidden;
}
.sunlight-glow {
    position: absolute;
    top: -10%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(254,243,199,0.6) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}
.particle-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}
.floating-leaf-node {
    position: absolute;
    color: rgba(76, 175, 80, 0.15);
    font-size: 1.5rem;
    animation: drift 12s infinite linear;
}
@keyframes drift {
    0% { transform: translateY(110vh) rotate(0deg) translateX(0px); }
    50% { transform: translateY(50vh) rotate(180deg) translateX(50px); }
    100% { transform: translateY(-10vh) rotate(360deg) translateX(-20px); }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 3;
    padding: 0 24px;
}
.eco-tagline {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--leaf-green);
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}
.hero-title {
    font-size: 3.8rem;
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}
.hero-title .highlight {
    font-weight: 800;
    color: var(--leaf-green);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-text);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
}
.hero-search-container {
    background: var(--white);
    border-radius: 40px;
    padding: 8px 8px 8px 24px;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
.search-icon { color: var(--muted-text); margin-right: 12px; }
.hero-search-container input {
    flex: 1;
    font-size: 1rem;
    background: none;
    color: var(--dark-charcoal);
}
.search-btn {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.search-btn:hover { background-color: var(--leaf-green); }
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    opacity: 0.7;
}
.mouse-wheel {
    width: 24px; height: 40px;
    border: 2px solid var(--dark-charcoal);
    border-radius: 12px;
    display: inline-block;
    position: relative;
}
.mouse-wheel::after {
    content: '';
    position: absolute;
    top: 8px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px;
    background-color: var(--dark-charcoal);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}
@keyframes scrollMouse { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 18px; } }
.scroll-indicator p { font-size: 0.75rem; margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   DYNAMIC ECO-SUSTAINABILITY IMPACT DASHBOARD
   ========================================================================== */
.dashboard-section {
    padding: 100px 0;
    background-color: var(--white);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    background-color: var(--light-gray);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-smooth);
}
.stat-card:hover {
    transform: translateY(-5px);
    background-color: var(--white);
    box-shadow: var(--card-shadow);
}
.stat-icon {
    font-size: 2rem;
    color: var(--leaf-green);
    margin-bottom: 16px;
}
.counter {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}
.stat-label {
    font-size: 0.95rem;
    color: var(--muted-text);
    margin-bottom: 16px;
}
.progress-bar-wrap {
    height: 6px;
    width: 100%;
    background-color: rgba(0,0,0,0.05);
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: var(--leaf-green);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card.visible .progress-bar { transform: scaleX(1); }

/* ==========================================================================
   MARKETPLACE GRID SYSTEM & COMPONENT CARDS
   ========================================================================== */
.marketplace-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}
.filter-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.search-box, .sort-box {
    background-color: var(--white);
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.search-box input, .sort-box select {
    background: none;
    font-size: 0.9rem;
    color: var(--dark-charcoal);
}
.category-tabs-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 0 24px 0;
    margin-bottom: 32px;
}
.category-tabs-container::-webkit-scrollbar { display: none; }
.category-tab {
    white-space: nowrap;
    padding: 10px 22px;
    border-radius: 30px;
    background-color: var(--white);
    color: var(--dark-charcoal);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}
.category-tab:hover, .category-tab.active {
    background-color: var(--leaf-green);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.product-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 16px;
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border: 1px solid rgba(76, 175, 80, 0.2);
}
.card-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 24px; left: 24px; right: 24px;
    z-index: 4;
}
.score-badge {
    background-color: var(--dark-charcoal);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.score-badge.high { background-color: var(--leaf-green); }
.wishlist-heart-btn {
    background: rgba(255,255,255,0.9);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted-text);
    transition: var(--transition-smooth);
}
.wishlist-heart-btn.active { color: #E74C3C; }
.product-img-wrap {
    height: 200px;
    width: 100%;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}
.product-img-wrap img {
    max-height: 140px;
    object-fit: contain;
    transition: var(--transition-smooth);
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.quick-view-overlay-btn {
    position: absolute;
    bottom: -40px; left: 50%; transform: translateX(-50%);
    background-color: rgba(255,255,255,0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.product-img-wrap:hover .quick-view-overlay-btn { bottom: 12px; opacity: 1; }

.p-category { font-size: 0.75rem; color: var(--muted-text); text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.p-name { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; color: var(--dark-charcoal); }
.rating-row { color: #F1C40F; font-size: 0.8rem; margin-bottom: 12px; display: flex; gap: 2px; }
.card-footer-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
}
.p-price { font-size: 1.3rem; font-weight: 700; color: var(--dark-charcoal); }
.add-tote-btn {
    background-color: var(--light-gray);
    color: var(--dark-charcoal);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.add-tote-btn:hover { background-color: var(--leaf-green); color: var(--white); }

/* ==========================================================================
   INTERACTIVE ECO IMPACT CALCULATOR STYLE
   ========================================================================== */
.calculator-section { padding: 100px 0; background-color: var(--white); }
.calc-layout-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.calc-info { padding: 48px; }
.calc-options { margin-top: 32px; }
.calc-checkbox-group { display: flex; flex-direction: column; gap: 16px; }
.calc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: var(--white);
    padding: 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.calc-checkbox-label input { display: none; }
.custom-check {
    width: 20px; height: 20px;
    border: 2px solid var(--muted-text);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}
.calc-checkbox-label input:checked + .custom-check {
    background-color: var(--leaf-green);
    border-color: var(--leaf-green);
}
.calc-checkbox-label input:checked + .custom-check::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--white);
    font-size: 0.7rem;
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.calc-checkbox-label h4 { font-size: 1rem; margin-bottom: 4px; }
.calc-checkbox-label p { font-size: 0.85rem; color: var(--muted-text); }

.calc-results-display {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.calc-results-display h3 { font-weight: 300; font-size: 1.8rem; margin-bottom: 32px; border-left: 3px solid var(--leaf-green); padding-left: 12px; }
.calc-metric-rows { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.calc-metric-item { display: flex; align-items: center; gap: 16px; }
.c-icon { font-size: 1.8rem; color: var(--leaf-green); }
.calc-metric-item h4 { font-size: 2rem; font-weight: 700; }
.calc-metric-item p { font-size: 0.85rem; color: #BDC3C7; }
.calc-visual-progress { height: 6px; width: 100%; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.visual-fill { height: 100%; width: 40%; background: var(--leaf-green); transition: var(--transition-smooth); }
.calc-footer-note { font-size: 0.75rem; color: #95A5A6; }

/* ==========================================================================
   PURELY ECO BOX SUBSCRIPTION SYSTEM & TABLE
   ========================================================================== */
.subscriptions-section { padding: 100px 0; background-color: var(--light-gray); }
.subs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 64px; }
.sub-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.sub-card.featured {
    transform: scale(1.04);
    border: 2px solid var(--leaf-green);
}
.sub-badge {
    position: absolute;
    top: 24px; right: 24px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    background-color: var(--light-gray); color: var(--dark-charcoal);
    padding: 4px 10px; border-radius: 20px;
}
.feature-badge { background-color: var(--leaf-green); color: var(--white); }
.sub-card h3 { font-size: 1.6rem; margin-bottom: 16px; font-weight: 500; }
.sub-price { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; color: var(--dark-charcoal); }
.sub-price span { font-size: 1rem; color: var(--muted-text); font-weight: 400; }
.sub-desc { font-size: 0.95rem; color: var(--muted-text); margin-bottom: 32px; line-height: 1.5; }
.sub-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.sub-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.sub-features li i { color: var(--leaf-green); }
.sub-btn { margin-top: auto; }

.comparison-container h3 { font-size: 1.8rem; font-weight: 300; margin-bottom: 24px; text-align: center; }
.table-wrapper { background-color: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--card-shadow); }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; }
.comparison-table th, .comparison-table td { padding: 18px 24px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.comparison-table th { background-color: var(--dark-charcoal); color: var(--white); font-weight: 500; }
.text-green { color: var(--leaf-green); }

/* ==========================================================================
   ADVANCED CART PANEL, WISHLIST MODAL & OVERLAYS
   ========================================================================== */
.side-panel-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
    z-index: 2000; display: none; opacity: 0; transition: var(--transition-smooth);
}
.side-panel {
    position: fixed; top: 0; right: -450px; width: 450px; height: 100%;
    background-color: var(--white); z-index: 2001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    display: flex; flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.side-panel.open { right: 0; }
.panel-header { padding: 24px; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.panel-header h3 { font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.close-panel-btn { background: none; font-size: 1.3rem; cursor: pointer; color: var(--dark-charcoal); }
.panel-body { padding: 24px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }

/* Cart Item Cards UI */
.cart-item-node, .wish-item-node {
    display: flex; gap: 16px; align-items: center; background-color: var(--light-gray); padding: 12px; border-radius: var(--radius-sm);
    animation: fadeIn 0.3s forwards;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.c-item-img { width: 60px; height: 60px; object-fit: contain; background: #FFF; border-radius: 4px; padding: 4px; }
.c-item-details { flex: 1; }
.c-item-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.c-item-price { font-size: 0.9rem; color: var(--leaf-green); font-weight: 700; }
.quantity-ctrl-group { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 24px; height: 24px; background: var(--white); border-radius: 50%; cursor: pointer; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.qty-val { font-size: 0.85rem; font-weight: 600; }
.remove-item-node-btn { background: none; color: #E74C3C; cursor: pointer; font-size: 1rem; padding: 4px; }

.panel-footer { padding: 24px; border-top: 1px solid rgba(0,0,0,0.05); background-color: var(--light-gray); }
.coupon-box { display: flex; gap: 8px; margin-bottom: 16px; }
.coupon-box input { flex: 1; padding: 10px 14px; border-radius: 20px; font-size: 0.85rem; background: #FFF; }
.coupon-box button { background-color: var(--dark-charcoal); color: var(--white); padding: 0 16px; border-radius: 20px; cursor: pointer; font-size: 0.85rem; }
.summary-line { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 8px; }
.text-discount { color: #E74C3C; font-weight: 600; }
.panel-divider { border: 0; height: 1px; background: rgba(0,0,0,0.08); margin: 12px 0; }
.total-line { font-size: 1.2rem; font-weight: 700; color: var(--dark-charcoal); }
.checkout-btn { margin-top: 12px; }

/* Quick View Modal UI Layout */
.modal-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    z-index: 3000; display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-content-card {
    background-color: var(--white); max-width: 800px; width: 100%; border-radius: var(--radius-lg);
    padding: 40px; position: relative; animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes zoomIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close-btn { position: absolute; top: 24px; right: 24px; background: none; font-size: 1.5rem; cursor: pointer; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.modal-img-frame { background-color: var(--light-gray); border-radius: var(--radius-md); p-8; display: flex; align-items: center; justify-content: center; height: 300px; }
.modal-img-frame img { max-height: 240px; object-fit: contain; }
.modal-body-desc h2 { font-size: 2rem; font-weight: 400; margin-bottom: 8px; }
.modal-meta-row { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.modal-body-desc p { color: var(--muted-text); font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; }

/* ==========================================================================
   TESTIMONIAL SLIDER LAYER
   ========================================================================== */
.testimonials-section { padding: 100px 0; background-color: var(--white); }
.testimonials-slider-wrapper { max-width: 750px; margin: 0 auto; overflow: hidden; position: relative; }
.testimonials-track { display: flex; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.testimonial-slide { min-width: 100%; padding: 0 16px; text-align: center; }
.review-text { font-size: 1.3rem; font-style: italic; font-weight: 300; line-height: 1.6; margin: 20px 0; color: var(--dark-charcoal); }
.user-meta { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.user-avatar { width: 44px; height: 44px; background-color: var(--soft-beige); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: var(--dark-charcoal); }
.user-meta h4 { font-size: 1rem; font-weight: 600; }
.user-meta p { font-size: 0.8rem; color: var(--muted-text); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(0,0,0,0.1); cursor: pointer; transition: var(--transition-smooth); }
.dot.active { background-color: var(--leaf-green); width: 24px; border-radius: 4px; }

/* ==========================================================================
   BOT ARCHITECTURE & FLOATING LAYER INTERFACES
   ========================================================================== */
.chatbot-trigger-fab {
    position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px;
    background-color: var(--leaf-green); color: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    cursor: pointer; box-shadow: 0 10px 30px rgba(76,175,80,0.3); z-index: 1500;
    transition: var(--transition-smooth);
}
.chatbot-trigger-fab:hover { transform: scale(1.08) rotate(5deg); }
.chatbot-window {
    position: fixed; bottom: 100px; right: 24px; width: 360px; height: 480px;
    background-color: var(--white); border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); z-index: 1501; display: none;
    flex-direction: column; overflow: hidden; animation: zoomIn 0.25s forwards;
}
.chat-header { background-color: var(--dark-charcoal); color: var(--white); padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-brand { display: flex; align-items: center; gap: 10px; }
.chat-brand h4 { font-size: 0.95rem; }
.status-indicator { font-size: 0.7rem; color: var(--leaf-green); display: block; }
#chat-close-btn { background: none; color: var(--white); cursor: pointer; }
.chat-messages { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background-color: var(--light-gray); }
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; line-height: 1.4; }
.chat-bubble.assistant { background-color: var(--white); align-self: flex-start; color: var(--dark-charcoal); border-bottom-left-radius: 0; }
.chat-bubble.user { background-color: var(--leaf-green); color: var(--white); align-self: flex-end; border-bottom-right-radius: 0; }
.chat-input-area { padding: 12px; display: flex; gap: 8px; background: #FFF; border-top: 1px solid rgba(0,0,0,0.05); }
.chat-input-area input { flex: 1; font-size: 0.85rem; padding: 8px 12px; background-color: var(--light-gray); border-radius: 20px; }
.chat-input-area button { background-color: var(--leaf-green); color: var(--white); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }

.back-to-top-fab {
    position: fixed; bottom: 24px; right: 100px; width: 44px; height: 44px;
    background-color: var(--white); color: var(--dark-charcoal); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--card-shadow);
    z-index: 1400; cursor: pointer; display: none; transition: var(--transition-smooth);
}
.back-to-top-fab:hover { background-color: var(--light-gray); transform: translateY(-3px); }

/* ==========================================================================
   GLOBAL FOOTER SYSTEM BUILD
   ========================================================================== */
.global-footer { background-color: var(--dark-charcoal); color: var(--white); padding: 80px 0 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.20fr 0.8fr 0.8fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand-column .logo { color: var(--white); margin-bottom: 16px; }
.brand-pitch { color: #BDC3C7; font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.geo-tag { font-size: 0.8rem; color: var(--leaf-green); font-weight: 500; }
.footer-grid h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 8px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #BDC3C7; font-size: 0.9rem; }
.footer-links a:hover { color: var(--leaf-green); transform: translateX(4px); }
.newsletter-text { color: #BDC3C7; font-size: 0.9rem; margin-bottom: 16px; }
.newsletter-input-wrap { display: flex; background: rgba(255,255,255,0.06); padding: 6px; border-radius: 30px; }
.newsletter-input-wrap input { background: none; flex: 1; padding: 0 16px; color: var(--white); font-size: 0.85rem; }
.newsletter-input-wrap button { background-color: var(--leaf-green); color: var(--white); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }

.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.05); padding: 24px 0; font-size: 0.8rem; color: #95A5A6; }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.social-row { display: flex; gap: 16px; font-size: 1.2rem; }
.social-row a { color: #BDC3C7; }
.social-row a:hover { color: var(--leaf-green); }

/* ==========================================================================
   COMPREHENSIVE ADAPTIVE RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */
/* COMPREHENSIVE ADAPTIVE RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .subs-grid { grid-template-columns: repeat(1, 1fr); }
    .sub-card.featured { transform: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-layout-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) 
{
    .hero-title { font-size: 2.6rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .modal-grid { grid-template-columns: 1fr; }
    .modal-img-frame { height: 200px; }
    .side-panel { width: 100%; right: -100%; }
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background-color: var(--white); flex-direction: column; padding: 40px; gap: 24px;
        transition: var(--transition-smooth); z-index: 999;
    }
    .nav-menu.open { left: 0; }
    .header-location { display: none; }
}

@media (max-width: 480px) 
{
    .products-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-cta-group { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .comparison-table th:nth-child(3), .comparison-table td:nth-child(3),
    .comparison-table th:nth-child(4), .comparison-table td:nth-child(4) { display: none; }
}