﻿@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-brown: #62281C;
    --primary-dark: #4A1F15;
    --primary-light: #7A3323;
    --primary-orange: #ff6b00;

    --secondary-red: #E5194A;
    --secondary-red-dark: #C01539;
    --secondary-red-light: #FF2D5C;

    --neutral-white: #FFFFFF;
    --neutral-light: #F8F9FA;
    --neutral-lightest: #F3F4F6;
    --neutral-medium: #9CA3AF;
    --neutral-gray: #6C757D;
    --neutral-dark: #212529;
    --neutral-black: #000000;
    --neutral-border: #E5E7EB;

    --success-green: #16A34A;
    --warning-yellow: #F59E0B;
    --error-red: #DC2626;
    --info-blue: #0891B2;

    --font-primary: 'Jost', sans-serif;
    --font-secondary: 'Jost', sans-serif;
    --font-accent: 'Jost', sans-serif;

    --text-xs: 12px;
    /* 12px */
    --text-sm: 14px;
    /* 14px */
    --text-md: 15px;
    /* 15px */
    --text-base: 16px;
    /* 16px */
    --text-lg: 18px;
    /* 18px */
    --text-xl: 20px;
    /* 20px */
    --text-2xl: 24px;
    /* 24px */
    --text-3xl: 30px;
    /* 30px */
    --text-4xl: 36px;
    /* 36px */
    --text-5xl: 48px;
    /* 48px */
    --text-6xl: 60px;
    /* 60px */

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Spacing */
    --space-1: 4px;
    /* 4px */
    --space-2: 8px;
    /* 8px */
    --space-3: 12px;
    /* 12px */
    --space-4: 16px;
    /* 16px */
    --space-5: 20px;
    /* 20px */
    --space-6: 24px;
    /* 24px */
    --space-8: 32px;
    /* 32px */
    --space-10: 40px;
    /* 40px */
    --space-12: 48px;
    /* 48px */
    --space-16: 64px;
    /* 64px */
    --space-20: 80px;
    /* 80px */

    /* Border Radius */
    --radius-sm: 4px;
    /* 4px */
    --radius-md: 8px;
    /* 8px */
    --radius-lg: 12px;
    /* 12px */
    --radius-xl: 16px;
    /* 16px */
    --radius-2xl: 24px;
    /* 24px */
    --radius-full: 9999px;
    /* Fully rounded */

    /* 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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* Container */
    --container-max-width: 1290px;

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

::selection {
    background: var(--secondary-red);
    color: #fff;
}

body {
    font-family: var(--font-accent);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--neutral-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content area - grows to fill available space */
#main-content {
    flex: 1 0 auto;
}

/* Footer - prevents shrinking */
.footer {
    flex-shrink: 0;
}

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

svg {
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   UNIFIED BRAND SYSTEM
   ============================================ */
.rajbandhu-frontend {
    scroll-behavior: smooth;
}

/* Standardized Breadcrumb */
.rb-breadcrumb-wrapper {
    background: #fff9f1;
    padding: 15px 0;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 0;
}

/* Premium Section Headings */
.rb-section-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding: 0 15px;
}

.rb-section-subtitle {
    display: block;
    color: var(--secondary-red);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.rb-section-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--neutral-dark);
    margin-bottom: 0;
    font-family: var(--font-primary);
}

.rb-section-title span {
    color: var(--secondary-red);
}

@media (max-width: 991px) {
    /* Base size is now 38px */
}

@media (max-width: 768px) {
    .rb-section-header {
        margin-bottom: 20px;
    }

    .rb-section-subtitle {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .rb-section-title {
        font-size: 32px;
    }
}

/* Collection Search */
.collection-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.collection-search-input {
    height: 54px;
    padding: 0 50px 0 55px !important;
    border-radius: 99px !important;
    border: 2px solid #f0f0f0 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.collection-search-input:focus {
    border-color: var(--secondary-red) !important;
    box-shadow: 0 10px 25px rgba(229, 25, 74, 0.1) !important;
    outline: none;
}

.collection-search-wrapper .search-icon {
    position: absolute;
    left: 20px;
    font-size: 22px;
    color: #999;
    pointer-events: none;
}

.search-clear-btn {
    position: absolute;
    right: 15px;
    background: #eee;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    background: var(--secondary-red);
    color: #fff;
}

@media (max-width: 768px) {
    .collection-search-input {
        height: 48px;
        font-size: 14px !important;
    }
}

/* Premium Blog Card */
.rb-blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    text-decoration: none !important;
}

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

.rb-blog-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.rb-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rb-blog-card:hover .rb-blog-image img {
    transform: scale(1.1);
}

.rb-blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rb-blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #888;
}

.rb-blog-meta i {
    color: var(--secondary-red);
    margin-right: 4px;
}

.rb-blog-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-dark);
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.rb-blog-card:hover .rb-blog-title {
    color: var(--secondary-red);
}

.rb-blog-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rb-btn-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    height: 40px;
    background: var(--secondary-red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 24px;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(229, 25, 74, 0.2);
    border: none;
}

.rb-blog-card:hover .rb-btn-continue {
    transform: translateY(-2px);
    background: var(--secondary-red);
    color: #fff;
    box-shadow: 0 6px 18px rgba(229, 25, 74, 0.3);
}

.rb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.rb-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #777;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.rb-breadcrumb-item i {
    font-size: 16px;
    color: var(--secondary-red);
}

.rb-breadcrumb-item a {
    color: inherit;
    text-decoration: none;
}

.rb-breadcrumb-item a:hover {
    color: var(--secondary-red);
}

.rb-breadcrumb-item.active {
    color: #e5194a;
    font-weight: 700;
}

.rb-breadcrumb-separator {
    color: #bbb;
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--neutral-dark);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

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

/* a:hover {
    color: var(--primary-dark);
} */

.text-primary {
    color: var(--primary-brown);
}

.text-secondary {
    color: var(--neutral-gray);
}

.text-dark {
    color: var(--neutral-dark);
}

.text-white {
    color: var(--neutral-white);
}

.font-primary {
    font-family: var(--font-primary);
}

.font-secondary {
    font-family: var(--font-accent);
}

.font-accent {
    font-family: var(--font-accent);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
    overflow: visible;
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-10) 0;
}

.section-sm {
    padding: var(--space-10) 0;
}

.section-lg {
    padding: var(--space-20) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-5 {
    gap: var(--space-5);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

.items-start {
    align-items: flex-start;
}

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

.items-end {
    align-items: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

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

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.flex-1 {
    flex: 1;
}

/* ============================================
   TOP ANNOUNCEMENT BAR
   ============================================ */
.topbar {
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    overflow: hidden;
    position: relative;
}

.topbar .container {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.topbar:hover .container {
    animation-play-state: paused;
}

.topbar a {
    color: var(--neutral-white);
    text-decoration: underline;
}

.topbar a:hover {
    color: var(--neutral-white);
    opacity: 0.9;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: var(--neutral-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: visible;
}

.header.scrolled {
    background: var(--neutral-white) !important;
    box-shadow: var(--shadow-md);
    z-index: 1020;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) 0;
    gap: var(--space-4);
    min-height: 60px;
    overflow: visible;
}

/* Logo */
.logo {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    color: var(--primary-brown);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: transform var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--primary-brown);
}

.logo-icon {
    font-size: 32px;
    line-height: 1;
}

/* Main Navigation Menu (Center) */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

.nav-menu .nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: var(--font-medium);
    color: var(--neutral-dark);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-md);
    border-radius: var(--radius-md);
    white-space: nowrap;
}

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

.nav-link.active {
    color: var(--secondary-red);
    font-weight: var(--font-semibold);
}

.nav-link i {
    font-size: 16px;
}

/* Header Icons (Right) */
.header-icons {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
    overflow: visible;
    padding: 4px 8px 4px 0;
}

.icon-btn {
    position: relative;
    padding: 10px;
    background: transparent;
    border: none;
    color: var(--neutral-dark);
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible;
    width: 44px;
    height: 44px;
}

.icon-btn:hover {
    color: var(--secondary-red);
    background: rgba(211, 35, 33, 0.1);
}

.icon-btn i {
    font-size: 22px;
    line-height: 1;
}

.feature-icon i {
    font-size: 32px;
    line-height: 1;
}

.social-btn i {
    font-size: 20px;
    line-height: 1;
}

.icon-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--secondary-red);
    color: var(--neutral-white);
    font-size: 11px;
    font-weight: var(--font-bold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: var(--space-2);
    color: var(--neutral-dark);
    cursor: pointer;
}

.mobile-menu-btn i {
    font-size: 28px;
}

/* ============================================
   HERO SLIDER SECTION - MOBILE OPTIMIZED
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    display: grid;
    /* Height is now determined by the content (images) */
}

.slider-item {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-item.active {
    opacity: 1;
    z-index: 1;
}

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

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 10;
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-dark);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* Mobile Responsive Slider */
/* Mobile Responsive Slider */
/* 1024px media query removed as fixed height is no longer needed */

@media (max-width: 768px) {

    /* Height adjustments removed to respect original image ratio */


    .slider-dots {
        bottom: 20px;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-3);
    }

    .dot {
        width: 8px;
        height: 8px;
    }

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

@media (max-width: 576px) {
    /* Height adjustments removed to respect original image ratio */

    .slider-item::after {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.2) 0%,
                rgba(0, 0, 0, 0.4) 100%);
    }

    .slider-dots {
        bottom: 16px;
        gap: var(--space-1);
        padding: var(--space-1) var(--space-2);
    }

    .dot {
        width: 6px;
        height: 6px;
        border-width: 1px;
    }

    .dot.active {
        width: 20px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .dot {
        width: 12px;
        height: 12px;
        min-width: 12px;
        min-height: 12px;
    }

    .dot.active {
        width: 36px;
    }
}

/* ============================================
   QUICK CATEGORIES SECTION - SCROLLABLE
   ============================================ */
.quick-categories-section {
    padding: var(--space-6) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.quick-categories-scroll {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-2) 0;
    position: relative;
}

.quick-categories-scroll::-webkit-scrollbar {
    display: none;
}

/* Fade effect on edges */
.quick-categories-scroll::before,
.quick-categories-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 2;
}

.quick-categories-scroll::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.quick-categories-scroll::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.quick-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    min-width: 90px;
    padding: var(--space-2);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-lg);
}


.quick-category-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 3px solid var(--neutral-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.quick-category-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(61, 20, 14, 0.1) 0%, rgba(229, 25, 74, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-category-item:hover .quick-category-icon {
    border-color: var(--primary-brown);
    box-shadow: 0 8px 20px rgba(61, 20, 14, 0.2);
    transform: scale(1.05);
}

.quick-category-item:hover .quick-category-icon::after {
    opacity: 1;
}

.quick-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.quick-category-item:hover .quick-category-icon img {
    transform: scale(1.1);
}

.quick-category-name {
    font-size: 0.8125rem;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 90px;
}

.quick-category-item:hover .quick-category-name {
    color: var(--primary-brown);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .new-arrivals-section {
        padding: var(--space-5) 0 !important;
    }

    .blog-section-home {
        padding: var(--space-5) 0 !important;
    }

    .shop-collection-section {
        padding: var(--space-5) 0 !important;
    }

    .most-popular-section {
        padding: var(--space-5) 0 !important;
    }

    .category-carousel-wrapper {
        padding: 0 var(--space-5) !important;
    }

    .view-all-container {
        margin-top: var(--space-2) !important;
    }

    .category-tab {
        padding: 5px 10px !important;
    }

    .quick-categories-section {
        padding: var(--space-4) 0;
    }

    .quick-categories-scroll {
        gap: var(--space-3);
        padding: var(--space-1) 0;
    }

    .quick-category-item {
        min-width: 85px;
        padding: var(--space-2);
    }

    .quick-category-icon {
        width: 70px;
        height: 70px;
        border-width: 3px;
    }

    .quick-category-name {
        font-size: 0.8125rem;
        max-width: 85px;
    }
}

@media (max-width: 576px) {
    .quick-categories-section {
        padding: var(--space-3) 0;
    }

    .quick-categories-scroll {
        gap: var(--space-2);
    }

    .quick-category-item {
        min-width: 80px;
    }

    .quick-category-icon {
        width: 64px;
        height: 64px;
    }

    .quick-category-name {
        font-size: 0.75rem;
        max-width: 80px;
    }

    .quick-categories-scroll::before,
    .quick-categories-scroll::after {
        width: 20px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .quick-category-item {
        min-width: 80px;
    }

    .quick-category-icon {
        width: 64px;
        height: 64px;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-accent);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.5;
}

.btn-primary {
    background: var(--secondary-red);
    color: var(--neutral-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--neutral-white);
}

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

.btn-secondary {
    background: var(--neutral-white);
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
}

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

.btn-white {
    background: var(--neutral-white);
    color: var(--primary-brown);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--neutral-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--primary-brown);
    border: 2px solid transparent;
}

.btn-ghost:hover {
    background: rgba(45, 80, 22, 0.1);
    border-color: var(--primary-brown);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    padding: var(--space-3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--neutral-light);
}

.card-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-body {
    padding: var(--space-6);
}

/* Product Card */


.product-card-img-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--neutral-light);
}

.product-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-badges {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.product-card-badge {
    padding: var(--space-2) var(--space-3);
    background: var(--error-red);
    color: var(--neutral-white);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.product-card-badge.new {
    background: var(--success-green);
}

.product-card-badge.sale {
    background: var(--error-red);
}

.product-card-actions {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-white);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-action-btn:hover {
    background: var(--primary-brown);
    color: var(--neutral-white);
    transform: scale(1.1);
}

.product-action-btn svg {
    width: 20px;
    height: 20px;
}

.product-card-body {
    padding: var(--space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: var(--text-xs);
    color: var(--neutral-gray);
    text-transform: uppercase;
    font-weight: var(--font-semibold);
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

.product-card-title {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    color: var(--neutral-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.product-card-stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--secondary-gold);
    font-size: var(--text-sm);
}

.star-empty {
    color: #D1D5DB;
}

.product-card-reviews {
    color: var(--neutral-gray);
    font-size: var(--text-sm);
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.product-card-price-current {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--primary-brown);
}

.product-card-price-original {
    font-size: var(--text-base);
    color: var(--neutral-gray);
    text-decoration: line-through;
}

.product-card-discount {
    padding: var(--space-1) var(--space-2);
    background: var(--success-green);
    color: var(--neutral-white);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-radius: var(--radius-sm);
}

.product-card-footer {
    margin-top: auto;
}

/* Category Card */
.category-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-card-img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-6);
}

.category-card-title {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    margin: 0;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-5);
}

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-brown);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-4);
    color: var(--neutral-dark);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--neutral-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    text-align: center;
    padding: var(--space-6);
    background: var(--neutral-light);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--neutral-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--secondary-gold) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
}

.feature-description {
    color: var(--neutral-gray);
    margin: 0;
}

/* ============================================
   FORMS
   ============================================ */

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: var(--font-medium);
    color: var(--neutral-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-accent);
    font-size: var(--text-base);
    color: var(--neutral-dark);
    background: var(--neutral-white);
    border: 2px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.form-error {
    color: var(--error-red);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.badge-success {
    background: var(--success-green);
    color: var(--neutral-white);
}

.badge-warning {
    background: var(--warning-yellow);
    color: var(--neutral-dark);
}

.badge-error {
    background: var(--error-red);
    color: var(--neutral-white);
}

.badge-info {
    background: var(--info-blue);
    color: var(--neutral-white);
}

.badge-primary {
    background: var(--primary-brown);
    color: var(--neutral-white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--neutral-dark);
    color: var(--neutral-light);
    padding: var(--space-16) 0 var(--space-8);
}

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

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

.footer-link {
    display: block;
    color: var(--neutral-light);
    margin-bottom: var(--space-3);
    transition: all var(--transition-fast);
    padding-left: 0;
}

.footer-link:hover {
    color: var(--primary-brown);
    padding-left: var(--space-2);
}

.footer-text {
    color: var(--neutral-light);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--neutral-white);
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background: var(--primary-brown);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    text-align: center;
    color: var(--neutral-gray);
    font-size: var(--text-sm);
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

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

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

.mt-4 {
    margin-top: var(--space-4);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.my-4 {
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.pt-8 {
    padding-top: var(--space-8);
}

.pb-8 {
    padding-bottom: var(--space-8);
}

.py-8 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.z-10 {
    z-index: 10;
}

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

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

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

    to {
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.4s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --text-6xl: 3rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-cols-5,
    .grid-cols-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-cols-3,
    .grid-cols-4,
    .grid-cols-5,
    .grid-cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    /* Mobile Header Layout */
    .header-main {
        padding: var(--space-2) 0;
        gap: var(--space-2);
    }

    .mobile-menu-btn {
        display: block;
        order: 1;
    }

    .logo {
        order: 2;
        font-size: var(--text-xl);
    }

    .header-icons {
        order: 3;
        gap: var(--space-1);
        padding: 4px 0;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
        padding: 5px;
    }

    .icon-btn i {
        font-size: 20px;
    }

    /* Mobile Sidebar Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: var(--neutral-white);
        z-index: var(--z-modal);
        flex-direction: column;
        justify-content: flex-start;
        transition: left var(--transition-base);
        box-shadow: var(--shadow-xl);
        padding: 0;
    }

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

    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: var(--z-modal-backdrop);
        display: none;
        opacity: 0;
        transition: opacity var(--transition-base);
    }

    .nav-backdrop.active {
        display: block;
        opacity: 1;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-5) var(--space-6);
        border-bottom: 1px solid var(--neutral-border);
        background: var(--neutral-light);
    }

    .close-menu-btn {
        background: transparent;
        border: none;
        font-size: 24px;
        color: var(--neutral-dark);
    }

    .nav-menu .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-6);
        gap: 0;
        width: 100%;
    }

    .nav-menu .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--neutral-border);
    }

    .nav-menu .nav-link {
        padding: var(--space-4) 0;
        width: 100%;
        font-size: var(--text-base);
        justify-content: flex-start;
    }

    .mobile-nav-footer {
        display: block;
        margin-top: auto;
        padding: var(--space-6);
        background: var(--neutral-light);
        font-size: var(--text-sm);
        border-top: 1px solid var(--neutral-border);
    }

    .section {
        padding: var(--space-12) 0;
    }

    .section-header {
        margin-bottom: var(--space-8);
    }
}

@media (max-width: 640px) {
    :root {
        --text-6xl: 2rem;
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.25rem;
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4,
    .grid-cols-5,
    .grid-cols-6 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: var(--space-12) 0;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section {
        padding: var(--space-10) 0;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }

    .header-main {
        gap: var(--space-1);
    }

    .logo {
        font-size: 1.1rem;
        gap: 4px;
    }

    .logo-icon {
        font-size: 24px;
    }

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

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

    .icon-badge {
        min-width: 15px;
        height: 15px;
        font-size: 9px;
        top: 0;
        right: 0;
    }

    .mobile-menu-btn i {
        font-size: 24px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .header,
    .footer,
    .topbar,
    .btn,
    .nav-menu {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ============================================
   MOST POPULAR SECTION - HORIZONTAL SCROLL
   ============================================ */
.most-popular-section {
    background: #faf6f6;
    padding: var(--space-10) 0;
    position: relative;
}

.section-header-left {
    margin-bottom: var(--space-4);
}

.section-header-left .section-title-main {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: 0;
    text-align: left;
    display: block;
}

/* Scroll Wrapper with Navigation */
.most-popular-scroll-wrapper {
    position: relative;
}

.most-popular-scroll::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {

    .scroll-nav,
    .category-nav {
        display: none !important;
    }
}

/* ============================================
   UNIFIED PRODUCT CARD
   ============================================ */
.product-card {
    background: var(--neutral-white);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    overflow: visible;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: var(--neutral-lightest);
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary-red);
    color: var(--neutral-white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.product-details {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* min-height: 2.8em; */
}

.product-tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: var(--space-3);
}

.product-tag-pill {
    background: #fff9f0;
    border: 1px solid var(--secondary-yellow);
    padding: 3px 6px;
    border-radius: 50px;
    font-size: 10px;
    color: var(--primary-brown);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.rating-pill {
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
}

.rating-text {
    font-size: 12px;
    color: var(--neutral-gray);
}

.custom-variant-container {
    margin-bottom: var(--space-4);
}

.variant-display {
    padding: 10px 14px;
    background: #fff9f0;
    border: 1px solid #83554c;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--neutral-dark);
    font-weight: var(--font-semibold);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-fast);
    height: 42px;
    /* Fixed height for consistency */
}


.variant-dropdown-list {
    background: #ffffff;
    border: 1px solid #83554c;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.variant-box {
    padding: 10px 14px;
    background: #fff9f0;
    border: 1px solid #83554c;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--neutral-dark);
    font-weight: var(--font-semibold);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.variant-box::after {
    content: '\ea4c';
    /* remixicon arrow down */
    font-family: 'remixicon';
    font-size: 16px;
    color: var(--neutral-gray);
}

.most-popular-scroll .product-card,
.best-sellers-scroll-wrapper .product-card {
    flex: 0 0 calc(25% - 12px);
    width: calc(25% - 12px);
    min-height: 420px;
}

@media (max-width: 992px) {
    .most-popular-scroll .product-card {
        flex: 0 0 calc(33.333% - 11px);
        width: calc(33.333% - 11px);
    }
}

@media (max-width: 768px) {
    .most-popular-scroll .product-card {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .most-popular-scroll .product-card {
        flex: 0 0 calc(90% - 8px);
        width: calc(90% - 8px);
        /* Almost full width for better focus on mobile */
    }
}

.most-popular-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    align-items: stretch;
    padding: 10px 5px;
    overflow-y: visible;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.most-popular-scroll::-webkit-scrollbar {
    display: none;
}

.most-popular-scroll .product-card {
    scroll-snap-align: start;
}

/* Professional Arrow Design */
.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #333;
    opacity: 0;
    visibility: hidden;
}

.most-popular-scroll-wrapper:hover .scroll-nav {
    opacity: 1;
    visibility: visible;
}

.scroll-nav:hover {
    background: var(--primary-brown);
    color: #fff;
    border-color: var(--primary-brown);
    box-shadow: 0 8px 20px rgba(98, 40, 28, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.scroll-nav i {
    font-size: 24px;
    line-height: 1;
}

.scroll-prev {
    left: -22px;
}

.scroll-next {
    right: -22px;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.price-now {
    font-size: 18px;
    font-weight: var(--font-bold);
    color: var(--secondary-red);
}

.price-was {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-decoration-color: #94a3b8;
}

/* ============================================
   SEASON'S BEST SELLERS SECTION
   ============================================ */
.best-sellers-section {
    background: #fff;
    padding: var(--space-10) 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: var(--space-5);
}

.section-title-main {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.title-icon {
    font-size: var(--text-3xl);
}

.section-subtitle-center {
    font-size: var(--text-base);
    color: var(--neutral-gray);
    margin: 0;
}

/* Products Grid - 6 Columns */
.products-grid-6 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    align-items: stretch;
}

/* Unified Product Card Styles */
.unified-product-card {
    background: var(--neutral-white);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.unified-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-brown);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

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

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

.product-badge-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-red);
    color: var(--neutral-white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    z-index: 2;
}

.product-badge-corner.discount {
    background: var(--secondary-yellow);
}

.product-badge-corner.bestseller {
    background: var(--secondary-red);
}

.product-badge-corner.premium {
    background: var(--primary-brown);
}

.product-info {
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: var(--space-2);
}

.tag {
    background: #fff9f0;
    border: 1px solid var(--secondary-yellow);
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 10px;
    color: var(--primary-brown);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-2) 0;
}

.rating-badge {
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: 1px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-semibold);
}

.rating-count {
    font-size: 14px;
    color: var(--neutral-gray);
}

.rating-count i {
    color: var(--secondary-red);
}

.product-weight {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    background: var(--neutral-light);
    cursor: pointer;
}

.product-weight-select {
    margin: var(--space-2) 0;
}

.weight-dropdown {
    width: 100%;
    padding: var(--space-2);
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    background: var(--neutral-light);
    cursor: pointer;
}

.discount-badge {
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: var(--font-bold);
}

.price-original {
    font-size: 12px;
    color: var(--neutral-gray);
    text-decoration: line-through;
}

.price-current {
    font-size: 15px;
    font-weight: var(--font-bold);
    color: var(--secondary-red);
}


/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: var(--space-8);
}

.btn-view-all {
    display: inline-block;
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-view-all:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    color: var(--neutral-white);
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .products-grid-6 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .products-grid-6::-webkit-scrollbar {
        display: none;
    }

    .products-grid-6 .product-card {
        flex: 0 0 calc(50% - 6px);
        scroll-snap-align: start;
    }

    .section-title-main {
        font-size: var(--text-2xl);
    }

    /* Target the correct classes for product-card */
    .product-details {
        padding: 10px;
    }

    .product-title {
        font-size: 13px !important;
        margin-bottom: 6px;
    }

    .product-tag-pill {
        font-size: 9px;
        padding: 2px 4px;
    }

    .variant-display {
        padding: 6px 10px;
        height: 36px;
        font-size: 11px;
    }

    .price-now {
        font-size: 16px;
    }

    .price-was {
        font-size: 12px;
    }

    .add-to-cart-btn {
        padding: 8px 10px;
        font-size: 14px;
    }

    .section {
        padding: 20px 0 !important;
    }

    .collection-category-row {
        gap: 10px !important;
    }

    .collection-category-card {
        padding: 4px 12px !important;
        min-width: 0 !important;
    }

    .category-card-inner {
        gap: 5px;
    }

    .category-card-img {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }

    .category-card-name {
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .products-grid-6 {
        gap: 8px;
    }

    .products-grid-6 .product-card {
        flex: 0 0 calc(50% - 4px);
    }

    .container {
        padding: 0 10px;
    }

    .product-details {
        padding: 8px;
    }

    .product-title {
        font-size: 12px !important;
        min-height: 32px;
    }

    .product-tag-pill {
        display: none;
        /* Hide tags on very small screens to save space */
    }

    .variant-display {
        padding: 4px 8px;
        height: 32px;
        font-size: 10px;
    }

    .price-now {
        font-size: 14px;
    }

    .price-was {
        font-size: 11px;
    }
}

.discount-badge {
    align-self: flex-start;
}

.price-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* ============================================
   FEATURED THIS WEEK SECTION
   ============================================ */
.featured-week-section {
    background: #faf6f6;
    padding: var(--space-10) 0;
}


.section-title-featured {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    position: relative;
    display: inline-block;
}

.section-title-featured::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-red);
}

/* Featured Grid - 5 columns */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-3);
}

.featured-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}


