/* ========================================================
   ZIEPEE PVT PORTAL - CUSTOMER STOREFRONT STYLESHEET
   Comprehensive, Modern, Responsive E-Commerce Design System
   ======================================================== */

:root {
    --primary: #004de7;
    --primary-dark: #0036a8;
    --primary-hover: #003bbd;
    --primary-light: #eff6ff;
    --primary-border: #bfdbfe;
    
    --accent-green: #059669;
    --accent-green-light: #ecfdf5;
    --accent-orange: #ea580c;
    --accent-orange-light: #fff7ed;
    --accent-purple: #7c3aed;
    --accent-purple-light: #f5f3ff;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    
    --surface: #ffffff;
    --bg-page: #f8fafc;
    --bg-subtle: #f1f5f9;
    --border: #e2e8f0;
    --border-dark: #cbd5e1;
    
    --text-navy: #0f172a;
    --text-slate: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 48px -6px rgba(15, 23, 42, 0.18);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-navy);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ========================================================
   1. ANNOUNCEMENT TOP BAR
   ======================================================== */
.announcement-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #f8fafc;
    padding: 7px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.announcement-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.announcement-slogan {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.announcement-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.announcement-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.announcement-link {
    color: #94a3b8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.announcement-link:hover {
    color: #ffffff;
}

/* ========================================================
   2. MAIN NAVBAR & SEARCH
   ======================================================== */
.main-header {
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

.header-top {
    max-width: 1380px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-fallback {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.brand-badge {
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* SMART SEARCH CONTAINER WITH EMBEDDED CATEGORY SELECTOR */
.search-container {
    flex: 1;
    max-width: 760px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-subtle);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    padding: 3px 6px 3px 14px;
    transition: var(--transition);
}

.search-box:focus-within {
    background: var(--surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 77, 231, 0.12);
}

.search-category-select {
    background: transparent;
    border: none;
    border-right: 1px solid var(--border-dark);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-slate);
    padding: 8px 12px 8px 4px;
    cursor: pointer;
    outline: none;
    max-width: 160px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 0.92rem;
    color: var(--text-navy);
    outline: none;
}

.search-clear-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.85rem;
}

.search-clear-btn:hover {
    color: var(--danger);
}

.search-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Search Autocomplete Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    z-index: 1050;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
}

.search-dropdown-header {
    padding: 10px 16px;
    background: var(--bg-subtle);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
}

.search-result-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-subtle);
}

.search-result-item:hover {
    background: var(--primary-light);
}

.search-result-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--border);
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-navy);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.search-result-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.94rem;
}

/* HEADER ACTION BUTTONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.btn-header-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-slate);
    cursor: pointer;
    transition: var(--transition);
}

.btn-header-action:hover {
    background: var(--primary-light);
    border-color: var(--primary-border);
    color: var(--primary);
}

.btn-cart-action {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 77, 231, 0.28);
    position: relative;
}

.btn-cart-action:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 77, 231, 0.35);
}

.cart-counter {
    background: var(--accent-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    margin-left: 2px;
}

/* ========================================================
   3. MEGA MENU NAVIGATION BAR & MULTI-COLUMN POPUP
   ======================================================== */
.navigation-bar {
    background: #ffffff;
    border-top: 1px solid var(--border);
    position: relative;
}

.nav-bar-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mega Menu Trigger Button */
.mega-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.mega-menu-trigger:hover, .mega-menu-trigger.active {
    background: var(--primary-dark);
}

.mega-menu-chevron {
    font-size: 0.76rem;
    transition: transform 0.25s ease;
}

.mega-menu-trigger.active .mega-menu-chevron {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown Full Width Panel */
.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: var(--shadow-xl);
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--primary);
    z-index: 1090;
    animation: slideDownMenu 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-menu-content {
    max-width: 1380px;
    margin: 0 auto;
    padding: 30px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) 280px;
    gap: 30px;
}

.mega-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-navy);
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    cursor: pointer;
}

.mega-col-title:hover {
    color: var(--primary);
}

.mega-col-title i {
    color: var(--primary);
    font-size: 1.05rem;
}

.mega-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.mega-links-list li {
    font-size: 0.86rem;
    color: var(--text-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    transition: var(--transition);
}

.mega-links-list li:hover {
    color: var(--primary);
    transform: translateX(4px);
    font-weight: 600;
}

.mega-hot-badge {
    background: var(--accent-orange-light);
    color: var(--accent-orange);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: var(--radius-full);
}

/* Mega Menu Featured Tile */
.mega-promo-tile {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: var(--radius-lg);
    padding: 22px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mega-promo-badge {
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 12px;
    width: fit-content;
}

.mega-promo-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}

.mega-promo-sub {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.mega-promo-btn {
    background: #ffffff;
    color: var(--primary-dark);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    transition: var(--transition);
}

.mega-promo-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* Quick Category Links Strip */
.quick-cats-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px 0;
    flex: 1;
}

.quick-cats-strip::-webkit-scrollbar {
    display: none;
}

.quick-cat-item {
    background: transparent;
    border: none;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-slate);
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quick-cat-item:hover {
    background: var(--bg-subtle);
    color: var(--primary);
}

.quick-cat-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
}

/* ========================================================
   4. HERO BANNER SECTION
   ======================================================== */
.hero-wrapper {
    background: linear-gradient(180deg, #f0f7ff 0%, #e6f1fe 100%);
    border-bottom: 1px solid var(--border);
    padding: 36px 24px;
}

.hero-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--primary-border);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-navy);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.05rem;
    color: var(--text-slate);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 640px;
}

.hero-perks-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 28px;
}

.hero-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-navy);
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-hero-primary {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 77, 231, 0.32);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 77, 231, 0.42);
}

.btn-hero-secondary {
    background: #ffffff;
    color: var(--text-navy);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--border-dark);
}

.hero-visual-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ZIEPEE ADVERTISEMENT SLIDER (HERO RIGHT AREA ONLY) */
.hero-visual-card.ad-slider-wrapper {
    width: 100%;
    max-width: 520px;
    height: 380px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 4px solid #ffffff;
    overflow: hidden;
    background: #0f172a;
    display: block;
}

.ad-slide-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.ad-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.04);
}

.ad-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.ad-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ad-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.4) 40%, rgba(15, 23, 42, 0.88) 85%, rgba(15, 23, 42, 0.96) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    z-index: 2;
}

.ad-slide-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ad-slide-badge {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.ad-slide-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 8px;
}

.ad-slide-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ad-slide-sub {
    font-size: 0.84rem;
    color: #e2e8f0;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    max-width: 90%;
}

.ad-slide-cta-btn {
    margin-top: 6px;
    background: #ffffff;
    color: var(--primary-dark);
    border: none;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.ad-slide-cta-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Slider Controls (Arrows & Dots) */
.ad-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    opacity: 0;
}

.hero-visual-card.ad-slider-wrapper:hover .ad-slider-arrow {
    opacity: 1;
}

