/* =====================================================
   Digital Store v2.0 - Premium Design System
   Modern • Glass • Gradient • Animations • Dark/Light
   ===================================================== */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* Brand Colors */
    --primary: #6a11cb;
    --primary-light: #8b3ff0;
    --primary-dark: #4910a0;
    --accent: #25d366;
    --accent-dark: #1da851;
    --info: #2575fc;
    --danger: #e74c3c;
    --warning: #f39c12;

    /* Surfaces */
    --bg: #f0f2f8;
    --bg-alt: #ffffff;
    --surface: rgba(255, 255, 255, 0.85);
    --surface-solid: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.6);
    --surface-glass-strong: rgba(255, 255, 255, 0.85);
    --text: #1a1d29;
    --text-muted: #667085;
    --border: #e4e7f0;
    --border-strong: #d0d5e0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gradient-accent: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warm: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    --gradient-cool: linear-gradient(135deg, #41295a 0%, #2f0743 100%);
    --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);

    /* Glass */
    --glass-blur: 12px;
    --glass-border: rgba(255, 255, 255, 0.25);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 29, 41, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 29, 41, 0.08);
    --shadow-lg: 0 16px 48px rgba(26, 29, 41, 0.12);
    --shadow-primary: 0 8px 24px rgba(106, 17, 203, 0.3);

    /* Radius */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50px;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1280px;
    --header-height: 72px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Aliases for account panel compatibility */
    --card-bg: var(--surface-solid);
    --secondary: var(--primary-light);

    /* Dark Mode */
    --dark-bg: #0f1117;
    --dark-bg-alt: #171a23;
    --dark-surface: rgba(30, 34, 48, 0.85);
    --dark-surface-solid: #1e2230;
    --dark-surface-glass: rgba(30, 34, 48, 0.6);
    --dark-text: #e8eaf2;
    --dark-text-muted: #98a2b3;
    --dark-border: #2a2f3e;
    --dark-border-strong: #3a4054;
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
    transition: background var(--transition), color var(--transition);
    -webkit-overflow-scrolling: touch;
}

body.dark-mode {
    --bg: var(--dark-bg);
    --bg-alt: var(--dark-bg-alt);
    --surface: var(--dark-surface);
    --surface-solid: var(--dark-surface-solid);
    --surface-glass: var(--dark-surface-glass);
    --surface-glass-strong: var(--dark-surface-glass-strong, rgba(30, 34, 48, 0.95));
    --text: var(--dark-text);
    --text-muted: var(--dark-text-muted);
    --border: var(--dark-border);
    --border-strong: var(--dark-border-strong);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
}

a { text-decoration: none; color: var(--primary); transition: color var(--transition-fast); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

.section-title .subtitle-badge {
    display: inline-block;
    background: rgba(106, 17, 203, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--transition);
}

.dark-mode .navbar {
    background: rgba(15, 17, 23, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.brand {
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14.5px;
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-icon-btn .notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--bg);
}

/* Theme toggle */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: var(--text);
    transition: all var(--transition-fast);
}

.theme-toggle:hover { transform: rotate(15deg) scale(1.05); }

/* Floating Theme Toggle (mobile + desktop) */
.theme-toggle-float {
    position: fixed;
    bottom: 84px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
    z-index: 9995;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}
.theme-toggle-float:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-lg);
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
    align-items: center;
    justify-content: center;
}

.nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--surface-solid);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    align-items: flex-start;
}

/* ---------- HERO ---------- */
.hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 100px 0 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 63, 240, 0.3) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatBlob 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatBlob 10s ease-in-out infinite reverse;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #e8eaf2;
    margin-bottom: 24px;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #8b3ff0 0%, #25d366 50%, #2575fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.search-box {
    max-width: 580px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 6px;
    display: flex;
    gap: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.search-box input {
    flex: 1;
    padding: 14px 22px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 15px;
    background: transparent;
    color: #fff;
    outline: none;
}