/* Price Drop Card */
.price-drop-card {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-brown) 100%);
    color: var(--neutral-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-6);
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.price-drop-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.price-drop-content {
    position: relative;
    z-index: 2;
}

.price-drop-text {
    display: flex;
    flex-direction: column;
}

.price-text {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--secondary-yellow);
    line-height: 1;
}

.drop-text {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--secondary-yellow);
    line-height: 1;
    margin-top: var(--space-2);
}

.price-drop-arrow {
    margin-top: var(--space-4);
}

.price-drop-arrow i {
    font-size: 48px;
    color: var(--secondary-yellow);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.price-drop-footer {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    position: relative;
    z-index: 2;
}

.price-drop-footer i {
    font-size: 20px;
    color: var(--neutral-white);
}

/* Featured Product Cards */
.featured-product-card {
    background: var(--neutral-white);
    border: 1px solid var(--neutral-border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    z-index: 10;
    color: var(--neutral-white);
}

.featured-badge.exclusive {
    background: var(--secondary-red);
}

.featured-badge.featured {
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
}

.featured-badge.seasonal {
    background: var(--primary-brown);
}

.featured-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.featured-product-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-title {
    font-family: var(--font-accent);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    text-align: center;
    padding: var(--space-4);
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-week-section {
        padding: var(--space-8) 0;
    }

    .section-header-left {
        margin-bottom: var(--space-4);
        text-align: center;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .section-title-featured {
        font-size: var(--text-2xl);
    }

    .section-title-featured::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Price Drop Card - Optimized for Mobile */
    .price-drop-card {
        padding: var(--space-4);
        min-height: 200px;
    }

    .price-text {
        font-size: var(--text-lg);
    }

    .drop-text {
        font-size: var(--text-3xl);
        margin-top: var(--space-1);
    }

    .price-drop-arrow i {
        font-size: 32px;
    }

    .price-drop-footer {
        font-size: 0.6875rem;
    }

    /* Featured Product Cards - Optimized */
    .featured-image {
        padding-top: 100%;
    }

    .featured-title {
        font-size: 0.8125rem;
        padding: var(--space-3);
    }

    .featured-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .featured-week-section {
        padding: var(--space-6) 0;
    }

    .section-header-left {
        margin-bottom: var(--space-3);
    }

    .featured-grid {
        gap: var(--space-2);
    }

    .section-title-featured {
        font-size: var(--text-xl);
    }

    /* Further optimize for small screens */
    .price-drop-card {
        padding: var(--space-3);
        min-height: 180px;
    }

    .price-text {
        font-size: var(--text-base);
    }

    .drop-text {
        font-size: var(--text-2xl);
    }

    .price-drop-arrow {
        margin-top: var(--space-2);
    }

    .price-drop-arrow i {
        font-size: 28px;
    }

    .featured-title {
        font-size: 0.75rem;
        padding: var(--space-2);
    }
}

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

/* ============================================
   PRODUCTS CAROUSEL
   ============================================ */
.products-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--neutral-white);
    border: 2px solid var(--neutral-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    color: var(--neutral-dark);
}

.carousel-nav:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    color: var(--neutral-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav i {
    font-size: 24px;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav:disabled:hover {
    background: var(--neutral-white);
    border-color: var(--neutral-border);
    color: var(--neutral-dark);
    transform: translateY(-50%);
}

.products-carousel {
    overflow: hidden;
}

.products-carousel .products-grid-6 {
    transition: transform 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .products-carousel-wrapper {
        padding: 0 40px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .carousel-nav i {
        font-size: 20px;
    }
}

/* Featured Auto-Slide Container */
.featured-carousel-container {
    overflow: hidden;
    width: 100%;
}

.featured-carousel-container .featured-grid {
    transition: transform 0.8s ease-in-out;
}

/* ============================================
   NEW ARRIVALS SECTION
   ============================================ */
.new-arrivals-section {
    background: var(--neutral-white);
    padding: var(--space-12) 0;
}

.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-3);
}


.new-arrival-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.new-arrival-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    z-index: 5;
}

.new-badge.tastes {
    background: var(--secondary-red);
}

.new-badge.discount-badge {
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
}

.new-badge.spices {
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
}

.new-badge-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    color: var(--neutral-white);
    z-index: 5;
}

.new-badge-corner.winter {
    background: #4A90E2;
}

.new-badge-corner.ready {
    background: var(--primary-brown);
}

.taste-icons {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.taste-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    border: 1px solid var(--neutral-border);
}

.new-arrival-info {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.new-arrival-title {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-3);
    line-height: 1.4;
    /* min-height: 40px; */
}

.new-arrival-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: var(--space-2);
}

.new-tag {
    background: #fff9f0;
    border: 1px solid var(--secondary-yellow);
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 10px;
    color: var(--primary-brown);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-rating-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-2) 0;
}

.new-rating {
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
}

.new-rating-count {
    font-size: 11px;
    color: var(--neutral-gray);
}

.new-weight {
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin: var(--space-2) 0;
    padding: var(--space-2) var(--space-3);
    background: var(--neutral-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-border);
}

.new-weight-select {
    margin: var(--space-2) 0;
}

.new-weight-dropdown {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    background: var(--neutral-light);
    cursor: pointer;
}

.new-price-section {
    margin: var(--space-3) 0;
}

.new-discount {
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
    display: inline-block;
    margin-bottom: var(--space-2);
}

.new-prices {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.new-original {
    font-size: 13px;
    color: var(--neutral-gray);
    text-decoration: line-through;
}

.new-current {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--secondary-red);
}

/* Consolidated into .btn-add-cart */

/* Responsive */
@media (max-width: 1200px) {
    .new-arrivals-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .new-arrivals-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .new-arrivals-grid::-webkit-scrollbar {
        display: none;
    }

    .new-arrivals-grid .product-card {
        flex: 0 0 calc(50% - 6px);
        scroll-snap-align: start;
    }
}

/* New Arrivals Discount & Button Updates */
.new-discount {
    background: transparent;
    color: var(--secondary-red);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--space-2);
}

/* Consolidated into .btn-add-cart */

/* ============================================
   SHOP BY COLLECTION SECTION
   ============================================ */
.shop-collection-section {
    background: var(--neutral-light);
    padding: var(--space-10) 0;
}

/* Category Carousel */
.category-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.category-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--neutral-white);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--neutral-dark);
}

.category-nav:hover {
    background: var(--neutral-dark);
    border-color: var(--neutral-dark);
    color: var(--neutral-white);
}

.category-nav i {
    font-size: 20px;
}

.category-carousel {
    flex: 1;
    overflow: hidden;
}

.category-tabs {
    display: flex;
    gap: var(--space-3);
}

.category-tab {
    flex-shrink: 0;
    padding: var(--space-2) var(--space-5);
    background: var(--neutral-white);
    border: 1px dashed var(--neutral-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--font-medium);
    color: var(--neutral-dark);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.category-tab:hover {
    border-color: var(--secondary-yellow);
    background: rgba(246, 157, 28, 0.1);
}

/* Collection Products Grid */
.collection-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.collection-product-card {
    background: var(--neutral-white);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.collection-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.collection-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease-in-out;
}

.collection-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    color: var(--neutral-white);
    z-index: 5;
}

.collection-badge.bestseller {
    background: var(--secondary-red);
}

.collection-badge.spices {
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
}

.collection-product-info {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.collection-product-title {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-3);
    line-height: 1.4;
    /* min-height: 40px; */
}

.collection-product-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: var(--space-2);
}

.collection-tag {
    background: var(--neutral-light);
    border: 1px solid var(--neutral-border);
    padding: 4px 8px;
    border-radius: var(--radius-md);
    font-size: 10px;
    color: var(--neutral-gray);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-rating-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-2) 0;
}

.collection-rating {
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
}

.collection-rating-count {
    font-size: 11px;
    color: var(--neutral-gray);
}

.collection-weight {
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin: var(--space-2) 0;
    padding: var(--space-2) var(--space-3);
    background: var(--neutral-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-border);
}

.collection-weight-select {
    margin: var(--space-2) 0;
}

.collection-weight-dropdown {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    background: var(--neutral-white);
    cursor: pointer;
}

.collection-price-section {
    margin: var(--space-3) 0;
}

.collection-discount {
    background: transparent;
    color: var(--secondary-red);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--space-2);
}

.collection-prices {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.collection-original {
    font-size: 13px;
    color: var(--neutral-gray);
    text-decoration: line-through;
}

.collection-current {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--secondary-red);
}

/* Consolidated into .btn-add-cart */

.btn-view-all-green {
    display: inline-block;
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-view-all-green:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    color: var(--neutral-white);
}

/* Collection Page - Product Card Design Matching Home Page */
.collection-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.collection-product-card {
    background: var(--neutral-white);
    border-radius: var(--radius-md);
    overflow: visible;
    /* Changed from hidden to allow dropdown to show */
    transition: all var(--transition-base);
    border: 1px solid var(--neutral-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

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

.collection-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-red);
    color: var(--neutral-white);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    z-index: 10;
}

.collection-badge.price-drop {
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
}

.collection-badge.best-seller {
    background: var(--secondary-red);
}

.collection-badge.winter-special {
    background: var(--primary-brown);
}

.collection-product-details {
    padding: var(--space-3);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.collection-product-title {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    /* Fixed height for 2 lines */
}

.collection-product-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: var(--space-2);
}

.collection-tag {
    background: #fff9f0;
    border: 1px solid var(--secondary-yellow);
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 10px;
    color: var(--primary-brown);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.collection-rating-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-2) 0;
}

.collection-rating {
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: 1px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-semibold);
}

.collection-rating-count {
    font-size: 14px;
    color: var(--neutral-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.collection-rating-count i {
    color: var(--secondary-red);
}

.collection-weight-select {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    background: var(--neutral-light);
    cursor: pointer;
    margin: var(--space-1) 0;
    /* Remove default arrow in some browsers for custom look if needed, generally manageable */
}

.collection-price-section {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-2) 0;
    flex-wrap: wrap;
}

.collection-discount-badge {
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: var(--font-bold);
}

.collection-prices {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.collection-price-old {
    font-size: 12px;
    color: var(--neutral-gray);
    text-decoration: line-through;
}

.collection-price-new {
    font-size: 15px;
    font-weight: var(--font-bold);
    color: var(--secondary-red);
}

.btn-collection-add-cart {
    width: 100%;
    background: var(--secondary-red);
    color: var(--neutral-white);
    border: none;
    padding: var(--space-3);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: auto;
}

.btn-collection-add-cart:hover {
    background: var(--secondary-red-dark);
    transform: scale(1.02);
}

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

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .collection-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .collection-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .collection-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Mobile Card Design Adjustments */
    .collection-product-details {
        padding: 8px;
    }

    .collection-product-title {
        font-size: 12px;
        height: 30px;
    }

    .collection-tag {
        font-size: 9px;
        padding: 2px 6px;
    }

    .btn-collection-add-cart {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .collection-product-tags {
        display: none;
        /* Hide tags on very small screens to save space */
    }
}

/* ============================================
   INFINITE SCROLL - LOADING INDICATOR
   ============================================ */
.loading-indicator {
    text-align: center;
    padding: var(--space-8) 0;
    margin: var(--space-6) 0;
}

.loading-indicator .spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-3);
    border: 4px solid var(--neutral-border);
    border-top-color: var(--secondary-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-indicator p {
    color: var(--neutral-gray);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin: 0;
}

.no-more-products {
    text-align: center;
    padding: var(--space-8) 0;
    margin: var(--space-6) 0;
}

.no-more-products p {
    color: var(--neutral-gray);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin: 0;
    padding: var(--space-4);
    background: var(--neutral-lightest);
    border-radius: var(--radius-lg);
    display: inline-block;
}

/* ============================================
   BLOG POSTS SECTION
   ============================================ */
.blog-section {
    background: var(--neutral-white);
    padding: var(--space-10) 0;
}

/* ============================================
   BLOG POSTS SECTION
   ============================================ */
.blog-section {
    background: #ffffff;
    padding: var(--space-20) 0;
}

/* Blog Grid is now handled by Bootstrap row/col */
.blog-grid {
    margin-bottom: var(--space-8);
}

.blog-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.blog-card:hover {
    opacity: 0.95;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: var(--space-4);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.blog-card:hover .blog-image img {
    transform: scale(1.03);
}

.blog-content {
    padding: var(--space-2) 0;
}

.blog-title {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: var(--space-5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--neutral-dark);
    text-decoration: none;
    transition: all var(--transition-base);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-link:hover {
    color: var(--secondary-red);
    transform: translateX(3px);
}


/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-image {
        aspect-ratio: 16 / 9;
    }
}

/* Category Tab Active State Fix */
.category-tab.active {
    background: var(--primary-brown);
    border-color: var(--primary-brown);
    color: var(--neutral-white);
    font-weight: var(--font-semibold);
}

/* Collection Badge Spices Fix */
.collection-badge.spices {
    background: var(--secondary-yellow);
    color: var(--neutral-white);
}

/* Badge Text Color Fixes */
.new-badge.discount-badge,
.new-badge.spices,
.featured-badge.featured {
    color: var(--neutral-white);
}

/* Price Drop Content Text Color Fix */
.price-drop-content,
.price-drop-text,
.price-text,
.drop-text {
    color: var(--neutral-white);
}

/* Add to Cart Button Text Color Fix */
.btn-add-cart {
    color: var(--neutral-white);
}

/* Price Drop Arrow Icons Fix */
.ri-arrow-down-line,
.ri-arrow-down-circle-fill {
    color: var(--neutral-white);
}

/* Discount Badge - Remove Background */
.discount-badge {
    background: transparent;
    color: var(--secondary-red);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: var(--font-bold);
}

/* Price Drop Arrow Icon Color Fix */
.price-drop-arrow i {
    color: var(--neutral-white);
}

/* Remove focus border from weight dropdown */
.new-weight-dropdown:focus,
.new-weight-dropdown:focus-visible {
    outline: none;
    border-color: var(--neutral-border);
}

/* ============================================
   FOOTER UPDATES
   ============================================ */

/* Payment Methods */
.footer-payment {
    margin-top: var(--space-6);
}

.footer-payment-title {
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-gray);
    margin-bottom: var(--space-2);
}

.payment-icons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 32px;
    color: var(--neutral-gray);
    transition: color var(--transition-base);
}

.payment-icons i:hover {
    color: var(--primary-brown);
}

/* Contact List */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    color: var(--neutral-gray);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact li i {
    font-size: 20px;
    color: var(--secondary-yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact li a {
    color: var(--neutral-gray);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-contact li a:hover {
    color: var(--secondary-yellow);
}

/* Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-dark) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    margin: var(--space-10) 0 var(--space-8) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.newsletter-content {
    flex: 1;
}

.newsletter-title {
    font-family: var(--font-accent);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    margin-bottom: var(--space-2);
}

.newsletter-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    flex: 1;
    max-width: 500px;
}

.newsletter-input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--neutral-white);
    font-size: 14px;
    transition: all var(--transition-base);
}

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

.newsletter-input:focus {
    outline: none;
    border-color: var(--neutral-white);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    padding: var(--space-3) var(--space-6);
    background: var(--secondary-yellow);
    color: var(--neutral-dark);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--secondary-gold);
    transform: scale(1.05);
}

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

/* Responsive Newsletter */
@media (max-width: 768px) {
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-brown);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.back-to-top i {
    color: var(--neutral-white);
}

/* ============================================
   FOOTER - MODERN RESPONSIVE DESIGN
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-dark) 100%);
    color: var(--neutral-white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            var(--secondary-red) 0%,
            #4ade80 25%,
            var(--secondary-yellow) 50%,
            #4ade80 75%,
            var(--secondary-red) 100%);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-10);
    padding: var(--space-16) 0 var(--space-10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Brand Column */
.footer-col-brand {
    max-width: 450px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.footer-logo .logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-logo-img {
    width: 250px;
    height: auto;
    border-radius: var(--radius-lg);
    background: var(--neutral-white);
    padding: var(--space-2) var(--space-3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.footer-brand-name {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    color: var(--neutral-white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-6);
}

/* Newsletter Box */
.footer-newsletter-box {
    margin-top: var(--space-6);
    background: rgba(255, 255, 255, 0.08);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.newsletter-box-title {
    font-size: 1.0625rem;
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.newsletter-box-form {
    display: flex;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.newsletter-box-input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--neutral-white);
    font-size: 0.9375rem;
    border-radius: 0;
}

.newsletter-box-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-box-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-box-btn {
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: var(--neutral-white);
    border: none;
    font-size: 0.875rem;
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Footer Columns */
.footer-col {
    position: relative;
}

.footer-col-title {
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    margin-bottom: var(--space-5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: var(--space-2);
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #e5194a 0%, transparent 100%);
    border-radius: var(--radius-full);
}

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

.footer-links-list li {
    margin-bottom: var(--space-3);
}

.footer-link-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    padding-left: 0;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    gap: var(--space-3);
    /* margin-bottom: var(--space-4); */
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    align-items: flex-start;
    transition: all 0.3s ease;
    /* padding: var(--space-2); */
    border-radius: var(--radius-md);
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.footer-contact-item i {
    font-size: 20px;
    color: #4ade80;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-contact-item a:hover {
    color: var(--neutral-white);
}

/* Social Icons */
.footer-social-icons {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-icon i {
    position: relative;
    z-index: 1;
}

.footer-social-icon:hover {
    border-color: #4ade80;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 16px rgba(74, 222, 128, 0.3);
}

.footer-social-icon:hover::before {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-10);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4ade80;
    transition: width 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--neutral-white);
}

.footer-bottom-link:hover::after {
    width: 100%;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Mobile Collapsible Sections */
.footer-col-toggle {
    display: none;
    width: 100%;
    background: none;
    border: none;
    color: var(--neutral-white);
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    text-align: left;
    padding: var(--space-3) 0;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col-toggle::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-col-toggle.active::after {
    content: 'âˆ’';
}

.footer-col-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--space-8);
    }

    .footer-col-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
        padding: var(--space-12) 0 var(--space-8);
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 0;
        padding: var(--space-10) 0 var(--space-6);
    }

    .footer-col-brand {
        padding-bottom: var(--space-6);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        margin-bottom: var(--space-4);
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: var(--space-2) 0;
    }

    .footer-col-title {
        display: none;
    }

    .footer-col-toggle {
        display: block;
    }

    .footer-col-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }

    .footer-col-content.active {
        max-height: 500px;
        opacity: 1;
        padding: var(--space-3) 0;
    }

    .footer-newsletter-box {
        padding: var(--space-4);
    }

    .newsletter-box-form {
        flex-direction: column;
        gap: var(--space-3);
    }

    .newsletter-box-input {
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--radius-lg);
    }

    .newsletter-box-btn {
        border-radius: var(--radius-lg);
        padding: var(--space-3);
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
        padding: var(--space-5) 0;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: var(--space-4);
    }

    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: var(--space-8) 0 var(--space-4);
    }

    .footer-logo-img {
        width: 200px;
    }

    .footer-brand-name {
        font-size: var(--text-2xl);
    }

    .footer-description {
        font-size: 0.875rem;
    }

    .footer-social-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

/* Scrollbar Width */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
    background: var(--neutral-light);
    border-radius: var(--radius-sm);
}

/* Scrollbar Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-brown);
    border-radius: var(--radius-sm);
    border: 2px solid var(--neutral-light);
}

/* Scrollbar Handle on Hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Scrollbar Handle on Active */
::-webkit-scrollbar-thumb:active {
    background: #1a4d2e;
}

/* Scrollbar Corner */
::-webkit-scrollbar-corner {
    background: var(--neutral-light);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-brown) var(--neutral-light);
}

/* Footer Color Matching Updates */
.newsletter-box-btn {
    background: #fff;
    color: var(--neutral-dark);
}

.footer-contact-item i {
    color: var(--secondary-yellow);
}

.footer-social-icon:hover {
    background: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    color: var(--neutral-dark);
}

/* Footer Link Chevron Icon */
/* Footer Link Icon */
.footer-link-item i {
    color: var(--secondary-yellow);
    font-size: 16px;
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #fff;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    height: 100%;
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-10);
}

.search-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--secondary-red) 0%, #b01f1d 100%);
    border: none;
    color: var(--neutral-white);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    line-height: 45px;
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.3);
}

