/**
 * =============================================================================
 * KALP MUKHWASS - PROFESSIONAL E-COMMERCE STYLESHEET
 * =============================================================================
 * 
 * Description: Modern, responsive e-commerce stylesheet for premium mouth
 *              fresheners and mukhwass products. Optimized for performance
 *              and mobile-first design.
 * 
 * Author: Custom Development
 * Version: 2.0.0
 * Last Updated: February 2026
 * License: Copyright-free, Open Source
 * 
 * Features:
 * - Mobile-first responsive design
 * - CSS custom properties for easy theming
 * - Optimized for performance and fast rendering
 * - Accessibility-focused (WCAG 2.1 AA compliant)
 * - Cross-browser compatibility
 * - Professional order tracking UI
 * 
 * Browser Support:
 * - Chrome 90+
 * - Firefox 88+
 * - Safari 14+
 * - Edge 90+
 * - Mobile browsers (iOS Safari, Chrome Mobile)
 * 
 * Performance Optimizations:
 * - Hardware-accelerated animations using transform and opacity
 * - Efficient CSS selectors for faster rendering
 * - Minimal repaints and reflows
 * - Optimized for 60fps animations
 * 
 * Structure:
 * 1. CSS Variables & Theme
 * 2. Reset & Base Styles
 * 3. Layout Components (Header, Footer, Navigation)
 * 4. Product Cards & Grids
 * 5. Order Tracking System
 * 6. Modals & Overlays
 * 7. Forms & Inputs
 * 8. Responsive Media Queries
 * 
 * =============================================================================
 */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Professional Palette */
    --primary-color: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #40916c;

    --secondary-color: #f8f9fa;
    --accent-color: #40916c;

    /* Neutrals */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Status Colors */
    --success: #52b788;
    --error: #ef476f;
    --warning: #ffd60a;
    --info: #118ab2;

    /* Typography */
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Lora', Georgia, serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Sticky header/anchor offsets */
    --main-header-height: 140px;
    --anchor-scroll-offset: calc(var(--main-header-height) + 12px);
}

/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-scroll-offset);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    overflow-x: hidden;
}

button,
[role="button"],
a,
input[type="button"],
input[type="submit"] {
    touch-action: manipulation;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

/* Top Bar */
.header-topbar {
    background: var(--gray-900);
    color: var(--white);
    font-size: 0.875rem;
    padding: var(--spacing-sm) 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: var(--spacing-xl);
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.topbar-item.highlight {
    color: var(--white);
    font-weight: 500;
}

.topbar-item.highlight .delivery-amount {
    color: #9ff1cf;
    font-weight: 700;
}

/* Main Header */
.header-main {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-200);
}

.header-content {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    gap: var(--spacing-xl);
    align-items: center;
}

.header-content--no-location {
    grid-template-columns: auto 1fr auto auto;
}

.header-spacer {
    width: 100%;
    min-height: 1px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 65px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/* Location Selector */
.location-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid var(--gray-200);
}

.location-selector:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.location-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.location-text {
    display: flex;
    flex-direction: column;
}

.location-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1;
}

.location-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
}

.location-arrow {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Search Box */
.search-container {
    width: 100%;
    max-width: 600px;
}

.header-actions.desktop-only .search-container {
    width: clamp(220px, 22vw, 320px);
    min-width: 220px;
    max-width: 320px;
    flex: 0 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    position: relative;
}

.search-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-full);
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.search-box:focus-within {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
    animation: searchPulse 2s ease-in-out infinite;
}

.search-box:focus-within::before {
    opacity: 0.1;
}

.search-box.searching {
    border-color: var(--primary-color);
    animation: searchPulseActive 1.5s ease-in-out infinite;
}

@keyframes searchPulseActive {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(45, 106, 79, 0.25), 0 0 15px rgba(45, 106, 79, 0.1);
    }
}

@keyframes searchPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(45, 106, 79, 0.15);
    }
}

.search-icon {
    color: var(--gray-500);
    font-size: 1.125rem;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9375rem;
    color: var(--gray-900);
}

.search-input::placeholder {
    color: var(--gray-500);
}

.search-clear {
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    background: var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.search-clear:hover {
    background: var(--gray-300);
    color: var(--gray-700);
}

/* ==================== BRAND (ROUNDED LOGO + TEXT) ==================== */

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

/* Brand with Location Wrapper */
.brand-with-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Location Icon */
.mobile-location-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.mobile-location-icon:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.mobile-location-icon:active {
    transform: scale(0.95);
}

/* ROUNDED LOGO CONTAINER */
.brand-logo-wrap {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    border-radius: 18px;
    /* smooth rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* LOGO IMAGE INSIDE */
.brand-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* BRAND TEXT */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.08em;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

/* ==================== TABLET ==================== */
@media (max-width: 992px) {
    .brand-logo-wrap {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .brand-name {
        font-size: 1.6rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
    .brand-logo-wrap {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .brand-name {
        font-size: 1.4rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.3em;
    }

    /* Show mobile location icon on mobile */
    .mobile-location-icon {
        display: flex;
    }
}



/* ==================== MODERN SEARCH BAR ==================== */
.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-box-modern {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 50px;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box-modern:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.15);
}

.search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1rem;
    padding-left: 0.25rem;
}

.search-input-modern {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: transparent;
    padding: 0.25rem 0.5rem;
}

/* ==================== CATEGORY NAVIGATION (Premium Card Style) ==================== */
.category-nav {
    background-color: transparent;
    /* Clean blend */
    padding: 5px 0 20px;
    /* Reduced top padding as title is outside */
    margin-top: 0;
}

/* Ensure container is block so H3 sits on top of Scroll Div */
.category-nav .container {
    display: block;
    max-width: 1400px;
    /* Match header container */
    margin: 0 auto;
    padding: 0;
    /* Hide scrollbar by masking */
}

.category-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-top: 30px;
    /* Space from hero slider */
    margin-bottom: 5px;
    padding: 0 20px;
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Center title on desktop to match centered scroll */
@media (min-width: 1024px) {
    .category-section-title {
        text-align: center;
        padding-left: 0;
    }
}

.category-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 25px 20px 25px;
    /* Ample padding for shadows/lift */
    margin-top: 0;
    /* Reset negative margin to avoid clipping issues */
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

/* Center on larger screens if items fit */
@media (min-width: 1024px) {
    .category-scroll {
        justify-content: center;
    }
}

.category-scroll::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent;
    -webkit-appearance: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 20px;
    min-width: 110px;
    max-width: 110px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    /* Context for z-index */
    z-index: 2;
    /* Sit above title */
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #f8f9fa;
    /* Very subtle grey */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gray-600);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.category-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.2;
}

/* Hover State */
.category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    /* Lift effect */
}

.category-item:hover .category-icon {
    transform: scale(1.05);
    /* Micro-interaction */
    color: var(--primary-color);
}

/* Active State */
.category-item.active {
    background-color: #e8f5e9;
    /* Soft brand color (assuming green primary) */
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.15);
}

.category-item.active .category-icon {
    background-color: var(--white);
    color: var(--primary-color);
}

.category-item.active .category-label {
    color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .category-scroll {
        padding: 10px 15px;
        gap: 12px;
    }

    .category-item {
        min-width: 95px;
        padding: 10px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 6px;
    }

    .category-label {
        font-size: 0.75rem;
    }
}

.search-btn-modern:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.search-btn-modern i {
    font-size: 0.875rem;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

/* Old search styles - keep for backward compatibility but hide */
.search-box {
    display: none !important;
}

.search-icon {
    display: none;
}

.search-input {
    display: none;
}

.search-clear {
    display: none !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.header-btn {
    display: flex;
    flex-direction: row;
    /* Changed from column to row for better text alignment if needed, or just center */
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
    height: 44px;
    /* Ensure consistent height */
    text-decoration: none;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.header-btn:hover {
    background: #f3f7f4;
    color: var(--primary-color);
    box-shadow: inset 0 -2px 0 var(--primary-color);
    /* Add primary color on hover for better feedback */
}

.header-btn:hover span:not(.badge) {
    color: var(--primary-color);
}

.header-btn:focus-visible {
    outline: none;
    background: #f3f7f4;
    color: var(--primary-color);
    box-shadow: inset 0 -2px 0 var(--primary-color);
}

.header-btn:focus-visible span:not(.badge) {
    color: var(--primary-color);
}

/* Removed icon style as icons are gone */

.header-btn span:not(.badge) {
    font-size: 0.95rem;
    /* Increased from 0.75rem */
    font-weight: 600;
    /* Bolder */
    color: var(--gray-800);
    /* Darker text */
    letter-spacing: 0.02em;
    text-transform: uppercase;
    /* Optional: professional look */
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    color: var(--gray-700);
}

.mobile-search {
    display: none;
    padding: 0.75rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 999;
}

.mobile-search .search-box {
    position: relative;
}

.mobile-search .search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.9375rem;
    background: var(--white);
    -webkit-appearance: none;
    appearance: none;
}

.mobile-search .search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.mobile-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    pointer-events: none;
}

/* ==================== CATEGORY NAVIGATION ==================== */
.category-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-lg) 0;
    position: relative;
    top: auto;
    z-index: 4;
    overflow-x: auto;
}