.ad-slider-arrow:hover {
    background: rgba(0, 77, 231, 0.85);
    transform: translateY(-50%) scale(1.1);
}

.ad-slider-arrow.prev {
    left: 14px;
}

.ad-slider-arrow.next {
    right: 14px;
}

.ad-slider-dots-strip {
    position: absolute;
    bottom: 14px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.ad-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.ad-slider-dot.active {
    width: 22px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.hero-visual-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 4px solid #ffffff;
}

.hero-floating-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-green-light);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* ========================================================
   5. VALUE PROPOSITION STRIP
   ======================================================== */
.value-strip {
    max-width: 1380px;
    margin: -24px auto 30px auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.value-grid {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.value-card {
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-right: 1px solid var(--border);
}

.value-card:last-child {
    border-right: none;
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-icon.blue { background: var(--primary-light); color: var(--primary); }
.value-icon.green { background: var(--accent-green-light); color: var(--accent-green); }
.value-icon.orange { background: var(--accent-orange-light); color: var(--accent-orange); }
.value-icon.purple { background: var(--accent-purple-light); color: var(--accent-purple); }

.value-content h4 {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 3px;
}

.value-content p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ========================================================
   6. PRODUCT CATALOG & SIDEBAR LAYOUT
   ======================================================== */
.catalog-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px 60px 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

/* SIDEBAR FILTERS */
.filter-sidebar {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.filter-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-clear-filters {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-clear-filters:hover {
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--bg-subtle);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-slate);
    cursor: pointer;
    user-select: none;
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-count {
    margin-left: auto;
    font-size: 0.74rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

/* Price Presets Buttons */
.price-presets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 10px;
}

.btn-price-preset {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-slate);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-price-preset:hover {
    border-color: var(--primary-border);
    color: var(--primary);
}

.btn-price-preset.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* CATALOG MAIN SECTION */
.catalog-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Toolbar */
.catalog-toolbar {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.catalog-info h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-navy);
}

.catalog-count-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.catalog-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-select {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-slate);
    outline: none;
    cursor: pointer;
}

/* Active Filter Chips */
.active-chips-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.chip-remove {
    cursor: pointer;
    font-size: 0.85rem;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}

.product-image-box {
    position: relative;
    width: 100%;
    height: 210px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

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

.product-card:hover .product-image-box img {
    transform: scale(1.06);
}

.badge-discount-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

.badge-seller-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand-line {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-name {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.rating-stars {
    color: #f59e0b;
    font-size: 0.8rem;
}

.rating-count {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.product-pricing-box {
    margin-top: auto;
    margin-bottom: 14px;
}

.price-main {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-navy);
}

.price-compare {
    font-size: 0.84rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 6px;
}

.stock-indicator {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-top: 2px;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 40px;
    gap: 8px;
}

.btn-add-cart-card {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 9px 14px;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

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

.btn-quick-view {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-quick-view:hover {
    background: var(--primary-light);
    border-color: var(--primary-border);
    color: var(--primary);
}

/* ========================================================
   7. SLIDE-OVER CART DRAWER
   ======================================================== */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.drawer-panel {
    width: 100%;
    max-width: 460px;
    height: 100%;
    background: #ffffff;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.drawer-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-close-btn {
    background: var(--bg-subtle);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-slate);
    transition: var(--transition);
}

.drawer-close-btn:hover {
    background: var(--danger-light);
    color: var(--danger);
}

/* Free Delivery Progress in Cart */
.free-shipping-progress-box {
    background: var(--primary-light);
    padding: 12px 24px;
    border-bottom: 1px solid var(--primary-border);
    font-size: 0.8rem;
    color: var(--primary-dark);
}

.progress-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(0, 77, 231, 0.2);
    border-radius: var(--radius-full);
    margin-top: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-item-card {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    align-items: center;
}

.cart-item-thumb {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 4px;
    border: 1px solid var(--border);
}

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

.cart-item-title {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-seller {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.cart-item-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 2px;
}

.btn-move-to-wishlist {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0 2px 0;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-move-to-wishlist:hover {
    color: var(--primary-hover);
    text-decoration: underline;
    transform: translateY(-1px);
}

.cart-item-actions-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cart-trash {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 0.85rem;
}

.btn-cart-trash:hover {
    color: #ef4444;
    background: #fef2f2;
}

.cart-item-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 2px 6px;
}

.stepper-btn {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-slate);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stepper-btn:hover {
    background: var(--bg-subtle);
}

.stepper-val {
    font-size: 0.84rem;
    font-weight: 800;
    min-width: 18px;
    text-align: center;
}

/* Coupon Box */
.cart-coupon-box {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.coupon-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 0.84rem;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.btn-apply-coupon {
    background: var(--text-navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 16px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.bill-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    color: var(--text-slate);
    margin-bottom: 8px;
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-navy);
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    margin-top: 10px;
    margin-bottom: 16px;
}

.btn-checkout-proceed {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 77, 231, 0.3);
    transition: var(--transition);
}

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

/* ========================================================
   8. CHECKOUT MODAL & MULTI-STEP FLOW (BILLING + SHIPPING)
   ======================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-checkout-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.modal-checkout-header {
    padding: 20px 28px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-checkout-header h2 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-grid-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    overflow-y: auto;
    flex: 1;
}

.checkout-form-side {
    padding: 24px 28px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.checkout-summary-side {
    padding: 24px 28px;
    background: var(--bg-subtle);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* SECTION TITLES IN FORM */
.checkout-section-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.checkout-section-title i {
    color: var(--primary);
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.form-group-field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-slate);
}

.form-input-text, .form-select-text {
    width: 100%;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 9px 12px;
    font-size: 0.88rem;
    color: var(--text-navy);
    outline: none;
    transition: var(--transition);
    background: #fff;
}

.form-input-text:focus, .form-select-text:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.12);
}

/* BILLING ADDRESS TOGGLE BOX */
.billing-toggle-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-top: 4px;
}

.billing-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-navy);
    cursor: pointer;
}

.billing-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Separate Billing Form Section */
.separate-billing-container {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.2s ease;
}

/* PAYMENT METHODS ACCORDION / TABS */
.payment-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-method-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.payment-method-card.selected {
    border-color: var(--primary);
    background: #f8faff;
}

.payment-method-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.payment-method-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-method-content {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

/* UPI QR Simulation Box */
.upi-qr-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
}

.qr-placeholder {
    width: 90px;
    height: 90px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
}

.qr-details h5 {
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.qr-details p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.upi-vpa-pill {
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* Credit / Debit Card Simulator */
.card-logos-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--text-slate);
}

/* Modal Bottom Actions */
.modal-checkout-footer {
    padding: 16px 28px;
    background: #ffffff;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-place-order-final {
    background: var(--accent-green);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    transition: var(--transition);
}

.btn-place-order-final:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

/* PROCESSING SPINNER OVERLAY */
.processing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    text-align: center;
}