.search-close-btn:hover {
    color: var(--secondary-yellow);
    transform: rotate(90deg);
}


.search-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.search-title {
    font-family: var(--font-accent);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-black);
    margin-bottom: var(--space-8);
}

.search-form {
    margin-bottom: var(--space-6);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--neutral-white);
    border-radius: var(--radius-full);
    padding: var(--space-2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-icon {
    font-size: 24px;
    color: var(--neutral-gray);
    margin-left: var(--space-4);
    margin-right: var(--space-3);
}

.search-input-large {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    padding: var(--space-3) var(--space-2);
    background: transparent;
    color: var(--neutral-dark);
}

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

.search-submit-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-brown);
    border: none;
    border-radius: var(--radius-full);
    color: var(--neutral-white);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.search-quick-tags {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.search-tag {
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ddd;
    border-radius: var(--radius-full);
    color: var(--primary-brown);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.search-tag:hover {
    background: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    color: var(--neutral-dark);
}

/* Dynamic Search Results Styling */
.dynamic-results-container {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.res-img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.res-info {
    flex: 1;
}

.res-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-dark);
}

.res-price {
    font-size: 14px;
    color: var(--secondary-red);
    font-weight: 700;
}

.res-price del {
    color: var(--neutral-gray);
    font-size: 12px;
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .search-overlay.active {
        height: 100%;
    }

    .search-close-btn {
        position: absolute;
        top: 20px !important;
        right: 20px !important;
        color: #fff;
        background: transparent;
        border: none;
        font-size: 30px;
    }

    .search-title {
        font-size: var(--text-2xl);
    }

    .search-input-large {
        font-size: 16px;
    }
}



/* ============================================
   CART SIDEBAR
   ============================================ */

/* Cart Backdrop */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--secondary-yellow);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

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

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: var(--primary-brown);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-title {
    font-family: var(--font-accent);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    margin: 0;
}

.cart-close-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    color: var(--neutral-light);
    font-size: 14px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.cart-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

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

/* Cart Body */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-5);
    background: var(--neutral-light);
}

/* Cart Empty State */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: var(--space-10);
}

.cart-empty-icon {
    font-size: 80px;
    color: rgba(0, 0, 0, 0.2);
    margin-bottom: var(--space-4);
}

.cart-empty-text {
    font-size: 16px;
    color: var(--neutral-gray);
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.cart-item {
    display: flex;
    gap: var(--space-3);
    background: var(--neutral-white);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin: 0 0 var(--space-1) 0;
}

.cart-item-weight {
    font-size: 12px;
    color: var(--neutral-gray);
    margin: 0 0 var(--space-2) 0;
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
}

.cart-item-quantity {
    color: var(--neutral-gray);
}

.cart-item-amount {
    font-weight: var(--font-bold);
    color: var(--secondary-red);
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--secondary-red);
    font-size: 20px;
    cursor: pointer;
    padding: var(--space-2);
    transition: all var(--transition-base);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-item-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.sidebar-qty-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 2px 4px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.s-qty-btn {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: var(--secondary-red);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.s-qty-btn:hover {
    background: var(--secondary-red);
    color: #fff;
    border-color: var(--secondary-red);
}

.s-qty-val {
    font-weight: 700;
    font-size: 13px;
    color: #333;
    min-width: 15px;
    text-align: center;
}

/* Cart Footer */
.cart-footer {
    padding: var(--space-5);
    background: var(--neutral-white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-total-label {
    font-size: 16px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
}

.cart-total-amount {
    font-size: 20px;
    font-weight: var(--font-bold);
    color: var(--secondary-red);
}

.btn-cart-view,
.btn-cart-checkout {
    display: block;
    width: 100%;
    padding: var(--space-3);
    border-radius: var(--radius-full);
    text-align: center;
    font-size: 15px;
    font-weight: var(--font-bold);
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-cart-view {
    background: transparent;
    border: 2px solid var(--primary-brown);
    color: var(--primary-brown);
}

.btn-cart-view:hover {
    background: var(--primary-brown);
    color: var(--neutral-white);
}

.btn-cart-checkout {
    background: var(--primary-brown);
    color: var(--neutral-white);
    border: 2px solid var(--primary-brown);
}

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

/* Responsive */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Cart Backdrop Glass Effect */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* ============================================
   HEADER SEARCH INPUT
   ============================================ */
.header-search-form {
    display: flex;
    align-items: center;
    background: var(--neutral-light);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-full);
    padding: var(--space-1);
    margin-right: var(--space-3);
    transition: all var(--transition-base);
}

.header-search-form:focus-within {
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.header-search-input {
    border: none;
    outline: none;
    background: transparent;
    padding: var(--space-2) var(--space-3);
    font-size: 14px;
    width: 200px;
    color: var(--neutral-dark);
}

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

.header-search-btn {
    background: var(--primary-brown);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    color: var(--neutral-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

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

.header-search-btn i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-search-form {
        display: none;
    }
}


/* ============================================
   AUTH MODAL
   ============================================ */

/* Auth Modal Backdrop */
.auth-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 450px;
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.auth-modal-content {
    position: relative;
    padding: var(--space-8);
}

.auth-close-btn {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 36px;
    height: 36px;
    background: var(--neutral-light);
    border: none;
    border-radius: var(--radius-full);
    color: var(--neutral-dark);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-close-btn:hover {
    background: var(--secondary-red);
    color: var(--neutral-white);
}

.auth-title {
    font-family: var(--font-accent);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
    text-align: center;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--neutral-gray);
    text-align: center;
    margin-bottom: var(--space-6);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.form-label {
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
}

.form-input {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--neutral-dark);
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-input::placeholder {
    color: var(--neutral-gray);
}

.btn-auth-submit {
    padding: var(--space-3) var(--space-6);
    background: var(--primary-brown);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: var(--space-2);
}

.btn-auth-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--neutral-gray);
    margin-top: var(--space-4);
}

.auth-switch-btn {
    background: none;
    border: none;
    color: var(--primary-brown);
    font-weight: var(--font-semibold);
    cursor: pointer;
    text-decoration: underline;
    transition: color var(--transition-base);
}

.auth-switch-btn:hover {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 480px) {
    .auth-modal {
        width: 95%;
    }

    .auth-modal-content {
        padding: var(--space-6);
    }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail-page {
    padding: var(--space-10) 0;
    background: var(--neutral-light);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
}

/* Left Side - Images */
.product-images-section {
    display: flex;
    gap: var(--space-4);
}

.product-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.thumbnail-img.active,
.thumbnail-img:hover {
    border-color: var(--primary-brown);
}

.product-main-image-container {
    flex: 1;
    position: relative;
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.product-main-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.product-badge-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: var(--font-bold);
    z-index: 10;
}

.product-main-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--neutral-white);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
}

.image-nav-btn:hover {
    background: var(--primary-brown);
    color: var(--neutral-white);
    border-color: var(--primary-brown);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.image-nav-btn i {
    font-size: 24px;
}

/* Right Side - Product Info */
.product-info-section {
    padding: var(--space-6) 0;
}

.product-detail-title {
    font-family: var(--font-accent);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-4);
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.detail-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--neutral-light);
    border: 1px solid rgba(211, 35, 33, 0.2);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--neutral-dark);
}

.product-price-section {
    margin-bottom: var(--space-4);
}

.price-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-1);
}

.price-label {
    font-size: 14px;
    color: var(--neutral-gray);
}

.price-old {
    font-size: 16px;
    color: var(--neutral-gray);
    text-decoration: line-through;
}

.price-new {
    font-size: 24px;
    font-weight: var(--font-bold);
    color: var(--secondary-red);
}

.price-save {
    background: var(--secondary-red);
    color: var(--neutral-white);
    padding: 2px var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
}

.price-note {
    font-size: 14px;
    color: var(--neutral-gray);
    margin: 0;
}

.product-rating-section {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
}

.rating-star {
    background: var(--primary-brown);
    color: var(--neutral-white);
    padding: 2px var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: var(--font-bold);
}

.rating-reviews {
    font-size: 14px;
    color: var(--neutral-gray);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.rating-reviews i {
    color: var(--secondary-red);
    font-size: 16px;
}

.tax-note {
    font-size: 13px;
    color: var(--neutral-gray);
    margin-bottom: var(--space-5);
}

.pack-selection {
    margin-bottom: var(--space-6);
}

.pack-title {
    font-size: 14px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-3);
}

.pack-options {
    display: flex;
    gap: var(--space-3);
}

.pack-option {
    padding: var(--space-2) var(--space-5);
    background: var(--neutral-white);
    border: 2px solid var(--neutral-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    cursor: pointer;
    transition: all var(--transition-base);
}

.pack-option.active,
.pack-option:hover {
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border-color: var(--neutral-dark);
}

.related-products-section {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
}

.related-products-carousel-wrapper {
    position: relative;
    margin: 0 -10px;
    padding: 0 10px;
}

.related-products-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px 5px;
    scroll-snap-type: x mandatory;
}

.related-products-carousel::-webkit-scrollbar {
    display: none;
}

.related-products-carousel .product-card {
    flex: 0 0 calc(25% - 12px);
    scroll-snap-align: start;
}

.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--neutral-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--neutral-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-nav-btn.side-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-nav-btn.prev-related {
    left: -20px;
}

.carousel-nav-btn.next-related {
    right: -20px;
}