#categoryNav,
#productsSection,
#productsSectionTitle,
#aboutPage {
    scroll-margin-top: var(--anchor-scroll-offset);
}

.category-scroll {
    display: flex;
    gap: var(--spacing-md);
    min-width: min-content;
    flex-wrap: nowrap;
    padding-bottom: var(--spacing-sm);
}

.category-nav::-webkit-scrollbar {
    height: 6px;
}

.category-nav::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.category-nav::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-sm);
}

.category-nav::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.category-chip {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.category-chip:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.category-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    min-height: calc(100vh - 400px);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

html.kalp-route-home #homePage {
    display: block !important;
}

html.kalp-route-wishlist #homePage,
html.kalp-route-about #homePage,
html.kalp-route-account #homePage,
html.kalp-route-checkout #homePage {
    display: none !important;
}

html.kalp-route-wishlist #wishlistPage,
html.kalp-route-about #aboutPage,
html.kalp-route-account #accountPage,
html.kalp-route-checkout #checkoutPage {
    display: block !important;
}

html.kalp-products-only-view #homePage>.products-section {
    display: block !important;
}

html.kalp-products-only-view #homePage>:not(.products-section) {
    display: none !important;
}

html.kalp-products-only-view #homePage .products-section {
    padding-top: 16px;
}

/* ==================== HERO BANNER - FINAL (OVERLAP SAFE) ==================== */

/* ==================== HERO BANNER - PREMIUM DESIGN ==================== */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f5 50%, #f8f9fa 100%);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Decorative background elements */
.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* HERO HEIGHT */
.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* SLIDES AREA (RESERVED SPACE) */
.hero-slides-area {
    position: relative;
    flex: 1;
}

/* SLIDES */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

/* CONTENT CONTAINER */
.hero-slide-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    height: 100%;
}

/* TEXT SECTION */
.hero-slide-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Premium badge/tag */
.hero-slide-text::before {
    content: '✨ Premium Quality Since 2004';
    display: inline-block;
    width: fit-content;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.1), rgba(45, 106, 79, 0.05));
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(45, 106, 79, 0.2);
}

.hero-slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Gradient text effect for title */
.hero-slide:nth-child(1) .hero-slide-title {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slide-tagline {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    color: #5a6c7d;
    line-height: 1.7;
    max-width: 520px;
    font-weight: 400;
}

/* PREMIUM CTA BUTTON */
.hero-slide-cta {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-slide-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-slide-cta:hover::before {
    width: 300px;
    height: 300px;
}

.hero-slide-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(45, 106, 79, 0.35);
}

.hero-slide-cta:active {
    transform: translateY(-1px);
}

/* IMAGE SECTION - PREMIUM STYLING */
.hero-slide-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Decorative background for image */
.hero-slide-image::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.08), rgba(45, 106, 79, 0.03));
    border-radius: 30px;
    transform: rotate(-6deg);
    z-index: 0;
}

.hero-slide-image::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    background: linear-gradient(225deg, rgba(45, 106, 79, 0.05), transparent);
    border-radius: 30px;
    transform: rotate(3deg);
    z-index: 0;
}

