:root {
    --bg-main: #f0f4fd;
    --bg-card: #ffffff;
    --bg-input: #eef2fa;
    --border-color: rgba(99, 102, 241, 0.12);
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    --accent-purple: #4f46e5;
    --accent-blue: #3b82f6;
    --accent-pink: #f43397;
    --green: #10b981;
    --red: #ef4444;
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
    --bg-main: #0b0f19;
    --bg-card: #151c2e;
    --bg-input: #1e293b;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
}

html, body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    background-color: #ffffff;
    color: var(--text-main);
}

body {
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

#app {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 85px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

/* Standalone Auth Lock Overlay Screen */
.auth-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: var(--bg-main);
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-lock-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 28px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-badge-lg {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
    margin-bottom: 16px;
    transform: rotate(-12deg);
}

.m-logo-lg {
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
}

.auth-lock-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-lock-card h2 span {
    color: var(--accent-purple);
}

.auth-lock-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Loader */
.app-loader-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.spinner-ring {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 3px solid rgba(79, 70, 229, 0.2);
    border-top-color: var(--accent-purple);
    animation: loaderRotate 0.8s linear infinite;
}

.loader-msg {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    font-variant: small-caps;
    letter-spacing: 0.5px;
    color: var(--accent-purple);
}

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

/* Header (Top Navigation System) */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.brand-badge {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.35);
    overflow: visible;
    flex-shrink: 0;
}

.brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    overflow: hidden;
}

/* Sleek Running Light-Blue Glow Border around the 28px circle */
.brand-badge::after {
    content: '';
    position: absolute;
    top: -2.5px;
    left: -2.5px;
    right: -2.5px;
    bottom: -2.5px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #38bdf8, #60a5fa, #3b82f6, #0284c7, #38bdf8);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: runningBlueGlow 2.5s linear infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes runningBlueGlow {
    0% { background-position: 0% 50%; box-shadow: 0 0 6px rgba(56,189,248,0.4); }
    50% { background-position: 100% 50%; box-shadow: 0 0 10px rgba(96,165,250,0.5); }
    100% { background-position: 0% 50%; box-shadow: 0 0 6px rgba(56,189,248,0.4); }
}

.m-logo {
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Prevent Web Page Shaking / Scrollbar Shifts */
html, body {
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

.brand-name-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

/* Order Status Filter Chips */
.order-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.order-filter-chip i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.order-filter-chip:hover {
    border-color: var(--accent-purple);
    color: var(--text-main);
    transform: translateY(-1px);
}

.order-filter-chip.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(124, 58, 237, 0.12));
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.2);
}

.order-filter-chip.active i {
    transform: scale(1.1);
}

/* Header Center Selected Account Card (Slim Thin Capsule, Plain Chevron) */
.header-center-card {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 9999px;
    padding: 3px 14px;
    height: 32px;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-center-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

.header-account-text {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.header-chevron-simple {
    font-size: 11px;
    color: var(--accent-purple);
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.header-center-card:hover .header-chevron-simple {
    transform: translateY(1px);
}

/* Header Wallet / Fee Balance Pill (Matching User Screenshot) */
.header-wallet-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1.5px solid #10b981;
    border-radius: 9999px;
    padding: 3px 10px 3px 4px;
    height: 32px;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
    transition: all 0.2s ease;
}

.header-wallet-pill:hover {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.header-wallet-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.header-wallet-val {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.2px;
}

.avatar-status-dot {
    position: absolute;
    bottom: -1px; right: -1px;
    width: 10px; height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    animation: blink-dot 1.5s infinite alternate;
}

@keyframes blink-dot {
    0% { box-shadow: 0 0 2px rgba(16, 185, 129, 0.4); opacity: 0.6; }
    100% { box-shadow: 0 0 10px #10b981, 0 0 18px #10b981; opacity: 1; transform: scale(1.15); }
}

/* Top Clean Toast Banner (Thin & Sleek) */
.timeline-toast-banner {
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 320px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 7px 12px 6px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: top 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(16px);
}

.timeline-toast-banner.show {
    top: 14px;
}

.timeline-toast-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-toast-icon-box {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    flex-shrink: 0;
}

.timeline-toast-msg {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-main);
}

.timeline-toast-progress {
    height: 2px;
    background: #ef4444;
    width: 100%;
    margin-top: 5px;
    border-radius: 2px;
    transition: width 2s linear;
}

.logo-avatar-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
}

/* Search Sub-Tabs Seamless Pill Capsule Bar */
.search-options-pill-bar {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 9999px;
    margin-top: 6px;
    margin-bottom: 30px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.search-opt-pill {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    font-variant: normal;
    text-transform: none;
    padding: 10px 20px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
}

.search-opt-pill i {
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.search-opt-pill.active {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    font-weight: 800;
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.search-opt-pill.active i {
    color: #ffffff;
}

/* Detail Hero Image Carousel Box */
.detail-hero-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.detail-hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 380px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

[data-theme="dark"] .detail-hero-img-wrap {
    background: var(--bg-card);
}

.detail-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.hero-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    outline: none;
}

.hero-arrow-btn.left { left: 12px; }
.hero-arrow-btn.right { right: 12px; }

.hero-arrow-btn:hover {
    background: var(--accent-purple);
    border-color: transparent;
    transform: translateY(-50%) scale(1.12);
}

/* Phone-Style Carousel Dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.carousel-dot.active {
    width: 20px;
    border-radius: 10px;
    background: #ffffff;
    opacity: 1;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Search Input Pill Box & Circular Arrow Button */
.search-input-pill-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.search-input-inner {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-color);
    border-radius: 9999px;
    padding: 0 16px;
    height: 48px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.search-box-ico {
    font-size: 15px;
    margin-right: 10px;
    color: var(--accent-purple);
    flex-shrink: 0;
}

.search-input-inner input,
.search-input-inner input:focus,
.search-input-inner input:-webkit-autofill,
.search-input-inner input:-webkit-autofill:hover,
.search-input-inner input:-webkit-autofill:focus {
    flex: 1;
    min-width: 0;
    width: 100%;
    background-color: transparent !important;
    background: transparent !important;
    border: none;
    outline: none;
    color: var(--text-main) !important;
    -webkit-text-fill-color: var(--text-main) !important;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-main);
    box-shadow: none !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
}

.search-input-inner input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

#clear-search-query-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    margin-left: 6px;
}

#clear-search-query-btn:hover {
    color: #4f46e5;
}

.search-go-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 800;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.search-go-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.55);
}

