:root {
    --primary: #e85d04;
    --primary-dark: #c34600;
    --secondary: #faa307;
    --text-dark: #2c1810;
    --text-muted: #6c584c;
    --cream-bg: #fffaf0;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* --- 2. LAYOUT UTILS --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-pad {
    padding: 40px 0;
}

.bg-cream {
    background-color: var(--cream-bg);
}

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

.section-header {
    margin-bottom: 25px;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.separator {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto 0;
}

/* --- 3. NAVBAR --- */
.navbar {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-primary.small-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
}

.cart-trigger {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: 0.3s;
}

.cart-trigger:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    font-weight: bold;
}

/* USER PROFILE */
#user-profile {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

#user-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--primary);
    transition: transform 0.2s;
}

#user-pic:hover {
    transform: scale(1.1);
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    background: white;
    width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 10px 0;
    z-index: 2000;
    border: 1px solid #eee;
    text-align: left;
}

.profile-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

.profile-dropdown p {
    margin: 0;
    padding: 10px 15px;
    font-weight: bold;
    color: var(--text-dark);
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.profile-dropdown button {
    width: 100%;
    background: none;
    border: none;
    padding: 12px 15px;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.profile-dropdown button:hover {
    background-color: #fff3e0;
    color: var(--primary);
}

.profile-dropdown hr {
    margin: 5px 0;
    border: none;
    border-top: 1px solid #eee;
}

/* Install Button styling in menu */
#pwa-install-btn {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
}

/* MOBILE NAV */
/* --- MOBILE DRAWER (Fixed Layout) --- */
/* --- MOBILE DRAWER (Dark Premium Theme) --- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    /* Start hidden */
    width: 280px;
    height: 100vh;
    /* CHANGE: Dark Brand Background instead of White */
    background: var(--text-dark);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 2005;
    /* Above everything */
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    /* FIX: Reduced from 90px to 20px to move content up */
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
    right: 0;
    /* Slide in */
}

/* Close Button Container */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* FIX: Hide inner close button on mobile since Hamburger acts as X */
@media (max-width: 768px) {
    .mobile-nav-header button {
        display: none !important;
    }

    /* Add top padding to compensate for missing header space if needed */
    .mobile-nav {
        padding-top: 60px;
    }
}

.mobile-nav-title {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Links Styling */
.mobile-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    /* White text */
    font-size: 1.1rem;
    font-weight: 500;
    padding: 18px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle dividers */
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-nav a i {
    color: var(--primary);
    /* Orange Icons */
    width: 25px;
    /* Fixed width for alignment */
    text-align: center;
}

.mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    padding-left: 35px;
    /* Slide effect */
}

/* Install App Button Container */
.mobile-install-box {
    margin-top: auto;
    /* Push to bottom */
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
}

/* --- HAMBURGER TO 'X' ANIMATION --- */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 6000;
    /* Super high to sit on top of sidebar */
    transition: 0.3s;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* Animation: Turn into X */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
    /* Orange Color */
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary);
    /* Orange Color */
}

/* Ensure it appears properly on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: fixed;
        /* Breaks out of Navbar stacking context */
        top: 22px;
        /* Aligns with your Logo */
        right: 20px;
        /* Aligns with edge */
    }

    /* Adjust Navbar actions so they don't overlap the fixed hamburger */
    .nav-actions {
        margin-right: 0;
    }
}

/* --- 4. HERO SECTION --- */
.hero {
    min-height: 70vh;
    width: 100%;
    background: url('assets/images/banner.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 900px;
    width: 90%;
}

.hero-subtitle {
    display: block;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

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

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- 5. TRUST BADGES --- */
.trust-badges {
    padding: 30px 0;
    background: #fff8e1;
    border-bottom: 1px solid #eee;
}

/* Update in style.css inside .badge-grid */
.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    /* Auto-fit ensures they space out evenly */
    gap: 20px;
    text-align: center;
}

.badge-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.badge-item h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-dark);
}

/* --- 6. MENU & FILTERS --- */
/* --- STICKY FILTERS --- */
.menu-filters {
    position: sticky;
    top: 70px;
    /* Height of your Navbar */
    z-index: 990;
    /* Below Navbar (1001) but above content */
    background: var(--cream-bg);
    /* Match section background to hide content behind */
    padding: 10px 0;
    margin-bottom: 20px;

    /* Center filters using flexbox on all viewports */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;

    /* Allow horizontal scroll on very small screens while keeping items centered */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    /* Add a subtle shadow only when sticking (optional, browsers handle this differently) */
    box-shadow: 0 4px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Ensure filter buttons keep their intrinsic size and don't stretch */
.menu-filters .filter-btn {
    display: inline-flex;
    flex: 0 0 auto;
}

/* Ensure container allows sticking */
#menu-section .container {
    overflow: visible;
}