/* PREMIUM IMAGE CONTAINER */
.hero-slide-image img {
    position: relative;
    z-index: 1;
    max-width: 480px;
    max-height: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* PREMIUM BORDER & STYLING */
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 24px;
    border: 2px solid rgba(45, 106, 79, 0.15);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-slide-image:hover img {
    transform: scale(1.03) translateY(-5px);
}

/* ELEGANT SLIDER DOTS */
.hero-slider-dots {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5));
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(45, 106, 79, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.slider-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dot:hover {
    background: rgba(45, 106, 79, 0.4);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.slider-dot.active::after {
    border-color: rgba(45, 106, 79, 0.2);
}

/* ==================== TABLET RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-slides-wrapper {
        height: 550px;
    }

    .hero-slide-container {
        gap: 3rem;
        padding: 3rem 2rem;
    }

    .hero-slide-image img {
        max-width: 400px;
        max-height: 340px;
        padding: 1.5rem;
    }
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {

    .hero-banner::before,
    .hero-banner::after {
        display: none;
    }

    .hero-slides-wrapper {
        height: auto;
        min-height: 600px;
    }

    .hero-slide-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 2.5rem 1.5rem;
    }

    .hero-slide-text::before {
        align-self: center;
    }

    .hero-slide-tagline {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-slide-image {
        order: -1;
    }

    .hero-slide-image::before,
    .hero-slide-image::after {
        width: 95%;
        height: 95%;
    }

    .hero-slide-image img {
        max-width: 320px;
        max-height: 280px;
        padding: 1.25rem;
        border-radius: 20px;
    }

    .hero-slide-cta {
        align-self: center;
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

    .hero-slider-dots {
        height: 50px;
        gap: 0.5rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 24px;
    }
}

/* ==================== SMALL MOBILE ==================== */
@media (max-width: 480px) {
    .hero-slides-wrapper {
        min-height: 550px;
    }

    .hero-slide-container {
        padding: 2rem 1.25rem;
        gap: 2rem;
    }

    .hero-slide-image img {
        max-width: 280px;
        max-height: 240px;
        padding: 1rem;
    }

    .hero-slide-title {
        font-size: 1.75rem;
    }
}


/* ==================== SECTIONS ==================== */
.categories-section,
.products-section,
.offers-section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin: 0;
}

/* ==================== CATEGORIES SECTION - HIDDEN ==================== */
.categories-section {
    display: none !important;
}

.categories-grid {
    display: none !important;
}

.category-card {
    display: none !important;
}

.category-image {
    display: none;
}

.category-image img {
    display: none;
}

.category-name {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    margin: 0;
}

.category-tagline,
.category-count {
    display: none;
}

/* ==================== PRODUCTS GRID ==================== */
/**
 * Product Grid Layout
 * - Responsive grid that adapts to screen size
 * - Auto-fill creates as many columns as fit
 * - Minimum column width: 240px
 * - Ensures consistent product card sizing
 */
.products-grid {
    display: grid;
    /* Desktop: 4 columns strictly */
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    gap: 1.25rem;
}

/**
 * Product Card Component – Redesign
 * Clean card with: circular image top-center, name, weight pills, Add + price footer.
 * Matches uploaded product-card photo.
 */
/**
 * Product Card Component – Bestseller Redesign
 * Matches uploaded image: Earthy tones, ribbon, curved image container, dropdown.
 */
/* ---- Product Card Container ---- */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.pc-inner-curve {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ---- Badge/Ribbon (Redesigned) ---- */
.pc-ribbon-wrapper {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.pc-ribbon {
    background: #4a6741;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    /* Pill shape */
    box-shadow: 0 4px 10px rgba(74, 103, 65, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}

.pc-ribbon::before {
    content: '★';
    font-size: 0.7rem;
    color: #ffd700;
}

/* ---- Image Container ---- */
.pc-image-container-curve {
    width: 100%;
    background-color: #f8f8f8;
    /* Lighter gray */
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.pc-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.pc-image-container-curve:hover .pc-image-hover {
    opacity: 1;
    transform: scale(1.06);
    /* Slower, subtler zoom */
}

.pc-image-curve {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.pc-image-container-curve:hover .pc-image-curve {
    transform: scale(1.06);
    opacity: 0;
}

/* ---- Content Body ---- */
.pc-content-curve {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
    /* Aligned left looks more modern */
}

/* Redesigned Title */
/* Redesigned Title */
.pc-title-curve {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
    font-family: var(--font-primary);
}

/* Metadata Row (Weight) */
.pc-weight-row {
    margin-bottom: 12px;
}

.pc-weight-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pc-weight-menu {
    /* If select is used */
    width: 100%;
    padding: 8px 12px;
}

/* Price Section */
/* Price Section - Professional & Prominent */
.pc-price-curve {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
}

/* Footer Actions */
.pc-footer-row {
    display: flex;
    gap: 12px;
    margin-top: auto;
    width: 100%;
    align-items: center;
}

/* Quantity Box (Capsule Style) */
.pc-qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    /* Capsule */
    background: #fff;
    height: 42px;
    flex-shrink: 0;
    overflow: hidden;
}

.pc-qty-btn-curve {
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.pc-qty-btn-curve:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.pc-qty-btn-curve:disabled,
.pc-qty-btn-curve.disabled {
    cursor: not-allowed;
    opacity: 0.45;
    color: #9ca3af;
}

.pc-qty-btn-curve:disabled:hover,
.pc-qty-btn-curve.disabled:hover {
    background: transparent;
    color: #9ca3af;
}

.pc-qty-val-curve {
    width: 32px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

/* Add Button (Pill Style) */
.pc-btn-curve {
    flex-grow: 1;
    height: 42px;
    background-color: #1a1a1a;
    /* Black/Dark Button for premium contrast */
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    /* Pill */
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.pc-btn-curve:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pc-btn-curve.added {
    background-color: #4a6741;
    color: #fff;
}

.pc-btn-curve.pc-oos {
    background-color: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.pc-inner-curve {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ---- Ribbon ---- */
.pc-ribbon-wrapper {
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 10;
}

.pc-ribbon {
    background: #4a6741;
    /* Dark Green */
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px 4px 8px;
    /* Extra padding right for shape if needed */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 4px 4px 0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pc-ribbon::before {
    content: '★';
    font-size: 0.7rem;
    color: #f7d54e;
}

/* ---- Image Container ---- */
.pc-image-container-curve {
    width: 100%;
    background-color: #f3f1e6;
    /* Sandy/Beige background placeholder if image loads slow */
    padding: 0;
    /* Full bleed */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    aspect-ratio: 4 / 5;
    /* Taller to fit bottle */
    overflow: hidden;
}

.pc-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Match base image for seamless transition */
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    background-color: #f3f1e6;
    /* Match container bg */
}

.pc-image-container-curve:hover .pc-image-hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Base image transition */
.pc-image-curve {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.pc-image-container-curve:hover .pc-image-curve {
    transform: scale(1.08);
    /* Synchronized zoom */
    opacity: 0;
    /* Fade out base to prevent show-through */
}

/* Remove separate rule since we handled it above */

/* ---- Content Body ---- */
/* Duplicate styles removed to prevent conflicts */

/* ---- Weight Row (Dropdown) ---- */
.pc-weight-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
    width: 100%;
}

.pc-weight-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.pc-select-wrapper {
    width: 100%;
    position: relative;
}

.pc-weight-select {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M2 4l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.pc-weight-select:focus {
    outline: none;
    border-color: #aaa;
}

.pc-weight-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    padding: 6px 0;
    /* Align with label */
}

/* ---- Footer Actions ---- */
.pc-footer-row {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

/* Left: Qty Box */
.pc-qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    height: 40px;
    flex-shrink: 0;
}

.pc-qty-box.static {
    /* mimic the look of input */
    padding: 0 4px;
}

.pc-qty-btn-curve,
.pc-qty-static {
    width: 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
}

.pc-qty-btn-curve:hover {
    background: #eee;
    color: #000;
}

.pc-qty-val-curve {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Right: Add Button */
.pc-btn-curve {
    flex-grow: 1;
    height: 40px;
    background-color: var(--primary-color);
    /* Site primary color */
    color: #fff;
    /* White text */
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.pc-btn-curve:hover {
    background-color: var(--primary-dark);
}

.pc-btn-curve.added {
    background-color: #4a6741;
    color: #fff;
}

.pc-btn-curve.pc-oos {
    background-color: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
}

/* Legacy overrides or placeholders if needed */
.pc-oos-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 250, 252, 0.78) 100%);
    backdrop-filter: blur(1px);
    z-index: 3;
    border-radius: 12px;
    pointer-events: none;
}

/* ---- Legacy selectors we no longer use but may be queried ---- */
/* Legacy selectors removed (empty block) */

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: var(--spacing-lg);
}

.no-results p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

/* ==================== OFFERS SECTION ==================== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.offer-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.offer-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.offer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.offer-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* ==================== CART SIDEBAR ==================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    z-index: 2000;
    transition: var(--transition-base);
}

.cart-sidebar.open {
    right: 0;
    animation: cartSlideIn 0.3s ease-out;
}

@keyframes cartSlideIn {
    from {
        right: -100%;
    }

    to {
        right: 0;
    }
}

.cart-sidebar.open .cart-panel {
    animation: cartPanelPulse 0.5s ease-out;
}

@keyframes cartPanelPulse {
    0% {
        transform: translateX(100%) scale(0.95);
    }

    60% {
        transform: translateX(0) scale(1.02);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--gray-200);
}

.cart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.cart-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    transition: var(--transition-fast);
}

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

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-xl);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    animation: cartItemFadeIn 0.3s ease-out;
}

@keyframes cartItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.25rem;
}

.cart-item-weight {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.cart-item-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.remove-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--error);
    background: rgba(239, 71, 111, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.remove-btn:hover {
    background: var(--error);
    color: var(--white);
}

.empty-cart {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: var(--spacing-2xl);
}

.empty-cart i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: var(--spacing-lg);
}

.empty-cart h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.empty-cart p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.empty-cart .btn-primary {
    max-width: 200px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.cart-footer {
    padding: var(--spacing-xl);
    border-top: 1px solid var(--gray-200);
}

.cart-summary {
    margin-bottom: var(--spacing-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.summary-row.total {
    padding-top: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.summary-divider {
    height: 1px;
    background: var(--gray-200);
    margin: var(--spacing-md) 0;
}

.free-delivery-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.free-delivery-note i {
    color: var(--primary-color);
}

.btn-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.btn-checkout:hover {
    background: var(--primary-dark);
}

/* ==================== WISHLIST PAGE ==================== */
.page-header {
    text-align: center;
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.wishlist-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    padding-bottom: var(--spacing-3xl);
}

/* Wishlist Product Card */
.wishlist-product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.wishlist-product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.wishlist-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.wishlist-card-details {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wishlist-card-name {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-card-price {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.wishlist-card-actions {
    padding: 0 1rem 1rem 1rem;
    display: flex;
    gap: 0.625rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-add-wishlist-cart {
    flex: 1 1 150px;
    min-width: 140px;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-add-wishlist-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-add-wishlist-cart:active {
    transform: translateY(0);
}

.btn-add-wishlist-cart i {
    font-size: 0.875rem;
}

.btn-remove-wishlist {
    flex: 1 1 120px;
    min-width: 120px;
    padding: 0.75rem 1rem;
    background: var(--error);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-remove-wishlist:hover {
    background: #d63447;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-remove-wishlist:active {
    transform: translateY(0);
}

.btn-remove-wishlist i {
    font-size: 0.875rem;
}

.wishlist-grid {
    min-height: 400px;
}

.wishlist-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.wishlist-empty .empty-icon {
    font-size: 5rem;
    color: var(--gray-300);
    margin-bottom: var(--spacing-lg);
}

.wishlist-empty h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.wishlist-empty p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.empty-state i {
    font-size: 5rem;
    color: var(--gray-300);
    margin-bottom: var(--spacing-lg);
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.empty-state p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

/* ==================== ACCOUNT PAGE ==================== */
.account-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-2xl);
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
}

.account-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.account-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.profile-email {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.menu-item:hover {
    background: var(--gray-50);
}

.menu-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.menu-item.logout {
    color: var(--error);
}

.menu-item.logout:hover {
    background: rgba(239, 71, 111, 0.1);
}

.account-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
}

.account-tab {
    display: none;
}

.account-tab.active {
    display: block;
}

.tab-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xl);
}

.account-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--gray-900);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

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

.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.no-orders {
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.no-orders i {
    font-size: 4rem;
    color: var(--gray-300);
}

.no-orders h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.no-orders p {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0 0 1.5rem;
}

.no-orders .btn-primary {
    max-width: 200px;
}

/* ==================== ORDER CARDS - PROFESSIONAL DESIGN ==================== */
/* Modern, Blinkit-inspired order card design with improved UX */

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.order-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-300);
}

/* Order Header Section */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.order-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-id {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.order-date-small {
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 400;
}

/* Order Status Badges */
.order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.order-status i {
    font-size: 0.75rem;
}

.status-pending {
    background: rgba(255, 193, 7, 0.13);
    color: #a16207;
}

.status-confirmed {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.status-delivered {
    background: rgba(82, 183, 136, 0.12);
    color: #2d8659;
}

.status-processing {
    background: rgba(255, 193, 7, 0.12);
    color: #d68400;
}

.status-shipped {
    background: rgba(17, 138, 178, 0.12);
    color: #0d7a9e;
}

.status-out-for-delivery {
    background: rgba(103, 58, 183, 0.12);
    color: #5e35b1;
}

.status-cancelled {
    background: rgba(239, 71, 111, 0.12);
    color: #c62828;
}

/* Order Items Section */
.order-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-700);
    padding: 0.375rem 0;
}

.order-item-row span:first-child {
    font-weight: 500;
}

.order-item-row span:last-child {
    color: var(--gray-600);
    font-weight: 600;
}

/* Order Total Section */
.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.order-total-row span:first-child {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
}

.order-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* View Order Details Button */
.order-details-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    color: var(--gray-800);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.order-details-btn:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
}

.order-details-btn i {
    font-size: 0.875rem;
}

.order-retry-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    background: #145c2e;
    color: #ffffff;
    border: 1px solid #145c2e;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.order-retry-btn:hover {
    background: #0f4a25;
    border-color: #0f4a25;
}

.order-retry-btn.order-check-btn {
    background: var(--gray-100);
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.order-retry-btn.order-check-btn:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
}

/* Legacy order footer styles - keeping for backward compatibility */
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.order-date {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ==================== ORDER DETAILS MODAL ==================== */
/* Professional order tracking modal with timeline */

.order-details-modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

/* Order Timeline - Blinkit Style */
.order-timeline {
    position: relative;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.timeline-step {
    position: relative;
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

/* Timeline Line */
.timeline-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--gray-300);
}

.timeline-step.completed:not(:last-child)::before {
    background: var(--success);
}

/* Timeline Icon */
.timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    color: var(--gray-500);
    font-size: 0.875rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-step.completed .timeline-icon {
    background: var(--success);
    color: var(--white);
}

.timeline-step.active .timeline-icon {
    background: var(--primary-color);
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(45, 106, 79, 0);
    }
}

/* Timeline Content */
.timeline-content {
    flex: 1;
    padding-top: 0.25rem;
}

.timeline-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.timeline-step.active .timeline-title {
    color: var(--primary-color);
}

.timeline-desc {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.timeline-time {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* Order Info Section */
.order-info-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.order-info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-info-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.order-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-info-label {
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 500;
}

.order-info-value {
    font-size: 0.9375rem;
    color: var(--gray-900);
    font-weight: 600;
}

.order-address {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.order-modal-items {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.order-modal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.875rem;
}

.order-modal-item span:first-child {
    font-weight: 500;
    color: var(--gray-800);
}

.order-modal-item span:last-child {
    color: var(--gray-600);
    font-weight: 600;
}

/* Mobile Responsive Adjustments for Order Details */
@media (max-width: 768px) {
    .order-details-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .order-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .order-status {
        align-self: flex-start;
    }
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-block {
    width: 100%;
}

/* ==================== MODALS ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--gray-200);
}

.modal-body {
    padding: var(--spacing-xl);
}

/* Location Modal */
.location-input {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.location-input:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
}

.location-input i {
    color: var(--gray-500);
}

.location-input input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9375rem;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.location-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.location-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Auth Modal */
.auth-modal-content {
    max-width: 480px;
    width: 92%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.auth-modal-content .modal-header {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: var(--white);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.auth-modal-content .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.auth-modal-content .modal-title {
    color: var(--white);
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.auth-modal-content .modal-close {
    color: var(--white);
    opacity: 0.9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.auth-modal-content .modal-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.auth-modal-content .modal-body {
    padding: 2.5rem 2rem 2rem;
    background: var(--white);
}

.auth-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.auth-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    font-size: 1rem;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.phone-input-group:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.08);
}

.country-code {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1rem;
    padding-right: 12px;
    border-right: 2px solid var(--gray-300);
}

.phone-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
}

.phone-input-group input::placeholder {
    color: var(--gray-400);
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 2rem 0;
}

.otp-input {
    width: 52px;
    height: 64px;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--gray-900);
    transition: all 0.2s ease;
    outline: none;
}

.otp-input:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.08);
    transform: scale(1.05);
}

.otp-input:not(:placeholder-shown) {
    border-color: var(--primary-color);
    background: rgba(45, 106, 79, 0.05);
}

.auth-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.auth-note i {
    color: var(--success);
}

.auth-note a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-note a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Mobile responsive for auth modal */
@media (max-width: 576px) {
    .auth-modal-content {
        max-width: 95%;
        margin: 1rem;
    }

    .auth-modal-content .modal-header {
        padding: 1.5rem 1rem;
    }

    .auth-modal-content .modal-title {
        font-size: 1.5rem;
    }

    .auth-modal-content .modal-body {
        padding: 2rem 1.5rem;
    }

    .otp-inputs {
        gap: 0.5rem;
    }

    .otp-input {
        width: 44px;
        height: 52px;
        font-size: 1.5rem;
    }

    .phone-input-group {
        padding: 0.875rem 1rem;
    }
}

/* ==================== ABOUT US PAGE ==================== */
.about-kalp {
    --about-bg: #f4f8f6;
    --about-card: #ffffff;
    --about-soft: #eef6f2;
    --about-border: #d6e6de;
    --about-earth: #1f2933;
    --about-muted: #4f5d67;
    --about-accent: var(--primary-color);
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.about-kalp-hero {
    background: radial-gradient(circle at top left, #f4fbf7 0%, #edf6f1 52%, #ffffff 100%);
    border: 1px solid var(--about-border);
    border-radius: 28px;
    padding: 3.25rem 2.25rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(45, 106, 79, 0.08);
}

.about-kalp-tag {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 106, 79, 0.3);
    background: rgba(45, 106, 79, 0.08);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
}

.about-kalp-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--about-earth);
    margin: 0 0 1rem 0;
}

.about-kalp-intro {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--about-muted);
}

.about-kalp-section {
    margin-top: 2.75rem;
}

.about-kalp-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--about-earth);
    text-align: center;
    margin: 0 0 1.5rem 0;
}

.about-kalp-journey-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: stretch;
}

.about-kalp-copy {
    background: var(--about-card);
    border: 1px solid var(--about-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 24px rgba(45, 106, 79, 0.08);
}

.about-kalp-copy h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--about-earth);
    margin: 0 0 1rem 0;
}

.about-kalp-copy p {
    margin: 0 0 1rem 0;
    color: var(--about-muted);
    line-height: 1.8;
}

.about-kalp-copy p:last-child {
    margin-bottom: 0;
}

.about-kalp-founder-card {
    background: linear-gradient(165deg, #ffffff 0%, #edf6f2 100%);
    border: 1px solid var(--about-border);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 24px rgba(45, 106, 79, 0.1);
}

.about-kalp-founder-frame {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 22px;
    position: relative;
    background: linear-gradient(160deg, #f6f1e4 0%, #efe5d1 100%);
    box-shadow: 0 16px 30px rgba(27, 67, 50, 0.14);
}

.about-kalp-founder-frame::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 16px;
    border: 1px solid rgba(45, 106, 79, 0.18);
    pointer-events: none;
}

.about-kalp-founder-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 11 / 15;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 20px rgba(16, 42, 25, 0.12);
    object-fit: contain;
    object-position: center center;
    background: #f6efe0;
}

.about-kalp-founder-card h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    color: var(--about-earth);
    margin: 1rem 0 0.35rem 0;
}

.about-kalp-founder-card p {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 600;
}

.about-kalp-empowerment {
    background: linear-gradient(135deg, #eef7f2 0%, #e5f2eb 55%, #dceee5 100%);
    border: 1px solid var(--about-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.about-kalp-empowerment::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    top: -110px;
    right: -90px;
    background: rgba(45, 106, 79, 0.12);
}

.about-kalp-soft-panel {
    position: relative;
    z-index: 1;
    padding: 2.25rem 2rem;
}

.about-kalp-soft-panel h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--about-earth);
    margin: 0 0 1rem 0;
}

.about-kalp-soft-panel p {
    color: var(--gray-700);
    line-height: 1.75;
    margin: 0;
}

.about-kalp-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.about-kalp-list li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--gray-700);
    line-height: 1.65;
}

