/* ============================================================
   MERGED CSS – Frontend + Admin
   Combines style.css, admin.css, user_style.css
   Duplicates removed, components unified.
   ============================================================ */

/* ============================================================
   CSS VARIABLES (from style.css)
   ============================================================ */
:root {
    /* ── Brand Colors ── */
    --primary: #e63012;
    --primary-dark: #b82309;
    --primary-light: #ff6b47;
    --accent: #f59e0b;
    --accent-light: #fcd34d;

    /* ── LIGHT THEME Palette ── */
    --dark: #1e293b;
    --dark-2: #334155;
    --dark-3: #475569;
    --mid: #64748b;
    --light: #f8fafc;
    --light-2: #f1f5f9;
    --light-3: #e2e8f0;
    --white: #ffffff;
    --page-bg: #fffdf9;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);

    /* ── Semantic ── */
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;
    --info: #0284c7;

    --font-display: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 64px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 6px 24px rgba(230, 48, 18, 0.22);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;

    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Compatibility aliases ── */
    --dark-bg: #1e293b;
    --primary-color: #e63012;
    --secondary-color: #f59e0b;
    --border-radius: 10px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    --radius: 10px;


    /* ============================================================
   PREMIUM MOBILE UI (FIGMA STYLE)
   ============================================================ */
    @media (max-width: 768px) {
        :root {
            --mobile-font-size: 0.85rem;
            --mobile-padding: 1rem;
            --mobile-margin: 0.75rem;
        }

        body {
            font-size: var(--mobile-font-size);
            line-height: 1.5;
        }

        h1 {
            font-size: 1.5rem !important;
        }

        .logo a {
            font-size: 1.1rem !important;
            white-space: nowrap !important;
        }

        h2 {
            font-size: 1.3rem !important;
        }

        h3 {
            font-size: 0.75rem !important;
        }

        section {
            padding: 2.5rem 4% !important;
            margin: 0 !important;
        }

        .container {
            padding: 0 4% !important;
        }

        /* Reduce spacing */
        .form-group {
            margin-bottom: 1rem;
        }

        .btn-primary,
        .btn-secondary {
            padding: 0.65rem 1.25rem !important;
            font-size: 0.85rem !important;
        }

        /* Handle Large Tables & Contents */
        .premium-table,
        .data-table,
        .svk-products-table-wrap {

            overflow-x: auto !important;
            display: block !important;
            -webkit-overflow-scrolling: touch;
            border-radius: 8px !important;
        }

        .premium-table th,
        .premium-table td,
        .data-table th,
        .data-table td {
            padding: 0.75rem 0.6rem !important;
            font-size: 0.75rem !important;
        }

        /* SVK Drawer Panel Polish */
        .svk-drawer-panel {
            width: 280px !important;
            max-width: 85vw !important;
            padding: 1.25rem !important;
            background: #ffffff !important;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
            box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15) !important;
        }

        .svk-drawer-panel h3 {
            font-size: 1rem !important;
            margin-top: 1rem !important;
            margin-bottom: 0.5rem !important;
        }

        .svk-drawer-panel .btn-secondary {
            font-size: 0.8rem !important;
            padding: 0.5rem 0.75rem !important;
        }

        /* Mobile Bottom Navigation Bar — Light Theme */
        .mobile-nav-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 62px;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            display: flex;
            justify-content: space-around;
            align-items: center;
            z-index: 1800;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            padding-bottom: env(safe-area-inset-bottom);
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        }

        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.65rem;
            font-weight: 600;
            transition: all 0.22s ease;
            flex: 1;
            padding: 0.3rem 0;
        }

        .mobile-nav-item i,
        .mobile-nav-item .nav-icon {
            font-size: 1.35rem;
            margin-bottom: 3px;
            transition: all 0.22s ease;
        }

        .mobile-nav-item.active {
            color: var(--primary);
        }

        .mobile-nav-item.active .nav-icon {
            transform: translateY(-2px) scale(1.1);
        }

        .mobile-nav-item:hover {
            color: var(--primary);
        }

        /* Fix Menu Toggle and Mobile Drawer */
        .nav-toggle {
            display: flex !important;
        }

        #mainNav {
            position: fixed;
            top: var(--svk-header-h, 64px);
            right: 0;
            left: auto;
            width: 280px;
            max-width: 85vw;
            height: calc(100vh - var(--svk-header-h, 64px));
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 1rem;
            z-index: 2000;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
            transform: translateX(100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
            border-left: 1px solid rgba(0, 0, 0, 0.05);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            display: none;
        }

        #mainNav.open {
            transform: translateX(0);
            left: auto;
            right: 0;
            display: flex;
        }

        #mainNav ul {
            flex-direction: column;
            width: 100%;
            gap: 0.5rem;
            align-items: flex-start;
        }

        #mainNav ul li {
            width: 100%;
        }

        #mainNav ul li a {
            display: block;
            width: 100%;
            padding: 0.5rem;
            font-size: 1rem;
            color: #1e293b;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.2s ease;
        }

        #mainNav ul li a:hover,
        #mainNav ul li a.active {
            color: #e63012;
            background: rgba(230, 48, 18, 0.07);
            border-radius: 8px;
            padding-left: 0.85rem;
        }

        .nav-auth-group {
            display: flex;
            flex-direction: column;
            width: 100%;
            gap: 0.75rem;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
        }

        .nav-auth-group a {
            display: block;
            width: 100%;
            padding: 0.75rem 1rem;
            text-align: center;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .nav-login {
            background: #f1f5f9;
            color: #475569;
            border: 1px solid #cbd5e1;
        }

        .nav-login:hover {
            background: #e2e8f0;
        }

        .nav-register {
            background: #e63012;
            color: #ffffff;
            border: 1px solid #e63012;
        }

        .nav-register:hover {
            background: #b82309;
            border-color: #b82309;
            color: #ffffff;
        }

        /* Adjust main padding for bottom bar */
        main {
            padding-bottom: 90px !important;
        }

        .dashboard-container {
            padding: 1rem 1.5rem !important;
        }

        .dashboard-grid {
            grid-template-columns: 1fr 1fr !important;
            gap: 0.75rem !important;
            margin-bottom: 1.5rem !important;
        }

        .stat-card {
            padding: 1rem !important;
            border-radius: 12px !important;
        }

        .stat-card h3 {
            font-size: 0.75rem !important;
            margin-bottom: 0.25rem !important;
        }

        .stat-card .value {
            font-size: 1.25rem !important;
        }

        .quick-links {
            grid-template-columns: 1fr 1fr !important;
            gap: 0.75rem !important;
        }

        .quick-links .btn-primary {
            padding: 0.5rem !important;
            font-size: 0.75rem !important;
        }

        /* Form Grid Fixes */
        .dashboard-container form div[style*="grid-template-columns"] {
            grid-template-columns: 1fr !important;
            gap: 0.5rem !important;
        }

        .dashboard-container div[style*="padding:2.5rem"] {
            padding: 1.25rem !important;
            border-radius: 16px !important;
        }

        /* Sticky Bottom Bar (Cart) - Adjust position for Mobile Nav */
        .sticky-bottom-bar {
            bottom: 62px !important;
            /* Above mobile nav */
            border-radius: 12px !important;
            margin: 0 10px 10px 10px !important;
            width: calc(100% - 20px) !important;
            padding: 0.75rem !important;
        }

        /* svk-bottom-cart: positioned via transform, not bottom */
        .svk-bottom-cart {
            border-radius: 0 !important;
            margin: 0 !important;
            width: 100% !important;
            padding: 0.75rem 1rem !important;
        }

        .sticky-bottom-bar .cart-summary,
        .svk-bottom-cart-info {
            font-size: 0.8rem !important;
        }

        /* Product Cards Mobile Refinement */
        .product-card {
            padding: 0.75rem !important;
            border-radius: 12px !important;
            margin-bottom: var(--mobile-margin) !important;
        }

        .product-card img {
            height: 140px !important;
            border-radius: 10px !important;
        }

        .product-card h3 {
            font-size: 0.95rem !important;
            margin: 0.5rem 0 !important;
        }

        .price .sale {
            font-size: 1.1rem !important;
        }

        .price .mrp {
            font-size: 0.8rem !important;
        }

        .svk-card-qty-row {
            gap: 0.5rem !important;
        }

        .svk-qty-stepper {
            padding: 2px !important;
        }

        .svk-qty-input {
            width: 30px !important;
            font-size: 0.85rem !important;
        }

        .svk-btn-atc {
            padding: 0.5rem 0.75rem !important;
            font-size: 0.8rem !important;
        }

        /* Hero Section Mobile */
        .futuristic-hero {
            padding-top: 4rem !important;
            padding-bottom: 3rem !important;
        }

        .neon-text {
            font-size: 1.8rem !important;
        }

        .svk-timer-grid {
            gap: 0.5rem !important;
        }

        .svk-timer-box {
            padding: 0.5rem !important;
            min-width: 60px !important;
        }

        .svk-timer-box .val {
            font-size: 1.2rem !important;
        }

        .svk-timer-box .unit {
            font-size: 0.6rem !important;
        }
    }

    /* Glassmorphism for Drawer */
    .svk-drawer-panel {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px);
    }

    /* Simple & Professional View */
    .svk-sidebar h3,
    .svk-drawer-panel h2 {
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #1e293b;
        border-bottom: 2px solid var(--primary);
        display: inline-block;
        padding-bottom: 2px;
    }


    /* ============================================================
   RESET & BASE (from style.css)
   ============================================================ */
    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        font-size: 16px;
    }

    body {
        font-family: var(--font-body);
        background-color: var(--page-bg);
        color: var(--dark);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: hidden;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: var(--font-display);
        line-height: 1.2;
        font-weight: 700;
        color: var(--dark);
    }

    a {
        text-decoration: none;
        color: inherit;
        transition: var(--transition);
    }

    img {
        max-width: 100%;
        display: block;
    }

    ul {
        list-style: none;
    }

    /* ============================================================
   SCROLLBAR
   ============================================================ */
    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-track {
        background: var(--light);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 10px;
    }

    /* ============================================================
   PUBLIC HEADER & NAV (from style.css)
   ============================================================ */
    header {
        background: rgba(255, 255, 255, 0.95);
        padding: 0 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
        height: 68px;
        border-bottom: 1px solid var(--border-color);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    }

    header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
        background-size: 200% 100%;
        animation: shimmer 3s linear infinite;
    }

    @keyframes shimmer {
        0% {
            background-position: -200% 0;
        }

        100% {
            background-position: 200% 0;
        }
    }

    .logo a {
        color: var(--dark);
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .logo a:hover {
        opacity: 0.85;
    }

    nav ul {
        display: flex;
        gap: 0.25rem;
        align-items: center;
    }

    nav ul li a {
        color: var(--dark-2);
        font-weight: 500;
        font-size: 0.9rem;
        padding: 0.45rem 0.9rem;
        border-radius: var(--radius-sm);
        transition: var(--transition);
    }

    nav ul li a:hover {
        color: var(--primary);
        background: rgba(230, 48, 18, 0.06);
    }

    nav ul li a.active {
        color: var(--primary);
        background: rgba(230, 48, 18, 0.08);
        font-weight: 700;
    }

    nav ul li:last-child a,
    nav ul li a[href*="logout"] {
        background: rgba(230, 48, 18, 0.08);
        color: var(--primary);
        border: 1px solid rgba(230, 48, 18, 0.2);
        padding: 0.4rem 1rem;
        border-radius: var(--radius-pill);
    }

    nav ul li:last-child a:hover,
    nav ul li a[href*="logout"]:hover {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

    nav ul li a[href*="login"],
    nav ul li a[href*="register"] {
        background: var(--primary);
        color: var(--white);
        border-radius: var(--radius-pill);
        padding: 0.45rem 1.1rem;
        font-weight: 600;
    }

    nav ul li a[href*="login"]:hover,
    nav ul li a[href*="register"]:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: var(--shadow-colored);
    }

    .nav-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
        background: none;
        border: none;
        z-index: 1100;
    }

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--dark);
        border-radius: 2px;
        transition: var(--transition);
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ============================================================
   ADMIN LAYOUT (from admin.css)
   ============================================================ */
    .admin-header {
        background: #2c3e50;
        color: white;
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .admin-header .logo {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .admin-header nav ul {
        list-style: none;
        display: flex;
        gap: 1rem;
    }

    .admin-header nav ul li a {
        color: white;
        text-decoration: none;
        padding: 0.5rem;
        transition: background 0.3s;
    }

    .admin-header nav ul li a:hover {
        background: #1abc9c;
        border-radius: 4px;
    }

    .admin-main {
        padding: 2rem;
        max-width: 1400px;
        margin: 0 auto;
    }

    .admin-footer {
        background: #2c3e50;
        color: white;
        text-align: center;
        padding: 1rem;
        margin-top: 2rem;
    }

    /* ============================================================
   MAIN CONTAINER (common)
   ============================================================ */
    main {
        min-height: calc(100vh - 72px - 280px);
    }

    .container {
        max-width: 1240px;
        margin: 0 auto;
        padding: 0 5%;
    }

    section {
        padding: 5rem 5%;
        max-width: 1240px;
        margin: 0 auto;
    }

    section h2 {
        font-size: clamp(1.7rem, 3vw, 2.4rem);
        font-weight: 800;
        margin-bottom: 2.5rem;
        color: var(--dark);
        letter-spacing: -0.5px;
        position: relative;
        display: inline-block;
    }

    section h2::after {
        content: '';
        display: block;
        width: 48px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        border-radius: 2px;
        margin-top: 0.6rem;
    }

    /* ============================================================
   FOOTER (public)
   ============================================================ */
    footer {
        background: #1e293b;
        color: rgba(255, 255, 255, 0.6);
        padding: 4rem 5% 2rem;
        margin-top: 4rem;
        position: relative;
        overflow: hidden;
    }

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    }

    .footer-section h4 {
        color: #fff;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-bottom: 1.25rem;
    }

    .footer-section p {
        margin-bottom: 0.5rem;
        font-size: 0.88rem;
    }

    .footer-section a {
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.88rem;
        display: inline-block;
    }

    .footer-section a:hover {
        color: var(--accent);
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 3rem;
        margin-bottom: 3rem;
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-section h4 {
        color: var(--white);
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-bottom: 1.5rem;
    }

    .footer-section p {
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .footer-section a {
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.9rem;
        display: inline-block;
    }

    .footer-section a:hover {
        color: var(--accent);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 2rem;
        text-align: center;
        font-size: 0.85rem;
        max-width: 1240px;
        margin: 0 auto;
    }

    .admin-link {
        color: rgba(255, 255, 255, 0.2) !important;
        font-size: 0.8rem;
    }

    .admin-link:hover {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    /* ============================================================
   BUTTONS (unified from style.css)
   ============================================================ */
    .btn-primary {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: var(--white);
        padding: 0.85rem 2rem;
        border: none;
        border-radius: var(--radius-md);
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
        transition: var(--transition-bounce);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 4px 12px rgba(230, 48, 18, 0.2);
        letter-spacing: 0.01em;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-colored);
        background: linear-gradient(135deg, var(--primary-light), var(--primary));
    }

    .btn-primary:active {
        transform: translateY(-1px);
    }

    .btn-secondary {
        background: var(--white);
        color: var(--dark);
        padding: 0.82rem 1.75rem;
        border-radius: var(--radius-md);
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 0.92rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        gap: 0.5rem;
    }

    .btn-secondary:hover {
        background: var(--light);
        border-color: rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

    .btn-danger {
        background: linear-gradient(135deg, var(--danger), #a01010);
        color: var(--white);
        padding: 0.7rem 1.5rem;
        border: none;
        border-radius: var(--radius-md);
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 0.88rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        transition: var(--transition);
        text-decoration: none;
    }

    .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(214, 48, 49, 0.35);
    }

    .btn-success {
        background: linear-gradient(135deg, var(--success), #117a47);
        color: var(--white);
        padding: 0.7rem 1.5rem;
        border: none;
        border-radius: var(--radius-md);
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 0.88rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        transition: var(--transition);
        text-decoration: none;
    }

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(26, 158, 95, 0.35);
    }

    .btn-sm {
        padding: 0.45rem 1rem !important;
        font-size: 0.82rem !important;
    }

    /* ============================================================
   FORMS (unified)
   ============================================================ */
    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.55rem;
        font-weight: 600;
        font-size: 0.88rem;
        color: var(--dark);
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .form-control {
        width: 100%;
        padding: 0.9rem 1.1rem;
        border: 1.5px solid rgba(0, 0, 0, 0.1);
        border-radius: var(--radius-md);
        font-family: var(--font-body);
        font-size: 0.97rem;
        color: var(--dark);
        background: var(--white);
        transition: var(--transition);
        appearance: none;
    }

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(230, 48, 18, 0.08);
        outline: none;
    }

    .form-control:read-only {
        background: var(--light);
        color: var(--mid);
    }

    select.form-control {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
        cursor: pointer;
    }

    textarea.form-control {
        resize: vertical;
        min-height: 110px;
    }

    /* ============================================================
   TABLES (unified: premium-table & data-table)
   ============================================================ */
    .premium-table,
    .data-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        background: var(--white);
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(0, 0, 0, 0.06);
        margin: 1.5rem 0;
        font-size: 0.92rem;
    }

    .premium-table thead,
    .data-table thead {
        background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    }

    .premium-table th,
    .data-table th {
        padding: 1.1rem 1.25rem;
        text-align: left;
        font-weight: 700;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: rgba(255, 255, 255, 0.85);
        white-space: nowrap;
    }

    .premium-table td,
    .data-table td {
        padding: 1.1rem 1.25rem;
        border-top: 1px solid rgba(0, 0, 0, 0.04);
        color: var(--dark);
        vertical-align: middle;
    }

    .premium-table tbody tr,
    .data-table tbody tr {
        transition: var(--transition);
    }

    .premium-table tbody tr:hover,
    .data-table tbody tr:hover {
        background: rgba(230, 48, 18, 0.02);
    }

    .premium-table .actions,
    .data-table .actions {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        align-items: center;
    }

    /* ============================================================
   STATUS BADGES
   ============================================================ */
    .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.85rem;
        border-radius: var(--radius-pill);
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: capitalize;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }

    .status-badge::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
        flex-shrink: 0;
    }

    .status-badge.pending {
        background: rgba(243, 156, 18, 0.1);
        color: var(--warning);
        border: 1px solid rgba(243, 156, 18, 0.2);
    }

    .status-badge.confirmed {
        background: rgba(26, 158, 95, 0.1);
        color: var(--success);
        border: 1px solid rgba(26, 158, 95, 0.2);
    }

    .status-badge.packing,
    .status-badge.shipped,
    .status-badge.delivered {
        background: rgba(41, 128, 185, 0.1);
        color: var(--info);
        border: 1px solid rgba(41, 128, 185, 0.2);
    }

    .status-badge.cancelled {
        background: rgba(214, 48, 49, 0.1);
        color: var(--danger);
        border: 1px solid rgba(214, 48, 49, 0.2);
    }

    .status-badge.active {
        background: rgba(26, 158, 95, 0.1);
        color: var(--success);
        border: 1px solid rgba(26, 158, 95, 0.2);
    }

    .status-badge.inactive {
        background: rgba(90, 90, 90, 0.1);
        color: var(--mid);
        border: 1px solid rgba(90, 90, 90, 0.2);
    }

    /* ============================================================
   ALERTS / FLASH MESSAGES
   ============================================================ */
    .alert {
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md);
        margin-bottom: 1.5rem;
        font-weight: 500;
        font-size: 0.92rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        animation: fadeUp 0.4s ease both;
    }

    .alert-success {
        background: rgba(26, 158, 95, 0.1);
        color: var(--success);
        border: 1px solid rgba(26, 158, 95, 0.2);
    }

    .alert-danger {
        background: rgba(214, 48, 49, 0.1);
        color: var(--danger);
        border: 1px solid rgba(214, 48, 49, 0.2);
    }

    .alert-warning {
        background: rgba(243, 156, 18, 0.1);
        color: var(--warning);
        border: 1px solid rgba(243, 156, 18, 0.2);
    }

    .alert-info {
        background: rgba(41, 128, 185, 0.1);
        color: var(--info);
        border: 1px solid rgba(41, 128, 185, 0.2);
    }

    /* ============================================================
   BADGE
   ============================================================ */
    .badge {
        display: inline-block;
        background: var(--light);
        color: var(--mid);
        padding: 0.2rem 0.7rem;
        border-radius: var(--radius-pill);
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    /* ============================================================
   STICKY CART BAR (from style.css)
   ============================================================ */
    .sticky-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        color: var(--dark);
        padding: 0.75rem 5%;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 990;
        border-top: 1px solid var(--border-color);
        animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .cart-summary span {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--dark);
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .cart-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1240px;
        margin: 0 auto;
        gap: 1rem;
    }

    .cart-summary span {
        font-size: 0.95rem;
        font-weight: 600;
        color: rgba(0, 0, 0, 0.9);
    }

    .btn-cart {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: var(--white);
        padding: 0.6rem 1.75rem;
        border-radius: var(--radius-pill);
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: var(--shadow-colored);
        transition: var(--transition-bounce);
        white-space: nowrap;
    }

    .btn-cart:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 8px 28px rgba(230, 48, 18, 0.4);
    }

    /* ============================================================
   HERO, CATEGORIES, PRODUCT GRID, TRUST (from user_style.css)
   ============================================================ */
    .hero {
        background: linear-gradient(135deg, #fff5f3 0%, #fffbf0 50%, #f0f7ff 100%);
        min-height: 78vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: var(--dark);
        padding: 4rem 8%;
        margin: 0;
        max-width: 100%;
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse at 20% 50%, rgba(230, 48, 18, 0.08) 0%, transparent 55%),
            radial-gradient(ellipse at 80% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
        z-index: 0;
    }

    .hero>* {
        position: relative;
        z-index: 1;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.8rem);
        font-weight: 800;
        color: white;
        margin-bottom: 1.25rem;
        line-height: 1.1;
        letter-spacing: -1px;
        animation: fadeUp 0.7s ease both;
    }

    .hero p {
        font-size: clamp(0.95rem, 1.8vw, 1.15rem);
        color: rgb(0, 0, 0);
        margin-bottom: 2rem;
        font-weight: 400;
        animation: fadeUp 0.7s 0.12s ease both;
    }

    .countdown {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        padding: 1rem 2.5rem;
        border-radius: var(--radius-pill);
        font-size: 1.15rem;
        font-weight: 700;
        box-shadow: var(--shadow-colored), 0 0 40px rgba(230, 48, 18, 0.3);
        letter-spacing: 0.03em;
        animation: fadeUp 0.8s 0.3s ease both;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .heritage {
        background: linear-gradient(135deg, #fff5f3 0%, #fffbf0 100%);
        color: var(--dark);
        padding: 3.5rem 5%;
        max-width: 100%;
        margin: 0;
        text-align: center;
        border-top: 1px solid rgba(230, 48, 18, 0.1);
        border-bottom: 1px solid rgba(230, 48, 18, 0.1);
    }

    .heritage h2 {
        font-size: clamp(1.4rem, 2.5vw, 2rem);
        color: var(--primary);
        margin-bottom: 0.75rem;
        font-weight: 800;
    }

    .heritage p {
        color: var(--mid);
        max-width: 640px;
        margin: 0 auto;
        font-size: 1rem;
        line-height: 1.75;
    }

    .categories {
        padding-bottom: 2rem;
        padding-top: 3rem;
    }

    .category-strip {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }

    .category-item {
        background: var(--white);
        padding: 0.75rem 1.75rem;
        border-radius: var(--radius-pill);
        color: var(--dark);
        font-weight: 600;
        font-size: 0.9rem;
        box-shadow: var(--shadow-sm);
        border: 2px solid transparent;
        transition: var(--transition-bounce);
    }

    .category-item:hover {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
        transform: translateY(-4px);
        box-shadow: var(--shadow-colored);
    }

    .featured {
        padding-top: 1rem;
        padding-bottom: 3rem;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 2rem;
    }

    .product-card {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 1.25rem;
        text-align: center;
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(0, 0, 0, 0.04);
        transition: var(--transition-slow);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        position: relative;
        overflow: hidden;
    }

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        transform: scaleX(0);
        transition: var(--transition);
        transform-origin: left;
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

    .product-card:hover::before {
        transform: scaleX(1);
    }

    .product-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: var(--radius-md);
        transition: var(--transition-slow);
    }

    .product-card:hover img {
        transform: scale(1.03);
    }

    .product-card h3 {
        font-size: 1rem;
        font-weight: 700;
        margin-top: 0.25rem;
    }

    .price {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .price .mrp {
        font-size: 0.85rem;
        color: var(--mid);
        text-decoration: line-through;
    }

    .price .sale {
        font-size: 1.5rem;
        color: var(--primary);
        font-weight: 700;
    }

    .price .save {
        background: rgba(26, 158, 95, 0.1);
        color: var(--success);
        font-size: 0.78rem;
        font-weight: 600;
        padding: 0.2rem 0.6rem;
        border-radius: var(--radius-pill);
    }

    .add-to-cart {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        width: 100%;
        padding: 0.85rem;
        border-radius: var(--radius-md);
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--white);
        border: none;
        cursor: pointer;
        margin-top: auto;
        transition: var(--transition-bounce);
        box-shadow: 0 4px 12px rgba(230, 48, 18, 0.25);
    }

    .add-to-cart:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-colored);
    }

    .view-details {
        display: block;
        font-size: 0.85rem;
        color: var(--mid);
        font-weight: 500;
        margin-top: 0.25rem;
    }

    .view-details:hover {
        color: var(--primary);
    }

    .trust {
        background: var(--white);
        border-radius: var(--radius-xl);
        max-width: 1000px;
        margin: 0 auto 4rem;
        padding: 4rem 5%;
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .trust h2 {
        display: block;
    }

    .trust h2::after {
        margin: 0.6rem auto 0;
    }

    .trust-icons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-top: 2.5rem;
        text-align: left;
    }

    .trust-icons li {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        background: var(--light);
        padding: 1.25rem 1.5rem;
        border-radius: var(--radius-md);
        font-weight: 500;
        font-size: 0.95rem;
        border: 1px solid rgba(0, 0, 0, 0.04);
        transition: var(--transition);
    }

    .trust-icons li:hover {
        background: var(--white);
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

    .trust-icons li span {
        font-size: 1.4rem;
        flex-shrink: 0;
        margin-top: -2px;
    }

    /* ============================================================
   AUTH PAGES & USER DASHBOARD (from user_style.css)
   ============================================================ */
    .auth-wrapper {
        max-width: 480px;
        margin: 5rem auto;
        background: var(--white);
        padding: 3rem;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        border: 1px solid rgba(0, 0, 0, 0.05);
        animation: fadeUp 0.5s ease both;
    }

    .auth-wrapper h2 {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 2rem;
        font-weight: 800;
    }

    .auth-wrapper h2::after {
        margin: 0.5rem auto 0;
    }

    .auth-wrapper.profile-form {
        max-width: 720px;
    }

    .summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 0.93rem;
    }

    .summary-row:last-child {
        border-bottom: none;
    }

    .summary-row span:first-child {
        color: var(--mid);
    }

    .summary-row span:last-child {
        font-weight: 600;
    }

    .summary-row.savings span {
        color: var(--success) !important;
    }

    .summary-row.total span {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--dark);
    }

    .cart-summary-box {
        background: var(--white);
        padding: 2rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .cart-summary-box h3 {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        color: var(--dark);
    }

    .cart-qty-input {
        width: 70px !important;
        padding: 0.45rem 0.6rem !important;
        text-align: center;
        border-radius: var(--radius-sm) !important;
    }

    .summary-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 0.92rem;
    }

    .summary-item span:first-child {
        color: var(--mid);
    }

    .summary-item strong,
    .summary-item span:last-child {
        font-weight: 600;
    }

    .summary-item.total span {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--dark);
    }

    .order-meta-pane .stat-card {
        text-align: left;
        border-bottom: none;
        border-left: 4px solid var(--primary);
        padding: 1.75rem;
    }

    .order-meta-pane .stat-card h3 {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 1.25rem;
        color: var(--mid);
    }

    .order-items-pane img {
        object-fit: cover;
        border-radius: var(--radius-sm);
    }

    /* ============================================================
   ADMIN KPI CARDS & STATS (from admin.css)
   ============================================================ */
    .kpi-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .card {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .card h3 {
        margin-bottom: 0.5rem;
        color: #2c3e50;
    }

    .card p {
        font-size: 2rem;
        font-weight: bold;
        color: #e67e22;
    }

    /* ============================================================
   SHARED DASHBOARD COMPONENTS (from style.css)
   ============================================================ */
    .dashboard-container {
        padding: 3rem 5%;
        max-width: 1240px;
        margin: 0 auto;
    }

    .dashboard-container>h1,
    .dashboard-container>.mb-4>h1 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .stat-card {
        background: var(--white);
        padding: 2rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        text-align: center;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 3px solid var(--primary);
        transition: var(--transition-bounce);
        position: relative;
        overflow: hidden;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
        background: radial-gradient(circle at top right, rgba(230, 48, 18, 0.06), transparent 70%);
        border-radius: 0 var(--radius-lg) 0 100%;
    }

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .stat-card h3 {
        color: var(--mid);
        font-size: 0.78rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 0.75rem;
    }

    .stat-card .value {
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--dark);
        letter-spacing: -1px;
    }

    /* ============================================================
   WHATSAPP BTN
   ============================================================ */
    a[href*="wa.me"],
    .btn-whatsapp {
        color: white;
        background: linear-gradient(135deg, #25d366, #128C7E) !important;
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
    }

    a[href*="wa.me"]:hover,
    .btn-whatsapp:hover {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
    }

    /* ============================================================
   UTILITIES
   ============================================================ */
    .text-center {
        text-align: center;
    }

    .mt-4 {
        margin-top: 2rem;
    }

    .mb-4 {
        margin-bottom: 2rem;
        color: black;
    }

    .recent-orders {
        margin-top: 2rem;
    }

    .quick-links a {
        text-align: center;
        font-weight: 700;
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md);
        transition: var(--transition-bounce);
    }

    .quick-links a:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(24px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ============================================================
   RESPONSIVE (combined)
   ============================================================ */
    @media (max-width: 768px) {
        header {
            padding: 0 1rem;
            height: 64px;
        }

        .logo a {
            font-size: 1.35rem;
        }

        nav {
            display: none;
        }

        .nav-toggle {
            display: flex;
        }

        @keyframes fadeDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        section {
            padding: 2.5rem 1rem;
        }

        .container {
            padding: 0 1rem;
        }

        .dashboard-container {
            padding: 1.5rem 1rem;
        }

        .dashboard-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .stat-card {
            padding: 1.5rem;
        }

        .stat-card .value {
            font-size: 1.8rem;
        }

        .premium-table,
        .data-table {
            display: block;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            white-space: nowrap;
            border-radius: var(--radius-md);
        }

        .cart-summary {
            flex-wrap: wrap;
            gap: 0.6rem;
            justify-content: center;
        }

        .cart-summary span {
            font-size: 0.85rem;
        }

        .sticky-bottom-bar {
            padding: 0.75rem 1rem;
        }

        footer {
            padding: 3rem 1rem 1.5rem;
        }

        .footer-content {
            gap: 2rem;
        }

        .hero {
            min-height: 65vh;
            padding: 4rem 6%;
        }

        .hero h1 {
            font-size: 2rem;
            letter-spacing: -0.5px;
        }

        .hero p {
            font-size: 0.95rem;
        }

        .countdown {
            font-size: 1rem;
            padding: 0.9rem 1.5rem;
        }

        .product-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .product-card {
            padding: 1rem;
        }

        .product-card img {
            height: 150px;
        }

        .price .sale {
            font-size: 1.2rem;
        }

        .trust-icons {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .auth-wrapper {
            margin: 1.5rem 1rem;
            padding: 2rem 1.5rem;
            border-radius: var(--radius-lg);
        }

        .category-strip {
            gap: 0.6rem;
        }

        .category-item {
            padding: 0.6rem 1.2rem;
            font-size: 0.85rem;
        }

        /* Only collapse ad-hoc inline grids — NOT SVK-controlled layout grids */
        [style*="display:grid"]:not(.svk-products-layout):not(.svk-featured-grid):not(.svk-cart-layout):not(.svk-product-detail-grid):not(.svk-card-qty-row) {
            display: block !important;
        }

        [style*="display:grid"]:not(.svk-products-layout):not(.svk-featured-grid):not(.svk-cart-layout):not(.svk-product-detail-grid)>*+* {
            margin-top: 1.5rem;
        }

        .quick-links {
            display: grid !important;
            grid-template-columns: 1fr !important;
            gap: 1rem !important;
        }
    }

    @media (max-width: 480px) {
        .dashboard-grid {
            grid-template-columns: 1fr 1fr;
        }

        .product-grid {
            grid-template-columns: 1fr;
        }

        .auth-wrapper {
            margin: 1rem;
            padding: 1.5rem;
        }

        [style*="grid-template-columns: 1fr 1fr 1fr"] {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 1rem !important;
        }
    }

    /* ============================================================
   SIVAKASI CRACKERS — MOBILE RESPONSIVE OVERRIDE CSS
   File: style_mobile.css  (append-include after style1.css)
   New features:
     • Products table layout: Image | Name | MRP | Offer Price | Qty | Add to Cart
     • Sticky table header (after site header)
     • Product image lightbox popup
     • Full mobile view for index, products, product detail, cart
     • Unique class/ID naming: svk-* prefix
   ============================================================ */

    /* ============================================================
   IMPORT GOOGLE FONT (Poppins already expected by main css)
   ============================================================ */
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

    /* ============================================================
   CSS VARIABLES EXTENSION
   ============================================================ */
    :root {
        --svk-table-head-h: 48px;
        --svk-radius: 10px;
        --svk-gap: 1rem;
        --svk-orange: #e63012;
        --svk-gold: #f59e0b;
        --svk-green: #059669;
        --svk-dark: #1e293b;
        --svk-white: #ffffff;
        --svk-light: #f8fafc;
        --svk-light-2: #f1f5f9;
        --svk-mid: #64748b;
        --svk-border: rgba(0, 0, 0, 0.07);
        --svk-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
        --svk-transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ============================================================
   SVK PRODUCTS TABLE LAYOUT
   Replaces the card grid on /products.php (desktop first)
   ============================================================ */

    /* Outer wrapper that handles sticky table head */
    .svk-products-table-wrap {
        /* width: 100%; */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--svk-radius);
        box-shadow: var(--svk-shadow);
        background: var(--svk-white);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    /* Sticky thead — sits right below the site header */
    .svk-products-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        font-size: 0.93rem;
        min-width: 700px;
        /* prevent overflow collapse on tiny screens */
    }

    .svk-products-table thead {
        /* position: sticky; */
        /* top: var(--svk-header-h); */

        /* stick below the fixed site header */
        z-index: 90;
    }

    .svk-products-table thead tr {
        background: linear-gradient(135deg, var(--svk-dark) 0%, #1c1c1c 100%);
    }

    .svk-products-table th {
        padding: 0.95rem 1rem;
        text-align: left;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: rgba(255, 255, 255, 0.85);
        white-space: nowrap;
        border-bottom: 2px solid var(--svk-orange);
    }

    .svk-products-table th:first-child {
        padding-left: 1.25rem;
    }

    .svk-products-table th:last-child {
        padding-right: 1.25rem;
    }

    /* Column widths */
    .svk-products-table .col-img {
        width: 80px;
        min-width: 70px;
    }

    .svk-products-table .col-name {
        min-width: 170px;
    }

    .svk-products-table .col-mrp {
        width: 100px;
        min-width: 90px;
        text-align: right;
    }

    .svk-products-table .col-price {
        width: 110px;
        min-width: 100px;
        text-align: right;
    }

    .svk-products-table .col-qty {
        width: 90px;
        min-width: 80px;
        text-align: center;
    }

    .svk-products-table .col-action {
        width: 140px;
        min-width: 130px;
        text-align: center;
    }

    /* Table body rows */
    .svk-products-table tbody tr {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: var(--svk-transition);
    }

    .svk-products-table tbody tr:last-child {
        border-bottom: none;
    }

    .svk-products-table tbody tr:hover {
        background: rgba(230, 48, 18, 0.03);
    }

    .svk-products-table td {
        padding: 0.85rem 1rem;
        vertical-align: middle;
        color: var(--svk-dark);
    }

    .svk-products-table td:first-child {
        padding-left: 1.25rem;
    }

    .svk-products-table td:last-child {
        padding-right: 1.25rem;
    }

    /* Product thumbnail — clickable for lightbox */
    .svk-prod-thumb {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 8px;
        cursor: pointer;
        transition: var(--svk-transition);
        border: 2px solid transparent;
        display: block;
    }

    .svk-prod-thumb:hover {
        border-color: var(--svk-orange);
        transform: scale(1.08);
        box-shadow: 0 4px 12px rgba(230, 48, 18, 0.25);
    }

    /* Product name cell */
    .svk-prod-name {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--svk-dark);
        display: block;
        margin-bottom: 0.2rem;
    }

    .svk-prod-sku {
        font-size: 0.75rem;
        color: var(--svk-mid);
        font-weight: 400;
    }

    .svk-prod-link {
        font-size: 0.78rem;
        color: var(--svk-orange);
        font-weight: 600;
        margin-top: 0.25rem;
        display: inline-block;
        text-decoration: none;
        transition: var(--svk-transition);
    }

    .svk-prod-link:hover {
        text-decoration: underline;
    }

    /* MRP — strikethrough */
    .svk-mrp {
        font-size: 0.83rem;
        color: var(--svk-mid);
        text-decoration: line-through;
        display: block;
        text-align: right;
    }

    /* Offer Price */
    .svk-offer-price {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--svk-orange);
        display: block;
        text-align: right;
    }

    .svk-save-badge {
        display: inline-block;
        background: rgba(26, 158, 95, 0.10);
        color: var(--svk-green);
        font-size: 0.7rem;
        font-weight: 700;
        padding: 0.15rem 0.45rem;
        border-radius: 20px;
        margin-top: 0.2rem;
    }

    /* Qty input in table */
    .svk-qty-input {
        width: 62px;
        padding: 0.42rem 0.5rem;
        border: 1.5px solid rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 600;
        text-align: center;
        color: var(--svk-dark);
        background: var(--svk-white);
        transition: var(--svk-transition);
        -moz-appearance: textfield;
        appearance: textfield;
    }

    .svk-qty-input::-webkit-inner-spin-button,
    .svk-qty-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }

    .svk-qty-input:focus {
        border-color: var(--svk-orange);
        box-shadow: 0 0 0 3px rgba(230, 48, 18, 0.10);
        outline: none;
    }

    /* Add to cart button inside table */
    .svk-btn-atc {
        background: linear-gradient(135deg, var(--svk-orange), #b82309);
        color: var(--svk-white);
        border: none;
        border-radius: 8px;
        padding: 0.55rem 1rem;
        font-family: inherit;
        font-size: 0.82rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        cursor: pointer;
        width: 100%;
        transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 3px 10px rgba(230, 48, 18, 0.20);
        white-space: nowrap;
    }

    .svk-btn-atc:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(230, 48, 18, 0.38);
    }

    .svk-btn-atc:active {
        transform: translateY(0);
    }

    /* ============================================================
   IMAGE LIGHTBOX POPUP  (#svk-lightbox)
   ============================================================ */
    #svk-lightbox {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.82);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        align-items: center;
        justify-content: center;
        padding: 1rem;
        animation: svkFadeIn 0.22s ease both;
    }

    #svk-lightbox.svk-active {
        display: flex;
    }

    @keyframes svkFadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .svk-lightbox-inner {
        position: relative;
        background: var(--svk-white);
        border-radius: 16px;
        padding: 1.25rem;
        max-width: 540px;
        width: 100%;
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
        animation: svkPopIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }

    @keyframes svkPopIn {
        from {
            transform: scale(0.88);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    #svk-lightbox-img {
        width: 100%;
        border-radius: 10px;
        object-fit: contain;
        max-height: 70vh;
        display: block;
    }

    .svk-lightbox-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--svk-dark);
        margin-top: 0.9rem;
        text-align: center;
    }

    #svk-lightbox-close {
        position: absolute;
        top: -14px;
        right: -14px;
        width: 36px;
        height: 36px;
        background: white;
        color: var(--svk-white);
        border: none;
        border-radius: 50%;
        font-size: 1.2rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(230, 48, 18, 1);
        transition: var(--svk-transition);
        font-weight: 700;
    }

    #svk-lightbox-close:hover {
        background: #b82309;
        transform: scale(1.12);
    }

    /* ============================================================
   PRODUCTS PAGE — FILTER SIDEBAR (desktop)
   ============================================================ */
    .svk-products-layout {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 2.5rem;
        max-width: 1240px;
        margin: 0 auto;
        padding: 2rem 5%;
    }

    .svk-sidebar {
        background: var(--svk-white);
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: var(--svk-shadow);
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: sticky;
        top: calc(var(--svk-header-h) + 1.5rem);
        height: fit-content;
        max-height: calc(100vh - var(--svk-header-h) - 3rem);
        overflow-y: auto;
    }

    .svk-sidebar h3 {
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--svk-mid);
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }

    .svk-sidebar h3:first-child {
        margin-top: 0;
    }

    /* Filter toggle on mobile */
    .svk-filter-toggle {
        display: none;
        align-items: center;
        gap: 0.5rem;
        background: var(--svk-orange);
        color: var(--svk-white);
        border: none;
        border-radius: 10px;
        padding: 0.7rem 1.25rem;
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        margin-bottom: 1rem;
    }

    /* ============================================================
   PRODUCT DETAIL PAGE — MOBILE OVERRIDES
   ============================================================ */
    .svk-product-detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
        align-items: start;
        max-width: 1240px;
        margin: 0 auto;
        padding: 2rem 5%;
    }

    .svk-product-img-wrap {
        background: var(--svk-white);
        padding: 2rem;
        border-radius: 16px;
        box-shadow: var(--svk-shadow);
    }

    .svk-product-img-wrap img {
        width: 100%;
        border-radius: 10px;
        cursor: pointer;
        transition: var(--svk-transition);
    }

    .svk-product-img-wrap img:hover {
        transform: scale(1.02);
    }

    /* ============================================================
   CART PAGE — MOBILE LAYOUT
   ============================================================ */
    .svk-cart-layout {
        display: grid;
        grid-template-columns: 1fr 360px;
        gap: 2.5rem;
        align-items: start;
        max-width: 1240px;
        margin: 0 auto;
        padding: 2rem 5%;
    }

    /* ============================================================
   INDEX PAGE — MOBILE PRODUCT GRID
   ============================================================ */
    .svk-featured-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    /* Product card qty wrapper */
    .svk-card-qty-row {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        margin-top: 0.5rem;
    }

    .svk-card-qty-row .svk-qty-input {
        flex: 0 0 54px;
    }

    .svk-card-qty-row .svk-btn-atc {
        flex: 1;
        font-size: 0.78rem;
        padding: 0.55rem 0.75rem;
    }

    /* ============================================================
   MOBILE BOTTOM CART BAR ENHANCEMENT
   ============================================================ */
    .svk-bottom-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 980;
        background: var(--svk-dark);
        border-top: 2px solid var(--svk-orange);
        padding: 0.8rem 1.25rem;
        display: none;
        /* shown via JS when cart > 0 */
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        backdrop-filter: blur(10px);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
    }

    .svk-bottom-cart.svk-visible {
        display: flex;
    }

    .svk-bottom-cart-info {
        display: flex;
        flex-direction: column;
        color: var(--svk-white);
    }

    .svk-bottom-cart-info span:first-child {
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.55);
        font-weight: 500;
    }

    .svk-bottom-cart-info span:last-child {
        font-size: 1.05rem;
        font-weight: 800;
    }

    .svk-bottom-cart-btns {
        display: flex;
        gap: 0.6rem;
    }

    .svk-btn-cart-view {
        background: var(--svk-orange);
        color: var(--svk-white);
        padding: 0.6rem 1.1rem;
        border-radius: 10px;
        font-size: 0.85rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        transition: var(--svk-transition);
    }

    .svk-btn-cart-wa {
        background: linear-gradient(135deg, #25d366, #128C7E);
        color: var(--svk-white);
        padding: 0.6rem 1rem;
        border-radius: 10px;
        font-size: 0.85rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        transition: var(--svk-transition);
    }

    /* ============================================================
   TOAST NOTIFICATION  (.svk-toast)
   ============================================================ */
    #svk-toast-container {
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10000;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        pointer-events: none;
    }

    .svk-toast {
        background: var(--svk-dark);
        color: var(--svk-white);
        padding: 0.75rem 1.5rem;
        border-radius: 100px;
        font-size: 0.88rem;
        font-weight: 600;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        animation: svkToastIn 0.3s ease both;
        white-space: nowrap;
        border-left: 4px solid var(--svk-orange);
    }

    .svk-toast.svk-toast-out {
        animation: svkToastOut 0.3s ease both;
    }

    @keyframes svkToastIn {
        from {
            opacity: 0;
            transform: translateY(12px) scale(0.9);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    @keyframes svkToastOut {
        to {
            opacity: 0;
            transform: translateY(12px) scale(0.9);
        }
    }

    /* ============================================================
   MOBILE FILTERS DRAWER  (#svk-filter-drawer)
   ============================================================ */
    #svk-filter-drawer {
        position: fixed;
        inset: 0;
        z-index: 9000;
        display: none;
    }

    #svk-filter-drawer.svk-active {
        display: block;
    }

    .svk-drawer-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
    }

    .svk-drawer-panel {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(310px, 88vw);
        background: var(--svk-white);
        padding: 1.5rem;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
        animation: svkSlideIn 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    @keyframes svkSlideIn {
        from {
            transform: translateX(-100%);
        }

        to {
            transform: translateX(0);
        }
    }

    .svk-drawer-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: var(--svk-light);
        border: none;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--svk-transition);
    }

    .svk-drawer-close:hover {
        background: var(--svk-orange);
        color: white;
    }

    /* ============================================================
   ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================
   ============================================================ */

    /* ---- TABLET (≤ 1024px) ---- */
    @media (max-width: 1024px) {
        .svk-products-layout {
            grid-template-columns: 220px 1fr;
            gap: 1.75rem;
            padding: 1.5rem 3%;
        }

        .svk-product-detail-grid {
            gap: 2rem;
            padding: 1.5rem 3%;
        }

        .svk-cart-layout {
            grid-template-columns: 1fr 300px;
            gap: 1.75rem;
            padding: 1.5rem 3%;
        }
    }

    /* ---- MOBILE (≤ 768px) — main breakpoint ---- */
    @media (max-width: 768px) {

        /* -- Site header becomes 60px on mobile -- */
        :root {
            --svk-header-h: 60px;
        }

        /* -- Products layout switches to single column -- */
        .svk-products-layout {
            grid-template-columns: 1fr;
            gap: 1rem;
            padding: 1rem 3%;
        }

        /* Sidebar becomes a drawer on mobile */
        .svk-sidebar {
            display: none;
            /* hidden; opened via drawer */
            position: static;
            height: auto;
            max-height: none;
        }

        .svk-filter-toggle {
            display: inline-flex;
        }

        /* -- Products table to CARD layout on mobile -- */
        .svk-products-table-wrap {
            border-radius: 12px;
            overflow: visible;
            background: transparent;
            box-shadow: none;
            border: none;
        }

        .svk-products-table thead {
            display: none;
        }

        .svk-products-table,
        .svk-products-table tbody,
        .svk-products-table tr {
            display: block;
            width: 100%;
        }

        .svk-products-table tr {
            display: grid;
            grid-template-columns: 80px 1fr auto;
            grid-template-areas:
                "img name action"
                "img price action";
            gap: 8px 12px;
            padding: 12px;
            margin-bottom: 12px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.06);
            align-items: center;
        }

        .svk-products-table td {
            padding: 0 !important;
            border: none !important;
            display: block;
        }

        .svk-products-table .col-img {
            grid-area: img;
            width: 100%;
            min-width: 80px;
        }

        .svk-products-table .col-name {
            grid-area: name;
            align-self: start;
            margin-top: 4px;
        }

        .svk-products-table .col-price {
            grid-area: price;
            align-self: end;
            margin-bottom: 4px;
        }

        .svk-products-table .col-action {
            grid-area: action;
            width: auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
        }

        .svk-prod-thumb {
            width: 80px;
            height: 80px;
            border-radius: 8px;
        }

        .svk-prod-name {
            font-size: 0.95rem;
            line-height: 1.2;
        }

        .svk-offer-price {
            font-size: 1rem;
        }

        .svk-mrp {
            font-size: 0.8rem;
        }

        .svk-qty-stepper {
            flex-direction: row;
            margin-bottom: 6px;
        }

        .svk-qty-input {
            width: 40px;
            padding: 0.35rem;
            font-size: 0.85rem;
        }

        .svk-btn-atc {
            font-size: 0.8rem;
            padding: 0.45rem 0.8rem;
            width: 100%;
        }

        .svk-prod-thumb {
            width: 50px;
            height: 50px;
        }

        .svk-prod-name {
            font-size: 0.88rem;
        }

        .svk-offer-price {
            font-size: 0.95rem;
        }

        .svk-mrp {
            font-size: 0.78rem;
        }

        .svk-qty-input {
            width: 52px;
            font-size: 0.85rem;
        }

        .svk-btn-atc {
            font-size: 0.75rem;
            padding: 0.5rem 0.65rem;
            letter-spacing: 0.02em;
        }

        /* -- Product detail: single column -- */
        .svk-product-detail-grid {
            grid-template-columns: 1fr;
            gap: 1.25rem;
            padding: 0.5rem 1rem 1rem;
        }

        .svk-product-img-wrap {
            padding: 0.75rem;
        }

        /* -- Cart: single column -- */
        .svk-cart-layout {
            grid-template-columns: 1fr;
            gap: 1.25rem;
            padding: 0.5rem 1rem 1rem;
        }

        /* Cart summary sticks near the bottom before the cart bar */
        .svk-cart-sidebar {
            order: -1;
            /* show summary above items on mobile */
        }

        /* Featured grid: 2 columns on mobile */
        .svk-featured-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        /* Qty row inside cards */
        .svk-card-qty-row {
            flex-direction: column;
        }

        /* Bottom cart bar shows on mobile */
        .svk-bottom-cart {
            display: flex;
        }

        /* Add body padding so content isn't hidden behind bottom bar */
        body {
            padding-bottom: 72px;
        }

        /* Toast sits above bottom bar */
        #svk-toast-container {
            bottom: 88px;
        }

        /* -- INDEX hero adjustments -- */
        .svk-hero-cta-row {
            flex-direction: column;
            gap: 0.75rem;
        }

        .svk-hero-cta-row a,
        .svk-hero-cta-row button {
            width: 100%;
            justify-content: center;
        }

        /* -- Category strip: horizontal scroll -- */
        .category-strip {
            flex-wrap: nowrap;
            overflow-x: auto;
            justify-content: flex-start;
            padding-bottom: 0.5rem;
            gap: 0.6rem;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .category-strip::-webkit-scrollbar {
            display: none;
        }

        .category-item {
            flex-shrink: 0;
            padding: 0.55rem 1.1rem;
            font-size: 0.82rem;
        }

        /* -- Trust section grid -- */
        .trust-icons {
            grid-template-columns: 1fr;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }

        .trust-icons li {
            padding: 1rem 1.1rem;
            font-size: 0.88rem;
        }

        /* -- Stat cards 2-col -- */
        .dashboard-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        /* -- Override: remove !important display:block on grids we control -- */
        .svk-products-layout,
        .svk-product-detail-grid,
        .svk-cart-layout {
            display: grid !important;
        }

        /* -- Lightbox full-screen on mobile -- */
        .svk-lightbox-inner {
            max-width: 100%;
            border-radius: 14px;
            padding: 1rem;
        }

        #svk-lightbox {
            padding: 0.75rem;
        }

        #svk-lightbox-close {
            top: -10px;
            right: -8px;
            width: 32px;
            height: 32px;
            font-size: 1rem;
        }
    }

    /* ---- SMALL MOBILE (≤ 480px) ---- */
    @media (max-width: 480px) {
        .svk-featured-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .svk-products-table tr {
            grid-template-columns: 70px 1fr;
            grid-template-areas:
                "img name"
                "img price"
                "action action";
        }

        .svk-products-table .col-action {
            width: 100%;
            margin-top: 0.5rem;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            padding-top: 0.75rem !important;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            gap: 0.5rem;
        }

        .svk-products-table .col-action>div {
            flex-direction: row;
            width: 100%;
            justify-content: space-between;
            align-items: stretch;
        }

        .svk-qty-stepper {
            margin-bottom: 0;
            height: 38px;
        }

        .svk-qty-input {
            width: 44px;
            height: 28px;
        }

        .svk-btn-atc {
            font-size: 0.85rem;
            height: 38px;
            padding: 0 1rem;
            width: auto;
            flex: 1;
            margin-left: 0.5rem;
        }

        .svk-prod-thumb {
            width: 70px;
            height: 70px;
        }

        /* Single-column product cards on very small screens */
        .svk-featured-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .dashboard-container {
            padding: 1rem 4%;
        }

        .svk-cart-layout,
        .svk-product-detail-grid {
            padding: 1rem 4%;
        }

        #svk-toast-container {
            width: 92vw;
        }

        .svk-toast {
            font-size: 0.82rem;
        }

        .svk-products-table-wrap {
            overflow: hidden !important;
        }
    }

    /* ---- VERY SMALL (≤ 360px) ---- */
    @media (max-width: 360px) {
        .svk-featured-grid {
            grid-template-columns: 1fr;
        }

        .svk-products-table {
            min-width: 440px;
        }
    }

    /* ============================================================
   PRODUCTS PAGE COUNT + SORT BAR (mobile)
   ============================================================ */
    .svk-results-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.25rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .svk-results-count {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--svk-mid);
    }

    .svk-sort-select {
        padding: 0.5rem 2rem 0.5rem 0.85rem;
        border: 1.5px solid rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        font-family: inherit;
        font-size: 0.86rem;
        font-weight: 600;
        color: var(--svk-dark);
        background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.7rem center;
        appearance: none;
        cursor: pointer;
        transition: var(--svk-transition);
    }

    .svk-sort-select:focus {
        border-color: var(--svk-orange);
        outline: none;
        box-shadow: 0 0 0 3px rgba(230, 48, 18, 0.1);
    }

    /* ============================================================
   SEARCH BAR (products page top, mobile)
   ============================================================ */
    .svk-search-bar {
        display: flex;
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }

    .svk-search-bar input {
        flex: 1;
        padding: 0.7rem 1rem;
        border: 1.5px solid rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        font-family: inherit;
        font-size: 0.92rem;
        transition: var(--svk-transition);
    }

    .svk-search-bar input:focus {
        border-color: var(--svk-orange);
        outline: none;
        box-shadow: 0 0 0 3px rgba(230, 48, 18, 0.1);
    }

    .svk-search-bar button {
        background: var(--svk-orange);
        color: white;
        border: none;
        border-radius: 10px;
        padding: 0.7rem 1.1rem;
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        transition: var(--svk-transition);
    }

    .svk-search-bar button:hover {
        background: #b82309;
        transform: translateY(-1px);
    }

    /* ============================================================
   NO PRODUCTS EMPTY STATE
   ============================================================ */
    .svk-empty-state {
        text-align: center;
        padding: 4rem 1rem;
        background: var(--svk-white);
        border-radius: 16px;
        box-shadow: var(--svk-shadow);
    }

    .svk-empty-state .svk-empty-icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .svk-empty-state h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .svk-empty-state p {
        color: var(--svk-mid);
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* ============================================================
   UTILITY: visually hidden (accessible)
   ============================================================ */
    .svk-sr-only {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    /* ============================================================
   HEADER CART ICON  (.svk-nav-cart-icon)
   ============================================================ */
    .svk-nav-cart-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        font-size: 1.35rem;
        color: var(--white);
        text-decoration: none;
        margin-right: 0.5rem;
        padding: 0.35rem 0.5rem;
        border-radius: var(--radius-sm);
        transition: var(--transition);
    }

    .svk-nav-cart-icon:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent);
    }

    /* Cart count badge */
    .svk-cart-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 18px;
        height: 18px;
        background: var(--primary);
        color: var(--white);
        font-size: 0.7rem;
        font-weight: 800;
        border-radius: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        border: 2px solid var(--dark);
        line-height: 1;
        transition: var(--transition-bounce);
    }

    .svk-cart-badge.svk-badge-hidden {
        display: none;
    }

    /* Inline badge inside mobile nav cart link */
    .svk-cart-badge-inline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        color: var(--white);
        font-size: 0.72rem;
        font-weight: 800;
        padding: 0.1rem 0.5rem;
        border-radius: 100px;
        margin-left: 0.35rem;
    }

    /* Hide cart icon on desktop (already in nav), show on mobile header */
    @media (min-width: 769px) {
        .svk-nav-cart-li {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .svk-nav-cart-icon {
            font-size: 1.5rem;
            padding: 0.4rem 0.55rem;
            margin-right: 0.25rem;
            margin-left: auto !important;
        }
    }


    /* ============================================================
   NAV ACTIVE STATE — current-page indicator
   ============================================================ */
    nav ul li a.active {
        color: var(--accent) !important;
    }

    nav ul li a.active::after {
        content: '';
        display: block;
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 5px;
        background: var(--accent);
        border-radius: 50%;
    }

    nav ul li {
        position: relative;
    }

    /* Make the nav links on desktop have position relative for the dot indicator */
    nav ul li a {
        position: relative;
    }


    /* ============================================================
   QTY STEPPER BUTTONS  (.qty-btn)
   ============================================================ */
    /* .qty-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 700;
        transition: var(--transition);
        user-select: none;
        -webkit-user-select: none;
        color: var(--dark);
        border: none;
        background: #f0f0f0;
        flex-shrink: 0;
    }

    .qty-btn:hover {
        background: var(--primary) !important;
        color: var(--white) !important;
    }

    .qty-btn:active {
        transform: scale(0.92);
    }

    .qty-btn:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 1px;
    } */

    /* Stepper wrapper */
    .svk-qty-stepper {
        display: inline-flex;
        align-items: center;
        border: 1.5px solid rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
    }

    .svk-qty-stepper .qty-btn {
        width: 34px;
        height: 36px;
        background: #f8f8f8;
        color: var(--dark);
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .svk-qty-stepper .qty-btn:hover {
        background: var(--primary) !important;
        color: #fff !important;
    }

    .svk-qty-stepper .svk-qty-input {
        width: 44px;
        height: 36px;
        border: none;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
        text-align: center;
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--dark);
        -moz-appearance: textfield;
        appearance: textfield;
        background: #fff;
    }

    .svk-qty-stepper .svk-qty-input:focus {
        outline: none;
    }

    .svk-qty-stepper .svk-qty-input::-webkit-inner-spin-button,
    .svk-qty-stepper .svk-qty-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }


    /* ============================================================
   PRODUCT CARD — qty row layout fix
   ============================================================ */
    .svk-card-qty-row {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .svk-card-qty-row .svk-qty-stepper {
        width: 100%;
        justify-content: center;
    }

    .svk-card-qty-row .svk-qty-stepper .svk-qty-input {
        flex: 1;
        width: auto;
        min-width: 40px;
    }

    .svk-card-qty-row .svk-btn-atc {
        width: 100%;
    }


    /* ============================================================
   PRODUCTS TABLE — column fixes
   ============================================================ */
    .svk-products-table .col-name {
        min-width: 180px;
    }

    .svk-products-table .col-price {
        min-width: 190px;
    }

    .svk-products-table .col-action {
        width: 160px;
        min-width: 100px;
        text-align: center;
    }

    /* Fix the action cell flex direction for table rows */
    .svk-products-table .col-action>div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }


    /* ============================================================
   CART PAGE — layout fix (no double padding)
   ============================================================ */
    .svk-cart-page-wrap {
        max-width: 1240px;
        margin: 0 auto;
        padding: 2rem 5%;
    }

    .svk-cart-page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .svk-cart-page-header h1 {
        font-size: clamp(1.4rem, 4vw, 2.1rem);
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    /* Fix svk-cart-layout — it's already inside a padded container so no double padding */
    .svk-cart-layout {
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
    }


    /* ============================================================
   CART MOBILE — card-style item rows (≤ 640px)
   ============================================================ */
    @media (max-width: 640px) {

        /* Hide the standard table and show cards */
        #svkCartTable thead {
            display: none;
        }

        #svkCartTable,
        #svkCartTable tbody,
        #svkCartTable tr {
            display: block;
            width: 100%;
        }

        #svkCartTable tr {
            display: grid;
            grid-template-columns: 72px 1fr auto;
            grid-template-areas:
                "img name   remove"
                "img price  price"
                "img qty    qty";
            gap: 6px 10px;
            width: 370px;
            padding: 12px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.07);
            background: #fff;
            border-radius: 0;
            align-items: start;
        }

        #svkCartTable td {
            padding: 0 !important;
            border: none !important;
            display: block;
        }

        #svkCartTable .col-img {
            grid-area: img;
        }

        #svkCartTable .col-name {
            grid-area: name;
            align-self: start;
        }

        #svkCartTable .col-mrp {
            grid-area: price;
            text-align: left !important;
        }

        #svkCartTable .col-qty {
            grid-area: qty;
            text-align: left !important;
        }

        #svkCartTable td:last-child {
            grid-area: remove;
            text-align: right !important;
        }

        #svkCartTable .svk-prod-thumb {
            width: 66px;
            height: 66px;
            object-fit: cover;
            border-radius: 8px;
        }

        #svkCartTable .svk-prod-name {
            font-size: 0.88rem;
            display: block;
        }

        #svkCartTable .svk-offer-price {
            text-align: left;
            font-size: 0.92rem;
        }

        #svkCartTable .svk-qty-stepper {
            transform-origin: left;
        }

        .svk-cart-layout {
            grid-template-columns: 1fr !important;
        }

        .svk-cart-sidebar {
            order: -1;
            width: 380px;
        }

        .svk-cart-items-pane {
            width: 380px;
        }
    }

    /* ============================================================
   REMOVE BUTTON in cart — hover polish
   ============================================================ */
    .svk-remove-btn {
        transition: all 0.2s;
    }

    .svk-remove-btn:hover {
        background: var(--danger) !important;
        color: white !important;
        transform: scale(1.15);
    }

    /* ============================================================
   HEADER — mobile adjustment for cart icon height
   ============================================================ */
    @media (max-width: 768px) {
        :root {
            --svk-header-h: 64px;
        }

        header {
            height: 64px;
        }
    }

    /* ============================================================
   MOBILE NAV DRAWER — Light Theme Override
   ============================================================ */


    @keyframes svkFadeInScale {
        from {
            opacity: 0;
            transform: scale(1.1);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @keyframes svkSlideUpFade {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ============================================================
   ADVANCED COUNTDOWN TIMER — Light Theme
   ============================================================ */
    .svk-countdown-v2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
        margin: 1.5rem 0;
        padding: 1.25rem 1.5rem;
        background: #fff;
        border-radius: 16px;
        border: 1px solid rgba(230, 48, 18, 0.12);
        box-shadow: 0 4px 20px rgba(230, 48, 18, 0.08);
        display: inline-flex;
    }

    .svk-countdown-v2 .label {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .svk-timer-grid {
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }

    .svk-timer-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: linear-gradient(135deg, #fff5f3, #fffbf0);
        border: 1px solid rgba(230, 48, 18, 0.15);
        padding: 0.65rem 0.75rem;
        border-radius: 10px;
        min-width: 62px;
    }

    .svk-timer-box .val {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--primary);
        line-height: 1;
    }

    .svk-timer-box .unit {
        font-size: 0.6rem;
        font-weight: 600;
        color: var(--mid);
        text-transform: uppercase;
        margin-top: 3px;
    }

    @keyframes svkFadeDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 640px) {
        .svk-timer-grid {
            gap: 0.5rem;
        }

        .svk-timer-box {
            min-width: 60px;
            padding: 0.5rem;
        }

        .svk-timer-box .val {
            font-size: 1.5rem;
        }
    }

    /* ============================================================
   CHECKOUT PAGE COMPONENTS
   ============================================================ */
    .svk-checkout-panel {
        background: var(--white);
        padding: 2rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 1.75rem;
        transition: var(--transition);
    }

    .svk-checkout-panel:hover {
        box-shadow: var(--shadow-md);
        border-color: rgba(230, 48, 18, 0.1);
    }

    .svk-checkout-panel h3 {
        margin-bottom: 1.5rem;
        font-size: 1rem;
        color: var(--mid);
        text-transform: uppercase;
        letter-spacing: 0.1em;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .svk-payment-box {
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1rem;
        animation: svkFadeIn 0.3s ease;
    }

    .svk-payment-box.upi {
        background: #f0f9f4;
        border: 1px solid #d1e7dd;
    }

    .svk-payment-box.cod {
        background: #fff8e1;
        border: 1px solid #ffecb3;
    }

    .svk-qr-wrapper {
        display: flex;
        gap: 1.5rem;
        align-items: center;
        background: var(--white);
        padding: 1rem;
        border-radius: 12px;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    }

    .svk-qr-image {
        width: 140px;
        height: 140px;
        padding: 8px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 10px;
    }

    @keyframes svkFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 640px) {
        .svk-qr-wrapper {
            flex-direction: column;
            text-align: center;
        }

        .svk-checkout-panel {
            padding: 1.5rem 1.25rem;
        }
    }

    /* ============================================================
   MOBILE BOTTOM CART BAR — Light Theme
   ============================================================ */
    .svk-bottom-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 2px solid #8E24AA;
        padding: 0.75rem 1.25rem;
        display: flex; /* Flex kept but hidden via transform+opacity */
        justify-content: space-between;
        align-items: center;
        z-index: 1700; /* Below mobile-nav-bar z-index 1800 */
        transform: translateY(100%); /* Off-screen by default */
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        box-shadow: 0 -6px 24px rgba(142, 36, 170, 0.15);
    }

    /* When items are in cart — slide up ABOVE mobile nav (62px height) */
    .svk-bottom-cart.svk-visible {
        transform: translateY(-62px); /* Slides up above mobile nav bar */
        opacity: 1;
        pointer-events: auto;
    }

    .svk-bottom-cart-info {
        display: flex;
        flex-direction: row;
        gap: 50px;
        align-items: center;
    }

    #svkBottomCartCount {
        font-size: 0.72rem;
        color: var(--mid);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }

    #svkBottomCartTotal {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--dark);
    }

    .svk-bottom-cart-btns {
        display: flex;
        gap: 0.6rem;
    }

    .svk-btn-cart-view {
        background: var(--primary);
        color: #fff;
        padding: 0.55rem 1rem;
        border-radius: 10px;
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(230, 48, 18, 0.25);
    }

    .svk-btn-cart-wa {
        background: #25d366;
        color: #fff;
        padding: 0.55rem 0.8rem;
        border-radius: 10px;
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ── Sticky bottom bar & mobile nav bar layouts and footer overlap adjustments ── */
    footer.site-footer {
        padding-bottom: 7rem !important;
        /* General bottom padding to protect content from overlapping bars */
    }

    body:has(.sticky-bottom-bar) footer.site-footer {
        padding-bottom: 8rem !important;
    }

    @media (max-width: 768px) {

        /* Offset sticky-bottom-bar above the mobile bottom nav bar so they don't cover each other */
        body:has(.mobile-nav-bar) .sticky-bottom-bar {
            bottom: 62px !important;
            bottom: calc(62px + env(safe-area-inset-bottom)) !important;
        }

        /* Ensure footer doesn't get covered by the bottom nav bar */
        body:has(.mobile-nav-bar) footer.site-footer {
            padding-bottom: 8rem !important;
        }

        /* Ensure footer doesn't get covered when both bars are visible */
        body:has(.mobile-nav-bar):has(.sticky-bottom-bar) footer.site-footer {
            padding-bottom: 12rem !important;
        }
    }