.filter-btn {
    padding: 8px 25px;
    border: 2px solid var(--primary);
    background: transparent;
    border-radius: 30px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

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

.product-card.sold-out {
    opacity: 0.7;
    filter: grayscale(0.8);
}

.ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.product-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    /* Start hidden */
    transition: opacity 0.5s ease-in-out;
}

.product-img.loaded {
    opacity: 1;
    /* Fade in */
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
    font-family: 'Playfair Display';
}

.add-btn {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

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

.variant-select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 0.9rem;
    cursor: pointer;
}

.variant-select:focus {
    border-color: var(--primary);
    outline: none;
}

/* --- SEARCH BAR --- */
/* --- SMART SEARCH SUGGESTIONS --- */
/* --- PREMIUM SEARCH BAR --- */
.search-container {
    max-width: 600px;
    margin: 10px auto 25px;
    position: relative;
    z-index: 100;
}

.search-container input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    /* Space for icon */
    border-radius: 50px;
    /* Fully rounded pill shape */
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    color: var(--text-dark);
}

.search-container input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(232, 93, 4, 0.15);
    /* Orange glow on focus */
    transform: translateY(-2px);
    /* Slight lift effect */
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 0 0 15px 15px;
    /* Rounded bottom */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    /* Hidden by default */
    border: 1px solid #eee;
    border-top: none;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid #f9f9f9;
}

.suggestion-item:hover {
    background: #fff3e0;
}

.suggestion-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid #ddd;
}

.suggestion-info h4 {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-dark);
}

.suggestion-info span {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* --- HAMPER BUILDER --- */
.hamper-builder {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 30px auto 0;
}

.hamper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.hamper-option {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    text-align: center;
}

.hamper-option img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px;
}