.about-kalp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--about-accent);
}

.about-kalp-quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.about-kalp-production-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-kalp-production-card {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--about-card);
    border: 1px solid var(--about-border);
    box-shadow: 0 8px 18px rgba(45, 106, 79, 0.08);
}

.about-kalp-production-card:last-child {
    grid-column: 1 / -1;
}

.about-kalp-production-card img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.about-kalp-production-card figcaption {
    padding: 0.75rem 1rem 0.9rem;
    color: var(--about-earth);
    font-size: 0.95rem;
    font-weight: 600;
}

.about-kalp-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.about-kalp-value-card {
    background: var(--about-card);
    border: 1px solid var(--about-border);
    border-radius: 18px;
    padding: 1.5rem 1.1rem;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-kalp-value-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: 0 12px 20px rgba(45, 106, 79, 0.14);
}

.about-kalp-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
}

.about-kalp-value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.06rem;
    color: var(--about-earth);
    margin: 0 0 0.5rem 0;
}

.about-kalp-value-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--about-muted);
    line-height: 1.55;
}

.about-kalp-proof-section {
    background: linear-gradient(140deg, #eef7f2 0%, #e3f1ea 100%);
    border: 1px solid var(--about-border);
    border-radius: 24px;
    padding: 2.25rem 1.75rem;
}

.about-kalp-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.about-kalp-proof-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--about-border);
    border-radius: 16px;
    padding: 1.1rem 0.9rem;
}

.about-kalp-proof-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.35rem 0;
}

.about-kalp-proof-text {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.5;
    font-size: 0.9rem;
}

.about-kalp-cta {
    margin-top: 2.75rem;
    background: linear-gradient(125deg, #eef7f2 0%, #dfeee6 100%);
    border: 1px solid var(--about-border);
    border-radius: 26px;
    padding: 2.75rem 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(45, 106, 79, 0.12);
}

.about-kalp-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.05rem;
    color: var(--about-earth);
    margin: 0 0 0.6rem 0;
}

.about-kalp-cta p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: var(--gray-700);
    font-size: 1.06rem;
    line-height: 1.65;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