/* Search History Card */
.search-history-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.search-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.search-history-title {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-history-title i {
    color: var(--accent-purple);
}

.history-clear-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.history-clear-btn:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: var(--red);
}

.search-history-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.history-chip {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.history-chip:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

/* Sort & Filter Bar above Product Results */
.search-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}

.filter-chip {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 4px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.filter-chip:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.filter-chip.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.acc-action-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--accent-purple);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.acc-action-icon-btn:hover {
    background: rgba(79, 70, 229, 0.12);
    border-color: var(--accent-purple);
    transform: scale(1.08);
}

/* Product List Rows (Spacious Cards with Embedded White-Border Image) */
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0;
    content-visibility: auto;
}

.product-row-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 0 108px;
}

[data-theme="dark"] .product-row-card {
    background: rgba(30, 30, 50, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* Clean Embedded Image Box with Side White/Light Border */
.product-row-img-box {
    position: relative;
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

[data-theme="dark"] .product-row-img-box {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.product-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content-visibility: auto;
}

.product-link-overlay-sm {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    font-size: 9.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    z-index: 2;
}

.product-link-overlay-sm:hover {
    opacity: 1;
    background: var(--accent-purple);
}

.product-row-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px; /* Clear spacing between title, price, and rating rows */
    min-width: 0;
}

.product-row-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-supplier-inline {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-upi-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9.5px;
    font-weight: 800;
    color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 1.5px 7px;
    border-radius: 8px;
    letter-spacing: 0.2px;
}

.product-row-add-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.38);
    margin-left: auto;
    flex-shrink: 0;
}

.product-row-add-btn:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: scale(1.1);
}

.product-row-add-btn:active {
    transform: scale(0.92);
}

.product-stock-text {
    font-size: 9.5px;
    color: var(--accent-purple);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(79, 70, 229, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
    width: fit-content;
    max-width: 100%;
}

.no-more-results-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px 12px 20px 12px;
    width: 100%;
}

.no-more-results-banner .banner-line {
    flex: 1;
    height: 2px;
    background: #64748b;
    border-radius: 2px;
    opacity: 1;
}