.spinner-ring {
    width: 60px;
    height: 60px;
    border: 5px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ========================================================
   9. ORDER CONFIRMATION & TAX INVOICE SCREEN
   ======================================================== */
.confirmation-container {
    max-width: 840px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    padding: 36px 32px;
}

.confirmation-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.confirmation-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-green-light);
    color: var(--accent-green);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.confirmation-header h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-navy);
    margin-bottom: 6px;
}

.confirmation-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Reference Banner */
.confirmation-meta-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin: 24px 0;
    text-align: center;
}

.conf-meta-item label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.conf-meta-item strong {
    font-size: 1.05rem;
    font-family: var(--font-mono);
    color: var(--text-navy);
}

/* Dual Address Box (Shipping + Billing) */
.dual-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.address-snapshot-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.address-snapshot-card h4 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.address-snapshot-card p {
    font-size: 0.84rem;
    color: var(--text-slate);
    line-height: 1.5;
}

/* Confirmation Items Table */
.conf-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.conf-items-table th {
    background: var(--bg-subtle);
    padding: 10px 14px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-slate);
    border-bottom: 1px solid var(--border);
}

.conf-items-table td {
    padding: 12px 14px;
    font-size: 0.86rem;
    border-bottom: 1px solid var(--bg-subtle);
}

.conf-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* ========================================================
   10. ORDER TRACKING MODAL
   ======================================================== */
.tracking-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 10px 20px 10px;
}

.tracking-stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--border);
    z-index: 1;
}

.tracking-step {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.tracking-step.done .step-circle {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

.tracking-step.current .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.step-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-slate);
}

/* ========================================================
   11. TOAST ALERTS & NOTIFICATIONS
   ======================================================== */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    animation: toastPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastPop {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   12. BREADCRUMBS BAR
   ======================================================== */
.breadcrumb-container {
    max-width: 1380px;
    margin: 14px auto 0 auto;
    padding: 0 24px;
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--primary);
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    font-size: 0.7rem;
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-navy);
    font-weight: 700;
}

/* ========================================================
   13. CATEGORY BASED PAGE HEADER & SUBPILLS
   ======================================================== */
.category-header-banner {
    max-width: 1380px;
    margin: 16px auto 20px auto;
    padding: 24px 28px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: var(--radius-xl);
    color: #ffffff;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.category-header-content h1 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-header-content p {
    font-size: 0.9rem;
    color: #cbd5e1;
    max-width: 720px;
}

.category-header-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.cat-header-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Subcategory / Brand Pills Bar */
.cat-subpills-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 18px;
}

.cat-subpill {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-slate);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cat-subpill:hover {
    border-color: var(--primary-border);
    color: var(--primary);
}

.cat-subpill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 77, 231, 0.25);
}

/* ========================================================
   14. PRODUCT BASED PAGE (DEDICATED PRODUCT DETAIL VIEW)
   ======================================================== */
.pdp-container {
    max-width: 1380px;
    margin: 16px auto 60px auto;
    padding: 0 24px;
}

.pdp-main-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 36px;
    margin-top: 14px;
}

/* PDP Gallery */
.pdp-gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdp-main-image-box {
    width: 100%;
    height: 420px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.pdp-main-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pdp-main-image-box:hover img {
    transform: scale(1.08);
}

.pdp-thumbs-row {
    display: flex;
    gap: 10px;
}

.pdp-thumb-slot {
    width: 72px;
    height: 72px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pdp-thumb-slot.active, .pdp-thumb-slot:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.15);
}

.pdp-thumb-slot img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* PDP Info Side */
.pdp-info-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pdp-brand-tag {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pdp-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--text-navy);
    line-height: 1.25;
}

.pdp-rating-strip {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-stars-badge {
    background: #fef3c7;
    color: #b45309;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pdp-price-panel {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
}

.pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pdp-price-val {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-navy);
}

.pdp-compare-val {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.pdp-discount-pill {
    background: var(--danger);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
}

.pdp-tax-note {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Seller Card inside PDP */
.pdp-seller-box {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.pdp-seller-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-seller-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.pdp-pincode-box {
    display: flex;
    gap: 8px;
    max-width: 360px;
}

/* PDP Actions */
.pdp-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 8px;
}

.pdp-qty-stepper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-full);
    padding: 4px 8px;
    background: #fff;
}

.btn-pdp-cart {
    flex: 1;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 22px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 77, 231, 0.28);
    transition: var(--transition);
}

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

.btn-pdp-buynow {
    flex: 1;
    background: var(--accent-orange);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 22px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.28);
    transition: var(--transition);
}

.btn-pdp-buynow:hover {
    background: #c2410c;
    transform: translateY(-2px);
}

/* Specifications Table */
.pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.pdp-specs-table td {
    padding: 10px 14px;
    font-size: 0.86rem;
    border-bottom: 1px solid var(--border);
}

.pdp-specs-table td:first-child {
    font-weight: 800;
    color: var(--text-slate);
    width: 35%;
    background: var(--bg-subtle);
}

/* Related Items Carousel / Row */
.pdp-related-section {
    margin-top: 40px;
}

.pdp-related-section h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-navy);
}

/* ========================================================
   15. HOME PAGE EXPLORER TILES & SPOTLIGHT
   ======================================================== */
.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.home-section-header h2 {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-view-all-btn {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.home-view-all-btn:hover {
    transform: translateX(4px);
}

.home-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.home-cat-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.home-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}

.home-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.home-cat-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 6px;
}

.home-cat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 16px;
}

.home-cat-link {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Spotlight Banner */
.home-spotlight-banner {
    background: linear-gradient(135deg, #0284c7 0%, #004de7 100%);
    border-radius: var(--radius-xl);
    padding: 28px 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

/* ========================================================
   RESPONSIVE MEDIA QUERIES
   ======================================================== */
@media (max-width: 1080px) {
    .catalog-container {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }
    .mega-menu-content {
        grid-template-columns: repeat(3, 1fr);
    }
    .mega-promo-tile {
        display: none;
    }
    .value-grid {
        grid-template-columns: 1fr 1fr;
    }
    .value-card:nth-child(2) {
        border-right: none;
    }
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-visual-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .catalog-container {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        display: none;
    }
    .header-top {
        flex-wrap: wrap;
        padding: 10px 16px;
    }
    .search-container {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .search-category-select {
        display: none;
    }
    .checkout-grid-layout {
        grid-template-columns: 1fr;
    }
    .dual-address-grid {
        grid-template-columns: 1fr;
    }
    .confirmation-meta-strip {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2rem;
    }
}

/* ========================================================
   CUSTOMER LOGIN / AUTH & USER MENU STYLES
   ======================================================== */
.btn-login-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-navy);
    cursor: pointer;
    transition: var(--transition);
}

.btn-login-action:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-user-profile-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    background: #ffffff;
    border: 1.5px solid var(--primary-border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-navy);
    cursor: pointer;
    transition: var(--transition);
}

.btn-user-profile-action:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.user-account-dropdown-wrapper {
    position: relative;
}

.user-account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-menu-header {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px 10px 10px 10px;
}

.user-menu-header strong {
    font-size: 0.95rem;
    color: var(--text-navy);
}

.user-menu-header span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.user-role-badge {
    display: inline-block;
    width: fit-content;
    margin-top: 4px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 800;
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-radius: var(--radius-full);
}

.user-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-slate);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.user-menu-item:hover {
    background: var(--bg-subtle);
    color: var(--primary);
}