@media (max-width: 1024px) {
    .about-kalp-hero h1 {
        font-size: 2.5rem;
    }

    .about-kalp-journey-grid,
    .about-kalp-quality-grid {
        grid-template-columns: 1fr;
    }

    .about-kalp-values-grid,
    .about-kalp-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .about-kalp {
        padding: 1.5rem 0 3rem;
    }

    .about-kalp-hero {
        padding: 2.15rem 1.2rem;
        border-radius: 22px;
    }

    .about-kalp-tag {
        font-size: 0.72rem;
    }

    .about-kalp-hero h1 {
        font-size: 2rem;
    }

    .about-kalp-intro {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .about-kalp-section {
        margin-top: 2rem;
    }

    .about-kalp-copy,
    .about-kalp-founder-card,
    .about-kalp-soft-panel {
        border-radius: 18px;
        padding: 1.4rem 1.15rem;
    }

    .about-kalp-copy h2,
    .about-kalp-soft-panel h2,
    .about-kalp-section-title {
        font-size: 1.55rem;
    }

    .about-kalp-copy p,
    .about-kalp-soft-panel p,
    .about-kalp-list li {
        font-size: 0.95rem;
    }

    .about-kalp-production-grid,
    .about-kalp-values-grid,
    .about-kalp-proof-grid {
        grid-template-columns: 1fr;
    }

    .about-kalp-production-card:last-child {
        grid-column: auto;
    }

    .about-kalp-production-card img {
        height: 190px;
    }

    .about-kalp-proof-section {
        padding: 1.5rem 1rem;
    }

    .about-kalp-cta {
        margin-top: 2rem;
        padding: 2rem 1.2rem;
        border-radius: 20px;
    }

    .about-kalp-cta h2 {
        font-size: 1.6rem;
    }

    .about-kalp-cta p {
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-kalp-hero h1 {
        font-size: 1.72rem;
    }

    .about-kalp-proof-number {
        font-size: 1.13rem;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-md);
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.author-location {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.footer-text {
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.footer-link {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-300);
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-social-row {
    margin-top: var(--spacing-sm);
    display: flex;
    gap: 0.65rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--gray-700);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gray-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    border-color: var(--primary-light);
    background: rgba(200, 156, 82, 0.18);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-800);
    position: relative;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Admin Access Link - Discreet */
.admin-access-link {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 106, 79, 0.05);
    border-radius: 50%;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.3;
}

.admin-access-link:hover {
    opacity: 1;
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.admin-access-link i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .admin-access-link {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 20px auto 0;
    }
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 3000;
    transition: var(--transition-base);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: var(--white);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.mobile-menu-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-menu-header button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition-fast);
}

.mobile-menu-nav a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==================== NOTIFICATIONS ==================== */
.notification {
    position: fixed;
    top: 100px;
    right: var(--spacing-xl);
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 4000;
    transform: translateX(400px);
    transition: var(--transition-base);
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    color: var(--success);
}

.notification.success {
    background: #111827;
}

.notification.success i {
    color: #10b981;
}

.notification.error i {
    color: #ef4444;
}

.notification.warning i {
    color: #f59e0b;
}

.notification.info i {
    color: #38bdf8;
}

/* ==================== FLOATING CART BUTTON ==================== */
.floating-cart-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 999;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.floating-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 106, 79, 0.4);
}

.floating-cart-btn i {
    font-size: 18px;
}