.hamper-option h4 {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.hamper-option.selected {
    border-color: var(--primary);
    background-color: #fff3e0;
}

.hamper-option.selected::after {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamper-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.modal-overlay {
    z-index: 6000 !important;
}

/* --- CART SIDEBAR --- */
.cart-overlay,
.modal-overlay,
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.cart-overlay.active,
.modal-overlay[style*="display: flex"],
.quiz-overlay[style*="display: flex"] {
    opacity: 1;
    visibility: visible;
}

.modal-overlay[style*="display: flex"],
.quiz-overlay[style*="display: flex"] {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* --- CART SIDEBAR --- */
.cart-overlay,
.modal-overlay,
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5000;
    /* Overlay stays at 5000 */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.cart-overlay.active,
.modal-overlay[style*="display: flex"],
.quiz-overlay[style*="display: flex"] {
    opacity: 1;
    visibility: visible;
}

.modal-overlay[style*="display: flex"],
.quiz-overlay[style*="display: flex"] {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* --- 1. SIDEBAR LAYOUT (Fixes Structure) --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    max-width: 100%;
    /* FIX: Use dynamic viewport height for mobile browsers */
    height: 100vh;
    height: 100dvh;
    background: #f4f6f8;
    z-index: 5001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

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

.cart-header {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    /* Never shrink */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* This is the middle part that scrolls */
.cart-scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    /* FIX: Ensure content doesn't get hidden behind footer */
    padding-bottom: 20px;
}

.cart-items-list {
    margin-bottom: 20px;
}

/* --- 3. FORM INPUT STYLING (Fixes "Generic" Look) --- */
.cart-details-block {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.cart-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
}

.clear-btn {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: #888;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fafafa;
}

/* Items Styling */
.cart-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    background: #f9f9f9;
    padding: 2px;
    border-radius: 5px;
    width: fit-content;
}

.qty-btn {
    background: white;
    border: 1px solid #ddd;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NEW: Footer is now just the button area */
.cart-footer {
    background: white;
    padding: 20px;
    border-top: 1px solid #eee;
    z-index: 10;
    flex-shrink: 0;
    /* FIX: Add shadow so it separates clearly */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.total-row span:last-child {
    color: var(--primary);
    font-size: 1.3rem;
}

.btn-whatsapp-checkout {
    width: 100%;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
}

.coupon-section {
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.coupon-item {
    cursor: pointer;
    border: 1px dashed var(--primary);
    padding: 8px;
    border-radius: 5px;
    background: white;
    transition: 0.2s;
    margin-top: 5px;
}

.coupon-item:hover {
    background: #fff3e0;
}

/* --- MODALS CONTENT --- */
.modal-content {
    background: white;
    width: 500px;
    max-width: 90%;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #888;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary);
}

.p-detail-img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.p-detail-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- QUIZ SPECIFIC --- */
.quiz-container {
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.quiz-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.quiz-btn {
    flex: 1;
    padding: 20px;
    border: 1px solid #eee;
    background: white;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.quiz-btn:hover {
    border-color: var(--primary);
    background: #fff3e0;
    transform: translateY(-3px);
}

.quiz-result {
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px auto;
    border: 4px solid #fff3e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quiz-result h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.quiz-result h3 {
    font-size: 1rem;
    color: #2ecc71;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- VIDEO CARDS --- */
/* --- VIDEO CARDS FIXED --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    transition: 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    background: #000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the thumbnail covers the whole area */
    object-position: center;
    opacity: 1;
    /* FIX: Makes thumbnail clear and visible */
    transition: transform 0.3s ease;
}

/* Play Button Styling */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(232, 93, 4, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    border: 3px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Hover Effect */
.video-wrapper:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: #e85d04;
}

/* FIX: Hide overlay when playing */
.video-wrapper.playing .play-overlay {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 12px 40px 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 2000;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s ease-out;
}

.announcement-bar p {
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.announcement-bar button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: 0.3s;
}

.announcement-bar button:hover {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

/* --- SCROLL TOP --- */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background-color: var(--text-dark);
    transform: translateY(-3px);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--text-dark);
    color: #a9a9a9;
    padding: 50px 0 20px;
    margin-top: 40px;
    border-top: 4px solid var(--primary);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary);
}

.footer-section.about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--white);
    background-color: #3a3a3a;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-section.links ul {
    list-style: none;
    padding: 0;
}

.footer-section.links li a {
    color: #a9a9a9;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-section.links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-section.contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section.contact i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #3a3a3a;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #888;
    gap: 20px;
}

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

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    /* 1. Grid Layout: Force 2 Columns */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns equal width */
        gap: 12px;
        /* Smaller gap between cards */
        padding: 0 5px;
        /* Slight edge padding */
    }

    /* 2. Product Card Compact Styling */
    .product-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        /* Lighter shadow for mobile */
    }

    .product-img {
        height: 130px;
        /* Smaller image height */
    }

    .product-info {
        padding: 10px;
        /* Reduce internal padding */
    }

    .product-info h3 {
        font-size: 0.9rem;
        /* Smaller title font */
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* Truncate long names with ... */
    }

    /* Hide long descriptions on mobile to save space */
    .product-desc {
        display: none;
    }

    /* Compact Star Rating */
    .star-display {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    /* 3. Controls (Dropdown & Button) */
    .variant-select {
        padding: 4px 8px;
        font-size: 0.8rem;
        height: 32px;
        margin-bottom: 8px;
        background-position: right 8px center;
        /* Adjust arrow position */
    }

    .price-row {
        flex-direction: row;
        /* Keep side-by-side */
        align-items: center;
        justify-content: space-between;
    }

    .price {
        font-size: 1rem;
    }

    .add-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    /* Adjust Ribbon Size */
    .ribbon {
        font-size: 0.6rem;
        padding: 2px 8px;
        top: 8px;
        right: 8px;
    }

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

    .video-wrapper {
        height: 200px;
    }

    .hamper-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .hamper-option img {
        width: 40px;
        height: 40px;
    }

    .hamper-option h4 {
        font-size: 0.65rem;
    }

    .section-pad {
        padding: 30px 0;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    /* 1. Grid Layout: Force 2 Columns */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns equal width */
        gap: 12px;
        /* Smaller gap between cards */
        padding: 0 5px;
        /* Slight edge padding */
    }

    /* 2. Product Card Compact Styling */
    .product-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        /* Lighter shadow for mobile */
    }

    .product-img {
        height: 130px;
        /* Smaller image height */
    }

    .product-info {
        padding: 10px;
        /* Reduce internal padding */
    }

    .product-info h3 {
        font-size: 0.9rem;
        /* Smaller title font */
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* Truncate long names with ... */
    }

    /* Hide long descriptions on mobile to save space */
    .product-desc {
        display: none;
    }

    /* Compact Star Rating */
    .star-display {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    /* 3. Controls (Dropdown & Button) */
    .variant-select {
        padding: 4px 8px;
        font-size: 0.8rem;
        height: 32px;
        margin-bottom: 8px;
        background-position: right 8px center;
        /* Adjust arrow position */
    }

    .price-row {
        flex-direction: row;
        /* Keep side-by-side */
        align-items: center;
        justify-content: space-between;
    }

    .price {
        font-size: 1rem;
    }

    .add-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    /* Adjust Ribbon Size */
    .ribbon {
        font-size: 0.6rem;
        padding: 2px 8px;
        top: 8px;
        right: 8px;
    }

    .hamper-grid {
        grid-template-columns: repeat(3, 1fr);
        /* FIX: Force 3 Columns */
        gap: 5px;
        /* Tighter gap for small screens */
    }

    .video-wrapper {
        height: 250px;
    }
}

/* --- INVOICE MODAL STYLES --- */
.invoice-container {
    background: white;
    width: 600px;
    max-width: 95%;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.invoice-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.inv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.inv-logo {
    height: 60px;
    width: auto;
}

.inv-company h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
}

.inv-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.inv-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.inv-table th {
    background: var(--text-dark);
    color: white;
    padding: 10px;
    text-align: left;
    font-size: 0.9rem;
}

.inv-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.inv-total {
    text-align: right;
    font-size: 1.2rem;
    color: var(--primary);
    border-top: 2px solid #eee;
    padding-top: 10px;
}

/* Utility for text alignment in invoice */
.text-right {
    text-align: right;
}

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

/* History Card Buttons */
.history-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.btn-outline {
    border: 1px solid var(--primary);
    background: white;
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    flex: 1;
}

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

/* Print Media Query */
@media print {

    /* 1. Hide ALL direct children of the body by default */
    body>* {
        display: none !important;
    }

    /* 2. Override and show ONLY the invoice modal */
    #invoice-modal {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        background: white;
        z-index: 9999;
    }

    /* 3. Reset the invoice container to fit paper width */
    .invoice-container {
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding: 20px !important;
        /* Slight padding for paper margins */
        margin: 0 !important;
        height: auto !important;
        overflow: visible !important;
        position: relative !important;
    }

    /* 4. Hide buttons and close icons inside the invoice */
    .invoice-actions,
    .close-invoice,
    .no-print {
        display: none !important;
    }

    /* 5. Ensure the body height doesn't force extra blank pages */
    html,
    body {
        height: auto !important;
        overflow: visible !important;
        background: white !important;
    }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

/* --- PREMIUM CHECKOUT FORM --- */

/* 1. Input Fields & Textareas */
.form-control,
textarea,
.phone-input-group {
    width: 100%;
    background: #f9fafb;
    /* Light clean background */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    /* Nice rounded corners */
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
}

.form-control {
    padding: 14px;
}

textarea {
    padding: 14px;
    resize: vertical;
    min-height: 80px;
}

/* 2. Focus State (Glow Effect) */
.form-control:focus,
textarea:focus,
.phone-input-group:focus-within {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.15);
    /* Soft Orange Glow */
    outline: none;
}

/* 3. Phone Input Group Specifics */
.phone-input-group {
    display: flex;
    align-items: stretch;
    /* Ensure full height match */
    padding: 0;
    overflow: hidden;
    /* Clips the inner input */
}

.phone-input-group span {
    background: #f3f4f6;
    padding: 0 16px;
    color: #4b5563;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-right: 1px solid #e5e7eb;
}

.phone-input-group input {
    border: none;
    outline: none;
    padding: 14px;
    width: 100%;
    background: transparent;
    font-size: 1rem;
    color: var(--text-dark);
}

/* 4. Labels */
.input-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
    margin-top: 20px;
    letter-spacing: 0.3px;
}