.carousel-nav-btn:hover {
    background: var(--primary-brown);
    color: #fff;
    border-color: var(--primary-brown);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev-related:hover {
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1200px) {
    .carousel-nav-btn.side-nav {
        display: none !important;
    }

    .related-products-carousel .product-card {
        flex: 0 0 calc(33.333% - 11px);
    }
}

@media (max-width: 768px) {
    .related-products-carousel .product-card {
        flex: 0 0 calc(50% - 8px);
    }

    .related-products-carousel {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .related-products-carousel .product-card {
        flex: 0 0 calc(70% - 10px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-images-section {
        flex-direction: column-reverse;
    }

    .product-thumbnails-vertical {
        flex-direction: row;
        overflow-x: auto;
    }

    .thumbnail-img {
        width: 60px;
        height: 60px;
    }
}


/* Product Action Buttons Row */

.btn-buy-now-detail {
    background: var(--secondary-red);
    color: var(--neutral-white);
}

.btn-buy-now-detail:hover {
    background: #b01f1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.3);
}

.btn-add-to-cart-detail i,
.btn-buy-now-detail i {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .product-action-buttons {
        flex-direction: column;
    }
}

/* Product Thumbnails - Match Main Image Height */
.product-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-height: 500px;
    overflow-y: auto;
    padding-right: var(--space-2);
}

/* Custom scrollbar for thumbnails */
.product-thumbnails-vertical::-webkit-scrollbar {
    width: 6px;
}

.product-thumbnails-vertical::-webkit-scrollbar-track {
    background: var(--neutral-light);
    border-radius: var(--radius-sm);
}

.product-thumbnails-vertical::-webkit-scrollbar-thumb {
    background: var(--primary-brown);
    border-radius: var(--radius-sm);
}

.product-thumbnails-vertical::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Buy Now Button - Match Add to Cart Style */
.btn-buy-now-detail {
    flex: 1;
    padding: var(--space-4);
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: var(--font-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-buy-now-detail:hover {
    background: #b01f1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.3);
}

.btn-buy-now-detail i {
    font-size: 20px;
}

/* ============================================
   PRODUCT DETAIL PAGE - COMPREHENSIVE FIX
   ============================================ */

/* Prevent horizontal scroll */
.product-detail-page {
    padding: var(--space-6) 0;
    background: var(--neutral-light);
    overflow-x: hidden;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

/* Left Side - Images */
.product-images-section {
    display: flex;
    gap: var(--space-3);
    position: sticky;
    top: 100px;
}

.product-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-height: 500px;
    overflow-y: auto;
    padding-right: var(--space-1);
}

.thumbnail-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.product-main-image-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
}

.product-main-image-wrapper {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.product-main-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right Side - Product Info */
.product-info-section {
    padding: 0;
}

.product-detail-title {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin: 0 0 var(--space-3) 0;
    line-height: 1.3;
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.product-price-section {
    margin-bottom: var(--space-3);
}

.price-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-1);
}

.product-rating-section {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.tax-note {
    font-size: 13px;
    color: var(--neutral-gray);
    margin: 0 0 var(--space-5) 0;
}

.pack-selection {
    margin-bottom: var(--space-5);
}

.pack-title {
    font-size: 13px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin: 0 0 var(--space-2) 0;
    letter-spacing: 0.5px;
}

.pack-options {
    display: flex;
    gap: var(--space-2);
}

.btn-buy-now-detail {
    background: var(--secondary-red);
    color: var(--neutral-white);
}

.btn-buy-now-detail:hover {
    background: #b01f1d;
}


/* Responsive */
@media (max-width: 1024px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .product-images-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-images-section {
        flex-direction: column-reverse;
    }

    .product-thumbnails-vertical {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: var(--space-1);
    }

    .thumbnail-img {
        width: 60px;
        height: 60px;
    }

    .product-action-buttons {
        flex-direction: column;
    }
}

/* Product Thumbnails - Show 5 Images Then Scroll */
.product-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-height: calc((70px * 5) + (var(--space-2) * 4));
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: var(--space-1);
}

.btn-buy-now-detail {
    flex: 1;
    padding: var(--space-4);
    background: var(--secondary-red);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: var(--font-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-buy-now-detail:hover {
    background: #b01f1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.3);
}

.btn-add-to-cart-detail i,
.btn-buy-now-detail i {
    font-size: 20px;
}

/* Hide Scrollbar for Thumbnails */
.product-thumbnails-vertical {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.product-thumbnails-vertical::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* ============================================
   PRODUCT TABS SECTION
   ============================================ */
.product-tabs-section {
    margin-top: var(--space-10);
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.product-tabs-header {
    display: flex;
    border-bottom: 2px solid var(--neutral-border);
    background: var(--neutral-light);
    overflow-x: auto;
}

.product-tab-btn {
    padding: var(--space-4) var(--space-6);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: var(--font-semibold);
    color: var(--neutral-gray);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.product-tab-btn:hover {
    color: var(--primary-brown);
}

.product-tab-btn.active {
    color: var(--primary-brown);
    border-bottom-color: var(--primary-brown);
    background: var(--neutral-white);
}

.product-tabs-content {
    padding: var(--space-8);
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.product-tab-content h3 {
    font-family: var(--font-accent);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-4);
}

.product-tab-content p {
    color: var(--neutral-gray);
    line-height: 1.8;
    margin-bottom: var(--space-3);
}

/* Specifications Table */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid var(--neutral-border);
}

.specifications-table td {
    padding: var(--space-3) 0;
}

.specifications-table td:first-child {
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    width: 200px;
}

.specifications-table td:last-child {
    color: var(--neutral-gray);
}

/* Ingredients List */
.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    color: var(--neutral-gray);
}

.ingredients-list li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: var(--primary-brown);
    font-weight: var(--font-bold);
}

/* How to Use List */
.how-to-use-list {
    padding-left: var(--space-6);
    color: var(--neutral-gray);
}

.how-to-use-list li {
    padding: var(--space-2) 0;
    line-height: 1.6;
}

/* FAQ Items */
.faq-item {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--neutral-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    font-size: 16px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.faq-item p {
    margin: 0;
}

/* Reviews */
.reviews-summary {
    background: var(--neutral-light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    text-align: center;
}

.rating-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.rating-number {
    font-size: 48px;
    font-weight: var(--font-bold);
    color: var(--primary-brown);
}

.rating-stars-large {
    font-size: 24px;
    color: var(--secondary-yellow);
}

.review-item {
    padding: var(--space-5);
    border-bottom: 1px solid var(--neutral-border);
    margin-bottom: var(--space-4);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.reviewer-name {
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
}

.review-rating {
    color: var(--secondary-yellow);
}

.review-text {
    color: var(--neutral-gray);
    margin-bottom: var(--space-2);
}

.review-date {
    font-size: 13px;
    color: var(--neutral-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .product-tabs-header {
        overflow-x: scroll;
    }

    .product-tab-btn {
        padding: var(--space-3) var(--space-4);
        font-size: 14px;
    }

    .product-tabs-content {
        padding: var(--space-5);
    }
}

/* ============================================
   PRODUCT ACTION BUTTONS - FINAL FIX
   ============================================ */

.btn-add-to-cart-detail,
.btn-buy-now-detail {
    flex: 1;
    padding: var(--space-4);
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    min-width: 0;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn-add-to-cart-detail {
    background: var(--neutral-dark);
    color: var(--neutral-white);
}

.btn-add-to-cart-detail:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-buy-now-detail {
    background: var(--secondary-red);
    color: var(--neutral-white);
}

.btn-buy-now-detail:hover {
    background: #b01f1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.3);
}

.btn-add-to-cart-detail i,
.btn-buy-now-detail i {
    font-size: 20px;
}

/* ============================================
   COLLECTION PAGE
   ============================================ */

.collection-page {
    background: var(--neutral-light);
}

/* Banner Section */
.collection-banner {
    position: relative;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-family: var(--font-accent);
    font-size: 48px;
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    margin-bottom: var(--space-2);
    text-align: center;
}

.banner-subtitle {
    font-size: 18px;
    color: var(--neutral-white);
    text-align: center;
}

/* Category Carousel Section */
.category-carousel-section {
    padding: var(--space-10) 0;
}

.section-title {
    font-family: var(--font-accent);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

.category-carousel-wrapper {
    position: relative;
    padding: 0 var(--space-12);
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--neutral-white);
    border: 2px solid var(--primary-brown);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    color: var(--primary-brown);
}

.carousel-nav-btn:hover {
    background: var(--primary-brown);
    color: var(--neutral-white);
}

.prev-category {
    left: 0;
}

.next-category {
    right: 0;
}

.carousel-nav-btn i {
    font-size: 28px;
}

.category-carousel {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-carousel::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 200px;
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Products Grid Section */
.products-grid-section {
    padding: var(--space-10) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 32px;
    }

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

    .category-card {
        flex: 0 0 150px;
    }
}

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

/* Category Card - Horizontal Layout with Circle Image */
.category-card {
    flex: 0 0 250px;
    background: var(--neutral-white);
    border-radius: var(--radius-full);
    padding: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    flex-shrink: 0;
}

/* ============================================
   PRODUCT DETAIL PAGE - MODERN PREMIUM DESIGN
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) 0;
    margin: 0;
    font-size: 0.875rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.9) 100%);
    padding: var(--space-3) var(--space-4);
}

.breadcrumb-item {
    color: var(--neutral-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-brown);
    transition: width 0.3s ease;
}

.breadcrumb-item:hover {
    color: var(--primary-brown);
}

.breadcrumb-item:hover::after {
    width: 100%;
}

.breadcrumb-item.active {
    color: var(--neutral-dark);
    font-weight: var(--font-semibold);
}

.breadcrumb-separator {
    color: var(--neutral-border);
    font-size: 18px;
}

.breadcrumb-item i {
    font-size: 18px;
}

/* Product Detail Page */
.product-detail-page {
    padding: var(--space-8) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    position: relative;
}



.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left Side - Images */
.product-images-section {
    display: flex;
    gap: var(--space-4);
    position: sticky;
    top: 100px;
}

.product-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-height: calc((80px * 5) + (var(--space-3) * 4));
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: var(--space-2);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-brown) transparent;
}

.product-thumbnails-vertical::-webkit-scrollbar {
    width: 4px;
}

.product-thumbnails-vertical::-webkit-scrollbar-track {
    background: transparent;
}

.product-thumbnails-vertical::-webkit-scrollbar-thumb {
    background: var(--primary-brown);
    border-radius: var(--radius-full);
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.thumbnail-img.active {
    border-color: var(--primary-brown);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(61, 20, 14, 0.2);
}

.thumbnail-img:hover {
    border-color: var(--primary-brown);
    transform: scale(1.05);
}

.product-main-image-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image-wrapper {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-badge-detail {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-dark) 100%);
    color: var(--neutral-white);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-extrabold);
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(61, 20, 14, 0.3);
}

.product-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.product-main-image-wrapper:hover .product-main-img {
    transform: scale(1.05);
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-nav-btn:hover {
    background: var(--primary-brown);
    color: var(--neutral-white);
    border-color: var(--primary-brown);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(61, 20, 14, 0.3);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

.image-nav-btn i {
    font-size: 24px;
}

/* Right Side - Product Info */
.product-info-section {
    padding: var(--space-6);
    background: var(--neutral-white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-detail-title {
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: var(--font-extrabold);
    color: var(--neutral-dark);
    margin: 0 0 var(--space-4) 0;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--neutral-dark) 0%, var(--primary-brown) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.detail-tag {
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, rgba(61, 20, 14, 0.08) 0%, rgba(61, 20, 14, 0.05) 100%);
    border: 1px solid rgba(61, 20, 14, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: var(--font-semibold);
    color: var(--primary-brown);
    transition: all 0.3s ease;
}

.detail-tag:hover {
    background: var(--primary-brown);
    color: var(--neutral-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(61, 20, 14, 0.2);
}

.product-price-section {
    margin-bottom: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-1);
}

.price-label {
    font-size: 0.8125rem;
    font-weight: var(--font-semibold);
    color: var(--neutral-gray);
}

.price-old {
    font-size: 1rem;
    color: var(--neutral-gray);
    text-decoration: line-through;
}

.price-new {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: var(--font-extrabold);
    background: linear-gradient(135deg, var(--secondary-red) 0%, #b01f1d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-save {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: var(--neutral-white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: var(--font-extrabold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.price-note {
    font-size: 0.8125rem;
    color: var(--neutral-gray);
    margin: 0;
    font-style: italic;
}

.product-rating-section {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding: var(--space-3);
    background: rgba(61, 20, 14, 0.05);
    border-radius: var(--radius-lg);
}

.rating-star {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--neutral-white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: var(--font-extrabold);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.rating-reviews {
    font-size: 0.9375rem;
    color: var(--neutral-gray);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-medium);
}

.rating-reviews i {
    color: #16a34a;
    font-size: 18px;
}

.tax-note {
    font-size: 0.8125rem;
    color: var(--neutral-gray);
    margin: 0 0 var(--space-6) 0;
    font-style: italic;
}

.product-action-buttons {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    align-items: stretch;
}

.btn-add-to-cart-detail,
.btn-buy-now-detail {
    flex: 1;
    padding: var(--space-4) var(--space-5);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: var(--font-extrabold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart-detail::before,
.btn-buy-now-detail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-to-cart-detail:hover::before,
.btn-buy-now-detail:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-to-cart-detail {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-dark) 100%);
    color: var(--neutral-white);
    box-shadow: 0 4px 16px rgba(61, 20, 14, 0.3);
}

.btn-add-to-cart-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(61, 20, 14, 0.4);
}

.btn-buy-now-detail {
    background: linear-gradient(135deg, var(--secondary-red) 0%, #b01f1d 100%);
    color: var(--neutral-white);
    box-shadow: 0 4px 16px rgba(211, 35, 33, 0.3);
}

.btn-buy-now-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(211, 35, 33, 0.4);
}

.btn-add-to-cart-detail i,
.btn-buy-now-detail i {
    font-size: 22px;
    position: relative;
    z-index: 1;
}

/* Wishlist Button */
.btn-wishlist-detail {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--neutral-white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-wishlist-detail:hover {
    border-color: var(--secondary-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(211, 35, 33, 0.25);
}

.btn-wishlist-detail .ri-heart-line {
    font-size: 26px;
    color: var(--neutral-gray);
    transition: all var(--transition-base);
}

.btn-wishlist-detail .ri-heart-fill {
    font-size: 26px;
    color: var(--secondary-red);
    position: absolute;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-wishlist-detail.active .ri-heart-line {
    opacity: 0;
    transform: scale(0);
}

.btn-wishlist-detail.active .ri-heart-fill {
    opacity: 1;
    transform: scale(1);
}

.btn-wishlist-detail.active {
    background: linear-gradient(135deg, rgba(211, 35, 33, 0.1) 0%, rgba(211, 35, 33, 0.05) 100%);
    border-color: var(--secondary-red);
}

.btn-wishlist-detail:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Wishlist button animation on click */
@keyframes heartBeat {

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

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1.1);
    }
}

.btn-wishlist-detail.active .ri-heart-fill {
    animation: heartBeat 0.6s ease;
}

/* Product Tabs */
.product-tabs-section {
    margin-top: var(--space-12);
    background: var(--neutral-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-tabs-header {
    display: flex;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-brown) transparent;
}

.product-tabs-header::-webkit-scrollbar {
    height: 4px;
}

.product-tabs-header::-webkit-scrollbar-track {
    background: transparent;
}

.product-tabs-header::-webkit-scrollbar-thumb {
    background: var(--primary-brown);
    border-radius: var(--radius-full);
}

.product-tab-btn {
    padding: var(--space-4) var(--space-6);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.9375rem;
    font-weight: var(--font-bold);
    color: var(--neutral-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.product-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-brown) 0%, var(--secondary-red) 100%);
    transition: width 0.3s ease;
    border-radius: var(--radius-full);
}

.product-tab-btn:hover {
    color: var(--primary-brown);
}

.product-tab-btn.active {
    color: var(--primary-brown);
    background: var(--neutral-white);
}

.product-tab-btn.active::after {
    width: 100%;
}

.product-tabs-content {
    padding: var(--space-8);
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

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

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

.product-tab-content h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: var(--font-extrabold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-3);
}

.product-tab-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-brown) 0%, var(--secondary-red) 100%);
    border-radius: var(--radius-full);
}

.product-tab-content p {
    color: var(--neutral-gray);
    line-height: 1.8;
    margin-bottom: var(--space-4);
    font-size: 1rem;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease;
}

.specifications-table tr:hover {
    background: rgba(61, 20, 14, 0.03);
}

.specifications-table td {
    padding: var(--space-4) var(--space-3);
}

.specifications-table td:first-child {
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    width: 200px;
}

.specifications-table td:last-child {
    color: var(--neutral-gray);
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    color: var(--neutral-gray);
}

.ingredients-list li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: var(--primary-brown);
    font-weight: var(--font-bold);
}

.how-to-use-list {
    padding-left: var(--space-6);
    color: var(--neutral-gray);
}

.how-to-use-list li {
    padding: var(--space-2) 0;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--neutral-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    font-size: 16px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.faq-item p {
    margin: 0;
}

.reviews-summary {
    background: var(--neutral-light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    text-align: center;
}

.rating-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.rating-number {
    font-size: 48px;
    font-weight: var(--font-bold);
    color: var(--primary-brown);
}

.rating-stars-large {
    font-size: 24px;
    color: var(--secondary-yellow);
}

.review-item {
    padding: var(--space-5);
    border-bottom: 1px solid var(--neutral-border);
    margin-bottom: var(--space-4);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.reviewer-name {
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
}

.review-rating {
    color: var(--secondary-yellow);
}

.review-text {
    color: var(--neutral-gray);
    margin-bottom: var(--space-2);
}

.review-date {
    font-size: 13px;
    color: var(--neutral-gray);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .product-detail-wrapper {
        gap: var(--space-8);
    }

    .product-info-section {
        padding: var(--space-5);
    }
}

@media (max-width: 1024px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .product-images-section {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }

    .product-info-section {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.8125rem;
        padding: var(--space-2) var(--space-3);
    }

    .breadcrumb-item i {
        font-size: 16px;
    }

    .product-detail-page {
        padding: var(--space-6) 0;
    }

    .product-images-section {
        flex-direction: column-reverse;
        gap: var(--space-3);
    }

    .product-thumbnails-vertical {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: var(--space-2);
        gap: var(--space-2);
    }

    .thumbnail-img {
        width: 70px;
        height: 70px;
    }

    .product-main-image-container {
        max-width: 100%;
    }

    .image-nav-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: 12px;
    }

    .next-btn {
        right: 12px;
    }

    .product-info-section {
        padding: var(--space-5);
    }

    .product-detail-title {
        font-size: clamp(1.5rem, 5vw, 1.75rem);
        margin-bottom: var(--space-3);
    }

    .product-price-section {
        padding: var(--space-4);
    }

    .price-new {
        font-size: clamp(1.5rem, 6vw, 1.875rem);
    }

    .product-action-buttons {
        flex-wrap: wrap;
    }

    .btn-add-to-cart-detail,
    .btn-buy-now-detail {
        flex: 1 1 calc(50% - var(--space-2));
        min-width: 140px;
        padding: var(--space-3) var(--space-4);
        font-size: 0.875rem;
    }

    .btn-wishlist-detail {
        width: 100%;
        height: 54px;
        flex: 1 1 100%;
    }

    .product-tabs-section {
        margin-top: var(--space-8);
        border-radius: var(--radius-xl);
    }

    .product-tab-btn {
        padding: var(--space-3) var(--space-4);
        font-size: 0.875rem;
    }

    .product-tabs-content {
        padding: var(--space-6);
    }

    .specifications-table td:first-child {
        width: 120px;
        font-size: 0.875rem;
    }

    .specifications-table td {
        padding: var(--space-3) var(--space-2);
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.75rem;
        padding: var(--space-2);
        gap: var(--space-1);
    }

    .breadcrumb-separator {
        font-size: 14px;
    }

    .product-detail-page {
        padding: var(--space-4) 0;
    }

    .product-detail-wrapper {
        gap: var(--space-4);
    }

    .product-images-section {
        gap: var(--space-2);
    }

    .thumbnail-img {
        width: 60px;
        height: 60px;
    }

    .product-badge-detail {
        top: 16px;
        right: 16px;
        padding: var(--space-1) var(--space-3);
        font-size: 0.6875rem;
    }

    .image-nav-btn {
        width: 36px;
        height: 36px;
    }

    .image-nav-btn i {
        font-size: 20px;
    }

    .prev-btn {
        left: 8px;
    }

    .next-btn {
        right: 8px;
    }

    .product-info-section {
        padding: var(--space-4);
    }

    .product-detail-title {
        font-size: 1.375rem;
        margin-bottom: var(--space-3);
    }

    .detail-tag {
        padding: var(--space-1) var(--space-3);
        font-size: 0.75rem;
    }

    .product-price-section {
        padding: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .price-label {
        font-size: 0.875rem;
    }

    .price-old {
        font-size: 1rem;
    }

    .price-new {
        font-size: 1.625rem;
    }

    .price-save {
        font-size: 0.6875rem;
        padding: 2px var(--space-2);
    }

    .product-rating-section {
        padding: var(--space-2);
        gap: var(--space-2);
    }

    .rating-star {
        font-size: 0.875rem;
        padding: var(--space-1) var(--space-2);
    }

    .rating-reviews {
        font-size: 0.8125rem;
    }

    .product-action-buttons {
        gap: var(--space-2);
    }

    .btn-add-to-cart-detail,
    .btn-buy-now-detail {
        padding: var(--space-3);
        font-size: 0.8125rem;
        gap: var(--space-1);
    }

    .btn-add-to-cart-detail i,
    .btn-buy-now-detail i {
        font-size: 18px;
    }

    .btn-wishlist-detail {
        height: 50px;
    }

    .btn-wishlist-detail .ri-heart-line,
    .btn-wishlist-detail .ri-heart-fill {
        font-size: 22px;
    }

    .product-tabs-section {
        margin-top: var(--space-6);
        border-radius: var(--radius-lg);
    }

    .product-tab-btn {
        padding: var(--space-2) var(--space-3);
        font-size: 0.8125rem;
    }

    .product-tabs-content {
        padding: var(--space-4);
    }

    .product-tab-content h3 {
        font-size: 1.25rem;
        margin-bottom: var(--space-4);
    }

    .product-tab-content p {
        font-size: 0.9375rem;
        margin-bottom: var(--space-3);
    }

    .specifications-table {
        font-size: 0.8125rem;
    }

    .specifications-table td:first-child {
        width: 100px;
    }

    .specifications-table td {
        padding: var(--space-2);
    }

    .rating-number {
        font-size: 36px;
    }

    .rating-stars-large {
        font-size: 20px;
    }

    .reviews-summary {
        padding: var(--space-4);
    }

    .review-item {
        padding: var(--space-4);
    }
}

/* ============================================
   COLLECTION PAGE - SWEET KARAM COFFEE DESIGN
   ============================================ */

.collection-page {
    background: var(--neutral-light);
}

/* Category Tabs Section */
.collection-category-section {
    padding: var(--space-6) 0;
}

.collection-category-container {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 10px;
}

.collection-category-container::-webkit-scrollbar {
    display: none;
}

.collection-category-row {
    display: flex;
    gap: 15px;
    width: max-content;
    min-width: 100%;
}

.collection-category-card {
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--neutral-border);
    border-radius: 50px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.collection-category-card:hover {
    transform: translateY(-1px);
    border-color: var(--primary-brown);
}

.collection-category-card.active {
    background: var(--primary-brown);
    border-color: var(--primary-brown);
}

.category-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-card-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    border: 2px solid #fff;
}

.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-dark);
    white-space: nowrap;
}

.collection-category-card.active .category-card-name {
    color: #fff;
}

.collection-category-card.active .category-card-img {
    border-color: rgba(255, 255, 255, 0.5);
}



/* ============================================
   WISHLIST PAGE
   ============================================ */

.wishlist-page {
    padding: var(--space-12) 0 var(--space-16);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.wishlist-header {
    text-align: center;
    margin-bottom: var(--space-10);
    position: relative;
    z-index: 1;
}

.wishlist-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--font-bold);
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--secondary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-3);
    letter-spacing: -0.5px;
}

.wishlist-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: var(--neutral-gray);
    font-weight: var(--font-medium);
    max-width: 600px;
    margin: 0 auto;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.wishlist-item {
    background: var(--neutral-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.wishlist-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(229, 25, 74, 0.2);
}

.wishlist-item-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.wishlist-item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wishlist-item:hover .wishlist-item-image::before {
    opacity: 1;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.08);
}

.wishlist-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-dark) 100%);
    color: var(--neutral-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(98, 40, 28, 0.3);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.wishlist-badge.out-of-stock {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.wishlist-item-details {
    padding: var(--space-5);
}

.wishlist-item-title {
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-3);
    line-height: 1.4;
    font-family: var(--font-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-item-tags {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
}

.wishlist-tag {
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(98, 40, 28, 0.08) 0%, rgba(98, 40, 28, 0.12) 100%);
    border: 1px solid rgba(98, 40, 28, 0.15);
    border-radius: var(--radius-full);
    font-size: 11px;
    color: var(--primary-brown);
    font-weight: var(--font-semibold);
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.wishlist-tag:hover {
    background: linear-gradient(135deg, rgba(98, 40, 28, 0.15) 0%, rgba(98, 40, 28, 0.2) 100%);
    transform: translateY(-2px);
}

.wishlist-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.rating-count {
    font-size: 13px;
    color: var(--neutral-gray);
    font-weight: var(--font-medium);
}

.wishlist-price-section {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.wishlist-price-old {
    font-size: 14px;
    color: var(--neutral-gray);
    text-decoration: line-through;
    font-weight: var(--font-medium);
}

.wishlist-price-new {
    font-size: 1.375rem;
    font-weight: var(--font-extrabold);
    background: linear-gradient(135deg, var(--secondary-red) 0%, #C01539 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wishlist-discount {
    background: linear-gradient(135deg, var(--success-green) 0%, #15803d 100%);
    color: var(--neutral-white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.btn-wishlist-add-cart,
.btn-wishlist-notify {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: var(--font-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-wishlist-add-cart {
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-dark) 100%);
    color: var(--neutral-white);
    box-shadow: 0 4px 12px rgba(229, 25, 74, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-wishlist-add-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-wishlist-add-cart:hover::before {
    left: 100%;
}

.btn-wishlist-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 25, 74, 0.4);
}

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

.btn-wishlist-notify {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: var(--neutral-gray);
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-wishlist-add-cart i,
.btn-wishlist-notify i {
    font-size: 18px;
    line-height: 1;
}

/* Wishlist Count Badge */
.wishlist-count-badge {
    background: #fdf2f2;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    color: #666;
    border: 1px solid #fce7e7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.wishlist-count-badge span {
    color: var(--secondary-red) !important;
}

/* Empty Wishlist State Refined */
.wishlist-empty-wrapper {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    max-width: 700px;
    margin: 40px auto;
    border: 1px solid #f0f0f0;
    padding: 60px 40px;
}

.empty-icon-box {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.main-icon i {
    font-size: 100px;
    color: #fce7e7;
    display: block;
    animation: floatingIcon 3s ease-in-out infinite;
}

@keyframes floatingIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotatePulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 1;
    }
}

.empty-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--neutral-dark);
}

.empty-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 450px;
    color: var(--neutral-gray);
}

/* Premium Button Styling */
.rb-btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary-red);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(229, 25, 74, 0.2);
    position: relative;
    overflow: hidden;
}

.rb-btn-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(229, 25, 74, 0.3);
    background: #d1123d;
}

.rb-btn-premium .btn-text {
    position: relative;
    z-index: 2;
}

.rb-btn-premium .btn-icon {
    font-size: 20px;
    transition: transform 0.4s ease;
}

.rb-btn-premium:hover .btn-icon {
    transform: translateX(5px);
}

.btn-browse-products {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-10);
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-dark) 100%);
    color: var(--neutral-white) !important;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: var(--font-bold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(98, 40, 28, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-browse-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-browse-products:hover::before {
    left: 100%;
}

.btn-browse-products:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(98, 40, 28, 0.4);
    color: var(--neutral-white);
}

.btn-browse-products:active {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1200px) {
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: var(--space-5);
    }
}

@media (max-width: 992px) {
    .wishlist-page {
        padding: var(--space-10) 0 var(--space-12);
    }

    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: var(--space-4);
    }

    .wishlist-item-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .wishlist-page {
        padding: var(--space-8) 0 var(--space-10);
    }

    .wishlist-header {
        margin-bottom: var(--space-8);
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .wishlist-item-image {
        height: 200px;
    }

    .wishlist-item-details {
        padding: var(--space-4);
    }

    .wishlist-item-title {
        font-size: 1rem;
    }

    .wishlist-price-new {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .wishlist-page {
        padding: var(--space-6) 0 var(--space-8);
    }

    .wishlist-header {
        margin-bottom: var(--space-6);
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .wishlist-item {
        max-width: 400px;
        margin: 0 auto;
    }

    .wishlist-item-image {
        height: 260px;
    }

    .wishlist-empty {
        padding: var(--space-12) var(--space-4);
    }

    .wishlist-empty i {
        font-size: 80px;
    }
}

@media (max-width: 400px) {
    .wishlist-item-image {
        height: 240px;
    }

    .wishlist-item-details {
        padding: var(--space-3);
    }

    .btn-wishlist-add-cart,
    .btn-wishlist-notify {
        font-size: 13px;
        padding: var(--space-2) var(--space-3);
    }
}

/* Wishlist Notifications */
.wishlist-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    pointer-events: none;
}

.wishlist-notification-item {
    background: linear-gradient(135deg, var(--success-green) 0%, #15803d 100%);
    color: var(--neutral-white);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: var(--font-semibold);
    font-size: 0.9375rem;
    min-width: 280px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.wishlist-notification-item.show {
    transform: translateX(0);
    opacity: 1;
}

.wishlist-notification-item i {
    font-size: 24px;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .wishlist-notification {
        right: 10px;
        left: 10px;
        top: 80px;
    }

    .wishlist-notification-item {
        min-width: auto;
        width: 100%;
        font-size: 0.875rem;
        padding: var(--space-3) var(--space-4);
    }
}

/* ============================================
   BLOG DETAIL PAGE
   ============================================ */

.blog-detail-page {
    background: #ffffff;
}

.blog-detail-article {
    background: #ffffff;
}

.blog-detail-featured-image {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.blog-detail-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-detail-title {
    font-size: 2rem;
    color: var(--neutral-dark);
}

.author-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

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

.author-name-large {
    font-size: 15px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
}

.author-role {
    font-size: 13px;
    color: var(--neutral-gray);
}

.blog-detail-info {
    display: flex;
    gap: var(--space-4);
    font-size: 14px;
    color: var(--neutral-gray);
}

.blog-detail-info i {
    margin-right: 4px;
}

.lead-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: var(--neutral-dark);
    margin-bottom: var(--space-6);
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5,
.blog-detail-content h6 {
    font-family: var(--font-primary);
    color: var(--neutral-dark) !important;
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    font-weight: 700 !important;
}

.blog-detail-content h2 {
    font-size: 28px !important;
}

.blog-detail-content h3 {
    font-size: 24px !important;
}

.blog-detail-content h4 {
    font-size: 20px !important;
}

.blog-detail-content p,
.blog-detail-content span {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
    /* Tailwind gray-600 */
    margin-bottom: var(--space-4);
}

.blog-detail-content strong,
.blog-detail-content b {
    font-weight: 700 !important;
    color: var(--neutral-dark) !important;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.blog-detail-content li {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
    margin-bottom: var(--space-2);
}

.blog-quote {
    background: var(--neutral-light);
    padding: var(--space-6);
    border-left: 4px solid var(--primary-brown);
    margin: var(--space-8) 0;
    position: relative;
}

.blog-quote i {
    font-size: 40px;
    color: var(--primary-brown);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.blog-quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--neutral-dark);
    margin: 0 0 var(--space-2) 0;
    padding-left: 40px;
}

.blog-quote cite {
    font-size: 14px;
    color: var(--neutral-gray);
    font-style: normal;
    padding-left: 40px;
}

.blog-detail-footer {
    padding: var(--space-6) var(--space-8);
    border-top: 1px solid var(--neutral-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.blog-tags {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.tag-label {
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
}

.blog-tag {
    padding: 4px 12px;
    background: var(--neutral-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--neutral-dark);
    text-decoration: none;
    transition: all var(--transition-base);
}

.blog-tag:hover {
    background: var(--primary-brown);
    color: var(--neutral-white);
}

.blog-share {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.share-label {
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
}

.share-btn {
    width: 36px;
    height: 36px;
    background: var(--neutral-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-dark);
    text-decoration: none;
    transition: all var(--transition-base);
}

.share-btn:hover {
    background: var(--primary-brown);
    color: var(--neutral-white);
}

.share-btn.facebook:hover {
    background: #3b5998 !important;
    border-color: #3b5998 !important;
    color: white !important;
}

.share-btn.twitter:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
}

.share-btn.whatsapp:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
}

.share-btn.linkedin:hover {
    background: #0077b5 !important;
    border-color: #0077b5 !important;
    color: white !important;
}

.share-btn.copy:hover {
    background: var(--secondary-red) !important;
    border-color: var(--secondary-red) !important;
    color: white !important;
}

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

/* Related Posts */
.related-posts {
    margin-top: var(--space-10);
}

.related-posts-title {
    font-family: var(--font-accent);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

/* Related Posts Grid is now handled by Bootstrap row/col */

.related-post-card {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

.related-post-card img {
    width: 100%;
    transition: transform var(--transition-base);
}

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

.related-post-card h3 {
    font-size: 16px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    padding: var(--space-4);
    padding-bottom: var(--space-2);
    line-height: 1.4;
}

.related-post-date {
    display: block;
    padding: 0 var(--space-4) var(--space-4);
    font-size: 12px;
    color: var(--neutral-gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-title {
        font-size: var(--text-3xl);
    }

    .blog-detail-title {
        font-size: var(--text-2xl);
    }

    .blog-detail-featured-image {
        height: 250px;
    }

    .blog-detail-header,
    .blog-detail-content,
    .blog-detail-footer {
        padding: var(--space-5);
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Continue Reading Button */
.btn-continue-reading {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    background: transparent;
    color: var(--neutral-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    padding: 0;
    border-bottom: 2px solid transparent;
}

.btn-continue-reading:hover {
    color: var(--secondary-red);
    transform: translateX(3px);
}

.btn-continue-reading i {
    font-size: 14px;
    transition: transform var(--transition-base);
}

.btn-continue-reading:hover i {
    transform: translateX(3px);
}

/* ============================================
   BLOG SECTION - HOMEPAGE
   ============================================ */

.blog-section-home {
    padding: var(--space-12) 0;
    background: var(--neutral-white);
}

.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

/* Responsive for homepage blog */
@media (max-width: 1024px) {
    .blog-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid-home {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   USER DROPDOWN MENU
   ============================================ */

.user-dropdown {
    position: fixed;
    top: 110px;
    right: 20px;
    width: 250px;
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-content {
    padding: var(--space-5);
}

/* Authenticated User Header */
.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--neutral-border);
}

.user-avatar-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-brown);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    color: var(--neutral-white);
    font-size: 20px;
    font-weight: var(--font-bold);
}

.user-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar-circle i {
    font-size: 24px;
    color: var(--neutral-white);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-phone {
    font-size: 13px;
    color: var(--neutral-medium);
    margin: 0;
}

/* Dropdown Menu Items */
.user-dropdown-menu {
    display: flex;
    flex-direction: column;
    padding-top: var(--space-2);
}

.dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-1);
    border-radius: var(--radius-md);
    color: var(--neutral-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: var(--font-medium);
    transition: all var(--transition-base);
    border: none;
    background: transparent;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.dropdown-menu-item i {
    font-size: 20px;
    color: var(--neutral-medium);
    width: 24px;
}

.dropdown-menu-item:hover {
    color: var(--primary-brown);
}

.dropdown-menu-item:hover i {
    color: var(--primary-brown);
}

.dropdown-menu-item.logout-item {
    color: var(--secondary-red);
}

.dropdown-menu-item.logout-item:hover {
    color: var(--secondary-red);
}

.dropdown-menu-item.logout-item:hover i {
    color: var(--secondary-red);
}

.dropdown-menu-item.logout-item i {
    color: var(--secondary-red);
}

.dropdown-menu-item.logout-item:hover {
    background: rgba(211, 35, 33, 0.1);
}

/* Dropdown Divider */
.dropdown-divider {
    height: 1px;
    background: var(--neutral-border);
    margin: var(--space-2) 0;
}


/* Guest User Dropdown */
.user-dropdown-guest {
    text-align: center;
    padding: var(--space-4);
}

.guest-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-3);
    background: var(--neutral-lightest);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-icon i {
    font-size: 28px;
    color: var(--neutral-medium);
}

.user-dropdown-guest h4 {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.user-dropdown-guest p {
    font-size: 13px;
    color: var(--neutral-medium);
    margin-bottom: var(--space-4);
}

.btn-login-dropdown {
    width: 100%;
    padding: var(--space-3) var(--space-5);
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.btn-login-dropdown:hover {
    background: #000000;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .user-dropdown {
        right: 10px;
        width: calc(100vw - 20px);
        max-width: 320px;
    }
}

/* Variant Selector Styles */
.variant-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.variant-select:focus {
    border-color: var(--primary-orange, #ff6b00);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.1);
}

.variant-select:hover {
    border-color: #bdbdbd;
}

/* ============================================
   CONTACT PAGE - ENHANCED PREMIUM DESIGN
   ============================================ */
.contact-page {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.contact-page * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Contact Banner - Matching Collection Page Style */
.contact-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    max-width: 100%;
}

.contact-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner-title {
    color: var(--neutral-white);
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    font-weight: var(--font-extrabold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.contact-banner-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.contact-content {
    padding: var(--space-8) 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Enhanced Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 35, 33, 0.02) 0%, rgba(211, 35, 33, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(211, 35, 33, 0.12);
    border-color: var(--secondary-red);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-dark) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--neutral-white);
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.25);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(211, 35, 33, 0.35);
}

.contact-info-content {
    flex: 1;
    min-width: 0;
}

.contact-info-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.contact-info-text {
    font-size: var(--text-base);
    color: var(--neutral-gray);
    margin-bottom: var(--space-2);
    line-height: 1.5;
}

.contact-info-text a {
    color: var(--secondary-red);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-text a:hover {
    color: var(--secondary-red-dark);
    text-decoration: underline;
}

.contact-info-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--neutral-medium);
    margin: 0;
}

.contact-info-meta i {
    font-size: 14px;
    color: var(--secondary-red);
}

.contact-get-directions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--secondary-red);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    background: rgba(211, 35, 33, 0.05);
}

.contact-get-directions:hover {
    gap: var(--space-3);
    color: var(--neutral-white);
    background: var(--secondary-red);
    transform: translateX(2px);
}

/* Enhanced Form & Map Section */
.contact-form-map-section {
    margin-top: 0;
}

.contact-form-wrapper {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-border);
}

.contact-form-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--neutral-lightest);
}

.contact-form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.25);
}

.contact-form-icon i {
    font-size: 28px;
    color: var(--neutral-white);
}

.contact-form-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.contact-form-subtitle {
    font-size: var(--text-sm);
    color: var(--neutral-gray);
    margin: 0;
}

/* Form Styles */
.contact-form .form-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.contact-form .form-label i {
    font-size: 16px;
    color: var(--secondary-red);
}

.contact-form .form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--neutral-white);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--secondary-red);
    box-shadow: 0 0 0 3px rgba(211, 35, 33, 0.08);
    transform: translateY(-1px);
}

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

/* Enhanced Submit Button */
.btn-contact-submit {
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-dark) 100%);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-contact-submit .btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

.btn-contact-submit .btn-text i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 35, 33, 0.4);
}

.btn-contact-submit:hover .btn-shine {
    left: 100%;
}

.btn-contact-submit:hover .btn-text i {
    transform: translateX(4px);
}

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

.btn-contact-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-contact-submit.success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.btn-contact-submit.error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

/* Map Section */
.contact-map-section {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-border);
}

.contact-map-header {
    text-align: center;
    margin-bottom: var(--space-5);
}

.contact-map-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.contact-map-subtitle {
    font-size: var(--text-sm);
    color: var(--neutral-gray);
    margin: 0;
}

.contact-map-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-map-container iframe {
    width: 100% !important;
    height: 400px;
    border: 0;
    border-radius: var(--radius-lg);
    display: block;
}

/* Enhanced Address Box */
.contact-address-box {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    border: 1px solid var(--neutral-border);
    transition: all 0.3s ease;
}

.contact-address-box:hover {
    border-color: var(--secondary-red);
    box-shadow: 0 2px 8px rgba(211, 35, 33, 0.08);
}

.contact-address-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(211, 35, 33, 0.25);
}

.contact-address-icon i {
    font-size: 24px;
    color: var(--neutral-white);
}

.contact-address-content h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.contact-address-content p {
    font-size: var(--text-sm);
    color: var(--neutral-gray);
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.contact-get-directions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--secondary-red);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-get-directions:hover {
    gap: var(--space-3);
    color: var(--secondary-red-dark);
}

.contact-get-directions i {
    font-size: 14px;
}

/* Enhanced Map with Overlay */
.contact-map {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.contact-map-overlay {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    width: 44px;
    height: 44px;
    background: var(--secondary-red);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(211, 35, 33, 0.35);
    animation: mapPulse 2s ease-in-out infinite;
}

@keyframes mapPulse {

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

    50% {
        transform: scale(1.08);
    }
}

.contact-map-overlay i {
    font-size: 20px;
    color: var(--neutral-white);
}

/* Enhanced Social Media Section */
.contact-social-section {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--neutral-lightest);
}

.contact-social-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-4);
    text-align: center;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.contact-social-icon {
    width: 50px;
    height: 50px;
    background: var(--neutral-lightest);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-dark);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--neutral-border);
    position: relative;
    overflow: hidden;
}