.user-menu-item.logout {
    color: var(--accent-red);
}

.user-menu-item.logout:hover {
    background: #fef2f2;
    color: var(--accent-red);
}

/* ========================================================
   MODERN SINGLE-CARD CUSTOMER AUTH (LOGIN & REGISTRATION)
   Inspired by clean modern card design (Welcome Back!)
   ======================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(224, 242, 254, 0.75) 0%, rgba(186, 230, 253, 0.5) 45%, rgba(15, 23, 42, 0.55) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px 16px;
    overflow-y: auto;
}

.auth-clean-card {
    background: #ffffff;
    border-radius: 28px;
    width: 100%;
    max-width: 440px;
    padding: 42px 36px 36px 36px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.14), 0 4px 16px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
    animation: scaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.auth-clean-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.auth-clean-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

/* Card Header: Title & Subtitle */
.auth-clean-header {
    margin-bottom: 24px;
}

.auth-clean-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: #0b1527;
    letter-spacing: -0.5px;
    line-height: 1.18;
    margin-bottom: 8px;
}

.auth-clean-subtitle {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.45;
    font-weight: 400;
}

/* Quick Demo Helper Strip */
.auth-demo-badge-row {
    background: #eff6ff;
    border: 1px dashed #bfdbfe;
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #1e40af;
}

.auth-demo-fill-btn {
    background: #1d4ed8;
    color: #ffffff;
    border: none;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.auth-demo-fill-btn:hover {
    background: #1e40af;
}

/* Error Alert Box */
.auth-clean-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

/* Clean Input Fields */
.auth-clean-form {
    width: 100%;
}

.auth-clean-input-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    height: 54px;
    padding: 0 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.auth-clean-input-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.auth-clean-icon {
    font-size: 1.15rem;
    color: #0f172a;
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.auth-clean-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.98rem;
    color: #0f172a;
    font-family: inherit;
    font-weight: 500;
}

.auth-clean-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.auth-clean-eye-btn {
    background: none;
    border: none;
    color: #475569;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.auth-clean-eye-btn:hover {
    color: #0f172a;
}

/* Remember Me & Forgot Password Row */
.auth-clean-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 24px 0;
}

.auth-clean-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.92rem;
    color: #334155;
    font-weight: 500;
}

.auth-clean-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: #1d4ed8;
    cursor: pointer;
}

.auth-clean-forgot-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s;
}

.auth-clean-forgot-btn:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Primary Action Button (Pill Button) */
.auth-clean-primary-btn {
    width: 100%;
    height: 52px;
    border-radius: 9999px;
    background: #1d4ed8;
    color: #ffffff;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
    font-family: inherit;
}

.auth-clean-primary-btn:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}

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

.auth-clean-primary-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Divider: OR */
.auth-clean-divider {
    display: flex;
    align-items: center;
    margin: 24px 0 20px 0;
    text-align: center;
}

.auth-clean-divider::before,
.auth-clean-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-clean-divider span {
    padding: 0 16px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Social Buttons */
.auth-clean-social-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}

.auth-clean-social-btn {
    width: 100%;
    height: 50px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.auth-clean-social-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Bottom Footer Switcher */
.auth-clean-footer {
    text-align: center;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.auth-clean-link {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    margin-left: 6px;
    font-family: inherit;
    transition: color 0.15s;
}

.auth-clean-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .auth-clean-card {
        padding: 32px 22px 26px 22px;
        border-radius: 24px;
    }
    .auth-clean-title {
        font-size: 1.8rem;
    }
}

/* ========================================================
   MODERN HOME PAGE REDESIGN STYLES
   ======================================================== */

/* 1. Category Story Bubbles Bar */
.category-bubbles-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.category-bubbles-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.category-bubbles-inner::-webkit-scrollbar {
    display: none;
}

.category-bubble-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

.category-bubble-pill:hover {
    background: var(--primary-light);
    border-color: var(--primary-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.category-bubble-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 77, 231, 0.15);
}

.category-bubble-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-navy);
}

.category-bubble-tag {
    font-size: 0.72rem;
    color: var(--accent-green);
    font-weight: 700;
    margin-left: 2px;
}

/* 2. Modern Hero Showcase Layout */
.modern-hero-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    padding: 24px 24px 36px 24px;
    border-bottom: 1px solid var(--border);
}

.modern-hero-grid {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: stretch;
}

/* Main Hero Carousel */
.hero-carousel-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slide-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 44px 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.02);
}

.hero-slide-stage.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide-content {
    max-width: 60%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-slide-badge {
    width: fit-content;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.hero-slide-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-slide-title .text-gold {
    color: #fde047;
}

.hero-slide-sub {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #e2e8f0;
    max-width: 520px;
}

.hero-slide-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-slide-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.hero-slide-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.hero-slide-btn-primary {
    background: #ffffff;
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 800;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.hero-slide-btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide-btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 11px 20px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.hero-slide-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-slide-artwork {
    position: absolute;
    right: 20px;
    bottom: 0;
    max-height: 92%;
    max-width: 42%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* Hero Carousel Controls */
.hero-carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.hero-carousel-nav-btn:hover {
    background: rgba(0, 77, 231, 0.9);
    transform: translateY(-50%) scale(1.08);
}

.hero-carousel-nav-btn.prev { left: 16px; }
.hero-carousel-nav-btn.next { right: 16px; }

.hero-carousel-indicators {
    position: absolute;
    bottom: 18px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.hero-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel-dot.active {
    width: 28px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

/* Deal of the Hour Spotlight Card (Hero Right) */
.hero-deal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.deal-header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.deal-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 800;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    animation: pulseRed 1.4s infinite;
}

@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.countdown-timer-box {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-navy);
}

.timer-unit-pill {
    background: #0f172a;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.76rem;
}

.deal-product-preview {
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
}

.deal-product-thumb {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.deal-product-preview:hover .deal-product-thumb {
    transform: scale(1.06);
}

.deal-product-title {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.35;
    margin: 8px 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-seller-line {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.deal-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 4px 0;
}

.deal-price-current {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}

.deal-price-strike {
    font-size: 0.88rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.deal-discount-badge {
    background: #ecfdf5;
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    margin-left: auto;
}

.deal-stock-bar {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.deal-stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-slate);
}

.deal-stock-track {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.deal-stock-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316 0%, #ef4444 100%);
    border-radius: var(--radius-full);
}

.btn-deal-claim {
    margin-top: 14px;
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 77, 231, 0.3);
    transition: var(--transition);
}

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

/* 3. Modern Section Containers */
.home-section-container {
    max-width: 1380px;
    margin: 36px auto;
    padding: 0 24px;
}

.home-section-header-modern {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-title-wrap h2 {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title-wrap p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.section-view-all-link {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.section-view-all-link:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

/* 4. Curated Department Banners Grid */
.curated-departments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.curated-dept-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.curated-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}

.curated-dept-banner {
    padding: 22px 20px 18px 20px;
    position: relative;
    color: #ffffff;
}

.curated-dept-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.curated-dept-banner h3 {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.25;
}

.curated-dept-banner p {
    font-size: 0.78rem;
    opacity: 0.9;
    margin-top: 4px;
}

.curated-dept-body {
    padding: 16px 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.curated-dept-preview-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.curated-dept-preview-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.curated-dept-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary);
}

/* 5. Interactive Product Tabs Bar */
.home-tabs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.home-tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-slate);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-bottom: 12px;
}

.home-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.home-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 77, 231, 0.3);
}

/* 6. Verified Seller Storefronts Grid */
.seller-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.seller-spotlight-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--border);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
}