/* 5. Login Modal specific styles */
.login-option-btn {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
    color: #333;
}

.login-option-btn:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- 4. PAYMENT OPTIONS (Fixes Alignment) --- */
.payment-section {
    margin-top: 25px;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-card {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.payment-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pay-content {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px 5px;
    text-align: center;
    transition: all 0.2s ease;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px;
}

.pay-content i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #888;
    transition: 0.2s;
}

.pay-content span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

/* Selected State */
.payment-card input:checked+.pay-content {
    border-color: var(--primary);
    background-color: #fff3e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(232, 93, 4, 0.15);
}

.payment-card input:checked+.pay-content i,
.payment-card input:checked+.pay-content span {
    color: var(--primary);
}

/* Star Rating Input (Interactive) */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 5px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input input:checked~label,
.star-rating-input label:hover,
.star-rating-input label:hover~label {
    color: #ffc107;
    /* Gold Color */
}

/* Static Star Display (Product Cards) */
.star-display {
    color: #ffc107;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.rating-count {
    color: #999;
    font-size: 0.75rem;
    margin-left: 5px;
    font-weight: normal;
}

/* Rate Button in Order History */
.btn-rate {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: white;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 15px;
    cursor: pointer;
    margin-left: 10px;
    transition: 0.2s;
}

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

/* --- PREMIUM PRODUCT MODAL STYLES --- */

/* Wrapper for the split layout */
.pm-grid {
    display: flex;
    gap: 30px;
    text-align: left;
    /* Reset alignment */
}

/* Left Side: Image */
.pm-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    border-radius: 12px;
    overflow: hidden;
}