.no-more-results-banner .banner-text {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

[data-theme="dark"] .no-more-results-banner .banner-line {
    background: #cbd5e1;
}

[data-theme="dark"] .no-more-results-banner .banner-text {
    color: #f8fafc;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 900;
    color: var(--accent-purple);
}

.product-mrp {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-discount {
    font-size: 10px;
    font-weight: 800;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 7px;
    border-radius: 8px;
}

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

.product-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
}

.product-rating-badge.rating-green {
    background: #15803d;
}

.product-rating-badge.rating-yellow {
    background: #d97706;
}

.product-rating-badge i {
    font-size: 8px;
}

.product-rating-count {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.product-desc {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.35;
    opacity: 0.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

.product-card-btns {
    display: flex;
    gap: 6px;
    padding: 6px 10px 10px 10px;
}

.product-add-btn {
    flex: 1;
    padding: 8px 0;
    border: none;
    border-radius: 22px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.25);
}

.product-add-btn:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

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




.product-modal-card {
    max-width: 440px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
}

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

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
}

.logo-avatar-box-lg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.15);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.nav-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.brand-title span {
    color: var(--accent-purple);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone-badge {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    font-family: 'Outfit', monospace;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.icon-toggle {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.icon-toggle:active { transform: scale(0.9); }

/* Main App Body */
.app-body {
    flex: 1;
    padding: 14px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    margin-top: 2px;
    margin-bottom: 14px;
    color: var(--text-main);
}

.tab-view { display: none; }
.tab-view.active {
    display: block;
    animation: fadeIn 0.25s ease-out;
}

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

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

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

.card-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    font-variant: small-caps;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.4;
}

.input-label {
    font-size: 11.5px;
    font-weight: 800;
    font-variant: small-caps;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

/* Account Banner Card */
.account-banner-card {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #6366f1 100%);
    border-radius: 20px;
    padding: 20px;
    color: #ffffff;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.account-banner-card::after {
    content: '✨';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.8;
}

.banner-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-avatar {
    width: 54px; height: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
}

.banner-phone {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
}

.banner-sub {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 2px;
    margin-bottom: 6px;
    font-variant: small-caps;
    letter-spacing: 0.3px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    font-variant: small-caps;
    letter-spacing: 0.4px;
    display: inline-block;
    backdrop-filter: blur(4px);
}

/* Status Card */
.status-card {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    font-variant: small-caps;
    letter-spacing: 0.4px;
}

.status-right {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Offer Card */
.offer-card {
    background: linear-gradient(135deg, #b45309 0%, #3b82f6 100%);
    color: #ffffff;
    border: none;
}

.offer-tag {
    font-size: 0.8rem;
    font-weight: 700;
    font-variant: small-caps;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.offer-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
}

.offer-sub {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 2px;
    margin-bottom: 12px;
}

.btn-offer-refresh {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.78rem;
    font-variant: small-caps;
    letter-spacing: 0.4px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

/* Stats Item */
.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

.stat-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-ico { font-size: 1.1rem; }
.stat-label { font-weight: 700; font-size: 0.88rem; font-variant: small-caps; letter-spacing: 0.4px; }
.stat-val { font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem; }

.stat-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

/* Action Rows */
.action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    cursor: pointer;
}

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

.action-ico {
    width: 36px; height: 36px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-title { font-weight: 700; font-size: 0.88rem; font-variant: small-caps; letter-spacing: 0.4px; }
.action-sub { font-size: 0.75rem; color: var(--text-muted); }
.action-arrow { color: var(--text-muted); font-size: 0.8rem; }

/* Fields and Inputs */
.field-box {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    height: 44px;
    margin-bottom: 12px;
    width: 100%;
}

.field-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    height: 44px;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 700;
    font-size: 0.88rem;
    font-variant: small-caps;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s ease;
}

.btn-full { width: 100%; }
.btn:active { transform: scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-sub {
    background: var(--bg-input);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-danger {
    background: var(--red);
    color: #ffffff;
}

.btn-pill {
    padding: 0 20px;
    height: 38px;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
}

.count-badge-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accounts List & Cards (Sleek Compact System) */
.accounts-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.account-card.active {
    border: 1.5px solid var(--accent-purple);
    background-color: rgba(79, 70, 229, 0.08);
}

.acc-avatar {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 12px;
}

.radio-circle {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.account-card.active .radio-circle {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
}

.radio-checkmark {
    font-size: 10px;
    color: #ffffff;
    font-weight: bold;
    display: none;
}

.account-card.active .radio-checkmark {
    display: block;
}

.action-icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 5px 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.export-pill-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    font-variant: small-caps;
    letter-spacing: 0.3px;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}

.export-pill-btn:hover {
    color: var(--text-main);
}

.delete-icon-btn:hover {
    color: var(--red);
}

.count-badge {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Bottom Nav Bar (Pill Glassmorphism System matching Happy Birthday) */
.nav-bar {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 456px;
    height: 66px;
    background: linear-gradient(135deg, rgba(21, 28, 46, 0.9) 0%, rgba(15, 23, 42, 0.75) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 200;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

[data-theme="light"] .nav-bar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 244, 253, 0.85) 100%);
}

/* Twinkling Stars Background Effect */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: 
        radial-gradient(1.5px 1.5px at 15% 10%, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 35% 25%, rgba(79, 70, 229, 0.9), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 55% 15%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 75% 35%, rgba(59, 130, 246, 0.9), rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 85% 65%, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 25% 75%, rgba(244, 51, 151, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 65% 85%, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 45% 90%, rgba(79, 70, 229, 0.8), rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 280px 280px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    animation: twinkleBg 4s ease-in-out infinite alternate;
}

@keyframes twinkleBg {
    0% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
    100% { opacity: 0.35; transform: scale(1.01); }
}

.nav-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    height: 100%;
    position: relative;
    transition: color 0.2s ease, transform 0.15s ease;
    outline: none;
}

.nav-tab:hover {
    color: var(--text-main);
}

.nav-tab:active {
    transform: scale(0.92);
}

.nav-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.nav-tab span { font-size: 0.72rem; font-weight: 600; font-variant: normal; text-transform: none; letter-spacing: 0.1px; }

.nav-tab.active {
    color: var(--accent-purple);
}

.nav-tab.active .nav-ico {
    transform: translateY(-1px) scale(1.1);
}

/* Full Page Empty State & Welcome Girl Mascot */
.full-page-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 55vh;
    padding: 24px;
}

#search-placeholder-view.full-page-empty {
    min-height: auto;
    padding: 30px 16px;
}

.welcome-girl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    animation: fadeIn 0.4s ease-out;
}

.welcome-girl-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(79, 70, 229, 0.35));
    animation: floatGirl 3s ease-in-out infinite alternate;
}

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

.speech-bubble {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    padding: 14px 18px;
    margin-top: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 280px;
}

.speech-bubble::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: var(--bg-card);
    border-top: 1.5px solid var(--border-color);
    border-left: 1.5px solid var(--border-color);
}

.sb-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--accent-purple);
}

.sb-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.fpe-ring {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    border: 2px solid rgba(79, 70, 229, 0.25);
    color: var(--accent-purple);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 0 24px rgba(79, 70, 229, 0.15);
}

.fpe-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-variant: small-caps;
    letter-spacing: 0.6px;
}

.fpe-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 260px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Modal Overlay & Toasts */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    width: 85%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-actions .btn { flex: 1; }

/* Fixed Top Right Toasts */
#toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 32px);
    max-width: 320px;
    pointer-events: none;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    animation: toastIn 0.25s ease forwards;
}

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

/* ==========================================================================
   DEDICATED PRODUCT DETAIL VIEW STYLES (Matching App & Screenshots)
   ========================================================================== */
.product-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 8px 0;
    background: var(--bg-app);
}

.back-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.back-circle-btn:hover {
    background: var(--accent-purple);
    color: #fff;
    border-color: transparent;
    transform: scale(1.08);
}

.product-detail-header-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Detail Hero Image Carousel Box */
.detail-hero-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 10px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.detail-hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 240px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

