@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
    --navy: #060e1a;
    --navy-light: #0b172a;
    --gold: #f4a100;
    --bg: #f5f6f8;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: #ffffff; font-size: 17px; line-height: 1.3; overflow-x: hidden; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 20px; width: 100%; box-sizing: border-box; }
/* Utility Bar */
.utility-bar { background: #B9160A; color: #fff; padding: 8px 0; font-size: 11px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.utility-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.utility-left { display: flex; gap: 20px; }
.utility-right a { color: #fff; text-decoration: none; margin-left: 15px; }
/* Main Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: relative; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: 30px; padding: 16px 20px; }
.logo-block { text-decoration: none; }
.logo-block .logo { color: var(--navy); font-size: 24px; font-weight: 700; text-decoration: none; }
.logo-img { height: 50px; }
/* Menu Toggle Button Style */
.mobile-nav-toggle { 
    display: none; 
    background: transparent !important; 
    border: none !important; 
    font-size: 28px !important; 
    color: var(--navy) !important; 
    cursor: pointer !important; 
    outline: none !important;
    padding: 5px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
}
.header-search { flex: 1; display: flex; max-width: 680px; }
.header-category-select { border: 1px solid var(--border); border-right: none; background: #f9fafb; padding: 0 15px; font-size: 12px; border-radius: 6px 0 0 6px; }
.header-search input { flex: 1; padding: 12px 18px; border: 1px solid var(--border); font-size: 13px; }
.header-search input:focus { outline: none; }
.header-search button { background: #B9160A; border: 1px solid #B9160A; border-radius: 0 6px 6px 0; padding: 0 20px; cursor: pointer; font-size: 16px; border-left: none; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.header-icon-link { display: flex; flex-direction: column; text-decoration: none; color: var(--text-dark); position: relative; }
.header-icon-link .icon-label { font-weight: 600; font-size: 14px; }
.header-icon-link small { color: var(--text-muted); font-size: 12px; }
.cart-count { position: absolute; top: -8px; right: -12px; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
/* Shop Dropdown Nav */
.shop-nav { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.shop-nav-inner { display: flex; align-items: center; gap: 10px; padding: 0 20px; }
.category-dropdown { position: relative; }
.cat-dropbtn { background: var(--navy); color: var(--white); border: none; padding: 12px 20px; font-size: 16px; font-weight: 600; cursor: pointer; border-radius: 6px 6px 0 0; }
.main-shop-links { display: flex; gap: 15px; padding-left: 0px; font-size: 13px; font-weight: 500; }
.main-shop-links a { padding: 12px 0; font-size: 14px; font-weight: 600; text-decoration: none; color: #000000; }
.main-shop-links a:hover, .main-shop-links a.active { color: #B31A0D; }
.highlight-link { font-weight: 600; }
.hot-badge { background: #fee2e2; color: #ef4444; font-size: 9px; font-weight: 700; padding: 1px 4px; border-radius: 4px; margin-left: 3px; }
/* Hero Section Grid */
.homepage-hero-row { display: grid; grid-template-columns: 2.8fr 1.1fr; gap: 20px; margin: 20px 0; }
.hero-banner { background: var(--navy); border-radius: 5px; overflow: hidden; box-shadow: var(--shadow-sm); color: #fff; width: 100%; }
.hero-banner-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; padding: 50px; }
.hero-tag { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.hero-banner h1 { font-size: 42px; font-weight: 700; line-height: 1.1; margin: 15px 0; }
.hero-highlight { color: #44f100; font-size: 35px; font-weight:600; }
.hero-banner p { color: #FFF; font-size: 15px; font-weight:600; margin-bottom: 25px; }
.hero-features { display: flex; gap: 15px; margin-bottom: 30px; font-size: 11px; color: #94a3b8; }
.hero-buttons { display: flex; gap: 15px; }
.btn-primary { background: #B9160A; color: #fff; padding: 12px 24px; border-radius: 5px; font-weight: 600; font-size: 16px; text-decoration: none; border: none; cursor: pointer; display: inline-block; text-align: center; }
.btn-outline-dark { border: 1px solid #fff; color: #fff; padding: 14px 28px; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; text-align: center; }
.hero-banner-image img { max-width: 100%; max-height: 350px; object-fit: contain; }
/* Sidebar Widgets */
.homepage-sidebar { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.sidebar-widget { background: var(--white); border-radius: 5px; padding: 24px; text-decoration: none; color: var(--text-dark); display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); flex: 1; transition: all 0.2s ease; }
.sidebar-widget:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.sidebar-widget strong { display: block; color: #fff; font-size: 20px; margin-bottom: 6px; font-weight: 700; }
.sidebar-widget p { font-size: 17px; color: #fff; line-height: 1.5; margin-bottom: 15px; }
.widget-link-btn { font-size: 13px; font-weight: 600; color: var(--white); background: var(--navy); padding: 8px 16px; border-radius: 6px; display: inline-block; align-self: flex-start; transition: background 0.2s; }
.sidebar-widget:hover .widget-link-btn { background: var(--gold); color: var(--navy); }
.widget-motherboard { background: #B9160A; border-color: #fef08a; }
.widget-storage-ssd { background: #B9160A; border-color: #bfdbfe; }
/* Categories Icon Row */
.category-icons-row { display: flex; gap: 18px; padding: 20px 0; overflow-x: auto; margin-bottom: 25px; }
.category-icon-item { text-align: center; flex-shrink: 0; width: 95px; text-decoration: none; }
.category-icon-circle { width: 68px; height: 68px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--border); }
.category-icon-circle img { width: 100%; height: 100%; object-fit: cover; }
.category-icon-item small { color: var(--text-dark); font-size: 14px; font-weight: 500; }
/* ---------- PRODUCTS LAYOUT & CARDS SETUP ---------- */
.section-heading-row { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 20px; border-left: 4px solid #B9160A; padding-left: 4px; }
.section-title { font-size: 22px; font-weight: 700; color: var(--navy); padding-left: 4px; }
.product-grid-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; width: 100%; }
/* Product Card Design */
.product-card { background: var(--white); border-radius: 5px; padding: 1px; border: 0px solid var(--border); transition: all 0.2s ease; display: flex; flex-direction: column; justify-content: space-between; position: relative; height: 100%; text-decoration: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.product-card-image-wrapper { width: 100%; height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; background: #fafafa; border-radius: 6px; padding: 8px; }
.product-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-card h4 { font-size: 14px; font-weight: 600; text-align: left; color: #111827; margin-bottom: 10px; line-height: 1.4; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 15px; }
.price-tag { font-size: 20px; font-weight: 700; color: #b31a0d; }
.price-strike { font-size: 15px; color: #9ca3af; text-decoration: line-through; }
.btn-card-buy { background: #b4190d; color: var(--white); width: 100%; padding: 10px 0; border: none; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.2s; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; margin-top: auto; display: block; }
.product-card:hover .btn-card-buy { background: #76C102; color: var(--navy); }
.buy-now-form { margin-top: auto; width: 100%; }
.buy-now-form .btn-card-buy { margin-top: 0; }
/* Course Grid */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); transition: all 0.2s ease; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.course-card img { width: 100%; height: 160px; object-fit: cover; }
.course-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.course-card h4 { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
/* Trust Badges */
.trust-badges { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; margin-top: 50px; }
.trust-badges-inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.trust-item strong { display: block; font-size: 16px; color: #B4190D; }
/* Footer Style (Sleek Grid Alignment) */
.site-footer { background: #0b1120; color: #94a3b8; padding: 20px 0 0; font-size: 16px; font-weight: 500; margin-top: 0; text-align: left; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.6fr; gap: 30px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 18px; text-transform: uppercase; }
.footer-col a { display: block; color: #fff; font-size: 14px; font-weight: 400; text-decoration: none; margin-bottom: 5px; }
/* Horizontal Social Alignment Rule */
.footer-social { display: flex !important; flex-direction: row !important; gap: 10px !important; margin-top: 10px; }
.footer-social a { font-size: 18px !important; text-decoration: none !important; margin: 0 !important; display: inline-block !important; }
/* ---------- DASHBOARD LAYOUT REPAIR ---------- */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding: 40px 0; align-items: flex-start; }
.dashboard-sidebar { background: var(--white); padding: 15px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.dashboard-sidebar a { padding: 12px 16px; text-decoration: none; color: #374151; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; transition: all 0.2s; }
.dashboard-sidebar a:hover, .dashboard-sidebar a.active { background: #f1f5f9; color: var(--navy); font-weight: 600; }
.dashboard-content { background: var(--white); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); width: 100%; }
.dashboard-content h1 { font-size: 26px; color: var(--navy); margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 20px 0 35px; }
.dash-stat-card { background: #f8fafc; border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--border); border-top: 4px solid var(--gold); text-align: left; }
.stat-number { font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-size: 16px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.dashboard-content h3 { font-size: 18px; margin-bottom: 15px; color: var(--navy); border-bottom: 2px solid #f1f5f9; padding-bottom: 8px; }
.continue-learning-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 35px; }
.course-continue-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 15px; display: flex; gap: 15px; align-items: center; }
.course-continue-card img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; }
.course-continue-details { flex: 1; }
.course-continue-details h4 { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.course-continue-details p { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.btn-continue { background: var(--gold); color: var(--navy); padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; display: inline-block; }
.admin-table-wrapper { width: 100%; overflow-x: auto; margin-top: 10px; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { background: #f8fafc; color: var(--navy); font-size: 12px; text-transform: uppercase; font-weight: 700; padding: 12px 16px; border-bottom: 2px solid var(--border); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: #374151; }
.badge-status { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: capitalize; display: inline-block; }
.badge-processing { background: #fef3c7; color: #d97706; }
.badge-delivered { background: #d1fae5; color: #059669; }
/* ==========================================================================
   GLOBAL RESPONSIVE REPAIR & COLLAPSE BLOCK (SCREEN WIDTH 900PX AND BELOW)
   ========================================================================== */
@media (max-width: 900px) {
    .container { padding: 0 12px; }
    /* 1. Utility Top Bar Fixes */
    .utility-bar-inner { flex-direction: column; gap: 6px; text-align: center; }
    .utility-left { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .utility-right { display: none; }
    /* 2. Mobile Center Logo Grid Config with Account + Cart Sync */
    .mobile-nav-toggle { 
        display: block !important; 
        grid-column: 1 !important; 
        justify-self: start !important;
    }
    
    .header-inner { 
        display: grid !important; 
        grid-template-columns: 40px 1fr 80px !important; /* Expanded right column space for 2 icons */
        align-items: center !important; 
        padding: 12px 15px !important; 
        gap: 10px !important; 
        width: 100% !important;
    }
    
    .logo-block { 
        grid-column: 2 !important; 
        text-align: center !important; 
        display: flex !important; 
        justify-content: center !important; 
        align-items: center !important;
        margin: 0 auto !important;
    }
    .logo-block .logo { font-size: 20px !important; display: block !important; }
    .logo-img { height: 32px; }
    .header-actions { 
        grid-column: 3 !important; 
        justify-content: flex-end !important; 
        display: flex !important;
        gap: 14px !important; /* Even gap spacing for Account + Cart row */
    }
    
    /* Display parameters for account triggers on mobile header */
    .header-icon-link.user-account-link { display: block !important; font-size: 18px !important; }
    .header-icon-link.user-account-link .icon-label { font-size: 0 !important; }
    .header-icon-link.user-account-link::before { content: "👤" !important; font-size: 20px !important; }
    
    .header-icon-link:not(.cart-icon-link):not(.user-account-link) { display: none !important; } 
    .header-search { display: none !important; }
    .header-contact-block { display: none !important; } 
    /* Drawer System Navigation Menu Bar */
    .shop-nav { position: fixed !important; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--white); box-shadow: 4px 0 15px rgba(0,0,0,0.1); transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 9999; display: block; border: none; }
    .shop-nav.open { left: 0; }
    .shop-nav-inner { flex-direction: column; align-items: stretch; padding: 25px 20px; gap: 20px; }
    .category-dropdown { display: none; }
    
    .main-shop-links { flex-direction: column; gap: 5px; padding-left: 0; width: 100%; overflow-x: visible; white-space: normal; }
    .main-shop-links a { padding: 12px 16px; display: block; font-size: 15px; border-radius: 6px; border-bottom: none; background: #f8fafc; margin-bottom: 4px; }
    .main-shop-links a:hover { background: #f1f5f9; }
    /* 4. Content Content Breakdowns */
    .homepage-hero-row { grid-template-columns: 1fr; gap: 16px; }
    .hero-banner-grid { grid-template-columns: 1fr; padding: 30px 20px; text-align: center; }
    .hero-banner h1 { font-size: 28px; }
    .hero-banner p { font-size: 14px; }
    .hero-features { justify-content: center; flex-wrap: wrap; gap: 10px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons a { width: 100%; }
    .hero-banner-image { display: none; }
    .homepage-sidebar { flex-direction: column; gap: 12px; }
    .sidebar-widget { width: 100%; }
    /* Exact 2 columns mobile responsive grid matrices */
    .product-grid, .course-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .product-card { padding: 12px; }
    .product-card-image-wrapper { height: 120px; }
    .product-card h4 { font-size: 13px; height: 38px; padding-bottom: 0; margin-bottom: 6px; }
    .price-tag { font-size: 16px; }
    .btn-card-buy { padding: 8px 0; font-size: 15px; }
    .category-icons-row { gap: 12px; padding: 10px 0; }
    .category-icon-item { width: 75px; }
    .category-icon-circle { width: 56px; height: 56px; }
    .trust-badges-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 25px; }
    /* 10. Dashboard Rescales */
    .dashboard-layout { display: flex !important; flex-direction: column !important; gap: 16px !important; padding: 15px 0 !important; }
    .dashboard-sidebar { flex-direction: row !important; overflow-x: auto !important; white-space: nowrap !important; width: 100% !important; padding: 8px !important; gap: 8px !important; background: #fff !important; border: 1px solid var(--border) !important; box-shadow: var(--shadow-sm) !important; -webkit-overflow-scrolling: touch; }
    .dashboard-sidebar::-webkit-scrollbar { display: none; }
    .dashboard-sidebar a { padding: 8px 14px !important; font-size: 13px !important; display: inline-flex !important; align-items: center; background: #f8fafc; border: 1px solid var(--border); flex-shrink: 0; }
    .dashboard-sidebar a.active { background: var(--navy) !important; color: #fff !important; }
    
    .dashboard-content { padding: 16px !important; border-radius: var(--radius-lg) !important; width: 100% !important; box-sizing: border-box !important; overflow: hidden !important; }
    .dashboard-content h1 { font-size: 20px !important; margin-bottom: 15px !important; }
    .dash-stats { grid-template-columns: 1fr !important; gap: 12px !important; margin-bottom: 20px !important; }
    .dash-stat-card { padding: 16px !important; }
    .stat-number { font-size: 26px !important; }
    
    .continue-learning-grid { grid-template-columns: 1fr !important; }
    .course-continue-card { padding: 12px !important; gap: 12px !important; }
    .course-continue-card img { width: 65px !important; height: 65px !important; }
    .admin-table-wrapper { margin-top: 5px; width: 100%; overflow-x: auto; }
    .admin-table th, .admin-table td { padding: 10px 12px !important; font-size: 13px !important; }
}
@media (max-width: 576px) {
    .course-continue-card { flex-direction: column; text-align: center; }
    .course-continue-card img { width: 100%; height: 140px; }
}
@media (max-width: 480px) {
    .product-grid, .course-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
    .dashboard-content { padding: 12px !important; }
}
/* ================= BLOG ARTICLE PAGE ================= */
.article-container { padding: 10px 16px 10px; }
.article-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.article-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--navy); }
.article-breadcrumb span { color: var(--navy); font-weight: 600; }
.article-grid { display: grid; grid-template-columns: 2.3fr 1fr; gap: 40px; align-items: start; }
.article-main { max-width: 100%; }
.article-title { font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 14px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text-muted); font-size: 13px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-featured-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 24px; }
.article-excerpt { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.article-body { font-size: 16px; line-height: 1.85; }
.article-body h2, .article-body h3 { margin-top: 30px; }
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.article-share a { color: var(--navy); text-decoration: none; font-weight: 600; padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; }
.article-share a:hover { background: var(--bg); }
.article-nav-back { margin-top: 24px; }
.article-nav-back a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14px; }
.article-sidebar { background: #fff; border-radius: 5px; padding: 20px; position: sticky; top: 90px; border: 1px solid var(--border);}
.article-sidebar h4 { color: var(--navy); font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.article-related-item { display: flex; gap: 12px; text-decoration: none; color: var(--text-dark); margin-bottom: 16px; align-items: center; }
.article-related-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.article-related-item strong { display: block; font-size: 13px; line-height: 1.35; margin-bottom: 3px; }
.article-related-item small { color: var(--text-muted); font-size: 11px; }
.article-related-item:hover strong { color: var(--navy); }
/* ================= STATIC PAGE (About/Contact/Terms) ================= */
.page-container { padding: 24px 16px 60px; max-width: 850px; margin: 0 auto; }
.page-header-block { text-align: center; padding: 30px 0 20px; }
.page-title { font-size: 30px; font-weight: 800; color: var(--navy); }
.page-body { font-size: 17px; line-height: 1.3; }
.page-body h2, .page-body h3 { margin-top: 26px; color: var(--navy); }
@media (max-width: 900px) {
    .article-grid { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .article-title { font-size: 24px; }
    .article-featured-image { max-height: 260px; }
    .page-title { font-size: 24px; }
}
/* ================= SINGLE PRODUCT PAGE - Amazon-style 3-column ================= */
.pdp-container { padding: 24px 16px 60px; background: #fff; }
.pdp-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.pdp-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.pdp-breadcrumb a:hover { color: var(--navy); }
.pdp-breadcrumb span { color: var(--navy); font-weight: 600; }
.pdp-grid-3col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    margin-bottom: 40px;
    align-items: start;
}
.pdp-left-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pdp-top-row { display: grid; grid-template-columns: 480px 1fr; gap: 24px; align-items: start; }
/* Column 1: Gallery */
.pdp-gallery { background: var(--white); border: 1px solid var(--border); border-radius: 5px; padding: 16px; }
.pdp-gallery-flex { display: flex; gap: 12px; align-items: flex-start; }
.pdp-thumbs-vertical { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.pdp-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 2px solid var(--border); cursor: pointer; transition: border-color 0.15s; background: var(--white); }
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--gold); }
.pdp-main-image { position: relative; flex: 1; background: var(--white); border-radius: 10px; overflow: hidden; line-height: 0; }
.pdp-main-image img { width: 100%; height: auto; display: block; }
.pdp-no-image { color: var(--text-muted); font-size: 14px; }
.pdp-discount-badge { position: absolute; top: 12px; left: 12px; background: #d92d20; color: #fff; font-size: 12px; font-weight: 700; padding: 10px 10px; border-radius: 20px; z-index: 2; }
.pdp-wishlist-icon { position: absolute; top: 12px; right: 12px; font-size: 20px; background: #B9160A; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.15); z-index: 2; text-decoration: none; }
.pdp-trust-icons-row { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); text-align: center; }
.pdp-trust-icons-row span { font-size: 11px; color: var(--text-muted); flex: 1; line-height: 1.6; }
/* Column 2: Info */
.pdp-info-col { padding: 0; }
.pdp-title { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.pdp-meta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.pdp-rating { color: var(--gold); font-size: 15px; }
.pdp-rating-count { color: #000; font-size: 14px; margin-left: 6px; }
.pdp-sku { color: #000; font-size: 14px; }
.pdp-price-box { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; margin-bottom: 4px; }
.pdp-price-current { font-size: 30px; font-weight: 900; color: #B9160A; }
.pdp-price-old { font-size: 15px; color: #000; text-decoration: line-through; }
.pdp-price-save { background: #e6f6ee; color: var(--success); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.pdp-tax-note { font-size: 12px; font-weight: 500; color: #000; margin-bottom: 14px; }
/* Mobile Quick Buy - sirf mobile pe dikhega (price ke turant baad), PC pe hidden */
.pdp-mobile-buy-form { display: none; }
.pdp-social-proof { background: #fff7e6; color: #92600a; font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.pdp-short-desc { color: var(--text-dark); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
/* Column 3: Buy Box */
.pdp-buybox { background: var(--white); border: 1px solid var(--border); border-radius: 5px; padding: 18px; }
.pdp-delivery-box { font-size: 13px; line-height: 1.9; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.pdp-stock-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pdp-badge { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 6px; }
.pdp-badge-instock { background: #e6f6ee; color: var(--success); }
.pdp-badge-outstock { background: #fdecea; color: var(--error); }
.pdp-badge-download { background: #fff7e6; color: #92600a; }
.pdp-buy-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.pdp-qty-box { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; width: 120px; }
.pdp-qty-box button { width: 36px; height: 42px; background: var(--bg); border: none; font-size: 18px; cursor: pointer; color: var(--navy); }
.pdp-qty-box input { width: 48px; height: 42px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 14px; }
.pdp-btn-cart { background: #055529; color: #fff; border: none; padding: 13px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: filter 0.15s; }
.pdp-btn-cart:hover { filter: brightness(0.95); }
.pdp-btn-buynow { background: #B9160A; color: #fff; border: none; padding: 13px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: filter 0.15s; }
.pdp-btn-buynow:hover { filter: brightness(0.95); }
.pdp-secure-note { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 14px; }
.pdp-sold-by-box { font-size: 14px; color: #000000; line-height: 1.9; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.pdp-sold-by-box strong { color: var(--text-dark); }
.pdp-share-row { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.pdp-share-row a { color: var(--navy); text-decoration: none; font-weight: 600; }
.pdp-fbt-box { background: var(--bg); border: none; border-radius: 10px; padding: 14px; }
.pdp-fbt-box h4 { font-size: 13px; color: var(--navy); margin-bottom: 10px; }
.pdp-fbt-items { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pdp-fbt-items img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: #fff; }
.pdp-fbt-plus { font-size: 16px; color: var(--text-muted); }
.pdp-fbt-name { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.pdp-fbt-total { font-size: 13px; margin-bottom: 10px; }
/* Tabs */
.pdp-tabs-section { margin-top: 10px; }
.pdp-tabs-nav { display: flex; gap: 6px; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.pdp-tab-btn { background: none; border: none; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.pdp-tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.pdp-tab-panel { display: none; }
.pdp-tab-panel.active { display: block; }
.pdp-attributes-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 14px; }
.pdp-attributes-table td { padding: 9px 12px;color: #fff; border-bottom: 1px solid var(--border); background: #055529;}
.pdp-attributes-table td:first-child { font-weight: 600; color: #fff; width: 40%; background: #B9160A; }
.pdp-review-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.pdp-review-stars { color: var(--gold); font-size: 13px; margin-left: 8px; }
.pdp-review-form-box { margin-top: 24px; padding: 22px; background: var(--bg); border-radius: var(--radius-lg); max-width: 500px; }
.pdp-review-form-box h4 { margin-bottom: 14px; color: var(--navy); }
@media (max-width: 1100px) {
    .pdp-top-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .pdp-grid-3col { grid-template-columns: 1fr; }
    .pdp-gallery-flex { flex-direction: column-reverse; }
    .pdp-thumbs-vertical { flex-direction: row; overflow-x: auto; }
    .pdp-title { font-size: 19px; }
    .pdp-price-current { font-size: 22px; }
    .pdp-mobile-buy-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
    .pdp-mobile-buy-buttons { display: flex; gap: 10px; }
    .pdp-mobile-buy-buttons .pdp-btn-cart, .pdp-mobile-buy-buttons .pdp-btn-buynow { flex: 1; }
}
@media (max-width: 480px) {
    .pdp-container { padding: 16px 12px 40px; }
    .pdp-thumb { width: 46px; height: 46px; }
    .pdp-tabs-nav { overflow-x: auto; }
    .pdp-tab-btn { padding: 10px 14px; white-space: nowrap; font-size: 13px; }
}
/* ================= AUTH PAGES (Login/Register) ================= */
.auth-box {
    max-width: 440px;
    margin: 50px auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
}
.auth-box h1 {
    font-size: 24px;
    color: var(--navy);
    text-align: center;
    margin-bottom: 26px;
    font-weight: 700;
}
.auth-switch {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-muted);
}
.auth-switch a { color: var(--navy); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
/* ================= FORM FIELDS (used everywhere - profile, checkout, register, login) ================= */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 7px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(6,14,26,0.08);
}
.form-group input:disabled { background: var(--bg); color: var(--text-muted); cursor: not-allowed; }
.form-group input[type="file"] { padding: 9px 12px; cursor: pointer; }
/* ================= DASHBOARD CONTENT CARD (Profile/My Orders/My Courses/Wishlist) ================= */
.dashboard-content-card {
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 10px;
}
.dashboard-content-card h1 { font-size: 22px; color: var(--navy); margin-bottom: 22px; }
.profile-avatar-preview {
    width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--bg); margin-bottom: 16px; display: block;
}
/* Checkout radio option cards */
.checkout-option-label {
    display: block;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.checkout-option-label:hover { border-color: var(--navy); background: var(--bg); }
.checkout-option-label input[type="radio"] { width: auto; margin-right: 10px; accent-color: var(--navy); }
@media (max-width: 600px) {
    .auth-box { margin: 24px auto; padding: 28px 22px; border-radius: 12px; }
}
/* ================= PAGE HERO BANNER ================= */
.page-hero-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}
.page-hero-breadcrumb { color: #c3cbe0; font-size: 13px; margin-bottom: 14px; }
.page-hero-breadcrumb a { color: #c3cbe0; text-decoration: none; }
.page-hero-breadcrumb span { color: #fff; font-weight: 600; }
.page-hero-title { color: #fff; font-size: 34px; font-weight: 800; letter-spacing: 0.5px; }
.page-content-card { background: var(--white); border: 1px solid var(--border); border-radius: 5px; padding: 28px; }
.page-categories-pills { display: flex; flex-wrap: wrap; gap: 8px; }
/* ================= ARTICLE EXTRAS: Category badge, Author box, Tags ================= */
.article-category-badge {
    display: inline-block;
    background: #fdecea;
    color: var(--error);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-decoration: none;
}
.article-author-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin: 30px 0 20px;
}
.article-author-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 20px; flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 1px var(--border);
}
.article-author-box small { display: block; color: var(--gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.article-author-box strong { color: var(--navy); font-size: 16px; }
.article-tags-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0; font-size: 13px; color: var(--text-muted); }
.article-tag-pill {
    background: var(--bg);
    color: var(--text-dark);
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
}
.article-tag-pill:hover, .article-tag-pill.active-pill { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 700px) {
    .page-hero-banner { padding: 34px 0 26px; }
    .page-hero-title { font-size: 24px; }
    .page-content-card { padding: 18px; }
}
/* ================= RICH CONTENT (TinyMCE output - product/course/blog/page sab jagah) ================= */
.rich-content { font-size: 16px; line-height: 1.3; color: var(--text-dark); }
.rich-content p { margin-bottom: 10px; }
.rich-content h1, .rich-content h2, .rich-content h3 {
    color: var(--navy);
    font-weight: 700;
    margin: 16px 0 16px;
    padding-left: 1px;
    border-left: 4px solid var(--error);
}
.rich-content h1 { font-size: 26px; }
.rich-content h2 { font-size: 22px; }
.rich-content h3 { font-size: 18px; }
.rich-content h4 { color: var(--navy); font-weight: 700; margin: 22px 0 12px; font-size: 16px; }
.rich-content ul, .rich-content ol { margin: 0 0 18px 24px; }
.rich-content li { margin-bottom: 8px; }
.rich-content a { color: var(--navy); text-decoration: underline; }
.rich-content a:hover { color: var(--gold); }
.rich-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.rich-content blockquote { border-left: 3px solid var(--gold); padding-left: 16px; color: var(--text-muted); font-style: italic; margin: 18px 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.rich-content table td, .rich-content table th { padding: 10px 12px; border: 1px solid var(--border); }
.rich-content strong { color: var(--navy); }
/* ================= NEW FOOTER (4-column, matching reference) ================= */
.footer-grid-new { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 20px 0 40px; }
.footer-logo-mark { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.footer-logo-triangle { color: var(--gold); font-size: 16px; }
.footer-logo-text { color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.footer-logo-badge { background: var(--error); color: #fff; padding: 2px 10px; border-radius: 4px; font-size: 20px; }
.footer-brand-desc { color: #ffffff; font-size: 16px; font-weight: 400; line-height: 1.3; margin-bottom: 16px; text-align: justify; }
.footer-social a {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex !important; align-items: center; justify-content: center;
    color: #fff;
}
.footer-social a svg { display: block; }
.footer-social-fb { background: #1877f2; }
.footer-social-tw { background: #14171a; }
.footer-social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social-yt { background: #ff0000; }
.footer-col-heading {
    color: #fff; font-size: 16px; font-weight: 700;
    margin-bottom: 20px; padding-left: 12px;
    border-left: 3px solid #fff;
}
.footer-col a { transition: color 0.15s, padding-left 0.15s; }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 1px; margin-bottom: 1px; align-items: flex-start; }
.footer-contact-item span { font-size: 16px; margin-top: 2px; }
.footer-contact-item strong { color: #fff; font-size: 15px; display: block; margin-bottom: 0px; }
.footer-contact-item div { color: #94a3b8; font-size: 15px; line-height: 1.3; margin: 0px; gap: 1px; }
.footer-contact-item a { color: #94a3b8; text-decoration: none; }
.footer-contact-item a:hover { color: var(--gold); }
@media (max-width: 900px) {
    .footer-grid-new { grid-template-columns: 1fr 1fr; gap: 26px; padding: 36px 16px; }
}
@media (max-width: 600px) {
    .footer-grid-new { grid-template-columns: 1fr; }
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; text-align: center; }
.footer-bottom p { color: #8592ad; font-size: 12px; letter-spacing: 0.5px; }
.footer-bottom strong { color: #fff; }
/* ================= FIX: "You May Also Like" card title/price underline ================= */
.product-card-link,
.product-card-link:hover,
.product-card-link h4,
.product-card-link .price-row,
.product-card-link .price-tag,
.product-card-link .price-strike {
    text-decoration: none !important;
}
/* ================= FIX: Mobile horizontal overflow (product grid) ================= */
html { overflow-x: hidden; width: 100%; }
.product-grid, .course-grid { min-width: 0; }
.product-card, .course-card { min-width: 0; }
.product-card h4 { overflow-wrap: break-word; word-break: break-word; }
.product-card-image-wrapper { min-width: 0; }
.sidebar-widget { min-width: 0; }
.homepage-hero-row, .homepage-sidebar { min-width: 0; }
@media (max-width: 900px) {
    .product-grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* ================= FIX: Mobile pe Login icon ke niche text dikhana ================= */
@media (max-width: 900px) {
    .header-icon-link.user-account-link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .header-icon-link.user-account-link::after {
        content: "Sign In";
        font-size: 10px !important;
        color: var(--text-dark);
        margin-top: 2px;
        font-weight: 600;
    }
}
/* ================= FIX: Mobile header ko compact/professional banana ================= */
@media (max-width: 900px) {
    .header-inner { padding: 10px 15px !important; }
    .logo-img { height: 26px !important; }
    .logo-block .logo { font-size: 17px !important; }
    .header-actions { gap: 18px !important; }
    /* Cart aur Sign In dono icons ko chhota aur compact banana */
    .header-icon-link { gap: 1px !important; }
    .header-icon-link .icon-label {
        font-size: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .header-icon-link.cart-icon-link .icon-label::before {
        content: "🛒";
        font-size: 18px !important;
    }
    .header-icon-link.cart-icon-link::after {
        content: "Cart";
        font-size: 10px !important;
        color: var(--text-dark);
        margin-top: 1px;
        font-weight: 600;
        text-align: center;
    }
    .header-icon-link.user-account-link {
        font-size: 0 !important;
    }
    .header-icon-link.user-account-link::before {
        font-size: 18px !important;
    }
    .header-icon-link.user-account-link::after {
        font-size: 10px !important;
        margin-top: 1px !important;
    }
    .cart-count { top: -4px !important; right: -8px !important; width: 14px !important; height: 14px !important; font-size: 8px !important; }
}
.footer-logo-img { max-height: 42px; margin-bottom: 10px; display: block; }
.footer-tagline { color: var(--gold); font-size: 13px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0.3px; }
.footer-contact-item strong {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}
.footer-contact-item br {
    display: none !important;
}
.footer-contact-item div {
    line-height: 1.2 !important;
}
.footer-contact-item a {
    display: block !important;
    margin-top: 2px !important;
}
@media (max-width: 900px) {
    .product-card-price-row { flex-wrap: wrap; }
}
.payment-icons-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.payment-icons-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 10px;
}
.payment-icons-row img {
    height: 54px;
    width: auto;
    display: block;
}
/* ================= Low Stock Urgency Badge ("Only X Left") ================= */
.pdp-badge-lowstock { background: #fdecea; color: #c0392b; animation: pdpPulse 1.5s infinite; }
@keyframes pdpPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
/* ================= WhatsApp Floating Button ================= */
.whatsapp-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 9998;
    text-decoration: none;
    transition: transform 0.15s;
}
.whatsapp-float-btn:hover { transform: scale(1.08); }
@media (max-width: 600px) {
    .whatsapp-float-btn { width: 48px; height: 48px; bottom: 16px; right: 16px; }
    .whatsapp-float-btn svg { width: 26px; height: 26px; }
}
/* ================= Cart & Checkout - 2 column layout (Address left, Order Summary right) ================= */
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; align-items: start; min-width: 0; }
.checkout-grid > .dashboard-content-card { min-width: 0; }
.cart-bottom-row { display: flex; justify-content: space-between; margin-top: 30px; gap: 40px; flex-wrap: wrap; }
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .cart-bottom-row { flex-direction: column; gap: 20px; }
    .cart-bottom-row form, .cart-total-box { max-width: 100% !important; }
    .admin-table-wrapper { -webkit-overflow-scrolling: touch; }
    .admin-table { min-width: 480px; }
}
/* ================= FIX: Order Summary table mobile pe wrap ho, overflow na kare ================= */
@media (max-width: 900px) {
    .checkout-grid .admin-table td:first-child { white-space: normal; word-break: break-word; max-width: 180px; }
}
/* ================= LIVE CHAT WIDGET ================= */
.live-chat-toggle-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--navy);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 9998;
    cursor: pointer;
    transition: transform 0.15s;
}
.live-chat-toggle-btn:hover { transform: scale(1.08); }
.live-chat-window {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 340px;
    max-width: calc(100vw - 32px);
    height: 460px;
    max-height: calc(100vh - 120px);
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}
.live-chat-window.open { display: flex; }
.live-chat-header {
    background: var(--navy);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
}
.live-chat-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.live-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    background: var(--bg);
}
.live-chat-bot-msg, .live-chat-visitor-msg, .live-chat-admin-msg {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    word-wrap: break-word;
}
.live-chat-bot-msg, .live-chat-admin-msg {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border);
    border-bottom-left-radius: 2px;
}
.live-chat-visitor-msg {
    background: var(--navy);
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}
.live-chat-pre-form { display: flex; flex-direction: column; gap: 8px; }
.live-chat-pre-form input, .live-chat-pre-form textarea {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
}
.live-chat-input-row {
    display: none;
    border-top: 1px solid var(--border);
    padding: 8px;
    gap: 8px;
    background: var(--white);
}
.live-chat-input-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
}
.live-chat-input-row button {
    width: 38px;
    height: 38px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
}
@media (max-width: 600px) {
    .live-chat-toggle-btn { width: 48px; height: 48px; bottom: 76px; right: 16px; }
    .live-chat-window { bottom: 76px; right: 16px; width: calc(100vw - 32px); }
}

/* ================= Support Tickets Page - Mobile Responsive ================= */
.ticket-page-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; margin-top: 20px; align-items: start; min-width: 0; }
.ticket-page-grid > .dashboard-content-card { min-width: 0; }

@media (max-width: 900px) {
    .ticket-page-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* ================= Homepage Customer Review Slider (auto-sliding) ================= */
.review-slider-wrapper {
    overflow: hidden;
    margin: 20px 0 40px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.review-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: reviewSlideLeft 40s linear infinite;
}
.review-slider-wrapper:hover .review-slider-track {
    animation-play-state: paused;
}
@keyframes reviewSlideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.review-slide-card {
    background: var(--white);
    border: 2px dashed #B9160A;
    border-radius: 5px;
    padding: 22px;
    width: 320px;
    flex-shrink: 0;
    box-shadow: 0 0px 0px rgba(0,0,0,.12);
}
.review-stars {
    color: #00B67A;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.review-comment {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 66px;
}
.review-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 5px;
    border-top: 1px solid var(--border);
}
.review-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #B9160A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.review-author-row strong {
    display: block;
    font-size: 13px;
    color: #B9160A;
}
.review-author-row small {
    color: #000;
    font-size: 11px;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .review-slide-card { width: 260px; padding: 16px; }
    .review-slider-track { animation-duration: 28s; }
}

/* ================================================================
   HOMEPAGE "DESIGN #1" (d1-*) — added for the custom front page.
   Sirf naya CSS hai, upar ka koi bhi existing rule touch nahi hua.
   ================================================================ */

/* ---- Top grid: category sidebar | hero banner | thumbnail stack ---- */
.d1-top-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
    margin: 0px 0 30px;
}

.d1-cat-sidebar { padding: 0px 0; border-right: 0px solid var(--border); background: var(--white); }
.d1-cat-sidebar a { display: block; padding: 11px 20px; font-size: 14px; color: var(--text-dark); text-decoration: none; }
.d1-cat-sidebar a:hover { background: var(--bg); }
.d1-cat-sidebar a.d1-active { background: #B9160A; color: #fff; font-weight: 700; }

.d1-hero-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
    background-color: #cdeee0;
    background-size: cover;
    background-position: center;
    border-left: 0px dashed var(--border);
    border-right: 0px dashed var(--border);
}
.d1-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 94%) 0%, rgb(0 0 0 / 62%) 42%, rgba(205, 238, 224, .08) 72%, rgba(205, 238, 224, 0) 100%);
}
.d1-hero-content { position: relative; z-index: 1; padding: 40px 40px 26px; }
.d1-hero-brand-chip { display: inline-block; background: rgb(69 0 0);; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.d1-hero-brand-chip span { color: #fff; }
.d1-hero-content .hero-tag { display: block; margin-bottom: 6px; }
.d1-hero-content h1 { font-size: 30px; font-weight: 800; line-height: 1.22; color: #fff; margin: 4px 0 12px; }
.d1-hero-highlight { color: #fff; }
.d1-hero-content p { font-size: 13px; color: #fff; max-width: 320px; margin-bottom: 18px; }
.d1-hero-content .btn-primary { padding: 11px 26px; font-size: 14px; }

.d1-hero-trust-strip {
    position: relative; z-index: 1;
    background: var(--white);
    border-top: none;
    display: flex; justify-content: space-between; align-items: stretch;
    padding: 16px; gap: 12px; flex-wrap: wrap;
}
.d1-trust-item {
    display: flex; flex-direction: column; align-items: center; gap: 0px; text-align: center;
    flex: 1; min-width: 90px;
    background: var(--white); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.07);
    padding: 12px 14px;
}
.d1-trust-item strong { font-size: 25px; font-weight: 700; color: var(--text-dark); white-space: nowrap; }
.d1-trust-stars { color: #ffa700; font-size: 22px; letter-spacing: 1px; }
.d1-trust-google strong { color: #1a1a1a; }
.d1-trust-trustpilot strong { color: #00b67a; }
.d1-trust-facebook strong { color: #1877f2; }
.d1-trust-reddit strong { color: #ed0505; }
.d1-trust-fav strong { color: #B9160A; }

.d1-thumb-stack { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-left: 0px solid var(--border); }
.d1-thumb-item {
    position: relative; display: block; border-radius: 8px; overflow: hidden; height: 108px;
    background: #f3f4f6; border: 1px solid var(--border); text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: box-shadow .15s, transform .15s;
}
.d1-thumb-item:hover { box-shadow: 0 6px 16px rgba(0,0,0,.14); transform: translateY(-2px); }
.d1-thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.d1-thumb-item:hover img { transform: scale(1.06); }
.d1-thumb-name {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 100%);
    color: #fff; font-size: 10px; font-weight: 600; line-height: 1.25;
    padding: 14px 8px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- Deals and Offers row ---- */
.d1-deals-row {
    display: flex; align-items: stretch; gap: 24px;
    background: var(--white); border: 1px solid var(--border); border-radius: 0px;
    padding: 10px; margin: 30px 0; overflow: hidden;
}
.d1-deals-box { flex: 0 0 170px; background: #BB2526; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border); padding: 20px; }
.d1-deals-box h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.d1-deals-box p { font-size: 12px; color: #fff; margin-bottom: 14px; }
.d1-countdown { display: flex; gap: 8px; }
.d1-countdown div { background: #1f2937; color: #fff; border-radius: 6px; padding: 8px 9px; text-align: center; min-width: 42px; }
.d1-countdown strong { display: block; font-size: 16px; font-weight: 700; line-height: 1; }
.d1-countdown small { font-size: 9px; color: #9ca3af; text-transform: uppercase; letter-spacing: .03em; }
.d1-deals-scroll { flex: 1; display: flex; gap: 16px; overflow-x: auto; padding-bottom: 4px; min-width: 0; }
.d1-deals-scroll .product-card { flex: 0 0 190px; width: 190px; }
.d1-discount-badge { position: absolute; top: 10px; left: 10px; background: #B9160A; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 2; }

/* ---- Why Choose ADCE.IN ---- */
.d1-why-choose {
    display: grid; grid-template-columns: 1.1fr 1fr;
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    overflow: hidden; margin: 30px 0;
}
.d1-why-left { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.d1-why-left h2 { font-size: 35px; font-weight: 800; color: var(--text-dark); letter-spacing: .01em; margin-bottom: 12px; }
.d1-why-left h2 span { color: #B9160A; }
.d1-why-left p { font-size: 16px; color: #000; max-width: 420px; margin-bottom: 26px; text-align: justify; text-justify: inter-word;hyphens: auto;word-spacing: normal;letter-spacing: normal;}
.d1-why-icons { display: flex; gap: 20px; flex-wrap: wrap; }
.d1-why-icons > div { text-align: center; max-width: 95px; }
.d1-icon-circle { width: 60px; height: 60px; border-radius: 5%; background: #fdeceb; color: #B9160A; display: flex; align-items: center; justify-content: center; font-size: 25px; font-weight: 700; margin: 0 auto 8px; }
.d1-why-icons small { font-size: 11px; font-weight: 600; color: var(--text-dark); line-height: 1.3; display: block; }

.d1-why-right { position: relative; min-height: 280px; background-color: #fff; background-size: cover; repeat: no-repeat; background-position: center; }
.d1-why-right-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(45,6,4,.7) 0%, rgba(45,6,4,.25) 45%, rgba(45,6,4,0) 62%); }
.d1-why-right-content {
    position: absolute; top: 0; right: 0; bottom: 0; width: 58%;
    background: #fff; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
    display: flex; flex-direction: column; justify-content: center;
    padding: 30px 10% 30px 22%;
}
.d1-why-right-content h3 { font-size: 19px; font-weight: 800; color: var(--text-dark); line-height: 1.35; }
.d1-underline { display: block; width: 40px; height: 4px; background: #B9160A; margin-top: 14px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .d1-top-grid { grid-template-columns: 1fr; }
    .d1-cat-sidebar { display: flex; overflow-x: auto; border-right: none; border-bottom: 1px dashed var(--border); }
    .d1-cat-sidebar a { flex-shrink: 0; padding: 10px 16px; white-space: nowrap; }
    .d1-hero-banner { border-left: none; border-right: none; min-height: 300px; }
    .d1-thumb-stack { flex-direction: row; border-left: none; border-top: 1px solid var(--border); overflow-x: auto; }
    .d1-thumb-item { flex: 0 0 130px; height: 90px; }
    .d1-why-choose { grid-template-columns: 1fr; }
    .d1-why-right { min-height: 220px; }
    .d1-deals-row { flex-direction: column; }
    .d1-deals-box { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 16px; flex: none; }
    .d1-hero-trust-strip {
        justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap;
        gap: 22px; padding: 14px 20px;
        -webkit-mask-image: linear-gradient(to right, #000 92%, transparent 100%);
        mask-image: linear-gradient(to right, #000 92%, transparent 100%);
    }
    .d1-trust-item { flex-shrink: 0; min-width: auto; }
    .d1-trust-item strong { font-size: 14px; }
    .d1-trust-stars { font-size: 13px; }
}
@media (max-width: 600px) {
    .d1-hero-content { padding: 26px 22px 18px; }
    .d1-hero-content h1 { font-size: 22px; }
    .d1-hero-trust-strip { gap: 16px; padding: 12px 16px; }
    .d1-trust-item strong { font-size: 12px; }
    .d1-trust-stars { font-size: 11px; }
    .d1-why-left { padding: 26px; }
    .d1-why-right-content { width: 100%; clip-path: none; padding: 24px; }
    .d1-why-right-overlay { background: rgba(45,6,4,.55); }
    .d1-deals-scroll .product-card { flex: 0 0 160px; width: 160px; }
}

/* ---- Fix: price + strikethrough price overlapping on narrow cards ---- */
.product-card-price-row { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 480px) {
    .price-tag { font-size: 16px; }
    .price-strike { font-size: 12px; }
}

/* ---- Manual (non auto-sliding) review carousel with arrows ---- */
.d1-review-slider-wrapper { position: relative; margin: 20px 0 10px; }
.d1-review-slider-track {
    display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
    padding: 4px 4px 10px; scrollbar-width: none; -ms-overflow-style: none;
}
.d1-review-slider-track::-webkit-scrollbar { display: none; }
.d1-review-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-md);
    font-size: 18px; font-weight: 700; color: var(--navy); cursor: pointer;
    display: flex; align-items: center; justify-content: center; z-index: 2;
}
.d1-review-arrow:hover { background: #B9160A; color: #fff; border-color: #B9160A; }
.d1-review-arrow.d1-prev { left: -6px; }
.d1-review-arrow.d1-next { right: -6px; }
@media (max-width: 700px) {
    .d1-review-arrow { width: 32px; height: 32px; font-size: 15px; }
    .d1-review-arrow.d1-prev { left: -4px; }
    .d1-review-arrow.d1-next { right: -4px; }
}

/* ================================================================
   PRODUCT PAGE — "Google Reviews" style widget (asli website reviews,
   Google jaisa dikhta hai). Naya CSS hai — apni maujooda site.css ke
   bilkul AAKHIR me isse paste kar dein, kuch bhi purana touch nahi hoga.
   ================================================================ */
.pdp-grw { display: flex; gap: 24px; margin: 2px 0; align-items: stretch; }
.pdp-grw-summary {
    flex: 0 0 170px; background: var(--white, #fff); border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,.12);
    border-radius: 10px; padding: 20px 16px; text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0px;
}
.pdp-grw-icon { width: 26px; height: 26px; object-fit: contain; }
.pdp-grw-title { font-size: 16px; font-weight: 900; color: #1a1a1a; letter-spacing: .03em; margin: 0px 0 !important; padding: 0px; }
.pdp-grw-stars { color: var(--gold, #f4a100); font-size: 30px; letter-spacing: 1px; margin: 0 !important; padding: 0px;}
.pdp-grw-count { font-size: 12px; color: #000; margin: 0 0 4px 0 !important; }
.pdp-grw-logo { height: 18px; object-fit: contain; margin-top: 1px; }

.pdp-grw-carousel-wrap { position: relative; flex: 1; min-width: 0; }
.pdp-grw-track { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 4px 6px; scrollbar-width: none; }
.pdp-grw-track::-webkit-scrollbar { display: none; }
.pdp-grw-card {
    flex: 0 0 250px; background: var(--white, #fff); border: 1px dashed var(--border);
    border-radius: 10px; padding: 14px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.pdp-grw-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.pdp-grw-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.pdp-grw-name-row { display: flex; align-items: center; gap: 5px; }
.pdp-grw-name { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.pdp-grw-mini-icon { width: 13px; height: 13px; object-fit: contain; }
.pdp-grw-time { font-size: 11px; color: #000 }
.pdp-grw-card-stars { color: #00953d; font-size: 20px; letter-spacing: 1px; margin-bottom: 1px; }
.pdp-grw-card-text { font-size: 13px; color: #000; line-height: 1.3; }
.pdp-grw-more, .pdp-grw-less { color: var(--navy); font-weight: 600; cursor: pointer; white-space: nowrap; }
.pdp-grw-product-tag { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--navy); text-decoration: none; background: var(--bg); padding: 3px 9px; border-radius: 12px; }
.pdp-grw-product-tag:hover { text-decoration: underline; }

.pdp-grw-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border-radius: 50%; background: #fff;
    border: 1px solid var(--border); box-shadow: 0 2px 6px rgba(0,0,0,.12);
    font-size: 16px; font-weight: 700; color: var(--navy); cursor: pointer;
    display: flex; align-items: center; justify-content: center; z-index: 2;
}
.pdp-grw-arrow.pdp-grw-prev { left: -14px; }
.pdp-grw-arrow.pdp-grw-next { right: -14px; }
.pdp-grw-arrow:hover { background: #B9160A; color: #fff; border-color: #B9160A; }

@media (max-width: 900px) {
    .pdp-grw { flex-direction: column; }
    .pdp-grw-summary { flex-direction: column; flex-wrap: nowrap; padding: 18px 14px; gap: 4px; width: 100%; box-sizing: border-box; }
    .pdp-grw-title { font-size: 15px; }
    .pdp-grw-stars { font-size: 22px; }
    .pdp-grw-arrow.pdp-grw-prev { left: -6px; }
    .pdp-grw-arrow.pdp-grw-next { right: -6px; }
}

/* ---- FIX: Google logo size sahi karna (aspect ratio ke sath, centered) ---- */
.pdp-grw-logo { height: 20px; width: auto; max-width: 90px; object-fit: contain; margin: 6px auto 0; display: block; }

/* ---- FIX: Description/Specification/Reviews tab content ko bordered card jaisa banana ---- */
.pdp-tab-panel { border: 1px solid var(--border); border-radius: 10px; padding: 22px; background: var(--white, #fff); }

/* ================================================================
   LEARNWITHRAJ — Course-selling homepage (lwr-* prefix, sirf naya
   CSS hai, upar ka kuch bhi existing rule touch nahi hua)
   ================================================================ */

/* ---- Hero ---- */
.lwr-hero {
    background: linear-gradient(135deg, #0a0f2c 0%, #131a3d 55%, #1a1f4d 100%);
    padding: 60px 0 30px; color: #fff; position: relative; overflow: hidden;
}
.lwr-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 26px 26px; opacity: .6; pointer-events: none;
}
.lwr-hero-slider-wrap { position: relative; z-index: 1; }
.lwr-hero-track { position: relative; overflow: hidden; }
.lwr-hero-slide { display: none; animation: lwrFadeIn .5s ease; }
.lwr-hero-slide.active { display: block; }
@keyframes lwrFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.lwr-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; padding-top: 10px; }
.lwr-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(139,92,246,.15); border: 1px solid rgba(139,92,246,.4); color: #c4b5fd; font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 20px; margin-bottom: 20px; }
.lwr-hero-title { font-size: 42px; font-weight: 800; line-height: 1.15; margin: 0 0 16px; color: #fff; }
.lwr-hero-title-gradient { background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lwr-hero-desc { font-size: 15px; color: #cbd5e1; line-height: 1.65; max-width: 480px; margin-bottom: 26px; }
.lwr-hero-btns { display: flex; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.lwr-btn-primary { background: #2563eb; color: #fff; padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: background .15s; }
.lwr-btn-primary:hover { background: #1d4ed8; }
.lwr-btn-outline { border: 1.5px solid rgba(255,255,255,.35); color: #fff; padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.lwr-btn-outline:hover { background: rgba(255,255,255,.08); }
.lwr-hero-trust-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: #94a3b8; margin-bottom: 10px; }

.lwr-hero-right { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; padding: 30px 20px 20px; }
.lwr-hero-image { width: 100%; max-width: 420px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.4); display: block; object-fit: cover; aspect-ratio: 4/3; }
.lwr-hero-image-placeholder { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.05); border-radius: 16px; font-size: 60px; height: 320px; width: 100%; max-width: 420px; }
.lwr-hero-chip { position: absolute; background: #fff; color: #0a0f2c; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.25); white-space: nowrap; z-index: 2; }
.lwr-chip-1 { top: 8%; left: 6%; }
.lwr-chip-2 { top: 18%; right: 2%; }
.lwr-chip-3 { top: 46%; right: -2%; }
.lwr-chip-4 { top: 68%; right: 6%; }
.lwr-chip-5 { top: 86%; left: 10%; }

/* Hero slider controls */
.lwr-hero-arrow { position: absolute; top: 40%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.lwr-hero-arrow:hover { background: rgba(255,255,255,.22); }
.lwr-hero-prev { left: -6px; }
.lwr-hero-next { right: -6px; }
.lwr-hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; position: relative; z-index: 5; }
.lwr-hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); border: none; cursor: pointer; padding: 0; transition: all .2s; }
.lwr-hero-dot.active { background: linear-gradient(90deg, #60a5fa, #a78bfa); width: 26px; border-radius: 5px; }

/* ---- Feature strip ---- */
.lwr-features-strip {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
    background: var(--white); border: 1px solid var(--border); border-radius: 14px;
    padding: 28px 20px; margin: -28px 0 40px; position: relative; z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.lwr-feature-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.lwr-feature-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 6px; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.lwr-fi-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 8px 18px rgba(124,58,237,.35); }
.lwr-fi-green { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 8px 18px rgba(5,150,105,.35); }
.lwr-fi-red { background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 8px 18px rgba(225,29,72,.35); }
.lwr-fi-orange { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 8px 18px rgba(249,115,22,.35); }
.lwr-fi-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); box-shadow: 0 8px 18px rgba(37,99,235,.35); }
.lwr-fi-green2 { background: linear-gradient(135deg, #2dd4bf, #0d9488); box-shadow: 0 8px 18px rgba(13,148,136,.35); }
.lwr-feature-item strong { font-size: 13px; color: var(--text-dark); }
.lwr-feature-item small { font-size: 11px; color: var(--text-muted); }

/* ---- Section heading ---- */
.lwr-section-heading-row { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 18px; }
.lwr-section-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin: 0; }
.lwr-view-all { font-size: 13px; font-weight: 700; color: #2563eb; text-decoration: none; }
.lwr-view-all:hover { text-decoration: underline; }

/* ---- Categories ---- */
.lwr-categories-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.lwr-category-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px 12px; text-align: center; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.lwr-category-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.lwr-category-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 10px; box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.lwr-category-card:nth-child(6n+1) .lwr-category-icon { background: linear-gradient(135deg, #60a5fa, #2563eb); box-shadow: 0 6px 16px rgba(37,99,235,.3); }
.lwr-category-card:nth-child(6n+2) .lwr-category-icon { background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 6px 16px rgba(124,58,237,.3); }
.lwr-category-card:nth-child(6n+3) .lwr-category-icon { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 6px 16px rgba(5,150,105,.3); }
.lwr-category-card:nth-child(6n+4) .lwr-category-icon { background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 6px 16px rgba(225,29,72,.3); }
.lwr-category-card:nth-child(6n+5) .lwr-category-icon { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 6px 16px rgba(249,115,22,.3); }
.lwr-category-card:nth-child(6n+6) .lwr-category-icon { background: linear-gradient(135deg, #2dd4bf, #0d9488); box-shadow: 0 6px 16px rgba(13,148,136,.3); }
.lwr-category-card strong { display: block; font-size: 13px; color: var(--text-dark); margin-bottom: 2px; }
.lwr-category-card small { font-size: 11px; color: var(--text-muted); }
.lwr-category-more .lwr-category-icon { background: linear-gradient(135deg, #94a3b8, #475569) !important; box-shadow: 0 6px 16px rgba(71,85,105,.25) !important; }

/* ---- Course grid ---- */
.lwr-course-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.lwr-course-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; display: block; }
.lwr-course-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.1); transform: translateY(-2px); }
.lwr-course-thumb { position: relative; height: 120px; background: #111827; }
.lwr-course-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lwr-course-thumb-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 34px; color: #fff; }
.lwr-course-badge { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 5px; z-index: 2; text-transform: uppercase; letter-spacing: .03em; }
.lwr-badge-bestseller { background: #facc15; color: #1a1a1a; }
.lwr-badge-popular { background: #22c55e; color: #fff; }
.lwr-badge-trending { background: #ef4444; color: #fff; }
.lwr-course-body { padding: 14px; }
.lwr-course-body h4 { font-size: 14px; font-weight: 700; margin: 0 0 8px; color: var(--text-dark); line-height: 1.35; min-height: 38px; }
.lwr-course-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.lwr-course-stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.lwr-course-rating-num { font-size: 11px; color: var(--text-muted); }
.lwr-course-lessons { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.lwr-course-price-row { display: flex; align-items: baseline; gap: 8px; }
.lwr-course-price { font-size: 16px; font-weight: 800; color: #2563eb; }
.lwr-course-price-strike { font-size: 12px; color: #9ca3af; text-decoration: line-through; }

/* ---- Blog grid ---- */
.lwr-blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lwr-blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; display: block; }
.lwr-blog-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.1); transform: translateY(-2px); }
.lwr-blog-thumb { position: relative; height: 130px; background: #111827; }
.lwr-blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lwr-blog-thumb-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 32px; color: #fff; }
.lwr-blog-cat-tag { position: absolute; top: 10px; left: 10px; background: #2563eb; color: #fff; font-size: 9px; font-weight: 800; padding: 4px 8px; border-radius: 5px; z-index: 2; letter-spacing: .03em; }
.lwr-blog-body { padding: 14px; }
.lwr-blog-body h4 { font-size: 14px; font-weight: 700; margin: 0 0 10px; color: var(--text-dark); line-height: 1.35; min-height: 38px; }
.lwr-blog-meta { display: flex; gap: 14px; font-size: 11px; color: var(--text-muted); flex-wrap: wrap; }

/* ---- Testimonial + Stats ---- */
.lwr-testimonial-stats-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; margin: 40px 0; }
.lwr-testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 26px; position: relative; overflow: hidden; }
.lwr-testimonial-card h3 { font-size: 16px; font-weight: 800; margin: 0 0 14px; position: relative; z-index: 1; }
.lwr-testimonial-quote-icon { position: absolute; top: 14px; right: 22px; font-size: 60px; color: #eef2ff; font-weight: 900; line-height: 1; z-index: 0; }
.lwr-testimonial-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; position: relative; z-index: 1; }
.lwr-testimonial-author { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.lwr-testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: #2563eb; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.lwr-testimonial-author strong { font-size: 13px; display: block; }
.lwr-testimonial-stars { color: var(--gold); font-size: 12px; }

/* ---- Testimonial slider (multi-card, manual arrows) ---- */
.lwr-testi-slider-wrap { position: relative; margin-bottom: 40px; }
.lwr-testi-track { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 4px 10px; scrollbar-width: none; }
.lwr-testi-track::-webkit-scrollbar { display: none; }
.lwr-testi-card { flex: 0 0 320px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; position: relative; overflow: hidden; }
.lwr-testi-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,.1); font-size: 18px; font-weight: 700; color: #2563eb; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; }
.lwr-testi-arrow:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
.lwr-testi-prev { left: -6px; }
.lwr-testi-next { right: -6px; }
.lwr-testimonial-quote-icon { position: absolute; top: 10px; right: 18px; font-size: 54px; color: #eef2ff; font-weight: 900; line-height: 1; z-index: 0; }
.lwr-testimonial-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; position: relative; z-index: 1; }
.lwr-testimonial-author { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.lwr-testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#60a5fa,#2563eb); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.lwr-testimonial-author strong { font-size: 13px; display: block; }
.lwr-testimonial-stars { color: var(--gold); font-size: 12px; }

/* ---- SVG icon sizing (universal, replaces emoji for consistent premium look) ---- */
.lwr-feature-icon svg, .lwr-stat-icon svg, .lwr-progress-icon svg, .lwr-cta-icon svg, .lwr-newsletter-icon-box svg, .lwr-empty-icon svg { width: 22px; height: 22px; }
.lwr-progress-icon svg { width: 20px; height: 20px; }

/* ---- Full-width stats banner (individual premium cards) ---- */
.lwr-stats-banner-full { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.lwr-stat-card { background: linear-gradient(135deg, #1d3fd6, #5b21b6); border-radius: 14px; padding: 26px 16px; text-align: center; color: #fff; box-shadow: 0 12px 28px rgba(29,63,214,.28); }
.lwr-stat-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: #fff; }
.lwr-stat-card strong { display: block; font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.lwr-stat-card small { font-size: 12px; color: #dbeafe; }

/* ---- Gradient progress bars (icon cards) ---- */
.lwr-progress-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }
.lwr-progress-item { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.lwr-progress-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.lwr-pi-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.lwr-pi-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.lwr-pi-green { background: linear-gradient(135deg, #34d399, #059669); }
.lwr-pi-orange { background: linear-gradient(135deg, #fbbf24, #f97316); }
.lwr-progress-body { flex: 1; min-width: 0; }
.lwr-progress-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.lwr-progress-track { height: 10px; border-radius: 6px; background: #f1f5f9; overflow: hidden; }
.lwr-progress-fill { height: 100%; border-radius: 6px; transition: width 1s ease; }
.lwr-pf-blue { background: linear-gradient(90deg, #60a5fa, #2563eb); }
.lwr-pf-purple { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.lwr-pf-green { background: linear-gradient(90deg, #34d399, #059669); }
.lwr-pf-orange { background: linear-gradient(90deg, #fbbf24, #f97316); }

/* ---- Premium CTA banner ---- */
.lwr-cta-banner {
    background: linear-gradient(120deg, #0a0f2c, #1e1b6b 55%, #4c1d95);
    border-radius: 16px; padding: 40px; display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap; margin-bottom: 40px; position: relative; overflow: hidden;
}
.lwr-cta-banner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; }
.lwr-cta-icon { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.lwr-cta-icon svg { width: 26px; height: 26px; }
.lwr-cta-content { position: relative; z-index: 1; max-width: 460px; flex: 1; min-width: 220px; }
.lwr-cta-content h2 { color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.lwr-cta-content p { color: #cbd5e1; font-size: 14px; margin: 0; line-height: 1.55; }
.lwr-cta-btn { position: relative; z-index: 1; background: #fff; color: #1e1b6b; padding: 14px 30px; border-radius: 8px; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; transition: transform .15s; }
.lwr-cta-btn:hover { transform: translateY(-2px); }

/* ---- Newsletter (icon box) ---- */
.lwr-newsletter-icon-box { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, #60a5fa, #2563eb); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 8px 18px rgba(37,99,235,.3); }

/* ---- Empty state (jab tak courses/reviews na hon, premium placeholder) ---- */
.lwr-empty-state { background: var(--white); border: 1px dashed var(--border); border-radius: 14px; padding: 50px 20px; text-align: center; margin-bottom: 40px; }
.lwr-empty-icon { width: 56px; height: 56px; border-radius: 50%; background: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.lwr-empty-icon svg { width: 26px; height: 26px; }
.lwr-empty-state strong { display: block; font-size: 15px; color: var(--text-dark); margin-bottom: 6px; }
.lwr-empty-state small { font-size: 13px; color: var(--text-muted); }

/* ---- Newsletter ---- */
.lwr-newsletter-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px 28px; margin: 0 0 30px; flex-wrap: wrap; }
.lwr-newsletter-text strong { display: block; font-size: 16px; margin-bottom: 4px; }
.lwr-newsletter-text small { font-size: 12px; color: var(--text-muted); }
.lwr-newsletter-form { display: flex; gap: 0; flex: 1; max-width: 440px; min-width: 260px; }
.lwr-newsletter-form input { flex: 1; border: 1px solid var(--border); border-right: none; border-radius: 8px 0 0 8px; padding: 12px 16px; font-size: 13px; outline: none; }
.lwr-newsletter-form button { background: #2563eb; color: #fff; border: none; padding: 0 22px; border-radius: 0 8px 8px 0; font-weight: 700; font-size: 13px; cursor: pointer; }
.lwr-newsletter-form button:hover { background: #1d4ed8; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .lwr-course-grid, .lwr-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .lwr-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .lwr-features-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .lwr-hero-grid { grid-template-columns: 1fr; }
    .lwr-hero-right { order: -1; min-height: 260px; }
    .lwr-hero-chip { display: none; }
    .lwr-hero-arrow { display: none; }
    .lwr-testimonial-stats-row { grid-template-columns: 1fr; }
    .lwr-stats-banner { grid-template-columns: repeat(2, 1fr); }
    .lwr-stats-banner-full { grid-template-columns: repeat(2, 1fr); }
    .lwr-progress-panel { grid-template-columns: 1fr; }
    .lwr-cta-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
    .lwr-cta-content { max-width: none; }
}
@media (max-width: 700px) {
    .lwr-course-grid, .lwr-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .lwr-features-strip { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
    .lwr-hero-title { font-size: 30px; }
    .lwr-section-title { font-size: 18px; }
}
@media (max-width: 480px) {
    .lwr-blog-grid { grid-template-columns: 1fr; }
    .lwr-newsletter-strip { flex-direction: column; align-items: flex-start; }
    .lwr-newsletter-form { width: 100%; max-width: none; }
}

/* ================================================================
   LEARNWITHRAJ — Header & Footer (lwr-* prefix)
   ================================================================ */

/* ---- Top utility bar ---- */
.lwr-topbar { background: #0a0f2c; color: #cbd5e1; font-size: 12px; padding: 8px 0; }
.lwr-topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.lwr-topbar-left { font-weight: 500; }
.lwr-topbar-right { display: flex; align-items: center; gap: 18px; }
.lwr-topbar-email { color: #cbd5e1; text-decoration: none; }
.lwr-topbar-email:hover { color: #fff; }
.lwr-topbar-social { display: flex; gap: 12px; }
.lwr-topbar-social a { color: #cbd5e1; display: flex; }
.lwr-topbar-social a:hover { color: #fff; }

/* Mobile drawer (#mobileDrawer / .shop-nav) — LearnWithRaj header ke saath ye
   sirf mobile drawer ke roop mein use hota hai, desktop par ye "double nav
   row" jaisa nahi dikhna chahiye. */
#mobileDrawer { display: none; }
@media (max-width: 900px) {
    #mobileDrawer { display: block; }
}

/* ---- Main header ---- */
.lwr-site-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 0; position: relative; z-index: 20; }
.lwr-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lwr-mobile-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: #0a0f2c; }

.lwr-logo-block { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.lwr-logo-img { height: 40px; }
.lwr-logo-icon { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #7c3aed); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.lwr-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.lwr-logo-text strong { font-size: 19px; font-weight: 800; color: #0a0f2c; }
.lwr-logo-text small { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.lwr-main-nav { display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; }
.lwr-main-nav > a { font-size: 14px; font-weight: 600; color: #374151; text-decoration: none; white-space: nowrap; }
.lwr-main-nav > a:hover, .lwr-main-nav > a.active { color: #2563eb; }
.lwr-nav-dropdown { position: relative; }
.lwr-nav-dropdown > a { font-size: 14px; font-weight: 600; color: #374151; text-decoration: none; cursor: pointer; }
.lwr-nav-dropdown:hover > a { color: #2563eb; }
.lwr-nav-dropdown-menu { display: none; position: absolute; top: 130%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); min-width: 210px; padding: 8px; z-index: 50; max-height: 320px; overflow-y: auto; }
.lwr-nav-dropdown:hover .lwr-nav-dropdown-menu { display: block; }
.lwr-nav-dropdown-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; color: #374151; text-decoration: none; }
.lwr-nav-dropdown-menu a:hover { background: #f3f4f6; color: #2563eb; }

.lwr-header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.lwr-icon-btn { position: relative; color: #374151; font-size: 18px; text-decoration: none; display: flex; }
.lwr-cart-count { position: absolute; top: -8px; right: -10px; background: #2563eb; color: #fff; font-size: 10px; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lwr-login-btn { background: #2563eb; color: #fff; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lwr-login-btn:hover { background: #1d4ed8; }

/* ---- Footer ---- */
.lwr-footer { background: #0a0f2c; color: #94a3b8; padding-top: 50px; margin-top: 40px; }
.lwr-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 36px; }
.lwr-footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 16px; }
.lwr-footer-col a { display: block; color: #94a3b8; font-size: 13px; text-decoration: none; margin-bottom: 10px; }
.lwr-footer-col a:hover { color: #fff; }
.lwr-footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lwr-footer-brand-desc { font-size: 13px; color: #94a3b8; line-height: 1.6; margin-bottom: 18px; }
.lwr-footer-social { display: flex; gap: 10px; }
.lwr-footer-social a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 0; }
.lwr-footer-social a:hover { background: #2563eb; }
.lwr-footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13px; color: #94a3b8; }
.lwr-footer-contact-item a { display: inline; margin-bottom: 0; }
.lwr-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12px; color: #94a3b8; }
.lwr-footer-bottom a { display: inline; color: #94a3b8; text-decoration: none; margin: 0 0 0 14px; }
.lwr-footer-bottom a:hover { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .lwr-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .lwr-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .lwr-main-nav { display: none; }
    .lwr-mobile-toggle { display: block; }
    .lwr-topbar-left { font-size: 11px; }

    .lwr-header-inner {
        display: grid; grid-template-columns: 32px 1fr auto;
        align-items: center; gap: 10px; padding: 10px 15px; width: 100%;
    }
    .lwr-mobile-toggle { grid-column: 1; justify-self: start; }
    .lwr-logo-block { grid-column: 2; justify-self: center; gap: 6px; }
    .lwr-logo-img { height: 28px; }
    .lwr-logo-icon { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }
    .lwr-logo-text strong { font-size: 15px; }
    .lwr-logo-text small { display: none; }
    .lwr-header-actions { grid-column: 3; justify-self: end; gap: 8px; }
    .lwr-icon-btn { font-size: 16px; }
    .lwr-login-btn { padding: 7px 12px; font-size: 11px; white-space: nowrap; border-radius: 6px; }
}
@media (max-width: 380px) {
    .lwr-header-inner { grid-template-columns: 26px 1fr auto; gap: 6px; padding: 8px 10px; }
    .lwr-logo-text small { display: none; }
    .lwr-logo-text strong { font-size: 13px; }
    .lwr-header-actions { gap: 5px; }
    .lwr-icon-btn { font-size: 15px; }
    .lwr-login-btn { padding: 6px 8px; font-size: 10px; }
}
@media (max-width: 600px) {
    .lwr-topbar-inner { flex-direction: column; gap: 4px; padding: 4px 0; text-align: center; }
    .lwr-header-inner { flex-wrap: wrap; gap: 12px; }
    .lwr-footer-grid { grid-template-columns: 1fr 1fr; }
    .lwr-footer-bottom .container { flex-direction: column; text-align: center; }
    .lwr-footer-bottom a { margin: 0 7px; }
}

/* ================================================================
   COURSE SINGLE PAGE (course-single.php) — mobile responsive
   ================================================================ */
.lwr-course-single-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.lwr-course-single-side { min-width: 0; }
.lwr-cs-buybox { position: sticky; top: 90px; }
.lwr-cs-section { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.lwr-cs-section-title { background: var(--bg); padding: 12px 16px; font-weight: 600; }
.lwr-cs-lesson-row { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lwr-cs-lesson-meta { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

@media (max-width: 900px) {
    .lwr-course-single-grid { grid-template-columns: 1fr; gap: 24px; }
    .lwr-course-single-side { order: -1; }
    .lwr-cs-buybox { position: static; }
}
@media (max-width: 600px) {
    .lwr-course-single h1 { font-size: 22px; }
    .lwr-cs-lesson-row { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ================================================================
   COURSE SINGLE PAGE — Reviews section
   ================================================================ */
.lwr-cr-review { border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.lwr-cr-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.lwr-cr-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#60a5fa,#2563eb); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.lwr-cr-stars { color: var(--gold); font-size: 13px; }
.lwr-cr-date { margin-left: auto; font-size: 12px; color: var(--text-muted); }
.lwr-cr-text { font-size: 13px; color: #374151; line-height: 1.6; margin: 0; }

.lwr-cr-form-box { border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-top: 20px; background: var(--bg); }
.lwr-cr-star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.lwr-cr-star-input input { display: none; }
.lwr-cr-star-input label { font-size: 28px; line-height: 1; color: #d1d5db; cursor: pointer; transition: color .1s; }
.lwr-cr-star-input input:checked ~ label,
.lwr-cr-star-input label:hover,
.lwr-cr-star-input label:hover ~ label { color: var(--gold); }