.seller-spotlight-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.seller-spotlight-avatar {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-lg);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.seller-spotlight-info h4 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.seller-spotlight-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 4px 0 8px 0;
}

.seller-stat-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seller-stat-badge {
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    color: var(--text-slate);
    border: 1px solid var(--border);
}

.seller-stat-badge.green {
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-color: transparent;
}

/* 7. Promotional Coupon Banner */
.home-promo-coupon-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--shadow-xl);
    margin: 36px 0;
}

.coupon-content h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.coupon-content p {
    font-size: 0.92rem;
    color: #c7d2fe;
}

.coupon-code-action-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.35);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.coupon-code-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fde047;
}

.btn-copy-coupon {
    background: #ffffff;
    color: #1e1b4b;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy-coupon:hover {
    background: #fde047;
}

/* 8. Verified Buyer Reviews Strip */
.customer-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.customer-review-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-size: 0.85rem;
}

.review-text {
    font-size: 0.88rem;
    color: var(--text-slate);
    line-height: 1.5;
    font-style: italic;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.84rem;
}

.review-author-name {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--text-navy);
}

.review-author-location {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* ========================================================
   PRINT STYLES FOR TAX INVOICE
   ======================================================== */
@media print {
    body * {
        visibility: hidden;
    }
    .confirmation-container, .confirmation-container * {
        visibility: visible;
    }
    .confirmation-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    .conf-actions-row, .main-header, .announcement-bar {
        display: none !important;
    }
}


/* ========================================================
   DEDICATED CHECKOUT & PAYMENT GATEWAY PAGE STYLES
   ======================================================== */

.checkout-page-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 28px 24px 64px;
    animation: fadeIn 0.25s ease-out;
}

.checkout-page-header {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.checkout-page-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.checkout-nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.checkout-back-link {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.checkout-back-link:hover {
    background: #eff6ff;
}

.checkout-sep {
    color: #cbd5e1;
}

.checkout-current-crumb {
    color: var(--text-navy);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stepper-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.55;
    transition: 0.2s;
}

.stepper-step.active {
    opacity: 1;
    font-weight: 700;
}

.stepper-step.completed {
    opacity: 1;
    color: var(--accent-green);
    font-weight: 700;
}

.stepper-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 800;
}

.stepper-step.active .stepper-dot {
    background: var(--primary);
    color: #ffffff;
}

.stepper-step.completed .stepper-dot {
    background: var(--accent-green);
    color: #ffffff;
}

.stepper-label {
    font-size: 0.82rem;
    color: var(--text-navy);
}

.stepper-line {
    width: 28px;
    height: 2px;
    background: #e2e8f0;
}

/* Main Grid Layout */
.checkout-main-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 28px;
    align-items: start;
}

.checkout-primary-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-card-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.checkout-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 10px;
}

.checkout-card-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-logged-pill {
    background: #ecfdf5;
    color: #047857;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid #a7f3d0;
}

.checkout-text-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
}

.checkout-security-pill {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-row-3col {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-group-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-navy);
}

.form-input-text, .form-select-text {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-navy);
    background: #ffffff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.form-input-text:focus, .form-select-text:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.billing-toggle-box {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.billing-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-slate);
    cursor: pointer;
    font-weight: 600;
}

.separate-billing-container {
    margin-top: 14px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.delivery-method-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-method-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1.5px solid #bfdbfe;
    background: #f0f7ff;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.delivery-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.94rem;
    color: var(--text-navy);
    margin-bottom: 4px;
}

.delivery-card-info p {
    font-size: 0.82rem;
    color: var(--text-slate);
    line-height: 1.4;
    margin: 0;
}

.badge-free-pill {
    background: #ecfdf5;
    color: #047857;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
}

/* Gateway Configuration Box */
.gateway-config-box {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    overflow: hidden;
}

.gateway-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    background: #e0f2fe;
    transition: background 0.15s;
    user-select: none;
}

.gateway-config-header:hover {
    background: #bae6fd;
}

.gateway-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.gateway-status-tag {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    border: 1px solid #86efac;
}

.gateway-config-body {
    padding: 18px;
    border-top: 1px solid #bae6fd;
    background: #f8fafc;
}

.gateway-env-switcher {
    display: flex;
    gap: 8px;
}

.gateway-env-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    border: 1.5px solid var(--border);
    background: #ffffff;
    cursor: pointer;
    transition: 0.15s;
    color: var(--text-navy);
}

.gateway-env-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.btn-save-gateway {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-save-gateway:hover {
    background: #0369a1;
}

/* Payment Methods */
.checkout-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-pay-tab {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
    overflow: hidden;
}

.checkout-pay-tab.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.checkout-pay-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.15s;
}

.checkout-pay-tab.active .checkout-pay-tab-header {
    background: #f8fafc;
}