[data-theme="dark"] .detail-hero-img-wrap {
    background: rgba(15, 15, 26, 0.85);
}

.detail-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Lightbox Fullscreen Modal */
.lightbox-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease forwards;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 100000;
}

.lightbox-close-btn:hover {
    background: var(--accent-purple);
    transform: scale(1.1);
}

.lightbox-img-box {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-box img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100000;
}

.lightbox-arrow-btn.left { left: 20px; }
.lightbox-arrow-btn.right { right: 20px; }

.lightbox-arrow-btn:hover {
    background: var(--accent-purple);
    transform: translateY(-50%) scale(1.15);
}

/* Account-Style Size Cards Grid */
.size-cards-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.size-item-card {
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: 16px 6px 16px 6px;
    transform: rotate(-1.2deg);
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.sz-card-left {
    font-weight: 800;
    color: var(--text-main);
}

.sz-card-colon {
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    margin: 0 1px;
}

.sz-card-right {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.size-item-card:hover {
    border-color: var(--accent-purple);
    transform: rotate(0deg) scale(1.04);
}

.size-item-card.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(124, 58, 237, 0.14));
    border-color: #4f46e5;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
}

.size-item-card.active .sz-card-left,
.size-item-card.active .sz-card-right {
    color: #4f46e5;
}

/* Fixed Bottom Action Bar (Matching .nav-bar Position & Width inside #app) */
.detail-fixed-bottom-bar {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 456px;
    height: 66px;
    background: linear-gradient(135deg, rgba(21, 28, 46, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 200;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .detail-fixed-bottom-bar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 244, 253, 0.9) 100%);
}

.detail-fixed-bottom-bar .quantity-stepper {
    flex-shrink: 0;
    height: 44px;
    padding: 2px 8px;
}

.detail-bottom-add-cart-btn {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    border: none;
}

/* --- Shimmer Skeleton Loader (Light Youtube/Facebook Style) --- */
@keyframes skeletonShimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.skeleton-box {
    background: linear-gradient(90deg, var(--bg-input) 0%, rgba(200,200,200,0.2) 50%, var(--bg-input) 100%);
    background-size: 400px 100%;
    animation: skeletonShimmer 1.4s infinite ease-in-out;
    border-radius: 8px;
}

.detail-bottom-add-cart-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.4);
}

.detail-bottom-add-cart-btn:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: scale(1.02);
    box-shadow: 0 6px 22px rgba(79, 70, 229, 0.55);
}

.detail-bottom-add-cart-btn:active {
    transform: scale(0.98);
}

.detail-inline-add-cart-btn {
    width: 100%;
    height: 48px;
    border-radius: 24px;
    border: none;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.4);
}

.detail-inline-add-cart-btn:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: scale(1.02);
    box-shadow: 0 6px 22px rgba(79, 70, 229, 0.55);
}

.detail-inline-add-cart-btn:active {
    transform: scale(0.98);
}

.detail-badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(244, 63, 94, 0.4);
    letter-spacing: 0.3px;
}

.detail-copy-link-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.detail-copy-link-btn:hover {
    background: var(--accent-purple);
    transform: scale(1.1);
}

.detail-gallery-thumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 2px 0;
}

.thumb-item {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.thumb-item.active {
    border-color: #4f46e5;
    opacity: 1;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.4);
}

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

/* Detail Card System */
.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px 18px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .detail-card {
    background: rgba(30, 30, 50, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-card-heading {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.detail-product-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.45;
    margin-bottom: 12px;
}

.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.detail-price-main {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: var(--accent-purple);
}

.detail-mrp-strike {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-discount-tag {
    font-size: 11px;
    font-weight: 800;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 9px;
    border-radius: 8px;
}

.detail-prepaid-banner {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .detail-prepaid-banner {
    color: #38bdf8;
}

.detail-seller-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.detail-rating-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    padding: 3.5px 10px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 11px;
}

.detail-delivery-box {
    background: var(--bg-input);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11.5px;
    color: var(--text-main);
}

.del-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.del-row i {
    color: var(--accent-purple);
    width: 16px;
    text-align: center;
}

/* More Designs Scroll Bar (Screenshot 2) */
.more-designs-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.design-card {
    width: 82px;
    min-width: 82px;
    border-radius: 14px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-input);
    cursor: pointer;
    transition: all 0.2s ease;
}

.design-card.active {
    border-color: #4f46e5;
    box-shadow: 0 0 14px rgba(79, 70, 229, 0.35);
}

.design-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.design-card-price {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-main);
    padding: 4px 0;
}

/* Size Pills & Stock Details */
.size-pills-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.size-pill {
    min-width: 54px;
    height: 52px;
    padding: 4px 10px;
    border-radius: 16px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-input);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sz-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.sz-stock-tag {
    font-size: 9px;
    font-weight: 700;
    color: #10b981;
    margin-top: 3px;
    white-space: nowrap;
}

.sz-stock-tag.low {
    color: #f43f5e;
}

.size-pill:hover {
    border-color: var(--accent-purple);
    transform: translateY(-1px);
}

.size-pill.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
    transform: scale(1.05);
}

.size-pill.active .sz-name,
.size-pill.active .sz-stock-tag {
    color: #ffffff !important;
}

.selected-size-summary-box {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.size-stock-banner {
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 10px;
}

.size-stock-banner.in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.size-stock-banner.low-stock {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.25);
}

.size-measurements-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.m-chip {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 8px;
    color: var(--text-main);
}

/* Quantity Stepper (Screenshot 2) */
.quantity-stepper {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 4px 8px;
}