.contact-social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: inherit;
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.contact-social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.contact-social-icon i {
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.contact-social-icon:hover i {
    transform: scale(1.1);
}

/* Platform-specific colors */
.contact-social-icon.facebook:hover {
    background: #1877f2;
    color: var(--neutral-white);
    border-color: #1877f2;
}

.contact-social-icon.instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    color: var(--neutral-white);
    border-color: #dd2a7b;
}

.contact-social-icon.youtube:hover {
    background: #ff0000;
    color: var(--neutral-white);
    border-color: #ff0000;
}

.contact-social-icon.twitter:hover {
    background: #000000;
    color: var(--neutral-white);
    border-color: #000000;
}

.contact-detail-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--neutral-white);
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(211, 35, 33, 0.2);
}

.contact-detail-content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
    color: var(--neutral-dark);
}

.contact-detail-content p {
    margin-bottom: var(--space-1);
    font-size: var(--text-base);
}

.contact-detail-content a {
    color: var(--secondary-red);
    font-weight: var(--font-semibold);
}

.detail-label {
    font-size: var(--text-xs);
    color: var(--neutral-gray);
}

.contact-map-full {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-left {
    padding-right: var(--space-4);
}

@media (max-width: 991px) {
    .contact-info-left {
        padding-right: 0;
        margin-bottom: var(--space-10);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-banner {
        height: 350px;
    }

    .contact-banner-title {
        font-size: var(--text-4xl);
    }

    .contact-banner-subtitle {
        font-size: var(--text-base);
    }

    .contact-content {
        padding: var(--space-6) 0;
    }

    .contact-info-grid {
        gap: var(--space-3);
    }

    .contact-info-card {
        padding: var(--space-4);
        gap: var(--space-3);
    }

    .contact-info-icon {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }

    .contact-info-icon i {
        font-size: 18px;
    }

    .contact-info-title {
        font-size: var(--text-base);
    }

    .contact-form-wrapper {
        padding: var(--space-5);
    }

    .contact-form-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }

    .contact-form-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .contact-form-icon i {
        font-size: 24px;
    }

    .contact-form-title {
        font-size: var(--text-xl);
    }

    .contact-map-section {
        padding: var(--space-5);
    }

    .contact-map-container iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        height: 300px;
    }

    .contact-banner-title {
        font-size: var(--text-3xl);
    }

    .contact-info-card {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }

    .contact-info-content {
        text-align: center;
    }

    .contact-social-section {
        margin-top: var(--space-5);
        padding-top: var(--space-4);
    }

    .contact-social-title {
        font-size: var(--text-base);
    }

    .contact-social-icons {
        justify-content: center;
        gap: var(--space-2);
    }

    .contact-social-icon {
        width: 45px;
        height: 45px;
    }

    .contact-social-icon i {
        font-size: 16px;
    }

    .contact-form-wrapper {
        padding: var(--space-4);
    }

    .contact-map-container iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-banner {
        height: 250px;
    }

    .contact-banner-title {
        font-size: var(--text-2xl);
    }

    .contact-banner-subtitle {
        font-size: var(--text-sm);
    }

    .rb-section-header {
        margin-bottom: var(--space-4) !important;
    }

    .rb-section-title {
        font-size: var(--text-xl) !important;
    }

    .contact-info-card {
        padding: var(--space-3);
    }

    .contact-info-title {
        font-size: var(--text-sm);
    }

    .contact-info-text {
        font-size: var(--text-sm);
    }

    .contact-social-icons {
        gap: var(--space-2);
    }

    .contact-social-icon {
        width: 40px;
        height: 40px;
    }

    .contact-form-header {
        margin-bottom: var(--space-4);
        padding-bottom: var(--space-3);
    }

    .contact-form-title {
        font-size: var(--text-lg);
    }

    .contact-form .form-label {
        font-size: var(--text-xs);
    }

    .btn-contact-submit {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }

    .contact-map-section {
        padding: var(--space-3);
    }

    .contact-map-title {
        font-size: var(--text-lg);
    }

    .contact-map-container iframe {
        height: 250px;
    }
}

/* ============================================
   WISHLIST SECTION
   ============================================ */

/* Wishlist Header */
.section-header .header-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.section-header .header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.section-title i {
    color: var(--secondary-red);
    margin-right: var(--space-2);
}

.btn-clear-wishlist {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: transparent;
    border: 2px solid var(--secondary-red);
    border-radius: var(--radius-lg);
    color: var(--secondary-red);
    font-size: 14px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-clear-wishlist:hover {
    background: var(--secondary-red);
    color: var(--neutral-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 35, 33, 0.3);
}

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

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

/* Wishlist Product Card */
.wishlist-product-card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

/* Discount Badge */
.wishlist-discount-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background: var(--secondary-red);
    color: var(--neutral-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: var(--font-bold);
    z-index: 10;
}

/* Product Link */
.wishlist-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Product Image */
.wishlist-product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--neutral-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

/* Product Info */
.wishlist-product-info {
    padding: var(--space-4);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.wishlist-product-name {
    font-size: 16px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-product-price {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-1);
}

.wishlist-product-price .price-old {
    font-size: 14px;
    color: var(--neutral-medium);
    text-decoration: line-through;
}

.wishlist-product-price .price-current {
    font-size: 20px;
    font-weight: var(--font-bold);
    color: var(--primary-orange);
}

.wishlist-product-unit {
    font-size: 13px;
    color: var(--neutral-medium);
    margin: 0;
}

/* Stock Badge */
.stock-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    margin-top: var(--space-2);
}

.stock-badge.in-stock {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.stock-badge.out-of-stock {
    background: rgba(211, 35, 33, 0.1);
    color: var(--secondary-red);
}

/* Product Actions */
.wishlist-product-actions {
    padding: 0 var(--space-4) var(--space-4);
}

.btn-wishlist-add-cart,
.btn-wishlist-notify {
    width: 100%;
    padding: var(--space-3);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: var(--font-semibold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-wishlist-add-cart {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ffa500 100%);
    color: var(--neutral-white);
}

.btn-wishlist-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-wishlist-notify {
    background: var(--neutral-lightest);
    color: var(--neutral-dark);
    border: 2px solid var(--neutral-border);
}

.btn-wishlist-notify:hover {
    background: var(--neutral-border);
}

.btn-wishlist-add-cart i,
.btn-wishlist-notify i {
    font-size: 18px;
}

/* Empty State */
.wishlist-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-10) var(--space-4);
    text-align: center;
    min-height: 400px;
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.empty-state-icon i {
    font-size: 60px;
    color: var(--primary-orange);
}

.empty-state-title {
    font-size: 24px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-3);
}

.empty-state-text {
    font-size: 15px;
    color: var(--neutral-medium);
    margin-bottom: var(--space-6);
    max-width: 400px;
}

.btn-browse-products {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ffa500 100%);
    color: var(--neutral-white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: var(--font-semibold);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.btn-browse-products:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
}

.btn-browse-products i {
    font-size: 20px;
}

/* Loading State */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-10);
    font-size: 16px;
    color: var(--neutral-medium);
}

.loading-spinner i {
    font-size: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Error State */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-10);
    color: var(--secondary-red);
}

.error-state i {
    font-size: 48px;
}

/* ============================================
   RESPONSIVE - WISHLIST
   ============================================ */

@media (max-width: 1024px) {
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: var(--space-5);
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .section-header .header-actions {
        width: 100%;
    }

    .btn-clear-wishlist {
        width: 100%;
        justify-content: center;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .wishlist-product-image {
        height: 180px;
    }

    .wishlist-product-name {
        font-size: 14px;
    }

    .wishlist-product-price .price-current {
        font-size: 18px;
    }
}

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

    .wishlist-product-image {
        height: 220px;
    }

    .empty-state-icon {
        width: 100px;
        height: 100px;
    }

    .empty-state-icon i {
        font-size: 50px;
    }

    .empty-state-title {
        font-size: 20px;
    }
}

/* ============================================
   USER PROFILE PAGE
   ============================================ */

.profile-page {
    background: var(--neutral-light);
    min-height: 100vh;
}

/* Profile Header */
.profile-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.profile-page-title {
    font-family: var(--font-secondary);
    font-size: 36px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.profile-page-subtitle {
    font-size: 16px;
    color: var(--neutral-medium);
}

/* Profile Wrapper */
.profile-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-8);
    align-items: start;
    position: relative;
}

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */

.profile-menu-toggle {
    display: none;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    margin-bottom: var(--space-4);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.profile-menu-toggle:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.profile-menu-toggle i {
    font-size: 20px;
}

/* ============================================
   PROFILE SIDEBAR
   ============================================ */

.profile-sidebar {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

/* Sidebar Header (Hidden on Desktop) */
.sidebar-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
    border-bottom: 2px solid var(--neutral-border);
}

.sidebar-title {
    font-size: 20px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
}

.sidebar-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.sidebar-close:hover {
    background: var(--neutral-lightest);
}

.sidebar-close i {
    font-size: 24px;
    color: var(--neutral-medium);
}

/* User Card */
.profile-user-card {
    text-align: center;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--neutral-border);
    margin-bottom: var(--space-6);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ffa500 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}

.profile-avatar i {
    font-size: 40px;
    color: var(--neutral-white);
}

.profile-user-name {
    font-size: 20px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-1);
}

.profile-user-phone {
    font-size: 14px;
    color: var(--neutral-medium);
}

/* Profile Navigation */
.profile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    color: var(--neutral-medium);
    text-decoration: none;
    font-size: 15px;
    font-weight: var(--font-semibold);
    transition: all var(--transition-base);
    border: none;
    background: transparent;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.profile-nav-item i {
    font-size: 20px;
}

.profile-nav-item:hover {
    background: var(--neutral-lightest);
    color: var(--neutral-dark);
}

.profile-nav-item.active {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    color: var(--primary-orange);
}

.profile-nav-item.logout-btn {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--neutral-border);
    color: var(--secondary-red);
}

.profile-nav-item.logout-btn:hover {
    background: rgba(211, 35, 33, 0.1);
}

/* ============================================
   PROFILE CONTENT
   ============================================ */

.profile-content {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    min-height: 600px;
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--neutral-border);
}

.section-title {
    font-size: 24px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
}

.section-subtitle {
    font-size: 14px;
    color: var(--neutral-medium);
    margin-top: var(--space-1);
}

/* ============================================
   PROFILE FORM
   ============================================ */

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

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-input:read-only {
    background: var(--neutral-lightest);
    cursor: not-allowed;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--neutral-medium);
    margin-top: var(--space-2);
}

.btn-save-profile {
    padding: var(--space-3) var(--space-6);
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.btn-save-profile:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   ADDRESSES SECTION
   ============================================ */

.btn-add-new {
    padding: var(--space-3) var(--space-5);
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.btn-add-new:hover {
    background: #000000;
    transform: translateY(-2px);
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

.address-type-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--primary-orange) !important;
    color: var(--neutral-white) !important;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.address-name {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.address-details {
    font-size: 14px;
    color: var(--neutral-medium);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.address-actions {
    display: flex;
    gap: var(--space-2);
}

.btn-address-action {
    flex: 1;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--neutral-border);
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-address-action:hover {
    background: var(--neutral-lightest);
}

.btn-address-action.delete {
    color: var(--secondary-red);
    border-color: var(--secondary-red);
}

.btn-address-action.delete:hover {
    background: rgba(211, 35, 33, 0.1);
}

/* ============================================
   ORDERS SECTION
   ============================================ */

.order-filters {
    display: flex;
    gap: var(--space-2);
}

.filter-btn {
    padding: var(--space-2) var(--space-4);
    background: transparent;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--neutral-medium);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    background: var(--neutral-lightest);
}

.filter-btn.active {
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border-color: var(--neutral-dark);
}

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

.order-card {
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: all var(--transition-base);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--neutral-border);
}

.order-number {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
}

.order-status {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

.order-status.pending {
    background: rgba(246, 157, 28, 0.1);
    color: var(--secondary-yellow);
}

.order-status.delivered {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.order-status.cancelled {
    background: rgba(211, 35, 33, 0.1);
    color: var(--secondary-red);
}

/* ============================================
   SETTINGS SECTION
   ============================================ */

.settings-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

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

.setting-item.danger {
    border-color: rgba(211, 35, 33, 0.3);
}

.setting-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.setting-info i {
    font-size: 24px;
    color: var(--primary-orange);
}

.setting-item.danger .setting-info i {
    color: var(--secondary-red);
}

.setting-info h4 {
    font-size: 16px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-1);
}

.setting-info p {
    font-size: 13px;
    color: var(--neutral-medium);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--neutral-border);
    transition: 0.4s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--primary-orange);
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.btn-setting-action {
    padding: var(--space-2) var(--space-5);
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-setting-action:hover {
    background: #000000;
}

.btn-setting-action.danger {
    background: var(--secondary-red);
}

.btn-setting-action.danger:hover {
    background: #b01f1d;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: var(--space-10) var(--space-6);
}

.empty-state i {
    font-size: 64px;
    color: var(--neutral-border);
    margin-bottom: var(--space-4);
}

.empty-state p {
    font-size: 16px;
    color: var(--neutral-medium);
    margin-bottom: var(--space-4);
}

.btn-empty-action {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: var(--font-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-empty-action:hover {
    background: #000000;
    transform: translateY(-2px);
}

/* ============================================
   ADDRESS MODAL
   ============================================ */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.address-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.address-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    height: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-6);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--neutral-border);
}

.modal-title {
    font-size: 20px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
}

.modal-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--neutral-lightest);
}

.modal-close i {
    font-size: 24px;
    color: var(--neutral-medium);
}

.modal-actions {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.btn-cancel {
    flex: 1;
    padding: var(--space-3);
    background: transparent;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-cancel:hover {
    background: var(--neutral-lightest);
}

.btn-save {
    flex: 1;
    padding: var(--space-3);
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.btn-save:hover {
    background: #000000;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    font-size: 14px;
    color: var(--neutral-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .profile-wrapper {
        grid-template-columns: 1fr;
    }

    /* Show mobile menu toggle */
    .profile-menu-toggle {
        display: flex;
    }

    /* Sidebar becomes a slide-in menu on mobile */
    .profile-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        z-index: 9999;
        overflow-y: auto;
        border-radius: 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-2xl);
    }

    .profile-sidebar.active {
        left: 0;
    }

    /* Show sidebar header on mobile */
    .sidebar-header {
        display: flex;
    }

    /* Add overlay when sidebar is open */
    body.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Prevent body scroll when sidebar is open */
    body.sidebar-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .profile-page {
        padding: var(--space-4) 0;
    }

    .profile-content {
        padding: var(--space-5);
    }

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    .order-filters {
        flex-wrap: wrap;
    }

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

    .profile-sidebar {
        width: 280px;
        max-width: 90%;
    }
}


/* ============================================
   ORDER DETAILS MODAL
   ============================================ */

.order-details-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-details-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.order-details-content {
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.order-details-wrapper {
    padding: var(--space-2);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: var(--space-10);
}

.loading-state i {
    font-size: 48px;
    color: var(--primary-orange);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-state p {
    margin-top: var(--space-4);
    color: var(--neutral-medium);
}

/* Order Details Header */
.order-details-header {
    background: linear-gradient(135deg, var(--neutral-lightest) 0%, #f8f8f8 100%);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-number-large {
    font-size: 24px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.order-date-time {
    font-size: 14px;
    color: var(--neutral-medium);
}

.order-status-badge {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

.order-status-badge.pending {
    background: rgba(246, 157, 28, 0.1);
    color: var(--secondary-yellow);
}

.order-status-badge.confirmed {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.order-status-badge.shipped {
    background: rgba(156, 39, 176, 0.1);
    color: #9C27B0;
}

.order-status-badge.delivered {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.order-status-badge.cancelled {
    background: rgba(211, 35, 33, 0.1);
    color: var(--secondary-red);
}

/* Order Timeline */
.order-timeline {
    background: var(--neutral-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-border);
    margin-bottom: var(--space-6);
}

.timeline-title {
    font-size: 18px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-5);
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    position: relative;
    padding-left: var(--space-2);
}

.timeline-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: calc(100% + var(--space-4));
    background: var(--neutral-border);
}

.timeline-step.completed::before {
    background: var(--primary-orange);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

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

.timeline-step.pending .timeline-icon {
    background: var(--neutral-lightest);
    color: var(--neutral-medium);
    border: 2px solid var(--neutral-border);
}

.timeline-step.cancelled .timeline-icon {
    background: var(--secondary-red);
    color: var(--neutral-white);
}

.timeline-icon i {
    font-size: 20px;
}

.timeline-content h6 {
    font-size: 15px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-1);
}

.timeline-content p {
    font-size: 13px;
    color: var(--neutral-medium);
}

/* Order Items Section */
.order-items-section {
    background: var(--neutral-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-border);
    margin-bottom: var(--space-6);
}

.section-title-small {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-4);
}

.order-items-list {
    overflow: visible !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    max-height: 250px;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.order-item-detail {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--neutral-lightest);
    border-radius: var(--radius-md);
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 15px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-1);
}

.item-price {
    font-size: 13px;
    color: var(--neutral-medium);
}

.item-total {
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
}

/* Order Info Grid */
.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.info-card {
    background: var(--neutral-white);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-border);
}

.info-card-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 16px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-4);
}

.info-card-title i {
    font-size: 20px;
    color: var(--primary-orange);
}

.info-card-content {
    font-size: 14px;
    line-height: 1.6;
}

.delivery-name {
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-1);
}

.delivery-phone {
    color: var(--neutral-medium);
    margin-bottom: var(--space-2);
}

.delivery-address {
    color: var(--neutral-medium);
}

.payment-method,
.payment-status {
    margin-bottom: var(--space-2);
}

.status-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

.status-badge.pending {
    background: rgba(246, 157, 28, 0.1);
    color: var(--secondary-yellow);
}

.status-badge.paid {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

/* Price Breakdown */
.price-breakdown {
    background: var(--neutral-lightest);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    font-size: 14px;
    color: var(--neutral-dark);
}

.price-row:not(:last-child) {
    border-bottom: 1px solid var(--neutral-border);
}

.price-row.total {
    font-size: 18px;
    font-weight: var(--font-bold);
    color: var(--primary-orange);
    padding-top: var(--space-4);
    border-top: 2px solid var(--neutral-border);
}

/* Order Notes */
.order-notes {
    background: rgba(255, 107, 0, 0.05);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-orange);
}

.order-notes p {
    font-size: 14px;
    color: var(--neutral-dark);
    line-height: 1.6;
}

/* Order Card Buttons */
.order-date {
    font-size: 13px;
    color: var(--neutral-medium);
    margin-top: var(--space-1);
}

.order-items {
    margin-bottom: var(--space-4);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    font-size: 14px;
    color: var(--neutral-medium);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-3);
    border-top: 1px solid var(--neutral-border);
}