.checkout-pay-tab-body {
    padding: 18px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.pay-method-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.pay-method-badge.upi {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.pay-method-badge.cod {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.card-brand-pill {
    font-size: 0.7rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.card-brand-pill.visa { color: #1a1f71; background: #e0e7ff; }
.card-brand-pill.mc { color: #eb001b; background: #ffe4e6; }
.card-brand-pill.rupay { color: #0284c7; background: #e0f2fe; }

.upi-options-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.upi-qr-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.upi-qr-frame {
    width: 105px;
    height: 105px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
}

.upi-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upi-qr-info h5 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 4px;
}

.upi-qr-info p {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin-bottom: 6px;
}

.qr-timer-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.upi-vpa-box {
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-verify-vpa {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

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

.bank-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bank-chip-btn {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-navy);
    cursor: pointer;
    transition: 0.15s;
}

.bank-chip-btn:hover {
    background: #f1f5f9;
}

.bank-chip-btn.active {
    background: #eff6ff;
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.btn-complete-pay {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
    transition: all 0.2s;
}

.btn-complete-pay:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.45);
}

.btn-complete-pay:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.checkout-trust-seals-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 14px;
    flex-wrap: wrap;
}

/* Sticky Sidebar Order Summary */
.checkout-sidebar-column {
    position: sticky;
    top: 100px;
}

.checkout-summary-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.checkout-items-preview-list {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    padding-right: 4px;
}

.checkout-item-preview-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.checkout-item-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

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

.checkout-item-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-item-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.checkout-item-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-navy);
    flex-shrink: 0;
}

.checkout-coupon-card {
    margin-bottom: 18px;
}

.checkout-coupon-form {
    display: flex;
    gap: 8px;
}

.checkout-coupon-field {
    flex: 1;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
}

.btn-coupon-apply {
    padding: 9px 16px;
    background: var(--text-navy);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-coupon-apply:hover {
    opacity: 0.9;
}

.coupon-quick-chip {
    margin-top: 8px;
    padding: 7px 10px;
    background: #f0fdf4;
    border: 1px dashed #86efac;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: #15803d;
    cursor: pointer;
    text-align: center;
    transition: 0.15s;
}

.coupon-quick-chip:hover {
    background: #dcfce7;
}

.applied-coupon-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    color: #047857;
}

.btn-remove-coupon {
    background: transparent;
    border: none;
    color: #dc2626;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkout-bill-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    color: var(--text-slate);
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    color: var(--text-navy);
}

.checkout-protection-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
}

.checkout-protection-box h5 {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.checkout-protection-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-protection-box li {
    font-size: 0.76rem;
    color: var(--text-slate);
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-protection-box li i {
    color: var(--accent-green);
    font-size: 0.7rem;
}

/* Confirmed Order State */
.checkout-confirmed-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.conf-badge-animated {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.conf-details-pill-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: left;
}

.conf-pill-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.conf-pill-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conf-items-table-box {
    margin: 24px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    background: #ffffff;
}

.conf-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.conf-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.conf-bill-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.conf-actions-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Empty State */
.checkout-empty-state {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px 24px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}

.checkout-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.checkout-empty-state h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 8px;
}

.checkout-empty-state p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .checkout-main-grid {
        grid-template-columns: 1fr;
    }
    .upi-options-split {
        grid-template-columns: 1fr;
    }
    .conf-details-pill-row {
        grid-template-columns: 1fr 1fr;
    }
    .checkout-sidebar-column {
        position: static;
    }
}

@media (max-width: 640px) {
    .form-row-2col, .form-row-3col {
        grid-template-columns: 1fr;
    }
    .conf-details-pill-row {
        grid-template-columns: 1fr;
    }
    .checkout-stepper {
        display: none;
    }
}


/* ========================================================
   CART & CHECKOUT LOGIN ENFORCEMENT STYLES
   ======================================================== */

.cart-login-required-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-login-required-hint i {
    font-size: 0.9rem;
    color: #dc2626;
}

.checkout-login-required-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1.5px solid #93c5fd;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(37,99,235,0.08);
    animation: fadeIn 0.2s ease-out;
}

.login-req-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.login-req-content {
    flex: 1;
}

.login-req-content h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0 0 4px 0;
}

.login-req-content p {
    font-size: 0.82rem;
    color: #3b82f6;
    margin: 0;
    line-height: 1.4;
}

.login-req-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-req-signin {
    padding: 8px 16px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
}

.btn-req-signin:hover {
    background: #1d4ed8;
}

.btn-req-register {
    padding: 8px 16px;
    background: #ffffff;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.btn-req-register:hover {
    background: #eff6ff;
}

.auth-checkout-intent-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1.5px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 0.82rem;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: left;
}

.auth-checkout-intent-alert i {
    font-size: 1.1rem;
    color: #2563eb;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .checkout-login-required-notice {
        flex-direction: column;
        text-align: center;
    }
    .login-req-icon {
        margin: 0 auto;
    }
    .login-req-buttons {
        width: 100%;
        justify-content: center;
    }
}


/* ========================================================
   CUSTOMER PROFILE HUB & ACCOUNT STYLES
   ======================================================== */

.wallet-mini-badge {
    background: #ecfdf5;
    color: #047857;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    border: 1px solid #a7f3d0;
}

.btn-wishlist-action {
    position: relative;
}

.profile-page-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 24px 64px;
    animation: fadeIn 0.25s ease-out;
}

.profile-page-header {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.profile-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.profile-auth-gate-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px 32px;
    text-align: center;
    max-width: 620px;
    margin: 40px auto;
    box-shadow: var(--shadow-md);
}

.auth-gate-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.profile-auth-gate-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 8px;
}

.profile-auth-gate-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.auth-gate-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Profile Hero Banner */
.profile-hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    margin-bottom: 26px;
    box-shadow: 0 4px 18px rgba(37,99,235,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.profile-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar-large {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ffffff;
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.profile-hero-meta h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.profile-verified-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 800;
}

.profile-security-badge {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
}

.profile-meta-sub {
    display: flex;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
    flex-wrap: wrap;
}

.profile-metric-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.metric-tile {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}

.metric-tile:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
}

.metric-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-weight: 700;
}

.metric-val {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
}

.metric-sub {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.7);
}

/* Profile Layout 2-Col */
.profile-main-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 26px;
    align-items: start;
}

.profile-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-nav-menu {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-slate);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s;
    text-align: left;
}

.profile-nav-btn i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.profile-nav-btn:hover {
    background: #f8fafc;
    color: var(--primary);
}

.profile-nav-btn.active {
    background: #eff6ff;
    color: var(--primary);
    font-weight: 800;
    border-left: 3px solid var(--primary);
}

.nav-pill-count {
    margin-left: auto;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
}

.profile-nav-btn.active .nav-pill-count {
    background: var(--primary);
    color: #ffffff;
}

.nav-pill-wallet {
    margin-left: auto;
    background: #ecfdf5;
    color: #047857;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
}

.profile-nav-sep {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

.nav-logout-btn {
    color: #ef4444;
}

.nav-logout-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

.profile-help-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

/* Right Content Area */
.profile-content-column {
    min-width: 0;
}

.profile-tab-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.2s ease-out;
}

.tab-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}

.tab-card-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--text-navy);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.tab-card-subtitle {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 4px 0 0 0;
}

.btn-tab-action {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.15s;
}

.btn-tab-action:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Tab 1: Details Grid */
.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-item-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item-box-editable {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-item-box-editable:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.detail-item-box-editable .form-input-text,
.detail-item-box-editable .form-select-text {
    width: 100%;
    margin-top: 2px;
}

.detail-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.detail-val {
    font-size: 1rem;
    color: var(--text-navy);
    font-weight: 800;
}

.detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-top: 6px;
    width: fit-content;
}

.tag-verified {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.tag-blue {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.tag-green {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
}

.profile-referral-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #fef3c7 100%);
    border: 1.5px solid #fde68a;
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

.referral-banner-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.referral-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.referral-banner-left h4 {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-navy);
    margin: 0 0 2px 0;
}

.referral-banner-left p {
    font-size: 0.8rem;
    color: var(--text-slate);
    margin: 0;
}

.btn-copy-code {
    padding: 9px 16px;
    background: #f59e0b;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-default-address-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
}

/* Tab 2: Edit Form */
.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

/* Tab 3: Orders List */
.profile-orders-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-order-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}