.search-box input::placeholder { color: rgba(255, 255, 255, 0.5); }

.search-box .btn {
    border-radius: var(--radius-full);
    padding: 14px 28px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}

.hero-stat h3 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
}

.hero-stat p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 4px 0 0;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-family: var(--font-body);
    line-height: 1.4;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(106, 17, 203, 0.45);
    color: #fff;
}

.btn-success {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-strong);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(106, 17, 203, 0.05);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.btn-danger { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; }
.btn-danger:hover { transform: translateY(-2px); color: #fff; }
.btn-warning { background: linear-gradient(135deg, #f39c12, #e67e22); color: #fff; }
.btn-warning:hover { transform: translateY(-2px); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-block { width: 100%; display: flex; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- PRODUCT CARDS ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(106, 17, 203, 0.3);
}

.product-card .badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.product-card .badge.offer-badge {
    background: var(--gradient-warm);
    box-shadow: 0 4px 12px rgba(247, 151, 30, 0.4);
}

.product-img {
    height: 220px;
    background: linear-gradient(135deg, #f0f0f5, #e8e6f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.dark-mode .product-img {
    background: linear-gradient(135deg, #1e2230, #2a2f3e);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-img .no-img {
    font-size: 64px;
    opacity: 0.3;
}

.product-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 2;
    opacity: 0;
    transform: translateY(-5px);
}

.product-card:hover .product-wishlist {
    opacity: 1;
    transform: translateY(0);
}

.product-wishlist:hover { transform: scale(1.15); }
.product-wishlist.active { color: #e74c3c; }

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 11.5px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: inline-block;
    background: rgba(106, 17, 203, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}
.dark-mode .product-cat {
    background: rgba(139, 63, 240, 0.15);
}
.product-card .price {
    color: var(--primary);
}
.product-card .btn-sm {
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: none;
}
.product-card:hover .btn-sm {
    box-shadow: var(--shadow-primary);
}

.product-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.product-body h3 a { color: var(--text); }
.product-body h3 a:hover { color: var(--primary); }

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-rating .stars { color: #f59e0b; font-size: 14px; }

.product-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 12px;
}

.read-more:hover { color: var(--primary-dark); text-decoration: underline; }

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.price-area {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.price-area .price {
    font-size: 21px;
    font-weight: 800;
    color: var(--text);
}

.price-area .old-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

.price-area .discount {
    display: block;
    font-size: 12px;
    color: var(--accent-dark);
    font-weight: 600;
}

/* ---------- PRODUCT CARD ACTIONS (Buy + Demo) ---------- */
.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.product-card-actions .btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: none;
}

/* Shine sweep effect */
.product-card-actions .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.product-card-actions .btn:hover::after {
    left: 130%;
}

.product-card-actions .btn-card-buy {
    background: linear-gradient(135deg, #7b2ff7 0%, #4f46e5 45%, #2575fc 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.product-card-actions .btn-card-buy:hover {
    box-shadow: 0 12px 28px rgba(106, 17, 203, 0.45);
    transform: translateY(-3px);
    color: #fff;
}

.product-card-actions .btn-card-demo {
    background: linear-gradient(135deg, #0ea5a4 0%, #0d9488 50%, #38ef7d 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(14, 165, 164, 0.35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.product-card-actions .btn-card-demo:hover {
    box-shadow: 0 12px 28px rgba(14, 165, 164, 0.5);
    transform: translateY(-3px);
    color: #fff;
}

/* ---------- SECTION ---------- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

/* ---------- FEATURES ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.feature-item {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-item:hover::before { opacity: 1; }

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 18px;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.feature-item h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- STATS / REVIEWS / FAQ ---------- */
.stats-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-box {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-box .stat-num {
    font-size: 40px;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    position: relative;
}

.review-card::after {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 72px;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.08;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.review-card .stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; }
.review-card p { font-size: 14.5px; line-height: 1.7; color: var(--text); }
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.review-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
}

.review-author strong { font-size: 14px; display: block; }
.review-author { font-size: 12px; color: var(--text-muted); }

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover { border-color: var(--border-strong); }

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-body);
}

.faq-question .faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(106, 17, 203, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 22px 20px;
    max-height: 500px;
}

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
    background: var(--gradient-cool);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 6px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 14px;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }

/* ---------- CHECKOUT ---------- */
.checkout-wrapper { max-width: 1000px; margin: 0 auto; padding: 40px 0 60px; }
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }

@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

.card {
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 .step-num {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: var(--shadow-primary);
}

/* Forms */
.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group .req { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    background: var(--surface-solid);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(106, 17, 203, 0.1);
}

textarea.form-control { min-height: 100px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Order Summary */
.order-summary {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 14.5px;
    color: var(--text-muted);
}

.order-summary-item strong { color: var(--text); }

.order-summary-item.total {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 16px;
    font-weight: 700;
    font-size: 19px;
    color: var(--text);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.payment-method {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition);
    background: var(--surface-solid);
}

.payment-method:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.payment-method.active {
    border-color: var(--primary);
    background: rgba(106, 17, 203, 0.05);
    box-shadow: 0 0 0 4px rgba(106, 17, 203, 0.08);
}

.payment-method .pm-icon { font-size: 30px; margin-bottom: 8px; }
.payment-method h5 { font-size: 14px; font-weight: 700; }
.payment-method p { font-size: 11.5px; color: var(--text-muted); }

.qr-box {
    text-align: center;
    padding: 25px;
    background: var(--surface-solid);
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.qr-box img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.qr-box .upi-id {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.qr-box .upi-note { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Coupon */
.coupon-box {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
}

.coupon-applied {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 600;
}

/* ---------- SUCCESS / DOWNLOAD BOX ---------- */
.success-box {
    text-align: center;
    padding: 60px 30px;
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 40px auto;
}

.success-icon {
    width: 96px;
    height: 96px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-box h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.success-box p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 8px; }

.download-box {
    max-width: 640px;
    margin: 60px auto;
    text-align: center;
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 50px 35px;
}

.download-icon {
    width: 96px;
    height: 96px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-primary);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--gradient-hero);
    color: #a0a4b5;
    padding: 60px 0 24px;
    margin-top: auto;
}

.footer h5 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer p { font-size: 14px; line-height: 1.7; color: #a0a4b5; }

.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #a0a4b5; font-size: 14px; transition: color var(--transition-fast); }
.footer ul a:hover { color: #fff; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* ---------- ALERTS ---------- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.alert-success { background: rgba(37, 211, 102, 0.1); color: #168a44; border: 1px solid rgba(37, 211, 102, 0.2); }
.alert-danger { background: rgba(231, 76, 60, 0.1); color: #b3382b; border: 1px solid rgba(231, 76, 60, 0.2); }
.alert-warning { background: rgba(243, 156, 18, 0.1); color: #c7771a; border: 1px solid rgba(243, 156, 18, 0.2); }
.alert-info { background: rgba(37, 117, 252, 0.1); color: #1a5dba; border: 1px solid rgba(37, 117, 252, 0.2); }

.dark-mode .alert-success { color: #4ade80; }
.dark-mode .alert-danger { color: #f87171; }
.dark-mode .alert-warning { color: #fbbf24; }
.dark-mode .alert-info { color: #60a5fa; }

/* ---------- EMPTY STATE ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state .icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 20px; color: var(--text); margin-bottom: 6px; }

/* ---------- LOADING / SKELETON ---------- */
.skeleton {
    background: linear-gradient(90deg, var(--border) 25%, var(--surface-glass) 37%, var(--border) 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: var(--radius);
    min-height: 16px;
}

.skeleton-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.skeleton-card .skeleton-img { height: 200px; border-radius: 0; }
.skeleton-card .skeleton-body { padding: 22px; }
.skeleton-card .skeleton-line { margin-bottom: 12px; }
.skeleton-card .skeleton-line.short { width: 40%; }

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dark-mode .loading-overlay { background: rgba(15, 17, 23, 0.7); }

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ---------- PRODUCT DETAIL PAGE ---------- */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0;
}

@media (max-width: 900px) {
    .product-detail-grid { grid-template-columns: 1fr; }
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-solid);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-main video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    background: var(--surface-solid);
}

.thumbnail:hover { border-color: var(--primary); }
.thumbnail.active { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(106, 17, 203, 0.1); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail video { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-info .product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 13.5px;
}

.product-info .product-meta .stars { color: #f59e0b; font-size: 16px; }

.product-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.product-price-row .price {
    font-size: 38px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text);
}

.product-price-row .old-price {
    font-size: 22px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-price-row .discount-badge {
    background: rgba(37, 211, 102, 0.12);
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.product-description {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 24px;
}

.product-description ul, .product-description ol {
    margin: 12px 0 12px 24px;
}

.product-description li { margin-bottom: 6px; }

/* =====================================================
   PRODUCT PAGE - PREMIUM ELEMENTS
   ===================================================== */
/* Gallery badges */
.gallery-main { position: relative; }

.gallery-discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 20px rgba(221, 36, 118, 0.35);
    z-index: 2;
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.gallery-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(106, 17, 203, 0.2);
    color: var(--primary);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 2;
}

.g-ribbon-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

/* Verified badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    vertical-align: middle;
    margin-left: 6px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Save chip */
.save-chip {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #5a3d00;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
}

/* Trust perks row */
.product-trust-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(106, 17, 203, 0.07);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 13.5px;
    color: var(--text);
}

.trust-item small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* =====================================================
   STICKY MOBILE BUY BAR
   ===================================================== */
.mobile-buy-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-buy-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 14px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--border);
        box-shadow: 0 -8px 24px rgba(26, 29, 41, 0.1);
    }
    body.dark-mode .mobile-buy-bar {
        background: rgba(26, 26, 46, 0.92);
        border-top: 1px solid #333;
    }

    .mbb-info {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .mbb-price {
        font-size: 18px;
        font-weight: 800;
        color: var(--text);
        font-family: var(--font-heading);
    }
    .mbb-old {
        font-size: 13px;
        color: var(--text-muted);
        text-decoration: line-through;
    }
    .mbb-save {
        font-size: 11px;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(135deg, #ff512f, #dd2476);
        padding: 3px 8px;
        border-radius: var(--radius-full);
    }

    .mbb-actions {
        display: flex;
        gap: 8px;
        flex: 1;
        justify-content: flex-end;
    }
    .mbb-buy-btn {
        background: var(--gradient-primary);
        color: #fff;
        font-weight: 700;
        font-size: 14px;
        padding: 12px 22px;
        border-radius: 12px;
        text-decoration: none;
        box-shadow: var(--shadow-primary);
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .mbb-demo-btn {
        background: rgba(106, 17, 203, 0.08);
        border: 1.5px solid rgba(106, 17, 203, 0.3);
        color: var(--primary);
        font-weight: 600;
        font-size: 13px;
        padding: 12px 16px;
        border-radius: 12px;
        text-decoration: none;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
    }

    /* Page bottom padding so content is not hidden behind bar */
    .product-detail-grid { padding-bottom: 90px; }
}

/* =====================================================
   PRODUCT INFO - MOBILE (Compact)
   ===================================================== */
@media (max-width: 768px) {
    .product-info h1 { font-size: 21px; margin-bottom: 8px; line-height: 1.3; }
    .verified-badge { width: 19px; height: 19px; font-size: 11px; margin-left: 4px; }
    .product-info .product-meta { gap: 8px 14px; font-size: 12px; margin-bottom: 12px; }
    .product-info .product-meta .stars { font-size: 13px; }
    .product-price-row { gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
    .product-price-row .price { font-size: 25px; }
    .product-price-row .old-price { font-size: 16px; }
    .product-price-row .discount-badge { font-size: 11.5px; padding: 4px 10px; }
    .save-chip { font-size: 11px; padding: 4px 9px; }
    .product-description { font-size: 13.5px; line-height: 1.7; margin-bottom: 16px; }
    .product-trust-row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; margin-bottom: 16px; }
    .trust-icon { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
    .trust-item strong { font-size: 12px; }
    .trust-item small { font-size: 11px; }
    .product-features h3, .product-info-tabs h3 { font-size: 16px; }
    .feature-list li { font-size: 13px; }
}

.product-features {
    margin-bottom: 24px;
}

.product-features h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(37, 211, 102, 0.12);
    color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.product-action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* =====================================================
   PRODUCT ACTION BUTTONS - MOBILE / TABLET (Professional)
   ===================================================== */
@media (max-width: 768px) {
    .product-action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 16px;
    }
    .product-action-buttons .btn {
        width: 100%;
        padding: 13px 14px;
        font-size: 14px;
        border-radius: 12px;
        min-height: 46px;
    }
    /* Buy Now + Purchased = full width (primary action) */
    .product-action-buttons .btn-primary,
    .product-action-buttons .btn-success {
        grid-column: 1 / -1;
        min-height: 50px;
        font-size: 15px;
    }
    /* Wishlist = full width outline row */
    .product-action-buttons a[title="Wishlist"] {
        grid-column: 1 / -1;
    }
    .product-action-buttons a[title="Wishlist"].btn-outline {
        background: transparent;
        border: 1.5px solid var(--border-strong);
    }
    /* Share button - subtle full width */
    .product-info > .btn-outline.btn-sm {
        width: 100%;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 12px;
        margin-top: -4px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-action-buttons .btn {
        padding: 13px 18px;
        font-size: 14.5px;
    }
}

.product-info-tabs {
    margin-top: 24px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* Reviews section */
.reviews-section {
    margin-top: 20px;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.review-item:last-child {
    border-bottom: none;
}

/* ---------- USER DASHBOARD ---------- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 36px 0 60px;
}

@media (max-width: 900px) {
    .dashboard-layout { grid-template-columns: 1fr; }
}

.dashboard-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    align-self: start;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

@media (max-width: 900px) {
    .dashboard-sidebar { position: static; }
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.dashboard-user .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    margin-bottom: 4px;
}

.dashboard-nav a:hover {
    background: rgba(106, 17, 203, 0.05);
    color: var(--primary);
}

.dashboard-nav a.active {
    background: rgba(106, 17, 203, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.dashboard-content {
    min-width: 0;
}

.dashboard-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

/* ---------- STARS ---------- */
.stars {
    display: inline-flex;
    gap: 1px;
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.fade-in-up { animation: fadeInUp 0.5s ease both; }
.pulse { animation: pulse 2s infinite; }

/* Staggered children */
.fade-in-up:nth-child(1) { animation-delay: 0.05s; }
.fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.fade-in-up:nth-child(3) { animation-delay: 0.15s; }
.fade-in-up:nth-child(4) { animation-delay: 0.2s; }
.fade-in-up:nth-child(5) { animation-delay: 0.25s; }
.fade-in-up:nth-child(6) { animation-delay: 0.3s; }
.fade-in-up:nth-child(7) { animation-delay: 0.35s; }
.fade-in-up:nth-child(8) { animation-delay: 0.4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }
    .hero { padding: 70px 0 100px; }
    .hero h1 { font-size: 36px; }
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card .product-body { padding: 10px; }
    .product-card .product-body h3 { font-size: 13px; line-height: 1.3; }
    .product-card .product-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        font-size: 11.5px;
        margin-bottom: 4px;
    }
    .product-card .read-more { display: inline-block; }
    .product-card .price { font-size: 15px; }
    .product-card .old-price { font-size: 11px; }
    .product-card .btn-sm { padding: 6px 10px; font-size: 10px; }
    .product-img { height: 150px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .newsletter-section { padding: 28px 18px; }
    .newsletter-section h2 { font-size: 24px; margin-bottom: 6px; }
    .newsletter-section p { font-size: 13.5px; margin-bottom: 16px; }
    .newsletter-form { max-width: 400px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .feature-list { grid-template-columns: 1fr; }
    .product-detail-grid { gap: 28px; }
    .gallery-main { height: 300px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card .product-wishlist { opacity: 1; transform: translateY(0); }
    .search-box { flex-direction: column; border-radius: 20px; }
    .search-box .btn { width: 100%; }
    .btn-lg { padding: 13px 28px; }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =====================================================
   AUTH PAGES - Premium Glass Design (Login/Register)
   ===================================================== */
.auth-wrapper {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated gradient blobs */
.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    animation: authBlob 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.auth-wrapper::before {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -120px;
    left: -100px;
}

.auth-wrapper::after {
    background: radial-gradient(circle, var(--info) 0%, transparent 70%);
    bottom: -120px;
    right: -100px;
    animation-delay: 5s;
}

@keyframes authBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -25px) scale(1.08); }
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--surface-glass-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 42px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.auth-card .auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card .auth-icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-primary);
}

.auth-card h2 {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.auth-card .auth-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 6px;
}

.auth-card .auth-header p a {
    color: var(--primary);
    font-weight: 600;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.auth-card .form-group .input-wrap {
    position: relative;
}

.auth-card .form-group .input-wrap .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.65;
    pointer-events: none;
}

.auth-card .form-control {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-solid);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.25s ease;
}

.auth-card .form-control::placeholder {
    color: var(--text-muted);
}

.auth-card .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(106, 17, 203, 0.12);
}

.auth-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-card .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.auth-card .form-options label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    margin: 0;
}

.auth-card .form-options input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.auth-card .form-options a {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.auth-card .btn-block {
    width: 100%;
    display: block;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-primary);
    font-family: var(--font-body);
}

.auth-card .btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(106, 17, 203, 0.4);
}

.auth-card .btn-block:active {
    transform: translateY(0);
}

.auth-card .auth-footer {
    text-align: center;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.auth-card .auth-footer a {
    color: var(--primary);
    font-weight: 700;
}

.auth-card .alert-danger {
    background: rgba(231, 76, 60, 0.08);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.25);
    padding: 13px 16px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 500;
}

/* ---------- AUTH MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
    .auth-wrapper {
        padding: 40px 16px;
    }

    .auth-card {
        padding: 36px 26px;
        border-radius: 22px;
    }

    .auth-card h2 {
        font-size: 22px;
    }

    .auth-card .auth-icon {
        width: 62px;
        height: 62px;
        font-size: 28px;
        border-radius: 17px;
    }

    .auth-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-card .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .auth-wrapper {
        padding: 30px 12px;
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px);
    }

    .auth-card {
        padding: 30px 20px;
    }

    .auth-card h2 {
        font-size: 20px;
    }

    .auth-card .btn-block {
        padding: 13px;
        font-size: 15px;
    }
}

/* ---------- INNER HERO (Products Page) ---------- */
.inner-hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.inner-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}

.inner-hero p {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
}

.inner-hero .mt-20 {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.inner-hero strong {
    color: #fff;
    font-size: 18px;
}

/* ---------- FILTER BAR ---------- */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding: 18px 20px;
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-height) + 8px);
    z-index: 20;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--bg);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.filter-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-chip.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-select select {
    padding: 9px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-solid);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.sort-select select:focus {
    border-color: var(--primary);
}

/* ---------- PAGINATION ---------- */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.page-link.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

/* ---------- EMPTY STATE ---------- */
.empty-state {
    text-align: center;
    padding: 70px 20px;
}

.empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 24px;
}

/* ---------- CHECKOUT COMPACT ---------- */
.checkout-wrapper { max-width: 860px; margin: 0 auto; padding: 24px 0 50px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 20px; align-items: start; }

.checkout-grid > div:first-child { min-width: 0; }

@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-grid .card {
    padding: 20px;
    margin-bottom: 16px;
    border-radius: var(--radius);
}

.checkout-grid .card h3 {
    font-size: 16px;
    margin-bottom: 14px;
}

.checkout-grid .card h3 .step-num {
    width: 26px;
    height: 26px;
    font-size: 13px;
}

.order-summary {
    padding: 14px;
    margin-bottom: 12px;
}

.order-summary-item {
    padding: 6px 0;
    font-size: 13.5px;
}

.order-summary-item.total {
    padding-top: 12px;
    font-size: 17px;
}

.payment-methods {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.payment-method { padding: 12px 10px; }

.payment-method .pm-icon { font-size: 22px; }

.qr-box {
    max-width: 260px;
    margin: 0 auto 14px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.qr-box img {
    width: 180px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
}

.qr-box .upi-id {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    word-break: break-all;
    margin-top: 4px;
}

.qr-box .upi-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.checkout-grid .btn-block {
    padding: 13px;
    font-size: 15px;
}

.checkout-grid .coupon-form input {
    padding: 10px 14px;
    font-size: 13.5px;
}

/* ---------- MISC ---------- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }

/* ---------- MOBILE RESPONSIVE FIXES ---------- */
html, body {
    overflow-x: hidden;
}

/* Small phones (≤480px) - critical fixes */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    /* Navbar compact */
    .navbar .container { gap: 8px; }
    .brand { font-size: 16px; gap: 6px; }
    .brand .logo-icon { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
    .logo-img { height: 30px !important; max-width: 110px; }
    .nav-actions { gap: 4px; }
    .nav-icon-btn { width: 30px; height: 30px; font-size: 13px; }
    .nav-actions .btn-sm { padding: 5px 8px; font-size: 10px; border-radius: 8px; }
    .mobile-toggle { width: 34px; height: 34px; }

    /* Hero */
    .hero { padding: 50px 0 80px; }
    .hero h1 { font-size: 26px; letter-spacing: -0.5px; }
    .hero p { font-size: 14px; }
    .hero .btn-lg { padding: 12px 22px; font-size: 13px; }
    .hero-stats { gap: 14px; }
    .hero-stat strong { font-size: 18px; }

    /* Search box */
    .search-box { flex-direction: column; }
    .search-box input { width: 100%; border-radius: 10px 10px 0 0; }
    .search-box .btn { width: 100%; border-radius: 0 0 10px 10px; }

    /* Product cards — 2 fit screen (compact) */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card { border-radius: 12px; }
    .product-card .product-body { padding: 9px; }
    .product-card .product-body h3 { font-size: 12px; line-height: 1.3; }
    .product-card .product-cat { font-size: 8.5px; padding: 2px 5px; }
    .product-card .product-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 10px;
        margin-bottom: 4px;
        line-height: 1.4;
    }
    .product-card .read-more { display: inline-block; font-size: 9.5px; }
    .product-card .product-footer { padding-top: 6px; flex-direction: column; align-items: stretch; gap: 6px; }
    .product-card .price { font-size: 13px; }
    .product-card .old-price { font-size: 9px; }
    .product-card .btn-sm { padding: 4px 7px; font-size: 8px; }
    .product-card-actions { width: 100%; grid-template-columns: 1fr 1fr; gap: 7px; }
    .product-card-actions .btn { justify-content: center; padding: 10px 4px; font-size: 10.5px; border-radius: 10px; font-weight: 700; }
    .product-card-actions .btn-card-buy { box-shadow: 0 4px 10px rgba(106, 17, 203, 0.3); }
    .product-card-actions .btn-card-demo { box-shadow: 0 4px 10px rgba(14, 165, 164, 0.3); }
    .product-img { height: 120px; }
    .product-card .badge { font-size: 9px; padding: 3px 8px; top: 6px; left: 6px; }
    .product-card .product-wishlist { width: 26px; height: 26px; font-size: 13px; top: 6px; right: 6px; }

    /* Section titles */
    .section-title h2 { font-size: 22px; }
    .section-title p { font-size: 13px; }
    .section { padding: 40px 0; }

    /* Footer */
    .footer-grid { gap: 20px; }
    .footer .section-title { margin-bottom: 24px; }

    /* Newsletters */
    .newsletter-section { padding: 22px 16px; }
    .newsletter-section h2 { font-size: 20px; margin-bottom: 6px; }
    .newsletter-section p { font-size: 12.5px; margin-bottom: 14px; }
    .newsletter-form {
        flex-direction: column;
        gap: 8px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        padding: 0;
        border-radius: 10px;
        max-width: 340px;
    }
    .newsletter-form input {
        width: 100%;
        border-radius: 10px;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.18);
        padding: 10px 14px;
        font-size: 13px;
    }
    .newsletter-form .btn {
        border-radius: 10px;
        width: 100%;
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Forms */
    .form-card { padding: 18px; }
    .auth-card { padding: 24px 18px; }
    .auth-card h2 { font-size: 20px; }

    /* Tables */
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Checkout */
    .checkout-wrapper { padding: 16px 0 40px; }
    .order-summary { padding: 14px; }
    .qr-box img { max-width: 150px; }

    /* Product detail */
    .product-info h1 { font-size: 20px; }
    .gallery-main { height: 220px; }
    .product-price .price { font-size: 24px; }
    .qty-selector { gap: 6px; }

    /* Alerts */
    .alert { padding: 10px 12px; font-size: 13px; }

    /* Pagination */
    .pagination { gap: 4px; }
    .page-link { padding: 6px 10px; font-size: 12px; }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
    .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .product-card .product-body { padding: 8px; }
    .product-card .product-body h3 { font-size: 11px; }
    .product-card .product-price { font-size: 12px; }
    .brand span:not(.logo-icon) { display: none; }
    .hero h1 { font-size: 22px; }
}

/* Print-friendly */
@media print {
    .navbar, .footer, .btn { display: none !important; }
}

/* ==================== PREMIUM SUCCESS PAGE & QR HIDE FIXED ==================== */
.checkout-success {
    max-width: 600px !important;
    margin: 60px auto !important;
    padding: 40px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06) !important;
    text-align: center !important;
    border: 1px solid #e2e8f0 !important;
}
.success-checkmark {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 24px !important;
    background: #e6f4ea !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #137333 !important;
    font-size: 38px !important;
    font-weight: bold !important;
    box-shadow: 0 4px 12px rgba(19, 115, 51, 0.15) !important;
}
.checkout-success h2 {
    font-size: 28px !important;
    color: #1e293b !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
}
.checkout-success .sub {
    font-size: 15px !important;
    color: #64748b !important;
    margin-bottom: 30px !important;
    line-height: 1.5 !important;
}
.order-details-card {
    background: #f8fafc !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 30px !important;
    border: 1px dashed #cbd5e1 !important;
    text-align: left !important;
}
.order-details-card .detail-row {
    display: flex !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.order-details-card .detail-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.order-details-card .detail-row span {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}
.order-details-card .detail-row strong {
    color: #1e293b !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.status-badge.status-pending {
    background: #fef3c7 !important;
    color: #d97706 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
.success-actions {
    display: flex !important;
    gap: 16px !important;
    justify-content: center !important;
}
.success-actions .btn {
    padding: 12px 24px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
}
.success-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    border: none !important;
}
.success-actions .btn-outline {
    border: 1.5px solid #cbd5e1 !important;
    color: #64748b !important;
    background: transparent !important;
}
.success-actions .btn-outline:hover {
    background: #f1f5f9 !important;
}

/* Hide raw UPI ID text inside QR Scan boxes to prevent clutter */
.qr-box .upi-id {
    display: none !important;
}

/* Hide UPI ID text inside payment selection tabs */
.payment-method p {
    display: none !important;
}
.payment-method {
    padding: 16px 24px !important;
    text-align: center !important;
}