.pm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 350px;
    /* Limit height on large screens */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Right Side: Details */
.pm-details {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.pm-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 5px;
}

.pm-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.pm-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Meta Data Box (Ingredients/Shelf Life) */
.pm-meta-box {
    background: #fff8e1;
    /* Light cream to match theme */
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #ffe0b2;
}

.pm-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #5d4037;
    margin-bottom: 5px;
}

.pm-meta-item:last-child {
    margin-bottom: 0;
}

.pm-meta-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Controls Area */
.pm-controls {
    margin-top: auto;
    /* Push to bottom */
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pm-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pm-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

/* Stylish Dropdown */
.pm-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    background: white;
    cursor: pointer;
    transition: 0.3s;
    outline: none;
    -webkit-appearance: none;
    /* Remove default arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23e85d04%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.pm-select:focus {
    border-color: var(--primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .pm-grid {
        flex-direction: column;
        gap: 20px;
    }

    .pm-img {
        max-height: 220px;
    }

    .pm-title {
        font-size: 1.5rem;
    }
}

/* --- MOBILE OPTIMIZATIONS FOR PRODUCT MODAL --- */

/* Default Desktop Styles (Clean up) */
.pm-variant-wrapper {
    margin-bottom: 15px;
}

.pm-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
}

@media (max-width: 768px) {

    /* 1. Reduce Image Height */
    .pm-img {
        max-height: 140px;
        /* Much smaller to fit everything */
        width: auto;
        margin: 0 auto;
        display: block;
    }

    .pm-image-container {
        padding: 10px;
        background: transparent;
        /* Remove heavy background */
        height: auto;
    }

    /* 2. Tighten Text & Spacing */
    .pm-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
        text-align: center;
    }

    .pm-category {
        text-align: center;
        margin-bottom: 0;
    }

    .pm-desc {
        font-size: 0.85rem;
        margin-bottom: 10px;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* Limit description to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 3. Compact Meta Box (Ingredients) */
    .pm-meta-box {
        padding: 8px;
        margin-bottom: 10px;
        font-size: 0.8rem;
    }

    /* 4. THE MAGIC: Single Row Controls */
    .pm-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-top: 10px;
        border-top: 1px solid #eee;
        background: white;

        /* Sticky bottom ensures it's always reachable */
        position: sticky;
        bottom: 0;
    }

    /* Price Item */
    .pm-price-row {
        margin-bottom: 0;
        white-space: nowrap;
    }

    .pm-price {
        font-size: 1.2rem;
    }

    /* Variant Dropdown Item */
    .pm-variant-wrapper {
        margin-bottom: 0;
        flex: 1;
        /* Takes available space */
        min-width: 80px;
    }

    .pm-select {
        padding: 5px 8px;
        height: 40px;
        /* Standard touch height */
        font-size: 0.85rem;
    }

    /* Add Button Item */
    .pm-btn {
        width: auto;
        flex: 1.2;
        /* Button slightly larger */
        height: 40px;
        padding: 0 10px;
        font-size: 0.9rem;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
}

/* --- ORDER TIMELINE STYLES --- */
.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 20px 0 10px;
    padding: 0 10px;
}

/* The gray background line */
.timeline-line-bg {
    position: absolute;
    top: 15px;
    /* Centers line behind dots */
    left: 10px;
    right: 10px;
    height: 4px;
    background: #e0e0e0;
    z-index: 0;
}

/* The active colored line */
.timeline-line-fill {
    position: absolute;
    top: 15px;
    left: 10px;
    height: 4px;
    background: #2ecc71;
    /* Green */
    z-index: 1;
    transition: width 0.3s;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 30px;
    /* Width of the dot area */
}

.step-dot {
    width: 30px;
    height: 30px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    margin: 0 auto 5px;
    /* Center dot and add space below */
    border: 2px solid white;
    /* separation from line */
}