.order-total {
    font-size: 18px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
}

.btn-view-order {
    padding: var(--space-2) var(--space-5);
    background: var(--neutral-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-view-order:hover {
    background: #000000;
    transform: translateY(-2px);
}

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

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

    .order-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    .timeline-steps {
        gap: var(--space-3);
    }

    .timeline-step:not(:last-child)::before {
        height: calc(100% + var(--space-3));
    }
}

/* ============================================
   ORDER DETAILS PAGE
   ============================================ */

.order-details-page {
    background: linear-gradient(135deg, #fef5f0 0%, #fff9f5 100%);
    min-height: 100vh;
    padding: var(--space-8) 0;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb-section {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    padding: var(--space-3) var(--space-4);
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--neutral-medium);
    text-decoration: none;
    font-size: 14px;
    font-weight: var(--font-medium);
    transition: all var(--transition-base);
}

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

.breadcrumb-separator {
    color: var(--neutral-border);
    font-size: 16px;
}

.breadcrumb-current {
    color: var(--neutral-dark);
    font-size: 14px;
    font-weight: var(--font-semibold);
}

/* ============================================
   PAGE HEADER
   ============================================ */

.order-page-header {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ffa500 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.2);
    position: relative;
    overflow: hidden;
}

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

.order-page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.order-page-title {
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    margin-bottom: var(--space-2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-page-subtitle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.order-page-subtitle i {
    font-size: 18px;
}

.order-status-badge {
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.order-status-badge.pending {
    background: var(--neutral-white);
    color: var(--secondary-yellow);
}

.order-status-badge.confirmed {
    background: var(--neutral-white);
    color: #2196F3;
}

.order-status-badge.shipped {
    background: var(--neutral-white);
    color: #9C27B0;
}

.order-status-badge.delivered {
    background: var(--neutral-white);
    color: #4CAF50;
}

.order-status-badge.cancelled {
    background: var(--neutral-white);
    color: var(--secondary-red);
}

/* ============================================
   GRID LAYOUT
   ============================================ */

.order-details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-6);
    align-items: start;
}

/* ============================================
   CARD STYLES
   ============================================ */

.order-timeline-card,
.order-items-card,
.summary-card,
.address-card,
.payment-card,
.notes-card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-6);
    transition: all var(--transition-base);
}

.order-timeline-card:hover,
.order-items-card:hover,
.summary-card:hover,
.address-card:hover,
.payment-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--neutral-lightest);
}

.card-header i {
    font-size: 24px;
    color: var(--primary-orange);
}

.card-title {
    font-size: 20px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
}

/* ============================================
   ORDER TIMELINE
   ============================================ */

.timeline-container {
    padding: var(--space-4) 0;
}

.timeline-track {
    position: relative;
}

.timeline-step {
    display: flex;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
    position: relative;
}

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

.timeline-marker {
    position: relative;
    flex-shrink: 0;
}

.marker-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.timeline-step.completed .marker-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ffa500 100%);
    color: var(--neutral-white);
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}

.timeline-step.pending .marker-icon {
    background: var(--neutral-lightest);
    color: var(--neutral-medium);
    border: 3px solid var(--neutral-border);
}

.timeline-step.cancelled .marker-icon {
    background: linear-gradient(135deg, var(--secondary-red) 0%, #b01f1d 100%);
    color: var(--neutral-white);
    box-shadow: 0 4px 16px rgba(211, 35, 33, 0.3);
}

.timeline-step.skipped .marker-icon {
    background: var(--neutral-lightest);
    color: var(--neutral-border);
    border: 3px dashed var(--neutral-border);
}

.marker-icon i {
    font-size: 26px;
}

.marker-line {
    position: absolute;
    left: 50%;
    top: 56px;
    transform: translateX(-50%);
    width: 3px;
    height: 60px;
    background: var(--neutral-border);
}

.timeline-step.completed .marker-line {
    background: linear-gradient(180deg, var(--primary-orange) 0%, rgba(255, 107, 0, 0.3) 100%);
}

.timeline-step:last-child .marker-line {
    display: none;
}

.timeline-details {
    flex: 1;
    padding-top: var(--space-2);
}

.timeline-title {
    font-size: 18px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

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

.timeline-time {
    font-size: 14px;
    color: var(--neutral-medium);
    margin-bottom: var(--space-1);
    font-weight: var(--font-semibold);
}

.timeline-desc {
    font-size: 13px;
    color: var(--neutral-medium);
    line-height: 1.5;
}

/* ============================================
   ORDER ITEMS
   ============================================ */

.items-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.item-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: linear-gradient(135deg, #fef5f0 0%, #fff9f5 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: all var(--transition-base);
}

.item-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
    transform: translateX(4px);
}

.item-image-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

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

.item-details {
    flex: 1;
}

.item-name {
    font-size: 16px;
    font-weight: var(--font-semibold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
    line-height: 1.4;
}

.item-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
}

.item-price {
    color: var(--neutral-medium);
    font-weight: var(--font-medium);
}

.item-separator {
    color: var(--neutral-border);
}

.item-quantity {
    color: var(--neutral-medium);
    font-weight: var(--font-semibold);
}

.item-total {
    text-align: right;
}

.total-label {
    display: block;
    font-size: 12px;
    color: var(--neutral-medium);
    margin-bottom: var(--space-1);
}

.total-amount {
    display: block;
    font-size: 18px;
    font-weight: var(--font-bold);
    color: var(--primary-orange);
}

/* ============================================
   PRICE SUMMARY
   ============================================ */

.summary-content {
    padding: var(--space-2) 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    font-size: 15px;
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--neutral-lightest);
}

.summary-label {
    color: var(--neutral-medium);
    font-weight: var(--font-medium);
}

.summary-value {
    color: var(--neutral-dark);
    font-weight: var(--font-semibold);
}

.summary-value.free {
    color: #4CAF50;
    font-weight: var(--font-bold);
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--neutral-border) 50%, transparent 100%);
    margin: var(--space-2) 0;
}

.summary-row.total {
    padding-top: var(--space-4);
    font-size: 18px;
}

.summary-row.total .summary-label {
    color: var(--neutral-dark);
    font-weight: var(--font-bold);
}

.summary-row.total .summary-value {
    color: var(--primary-orange);
    font-size: 22px;
    font-weight: var(--font-bold);
}

/* ============================================
   DELIVERY ADDRESS
   ============================================ */

.address-content {
    padding: var(--space-2) 0;
}

.address-type-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ffa500 100%);
    color: var(--neutral-white);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-4);
}

.address-name {
    font-size: 18px;
    font-weight: var(--font-bold);
    color: var(--neutral-dark);
    margin-bottom: var(--space-2);
}

.address-phone {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 15px;
    color: var(--neutral-medium);
    margin-bottom: var(--space-3);
}

.address-phone i {
    color: var(--primary-orange);
}

.address-text {
    font-size: 14px;
    color: var(--neutral-medium);
    line-height: 1.7;
}

/* ============================================
   PAYMENT DETAILS
   ============================================ */

.payment-content {
    padding: var(--space-2) 0;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
}

.payment-row:not(:last-child) {
    border-bottom: 1px solid var(--neutral-lightest);
}

.payment-label {
    font-size: 14px;
    color: var(--neutral-medium);
    font-weight: var(--font-medium);
}

.payment-value {
    font-size: 15px;
    color: var(--neutral-dark);
    font-weight: var(--font-semibold);
}

.payment-status-badge {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

.payment-status-badge.pending {
    background: rgba(246, 157, 28, 0.1);
    color: var(--secondary-yellow);
}

.payment-status-badge.paid {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

/* ============================================
   ORDER NOTES
   ============================================ */

.notes-content {
    padding: var(--space-4);
    background: rgba(255, 107, 0, 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-orange);
}

.notes-content p {
    font-size: 14px;
    color: var(--neutral-dark);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   ACTION BUTTONS
   ============================================ */

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.btn-back,
.btn-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-back {
    background: var(--neutral-dark);
    color: var(--neutral-white);
}

.btn-back:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-help {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ffa500 100%);
    color: var(--neutral-white);
}

.btn-help:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
}

.btn-back i,
.btn-help i {
    font-size: 18px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .order-details-grid {
        grid-template-columns: 1fr;
    }

    .order-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .order-details-page {
        padding: var(--space-4) 0;
    }

    .order-page-header {
        padding: var(--space-6);
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .order-page-title {
        font-size: 24px;
    }

    .order-page-subtitle {
        font-size: 14px;
    }

    .order-timeline-card,
    .order-items-card,
    .summary-card,
    .address-card,
    .payment-card,
    .notes-card {
        padding: var(--space-5);
    }

    .card-title {
        font-size: 18px;
    }

    .timeline-step {
        gap: var(--space-3);
    }

    .marker-icon {
        width: 48px;
        height: 48px;
    }

    .marker-icon i {
        font-size: 22px;
    }

    .marker-line {
        top: 48px;
        height: 50px;
    }

    .timeline-title {
        font-size: 16px;
    }

    .item-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-image-wrapper {
        width: 100%;
        height: 200px;
    }

    .item-total {
        width: 100%;
        text-align: left;
        padding-top: var(--space-3);
        border-top: 1px solid rgba(255, 107, 0, 0.1);
    }

    .breadcrumb-section {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .order-page-title {
        font-size: 20px;
    }

    .summary-row.total .summary-value {
        font-size: 20px;
    }

    .marker-icon {
        width: 40px;
        height: 40px;
    }

    .marker-icon i {
        font-size: 18px;
    }

    .timeline-title {
        font-size: 15px;
    }

    .timeline-time {
        font-size: 13px;
    }
}

/* Custom Variant Dropdown - Enhanced Design */
/* Colors based on Rajbandhu Theme */
:root {
    --variant-bg-color: #fff9f0;
    /* Cream background */
    --variant-text-color: #0f172a;
}

.custom-variant-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    z-index: 50 !important;
}

.custom-variant-container.active-dropdown {
    z-index: 1001 !important;
}

/* Ensure parent containers allow dropdown to overflow - EXCEPT scroll containers */
.products-grid-6,
.collection-products-grid,
.new-arrivals-grid,
.section,
.container {
    overflow: visible !important;
}

.variant-display.active {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    margin-bottom: 0;
}

.variant-display .variant-selected-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 8px;
    color: #0f172a;
}

.variant-display .arrow-icon {
    color: var(--primary-brown);
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.variant-display.active .arrow-icon {
    transform: rotate(180deg);
}

/* The Dropdown List (Open) */
.variant-dropdown-list {
    position: absolute;
    top: calc(100% + 4px);
    /* Slightly below display */
    left: 0;
    width: 100%;
    background: transparent;
    /* Transparent container */
    border: none;
    box-shadow: none;
    z-index: 100;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    padding: 0 1px;
    /* Avoid scrollbar cutting border */
}

.variant-dropdown-list.show {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Gap between cards */
    animation: slideDown 0.2s ease-out;
}

/* Option Items as Cards */
/* Option Items as Cards */
.variant-option-item {
    padding: 8px 12px;
    cursor: pointer;
    border: 1px solid #d4a574;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    margin-bottom: 0;
}

.variant-option-item:hover {
    border-color: var(--primary-brown);
    background-color: #fff9f0;
}

.variant-option-item.selected {
    border: 1px solid #FFAB40;
    background-color: #FFF9F3;
    box-shadow: 0 2px 4px rgba(255, 171, 64, 0.1);
}

/* Top Row: Name + Radio */
.option-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.option-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.option-text {
    font-size: 14px;
    color: var(--neutral-dark);
    font-weight: var(--font-semibold);
}

.option-stock-badge {
    font-size: 10px;
    font-weight: var(--font-bold);
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.option-stock-badge.in-stock {
    background: #DCFCE7;
    color: #166534;
}

.option-stock-badge.out-of-stock {
    background: #FEE2E2;
    color: #991B1B;
}

.option-radio {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
    background: #fff;
}

.variant-option-item:hover .option-radio {
    border-color: #ff8c00;
}

.variant-option-item.selected .option-radio {
    border-color: #FFAB40;
    background-color: #fff;
}

.variant-option-item.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-48%, -54%);
    width: 8px;
    height: 8px;
    background: #FFAB40;
    border-radius: 50%;
}

/* Bottom Row: Discount + Prices */
.option-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 13px;
}