.q-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-purple);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.q-btn:hover {
    background: rgba(124, 58, 237, 0.15);
}

.q-val {
    width: 34px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
}

/* Highlights Grid (Screenshot 3) */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.highlight-item {
    background: var(--bg-input);
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
}

.hl-label {
    font-size: 9.5px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hl-val {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
}

/* Product Specs Table (Screenshot 3) */
.specs-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-row {
    display: flex;
    font-size: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

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

.spec-key {
    width: 120px;
    color: var(--text-muted);
    font-weight: 600;
    flex-shrink: 0;
}

.spec-val {
    flex: 1;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.4;
}

/* Ratings Chart */
.ratings-chart-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ratings-left-score {
    text-align: center;
    padding-right: 18px;
    border-right: 1px solid var(--border-color);
}

.big-rating-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-main);

}

.total-ratings-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.ratings-right-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 700;
}

.bar-bg {
    flex: 1;
    height: 6px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    border-radius: 4px;
}

/* Fixed Bottom Action Bar */
.detail-bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(var(--bg-card-rgb, 255, 255, 255), 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .detail-bottom-action-bar {
    background: rgba(20, 20, 36, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-detail-buy {
    flex: 1;
    height: 46px;
    border-radius: 24px;
    border: 2px solid #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-detail-buy:hover {
    background: rgba(79, 70, 229, 0.18);
}

.btn-detail-cart {
    flex: 1.2;
    height: 46px;
    border-radius: 24px;
    border: none;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
}

.btn-detail-cart:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: scale(1.02);
}

/* Ultra-Sleek & Lightweight Cart Items (Blinkit / Meesho Modern Design) */
.cart-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    position: relative;
}

.cart-item-img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

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

.cart-item-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cart-size-pill {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 11px;
}

.return-policy-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
}

.ret-pill {
    border: 1.5px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-muted);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-variant: small-caps;
    letter-spacing: 0.4px;
}

.ret-pill.active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

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

.cart-item-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.cart-price-main {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 800;
    color: var(--accent-purple);
}

.cart-price-upi {
    font-size: 10px;
    font-weight: 800;
    color: #10b981;
}

.cart-stepper-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-stepper-compact {
    display: inline-flex;
    align-items: center;
    background: var(--bg-input);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 2px 6px;
    height: 28px;
}

.cart-q-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-purple);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-q-btn:hover {
    background: rgba(79, 70, 229, 0.12);
}

.cart-q-val {
    width: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
}

.cart-delete-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.06);
    color: var(--red);
    font-size: 11.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-delete-btn:hover {
    background: var(--red);
    color: #ffffff;
}

/* Bottom Navigation Bar Cart Badge Counter */
.nav-cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: linear-gradient(135deg, var(--accent-purple), #d946ef);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Sleek Collapsible Bill Details Card */
.bill-details-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.bill-card-header-fold {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.bill-fold-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
    font-variant: small-caps;
    letter-spacing: 0.5px;
}

.bill-fold-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--accent-purple);
}

.bill-fold-arrow {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.bill-details-card.open .bill-fold-arrow {
    transform: rotate(180deg);
}

.bill-breakdown-body {
    display: none;
    padding-top: 8px;
    animation: fadeIn 0.2s ease;
}

.bill-details-card.open .bill-breakdown-body {
    display: block;
}

.bill-icon-badge {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 4px 0;
    color: var(--text-muted);
}

.bill-row-val {
    font-weight: 700;
    color: var(--text-main);
}

.bill-row-val.discount {
    color: #10b981;
}

.bill-cheapest-tag {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    font-size: 9px;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 4px;
    font-variant: small-caps;
}

.bill-divider {
    height: 1px;
    border-top: 1px dashed var(--border-color);
    margin: 6px 0;
}

.bill-row.total-row {
    font-size: 13.5px;
    font-weight: 900;
    color: var(--text-main);
    padding-top: 2px;
}

/* Payment Method & One-Click Direct Pay Buttons */
.payment-methods-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.direct-pay-btn {
    width: 100%;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 14px;
    min-height: 46px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: var(--bg-card);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.direct-pay-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.direct-pay-btn.cod {
    border-color: rgba(124, 58, 237, 0.35);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(217, 70, 239, 0.04) 100%);
}

.direct-pay-btn.cod:hover {
    background: rgba(124, 58, 237, 0.08);
    border-color: var(--accent-purple);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

.direct-pay-btn.cod .dp-price {
    color: var(--accent-purple);
}

.direct-pay-btn.upi {
    border-color: rgba(124, 58, 237, 0.35);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(217, 70, 239, 0.05) 100%);
}

.direct-pay-btn.upi:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

.direct-pay-btn.upi .dp-price {
    color: var(--accent-purple);
}

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

.dp-left i {
    font-size: 18px;
}

.dp-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dp-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    font-variant: small-caps;
    letter-spacing: 0.5px;
}

.dp-sub {
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 1px;
}

.dp-price {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Extra 1% Hot Polish Styles for Cart View */
.cart-address-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.cart-addr-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 700;
}

.cart-addr-left i {
    color: var(--accent-purple);
    font-size: 14px;
}

.cart-addr-sub {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-addr-change-btn {
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--accent-purple);
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-variant: small-caps;
}

.cart-savings-banner {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
    font-size: 11.5px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-variant: small-caps;
    letter-spacing: 0.3px;
}

.cart-delivery-eta {
    font-size: 10.5px;
    color: #10b981;
    font-weight: 700;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.upi-app-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 6px;
}