.step-label {
    font-size: 0.7rem;
    color: #999;
    position: absolute;
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* FIX: Timeline labels overlapping on small screens */
@media (max-width: 400px) {
    .step-label {
        width: 70px;
        /* Reduce width */
        font-size: 0.6rem;
        /* Smaller font */
        line-height: 1.1;
    }
}

/* Active State */
.timeline-step.active .step-dot {
    background: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.timeline-step.active .step-label {
    color: #2c3e50;
    font-weight: 600;
}

/* --- TOAST NOTIFICATIONS --- */
#toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(44, 24, 16, 0.95);
    /* Dark Brown */
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUpFade 0.4s ease forwards;
    opacity: 0;
    min-width: 250px;
    justify-content: center;
}

.toast.success {
    border-bottom: 3px solid #2ecc71;
}

.toast.error {
    border-bottom: 3px solid #e74c3c;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* --- SKELETON LOADING --- */
.skeleton {
    background: #eee;
    background-image: linear-gradient(90deg, #eee 0px, #f5f5f5 40px, #eee 80px);
    background-size: 600px;
    animation: shine-lines 1.6s infinite linear;
    border-radius: 8px;
}

@keyframes shine-lines {
    0% {
        background-position: -100px;
    }

    100% {
        background-position: 140px;
    }
}

.sk-card {
    height: 350px;
    border-radius: 20px;
    background: white;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sk-img {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
}

.sk-title {
    height: 24px;
    width: 70%;
    margin-bottom: 10px;
}

.sk-text {
    height: 16px;
    width: 100%;
    margin-bottom: 5px;
}

.sk-btn {
    height: 40px;
    width: 100%;
    margin-top: 15px;
    border-radius: 20px;
}

/* --- INVOICE MODAL FIXES --- */

/* 1. Force Invoice to be ON TOP of the Sidebar (Z-Index 5001) */
#invoice-modal {
    z-index: 6000 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    /* Darker backdrop for focus */
    backdrop-filter: blur(3px);
    /* Blur effect to hide background distractions */
}

/* 2. Fix Display Logic (Ensure it shows up smoothly) */
#invoice-modal[style*="display: flex"] {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* 3. Invoice Container Positioning */
.invoice-container {
    position: relative;
    z-index: 6001;
    /* Content higher than overlay */
    margin: auto;
    transform: scale(1);
    animation: invoicePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animation for nice entry */
@keyframes invoicePop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 4. Fix Close Button Visibility */
.close-invoice {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    z-index: 6002;
}

.close-invoice:hover {
    color: #e85d04;
    /* Primary Color */
}

/* --- CUSTOM CONFIRM MODAL --- */
#custom-confirm-modal {
    z-index: 9999 !important;
    /* Always on top */
}

.confirm-box {
    text-align: center;
    max-width: 350px !important;
    /* Smaller width */
}

.confirm-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.btn-confirm-yes {
    background: var(--primary);
    color: white;
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-confirm-no {
    background: #f3f4f6;
    color: #333;
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Add to style.css */

/* Status Badge */
.status-cancelled {
    background-color: #fee2e2;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Timeline: Cancelled State (Red Line) */
.timeline-line-fill.cancelled {
    background: #e74c3c !important;
}

.timeline-step.cancelled .step-dot {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* --- MOBILE FOOTER OPTIMIZATION --- */
@media (max-width: 600px) {
    .footer {
        padding: 30px 0 80px;
        /* Extra bottom padding for floating buttons */
        text-align: center;
    }

    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Force 2 Columns */
        gap: 30px 15px;
        /* Vertical Gap: 30px, Horizontal: 15px */
    }

    /* 1. Logo & About Section: Full Width & Centered */
    .footer-section.about {
        grid-column: 1 / -1;
        /* Span across both columns */
        display: flex;
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid #3a3a3a;
        padding-bottom: 20px;
        margin-bottom: 10px;
    }

    .footer-section.about p {
        max-width: 300px;
        margin: 0 auto 15px;
        font-size: 0.9rem;
    }

    .footer-logo {
        margin-bottom: 10px;
    }

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

    /* 2. Links Sections (Quick Links & Legal): Left Aligned */
    .footer-section.links {
        text-align: left;
        padding-left: 10px;
    }

    .footer-section.links h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-section.links h4::after {
        left: 0;
        transform: none;
        /* Keep underline left-aligned */
    }

    /* 3. Contact Section: Full Width & Styled Box */
    .footer-section.contact {
        grid-column: 1 / -1;
        /* Span full width */
        background: rgba(255, 255, 255, 0.05);
        /* Dark box background */
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .footer-section.contact h4 {
        text-align: center;
    }

    .footer-section.contact h4::after {
        left: 50%;
        transform: translateX(-50%);
        /* Center the underline */
    }

    .footer-section.contact p {
        justify-content: center;
        /* Center align icon and text */
        font-size: 0.9rem;
    }
}

/* --- HEADER & LAYOUT FIXES (Mobile) --- */
@media (max-width: 600px) {

    /* 1. Container Spacing */
    .nav-container {
        padding: 0 12px;
        height: 60px;
        /* Fix header height */
    }

    /* 2. Logo Optimization: Hide Text, Keep Icon */
    .logo-text {
        display: none;
        /* Hides "Namo Namkeen" text to save space */
    }

    .logo-img {
        width: 45px;
        /* Slightly larger icon since text is gone */
        height: 45px;
    }

    /* 3. Login Button Compact */
    .btn-primary.small-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
        /* Prevents text wrap */
    }

    /* 4. Action Icons Spacing */
    .nav-actions {
        gap: 12px;
        /* Consistent gap between Login, Cart, Menu */
    }

    /* 5. Cart Icon */
    .cart-trigger {
        font-size: 1.3rem;
    }

    .cart-count {
        top: -5px;
        right: -8px;
    }

    /* 6. Fix Hamburger Position (Put back in flow) */
    .hamburger {
        display: block;
        position: relative;
        /* Reset from fixed */
        top: auto;
        right: auto;
        margin-left: 5px;
        z-index: 6000;
        /* Keep high z-index */
    }

    /* 7. Ensure Navbar Items Align Vertically */
    .navbar {
        display: flex;
        align-items: center;
        height: 70px;
    }
}

@media (max-width: 600px) {
    /* ... existing mobile styles ... */

    /* Force Trust Badges to be 3 in a row */
    .badge-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3 Equal Columns */
        gap: 10px;
        /* Smaller gap */
        justify-content: center;
    }

    .badge-item {
        margin-bottom: 0;
        /* Remove extra margin if any */
    }

    /* Reduce icon and text size to fit */
    .badge-item i {
        font-size: 1.5rem;
        /* Smaller icon */
        margin-bottom: 5px;
    }

    .badge-item h4 {
        font-size: 0.75rem;
        /* Smaller text */
        line-height: 1.2;
    }
}

@media (max-width: 600px) {
    /* ... existing mobile styles ... */

    /* Force Testimonials (Video Grid) to be 3 in a row */
    .video-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3 Equal Columns */
        gap: 8px;
        /* Tight gap */
        padding: 0 5px;
    }

    /* Adjust Video Card for small size */
    .video-wrapper {
        height: 140px;
        /* Reduce height significantly to match width */
        border-radius: 10px 10px 0 0;
    }

    .video-card {
        border-radius: 10px;
    }

    /* Shrink Play Button */
    .play-overlay {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        border-width: 2px;
    }

    /* Compact Text Info */
    .video-caption {
        padding: 8px 4px;
        text-align: center;
    }

    .video-caption h4 {
        font-size: 0.75rem;
        /* Smaller Name */
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .test-location {
        font-size: 0.6rem;
        display: none;
        /* Optional: Hide location to save space, or keep it very small */
    }

    .video-caption .stars {
        font-size: 0.6rem;
        margin-bottom: 4px;
    }
}

/* In style.css */

/* Lift WhatsApp button slightly higher */
.float-wa {
    bottom: 90px;
    /* Kept as is */
    right: 20px;
    /* Move closer to edge */
    width: 55px;
    /* Slightly larger touch target */
    height: 55px;
    z-index: 4000;
    /* Ensure it's below Modal (5000) but above content */
}

/* Position Scroll Top button above WhatsApp */
#scrollTopBtn {
    bottom: 160px;
    /* Positioned clearly above WhatsApp */
    right: 20px;
    width: 45px;
    height: 45px;
    z-index: 3999;
}

/* Ensure they don't cover the Cart Sidebar Footer */
.cart-sidebar.active~.float-wa,
.cart-sidebar.active~#scrollTopBtn {
    display: none;
    /* Hide them when Cart is open to prevent clutter */
}

/* --- NEW PAGES STYLES --- */

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: #999;
    display: block;
    margin-bottom: 5px;
}

.blog-title {
    font-size: 1.2rem;
    margin: 5px 0 10px;
    color: var(--text-dark);
    line-height: 1.3;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    color: var(--text-dark);
}

.faq-question:hover {
    color: var(--primary);
    background: #fffbf0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
    border-top: 1px solid #eee;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

/* --- MOBILE RESPONSIVENESS FOR NEW PAGES --- */

@media (max-width: 768px) {

    /* 1. Fix Large Headers on Story/Blog/FAQ */
    .section-pad h1 {
        font-size: 2.2rem !important;
        /* Reduces from 3rem */
        line-height: 1.2;
    }

    /* 2. Blog Grid: Force Single Column */
    .blog-grid {
        grid-template-columns: 1fr !important;
        /* Stacks cards vertically */
        gap: 20px;
        padding: 0 10px;
    }

    /* 3. Story Page Adjustments */
    .story-content {
        padding: 0 10px;
    }

    .story-content p {
        font-size: 1rem !important;
        /* Readable body text */
        text-align: left;
        /* Easier to read on mobile than justify */
    }

    /* Adjust the big "I" Drop Cap */
    .story-content span[style*="font-size: 3rem"] {
        font-size: 2.5rem !important;
        padding-right: 8px !important;
    }

    /* Quote Box in Story */
    .story-content div[style*="background: #fff8e1"] {
        padding: 20px !important;
        margin: 20px 0 !important;
    }

    /* 4. FAQ Section */
    .faq-question {
        padding: 15px;
        /* Less padding */
        font-size: 0.95rem;
        /* Prevent text cutoff */
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    /* 5. Modals (Blog Reader & Others) */
    .modal-content {
        width: 95% !important;
        /* Take full width */
        max-height: 85vh;
        /* Max height 85% of screen */
        overflow-y: auto;
        /* Enable scrolling inside modal */
        padding: 20px !important;
    }

    /* 6. Price List Table - Fit to Screen */
    /* 6. Price List Table - FIXED MOBILE LAYOUT */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: hidden;
        /* Safety scroll if screen is extremely small */
    }

    .price-table {
        width: 100%;
        table-layout: fixed;
        /* Let browser calculate optimal width */
        border-collapse: collapse;
    }

    /* 7. Column Styling */
    .price-table th {
        white-space: nowrap;
        /* CRITICAL: Prevents vertical stacking */
        font-size: 0.75rem;
        /* Compact header font */
        padding: 10px 5px;
        /* Comfortable padding */
        background-color: #f8f9fa;
        color: #555;
        font-weight: 700;
        text-transform: uppercase;
        vertical-align: middle;
    }

    .price-table td {
        padding: 8px 5px;
        font-size: 0.85rem;
        vertical-align: middle;
        border-bottom: 1px solid #eee;
    }

    /* Column Specifics */

    /* Image Column: Fixed small width */
    .price-table th:nth-child(1),
    .price-table td:nth-child(1) {
        width: 50px;
        min-width: 50px;
        text-align: center;
    }

    /* Product Name: Takes all remaining space & wraps text */
    .price-table th:nth-child(2),
    .price-table td:nth-child(2) {
        width: auto;
        white-space: normal;
        /* Allow long names to wrap nicely */
        font-weight: 600;
    }

    /* Pack Size: Prevent wrapping */
    .price-table th:nth-child(3),
    .price-table td:nth-child(3) {
        white-space: nowrap;
        text-align: center;
        width: 15%;
    }

    /* Price: Prevent wrapping */
    .price-table th:nth-child(4),
    .price-table td:nth-child(4) {
        white-space: nowrap;
        text-align: middle;
        width: 15%;
        color: var(--primary);
        font-weight: 700;
    }

    /* Thumbnail Fix */
    .t-thumb {
        display: block !important;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto;
    }

    /* Hide thumbnails in Price List on very small screens to save space */
    @media (max-width: 400px) {
        .t-thumb {
            display: none;
        }
    }
}

/* --- PRICE LIST PAGE STYLES --- */
.pricelist-body {
    background-color: #f8f9fa;
}

.price-header-section {
    background: var(--white);
    padding: 60px 0 40px;
    border-bottom: 1px solid #eee;
    text-align: middle;
}

.price-category {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid #eee;
}

.cat-header {
    background: var(--text-dark);
    padding: 15px 25px;
    color: white;
}

.cat-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.price-table th {
    background: #f9fafb;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

/* Product Thumbnail Image */
.t-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    display: block;
    /* Ensures it renders */
}

.p-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.p-price {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.0rem;
    text-align: right;
}

/* Print Button */
.fab-print {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Moved to left to avoid overlapping WhatsApp/ScrollTop */
    width: 50px;
    height: 50px;
    background: var(--text-dark);
    color: var(--secondary);
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-print:hover {
    transform: translateY(-3px);
    background: var(--primary);
    color: white;
}

@media print {

    .navbar,
    .nav-actions,
    .footer,
    .fab-print,
    .float-wa,
    #scrollTopBtn {
        display: none !important;
    }

    .price-category {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 20px;
    }

    body {
        background: white;
    }
}

/* --- SALES BOOSTERS --- */

/* 1. Free Shipping Meter */
.shipping-bar-container {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    text-align: center;
}

.shipping-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #faa307, #e85d04);
    width: 0%;
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Empty Cart CTA */
.empty-cart-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-cart-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.btn-shop-now {
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(232, 93, 4, 0.2);
}

/* 3. Share Cart Button */
.share-cart-btn {
    width: 100%;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- VISUAL CATEGORY SLIDER --- */
.category-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 15px 5px;
    margin-bottom: 20px;
    justify-content: center;
    /* Center on desktop */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.category-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome */
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.7;
}

.cat-item.active,
.cat-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.cat-icon-box {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.cat-item.active .cat-icon-box {
    border-color: var(--primary);
    background: #fff3e0;
}

.cat-icon-box i {
    font-size: 1.5rem;
    color: var(--primary);
}

.cat-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Align left on mobile for scrolling */
@media (max-width: 768px) {
    .category-slider {
        justify-content: flex-start;
        padding-left: 15px;
    }
}