@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&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);
    /* Header-only premium palette (kept separate from --navy/--gold above so nothing
       else on the site that already uses those tokens is affected) */
    --header-wine: #7b1e3a;
    --header-wine-deep: #591327;
    --header-gold: #b08d57;
    --header-ink: #241a18;
}
* { 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: var(--header-ink); color: #fff; padding: 8px 0; font-size: 11px; }
.utility-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.utility-left { display: flex; gap: 20px; }
.utility-right { display: flex; align-items: center; }
.utility-right a { color: #fff; text-decoration: none; margin-left: 15px; }
.utility-phone { color: var(--header-gold); font-weight: 600; margin-left: 15px; }

/* ===== Main Header — Row 1: logo | search | account/wishlist/cart ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 28px; padding: 20px 20px; }
.logo-block { text-decoration: none; flex-shrink: 0; }
.logo-block .logo { color: var(--header-wine); font-size: 26px; font-weight: 700; text-decoration: none; font-family: 'Fraunces', serif; font-style: italic; }
.logo-img { height: 60px; }
.mobile-nav-toggle {
    display: none;
    background: transparent !important;
    border: none !important;
    font-size: 26px !important;
    color: var(--header-wine) !important;
    cursor: pointer !important;
    outline: none !important;
    padding: 5px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    flex-shrink: 0;
}

/* Always-visible pill-shaped search bar (Sephora-style) */
.header-search {
    flex: 1; max-width: 560px; display: flex; align-items: center;
    border: 1.5px solid #000; border-radius: 999px; overflow: hidden; background: #fafafa;
}
.header-search input { flex: 1; padding: 11px 16px 11px 4px; border: none; background: transparent; font-size: 14px; color: var(--navy); }
.header-search input:focus { outline: none; }
.header-search input::placeholder { color: #8a8a8a; }
.header-search button { background: none; border: none; padding: 0 0 0 18px; cursor: pointer; color: #6b6b6b; display: flex; align-items: center; }
.header-search button svg { width: 18px; height: 18px; }
.header-search button:hover { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; margin-left: auto; }
.header-icon-link { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--navy); position: relative; }
.header-icon-link svg { width: 21px; height: 21px; flex-shrink: 0; transition: color .15s; }
.header-icon-link:hover svg { color: var(--header-wine); }
.header-icon-link .icon-label { font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; color: var(--text-muted); }

/* Sign In / My Account — circular avatar icon + two-line text beside it, not stacked */
.user-account-link { flex-direction: row !important; align-items: center; gap: 9px; }
.account-avatar {
    width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #000;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.account-avatar svg { width: 16px; height: 16px; color: #000; }
.account-text { display: flex; flex-direction: column; line-height: 1.3; }
.account-line1 { font-size: 15px; font-weight: 700; color: #000; }
.account-line2 { font-size: 10.5px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }

.cart-count {
    position: absolute; top: -6px; right: -10px; background: var(--header-wine); color: #fff;
    font-size: 10px; font-weight: 800; width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}

/* ===== Row 2: full-width colored navigation bar ===== */
.shop-nav { background: #000; }
.shop-nav-inner { display: flex; align-items: center; justify-content: flex-start; padding: 10px 20px; }
.main-shop-links { display: flex; gap: 30px; align-items: center; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.main-shop-links::-webkit-scrollbar { display: none; }
.main-shop-links a {
    font-size: 14px; font-weight: 400; text-decoration: none; color: #fff;
    text-transform: none; letter-spacing: 0; font-family: 'Inter', sans-serif;
    padding: 4px 0; flex-shrink: 0; position: relative;
    transition: opacity .2s;
    opacity: .92;
}
.main-shop-links a:hover, .main-shop-links a.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.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 #FF02A3; 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: #000; }
.price-strike { font-size: 15px; color: #9ca3af; text-decoration: line-through; }
.btn-card-buy { background: #000; 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: #EE0294; color: #fff; }
.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 + Wishlist + 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 110px !important; /* room for account + wishlist + cart icons */
        align-items: center !important; 
        padding: 12px 15px !important; 
        gap: 8px 10px !important; 
        width: 100% !important;
    }

    .header-search {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        max-width: none !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: 10px !important;
    }
    
    /* Mobile: account/wishlist/cart become compact icon-only buttons (label text hidden, SVG stays visible) */
    .header-icon-link .icon-label { display: none !important; }
    .account-text { display: none !important; }
    .user-account-link { gap: 0 !important; }
    .header-icon-link svg { width: 20px !important; height: 20px !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; color: var(--navy) !important; text-transform: none !important; }
    .main-shop-links a::after { display: none !important; }
    .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; z-index: 2px}
.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-top-row { display: grid; grid-template-columns: 600px 1fr; gap: 24px; align-items: start; min-width: 0; margin-bottom: 40px; }
/* Column 1: Gallery */
.pdp-gallery { background: var(--white); border: 0px solid var(--border); border-radius: 5px; padding: 16px; min-width: 0; }
.pdp-main-image { position: relative; width: 100%; 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: #000; color: #fff; font-size: 12px; font-weight: 700; padding: 10px 10px; border-radius: 20px; z-index: 2; }

/* Horizontal thumbnail row below the main image, with scroll arrows */
.pdp-thumbs-row-wrap { position: relative; margin-top: 12px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.pdp-thumbs-row {
    display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth;
    scrollbar-width: none; padding: 2px; min-width: 0; flex: 1;
}
.pdp-thumbs-row::-webkit-scrollbar { display: none; }
.pdp-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 2px solid var(--border); cursor: pointer; transition: border-color 0.15s; background: var(--white); flex-shrink: 0; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--gold); }
.pdp-thumbs-arrow {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #fff;
    border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,.1); cursor: pointer;
    font-size: 16px; color: var(--header-wine, var(--navy)); display: flex; align-items: center; justify-content: center;
}
.pdp-thumbs-arrow:hover { background: var(--header-wine, var(--navy)); color: #fff; border-color: transparent; }
.pdp-wishlist-icon { position: absolute; top: 12px; right: 12px; font-size: 20px; background: #000; 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: unified info + buy column — no sidebars, everything flows in one place */
.pdp-main-col { padding: 0; min-width: 0; }
.pdp-title { font-size: 25px; font-weight: 700; color: #000; font-family: inter; line-height: 1.35; margin-bottom: 5px; }
.pdp-meta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
.pdp-rating { color: #de018f; font-size: 15px; text-decoration: none; }
.pdp-rating-count { color: #000; font-size: 14px; margin-left: 6px; }
.pdp-sku { color: var(--text-muted); 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: #000; }
.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; }
.pdp-variation-selector { margin-bottom: 18px; }
.pdp-color-current { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pdp-color-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.pdp-color-swatch-lg { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex-shrink: 0; }
.pdp-color-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.pdp-color-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp-color-dot {
    width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 2px;
    background-clip: content-box; cursor: pointer; position: relative;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1);
    transition: border-color .15s, transform .15s;
}
.pdp-color-dot:hover { transform: scale(1.08); }
.pdp-color-dot.active { border-color: var(--header-wine, var(--navy)); box-shadow: 0 0 0 1px var(--header-wine, var(--navy)); }
.pdp-color-dot.pdp-color-oos { opacity: .35; cursor: not-allowed; }
.pdp-color-dot.pdp-color-oos::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 140%; height: 1.5px;
    background: #999; transform: translate(-50%, -50%) rotate(-45deg);
}

/* Trust / delivery info boxes row (Sephora-style) */
.pdp-trust-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.pdp-trust-box {
    display: flex; flex-direction: column; align-items: left; text-align: left; gap: 8px;
    padding: 16px 8px; border: 1px solid #000; border-radius: 5px; background: #fff;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pdp-trust-box:hover { transform: translateY(-2px); border-color: var(--navy); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.pdp-trust-box svg { width: 30px; height: 30px; color: #000; }
.pdp-trust-box span { font-size: 16px; font-weight: 700; color: #000; line-height: 1.3; }
.pdp-trust-box span small { display: block; font-weight: 500; color: var(--text-muted); font-size: 14px; margin-top: 3px; }

.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; }
.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: 12px; margin-bottom: 14px; }
.pdp-buy-buttons-row { display: flex; gap: 12px; align-items: stretch; }
.pdp-buy-buttons-row .pdp-btn-buynow { flex: 1; }
.pdp-cart-unit {
    flex: 1.4; display: flex; align-items: stretch; border-radius: 8px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pdp-qty-inline { display: flex; align-items: center; background: #fff; border: 1.5px solid #055529; border-right: none; border-radius: 8px 0 0 8px; }
.pdp-qty-inline button { width: 32px; height: 46px; background: none; border: none; font-size: 16px; cursor: pointer; color: #055529; font-weight: 700; }
.pdp-qty-inline input { width: 34px; height: 46px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 14px; font-weight: 700; color: var(--navy); }
.pdp-cart-unit .pdp-btn-cart { flex: 1; border-radius: 0 8px 8px 0; }
.pdp-btn-cart { background: #055529; color: #fff; border: none; padding: 14px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: filter 0.15s, transform .15s; }
.pdp-btn-cart:hover { filter: brightness(1.1); transform: translateY(-1px); }
.pdp-btn-buynow { background: #DE018E; color: #fff; border: none; padding: 14px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: filter 0.15s, transform .15s; }
.pdp-btn-buynow:hover { background: #DE018E; transform: translateY(-1px); }

/* Payment badge row (PayPal, matches Sephora's Klarna/Afterpay style) */
.pdp-payment-options-row { margin-bottom: 14px; }
.pdp-payment-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 5px;
    padding: 7px 14px; font-size: 12.5px; color: var(--text-muted);
}
.pdp-payment-badge svg { color: #003087; flex-shrink: 0; }
.pdp-payment-badge strong { color: var(--navy); }

/* Size pills (text-based variation option, alongside color dots) */
.pdp-size-pill {
    min-width: 44px; height: 40px; padding: 0 14px; border-radius: 8px;
    border: 1.5px solid var(--border); background: #fff; color: var(--navy);
    font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.pdp-size-pill:hover { border-color: var(--navy); }
.pdp-size-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pdp-size-pill.pdp-color-oos { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.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: 10px 0px; font-size: 25px; font-weight: 600; color: #000; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.pdp-tab-btn.active { color: #000; border-bottom-color: #000; }
.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: 0px 4px; transition: background .15s; }
.pdp-review-item:hover { background: #fafafa; }
.pdp-review-item-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.pdp-review-stars { color: #de018f; font-size: 18px; }
.pdp-verified-badge { background: #e6f6ee; color: var(--success); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; }
.pdp-review-date { color: var(--text-muted); font-size: 12px; margin-left: auto; }
.pdp-review-item p { font-size: 16px; color: #000; line-height: 1.6; margin-bottom: 6px; }
.pdp-review-name { font-size: 12.5px; color: var(--navy); font-weight: 700; }
.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); }

/* ===== Ratings & Reviews (full section, Sephora-style) ===== */
.pdp-reviews-section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--border); }
.pdp-reviews-heading { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.pdp-reviews-summary {
    display: flex; gap: 40px; align-items: center; margin-bottom: 8px; flex-wrap: wrap;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%); border: 1px solid #000; border-radius: 5px;
    padding: 26px 30px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.pdp-reviews-score-box { text-align: center; flex-shrink: 0; padding-right: 32px; border-right: 1px solid var(--border); }
.pdp-reviews-score-num { font-size: 44px; font-weight: 800; color: var(--navy); line-height: 1; }
.pdp-reviews-score-count { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.pdp-reviews-bars { flex: 1; min-width: 220px; max-width: 380px; display: flex; flex-direction: column; gap: 7px; }
.pdp-reviews-bar-row { display: flex; align-items: center; gap: 10px; }
.pdp-reviews-bar-label { font-size: 12px; color: var(--text-muted); width: 30px; flex-shrink: 0; }
.pdp-reviews-bar-track { flex: 1; height: 8px; background: var(--bg); border-radius: 10px; overflow: hidden; }
.pdp-reviews-bar-fill { height: 100%; background: var(--gold); border-radius: 10px; transition: width .4s ease; }
.pdp-reviews-bar-count { font-size: 12px; color: var(--text-muted); width: 24px; text-align: right; flex-shrink: 0; }
.pdp-reviews-sort-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.pdp-reviews-sort-row span { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.pdp-reviews-sort-row a { font-size: 13px; color: var(--text-muted); text-decoration: none; padding: 5px 2px; border-bottom: 2px solid transparent; transition: color .15s; }
.pdp-reviews-sort-row a:hover { color: var(--navy); }
.pdp-reviews-sort-row a.active { color: var(--navy); font-weight: 700; border-bottom-color: var(--gold); }
.pdp-reviews-list { max-width: 760px; }
@media (max-width: 600px) {
    .pdp-reviews-summary { flex-direction: column; align-items: flex-start; gap: 20px; }
    .pdp-reviews-score-box { border-right: none; padding-right: 0; }
}
@media (max-width: 600px) {
    .pdp-reviews-summary { gap: 24px; }
    .pdp-review-date { margin-left: 0; width: 100%; order: 3; }
}
@media (max-width: 1100px) {
    .pdp-top-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .pdp-thumbs-arrow { display: none; } /* touch swipe is more natural on mobile */
    /* Floating chat/WhatsApp buttons sit fixed at bottom-right on every page - this buffer
       keeps the scrollable thumbnail row from ever rendering a thumbnail directly under them */
    .pdp-thumbs-row-wrap { margin-right: 64px; }
    .pdp-title { font-size: 19px; }
    .pdp-price-current { font-size: 22px; }
    .pdp-trust-boxes { grid-template-columns: repeat(2, 1fr); }
    .pdp-trust-box { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
}
@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: 17px; line-height: 1.3; color: #000; }
.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; }
}
/* ================= Mobile compact header icons are handled in the main
   @media (max-width: 900px) block above (icon-only pills, SVG-based) ================= */
/* ================= FIX: Mobile header ko compact/professional banana ================= */
@media (max-width: 900px) {
    .logo-img { height: 26px !important; }
    .logo-block .logo { font-size: 17px !important; }
    .header-actions { gap: 10px !important; }
    .cart-count { top: -4px !important; right: -8px !important; width: 15px !important; height: 15px !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: 0px solid var(--border); border-radius: 10px; padding: 5px; background: var(--white, #fff); }

/* ================================================================
   LUXE BEAUTY HOMEPAGE (lx-*) — new premium design for the cosmetics
   storefront. Fully additive: nothing above this line was touched,
   and every rule here is scoped under .lx-page so it can never leak
   onto product listing pages, admin, or anywhere else that reuses
   shared classes like .product-card / .btn-primary / .section-title.
   ================================================================ */

.lx-page {
    --lx-ink: #241a18;
    --lx-ivory: #faf3ec;
    --lx-wine: #7b1e3a;
    --lx-wine-deep: #591327;
    --lx-rose: #e8c2b9;
    --lx-rose-soft: #f5e3dd;
    --lx-gold: #b08d57;
    --lx-gold-light: #d9c08d;
    --lx-muted: #8b7a72;
    font-family: 'Inter', sans-serif;
    background: #fff;
}
.lx-page .lx-serif { font-family: 'Fraunces', serif; }
.lx-page .lx-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: #DE018E;
}
.lx-page .lx-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--lx-gold); display: inline-block; }

/* ---------- Top grid: category rail | hero slider | thumb stack ---------- */
.lx-page .lx-top-grid {
    display: block;
    margin: 0px 0 20px;
}

/* ---- Hero slider ---- */
.lx-page .lx-hero {
    position: relative; border-radius: 5px; overflow: hidden; min-height: 460px;
    background: #000; box-shadow: 0 18px 40px -18px rgba(89,19,39,.45);
}
.lx-page .lx-hero-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    background-image: radial-gradient(900px 520px at 85% 12%, rgba(176,141,87,.32), transparent 60%), linear-gradient(135deg, var(--lx-wine-deep) 0%, var(--lx-ink) 75%);
    background-size: cover; background-position: center;
    transition: opacity .7s ease;
}
.lx-page .lx-hero-slide.lx-slide-active { opacity: 1; visibility: visible; position: relative; }
.lx-page .lx-hero-watermark {
    position: absolute; right: -60px; bottom: -80px; width: 440px; height: 440px;
    opacity: .09; color: var(--lx-gold-light); pointer-events: none; z-index: 1;
}
.lx-page .lx-hero-watermark svg { width: 100%; height: 100%; }
.lx-page .lx-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; height: 500px; width: 100%; }
.lx-page .lx-hero-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(63deg, rgb(0 0 0 / 38%) 0%, rgb(113 3 103 / 54%) 42%, rgb(255 0 200 / 8%) 75%);
}
.lx-page .lx-hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 46px 46px 20px; max-width: 540px; }
.lx-page .lx-hero-copy .lx-eyebrow { color: #fff; margin-bottom: 14px; }
.lx-page .lx-hero-copy h1 {
    font-family: 'Fraunces', serif; font-weight: 600; font-style: italic;
    font-size: 40px; line-height: 1.12; color: #fff; margin-bottom: 14px;
}
.lx-page .lx-hero-copy h1 em {
    font-style: normal; color: #fff; display: block; font-size: 0.7em; letter-spacing: .5px;
    font-family: 'Inter', sans-serif; font-weight: 700; text-transform: uppercase; margin-top: 6px;
}
.lx-page .lx-hero-copy p { color: #fff; font-size: 16px; line-height: 1.3; margin-bottom: 26px; max-width: 380px; }
.lx-page .lx-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.lx-page .lx-btn-wine {
    background: #E10190; color: #fff; padding: 13px 26px; border-radius: 999px;
    font-weight: 600; font-size: 13.5px; text-decoration: none; border: 1px solid var(--lx-wine);
    transition: background .2s, transform .2s; display: inline-block;
}
.lx-page .lx-btn-wine:hover { background: var(--lx-wine-deep); transform: translateY(-1px); }
.lx-page .lx-btn-ghost {
    background: #000; color: #fff; padding: 13px 26px; border-radius: 999px;
    font-weight: 600; font-size: 13.5px; text-decoration: none; border: 1px solid rgba(255,255,255,.55);
    transition: background .2s, border-color .2s; display: inline-block;
}
.lx-page .lx-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Slide dots */
.lx-page .lx-hero-dots {
    position: absolute; z-index: 3; right: 24px; bottom: 24px;
    display: flex; gap: 8px;
}
.lx-page .lx-hero-dots button {
    width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
    background: transparent; cursor: pointer; padding: 0; transition: background .2s, width .2s;
}
.lx-page .lx-hero-dots button.lx-dot-active { background: #E10190; border-color: #fff; width: 22px; border-radius: 5px; }

/* Signature element: gold foil seal badge floating on hero */
.lx-page .lx-hero-seal {
    position: absolute; z-index: 3; left: 34px; top: 30px;
    width: 92px; height: 92px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--lx-gold-light), var(--lx-gold) 60%, #8f7038 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--lx-ink); box-shadow: 0 10px 22px rgba(0,0,0,.35), inset 0 0 0 3px rgba(255,255,255,.35);
    transform: rotate(-8deg); transition: transform .3s ease;
}
.lx-page .lx-hero:hover .lx-hero-seal { transform: rotate(0deg) scale(1.04); }
.lx-page .lx-hero-seal strong { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; line-height: 1; }
.lx-page .lx-hero-seal span { font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-top: 3px; line-height: 1.2; }

/* Frosted glass trust strip inside hero */
.lx-page .lx-hero-trust {
    position: relative; z-index: 2; margin-top: auto;
    display: flex; gap: 10px; padding: 16px 20px; flex-wrap: wrap;
    background: #000; backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.16);
}
.lx-page .lx-trust-chip {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px; padding: 7px 14px; color: #fff; font-size: 11.5px; font-weight: 600;
}
.lx-page .lx-trust-chip svg { width: 16px; height: 16px; flex-shrink: 0; color: #fff; }

/* Thumb stack (right column, category spotlight tiles) */
.lx-page .lx-thumb-stack { display: flex; flex-direction: column; gap: 12px; }
.lx-page .lx-thumb-item {
    position: relative; display: block; border-radius: 12px; overflow: hidden; height: 128px;
    background: var(--lx-rose-soft); text-decoration: none; box-shadow: 0 4px 14px rgba(89,19,39,.08);
    transition: box-shadow .2s, transform .2s;
}
.lx-page .lx-thumb-item:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(89,19,39,.16); }
.lx-page .lx-thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.lx-page .lx-thumb-item:hover img { transform: scale(1.06); }
.lx-page .lx-thumb-label {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(36,26,24,.85), transparent);
    color: #fff; font-size: 11px; font-weight: 700; padding: 22px 12px 10px;
}

/* ---------- Category icon boxes ---------- */
.lx-page .lx-cat-icons { display: flex; gap: 16px; overflow-x: auto; padding: 30px 2px 8px; }
.lx-page .lx-cat-icon-item { flex-shrink: 0; width: 104px; text-align: center; text-decoration: none; }
.lx-page .lx-cat-icon-circle {
    width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 10px;
    background: var(--lx-rose-soft); border: 1px solid #f0ddd4;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.lx-page .lx-cat-icon-circle svg { width: 30px; height: 30px; color: var(--lx-wine); }
.lx-page .lx-cat-icon-item:hover .lx-cat-icon-circle {
    background: var(--lx-wine); transform: translateY(-3px);
    box-shadow: 0 10px 20px -6px rgba(123,30,58,.5);
}
.lx-page .lx-cat-icon-item:hover .lx-cat-icon-circle svg { color: #fff; }
.lx-page .lx-cat-icon-item small { font-size: 12.5px; font-weight: 600; color: var(--lx-ink); }

/* ---------- Shop By Category (large photo cards) ---------- */
.lx-page .lx-category-cards {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.lx-page .lx-category-card {
    position: relative; display: flex; align-items: flex-end; justify-content: flex-start; 
    height: 300px; border-radius: 100%; overflow: hidden; text-decoration: none;
    background-size: cover; background-position: center;
    box-shadow: 0 4px 14px rgba(89,19,39,.08);
    transition: transform .25s, box-shadow .25s;
}
.lx-page .lx-category-card:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(89,19,39,.18); }
.lx-page .lx-category-card-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(36,26,24,.78) 0%, rgba(36,26,24,.05) 55%);
}
.lx-page .lx-category-card-name {
    position: relative; z-index: 2; color: #fff; font-family: 'Fraunces', serif; font-weight: 700;
    font-size: 19px; padding: 16px 18px;
}
/* Fallback (no photo uploaded yet): centered icon-circle card, same footprint as the photo card */
.lx-page .lx-category-card-noimg {
    flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: var(--lx-rose-soft); border: 1px solid #f0ddd4;
}
.lx-page .lx-category-card-name-dark { color: var(--lx-ink); padding: 0; font-size: 15px; }
.lx-page .lx-category-card-noimg .lx-cat-icon-circle { margin: 0; }
@media (max-width: 900px) {
    .lx-page .lx-category-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .lx-page .lx-category-card { height: 170px; }
}

/* ---------- Section headers ---------- */
.lx-page .lx-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin: 48px 0 22px; }
.lx-page .lx-section-head h2 {
    font-family: 'Fraunces', serif; font-weight: 600; font-size: 27px; text-align: center; color: var(--lx-ink);
}
.lx-page .lx-section-head a { color: var(--lx-wine); font-size: 13px; font-weight: 700; text-decoration: none; }
.lx-page .lx-section-head a:hover { text-decoration: underline; }

/* ---------- Product cards (scoped override, doesn't touch global .product-card) ---------- */
.lx-page .product-card {
    background: #fff; border-radius: 5px; padding: 14px; border: 0px solid #000;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 6px;
    transition: box-shadow .25s, border-color .25s, transform .25s;
}
.lx-page .product-card:hover { transform: translateY(-4px); border-color: var(--lx-gold); box-shadow: 0 16px 28px -14px rgba(89,19,39,.28); }
.lx-page .product-card-image-wrapper { background: #fff; border-radius: 10px; height: 160px; position: relative; overflow: hidden; }
.lx-page .product-card h4 { font-family: 'Inter', sans-serif; color: #000; }
.lx-page .price-tag { color: #000; font-family: "helvetica neue",helvetica,arial,sans-serif; font-weight: 700; }
.lx-page .d1-discount-badge {
    background: #000; color: #fff; font-family: 'Inter', sans-serif;
    border-radius: 999px; padding: 4px 10px; letter-spacing: .3px;
}
.lx-page .btn-card-buy {
    background: var(--lx-ink); border-radius: 5px; letter-spacing: .6px;
}
.lx-page .product-card:hover .btn-card-buy { background: var(--lx-wine); color: #fff; }

/* ---------- Limited Edition / Deals row ---------- */
.lx-page .lx-deals-row {
    display: flex; align-items: stretch; gap: 0; background: var(--lx-wine); border-radius: 5px;
    overflow: hidden; margin: 10px 0 20px;
}
.lx-page .lx-deals-box { flex: 0 0 200px; padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; background: #000; }
.lx-page .lx-deals-box .lx-eyebrow { color: var(--lx-gold-light); margin-bottom: 8px; }
.lx-page .lx-deals-box h3 { font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; color: #fff; font-size: 22px; margin-bottom: 14px; }
.lx-page .lx-countdown { display: flex; gap: 8px; }
.lx-page .lx-countdown div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 8px 10px; text-align: center; min-width: 44px; }
.lx-page .lx-countdown strong { display: block; font-size: 17px; font-weight: 700; color: #fff; line-height: 1; }
.lx-page .lx-countdown small { font-size: 9px; color: var(--lx-gold-light); text-transform: uppercase; letter-spacing: .5px; }
.lx-page .lx-deals-scroll { flex: 1; display: flex; gap: 14px; overflow-x: auto; padding: 18px; min-width: 0; background: #000; }
.lx-page .lx-deals-scroll .product-card { flex: 0 0 190px; width: 190px; }

/* ---------- Why choose (icon boxes + image panel) ---------- */
.lx-page .lx-why {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff;
    border: 1px solid #DE018E; border-radius: 5px; overflow: hidden; margin: 20px 0;
}
.lx-page .lx-why-left { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.lx-page .lx-why-left h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 32px; color: #000; margin: 10px 0 14px; }
.lx-page .lx-why-left h2 em { color: #DE018E; font-style: italic; }
.lx-page .lx-why-left > p { color: #000; font-size: 14.5px; line-height: 1.7; max-width: 420px; margin-bottom: 30px; }
.lx-page .lx-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lx-page .lx-why-item { display: flex; gap: 12px; align-items: flex-start; }
.lx-page .lx-why-icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
    background: #DE018E; border: 1px solid var(--lx-gold-light);
    display: flex; align-items: center; justify-content: center;
}
.lx-page .lx-why-icon svg { width: 20px; height: 20px; color: #fff; }
.lx-page .lx-why-item strong { display: block; font-size: 13.5px; color: var(--lx-ink); margin-bottom: 3px; }
.lx-page .lx-why-item span { font-size: 12px; color: var(--lx-muted); line-height: 1.4; }
.lx-page .lx-why-right { position: relative; min-height: 340px; background-size: cover; background-position: center; background-color: var(--lx-rose-soft); }
.lx-page .lx-why-right-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36,26,24,.75) 0%, rgba(36,26,24,0) 55%); }
.lx-page .lx-why-quote {
    position: absolute; left: 26px; right: 26px; bottom: 26px; color: #fff;
    font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; line-height: 1.4;
}
.lx-page .lx-why-quote small { display: block; font-family: 'Inter', sans-serif; font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: #fff; margin-top: 10px; }

/* ---------- Review ratings slider ---------- */
.lx-page .lx-review-wrap { position: relative; margin: 6px 0 10px; }
.lx-page .lx-review-track { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; padding: 6px 4px 12px; scrollbar-width: none; }
.lx-page .lx-review-track::-webkit-scrollbar { display: none; }
.lx-page .lx-review-card {
    flex: 0 0 300px; background: #fff; border: 1px solid #000; border-radius: 5px; padding: 15px;
    position: relative;
}
.lx-page .lx-review-mark { font-family: 'Fraunces', serif; font-size: 42px; color: #000; line-height: 1; margin-bottom: 1px; }
.lx-page .lx-review-stars { color: #DE018E; font-size: 15px; letter-spacing: 1px; margin-bottom: 5px; }
.lx-page .lx-review-comment { font-size: 13.5px; color: #000; line-height: 1.3; margin-bottom: 0px; min-height: 50px; }
.lx-page .lx-review-author { display: flex; align-items: left; gap: 10px;}
.lx-page .lx-review-avatar {
    width: 34px; height: 34px; border-radius: 50%; background: #DE018E; color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; font-family: 'Fraunces', serif;
}
.lx-page .lx-review-author strong { display: block; font-size: 12.5px; color: var(--lx-ink); }
.lx-page .lx-review-author small { font-size: 11px; color: var(--lx-muted); }
.lx-page .lx-review-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid #f1e5dd;
    box-shadow: 0 6px 16px rgba(89,19,39,.12); font-size: 17px; color: var(--lx-wine); cursor: pointer;
    display: flex; align-items: center; justify-content: center; z-index: 2;
}
.lx-page .lx-review-arrow:hover { background: var(--lx-wine); color: #fff; border-color: var(--lx-wine); }
.lx-page .lx-review-arrow.lx-prev { left: -6px; }
.lx-page .lx-review-arrow.lx-next { right: -6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .lx-page .lx-why { grid-template-columns: 1fr; }
    .lx-page .lx-why-right { min-height: 220px; }
}
@media (max-width: 640px) {
    .lx-page .lx-hero { min-height: 380px; }
    .lx-page .lx-hero-copy { padding: 30px 22px 22px; }
    .lx-page .lx-hero-copy h1 { font-size: 28px; }
    .lx-page .lx-hero-seal { width: 74px; height: 74px; left: 18px; top: 18px; }
    .lx-page .lx-hero-seal strong { font-size: 16px; }
    .lx-page .lx-deals-row { flex-direction: column; }
    .lx-page .lx-deals-box { flex: none; }
    .lx-page .lx-why-grid { grid-template-columns: 1fr; }
    .lx-page .lx-why-left { padding: 28px; }
}

/* ---------- Fast-buy additions: bestseller badge, stock urgency, concern chips ---------- */
.lx-page .lx-bestseller-badge {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: var(--lx-ink); color: var(--lx-gold-light);
    font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
    letter-spacing: .2px; box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.lx-page .lx-stock-urgency {
    font-size: 11.5px; font-weight: 700; color: #b3261e;
    margin-top: -6px; margin-bottom: 6px;
}

.lx-page .lx-concern-row {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin: 6px 0 28px; padding: 14px 18px;
    background: #E10190; border: 1px solid #f0ddd4; border-radius: 5px;
}
.lx-page .lx-concern-label { font-size: 12.5px; font-weight: 700; color: #fff; flex-shrink: 0; }
.lx-page .lx-concern-chip {
    background: #fff; border: 1px solid #f0ddd4; color: var(--lx-ink);
    font-size: 12.5px; font-weight: 600; text-decoration: none;
    padding: 7px 16px; border-radius: 999px; transition: background .2s, color .2s, border-color .2s;
}
.lx-page .lx-concern-chip:hover { background: var(--lx-wine); color: #fff; border-color: var(--lx-wine); }
@media (max-width: 640px) {
    .lx-page .lx-concern-row { border-radius: 16px; padding: 14px; }
}

/* ---------- Top urgency ribbon ---------- */
.lx-page .lx-ribbon { background: var(--lx-ink); color: #fff; padding: 9px 0; }
.lx-page .lx-ribbon-inner { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .2px; }
.lx-page .lx-ribbon-inner strong { color: var(--lx-gold-light); }

/* ---------- Sticky mobile "Shop Now" bar ---------- */
.lx-page .lx-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: #fff; border-top: 1px solid #f0ddd4; box-shadow: 0 -8px 20px rgba(0,0,0,.08);
    padding: 12px 16px; display: none; align-items: center; justify-content: space-between; gap: 12px;
    transform: translateY(100%); transition: transform .25s ease;
}
.lx-page .lx-sticky-cta.lx-sticky-cta-visible { transform: translateY(0); }
.lx-page .lx-sticky-cta-text { font-size: 12px; font-weight: 600; color: var(--lx-ink); }
.lx-page .lx-sticky-cta .lx-btn-wine { padding: 10px 20px; font-size: 12.5px; flex-shrink: 0; }
@media (max-width: 900px) {
    .lx-page .lx-sticky-cta { display: flex; }
}

/* ---------- Recent-purchase toast ---------- */
.lx-page .lx-toast {
    position: fixed; left: 18px; bottom: 18px; z-index: 998;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid #f0ddd4; border-radius: 14px;
    padding: 12px 16px; box-shadow: 0 14px 32px rgba(36,26,24,.18);
    max-width: 300px; opacity: 0; transform: translateY(16px);
    pointer-events: none; transition: opacity .35s ease, transform .35s ease;
}
.lx-page .lx-toast.lx-toast-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lx-page .lx-toast-icon {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    background: #e7f6ec; color: #1e8e5a; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px;
}
.lx-page .lx-toast-body { display: flex; flex-direction: column; gap: 2px; padding-right: 14px; }
.lx-page .lx-toast-body strong { font-size: 12.5px; color: var(--lx-ink); line-height: 1.35; }
.lx-page .lx-toast-body span { font-size: 11px; color: var(--lx-muted); }
.lx-page .lx-toast-close {
    position: absolute; top: 6px; right: 8px; background: none; border: none;
    font-size: 15px; color: var(--lx-muted); cursor: pointer; line-height: 1; padding: 2px;
}
@media (max-width: 640px) {
    .lx-page .lx-toast { left: 12px; right: 12px; max-width: none; bottom: 78px; }
}