.cart-trust-footer {
    text-align: center;
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    font-variant: small-caps;
}

.cart-trust-footer i {
    color: #10b981;
}

/* --- ADDRESS TAB OVERHAUL & MAP STYLING --- */

/* Add New Address Dashed Button (Matches Screenshot 1) */
.btn-add-address-pill {
    width: 100%;
    border: 2px dashed #4f46e5;
    background: rgba(79, 70, 229, 0.06);
    color: #4f46e5;
    border-radius: 20px;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

.btn-add-address-pill:hover {
    background: rgba(79, 70, 229, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.15);
}

[data-theme="dark"] .btn-add-address-pill {
    border-color: #818cf8;
    background: rgba(129, 140, 248, 0.08);
    color: #818cf8;
}

/* Detailed Address Card (Matches Screenshot 1) */
.addr-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .addr-card:hover {
        border-color: var(--accent-purple);
        box-shadow: 0 4px 14px rgba(124, 58, 237, 0.1);
    }
}

.addr-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.addr-name-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.addr-type-tag {
    background: rgba(79, 70, 229, 0.12);
    color: #4f46e5;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    font-variant: small-caps;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .addr-type-tag {
    background: rgba(129, 140, 248, 0.18);
    color: #818cf8;
}

.addr-full-text {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: 500;
}

.addr-phone-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.addr-phone-row i {
    color: #ef4444;
    font-size: 12px;
}

.addr-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

.btn-addr-action {
    flex: 1;
    border: 1.5px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    border-radius: 12px;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-variant: small-caps;
}

.btn-addr-action:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.05);
}

/* Map Action Buttons */
.btn-map-action {
    border: 1.5px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-map-action:hover {
    border-color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.08);
}

/* --- STYLISH DIRECT ADDRESS FORM & BED-TEDHA ACCENTS --- */

.form-group-styled {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label-normal {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.form-label-bold {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.1px;
}

.form-input-styled {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    padding: 0 14px;
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.form-input-styled:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3.5px rgba(124, 58, 237, 0.15);
    background: var(--bg-card);
}

.form-input-styled::placeholder {
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.65;
}

/* Bed-Tedha Playful Buttons */
.btn-bed-tedha-search {
    border: none;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #ffffff;
    padding: 0 20px;
    height: 46px;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-bed-tedha-search:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

.btn-bed-tedha-action {
    border: 1.5px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-main);
    border-radius: 16px;
    padding: 10px 14px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.btn-map-action-pill {
    border: 1.5px solid rgba(124, 58, 237, 0.25);
    background: rgba(124, 58, 237, 0.05);
    color: var(--accent-purple);
    border-radius: 20px;
    padding: 10px 14px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.06);
}

.btn-map-action-pill:hover {
    border-color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.18);
}

.btn-bed-tedha-action:hover {
    border-color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.12);
}

.map-pin-hint-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-save-address-hero {
    width: 100%;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #ffffff;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    transition: all 0.25s ease;
}

.btn-save-address-hero:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.45);
    background: linear-gradient(135deg, #6d28d9, #4338ca);
}

/* Celebration Page Hero Animations */
@keyframes confettiFall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@keyframes scaleBounce {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.check-ring-hero {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 16px;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35);
    animation: scaleBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
}

.check-ring-hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: pulseRing 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    left: -2px;
    top: -2px;
}

.check-ring-hero.placed-ring {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.35) !important;
}
.check-ring-hero.placed-ring::after {
    border-color: #6366f1 !important;
}

.check-ring-hero.shipped-ring {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35) !important;
}
.check-ring-hero.shipped-ring::after {
    border-color: #3b82f6 !important;
}

.check-ring-hero.out-for-delivery-ring {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35) !important;
}
.check-ring-hero.out-for-delivery-ring::after {
    border-color: #8b5cf6 !important;
}

.check-ring-hero.delivered-ring {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35) !important;
}
.check-ring-hero.delivered-ring::after {
    border-color: #10b981 !important;
}

.check-ring-hero.cancelled-ring {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.45) !important;
}
.check-ring-hero.cancelled-ring::after {
    border-color: #ef4444 !important;
}

/* Premium Order History Filter Scroll Bar */
.orders-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 2px 10px 2px;
    margin-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.orders-filter-bar::-webkit-scrollbar {
    display: none;
}
.order-filter-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    user-select: none;
}
.order-filter-chip i {
    font-size: 13px;
    transition: transform 0.2s ease;
}
.order-filter-chip:hover {
    border-color: var(--accent-purple);
    color: var(--text-main);
    transform: translateY(-1px);
}
.order-filter-chip.active {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.order-filter-chip.active i {
    color: #ffffff !important;
}

/* Blinkit / Meesho Style Modern Order Cards */
.order-history-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}

.order-history-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.08);
}

.order-card-blinkit:hover {
    border-color: var(--accent-purple) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12) !important;
}

.order-card-blinkit:active {
    transform: translateY(0);
}

.order-chevron-icon {
    transition: transform 0.3s ease;
}