/* Text Only Discount (No Pill) */
.option-discount {
    color: #16a34a;
    /* Green */
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.option-price-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Price Styles */
.option-price-current {
    color: var(--primary-brown);
    font-weight: 700;
    font-size: 14px;
}

.option-price-original {
    color: #64748b;
    text-decoration: line-through;
    font-size: 14px;
}

.spacer {
    display: inline-block;
    width: 1px;
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

/* Scrollbar styling */
.variant-dropdown-list::-webkit-scrollbar {
    width: 4px;
}

.variant-dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}

.variant-dropdown-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

/* Responsive Overrides */
@media (max-width: 480px) {
    .variant-display {
        padding: 8px 12px;
        font-size: 13px;
    }

    .option-text {
        font-size: 13px;
    }

    /* Mobile: Show 2 cards in popular section */
    .popular-card {
        min-width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
    }

    .most-popular-scroll {
        display: flex;
        gap: 16px;
        padding: 0;
        scroll-snap-type: x mandatory;
    }

    .popular-card {
        scroll-snap-align: start;
    }
}

@media (min-width: 481px) and (max-width: 768px) {

    /* Tablet: Show 3 cards */
    .popular-card {
        min-width: calc(33.333% - 12px) !important;
        flex: 0 0 calc(33.333% - 12px) !important;
    }
}

/* Best Sellers Grid Responsive Layout */

/* Best Sellers Scroll Wrapper */
.best-sellers-scroll-wrapper {
    position: relative;
    overflow: visible;
}

/* Desktop: Show 5 columns (10 products in 2 rows) */
.products-grid-6 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Tablet: Show 3 columns */
@media (min-width: 481px) and (max-width: 768px) {
    .products-grid-6 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Mobile: Show 2 cards per slide with horizontal scroll */
@media (max-width: 768px) {
    .products-grid-6 {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding-bottom: 15px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch !important;
    }

    .products-grid-6::-webkit-scrollbar {
        display: none;
    }

    .products-grid-6 .product-card {
        flex: 0 0 calc(50% - 6px) !important;
        scroll-snap-align: start !important;
    }
}

@media (max-width: 480px) {
    .products-grid-6 {
        gap: 8px !important;
    }

    .products-grid-6 .product-card {
        flex: 0 0 calc(50% - 4px) !important;
    }
}

/* Featured Section Responsive Layout */
/* Mobile: Price Drop full width, other cards 2 per row */
@media (max-width: 480px) {
    .featured-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Price Drop card takes full width */
    .featured-grid .price-drop-card {
        grid-column: 1 / -1;
    }

    /* Other featured cards take half width (2 per row) */
    .featured-grid .featured-product-card {
        grid-column: span 1;
    }
}

/* Tablet: Featured Section */
@media (min-width: 481px) and (max-width: 768px) {
    .featured-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .featured-grid .price-drop-card {
        grid-column: span 1;
    }
}

/* Desktop: Featured Section */
@media (min-width: 769px) {
    .featured-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
}

/* New Arrivals Section Responsive Layout */
/* Desktop: Show grid layout */
.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Tablet: New Arrivals - Show 3 columns */
@media (min-width: 481px) and (max-width: 768px) {
    .new-arrivals-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Mobile: New Arrivals - Show 2 cards per slide */
@media (max-width: 768px) {
    .new-arrivals-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding-bottom: 15px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch !important;
    }

    .new-arrivals-grid::-webkit-scrollbar {
        display: none;
    }

    .new-arrivals-grid .product-card {
        flex: 0 0 calc(50% - 6px) !important;
        scroll-snap-align: start !important;
    }
}

@media (max-width: 480px) {
    .new-arrivals-grid {
        gap: 8px !important;
    }

    .new-arrivals-grid .product-card {
        flex: 0 0 calc(50% - 4px) !important;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE - REDESIGNED
   ============================================ */
.product-detail-page-redesign {
    padding: 40px 0;
    background: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Left Column - Images */
.product-images-column {
    display: flex;
    gap: 20px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: var(--primary-brown);
    transform: scale(1.05);
}

.product-main-image {
    flex: 1;
    position: relative;
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.image-nav-btn:hover {
    background: var(--primary-brown);
    color: white;
}

.image-nav-btn.prev-btn {
    left: 20px;
}

.image-nav-btn.next-btn {
    right: 20px;
}

/* Right Column - Product Info */
.product-info-column {
    padding: 20px 0;
}

.product-title-new {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-tags-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.product-tag-new {
    background: #fff9f0;
    border: 1px solid var(--primary-brown);
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-brown);
    text-align: center;
}

.product-pricing-new {
    margin-bottom: 12px;
}

.price-row-new {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-label-new {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.price-old-new {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-current-new {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-red);
}

.price-save-new {
    background: var(--secondary-red);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.product-size-new {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.product-rating-new {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rating-badge-new {
    background: var(--primary-brown);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-reviews-new {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-reviews-new i {
    color: #16a34a;
}

.tax-note-new {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

.pack-size-section-new {
    margin-bottom: 24px;
}

.pack-title-new {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.pack-options-new {
    display: flex;
    gap: 12px;
}

.pack-option-new {
    position: relative;
}

.pack-option-new input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.pack-option-new label {
    display: block;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pack-option-new input[type="radio"]:checked+label,
.pack-option-new.active label {
    background: #111827;
    border-color: #111827;
    color: white;
}

.btn-add-to-cart-new {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-dark) 100%);
    color: var(--neutral-white);
    border: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    cursor: pointer;
    margin-bottom: 24px;
}

.btn-add-to-cart-new:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.active-offers-new {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.active-offers-new h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.active-offers-new p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.social-share-new {
    display: flex;
    gap: 12px;
}

.share-btn-new {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.share-btn-new:hover {
    background: var(--primary-brown);
    color: white;
    border-color: var(--primary-brown);
}

/* Product Tabs */
.product-tabs-section-new {
    margin-top: 60px;
}

.tabs-header-new {
    display: flex;
    gap: 24px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
}

.tab-btn-new {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn-new.active {
    color: var(--primary-brown);
}

.tab-btn-new.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-brown);
}

.tab-content-new {
    display: none;
}

.tab-content-new.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-images-column {
        flex-direction: column-reverse;
    }

    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }

    .product-tags-new {
        grid-template-columns: 1fr;
    }

    .pack-options-new {
        flex-direction: column;
    }
}

/* Product Action Buttons Container */
.product-action-buttons-new {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-add-to-cart-new {
    flex: 1;
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-dark) 100%);
    color: var(--neutral-white);
    border: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-add-to-cart-new:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-buy-now-new {
    flex: 1;
    background: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-buy-now-new:hover {
    background: var(--primary-brown);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Product Detail Page - New Design */
.product-detail-page-new {
    padding: 40px 0;
    background: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Left Column - Images */
.product-images-column {
    display: flex;
    gap: 20px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: var(--primary-brown);
    transform: scale(1.05);
}

.product-main-image {
    flex: 1;
    position: relative;
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.image-nav-btn:hover {
    background: var(--primary-brown);
    color: white;
}

.image-nav-btn.prev-btn {
    left: 20px;
}

.image-nav-btn.next-btn {
    right: 20px;
}

.image-zoom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    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;
}

/* Right Column - Product Info */
.product-info-column {
    padding: 20px 0;
}

.product-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.product-tag {
    background: #fff9f0;
    border: 1px solid #ff8c00;
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-brown);
    text-align: center;
}

.product-pricing {
    margin-bottom: 12px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.price-old {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-red);
}

.price-save {
    background: var(--secondary-red);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.product-size {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rating-reviews {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-reviews i {
    color: #16a34a;
}

.tax-note {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

.pack-size-section {
    margin-bottom: 24px;
}

.pack-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.pack-options {
    display: flex;
    gap: 12px;
}

.pack-option {
    position: relative;
}

.pack-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.pack-option label {
    display: block;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pack-option input[type="radio"]:checked+label,
.pack-option.active label {
    background: #111827;
    border-color: #111827;
    color: white;
}

.btn-add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

.active-offers {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.active-offers h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.active-offers p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.social-share {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.share-btn:hover {
    background: var(--primary-brown);
    color: white;
    border-color: var(--primary-brown);
}

/* Product Tabs */
.product-tabs-section {
    margin-top: 60px;
}

.tabs-header {
    display: flex;
    gap: 24px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-brown);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-brown);
}

.tab-content {
    display: none;
}

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

/* Checkout sticky fix to prevent overlap with header */
.checkout-page-section .sticky-top {
    z-index: 999;
    /* Lower than header (1020/1030) */
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-images-column {
        flex-direction: column-reverse;
    }

    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }

    .product-tags {
        grid-template-columns: 1fr;
    }

    .pack-options {
        flex-direction: column;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE - 2026 REDESIGN
   ============================================ */

.pd-redesign-container {
    padding: 40px 0;
    max-width: var(--container-max-width);
    margin: 0 auto;
    background: #fff;
}

.pd-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.pd-media-column {
    flex: 0 0 55%;
    display: flex;
    gap: 20px;
}

.pd-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px;
}

.pd-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.pd-thumbnail:hover,
.pd-thumbnail.active {
    border-color: #ff8c00;
}

.pd-main-image-container {
    flex: 1;
    position: relative;
    border-radius: 12px;
    /* overflow: visible; */
    background: #f8f8f8;
}

.pd-main-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.pd-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.pd-image-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 5;
    border: 1px solid #eee;
    color: #333;
    font-size: 20px;
}

.pd-arrow-prev {
    left: 10px;
}

.pd-arrow-next {
    right: 10px;
}

.pd-expand-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 5;
    color: #333;
}

.pd-content-column {
    flex: 1;
}

.pd-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}


.pd-price-section {
    margin-bottom: 20px;
}

.pd-mrp-label {
    font-size: 18px;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 10px;
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pd-old-price {
    font-size: 20px;
    color: #777;
    text-decoration: line-through;
}

.pd-current-price {
    font-size: 28px;
    font-weight: 700;
    color: #e5194a;
}

/* .pd-save-badge {
    padding: 4px 10px;
    background: #e5194a;
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
} */

.pd-weight-info {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.pd-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.pd-rating-badge {
    background: #11a34a;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.pd-tax-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}





.pd-add-to-cart-btn {
    width: 100%;
    max-width: 300px;
    padding: 16px;
    background: #ffa500;
    background: linear-gradient(to right, #fba819, #f69d1c);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.pd-add-to-cart-btn:hover {
    transform: translateY(-2px);
}

.pd-type-info {
    font-size: 15px;
    color: #444;
    margin-bottom: 25px;
    font-weight: 500;
}

.pd-social-share {
    display: flex;
    gap: 20px;
    font-size: 22px;
    color: #333;
}

.pd-social-share a {
    color: inherit;
    transition: color 0.3s ease;
}

.pd-social-share a:hover {
    color: #f69d1c;
}


@media (max-width: 992px) {
    .pd-layout {
        flex-direction: column;
    }

    .pd-media-column {
        flex: 1;
        width: 100%;
    }

    .pd-thumbnails {
        width: 70px;
    }

    .pd-thumbnail {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .pd-media-column {
        flex-direction: column-reverse;
    }

    .pd-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .pd-thumbnail {
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
    }

    .pd-add-to-cart-btn {
        max-width: 100%;
    }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    background: #1f2937;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid;
    color: white;
}

.toast.success {
    background: var(--success-green);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.toast.error {
    background: var(--error-red);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.toast.warning {
    background: var(--warning-yellow);
    border-left-color: rgba(255, 255, 255, 0.3);
    color: #1f2937;
}

.toast.info {
    background: var(--info-blue);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast.success .toast-icon,
.toast.error .toast-icon,
.toast.info .toast-icon {
    color: white;
}

.toast.warning .toast-icon {
    color: #1f2937;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    color: inherit;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 14px;
    color: inherit;
    margin: 0;
}

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

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOutRight 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    .toast-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }

    .toast {
        min-width: auto;
    }
}

/* ============================================
   CART PAGE STYLES
   ============================================ */
:root {
    --cart-bg: #fcfcfc;
    --card-border: #f1f1f1;
    --text-main: #2D3436;
    --text-muted: #636E72;
}

.cart-page-wrapper {
    background: var(--cart-bg);
    padding: 60px 0 100px;
}

/* Breadcrumb */
.cart-breadcrumb-wrapper {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-breadcrumb-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.cart-breadcrumb-item:hover {
    color: var(--secondary-red);
}

.cart-breadcrumb-item.active {
    color: var(--text-main);
    font-weight: 600;
}

.cart-breadcrumb .separator {
    color: #ddd;
}

/* Header */
.cart-header {
    /* margin-bottom: 40px; */
    text-align: center;
}

.cart-page-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-brown);
    margin-bottom: 10px;
}

.cart-page-title span {
    color: var(--secondary-red);
}

.cart-subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

/* Grid Layout */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Cart Items */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cart-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.item-visual .item-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    background: #fdfdfd;
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.item-name:hover {
    color: var(--secondary-red);
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-variant-badge {
    background: #FFF9F1;
    color: #A67341;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-price-each {
    color: var(--text-muted);
    font-size: 14px;
}

.item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

/* Quantity Selector */
.premium-quantity-selector {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 4px;
    border: 1px solid #eee;
}

.qty-control {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #fff;
    color: var(--text-main);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-control:hover {
    background: var(--secondary-red);
    color: #fff;
}

.qty-val {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 16px;
}

.item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.total-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #B2BEC3;
    font-weight: 700;
    letter-spacing: 1px;
}

.total-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-red);
}

.item-remove-link {
    background: #FFEDED;
    color: #EB5757;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
    cursor: pointer;
}

.item-remove-link:hover {
    background: #EB5757;
    color: #fff;
    transform: rotate(10deg);
}

/* Summary Card */
.summary-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 25px;
    padding: 30px;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.summary-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f9f9f9;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-muted);
}

.summary-row .value {
    font-weight: 600;
    color: var(--text-main);
}

.total-row {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #f0f0f0;
}

.total-row .label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.total-row .value {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary-red);
}

.coupon-box {
    margin: 25px 0;
}

.coupon-input-wrapper {
    display: flex;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 6px;
}

.coupon-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
}

.coupon-input-wrapper button {
    background: var(--primary-brown);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.coupon-input-wrapper button:hover {
    background: #000;
}

/* Buttons */
.btn-checkout-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--secondary-red) 0%, #d41444 100%);
    color: #fff;
    padding: 18px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(229, 25, 74, 0.25);
    transition: all 0.3s;
    margin-bottom: 15px;
    width: 100%;
    border: none;
    cursor: pointer;
    outline: none;
}

.btn-checkout-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(229, 25, 74, 0.35);
    color: #fff;
}

.btn-checkout-premium:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-shopping-muted {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-shopping-muted:hover {
    color: var(--secondary-red);
}

.trust-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 12px;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.trust-pill i {
    color: #27ae60;
    font-size: 18px;
}

/* Empty State */
.cart-empty-premium {
    text-align: center;
    padding: 80px 0;
}

.empty-icon-box {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.empty-icon-box i {
    font-size: 100px;
    color: var(--secondary-red);
    position: relative;
    z-index: 2;
}

.icon-blob {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(229, 25, 74, 0.05);
    border-radius: 50% 30% 70% 30% / 30% 60% 40% 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: blobAnim 10s infinite;
}

@keyframes blobAnim {

    0%,
    100% {
        border-radius: 50% 30% 70% 30% / 30% 60% 40% 70%;
    }

    50% {
        border-radius: 30% 60% 40% 70% / 50% 30% 70% 30%;
    }
}

.cart-empty-premium h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-brown);
}

.cart-empty-premium p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 15px auto 30px;
}

.btn-browse-products {
    display: inline-block;
    background: var(--primary-brown);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-browse-products:hover {
    background: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1100px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .cart-item-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .item-visual .item-img {
        width: 100%;
        height: 200px;
    }

    .item-controls {
        flex-direction: column;
        gap: 20px;
    }

    .item-total {
        align-items: center;
    }
}

/* ============================================
   PREMIUM CHECKOUT MODAL STYLES
   ============================================ */

.checkout-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 12, 5, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 95%;
    max-width: 500px;
    background: var(--neutral-white);
    border-radius: 30px;
    box-shadow: 0 30px 60px -12px rgba(98, 40, 28, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.checkout-logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.checkout-logo-container img {
    max-height: 55px;
    width: auto;
}

.checkout-security-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--neutral-border);
    text-align: center;
}

.security-text {
    font-size: 11px;
    color: var(--neutral-medium);
    line-height: 1.5;
    margin-bottom: 0;
}

.security-text a {
    color: var(--primary-brown);
    text-decoration: underline;
    font-weight: 600;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-modal-content {
    max-height: 85vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Scrollbar Style */
.checkout-modal-content::-webkit-scrollbar {
    width: 6px;
}

.checkout-modal-content::-webkit-scrollbar-thumb {
    background: var(--neutral-border);
    border-radius: 10px;
}

.checkout-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--neutral-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-brown);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.checkout-close-btn:hover {
    background: var(--secondary-red);
    color: var(--neutral-white);
    transform: rotate(90deg);
}

/* Step Header Decoration */
.checkout-step-header {
    padding: 30px 40px 10px;
    text-align: center;
}

.checkout-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-brown);
    margin-bottom: 8px;
}

.checkout-subtitle {
    color: var(--neutral-medium);
    font-size: 15px;
}

/* Checkout Item Design */
.checkout-items-container {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ck-item-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--neutral-lightest);
    border-radius: 18px;
    transition: all 0.3s;
}

.ck-item-card:hover {
    border-color: var(--secondary-red);
    transform: translateX(5px);
}

.ck-item-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 12px;
}

.ck-item-info {
    flex: 1;
}

.ck-item-name {
    font-weight: 700;
    color: var(--primary-brown);
    font-size: 15px;
}

.ck-item-meta {
    font-size: 13px;
    color: var(--neutral-medium);
}

.ck-item-price {
    font-weight: 800;
    color: var(--secondary-red);
    font-size: 16px;
}

/* Summary Grid */
.checkout-summary {
    margin: 20px 40px;
    background: var(--neutral-lightest);
    padding: 24px;
    border-radius: 20px;
}

.ck-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--neutral-gray);
}

.ck-summary-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed var(--neutral-border);
    font-weight: 800;
    color: var(--primary-brown);
    font-size: 18px;
}

.ck-summary-row.total .price {
    color: var(--secondary-red);
    font-size: 24px;
}

/* Themed Login Section */
.login-step-themed {
    background: #fff;
}

.checkout-auth-container {
    padding: 40px;
}

.themed-input-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-brown);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.input-with-icon {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.input-with-icon:focus-within {
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 4px rgba(98, 40, 28, 0.1);
}

.input-with-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
    color: #64748b;
    font-size: 18px;
    transition: all 0.3s ease;
}

.input-with-icon:focus-within i {
    background: #fff;
    color: var(--primary-brown);
    border-right-color: var(--primary-brown);
}

.input-prefix {
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
    font-weight: 700;
    color: var(--primary-brown);
    font-size: 14px;
}

.themed-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 16px !important;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
}

.themed-input:disabled,
.themed-input[readonly] {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

.input-with-icon:has(input:disabled),
.input-with-icon:has(input[readonly]) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.input-with-icon:has(input:disabled) i,
.input-with-icon:has(input[readonly]) i {
    background: #e2e8f0;
    color: #94a3b8;
}

.themed-input::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

.btn-checkout-submit,
.btn-checkout-next,
.btn-place-order {
    background: linear-gradient(135deg, var(--secondary-red) 0%, #d41444 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(229, 25, 74, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-checkout-submit:hover,
.btn-checkout-next:hover,
.btn-place-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(229, 25, 74, 0.35);
    opacity: 0.95;
}

.btn-checkout-submit:active,
.btn-checkout-next:active,
.btn-place-order:active {
    transform: translateY(-1px) scale(0.98);
}

/* OTP Specifics */
.themed-otp-message {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.otp-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.otp-phone-display {
    color: var(--primary-brown);
    font-size: 18px;
    margin: 10px 0;
}

.themed-otp-input {
    text-align: center;
    font-size: 30px;
    letter-spacing: 12px;
    border: 2px solid var(--neutral-border);
    border-radius: 15px;
    padding: 12px;
    width: 100%;
    border-style: dashed;
}

.themed-otp-input:focus {
    border-color: var(--secondary-red);
    border-style: solid;
}

/* Address Cards */
.saved-addresses-container {
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.ck-address-card {
    border: 2px solid var(--neutral-lightest);
    padding: 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: #fff;
}

.ck-address-card.active {
    border-color: var(--secondary-red);
    background: rgba(229, 15, 74, 0.05);
}

.ck-address-card.active::after {
    content: '\eb7b';
    font-family: 'remixicon';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: var(--secondary-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ck-addr-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ck-addr-type {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    background: var(--neutral-lightest);
    color: var(--neutral-gray);
}

.ck-addr-card.active .ck-addr-type {
    background: var(--secondary-red);
    color: #fff;
}

.ck-addr-name {
    font-weight: 700;
    color: var(--primary-brown);
}

.ck-addr-details {
    font-size: 13px;
    color: var(--neutral-gray);
    line-height: 1.6;
}

/* Payment Options */
.payment-options {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ck-payment-card {
    border: 2px solid var(--neutral-lightest);
    padding: 18px 24px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    background: #fff;
}

.ck-payment-card:hover {
    border-color: var(--secondary-red);
    background: #fdfdfd;
}

.ck-payment-card.active {
    border-color: var(--secondary-red);
    background: rgba(229, 15, 74, 0.05);
}

.ck-pay-icon {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-brown);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ck-payment-card.active .ck-pay-icon {
    background: var(--secondary-red);
    color: #fff;
}

.ck-pay-info {
    flex: 1;
}

.ck-pay-title {
    font-weight: 700;
    color: var(--primary-brown);
    font-size: 16px;
    margin: 0;
}

.ck-pay-desc {
    font-size: 12px;
    color: var(--neutral-medium);
    margin: 0;
}

/* Success celebrate */
.checkout-success {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
}

.success-animation {
    width: 100px;
    height: 100px;
    background: var(--success-green);
    color: #fff;
    font-size: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.3);
}

/* ============================================
   MODAL BACKDROP DESIGN
   ============================================ */
.modal-backdrop {
    background-color: rgba(45, 12, 5, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    --bs-backdrop-opacity: 1 !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1040 !important;
}

.modal-backdrop.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.modal {
    z-index: 1050 !important;
}

.modal-content {
    border: none;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5) !important;
}

#loginModal .modal-content {
    background-color: #fff;
}

.pd-redesign-container {
    padding-top: 30px;
    padding-bottom: 60px;
}

.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.pd-media-column {
    position: sticky;
    top: 100px;
    display: flex;
    gap: 20px;
    height: fit-content;
    z-index: 10;
}

.pd-content-column {
    min-height: 100%;
}

@media (max-width: 991px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pd-media-column {
        position: relative;
        top: 0;
        flex-direction: column-reverse;
    }
}


.pd-tags-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
    max-width: 450px;
}

.pd-tag {
    background: #FFF9F1;
    color: #62281C;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffd8a8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.pd-thumbnail,
.pd-main-image {
    max-width: 100%;
    height: auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
    padding: 20px 0;
}

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

.tab-inner-content {
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}

/* Offers Section */
.pd-offers-section {
    background: #fdfaea;
    border: 1px dashed #fbd38d;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.offers-title {
    font-size: 14px;
    font-weight: 700;
    color: #d69e2e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-item {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.offer-icon {
    color: #38a169;
    font-size: 16px;
}

.offer-item p {
    font-size: 13px;
    color: #4a5568;
    margin: 0;
    line-height: 1.4;
}

/* FAQ Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.pd-price-section {
    margin-bottom: 20px;
}

.pd-mrp-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* Pack Selection Styles */
.pd-packs-section {
    margin: 25px 0;
}

.pd-packs-label {
    font-size: 14px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.pd-pack-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-pack-option {
    padding: 8px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    text-align: center;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: unset;
}

.pd-pack-option.active {
    background: #000;
    border-color: #000;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pack-name {
    font-weight: 600;
    font-size: 14px;
    color: inherit;
}

.pd-pack-option.active .pack-name {
    color: #fff;
}


.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pd-current-price {
    font-size: 28px;
    font-weight: 800;
    color: #111;
}

.pd-old-price {
    font-size: 18px;
    color: #888;
    text-decoration: line-through;
}

.pd-save-badge {
    background: #e5194a;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    opacity: 1;
}

/* Pack Size Section */
.pd-packs-section {
    margin-bottom: 30px;
}



.pack-name {
    font-weight: 600;
}

.pack-save-chip {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}

/* Offers Section */
.pd-offers-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.offers-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offers-title i {
    color: #f69d1c;
    font-size: 18px;
}

.offer-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

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

.offer-icon {
    color: #16a34a;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.offer-item p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.offer-item b {
    color: #111827;
    font-weight: 700;
}

/* Type Info */
.pd-type-info {
    font-size: 15px;
    color: #444;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Social Share */
.pd-social-share {
    display: flex;
    gap: 20px;
    font-size: 22px;
    color: #333;
}

.pd-social-share a {
    color: inherit;
    transition: color 0.3s ease;
}

.pd-social-share a:hover {
    color: #f69d1c;
}


.pd-actions-row {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
}

.buy-now-btn {
    width: 100%;
    border: none;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
    cursor: pointer;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.buy-now-btn {
    background: #000;
    color: var(--neutral-white);
}

.buy-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.buy-now-btn i {
    font-size: 20px;
}

/* Premium Accordion Styles */
.pd-accordion {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pd-accordion-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.pd-accordion-item:hover {
    border-color: var(--secondary-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pd-accordion-item.active {
    border-color: var(--secondary-red);
    box-shadow: 0 10px 30px rgba(229, 25, 74, 0.08);
}

.pd-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    background: var(--primary-brown);
    color: #fff;
}

.pd-accordion-item.active .pd-accordion-header {
    color: #fff;
    background: var(--primary-brown);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-accordion-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 25, 25, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-accordion-item.active .pd-accordion-icon {
    background: var(--secondary-red);
    color: #fff;
    transform: rotate(135deg);
}

.pd-accordion-header .pd-accordion-icon {
    background: rgba(255, 255, 255, 0.2);
}

.pd-accordion-item.active .pd-accordion-header .pd-accordion-icon {
    background: var(--secondary-red);
}

.pd-accordion-content {
    display: none;
    padding: 0 24px 24px;
    background: #fff;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    animation: accordionSlideIn 0.4s ease-out;
}

.pd-accordion-item.active .pd-accordion-content {
    display: block;
}

.tab-inner-content {
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

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

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

/* FAQ specific styling inside accordion */
.faq-item {
    margin-bottom: 25px;
}

.faq-question {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.faq-answer {
    color: #666;
    margin-bottom: 0;
}

/* Dynamic Customer Reviews Styles */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-item-display {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.review-item-display:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.review-header {
    margin-bottom: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 5px 0;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-rating i {
    font-size: 16px;
    color: #fbbf24;
}

.review-rating .ri-star-fill {
    color: #f59e0b;
}

.review-rating .ri-star-line {
    color: #d1d5db;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-left: 5px;
}

.review-comment {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

/* Review Summary Header */
.review-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.review-summary-left .overall-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.overall-rating i {
    font-size: 20px;
    color: #f59e0b;
}

.overall-rating .ri-star-line {
    color: #d1d5db;
}

.rating-text {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-left: 5px;
}

.review-count {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.btn-write-review {
    background: #0d9488;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-write-review:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-write-review i {
    font-size: 18px;
}

/* Write Review Form */
.write-review-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.write-review-form .form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.write-review-form .form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.btn-cancel-review {
    background: #0d9488;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-review:hover {
    background: #0f766e;
}

.write-review-form .form-group {
    margin-bottom: 25px;
}

.write-review-form .form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
}

.char-count {
    color: #9ca3af;
    font-weight: 400;
    font-size: 14px;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

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

.star-rating-input label {
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating-input label i {
    font-size: 32px;
    color: #d1d5db;
    transition: all 0.2s ease;
}

.star-rating-input label:hover i,
.star-rating-input label:hover~label i {
    color: #fbbf24;
}

.star-rating-input input:checked~label i {
    color: #f59e0b;
}

.star-rating-input label i.ri-star-fill {
    color: #f59e0b;
}

/* Form Controls */
.write-review-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    transition: all 0.3s ease;
}

.write-review-form .form-control:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.write-review-form .form-control::placeholder {
    color: #9ca3af;
}

.write-review-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.form-actions {
    margin-top: 30px;
}

.btn-submit-review {
    background: #0d9488;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-review:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .review-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .write-review-form {
        padding: 20px;
    }

    .write-review-form .form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .star-rating-input label i {
        font-size: 28px;
    }
}

/* ============================================
   ONE-PAGE CHECKOUT MODAL - Sweet Karam Coffee Style
   ============================================ */

/* Checkout Modal Backdrop */
.checkout-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.checkout-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Checkout Modal Container */
/* Checkout Modal Container */
.checkout-modal {
    position: fixed !important;
    top: 5vh !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95% !important;
    max-width: 500px !important;
    background: #ffffff !important;
    z-index: 100000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.checkout-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
}

.checkout-modal-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #fff;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    border-radius: 24px !important;
}

/* Checkout Header */
.checkout-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    height: 70px !important;
    min-height: 70px !important;
    flex-shrink: 0 !important;
    /* Prevent shrinking */
}

/* Scrollable Body */
.checkout-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for Body */
.checkout-modal-body::-webkit-scrollbar {
    width: 6px;
}

.checkout-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

.checkout-modal-body::-webkit-scrollbar-thumb {
    background-color: #888 !important;
    border-radius: 4px !important;
    border: 2px solid transparent !important;
    background-clip: content-box !important;
}

.checkout-modal-body::-webkit-scrollbar-thumb:hover {
    background-color: #555 !important;
}

.checkout-modal-body {
    overflow-y: auto;
    /* or scroll */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE + Edge */
}

/* Chrome, Safari, Opera */
.checkout-modal-body::-webkit-scrollbar {
    display: none;
}


.checkout-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    /* 15px gap between button and logo */
}

.checkout-close-btn {
    background: transparent !important;
    border: none !important;
    padding: 5px !important;
    cursor: pointer !important;
    color: #374151 !important;
    font-size: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    margin-left: 0 !important;
    order: -1 !important;
    position: relative !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin-right: 10px !important;
}

.checkout-close-btn:hover {
    color: var(--primary-brown);
    background: rgba(98, 40, 28, 0.1);
    border-radius: 8px;
}

.checkout-header-logo img {
    max-height: 40px;
    width: auto;
}

.checkout-header-total {
    text-align: right;
}

.total-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.total-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-brown);
    line-height: 1.2;
}

.total-savings {
    font-size: 11px;
    color: #16a34a;
    font-weight: 600;
}

/* Order Summary Toggle */
.checkout-order-summary-toggle {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.checkout-order-summary-toggle:hover {
    background: #f3f4f6;
}

.summary-toggle-header {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    align-items: center;
}

.summary-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.summary-toggle-left i {
    font-size: 20px;
    color: var(--primary-brown);
}

.summary-toggle-right {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #6b7280;
}

.toggle-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.checkout-order-summary-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* Order Summary Content */
.checkout-order-summary-content {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.checkout-order-summary-content.active {
    max-height: none !important;
    /* Allow total content height */
}

.order-items-list::-webkit-scrollbar {
    display: none !important;
}

.order-item-card {
    display: flex !important;
    gap: 16px !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    align-items: flex-start !important;
}

.order-item-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    background: #fdfdfd !important;
    border: 1px solid #f1f1f1 !important;
}

.order-item-details {
    flex: 1 !important;
}

.order-item-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
}

.order-item-variant {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin-bottom: 12px !important;
}

.qty-btn {
    display: none !important;
}

.order-item-qty-selector {
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.qty-val::before {
    content: "Qty: ";
    color: #6b7280;
    font-weight: 500;
}

.qty-val {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    min-width: 15px !important;
    text-align: center !important;
}

.order-item-price {
    text-align: right !important;
}

.order-item-total {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    display: block !important;
}

.order-item-total.is-free {
    color: #16a34a !important;
}

.order-item-unit-price {
    font-size: 12px !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
}

/* Order Summary Totals */

.summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
}

.summary-row .text-success {
    color: #16a34a !important;
}

.summary-row.total-row {
    border-top: 1px solid #e5e7eb !important;
    margin-top: 10px !important;
    padding-top: 15px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

/* Offers Section */
.checkout-section {
    padding: 20px;
}

.offers-section {
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 12px;
}

.coupon-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px 4px 4px 12px;
}

.coupon-input-wrapper i {
    color: #f59e0b;
    font-size: 18px;
}

.coupon-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px 4px;
}

.apply-coupon-btn {
    background: var(--primary-brown);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.coupon-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.coupon-message.success {
    background: #d1fae5;
    color: #065f46;
}

.coupon-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Checkout Steps */
.checkout-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

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

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

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

.section-title-main {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Phone Input */
.phone-input-group {
    margin-bottom: 16px;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(98, 40, 28, 0.1);
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    font-weight: 600;
    color: #111827;
}

.phone-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
}

.phone-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

/* OTP Input */
.otp-input {
    width: 100%;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 12px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s;
}

.otp-input:focus {
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(98, 40, 28, 0.1);
}

.otp-header {
    text-align: center;
    margin-bottom: 20px;
}

.otp-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-brown);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    text-decoration: underline;
}

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

/* Newsletter Checkbox */
.newsletter-checkbox {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.newsletter-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
}

.newsletter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.form-input:focus {
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(98, 40, 28, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Buttons */
.btn-checkout-primary {
    width: 100%;
    padding: 16px 24px;
    background: #ff6b00;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: 16px;
}

.btn-checkout-primary:hover {
    background: #e55f00;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.3);
}

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

.btn-checkout-primary i {
    font-size: 20px;
}

/* Delivery Header - Grouped Icon/Title & Add New */
.delivery-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    background: #ffffff !important;
}

.delivery-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1b !important;
}

.delivery-title i {
    font-size: 24px !important;
    color: #374151 !important;
}

.btn-add-new-address {
    background: transparent !important;
    border: none !important;
    color: #1a1a1b !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.2s !important;
}

.btn-add-new-address i {
    font-size: 20px !important;
}

.btn-add-new-address:hover {
    color: #ff6b00 !important;
}

/* Address Selection Container */
.address-selection-container {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    box-shadow: none !important;
}

#savedAddressesContainer {
    padding: 0 20px !important;
}

/* Address Card - Premium Selection Look */
.address-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 16px !important;
    cursor: pointer !important;
    position: relative !important;
    border: 2px solid #e5e7eb !important;
    transition: all 0.2s ease !important;
    margin-bottom: 12px !important;
}

.address-type-badge {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
}

.address-options-trigger {
    background: none !important;
    border: none !important;
    color: #1a1a1b !important;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 4px !important;
    transition: all 0.2s !important;
    border-radius: 6px !important;
}

.address-options-trigger:hover {
    background: #f3f4f6 !important;
}

/* Address Info Main */
.address-info-main {
    color: #6b7280 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    padding-left: 32px !important;
    /* Align with radio icon */
}

.address-info-main strong {
    display: block !important;
    color: #1a1a1b !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.address-contact-row {
    padding-left: 32px !important;
    display: flex !important;
    gap: 16px !important;
    font-size: 13px !important;
    color: #9ca3af !important;
}

/* Options Dropdown Menu */
.address-options-dropdown {
    position: absolute !important;
    right: 16px !important;
    top: 45px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    width: 200px !important;
    display: none;
    z-index: 1000 !important;
    overflow: hidden !important;
}

.address-options-dropdown.active {
    display: block !important;
}

.options-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    transition: all 0.2s !important;
    width: 100% !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
}

.options-item:hover {
    background: #f9fafb !important;
}

.options-item i {
    font-size: 18px !important;
    color: #6b7280 !important;
}

/* Checkout Newsletter */
.checkout-newsletter {
    margin-bottom: 20px !important;
}

.checkbox-container {
    display: block !important;
    position: relative !important;
    padding-left: 32px !important;
    margin-bottom: 0 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    line-height: 20px !important;
    color: #6b7280 !important;
    user-select: none !important;
}

.checkbox-container input {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
}

.checkmark {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    height: 20px !important;
    width: 20px !important;
    background-color: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 4px !important;
    transition: all 0.2s !important;
}

.checkbox-container:hover input~.checkmark {
    border-color: #6b7280 !important;
}

.checkbox-container input:checked~.checkmark {
    background-color: #374151 !important;
    border-color: #374151 !important;
}

.checkmark:after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
}

.checkbox-container input:checked~.checkmark:after {
    display: block !important;
}

.checkbox-container .checkmark:after {
    left: 6px !important;
    top: 2px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

/* Auth Footer */
.checkout-auth-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
}

.auth-info {
    font-size: 14px !important;
    color: #6b7280 !important;
}

.btn-logout {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.btn-logout:hover {
    background: #f3f4f6 !important;
    border-color: #d1d5db !important;
}

/* Add Address Button */
.btn-add-address {
    width: 100%;
    padding: 16px;
    border: 2px dashed #d1d5db;
    background: transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-brown);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-add-address:hover {
    border-color: var(--primary-brown);
    background: #fffbf7;
}

.btn-add-address i {
    font-size: 20px;
}

/* Add Address Form */
.add-address-form-container {
    margin-top: 16px;
}

.add-address-form-wrapper {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
}

.form-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.btn-secondary {
    flex: 1;
    padding: 14px;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.payment-card:hover {
    border-color: var(--primary-brown);
    background: #fffbf7;
}

.payment-card.active {
    border-color: var(--primary-brown);
    background: #fffbf7;
    box-shadow: 0 0 0 3px rgba(98, 40, 28, 0.1);
}

.payment-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 10px;
    flex-shrink: 0;
}

.payment-icon i {
    font-size: 24px;
    color: var(--primary-brown);
}

.payment-info {
    flex: 1;
}

.payment-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.payment-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.payment-check {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.payment-card.active .payment-check {
    background: var(--primary-brown);
    border-color: var(--primary-brown);
    color: #ffffff;
}

.payment-check i {
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}

.payment-card.active .payment-check i {
    opacity: 1;
}

/* Payment Summary */
.payment-summary {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* Success Screen */
.checkout-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.success-animation {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: successPulse 1s ease infinite;
}

.success-animation i {
    font-size: 50px;
    color: #ffffff;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(22, 163, 74, 0);
    }
}

.success-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.success-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

.order-id-box {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    padding: 20px 40px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.order-id-label {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-id-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-brown);
}

.success-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .checkout-modal {
        max-width: 100%;
    }

    .checkout-header {
        padding: 12px 16px;
    }

    .total-amount {
        font-size: 20px;
    }

    .checkout-section {
        padding: 16px;
    }

    .section-title-main {
        font-size: 18px;
    }

    .btn-checkout-primary {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .checkout-header-logo img {
        max-height: 32px;
    }

    .total-amount {
        font-size: 18px;
    }

    .order-item-image {
        width: 50px;
        height: 50px;
    }

    .order-item-name {
        font-size: 13px;
    }
}

/* Floating Call Button Styles */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 36px;
    height: 36px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1050;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-call-btn:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.floating-call-btn i {
    animation: phone-blink 1.5s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

@keyframes phone-blink {
    0% {
        transform: rotate(0) scale(1);
    }

    10% {
        transform: rotate(-25deg) scale(1.1);
    }

    20% {
        transform: rotate(25deg) scale(1.1);
    }

    30% {
        transform: rotate(-25deg) scale(1.1);
    }

    40% {
        transform: rotate(25deg) scale(1.1);
    }

    50% {
        transform: rotate(0) scale(1);
    }

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

.floating-call-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 1;
    animation: pulse-ring 1.5s infinite ease-out;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* ============================================
   REFINED PRODUCT CARD (MATCHING DESIGN)
   ============================================ */
.product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Standard Product Image Layout */
.product-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
    display: block;
}

.product-img-link {
    width: 100%;
    height: 100%;
    display: block;
}

.primary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card:hover .hover-img {
    opacity: 1;
    transform: scale(1.1);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #999;
}

.wishlist-btn i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    color: #e5194a;
}

.wishlist-btn .ri-heart-fill {
    color: #e5194a;
}


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

.product-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.4;
    overflow: hidden;
}

.product-features-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.feature-tag {
    background: #fff9f3;
    font-size: 10px;
    color: #666;
    padding: 2px 4px;
    border: 1px solid #FFAB40;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* ============================================
   PREMIUM ADDRESS FORM STYLES
   ============================================ */
.form-actions-premium {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-save-premium {
    flex: 2;
    background: var(--primary-brown);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(98, 40, 28, 0.2);
}

.btn-save-premium:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(98, 40, 28, 0.3);
}

.btn-save-premium:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-cancel-premium {
    flex: 1;
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-cancel-premium:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Validation Feedback */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 4px;
    font-size: 11px;
    color: #dc2626;
    font-weight: 500;
    padding-left: 4px;
}

.form-input.is-invalid {
    border-color: #dc2626 !important;
    background-color: #fff1f2 !important;
}

.form-field-group {
    margin-bottom: 5px;
}

/* Variant Selector Refinement */
.custom-variant-container {
    margin-bottom: 15px;
}

.variant-display {
    width: 100%;
    cursor: pointer;
    border: 1px solid #FFAB40;
    background: #FFF9F3;
    height: 38px;
    padding: 0 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}



.variant-display i {
    font-size: 20px;
    color: #FFAB40;
}

/* Pricing Row */
.product-price-row {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.price-discount-perc {
    font-size: 13px;
    font-weight: 800;
    color: #004D40;
}

.price-values {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price-new {
    color: #F57C00;
    /* Deep orange */
    font-size: 18px;
    font-weight: 800;
}

/* Add to Cart Button Premium */
.add-to-cart-btn {
    background: var(--secondary-red);
    color: #fff;
    border: none;
    height: 40px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(229, 25, 74, 0.2);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229, 25, 74, 0.3);
}

.btn-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

/* Product Detail Wishlist Button */
.pd-actions-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.pd-actions-row .add-to-cart-btn {
    flex-grow: 1;
}

.detail-wishlist-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 60px !important;
    height: 50px !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.detail-wishlist-btn:hover {
    border-color: #e5194a !important;
    background: #fff5f7 !important;
    transform: none !important;
}

.detail-wishlist-btn i {
    font-size: 24px !important;
}

/* ============================================
   QUICK CATEGORIES SECTION (Image Match)
   ============================================ */
.quick-categories-section {
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.quick-categories-wrapper {
    display: flex;
    border: 1px solid #eee;
    background: #fff;
    overflow-x: auto;
    /* Allow scrolling on overflow */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.quick-categories-wrapper::-webkit-scrollbar {
    display: none;
}

.quick-category-box {
    flex: 1;
    min-width: 140px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 1px solid #eee;
}

.quick-category-box:last-child {
    border-right: none;
}

/* Highlighted (First Item) Style - Green */
.quick-category-box.highlighted {
    background: var(--secondary-red);
    color: #fff;
    border-right: none;
    position: relative;
    box-shadow: 4px 0 15px rgba(93, 187, 44, 0.2);
    z-index: 2;
    transform: scale(1.02);
}

.quick-category-box:hover {
    background: #fdfdfd;
}

.quick-category-box.highlighted:hover {
    background: #55aa28;
    /* Darker Green */
}

/* Icon Area */
.quick-category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.quick-category-box:hover .quick-category-title {
    color: var(--secondary-red);
}

.quick-category-box:hover .quick-category-icon img {
    transform: translateY(-5px);
}

/* Text Styles */
.quick-category-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    line-height: 1.2;
    white-space: nowrap;
}

.quick-category-count {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

/* Highlighted Item Text Overrides */
.quick-category-box.highlighted .quick-category-title {
    color: #fff;
}

.quick-category-box.highlighted .quick-category-count {
    color: rgba(255, 255, 255, 0.9);
}

.quick-category-box.highlighted:hover .quick-category-title {
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .quick-categories-wrapper {
        border: none;
        background: transparent;
        gap: 10px;
    }

    .quick-category-box {
        border: 1px solid #eee;
        background: #fff;
        border-radius: 8px;
        min-width: 130px;
    }

    .quick-category-box.highlighted {
        border-radius: 8px;
        transform: none;
    }
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-counter-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #E6F7ED 0%, #F5FFF9 100%);
    border-top: 1px solid #d1fae5;
    border-bottom: 1px solid #d1fae5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

/* Stat Item */
.stats-item {
    padding: 20px;
}

.stats-label {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    /* Green color for label */
    color: #4CAF50;
    margin-bottom: 5px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.stats-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: #004D40;
    /* Darker green/black for numbers */
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.counter-value {
    display: inline-block;
}

.counter-suffix {
    font-size: 32px;
    font-weight: 700;
}

@media (max-width: 992px) {
    .stats-number {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .stats-counter-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.popular-categories-section {
    padding: 60px 0;
    background-color: #fff;
}

.categories-carousel-wrapper {
    position: relative;
    padding: 0 20px;
}

.categories-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.categories-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    /* Formula for 6 items with 30px gap: (100% - 5*30px) / 6 */
    width: calc((100% - 150px) / 6);
    flex: 0 0 calc((100% - 150px) / 6);
    min-width: 0;
}

.category-img-circle {
    width: 100%;
    max-width: 160px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    border: 3px solid transparent;
    /* Thicker border for effect */
}

.category-circle-item:hover .category-img-circle {
    background-color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-brown, #d4a373);
    /* Fallback color if var not defined */
    transform: translateY(-10px);
    /* More pronounced lift */
}

.category-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-circle-item:hover .category-img-circle img {
    transform: scale(1.1);
}

.category-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 6px;
    margin-top: 0;
}

.category-count {
    color: #888;
    font-size: 14px;
    font-weight: 400;
}

.cat-nav-btn {
    position: absolute;
    top: 35%;
    /* Align with image center approx */
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.cat-nav-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.cat-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9f9f9;
    color: #ccc;
    box-shadow: none;
}

.cat-nav-btn.prev-btn {
    left: 0;
}

.cat-nav-btn.next-btn {
    right: 0;
}

@media (max-width: 768px) {
    .popular-categories-section {
        padding: 40px 0;
    }

    .category-img-circle {
        width: 15vw;
        height: 15vw;
        max-width: 70px;
        max-height: 70px;
    }

    .category-circle-item {
        /* Fit roughly 5 items: 100vw / 5.5 */
        width: 18vw;
        flex: 0 0 18vw;
        min-width: 0;
    }

    .category-name {
        font-size: 11px;
        margin-top: 4px;
        line-height: 1.2;
    }

    .category-count {
        display: none;
    }

    .categories-carousel {
        margin: 0;
        padding: 0;
    }

    .categories-carousel-wrapper {
        padding: 0;
    }

    .categories-track {
        gap: 5px;
        padding: 0;
    }

    .cat-nav-btn {
        display: none;
    }
}

/* Carousel Dots */
.carousel-dots-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #1a1a1a;
    width: 24px;
    border-radius: 4px;
}

.carousel-dot:hover {
    background-color: #999;
}

/* Global Section Padding Standardization */
.section,
.popular-categories-section,
.most-popular-section,
.best-sellers-section,
.featured-week-section,
.new-arrivals-section,
.stats-counter-section,
.blog-section-home {
    padding: 40px 0 !important;
}

@media (max-width: 768px) {

    .section,
    .popular-categories-section,
    .most-popular-section,
    .best-sellers-section,
    .featured-week-section,
    .new-arrivals-section,
    .stats-counter-section,
    .blog-section-home {
        padding: 20px 0 !important;
    }
}

/* ============================================
   BANNER MARQUEE (REPUBLIC DAY SALE)
   ============================================ */
.rb-marquee-container {
    background: #000;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.rb-marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: rb-banner-marquee 30s linear infinite;
    width: max-content;
}

.rb-marquee-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.rb-marquee-item span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
}

@keyframes rb-banner-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.rb-marquee-container:hover .rb-marquee-inner {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .rb-marquee-container {
        padding: 10px 0;
    }

    .rb-marquee-item span {
        font-size: 13px;
        gap: 8px;
    }

    .rb-marquee-item {
        padding: 0 20px;
    }
}

/* ============================================
   POLICY PAGES STYLES
   ============================================ */
.policy-page {
    background-color: #f8f9fa;
    min-height: 60vh;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-brown);
    border-radius: 2px;
}

.policy-content-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.policy-text-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.policy-text-content h1,
.policy-text-content h2,
.policy-text-content h3 {
    color: #222;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.policy-text-content h2 {
    font-size: 1.75rem;
}

.policy-text-content h3 {
    font-size: 1.4rem;
}

.policy-text-content p {
    margin-bottom: 1.5rem;
}

.policy-text-content ul,
.policy-text-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-text-content li {
    margin-bottom: 0.5rem;
}

.policy-text-content strong {
    color: #000;
}

@media (max-width: 768px) {
    .policy-content-wrapper {
        padding: 2rem !important;
    }

    .rb-section-title {
        font-size: 2rem;
    }
}

/* ============================================
   REFINED CHECKOUT MODAL STYLES (v2)
   ============================================ */

.checkout-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.checkout-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.95);
    width: 95%;
    max-width: 500px;
    height: 90vh;
    background: #fff;
    border-radius: 24px;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkout-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    flex-shrink: 0;
}

.checkout-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-back-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #444;
    cursor: pointer;
    padding: 5px;
    display: flex;
}

.checkout-header-logo img {
    max-height: 40px;
}

.checkout-header-total {
    text-align: right;
}

.total-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
}

.total-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary-red);
}

.total-savings {
    font-size: 11px;
    color: var(--success-green);
    font-weight: 600;
}

.checkout-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
    background: #f8f9fa;
}

/* Card Style */
.checkout-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.mc-summary-card {
    padding: 0;
    overflow: hidden;
}

.mc-summary-card .card-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 0 !important;
}

.mc-summary-card .card-header:hover {
    background: #fafafa;
}

.mc-summary-card .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-summary-card .header-left i {
    font-size: 18px;
    color: var(--primary-brown);
}

.mc-summary-card .header-title {
    font-weight: 700;
    color: #333;
}

.item-count-badge {
    font-size: 11px;
    background: #eee;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.toggle-icon {
    transition: transform 0.3s;
}

.card-header.active .toggle-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid #f5f5f5;
}

.collapsible-content.active {
    display: block;
}

/* Order Item List */

.order-items-list::-webkit-scrollbar {
    width: 4px;
}

.order-items-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.order-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.order-item-variant {
    font-size: 11px;
    color: #888;
}

.order-item-qty-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.qty-btn {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    color: #666;
}

.qty-val {
    font-size: 12px;
    font-weight: 700;
}

.order-item-price {
    text-align: right;
}

.order-item-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-red);
}

.order-item-unit-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

/* Summary Totals */
.order-summary-totals {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.summary-row.total-row {
    margin-top: 5px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 800;
    color: #333;
    font-size: 15px;
}

/* Auth Row */
.auth-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(229, 25, 74, 0.1);
}

.auth-status-row .user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
}

.auth-status-row .user-info i {
    color: var(--success-green);
    font-size: 16px;
}

.btn-logout-link {
    background: transparent;
    border: none;
    color: var(--secondary-red);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

/* Address Cards Refinement */
.mc-address-card-wrap .card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mc-address-card-wrap .header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-address-card-wrap .header-left i {
    color: var(--primary-brown);
}

.btn-add-new-sm {
    background: #fff2f5;
    color: var(--secondary-red);
    border: 1px solid rgba(229, 25, 74, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-addresses-placeholder {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px dashed #ddd;
}

.address-card.selected {
    border-color: var(--secondary-red);
    background: #fffcfc;
    box-shadow: 0 4px 10px rgba(229, 25, 74, 0.05);
}

.address-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.address-card-selection {
    display: flex;
    align-items: center;
    gap: 8px;
}

.selection-radio {
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
}

.address-card.selected .selection-radio {
    border-color: var(--secondary-red);
}

.address-card.selected .selection-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-red);
    border-radius: 50%;
}

.address-type-badge {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 800;
    background: #f0f0f0;
    color: #666;
    padding: 2px 6px;
    border-radius: 4px;
}

.address-card.selected .address-type-badge {
    background: var(--secondary-red);
    color: #fff;
}

.address-info-main {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    padding-right: 25px;
}

.address-info-main strong {
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.address-pincode {
    font-weight: 600;
    color: #333;
}

.address-contact-row {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.address-card-options {
    position: relative;
}

.address-options-trigger {
    background: transparent;
    border: none;
    color: #888;
    font-size: 18px;
    padding: 0 5px;
}

.address-options-dropdown {
    position: absolute;
    right: 0;
    top: 25px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    z-index: 100;
    display: none;
    min-width: 120px;
    overflow: hidden;
    border: 1px solid #eee;
}

.address-options-dropdown.active {
    display: block;
}

.options-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    width: 100%;
    border: none;
    background: none;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    text-align: left;
}

.options-item:hover {
    background: #f9f9f9;
}

.options-item.text-danger {
    color: var(--secondary-red);
}

/* Inline Address Form */
.inline-address-form {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--secondary-red);
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
}

.btn-save {
    background: var(--neutral-dark);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
}

/* Footer Banner in Modal */
.estimated-delivery-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* Payment Refinement */
.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-item {
    cursor: pointer;
    position: relative;
    border: 1.5px solid #eee;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.2s;
}

.payment-method-item.active {
    border-color: var(--secondary-red);
    background: #fffcfc;
}

.payment-method-item input {
    display: none;
}

.method-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-wrap {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-brown);
}

.payment-method-item.active .icon-wrap {
    background: var(--secondary-red);
    color: #fff;
}

.text-wrap {
    flex: 1;
}

.method-title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.method-desc {
    display: block;
    font-size: 11px;
    color: #888;
}

.check-mark {
    color: var(--secondary-red);
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.2s;
}

.payment-method-item.active .check-mark {
    opacity: 1;
}

/* Success Step Improvement */
.success-animation-wrap {
    padding: 40px 20px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-green);
    color: #fff;
    font-size: 40px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

.order-id-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px dashed #ddd;
}

.order-id-display .label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.order-id-display .value {
    font-size: 20px;
    color: #333;
}

/* Sticky Footer Button */
.checkout-sticky-footer {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.03);
}

.btn-checkout-primary-main {
    background: var(--secondary-red);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(229, 25, 74, 0.2);
}

.btn-checkout-primary-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 25, 74, 0.3);
}

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