.order-number-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-id-text {
    font-size: 1rem;
    color: var(--text-navy);
}

.order-status-pill {
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-full);
}

.order-status-pill.dispatched {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.order-status-pill.delivered {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.order-date-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

.order-grand-total {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary);
}

.order-pay-method {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.order-items-list {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.order-item-name {
    font-size: 0.88rem;
    color: var(--text-navy);
}

.order-item-seller {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.order-item-price {
    font-size: 0.94rem;
    color: var(--text-navy);
}

.order-card-actions {
    padding: 12px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-order-action {
    padding: 7px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-order-action.primary {
    background: var(--primary);
    color: #ffffff;
    border: none;
}

.btn-order-action.secondary {
    background: #f8fafc;
    color: var(--text-navy);
    border: 1px solid var(--border);
}

/* Tab 4: Wishlist Grid */
.profile-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.profile-wishlist-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-wishlist-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.wishlist-img-frame {
    height: 180px;
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    cursor: pointer;
}

.wishlist-img-frame img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.btn-remove-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background 0.15s;
}

.btn-remove-wishlist:hover {
    background: #dc2626;
}

.wishlist-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wishlist-brand {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.wishlist-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-navy);
    margin: 4px 0;
    cursor: pointer;
    line-height: 1.35;
}

.wishlist-seller {
    font-size: 0.76rem;
    color: var(--primary);
}

.wishlist-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0;
}

.wishlist-price {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text-navy);
}

.wishlist-mrp {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.wishlist-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-wishlist-cart {
    flex: 1;
    padding: 8px 10px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-wishlist-buy {
    padding: 8px 12px;
    background: #f8fafc;
    color: var(--text-navy);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

/* Tab 5: Wallet */
.wallet-hero-card {
    background: linear-gradient(135deg, #047857 0%, #10b981 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(16,185,129,0.25);
}

.wallet-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.wallet-card-tag {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.wallet-balance-amount {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 4px 0;
    color: #ffffff;
}

.wallet-balance-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.btn-wallet-topup {
    padding: 8px 14px;
    background: #ffffff;
    color: #047857;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.15s;
}

.btn-wallet-topup:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.wallet-referral-box {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

.referral-box-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.referral-box-left h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-navy);
    margin: 0 0 2px 0;
}

.referral-box-left p {
    font-size: 0.8rem;
    color: var(--text-slate);
    margin: 0;
}

.wallet-txns-table {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.wallet-txn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.wallet-txn-row:last-child {
    border-bottom: none;
}

.txn-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.txn-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #047857;
    display: flex;
    align-items: center;
    justify-content: center;
}

.txn-title {
    font-size: 0.88rem;
    color: var(--text-navy);
}

.txn-meta {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

.txn-amount-credit {
    font-size: 0.95rem;
    color: #047857;
    font-weight: 800;
    display: block;
}

.txn-status-badge {
    font-size: 0.7rem;
    color: #64748b;
}

/* Tab 6: Addresses */
.profile-addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.profile-addr-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.profile-addr-card.default-addr {
    border-color: var(--primary);
    background: #f0f7ff;
}

.addr-type-pill {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
}

.addr-default-pill {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #bfdbfe;
}

.addr-recipient {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-navy);
    margin: 12px 0 4px;
}

.addr-phone {
    font-size: 0.82rem;
    color: var(--text-slate);
    margin-bottom: 6px;
}

.addr-street {
    font-size: 0.84rem;
    color: var(--text-slate),
    line-height: 1.45;
    margin: 0 0 16px;
}

.addr-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-addr-action {
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-navy);
}

.btn-addr-action.delete {
    color: #ef4444;
    border-color: #fecaca;
    background: #fef2f2;
}

/* Tab 7: FAQ */
.faq-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 20px;
}

.faq-search-box i {
    color: var(--text-muted);
}

.faq-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.88rem;
    width: 100%;
    font-family: inherit;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.15s;
}

.faq-item-card.open {
    border-color: var(--primary);
}

.faq-question-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    background: #ffffff;
    user-select: none;
}

.faq-item-card.open .faq-question-row {
    background: #f8fafc;
}

.faq-category-pill {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    background: #eff6ff;
    color: var(--primary);
}

.faq-question-text {
    font-size: 0.92rem;
    color: var(--text-navy);
}

.faq-answer-row {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.faq-answer-row p {
    font-size: 0.86rem;
    color: var(--text-slate);
    line-height: 1.6;
    margin: 0;
}

/* Tab 8: Terms */
.terms-content-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.terms-section {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.terms-section h4 {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-navy);
    margin: 0 0 8px;
}

.terms-section p {
    font-size: 0.84rem;
    color: var(--text-slate);
    line-height: 1.55;
    margin: 0;
}

/* Empty states */
.tab-empty-state {
    text-align: center;
    padding: 48px 20px;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

.tab-empty-state i {
    font-size: 2.2rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.tab-empty-state h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 6px;
}

.tab-empty-state p {
    font-size: 0.86rem;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 18px;
}

/* Profile Responsiveness */
@media (max-width: 992px) {
    .profile-main-layout {
        grid-template-columns: 1fr;
    }
    .profile-metric-tiles {
        grid-template-columns: 1fr 1fr;
    }
    .profile-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .profile-hero-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-metric-tiles {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* =========================================================================
   CUSTOMER STOREFRONT - ADVANCED MEGA MENU STYLES
   Multi-level hierarchy (Level 1 Parent -> Level 2 Submenu -> Level 3/4 Child)
   Full URL-aware navigation with instant previews & search filter
   ========================================================================= */

.mega-menu-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 890;
}

@keyframes megaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes megaSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.customer-mega-menu-flyout {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0 24px;
    animation: megaSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mega-menu-card {
    max-width: 1380px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 310px 1fr;
    min-height: 520px;
    max-height: calc(85vh - 120px);
    overflow: hidden;
}

/* 1. LEFT SIDEBAR: Departments List */
.mega-dept-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mega-dept-search-wrap {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    position: relative;
}

.mega-dept-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px 8px 32px;
    font-size: 0.82rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.mega-dept-search-input:focus {
    border-color: #004de7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 77, 231, 0.1);
}

.mega-dept-search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
    pointer-events: none;
}

.mega-dept-list-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.mega-dept-list-scroll::-webkit-scrollbar {
    width: 5px;
}

.mega-dept-list-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.mega-dept-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-bottom: 2px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
}

.mega-dept-btn:hover {
    background: #eff6ff;
    color: #004de7;
}

.mega-dept-btn.active {
    background: #ffffff;
    color: #004de7;
    font-weight: 800;
    border-color: #bfdbfe;
    box-shadow: 0 2px 8px rgba(0, 77, 231, 0.12);
}

/* Crisp vertical active indicator line */
.mega-dept-btn.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: #004de7;
    border-radius: 0 4px 4px 0;
}

.mega-dept-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.mega-dept-btn:hover .mega-dept-icon-box,
.mega-dept-btn.active .mega-dept-icon-box {
    background: #004de7;
    color: #ffffff;
}

.mega-dept-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-dept-count-badge {
    font-size: 0.70rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #64748b;
    flex-shrink: 0;
}

.mega-dept-btn.active .mega-dept-count-badge {
    background: #dbeafe;
    color: #004de7;
}

.mega-dept-footer {
    padding: 10px 14px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mega-dept-footer-link {
    font-size: 0.80rem;
    color: #004de7;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mega-dept-footer-link:hover {
    text-decoration: underline;
}

/* 2. RIGHT PANE: Sub-menus & Child Categories */
@keyframes megaShimmer {
    0% {
        background-position: -400px 0;
    }
    100% {
        background-position: 400px 0;
    }
}

@keyframes megaFadeInContent {
    from {
        opacity: 0;
        transform: translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-animate-fadeIn {
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: megaFadeInContent 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mega-right-loading-pane {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    animation: megaFadeInContent 0.12s ease forwards;
}

.mega-skeleton-header {
    background: #ffffff !important;
}

.mega-skeleton-bar {
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 800px 100%;
    animation: megaShimmer 1.3s infinite linear;
    margin-bottom: 8px;
}

.mega-skeleton-bar.heading {
    border-radius: 6px;
    background: linear-gradient(90deg, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%);
    background-size: 800px 100%;
}

.mega-right-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}

.mega-right-header {
    padding: 16px 28px;
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mega-right-breadcrumb {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mega-right-breadcrumb-link {
    color: #004de7;
    text-decoration: none;
    font-weight: 600;
}

.mega-right-breadcrumb-link:hover {
    text-decoration: underline;
}

.mega-right-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-right-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-explore-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: #004de7;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.18s ease;
}

.mega-explore-all-btn:hover {
    background: #003ab5;
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.25);
}

.mega-submenus-grid {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 24px 28px;
    align-content: start;
}

.mega-submenus-grid::-webkit-scrollbar {
    width: 6px;
}

.mega-submenus-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.mega-sub-column {
    display: flex;
    flex-direction: column;
}

.mega-sub-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.mega-sub-heading:hover {
    color: #004de7;
    border-bottom-color: #004de7;
}

.mega-sub-heading i {
    font-size: 0.72rem;
    color: #94a3b8;
    transition: transform 0.15s ease;
}

.mega-sub-heading:hover i {
    color: #004de7;
    transform: translateX(3px);
}

.mega-child-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-child-link {
    font-size: 0.82rem;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    transition: all 0.15s ease;
    border-radius: 4px;
}

.mega-child-link:hover {
    color: #004de7;
    padding-left: 4px;
    font-weight: 600;
}

.mega-child-bullet {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.mega-child-link:hover .mega-child-bullet {
    background: #004de7;
    transform: scale(1.3);
}

.mega-leaf-pill {
    display: inline-block;
    font-size: 0.70rem;
    padding: 2px 6px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 4px;
    margin-right: 4px;
    margin-top: 3px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.mega-leaf-pill:hover {
    background: #dbeafe;
    color: #004de7;
}

.mega-right-footer-banner {
    padding: 12px 28px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.80rem;
    color: #64748b;
}

.mega-promo-perks {
    display: flex;
    gap: 18px;
    align-items: center;
}

.mega-promo-perk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.mega-promo-perk i {
    color: #059669;
}

/* Quick Nav Button Active & Hover Effects */
.all-dept-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
    user-select: none;
}

.all-dept-nav-btn.inactive {
    background: #eff6ff;
    color: #004de7;
}

.all-dept-nav-btn.inactive:hover {
    background: #dbeafe;
}

.all-dept-nav-btn.active {
    background: #004de7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 77, 231, 0.28);
}

@media (max-width: 992px) {
    .mega-menu-card {
        grid-template-columns: 1fr;
        max-height: 80vh;
    }
    .mega-dept-sidebar {
        display: none;
    }
    .mega-submenus-grid {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }
}

/* =========================================================================
   3-SECTION MODERN STOREFRONT HERO ENHANCEMENTS
   1. Sleek Low-Height 6-Slide Carousel
   2. Arch-Pill Top Trending Categories
   3. Festival Gold-Header Quad Deals
   ========================================================================= */

.sleek-hero-slider {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sleek-hero-slider:hover button {
    background: rgba(0, 0, 0, 0.6) !important;
}

@media (max-width: 768px) {
    .sleek-hero-slider {
        height: auto !important;
        min-height: 260px !important;
        max-height: none !important;
        padding: 24px 16px !important;
    }
}



/* =========================================================================
   FLIPKART-STYLE DETAILED ENTERPRISE FOOTER
   ========================================================================= */

.ziepee-dark-footer {
    background-color: #212121;
    color: #ffffff;
    font-size: 12px;
    margin-top: 48px;
    border-top: 1px solid #333333;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.ziepee-footer-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 40px 24px 30px;
    display: flex;
    gap: 32px;
}

.ziepee-footer-left-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    flex: 3;
}

.ziepee-footer-divider {
    width: 1px;
    background-color: #454d5e;
    align-self: stretch;
}

.ziepee-footer-right-cols {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    flex: 2;
}

.ziepee-footer-title {
    color: #878787;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ziepee-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ziepee-footer-links li a,
.ziepee-footer-links li span {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    transition: color 0.15s ease;
    cursor: pointer;
}

.ziepee-footer-links li a:hover,
.ziepee-footer-links li span:hover {
    text-decoration: underline;
    color: #2874f0;
}

.ziepee-footer-address {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.65;
    font-style: normal;
}

.ziepee-footer-social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.ziepee-footer-social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ziepee-footer-social-icon:hover {
    color: #2874f0;
    transform: translateY(-2px);
}

.ziepee-footer-bottom-bar {
    border-top: 1px solid #454d5e;
    padding: 22px 24px;
}

.ziepee-footer-bottom-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.ziepee-footer-action-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.15s ease;
}

.ziepee-footer-action-item:hover {
    color: #eab308;
}

.ziepee-footer-payment-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-badge-pill {
    background: #ffffff;
    border-radius: 4px;
    height: 22px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
    .ziepee-footer-inner {
        flex-direction: column;
    }
    .ziepee-footer-divider {
        width: 100%;
        height: 1px;
    }
    .ziepee-footer-left-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .ziepee-footer-right-cols {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ZIEPEE CHECKOUT ENHANCED RESPONSIVE GRID (ULTRA WIDE & COMFORTABLE)
   ========================================================================== */
.checkout-outer-container {
    width: 100% !important;
    max-width: 1560px !important;
    margin: 20px auto 60px auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1120px) {
    .checkout-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .checkout-outer-container {
        padding: 0 16px !important;
        margin: 16px auto 40px auto !important;
    }
}