.floating-cart-btn .cart-count {
    background: var(--white);
    color: var(--primary-color);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.floating-cart-btn.blink {
    animation: blinkAnimation 0.5s ease-in-out 4;
}

@keyframes blinkAnimation {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ==================== WISHLIST BUTTON ==================== */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.wishlist-btn i {
    font-size: 16px;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-btn:hover i {
    color: var(--error);
}

.wishlist-btn.active i {
    color: var(--error);
}

.wishlist-btn.active {
    background: #ffe0e6;
}

/* Mobile wishlist button */
@media (max-width: 768px) {

    /* ========== HIDE TOP BAR ON MOBILE ========== */
    /**
     * Top bar hidden on mobile to save screen space
     * Contains: Phone number, Premium Quality, Free Delivery info
     * Mobile users get cleaner, more focused header
     */
    .header-topbar {
        display: none !important;
    }

    .wishlist-btn {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }

    .wishlist-btn i {
        font-size: 14px;
    }

    .floating-cart-btn {
        bottom: 70px;
        right: 15px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .floating-cart-btn i {
        font-size: 16px;
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {

    .topbar-left,
    .topbar-right {
        gap: var(--spacing-md);
    }

    .topbar-item {
        font-size: 0.8125rem;
    }

    .header-content {
        grid-template-columns: auto 1fr auto;
        gap: var(--spacing-md);
    }

    .location-selector {
        display: none;
    }

    .search-container {
        display: none;
    }

    .mobile-search {
        display: block;
    }

    /* Hide desktop header actions, show only hamburger menu on right */
    .desktop-only {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .logo-image {
        height: 38px;
    }

    /* Hero Banner - Tablet */
    .hero-banner-container {
        grid-template-columns: 1fr 1fr;
        min-height: 400px;
    }

    .hero-text-side {
        padding: var(--spacing-xl);
    }

    .hero-banner-content {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .hero-banner-title {
        font-size: 1.75rem;
    }

    .hero-banner-tagline {
        font-size: 0.9375rem;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    /* About Us - Tablet */
    .about-title {
        font-size: 2rem;
    }

    .about-section-title {
        font-size: 1.75rem;
    }

    .founder-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .founder-photo img {
        margin: 0 auto;
        max-width: 250px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 310px) {
    /* ========== EXTRA SMALL MOBILE DEVICES ========== */
    /**
     * Additional optimizations for very small screens
     * Top bar already hidden at 768px breakpoint
     */

    .header-main {
        padding: 0.625rem 0;
    }

    .logo-image {
        height: 48px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }

    /* Modern Search Bar - Mobile */
    .search-container {
        max-width: 100%;
    }

    .search-box-modern {
        padding: 0.4rem 0.5rem;
        gap: 0.4rem;
    }

    .search-input-modern {
        font-size: 0.875rem;
        padding: 0.15rem 0.25rem;
    }

    .search-btn-modern {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }

    .search-btn-modern span {
        display: none;
    }

    .search-box-modern.mobile .search-btn-modern {
        display: none;
    }

    /* Hero Banner - Mobile Stacked */
    .hero-slides-wrapper {
        min-height: auto;
    }

    .hero-slide-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-slide-text {
        order: 2;
        text-align: center;
        align-items: center;
    }

    .hero-slide-image {
        order: 1;
        padding: 0.5rem;
    }

    .hero-slide-image img {
        max-width: 280px;
    }

    .hero-slide-title {
        font-size: 1.5rem;
    }

    .hero-slide-tagline {
        font-size: 0.9375rem;
    }

    .hero-slide-cta {
        padding: 0.75rem 2rem;
        font-size: 0.9375rem;
    }

    /* Sections */
    .categories-section,
    .products-section,
    .offers-section {
        padding: 1.25rem 0;
    }

    .section-title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 0.8125rem;
    }

    /* Categories - 2 Column Mobile Grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .category-card {
        padding: 1.25rem 0.75rem;
        gap: 0;
        border-radius: 10px;
        min-height: 80px;
    }

    .category-image {
        display: none;
    }

    .category-name {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    /* ========== Products - 2 Column Compact Grid ========== */
    /* MOBILE FIX: Added padding to container to prevent right-side cut-off */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
        /* MOBILE FIX: Ensure grid doesn't overflow viewport */
        max-width: 100%;
        overflow: hidden;
    }

    .product-card {
        border-radius: 8px;
        /* MOBILE FIX: Prevent card content from overflowing */
        max-width: 100%;
        overflow: hidden;
    }

    .product-image-container {
        padding: 0.5rem;
        /* MOBILE FIX: Ensure image container doesn't cause overflow */
        position: relative;
        width: 100%;
    }

    /* MOBILE FIX: Wishlist button positioned safely within card bounds */
    .wishlist-btn {
        width: 28px;
        height: 28px;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
        /* Ensure button stays within card */
        transform: none;
    }

    .product-details {
        padding: 0.625rem;
        gap: 0.375rem;
    }

    .product-name {
        font-size: 0.8125rem;
        min-height: 2.4em;
        line-height: 1.2;
    }

    .product-meta {
        margin-bottom: 0.25rem;
    }

    .product-variant-selector {
        font-size: 0.6875rem;
        padding: 0.375rem 0.5rem;
    }

    .product-footer {
        gap: 0.375rem;
    }

    .product-price {
        font-size: 0.9375rem;
    }

    .add-to-cart-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .add-to-cart-btn i {
        font-size: 0.6875rem;
    }

    .quantity-controls {
        gap: 0.375rem;
        padding: 0.25rem;
    }

    .qty-btn {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .qty-value {
        font-size: 0.8125rem;
        min-width: 24px;
    }

    .btn-primary {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .category-nav {
        padding: 0.625rem 0;
        overflow-x: auto;
        /* Hide scrollbar on mobile but keep categories visible */
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-chip {
        padding: 0.375rem 0.875rem;
        font-size: 0.8125rem;
    }

    .cart-panel {
        max-width: 100%;
    }

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

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .notification {
        right: var(--spacing-md);
        left: var(--spacing-md);
        font-size: 0.875rem;
        padding: 0.625rem var(--spacing-md);
    }

    .about-hero {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }

    .about-title {
        font-size: 1.75rem;
    }

    .about-section-title {
        font-size: 1.375rem;
    }

    .about-section {
        margin-bottom: 2.5rem;
    }

    .founder-section {
        padding: 2rem 1.25rem;
    }

    .founder-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .founder-photo img {
        width: 100%;
        max-width: 220px;
        height: auto;
        margin: 0 auto;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .founder-title {
        font-size: 1rem;
    }

    .founder-description {
        font-size: 0.9375rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-text-block p {
        font-size: 0.9375rem;
    }

    .values-section {
        padding: 2rem 1.25rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .value-card {
        padding: 1.5rem 1.25rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .mission-vision-card {
        padding: 1.75rem 1.25rem;
    }

    .mission-vision-card h3 {
        font-size: 1.25rem;
    }

    .mission-vision-card p {
        font-size: 0.9375rem;
    }

    .certification-box {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.5rem;
    }

    .certification-box i {
        font-size: 2.5rem;
    }

    .certification-text h3 {
        font-size: 1.25rem;
    }

    .about-cta {
        padding: 2rem 1.5rem;
    }

    .about-cta h2 {
        font-size: 1.5rem;
    }

    .about-cta p {
        font-size: 1rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

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

    .mobile-search .search-box {
        padding: 0.625rem var(--spacing-md);
    }

    .search-input {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    /* KEEP 2-COLUMN GRID */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .wishlist-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* iPhone specific: Move wishlist icon further left */
    .wishlist-btn {
        right: 1rem;
        top: 0.625rem;
    }
}

/* ==================== ULTRA-WIDE & LARGE DESKTOP ==================== */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
        gap: 2rem;
    }

    .wishlist-content {
        grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
        gap: 2rem;
    }
}

/* ==================== TABLET LANDSCAPE ==================== */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    }

    .wishlist-content {
        grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    }
}

/* ==================== iOS SAFE AREA SUPPORT ==================== */
@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .header-main {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .floating-cart-btn {
        right: max(1.5rem, calc(1.5rem + env(safe-area-inset-right)));
        bottom: max(5.5rem, calc(5.5rem + env(safe-area-inset-bottom)));
    }
}

/* ==================== ASPECT RATIO OPTIMIZATIONS ==================== */
/* iPhone 15 Pro Max: 19.5:9 aspect ratio */
@media (min-aspect-ratio: 19/9) and (max-width: 430px) {
    .product-card {
        height: 100%;
    }

    .wishlist-btn {
        right: 1.125rem;
    }
}

/* Standard 16:9 */
@media (aspect-ratio: 16/9) {
    .hero-slide-container {
        max-height: 80vh;
    }
}

/* 20:9 and similar tall screens */
@media (min-aspect-ratio: 20/9) {
    .header-main {
        min-height: 60px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* ==================== CHECKOUT PAGE STYLES ==================== */
.checkout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: calc(100vh - 150px);
}

.checkout-header {
    margin-bottom: 2rem;
}

.back-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.back-btn:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.checkout-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gray-900);
    margin: 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr 400px;
    }
}

/* Checkout Sections */
.checkout-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.item-count {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 400;
    margin-left: auto;
}

.section-header-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Address List */
.address-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.no-address {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-600);
}

.no-address i {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.no-address p {
    margin: 0.5rem 0 1.5rem;
}

.address-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.address-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.address-card.selected {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.address-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.address-content {
    flex: 1;
}

.address-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.address-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.default-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.address-phone {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin: 0.25rem 0;
}

.address-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0.5rem 0 0;
}

.address-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-icon {
    background: none;
    border: 1px solid var(--gray-300);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--gray-600);
}

.btn-icon:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.btn-edit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-edit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-primary-sm {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Checkout Items */
.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: white;
    transition: all 0.2s;
}

.checkout-item:hover {
    box-shadow: var(--shadow-sm);
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-100);
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-details {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.25rem;
}

.checkout-item-variant {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

.checkout-item-price {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin: 0.5rem 0 0;
}

.checkout-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.quantity-controls-checkout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 0.25rem;
}

.quantity-controls-checkout .qty-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: white;
    border: 1px solid var(--gray-300);
    color: var(--primary-color);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-controls-checkout .qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-controls-checkout .qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-item-subtotal {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.remove-checkout-item {
    background: none;
    border: none;
    color: var(--error);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.2s;
}

.remove-checkout-item:hover {
    color: #d63850;
    transform: scale(1.1);
}

/* Price Summary */
.checkout-sidebar {
    position: relative;
}

.sticky-summary {
    position: sticky;
    top: 100px;
}

.price-summary-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.summary-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 1.25rem;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.summary-row.discount-row {
    color: var(--success);
}

.discount-value {
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--gray-300);
    margin: 0.5rem 0;
}

.summary-row.grand-total {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 0.5rem;
}

.savings-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #52b788 0%, #40916c 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.savings-badge i {
    font-size: 1rem;
}

.checkout-btn {
    margin-top: 1rem;
}

.secure-checkout {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.8rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secure-checkout i {
    color: var(--success);
}

/* Delivery Info Card */
.delivery-info-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.delivery-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.delivery-info-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.delivery-info-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-900);
    margin-bottom: 0.125rem;
}

.delivery-info-item p {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0;
}

/* Mobile Sticky Footer */
.mobile-checkout-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gray-300);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-footer-summary {
    max-width: 600px;
    margin: 0 auto;
}

.footer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.total-amount {
    color: var(--primary-color);
}

@media (max-width: 1023px) {
    .mobile-checkout-footer {
        display: block;
    }

    .checkout-sidebar {
        display: none;
    }

    .checkout-container {
        padding-bottom: 7rem;
    }
}

/* Address Modal */
.address-modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.address-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.required {
    color: var(--error);
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--gray-700);
    cursor: pointer;
    user-select: none;
}

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

.btn-secondary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: 1px solid var(--gray-300);
    background: white;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-primary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty Checkout State */
.empty-checkout {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-600);
}

.empty-checkout i {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .checkout-container {
        padding: 1rem 0.75rem;
    }

    .checkout-title {
        font-size: 1.5rem;
    }

    .checkout-section {
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .checkout-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-item-image {
        width: 100%;
        height: 150px;
    }

    .checkout-item-actions {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .address-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .address-actions {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* ==================== ENHANCED CHECKOUT BUTTON ANIMATION ==================== */
.checkout-btn-animated {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
}

.checkout-btn-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.checkout-btn-animated:hover::before {
    width: 300px;
    height: 300px;
}

.checkout-btn-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.4);
}

.checkout-btn-animated:active {
    transform: translateY(0);
}

.checkout-btn-animated i:first-child {
    animation: lockPulse 2s infinite;
}

.checkout-btn-animated i:last-child {
    transition: transform 0.3s ease;
}

.checkout-btn-animated:hover i:last-child {
    transform: translateX(5px);
}

@keyframes lockPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* ==================== IMPROVED CART SUMMARY STYLING ==================== */
.cart-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(45, 106, 79, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.9375rem;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d6a4f;
    margin-top: 0.5rem;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(45, 106, 79, 0.2) 50%, transparent 100%);
    margin: 0.5rem 0;
}

.free-delivery-note {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #d8f3dc 0%, #b7e4c7 100%);
    border-radius: 8px;
    color: #1b4332;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(45, 106, 79, 0.2);
}

.free-delivery-note i {
    animation: truckMove 2s ease-in-out infinite;
}

@keyframes truckMove {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* ==================== BETTER CART ITEM STYLING ==================== */
.cart-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.cart-item:hover {
    background: rgba(45, 106, 79, 0.03);
    transform: translateX(2px);
}

.cart-item-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==================== SMOOTH PAGE TRANSITIONS ==================== */
body {
    transition: opacity 0.2s ease;
}

/* ==================== ENHANCED NOTIFICATION ANIMATIONS ==================== */
.notification-container {
    animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==================== BETTER MODAL ANIMATIONS ==================== */
.modal.active .modal-content {
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==================== IMPROVED PRODUCT CARD HOVER ==================== */
/* (Handled by main .product-card rule now) */

/* ==================== ENHANCED CATEGORY CHIPS ==================== */
.category-chip {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.category-chip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #2d6a4f;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.category-chip.active::after,
.category-chip:hover::after {
    width: 80%;
}

/* ==================== LOADING SPINNER FOR CHECKOUT ==================== */
.checkout-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== RESPONSIVE ENHANCEMENTS ==================== */
@media (max-width: 768px) {
    .checkout-btn-animated {
        font-size: 1rem;
        padding: 1rem;
        gap: 0.75rem;
    }

    .cart-summary {
        padding: 0.875rem;
    }

    .summary-row.total {
        font-size: 1.125rem;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
.will-animate {
    will-change: transform, opacity;
}

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== ACCESSIBILITY IMPROVEMENTS ==================== */
.checkout-btn-animated:focus-visible {
    outline: 3px solid #2d6a4f;
    outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .checkout-btn-animated {
        border: 2px solid currentColor;
    }
}

/* ==================== TESTIMONIALS CAROUSEL ==================== */
.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonials-track .testimonial-card {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* ==================== ADDRESS QUICK OPTIONS ==================== */
.address-quick-options {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.quick-option-btn {
    flex: 1;
    padding: 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-option-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-option-btn i {
    font-size: 32px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .address-quick-options {
        flex-direction: column;
    }
}



/* ==================== MODERN REVIEW SECTION ==================== */
.reviews-section-modern {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

.reviews-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(45, 106, 79, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(45, 106, 79, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.1) 0%, rgba(45, 106, 79, 0.05) 100%);
    border: 1px solid rgba(45, 106, 79, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title-modern {
    font-family: var(--font-accent);
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle-modern {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.reviews-carousel-modern {
    position: relative;
    overflow: hidden;
    margin-bottom: 42px;
}

.reviews-track-modern {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.reviews-slide-modern {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.reviews-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review-card-modern {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(45, 106, 79, 0.08);
}

.review-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(45, 106, 79, 0.15);
    border-color: rgba(45, 106, 79, 0.2);
}

.review-card-modern::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(45, 106, 79, 0.08);
    line-height: 1;
}

.review-header-modern {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.reviewer-avatar-modern {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.25);
}

.reviewer-info-modern {
    flex: 1;
}

.reviewer-name-modern {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.reviewer-location-modern {
    font-size: 14px;
    color: var(--text-secondary);
}

.review-rating-modern {
    display: flex;
    gap: 4px;
    color: #ffd60a;
    font-size: 16px;
}

.review-text-modern {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-footer-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--success-color);
    font-weight: 600;
}

.review-footer-modern i {
    font-size: 14px;
}

.reviews-dots-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.reviews-dot-modern {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(45, 106, 79, 0.25);
    cursor: pointer;
    transition: all 0.22s ease;
}

.reviews-dot-modern.active {
    width: 24px;
    background: var(--primary-color);
}

.reviews-stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.05) 0%, rgba(45, 106, 79, 0.02) 100%);
    border-radius: 20px;
    border: 1px solid rgba(45, 106, 79, 0.1);
}

.stat-item-modern {
    text-align: center;
}

.stat-value-modern {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: var(--font-accent);
}

.stat-label-modern {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-stars-modern {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: #ffd60a;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .reviews-section-modern {
        padding: 60px 0;
    }

    .section-header-modern {
        margin-bottom: 40px;
    }

    .reviews-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .reviews-slide-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .review-card-modern {
        padding: 24px;
    }

    .reviewer-avatar-modern {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .reviews-stats-modern {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 20px;
    }

    .stat-value-modern {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .section-title-modern {
        font-size: 28px;
    }

    .section-subtitle-modern {
        font-size: 16px;
    }

    .review-card-modern::before {
        font-size: 60px;
        top: 16px;
        right: 16px;
    }

    .reviews-slide-modern {
        grid-template-columns: 1fr;
    }
}

/* ==================== ADDRESS MODAL UPGRADE ==================== */
#addressModal .modal-overlay {
    backdrop-filter: blur(2px);
}

.address-modal-content {
    width: min(96vw, 760px);
    max-height: 88vh;
    border-radius: 24px;
    overflow: hidden;
}

#addressModal .modal-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
}

#addressModal .modal-body {
    max-height: calc(88vh - 84px);
    overflow-y: auto;
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#addressModal .address-quick-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

#addressModal .quick-option-btn {
    min-height: 86px;
    border-radius: 14px;
    padding: 0.875rem;
    gap: 0.45rem;
    font-size: 0.9rem;
}

#addressModal .quick-option-btn i {
    font-size: 1.25rem;
}

.address-modal-shell {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.address-saved-panel {
    background: linear-gradient(180deg, #fbfdfc 0%, #f5f8f6 100%);
    border: 1px solid rgba(45, 106, 79, 0.16);
    border-radius: 16px;
    padding: 0.75rem;
}

.address-modal-loading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #4b5563;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.75rem;
}

.address-loader-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #2d6a4f;
    animation: addressPulse 0.9s ease-in-out infinite;
}

@keyframes addressPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.45);
        opacity: 0.45;
    }
}

.address-modal-empty {
    text-align: center;
    color: #64748b;
    padding: 1.2rem 0.8rem;
}

.address-modal-empty i {
    font-size: 1.6rem;
    color: #2d6a4f;
    margin-bottom: 0.45rem;
}

.address-modal-empty p {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #334155;
}

.address-modal-empty small {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.82rem;
}

.address-saved-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.address-saved-card {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    background: #ffffff;
    padding: 0.8rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.address-saved-card:hover {
    border-color: rgba(45, 106, 79, 0.45);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.address-saved-card.is-selected {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.12);
}

.address-saved-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.address-saved-head h4 {
    margin: 0;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.address-saved-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    background: #2d6a4f;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
}

.address-saved-phone {
    margin: 0 0 0.25rem;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
}

.address-saved-text {
    margin: 0;
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.45;
}

.address-saved-actions {
    margin-top: 0.65rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.45rem;
}

.address-saved-actions .btn-primary,
.address-saved-actions .btn-secondary,
.address-saved-actions .btn-danger {
    min-height: 40px;
    border-radius: 10px;
    padding: 0.55rem 0.8rem;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f43f5e;
    color: #e11d48;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #fff1f3;
    border-color: #e11d48;
}

.address-modal-sticky-cta {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.65rem 0.2rem 0.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), #ffffff 35%);
    z-index: 2;
}

.address-modal-sticky-cta .btn-primary,
.address-modal-sticky-cta .btn-secondary {
    min-height: 44px;
    border-radius: 12px;
}

/* ==================== HERO MOBILE OVERLAP FIX ==================== */
@media (max-width: 768px) {
    .hero-banner {
        position: relative;
        overflow: hidden;
    }

    .hero-slides-wrapper {
        min-height: 670px;
    }

    .hero-slide-container {
        min-height: 100%;
        align-content: start;
        gap: 1.2rem;
        padding: 1.8rem 1.05rem 5.2rem;
    }

    .hero-slide-text {
        align-items: center;
        gap: 0.9rem;
    }

    .hero-slide-title,
    .hero-slide-tagline {
        text-align: center;
    }

    .hero-slide-cta {
        margin-top: 0.45rem;
        margin-bottom: 0.25rem;
        position: relative;
        z-index: 2;
    }

    .hero-slider-dots {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0.55rem;
        z-index: 3;
        height: 34px;
        padding: 0.2rem 0.65rem;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
        pointer-events: auto;
    }

    #addressModal .address-quick-options {
        grid-template-columns: 1fr;
    }

    .address-modal-sticky-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-slides-wrapper {
        min-height: 620px;
    }

    .hero-slide-container {
        padding: 1.35rem 0.85rem 4.9rem;
    }

    .hero-slide-image img {
        max-width: min(100%, 258px);
    }

    .address-modal-content {
        width: calc(100vw - 18px);
        border-radius: 18px;
    }

    #addressModal .modal-body {
        padding: 0.85rem 0.85rem 1rem;
    }
}

/* ==================== FINAL RESPONSIVE STABILITY OVERRIDES ==================== */
/* This block resolves cross-browser clashes caused by legacy duplicate rules. */
.products-grid {
    /* Base: 4 columns for desktop default */
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .product-card {
        padding: 0.875rem 0.625rem 0.75rem;
    }

    .pc-image-circle {
        width: 90px;
        height: 90px;
    }

    .pc-name {
        font-size: 0.8125rem;
        min-height: 2.2em;
    }

    .weight-pill {
        padding: 3px 7px;
        font-size: 0.625rem;
    }

    .pc-add-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .pc-price {
        font-size: 0.875rem;
    }

    .pc-unit {
        font-size: 0.625rem;
    }

    .hero-slides-wrapper {
        min-height: 690px;
    }

    .hero-slide-container {
        gap: 1rem;
        padding: 1.5rem 1rem 5.8rem !important;
    }

    .hero-slide-cta {
        margin-bottom: 1rem !important;
    }

    .hero-slider-dots {
        bottom: 0.45rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        gap: 8px !important;
    }

    .product-image-container {
        padding: 6px !important;
    }

    .hero-slides-wrapper {
        min-height: 650px;
    }

    .hero-slide-container {
        padding: 1.2rem 0.8rem 5.5rem !important;
    }
}

/* ==========================================================================
   2026 Mobile Header + Category Bar + Hero Stability Overrides
   ========================================================================== */
@media (max-width: 768px) {
    .mobile-location-icon {
        display: none !important;
    }

    .mobile-search {
        display: block !important;
    }

    .header-content {
        grid-template-columns: auto 1fr auto !important;
        align-items: center;
    }

    .header-main .search-container {
        display: none !important;
    }

    .category-nav {
        position: relative;
        /* Changed from sticky to relative so it scrolls with page */
        top: auto;
        z-index: 10;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border-bottom: 1px solid #e5e7eb;
        padding: 10px 0;
    }

    .category-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 2px 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .category-chip {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid #d1d5db;
        background: #ffffff;
        color: #1f2937;
        font-size: 13px;
        font-weight: 700;
        scroll-snap-align: start;
    }

    .category-chip.active {
        border-color: #14532d;
        background: linear-gradient(135deg, #14532d 0%, #2d6a4f 100%);
        color: #ffffff;
        box-shadow: 0 8px 18px rgba(20, 83, 45, 0.25);
    }

    .hero-slides-wrapper {
        min-height: 710px !important;
    }

    .hero-slide-container {
        display: grid;
        grid-template-rows: auto auto;
        align-content: start;
        row-gap: 14px;
        padding: 1.4rem 1rem 6.6rem !important;
    }

    .hero-slide-text {
        margin-bottom: 8px !important;
    }

    .hero-slide-cta {
        position: relative;
        z-index: 3;
        margin-bottom: 1.8rem !important;
    }

    .hero-slider-dots {
        bottom: 0.8rem !important;
        z-index: 2;
    }
}

.product-stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.out-of-stock-btn {
    background: #e5e7eb !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
    border: 1px solid #d1d5db !important;
}

.products-grid .product-card.pc-out-of-stock {
    border-color: #efc7c7;
    background: linear-gradient(165deg, #ffffff 0%, #fdf9f9 58%, #fbf2f2 100%);
}

.products-grid .product-card.pc-out-of-stock:hover,
.products-grid .product-card.pc-out-of-stock:focus-within {
    transform: translateY(-3px);
    border-color: #e7b7b7;
    box-shadow: 0 16px 34px rgba(116, 30, 30, 0.12);
}

.products-grid .product-card.pc-out-of-stock .pc-image-curve,
.products-grid .product-card.pc-out-of-stock .pc-image-hover {
    filter: grayscale(0.18) saturate(0.78);
}

.products-grid .product-card.pc-out-of-stock .pc-btn-curve.pc-oos {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    border: 1px solid #d1d5db;
}

/* ==================== PRODUCT CARD SIGNATURE THEME ==================== */
.products-grid .product-card,
.products-grid .product-card .pc-inner-curve {
    border-radius: 22px !important;
    overflow: hidden;
}

.products-grid .product-card {
    border: 1px solid #d8e5dc;
    background: linear-gradient(165deg, #ffffff 0%, #f8fbf9 58%, #edf5f0 100%);
    box-shadow: 0 14px 36px rgba(18, 44, 32, 0.09);
    transform: translateY(0);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    content-visibility: auto;
    contain-intrinsic-size: 420px;
    cursor: pointer;
    will-change: transform, box-shadow;
}

.products-grid .product-card:hover,
.products-grid .product-card:focus-within,
.products-grid .product-card.is-hovered {
    transform: translateY(-7px);
    border-color: #bfd6c7;
    box-shadow: 0 22px 44px rgba(18, 44, 32, 0.16);
}

.products-grid .product-card .pc-ribbon-wrapper {
    top: 14px;
    left: 14px;
    z-index: 6;
}

.products-grid .product-card .pc-ribbon {
    background: linear-gradient(135deg, #1f6a4f 0%, #2f855a 100%);
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(31, 106, 79, 0.26);
    padding: 6px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

.products-grid .product-card .pc-ribbon::before {
    content: none;
}

.products-grid .product-card .pc-image-container-curve {
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-bottom: 1px solid #deebe2;
    border-radius: 20px 20px 0 0;
}

.products-grid .product-card .pc-image-curve,
.products-grid .product-card .pc-image-hover {
    object-fit: cover;
    padding: 0;
    width: 100%;
    height: 100%;
}

.products-grid .product-card .pc-image-hover {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.products-grid .product-card .pc-image-container-curve:hover .pc-image-curve,
.products-grid .product-card .pc-image-container-curve:hover .pc-image-hover {
    transform: scale(1.03);
}

.products-grid .product-card .pc-image-container-curve:hover .pc-image-hover,
.products-grid .product-card:hover .pc-image-hover,
.products-grid .product-card:focus-within .pc-image-hover,
.products-grid .product-card.is-hovered .pc-image-hover {
    opacity: 1;
}

.products-grid .product-card:hover .pc-image-curve,
.products-grid .product-card:focus-within .pc-image-curve,
.products-grid .product-card.is-hovered .pc-image-curve {
    transform: scale(1.03);
    opacity: 0;
}

.products-grid .product-card .pc-image-container-curve.no-hover-image .pc-image-curve {
    opacity: 1 !important;
}

.products-grid .product-card .pc-image-container-curve.no-hover-image .pc-image-hover {
    display: none !important;
}

.products-grid .product-card .pc-content-curve {
    display: grid;
    gap: 8px;
    padding: 14px 14px 14px;
    text-align: left;
    transition: transform 0.24s ease;
    background: #ffffff;
}

.products-grid .product-card:hover .pc-content-curve,
.products-grid .product-card:focus-within .pc-content-curve,
.products-grid .product-card.is-hovered .pc-content-curve {
    transform: translateY(-1px);
}

.products-grid .product-card .pc-title-rating-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.products-grid .product-card .pc-title-curve {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    color: #27322e;
    flex: 1;
    min-width: 0;
}

.products-grid .product-card .pc-category-curve {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.25;
    color: #9aa5a0;
    font-weight: 500;
}

.products-grid .product-card .pc-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8b9590;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.products-grid .product-card .pc-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.products-grid .product-card .pc-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 9px;
    background: #eef8f2;
    color: #18523f;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid #d4e8db;
}

.products-grid .product-card .pc-rating-pill i {
    color: #d89a2b;
    font-size: 0.72rem;
}

.products-grid .product-card .pc-rating-count {
    font-size: 0.75rem;
    color: #5e6d64;
    font-weight: 600;
}

.products-grid .product-card .pc-rating-inline i {
    color: #d8ab2b;
    font-size: 0.88rem;
}

.products-grid .product-card .pc-price-stack {
    display: grid;
    gap: 2px;
}

.products-grid .product-card .pc-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.products-grid .product-card .pc-price-main {
    font-size: 1.62rem;
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #5ba14e;
    font-family: var(--font-primary);
}

.products-grid .product-card .pc-price-unit {
    font-size: 0.95rem;
    color: #99a49f;
    font-weight: 500;
}

.products-grid .product-card .pc-price-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 20px;
}

.products-grid .product-card .pc-price-old {
    font-size: 0.85rem;
    color: #7f8e85;
    text-decoration: line-through;
    font-weight: 600;
}

.products-grid .product-card .pc-discount-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 3px 8px;
    background: #ffecc8;
    color: #6f4d0e;
    font-size: 0.72rem;
    font-weight: 800;
}

.products-grid .product-card .pc-price-note {
    font-size: 0.76rem;
    color: #5e6d64;
    font-weight: 600;
}

.products-grid .product-card .pc-weight-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.products-grid .product-card .pc-weight-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #7b8782;
    white-space: nowrap;
}

.products-grid .product-card .pc-weight-select,
.products-grid .product-card .pc-weight-text {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d8dfdb;
    background: #ffffff;
    color: #394440;
    font-size: 0.82rem;
    font-weight: 600;
    min-height: 34px;
    padding: 7px 9px;
}

.products-grid .product-card .pc-footer {
    margin-top: 2px;
}

.products-grid .product-card .pc-footer .pc-footer-row {
    width: 100%;
}

.products-grid .product-card .pc-footer .pc-footer-row.pc-footer-add {
    display: flex;
    gap: 0;
}

.products-grid .product-card .pc-footer .pc-btn-curve {
    width: 100%;
    min-height: 40px;
    border-radius: 7px;
    border: 1px solid #1b4332;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    color: #ffffff;
    letter-spacing: 0;
    font-size: 0.98rem;
    font-weight: 600;
    text-transform: none;
}

.products-grid .product-card .pc-footer .pc-btn-curve:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #245842 0%, #153426 100%);
    border-color: #153426;
    box-shadow: 0 8px 16px rgba(27, 67, 50, 0.3);
}

.products-grid .product-card .pc-footer .pc-footer-row.pc-footer-qty {
    display: flex;
}

.products-grid .product-card .pc-footer .pc-qty-box {
    width: 100%;
    min-height: 42px;
    justify-content: space-between;
    border-radius: 12px;
    border: 1px solid #cfe1d5;
    background: #f7fbf8;
}

.products-grid .product-card .pc-footer .pc-qty-btn-curve {
    width: 40px;
    color: #205e48;
    font-weight: 700;
}

.products-grid .product-card .pc-footer .pc-qty-val-curve {
    color: #17392b;
    font-weight: 700;
}

@media (hover: none) {

    .products-grid .product-card:active,
    .products-grid .product-card.is-hovered {
        transform: translateY(-3px);
        box-shadow: 0 18px 32px rgba(18, 44, 32, 0.14);
    }
}

@media (max-width: 768px) {

    .products-grid .product-card,
    .products-grid .product-card .pc-inner-curve {
        border-radius: 18px !important;
    }

    .products-grid .product-card .pc-content-curve {
        padding: 14px 12px 14px;
        gap: 9px;
    }

    .products-grid .product-card .pc-title-curve {
        font-size: 0.92rem;
    }

    .products-grid .product-card .pc-category-curve {
        font-size: 0.8rem;
    }

    .products-grid .product-card .pc-rating-inline {
        font-size: 0.88rem;
    }

    .products-grid .product-card .pc-price-main {
        font-size: 1.26rem;
    }

    .products-grid .product-card .pc-price-unit {
        font-size: 0.78rem;
    }

    .products-grid .product-card .pc-weight-label {
        font-size: 0.72rem;
    }

    .products-grid .product-card .pc-weight-select,
    .products-grid .product-card .pc-weight-text {
        min-height: 30px;
        font-size: 0.74rem;
    }

    .products-grid .product-card .pc-footer .pc-footer-row.pc-footer-add {
        display: flex;
    }

    .products-grid .product-card .pc-footer .pc-btn-curve {
        font-size: 0.86rem;
    }
}

/* === Mobile founder image fix (2026-03-10) === */
@media (max-width: 768px) {
    .about-kalp-founder-frame {
        max-width: 260px;
        padding: 8px;
    }
    .about-kalp-founder-card img {
        aspect-ratio: 4 / 5;
        object-fit: contain;
    }
}
@media (max-width: 480px) {
    .about-kalp-founder-frame {
        max-width: 220px;
    }
}

/* === Out of stock badge centered on image === */
.product-stock-badge {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    white-space: nowrap !important;
}