/* Login Inputs */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 5px 15px;
    transition: border-color 0.3s;
}

.phone-input-wrapper:focus-within {
    border-color: var(--secondary-red);
}

.phone-input-wrapper .prefix {
    font-weight: 700;
    color: #666;
    margin-right: 10px;
    font-size: 15px;
}

.phone-input-wrapper input {
    border: none;
    background: transparent;
    padding: 10px 0;
    width: 100%;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.otp-input-main {
    width: 100%;
    max-width: 250px;
    height: 60px;
    border: 2px solid #eee;
    border-radius: 12px;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 8px;
    margin: 10px auto;
    display: block;
    outline: none;
    transition: border-color 0.3s;
}

.otp-input-main:focus {
    border-color: var(--secondary-red);
}

.otp-actions-row {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    color: #333;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}

.final-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    color: #333;
}

.final-total {
    font-size: 24px;
    color: var(--secondary-red);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--secondary-red);
    border: 2px solid var(--secondary-red);
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary-outline:hover {
    background: var(--secondary-red);
    color: #fff;
    box-shadow: 0 4px 12px rgba(229, 25, 74, 0.15);
}

@media (max-width: 576px) {
    .checkout-modal {
        height: 100vh;
        width: 100%;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: translate(0, 0);
    }

    .checkout-modal.active {
        transform: translate(0, 0);
    }
}

/* Address Type Radio Styles */
.address-type-radio-group {
    display: flex;
    gap: 12px;
}

.type-radio-item {
    flex: 1;
    cursor: pointer;
}

.type-radio-item input {
    display: none;
}

.type-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #fff;
    color: #666;
}

.type-chip i {
    font-size: 20px;
}

.type-chip span {
    font-size: 12px;
    font-weight: 700;
}

.type-radio-item input:checked+.type-chip {
    border-color: var(--secondary-red);
    background: #fffcfc;
    color: var(--secondary-red);
    box-shadow: 0 4px 10px rgba(229, 25, 74, 0.08);
}

.video-wrapper {
    border: 2px solid var(--secondary-red-dark);
    padding: 4px;
    display: inline-block;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
}

.video-thumb {
    border-radius: 6px;
}

.play-btn {
    width: 65px;
    height: 65px;
    background: var(--secondary-red-light);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.play-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
}

/* overlay popup */
.video-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.video-popup-box {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.video-popup-box iframe {
    width: 100%;
    height: 500px;
}

.video-popup-close {
    position: absolute;
    top: -35px;
    right: -10px;
    font-size: 28px;
    color: white;
    cursor: pointer;
}