.order-chevron-icon.open {
    transform: rotate(180deg);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.order-status-pill {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: capitalize;
}

.order-status-pill.shipped, .order-status-pill.on-the-way {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.order-status-pill.delivered {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.order-status-pill.ordered {
    background: rgba(124, 58, 237, 0.12);
    color: var(--accent-purple);
}

.order-status-pill.cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.order-body-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.order-item-thumb {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    background: var(--bg-input);
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.order-item-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.order-eta-tag {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: rgba(59, 130, 246, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* Order Lifecycle Progress Bar Timeline */
.order-timeline-wrap {
    margin: 16px 0;
    padding: 12px 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.timeline-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 11px;
    transition: all 0.3s ease;
}

.timeline-step.active .timeline-icon {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.timeline-step.completed .timeline-icon {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.timeline-label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
}

.timeline-step.active .timeline-label {
    color: var(--accent-purple);
}

.timeline-step.completed .timeline-label {
    color: #10b981;
}

/* Global Small-Caps Override: Ensure clean normal fonts everywhere */
*, *::before, *::after {
    font-variant-caps: normal !important;
    font-variant: normal !important;
}

/* ── LOGIN SECTION & CURVED TABS ───────────────────────────────────────── */
.login-section-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.login-tab-bar {
    display: flex;
    gap: 8px;
    background: var(--bg-input);
    padding: 4px;
    border-radius: 9999px;
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
}

/* ── ADD ACCOUNT CARD (Matching blinkit-final) ───────────────────────── */
.login-section-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    margin-bottom: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.add-account-card-header {
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-account-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.add-account-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 13px;
}

.login-toggle-track {
    display: flex;
    background: var(--bg-input);
    padding: 3px;
    border-radius: 20px;
    border: 1.5px solid var(--border-color);
    gap: 2px;
}

.login-toggle-btn {
    border: none;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    outline: none;
    margin: 0;
    line-height: 1;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.login-toggle-btn.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.4);
}

.field-label-text {
    font-size: 9.5px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.7px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.phone-input-field-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    height: 44px;
    transition: border-color 0.2s ease;
}

.phone-input-field-wrap:focus-within {
    border-color: var(--accent-purple);
}

.phone-input-field-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 12px;
    height: 44px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    outline: none;
    font-family: var(--font-heading);
}

.country-prefix {
    padding: 0 10px 0 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    border-right: 1.5px solid var(--border-color);
    height: 44px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-family: monospace;
}

.btn-action-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0 14px;
    height: 34px;
    margin-right: 5px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
    transition: transform 0.2s ease;
}

.btn-action-sec {
    background: var(--bg-input);
    color: var(--text-main);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 0 14px;
    height: 34px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-action-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0 14px;
    height: 34px;
    margin-right: 5px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.fod-offer-box {
    background: rgba(79, 70, 229, 0.06);
    border: 1px dashed var(--accent-purple);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.fod-offer-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.json-textarea {
    width: 100%;
    height: 85px;
    border-radius: 12px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    font-family: monospace;
    font-size: 11.5px;
    padding: 10px;
    outline: none;
    resize: none;
    box-sizing: border-box;
}

.json-textarea:focus {
    border-color: var(--accent-purple);
}

/* ── ACCOUNT CARDS REDESIGN & ANIMATIONS ──────────────────────────────── */
.account-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.account-card.active {
    border-color: var(--accent-purple) !important;
    background: rgba(79, 70, 229, 0.05);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
}

/* User requirement: "dont make expired etc accounts as red border no need border" */
.account-card.expired,
.account-card.ordered {
    border-color: var(--border-color);
    background: var(--bg-card);
}

/* Avatar Wrapper with Blinking Green Online Dot */
.acc-avatar-wrap {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    background-color: #10b981;
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.export-pill-btn {
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.export-pill-btn:hover {
    background: var(--accent-purple);
    color: #ffffff;
}

/* Attached Done Checkmark Badge on Export Button for Selected Account */
.export-pill-btn.is-selected-account {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.export-done-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    margin-right: 2px;
}

.refresh-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--accent-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.refresh-circle-btn:hover {
    transform: scale(1.08);
}

.spin-rotate {
    animation: spinRotate 0.8s linear infinite;
}

@keyframes spinRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Confetti Burst Particle Animation */
.confetti-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    animation: confettiPop 0.8s ease-out forwards;
    z-index: 100;
}

@keyframes confettiPop {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.3); }
}

/* ── BOTTOM SHEET ACCOUNT SELECTOR ────────────────────────────────────── */
.bottom-sheet-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.bottom-sheet-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border-radius: 24px 24px 0 0;
    padding: 18px 18px 28px 18px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
    animation: slideUpSheet 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.bottom-sheet-drag-handle {
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: var(--text-muted);
    opacity: 0.35;
    margin: 0 auto 12px auto;
}

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

.bottom-sheet-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.bottom-sheet-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
}

.sheet-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-pill {
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-muted);
    border-radius: 9999px;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-pill.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.sheet-accounts-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    max-height: 55vh;
    padding-bottom: 10px;
}

.sheet-account-item {
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

.sheet-action-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--accent-purple);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.sheet-action-btn:hover {
    background: rgba(79, 70, 229, 0.12);
    border-color: var(--accent-purple);
    transform: scale(1.06);
}

/* Clean default card border for non-selected items */
.sheet-account-item.ordered,
.sheet-account-item.expired {
    border-color: var(--border-color);
    background: var(--bg-input);
}

/* Active / Selected Account Card Highlight in Dropdown */
.sheet-account-item.selected {
    border: 2px solid var(--accent-purple) !important;
    background: rgba(79, 70, 229, 0.08) !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.22) !important;
}

.btn-mark-ordered {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-mark-ordered.is-ordered {
    background: #d97706;
    color: #ffffff;
}

/* Telegram User Profile Avatar Image inside header circle */
.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Big & Vibrant Refresh Confetti Burst Particles */
.confetti-sparkle-particle {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    animation: burstParticle 0.85s cubic-bezier(0.12, 0.8, 0.32, 1) forwards;
}

@keyframes burstParticle {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.95;
        transform: translate(calc(var(--tx) * 0.75), calc(var(--ty) * 0.75)) scale(1.45) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.15) rotate(360deg);
    }
}

/* ── Premium Festive Party Cracker Burst Animation ───────────────────────── */
.party-cracker-particle {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    will-change: transform, opacity;
    animation: partyCrackerExplode 1.28s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

@keyframes partyCrackerExplode {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.2) rotate(0deg);
    }
    30% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.75), calc(var(--ty) * 0.75)) scale(1.4) rotate(var(--rot));
    }
    60% {
        opacity: 0.9;
        transform: translate(calc(var(--tx) * 0.95), calc(var(--ty) * 0.95 + 15px)) scale(1.1) rotate(calc(var(--rot) + 240deg));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 65px)) scale(0.1) rotate(calc(var(--rot) + 540deg));
    }
}

/* ── Mark Ordered Button Styling ────────────────────────────────────────── */
.btn-mark-ordered {
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    height: 28px;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-mark-ordered:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    transform: scale(1.04);
}

.btn-mark-ordered.is-ordered {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.btn-mark-ordered.is-ordered:hover {
    background: rgba(16, 185, 129, 0.2);
}

/* Fix Cart View Padding to prevent bottom nav bar overlap */
#view-cart {
    padding-bottom: 110px !important;
    overflow-x: hidden;
}

.cart-item-card {
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.cart-item-card img {
    max-width: 54px !important;
    max-height: 54px !important;
    border-radius: 10px !important;
}

/* ── Stepper Component (Uiverse.io Style) ────────────────────────────────── */
.stepper-box {
  background-color: var(--bg-card);
  border-radius: 18px;
  padding: 22px 18px;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-top: 14px;
}

.stepper-step {
  display: flex;
  margin-bottom: 26px;
  position: relative;
}

.stepper-step:last-child {
  margin-bottom: 0;
}

.stepper-line {
  position: absolute;
  left: 19px;
  top: 36px;
  bottom: -26px;
  width: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.stepper-step:last-child .stepper-line {
  display: none;
}

.stepper-completed .stepper-line {
  background-color: #10b981;
}

.stepper-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-weight: 800;
  font-size: 13px;
  z-index: 2;
  flex-shrink: 0;
}

.stepper-completed .stepper-circle {
  background-color: #10b981;
  color: white;
  border: none;
}

.stepper-active .stepper-circle {
  border: 2px solid var(--accent-purple);
  color: var(--accent-purple);
  background-color: rgba(79, 70, 229, 0.12);
}

.stepper-pending .stepper-circle {
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  background-color: var(--bg-input);
}

.stepper-content {
  flex: 1;
}

.stepper-title {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.stepper-completed .stepper-title {
  color: var(--text-main);
}

.stepper-active .stepper-title {
  color: var(--accent-purple);
}

.stepper-pending .stepper-title {
  color: var(--text-muted);
}

.stepper-status {
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 3px;
}

.stepper-completed .stepper-status {
  background-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.stepper-active .stepper-status {
  background-color: rgba(79, 70, 229, 0.15);
  color: var(--accent-purple);
}

.stepper-pending .stepper-status {
  background-color: var(--bg-input);
  color: var(--text-muted);
}

.stepper-time {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   MODERN ORDER HISTORY FILTERS & CARDS STYLES
   ========================================================================== */
.orders-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px 2px;
    margin-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.orders-filter-bar::-webkit-scrollbar {
    display: none;
}

.order-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    height: 32px;
    border-radius: 20px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    color: var(--text-main, #334155);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    user-select: none;
}

.order-filter-chip:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.order-filter-chip .chip-icon-box {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Individual Inactive Chip Themes */
.order-filter-chip[data-status="ALL"] .chip-icon-box { background: rgba(79, 70, 229, 0.12); color: #4f46e5; }
.order-filter-chip[data-status="ORDERED"] .chip-icon-box { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.order-filter-chip[data-status="SHIPPED"] .chip-icon-box { background: rgba(59, 130, 246, 0.15); color: #2563eb; }
.order-filter-chip[data-status="DELIVERED"] .chip-icon-box { background: rgba(16, 185, 129, 0.15); color: #059669; }
.order-filter-chip[data-status="CANCELLED"] .chip-icon-box { background: rgba(239, 68, 68, 0.15); color: #dc2626; }

/* Active States */
.order-filter-chip.active {
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-1px);
}

.order-filter-chip.active .chip-icon-box {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.order-filter-chip.active[data-status="ALL"] {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3) !important;
}
.order-filter-chip.active[data-status="ORDERED"] {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3) !important;
}
.order-filter-chip.active[data-status="SHIPPED"] {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3) !important;
}
.order-filter-chip.active[data-status="DELIVERED"] {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3) !important;
}
.order-filter-chip.active[data-status="CANCELLED"] {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3) !important;
}

/* Modern Card Hover Effects */
.order-card-blinkit {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.order-card-blinkit:hover {
    border-color: #a5b4fc !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.12) !important;
}
.order-card-blinkit:hover .card-arrow-btn {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateX(3px) scale(1.06);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* --- SIMPLE NORMAL WEB SPINNER LOADER --- */
.app-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease;
}

[data-theme="dark"] .app-loader-overlay {
    background: rgba(11, 15, 25, 0.95);
}

.simple-loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.simple-spinner {
    width: 44px;
    height: 44px;
    border: 3.5px solid rgba(79, 70, 229, 0.15);
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: simpleSpin 0.75s linear infinite;
}

@keyframes simpleSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatPlanet {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(6deg); }
}







