/* GhaniVoltVision.com Modern E-Commerce Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #d10000;
    --primary-dark: #b00000;
    --primary-light: #ffe8e8;
    --secondary: #0b61ae;
    --dark: #222222;
    --gray-dark: #474747;
    --gray-light: #f4f4f4;
    --gray-border: #e2e2e2;
    --success: #27ae60;
    --pta-approved: #16a085;
    --non-pta: #e67e22;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --radius: 6px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: #fbfbfb;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
    background-color: var(--primary);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 0;
    letter-spacing: 0.3px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #ffffff;
}

.top-bar-contact {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-bar-contact i {
    margin-right: 5px;
}

/* Main Header */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid var(--gray-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Brand Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-badge {
    background: var(--primary);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 18px;
}

.logo .pk {
    color: var(--secondary);
    font-size: 20px;
}

/* ==========================================================================
   Smart Live Search System Styling
   ========================================================================== */
.search-wrapper {
    flex: 1;
    max-width: 620px;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    border: 2px solid var(--primary);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.search-wrapper:focus-within .search-form {
    border-color: var(--primary-dark);
    box-shadow: 0 4px 18px rgba(209, 0, 0, 0.14);
}

.search-input-icon {
    padding-left: 16px;
    color: #94a3b8;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 13.5px;
    color: #1e293b;
    background: transparent;
}

.search-input::placeholder {
    color: #94a3b8;
    transition: opacity 0.2s ease;
}

.search-clear-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    cursor: pointer;
    font-size: 11px;
    margin-right: 6px;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.search-clear-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.search-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--primary);
    font-size: 13px;
    margin-right: 6px;
    flex-shrink: 0;
}

.search-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0 22px;
    height: 42px;
    border-radius: 0 28px 28px 0;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Dropdown Container */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 20px 40px -6px rgba(0, 0, 0, 0.16), 0 8px 16px -4px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: none;
    max-height: 490px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    animation: searchFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}
.search-results-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

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

.search-results-dropdown.active {
    display: block;
}

/* Suggestions Panel (Empty/Focus) */
.search-suggestions-panel {
    padding: 16px;
}

.search-section {
    margin-bottom: 16px;
}
.search-section:last-child {
    margin-bottom: 0;
}

.search-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.search-section-head span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-clear-recent-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease;
}
.search-clear-recent-btn:hover {
    color: var(--primary);
    text-decoration: underline;
}

.search-recent-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
    transition: background 0.15s ease;
    cursor: pointer;
}
.search-recent-item:hover,
.search-recent-item.nav-highlighted {
    background: #fee2e2;
}

.search-recent-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
}
.search-recent-link i {
    color: #94a3b8;
    font-size: 12px;
}

.search-remove-recent {
    background: none;
    border: none;
    color: #94a3b8;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.15s ease;
}
.search-remove-recent:hover {
    background: #e2e8f0;
    color: #dc2626;
}

.search-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12.5px;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}
.search-chip i {
    color: #64748b;
    font-size: 12px;
}
.search-chip:hover,
.search-chip.nav-highlighted {
    background: #fee2e2;
    border-color: #fca5a5;
    color: var(--primary);
    transform: translateY(-1px);
}
.search-chip:hover i,
.search-chip.nav-highlighted i {
    color: var(--primary);
}

.search-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12.5px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease;
}
.search-category-pill .pill-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
}
.search-category-pill:hover,
.search-category-pill.nav-highlighted {
    border-color: var(--primary);
    background: #fff5f5;
    color: var(--primary);
}

/* Results Panel */
.search-matches-header {
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.search-match-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.match-group-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-right: 4px;
}

.search-match-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease;
}
.search-match-chip .count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 10px;
}
.search-match-chip:hover,
.search-match-chip.nav-highlighted {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}
.search-match-chip:hover .count,
.search-match-chip.nav-highlighted .count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Product Results List */
.search-products-list {
    display: flex;
    flex-direction: column;
}

.search-product-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-product-item:hover,
.search-product-item.nav-highlighted {
    background: #fff5f5;
}

.search-item-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.search-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.search-item-cat {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.search-item-pta {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.badge-pta-official {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.badge-pta-other {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.search-item-cond {
    font-size: 10px;
    background: #fef3c7;
    color: #92400e;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.search-item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-highlight {
    background: #fef08a;
    color: #854d0e;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 700;
}

.search-item-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.search-current-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

.search-orig-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.search-discount-badge {
    font-size: 10.5px;
    font-weight: 700;
    background: #fee2e2;
    color: #dc2626;
    padding: 1px 5px;
    border-radius: 4px;
}

.search-item-arrow {
    color: #cbd5e1;
    font-size: 12px;
    padding-left: 6px;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}
.search-product-item:hover .search-item-arrow,
.search-product-item.nav-highlighted .search-item-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* Footer Action */
.search-footer-action {
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    text-align: center;
}

.search-view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}
.search-view-all-btn:hover,
.search-view-all-btn.nav-highlighted {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* No Results State */
.search-no-results {
    padding: 28px 20px;
    text-align: center;
}
.no-results-icon {
    font-size: 36px;
    color: #cbd5e1;
    margin-bottom: 12px;
}
.search-no-results h4 {
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 6px;
    font-weight: 600;
}
.search-no-results p {
    font-size: 12.5px;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto 16px;
    line-height: 1.5;
}
.no-results-trending {
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
}
.no-results-hint {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    position: relative;
}

.header-action-btn:hover {
    color: var(--primary);
}

.header-action-btn i {
    font-size: 20px;
    color: var(--primary);
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    left: 14px;
    background: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Navigation Bar */
.nav-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--gray-border);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 14px;
    font-weight: 600;
    font-size: 12.5px;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
}

.nav-highlight {
    color: var(--primary) !important;
    font-weight: 700;
}

/* Dropdown Submenu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    border: 1px solid var(--gray-border);
    border-radius: 0 0 6px 6px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    border-bottom: 1px solid #f6f6f6;
}

.dropdown-item a:hover {
    background: #fdf2f2;
    color: var(--primary);
    padding-left: 22px;
}

/* =====================================================
   PROFESSIONAL HERO SHOWCASE & SLIDER SYSTEM
   ===================================================== */

/* Luxury Ticker Announcement Ribbon */
.hero-ticker-wrap {
    background: #0d1017;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-bottom: 20px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.hero-ticker-track {
    display: inline-flex;
    gap: 36px;
    animation: tickerScroll 34s linear infinite;
    will-change: transform;
}

.hero-ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.ticker-item-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    display: inline-block;
}

.ticker-item i {
    color: var(--primary);
    font-size: 12px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero Showcase Grid */
.hero-showcase-section {
    padding: 10px 0 28px;
}

.hero-showcase-grid {
    display: grid;
    grid-template-columns: 2.15fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* Hero Slider Container */
.hero-slider-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0a0d13;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    min-height: 530px;
    display: flex;
    flex-direction: column;
}

.hero-slider-wrap.grabbing {
    cursor: grabbing;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 530px;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Individual Hero Slide */
.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    position: relative;
    min-height: 530px;
    display: flex;
    align-items: center;
    padding: 42px 48px;
    box-sizing: border-box;
    overflow: hidden;
    background: radial-gradient(circle at 75% 50%, rgba(20, 26, 38, 0.95), #090c12 85%);
}

/* Dynamic Slide Color Themes */
.hero-slide.theme-red {
    --accent-glow: rgba(220, 38, 38, 0.28);
    --accent-color: #ff4d4d;
    --accent-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.hero-slide.theme-cyan {
    --accent-glow: rgba(14, 165, 233, 0.28);
    --accent-color: #38bdf8;
    --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.hero-slide.theme-amber {
    --accent-glow: rgba(245, 158, 11, 0.28);
    --accent-color: #fbbf24;
    --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.hero-slide.theme-emerald {
    --accent-glow: rgba(16, 185, 129, 0.28);
    --accent-color: #34d399;
    --accent-gradient: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

/* High-Tech Background Lighting & Cyber Grid */
.hero-slide-glow {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: var(--accent-glow, rgba(209, 0, 0, 0.3));
    filter: blur(85px);
    pointer-events: none;
    z-index: 1;
}

.hero-slide-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.55;
    z-index: 1;
}

/* 2-Column Split Stage */
.hero-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

/* Left Column: Hero Content */
.hero-slide-content {
    max-width: 520px;
    color: #ffffff;
}

.slide-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.badge-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color, #ff4d4d);
    box-shadow: 0 0 8px var(--accent-color, #ff4d4d);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.slide-title {
    font-size: clamp(26px, 2.9vw, 36px);
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}

.slide-title span {
    color: var(--accent-color, #ff4d4d);
}

.slide-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 16px;
    font-weight: 400;
}

/* Slide Pricing Strip */
.slide-pricing-bar {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.slide-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.price-prefix {
    font-size: 10.5px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.price-val {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.slide-verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Slide Action CTAs: Clean side-by-side buttons */
.slide-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.btn-slide-primary {
    background: var(--primary);
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(209, 0, 0, 0.4);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-slide-primary:hover {
    background: #b50000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 0, 0, 0.55);
}

.btn-slide-primary i {
    transition: transform 0.2s ease;
}

.btn-slide-primary:hover i {
    transform: translateX(3px);
}

.btn-slide-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.btn-slide-outline:hover {
    background: rgba(37, 211, 102, 0.18);
    border-color: #25d366;
    color: #25d366;
    transform: translateY(-2px);
}

/* Specs Strip */
.slide-specs-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.spec-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.spec-pill i {
    color: var(--accent-color, #ff4d4d);
    font-size: 10px;
}

/* Right Column: Clean Product Showcase Stage */
.hero-slide-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual-stage {
    position: relative;
    width: 100%;
    max-width: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-stage-backdrop-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--accent-glow, rgba(209, 0, 0, 0.3));
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

.hero-visual-img-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-showcase-img {
    max-width: 100%;
    max-height: 310px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.55));
    transition: transform 0.4s ease;
}

.hero-slider-wrap:hover .hero-showcase-img {
    transform: scale(1.02);
}

/* Docked Navigation Capsule (Zero Text Overlap) */
.slider-nav-bar {
    position: absolute;
    bottom: 18px;
    left: 48px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    z-index: 12;
    background: rgba(11, 15, 23, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.slider-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10.5px;
    transition: all 0.2s ease;
    padding: 0;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.slider-counter {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

#hero-current-slide {
    color: #ffffff;
    font-weight: 800;
    font-size: 12.5px;
}

.counter-sep {
    color: #475569;
    font-size: 11px;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-dot.active {
    width: 20px;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(209, 0, 0, 0.6);
}

/* Slider Progress Bar */
.slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 15;
}

.slider-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(209, 0, 0, 0.8);
    transition: width 0.05s linear;
}

/* =====================================================
   SIDE BANNERS: FLASH DEAL & CERTIFIED GUARANTEE
   ===================================================== */
.hero-side-banners {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
    height: 100%;
}

/* Card 1: Side Flash Deal Card */
.side-deal-card {
    position: relative;
    background: linear-gradient(145deg, #180f12 0%, #0d0f14 100%);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 16px;
    padding: 14px 18px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    flex: 1;
}

.side-card-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.deal-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.deal-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.deal-timer-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.timer-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
}

.countdown-digital {
    display: flex;
    align-items: center;
    gap: 3px;
}

.countdown-digital .time-block {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.countdown-digital .time-block small {
    font-size: 8px;
    color: #94a3b8;
    margin-left: 1px;
}

.countdown-digital .time-colon {
    color: #ef4444;
    font-weight: 700;
    font-size: 9.5px;
}

/* Deal Product Showcase Split */
.deal-product-showcase {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.deal-img-box {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #141822;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-img-box img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.side-deal-card:hover .deal-img-box img {
    transform: scale(1.08);
}

.deal-discount-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    background: #dc2626;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
}

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

.deal-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deal-specs {
    font-size: 10.5px;
    color: #94a3b8;
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.deal-price {
    font-size: 17px;
    font-weight: 800;
    color: #ef4444;
}

.deal-old-price {
    font-size: 11.5px;
    color: #64748b;
    text-decoration: line-through;
}

/* Deal Urgency & Stock Meter */
.deal-urgency-box {
    margin-bottom: 8px;
}

.deal-stock-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.deal-stock-meta i {
    color: #f97316;
}

.deal-stock-meta .stock-count strong {
    color: #f87171;
}

.deal-stock-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.deal-stock-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #ef4444);
    border-radius: 4px;
}

.btn-claim-deal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.22), rgba(220, 38, 38, 0.12));
    border: 1px solid rgba(220, 38, 38, 0.45);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-claim-deal:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-claim-deal i {
    transition: transform 0.2s ease;
}

.btn-claim-deal:hover i {
    transform: translateX(3px);
}

/* Card 2: Certified Buyer Assurance Card */
.side-trust-card {
    position: relative;
    background: linear-gradient(145deg, #0c1420 0%, #090d14 100%);
    border: 1px solid rgba(14, 165, 233, 0.24);
    border-radius: 16px;
    padding: 14px 18px 16px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    flex: 1;
}

.trust-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.trust-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(14, 165, 233, 0.16);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: #38bdf8;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-verified-seal {
    font-size: 10.5px;
    font-weight: 700;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trust-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 9px;
    line-height: 1.25;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 9px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    transition: background 0.2s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.trust-icon {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.2;
}

.trust-text span {
    display: block;
    font-size: 9.5px;
    color: #94a3b8;
    line-height: 1.2;
}

.btn-trust-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(37, 211, 102, 0.1));
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: #25d366;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.12);
}

.btn-trust-chat:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.online-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 8px #25d366;
    animation: pulseGlow 1.8s infinite;
}

/* Category Pills Bar (Under Hero) */
.category-pills-bar {
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.cat-pill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 6px;
    border-radius: 8px;
    transition: var(--transition);
    color: #333;
    text-decoration: none;
}

.cat-pill-item:hover {
    background: #fdf2f2;
    transform: translateY(-3px);
    color: var(--primary);
}

.cat-pill-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 8px;
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.cat-pill-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cat-pill-item:hover .cat-pill-icon {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.cat-pill-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.cat-pill-count {
    font-size: 10px;
    color: #888;
    margin-top: 3px;
    font-weight: 500;
}

.cat-pill-item:hover .cat-pill-count {
    color: var(--primary);
}

/* Homepage Category Showcase Grid (100% Dynamic from Database) */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.category-card {
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.category-card-img-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #1e1e2d;
}

.category-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-img-wrap img {
    transform: scale(1.08);
}

.category-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1e2d 0%, #303048 100%);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.6);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 60%);
}

.category-badge-count {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
}

.category-card-content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e1e2d;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-card-title a {
    color: inherit;
    text-decoration: none;
}

.category-card:hover .category-card-title {
    color: var(--primary);
}

.category-card-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-sub-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.category-sub-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.category-sub-pill:hover {
    background: var(--primary);
    color: #ffffff;
}

.category-explore-link {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.category-card:hover .category-explore-link {
    gap: 8px;
}

@media (max-width: 992px) {
    .category-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* Flash Sales Banner with Live Ticker */
.flash-sale-strip {
    background: linear-gradient(90deg, #d10000 0%, #900000 100%);
    border-radius: 10px;
    padding: 16px 24px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(209, 0, 0, 0.25);
}

.flash-sale-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flash-icon {
    font-size: 32px;
    color: #ffeb3b;
    animation: flashPulse 1.5s infinite;
}

@keyframes flashPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

.flash-sale-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 2px;
}

.flash-sale-desc {
    font-size: 12.5px;
    opacity: 0.9;
}

/* Secondary Promotional Grid (3 Cards) */
.promo-tri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.promo-banner-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 175px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 24px;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.promo-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.promo-banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 100%);
}

.promo-banner-content {
    position: relative;
    z-index: 2;
}

.promo-banner-subtitle {
    font-size: 10.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ff9999;
    margin-bottom: 4px;
    letter-spacing: 0.8px;
}

.promo-banner-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

.promo-banner-desc {
    font-size: 11.5px;
    opacity: 0.9;
    margin-bottom: 12px;
    line-height: 1.4;
    max-width: 90%;
}

.promo-banner-btn {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.promo-banner-btn:hover {
    background: #fff;
    color: var(--primary);
}

.banner-btn:hover {
    background: #fff;
    color: var(--primary);
}

/* Feature Perks Strip */
.perks-strip {
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: 16px 24px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.perk-icon {
    width: 44px;
    height: 44px;
    background: #fdf2f2;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.perk-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.perk-text p {
    font-size: 11.5px;
    color: #777;
}

/* Section Header */
.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    border-bottom: 2px solid #eef2f6;
    padding-bottom: 12px;
    position: relative;
    gap: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    position: static;
}

.section-title h2::after {
    display: none;
}

.section-title p {
    font-size: 13px;
    color: #64748b;
    margin: 5px 0 0;
    line-height: 1.4;
}

.section-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: var(--transition);
}

.section-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #ddd;
}

.product-badge-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: var(--primary);
    color: #fff;
}

.badge-pta {
    background: var(--pta-approved);
    color: #fff;
}

.badge-non-pta {
    background: var(--non-pta);
    color: #fff;
}

.badge-condition {
    background: #333;
    color: #fff;
}

.product-thumb {
    position: relative;
    padding: 20px;
    background: #fafafa;
    text-align: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb img {
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.quick-view-btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34, 34, 34, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    opacity: 0;
}

.product-card:hover .quick-view-btn {
    bottom: 12px;
    opacity: 1;
}

.quick-view-btn:hover {
    background: var(--primary);
}

.product-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #f39c12;
    margin-bottom: 10px;
}

.product-rating span {
    color: #888;
    margin-left: 2px;
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-size: 12.5px;
    color: #999;
    text-decoration: line-through;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-add-cart {
    flex: 1;
    background: #f1f2f6;
    color: var(--dark);
    border: 1px solid #dcdde1;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-whatsapp-order {
    background: var(--whatsapp);
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-whatsapp-order:hover {
    background: var(--whatsapp-dark);
}

/* Product Detail Page */
.product-detail-wrap {
    padding: 30px 0 60px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--gray-border);
    margin-bottom: 40px;
}

.product-gallery-main {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.product-gallery-main img {
    max-height: 400px;
    margin: 0 auto;
    object-fit: contain;
}

.product-info-col h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 12px;
}

.meta-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-price-box {
    background: #fdf6f6;
    border-left: 4px solid var(--primary);
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.detail-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.detail-original-price {
    font-size: 18px;
    color: #888;
    text-decoration: line-through;
}

.stock-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--success);
    margin-left: auto;
}

.order-actions-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.action-row {
    display: flex;
    gap: 12px;
}

.qty-selector {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    width: 120px;
}

.qty-btn {
    background: #f0f0f0;
    border: none;
    width: 36px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.qty-input {
    width: 48px;
    border: none;
    text-align: center;
    font-weight: bold;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-whatsapp-big {
    background: var(--whatsapp);
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-big:hover {
    background: var(--whatsapp-dark);
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13.5px;
}

.specs-table th, .specs-table td {
    padding: 10px 14px;
    border: 1px solid #eee;
}

.specs-table th {
    background: #fafafa;
    color: var(--dark);
    font-weight: 600;
    width: 30%;
}

.specs-table td {
    color: #444;
}

/* Slide-out Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-drawer-item {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.cart-drawer-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-border);
    background: #fafafa;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.cart-summary-line.total {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    border-top: 1px dashed #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.cart-drawer-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-bubble {
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    display: none;
}

.floating-whatsapp:hover .whatsapp-bubble {
    display: block;
}

.whatsapp-icon-btn {
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
}

.whatsapp-icon-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Footer */
.main-footer {
    background: #1e1e1e;
    color: #bbbbbb;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    font-size: 13px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 8px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
}

/* ==========================================================================
   GLOBAL RESPONSIVE UTILITIES & MOBILE COMPONENTS
   ========================================================================== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Header Left: Hamburger + Logo */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    background: #fee2e2;
    color: var(--primary);
    border-color: #fca5a5;
}

/* Off-Canvas Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 86vw;
    height: 100%;
    background: #ffffff;
    z-index: 10002;
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.2);
    transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-nav-drawer.active {
    left: 0;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.mobile-nav-header .logo {
    font-size: 20px;
}

.mobile-nav-close {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-nav-close:hover {
    background: #fee2e2;
    color: #dc2626;
}

.mobile-nav-user-card {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mobile-user-info i {
    font-size: 28px;
    color: var(--primary);
}

.mobile-user-info strong {
    display: block;
    font-size: 13px;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-user-info small {
    display: block;
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-user-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 40px;
}

.mobile-nav-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin: 14px 0 8px;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-menu-item {
    border-radius: 8px;
}

.mobile-menu-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    border-radius: 8px;
    flex: 1;
    transition: background 0.15s, color 0.15s;
}

.mobile-menu-link i {
    width: 18px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
}

.mobile-menu-link:hover {
    background: #f8fafc;
    color: var(--primary);
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    padding: 10px 14px;
    font-size: 12px;
    color: #94a3b8;
    cursor: pointer;
}

.mobile-submenu {
    display: none;
    padding-left: 28px;
    padding-top: 4px;
    padding-bottom: 6px;
}

.mobile-menu-item.has-children.open .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 7px 12px;
    font-size: 12.5px;
    color: #64748b;
    border-radius: 6px;
    transition: color 0.15s;
}

.mobile-submenu li a:hover {
    color: var(--primary);
}

.mobile-drawer-contact {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-contact-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #e2e8f0;
}

.mobile-contact-pill.whatsapp {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

/* Mobile Bottom App Navigation Bar */
.mobile-bottom-bar {
    display: none;
}

/* Shop Layout Component Styles */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.shop-sidebar {
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: 22px;
}

.shop-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.shop-sidebar-close {
    display: none;
}

.btn-toggle-filters {
    display: none;
}

.shop-top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 14px 20px;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    margin-bottom: 24px;
}

.shop-count-filter-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Cart, Checkout & Account Layout Components */
.cart-layout-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 35px;
    align-items: start;
}

.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 35px;
    align-items: start;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row-3col {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 15px;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.account-sidebar {
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.warranty-device-summary {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 24px;
    align-items: center;
}

.track-stepper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
    margin-bottom: 30px;
    font-size: 12px;
}

.track-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & MOBILES)
   ========================================================================== */

/* Tablets & Below (<= 992px) */
@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-bar {
        display: none;
    }

    .header-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-actions {
        gap: 12px;
    }

    .header-action-btn > span {
        display: none;
    }

    .search-wrapper {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin: 6px 0 0 0;
    }

    .search-results-dropdown {
        max-height: 420px;
    }

    /* Shop Page Filters */
    .shop-layout {
        display: block;
    }

    .shop-sidebar {
        display: none;
        margin-bottom: 24px;
        animation: fadeIn 0.25s ease-out;
    }

    .shop-sidebar.active {
        display: block;
    }

    .shop-sidebar-close {
        display: block;
        background: none;
        border: none;
        font-size: 22px;
        color: #64748b;
        cursor: pointer;
        padding: 0 4px;
    }

    .btn-toggle-filters {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 14px;
        background: #f1f5f9;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-weight: 700;
        font-size: 13px;
        color: #1e293b;
        cursor: pointer;
        transition: background 0.15s;
    }

    .btn-toggle-filters:hover {
        background: #fee2e2;
        color: var(--primary);
    }

    /* Grids to 2 Columns or 1 Column */
    .shop-products-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .hero-showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-side-banners {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }

    .category-pills-bar {
        grid-template-columns: repeat(4, 1fr);
    }

    .promo-tri-grid {
        grid-template-columns: 1fr;
    }

    .perks-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-layout-grid,
    .checkout-layout-grid,
    .account-layout {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
}

/* Small Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: 65px;
    }

    /* Bottom App Bar Active */
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 58px;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 997;
        box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
    }

    .bottom-bar-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        background: none;
        border: none;
        color: #64748b;
        font-size: 10px;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        padding: 6px 0;
        font-family: inherit;
        transition: color 0.15s ease;
    }

    .bottom-bar-item i {
        font-size: 18px;
    }

    .bottom-bar-item.active,
    .bottom-bar-item:hover {
        color: var(--primary);
    }

    .bottom-bar-icon-wrap {
        position: relative;
        display: inline-flex;
    }

    .bottom-bar-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background: var(--primary);
        color: #ffffff;
        font-size: 9px;
        font-weight: 800;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
    }

    .floating-whatsapp {
        bottom: 74px !important;
        right: 18px !important;
    }

    .compare-floating-bar {
        bottom: 72px !important;
    }

    .mobile-sticky-product-bar {
        bottom: 58px !important;
    }

    /* Hero Slider on Mobile/Tablet */
    .hero-slide {
        padding: 26px 20px 58px;
    }

    .hero-slide-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
    }

    .hero-slide-visual {
        order: -1;
    }

    .hero-showcase-img {
        max-height: 220px;
    }

    .hero-float-chip {
        display: none;
    }

    .slider-nav-bar {
        left: 20px;
        bottom: 14px;
    }

    .form-row-3col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .warranty-device-summary {
        grid-template-columns: 80px 1fr;
    }

    .warranty-device-summary > div:last-child {
        grid-column: 1 / -1;
        text-align: left !important;
    }
}

/* Mobile Phones (<= 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 14px;
    }

    /* Top Announcement Bar */
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .top-bar-contact {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        font-size: 11px;
    }

    .top-bar-announcement {
        font-size: 11px;
        line-height: 1.4;
    }

    /* Header & Brand */
    .main-header {
        padding: 12px 0;
    }

    .logo {
        font-size: 20px;
    }

    .logo-badge {
        font-size: 15px;
        padding: 3px 6px;
    }

    .search-btn span {
        display: none;
    }

    .search-btn {
        padding: 0 15px;
    }

    .search-results-dropdown {
        max-height: 380px;
        border-radius: 10px;
    }

    .search-product-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .search-item-thumb {
        width: 44px;
        height: 44px;
    }

    .search-item-title {
        font-size: 12.5px;
    }

    /* Hero Slides on Mobile Phones */
    .hero-slider-wrap {
        min-height: auto;
    }

    .hero-slide {
        padding: 20px 16px 52px;
        min-height: auto;
    }

    .slide-title {
        font-size: 20px;
        line-height: 1.25;
    }

    .slide-desc {
        font-size: 12px;
    }

    .price-val {
        font-size: 20px;
    }

    .btn-slide-primary,
    .btn-slide-outline {
        width: 100%;
        justify-content: center;
        padding: 9px 16px;
        font-size: 12px;
    }

    .slider-nav-bar {
        left: 14px;
        bottom: 10px;
    }

    .category-pills-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px 8px;
    }

    .flash-sale-strip {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 14px 16px;
    }

    .flash-sale-left {
        flex-direction: column;
        gap: 6px;
    }

    /* Mobile 2-Column Product Grid (App-style) */
    .products-grid,
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 30px;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-thumb {
        height: 155px;
    }

    .product-thumb img {
        max-height: 130px;
    }

    .product-details {
        padding: 10px;
    }

    .product-title {
        font-size: 12px;
        height: 32px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .current-price {
        font-size: 13.5px;
    }

    .original-price {
        font-size: 11px;
    }

    .btn-add-cart {
        padding: 6px 10px;
        font-size: 11px;
    }

    .perks-strip {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Forms & Checkouts on Mobile */
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .track-stepper-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 8px;
    }

    .track-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .shop-top-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 14px;
    }

    .shop-count-filter-wrap {
        justify-content: space-between;
        width: 100%;
    }

    /* Product Details Page on Mobile */
    .product-gallery-main {
        padding: 16px;
    }

    .product-gallery-main img {
        max-height: 280px;
    }

    .product-info-col h1 {
        font-size: 18px;
    }

    .detail-price {
        font-size: 22px;
    }

    .action-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .qty-selector-enhanced {
        width: 100%;
        justify-content: center;
    }

    .ajax-add-to-cart,
    #btn-buy-now-dynamic {
        flex: 1 1 100% !important;
        text-align: center;
        justify-content: center;
    }

    /* Modal Sizing */
    .modal-content {
        padding: 20px 16px;
        border-radius: 12px;
        max-width: 95vw;
    }
}

/* Small Screens (<= 400px) */
@media (max-width: 400px) {
    .products-grid,
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-thumb {
        height: 140px;
    }

    .product-thumb img {
        max-height: 115px;
    }

    .product-card .btn-add-cart {
        padding: 5px 6px;
        font-size: 10px;
    }
}

/* ==========================================================================
   ENHANCED PRODUCT DETAIL: ZOOM, DYNAMIC PRICE RECALCULATION & WISHLIST
   ========================================================================== */

/* Header Wishlist Badge */
.wishlist-count-badge {
    position: absolute;
    top: -6px;
    left: 14px;
    background: #222;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.header-action-btn:hover .wishlist-count-badge {
    background: var(--primary);
    transform: scale(1.1);
}

/* Product Gallery & Zoom */
.product-gallery-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-gallery-main {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    overflow: hidden;
    cursor: crosshair;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main img {
    max-height: 420px;
    width: 100%;
    object-fit: contain;
    transition: transform 0.15s ease-out, opacity 0.2s ease;
    transform-origin: center center;
    pointer-events: none;
    will-change: transform;
}

/* Floating Tools on Product Image */
.gallery-tools-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.img-tool-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.img-tool-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.08);
}

.img-tool-btn.btn-fav-toggle.active {
    color: #d10000;
}
.img-tool-btn.btn-fav-toggle.active:hover {
    background: #d10000;
    color: #ffffff;
    border-color: #d10000;
}

/* Hover to Zoom Hint Badge */
.product-zoom-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
    transition: opacity 0.25s ease;
}

/* Gallery Thumbnails Strip */
.gallery-thumbs-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px;
}

.gallery-thumb-item {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 4px;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumb-item:hover,
.gallery-thumb-item.active {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(209, 0, 0, 0.15);
}

.gallery-thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Gallery Trust Badges Strip */
.gallery-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.trust-item {
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    text-align: center;
}

.trust-item i {
    color: var(--primary);
    font-size: 13px;
}

/* Dispatch Urgency Banner */
.dispatch-urgency-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8f5;
    border: 1px dashed #f97316;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 18px;
}

/* Dynamic Live Subtotal Calculation Bar */
.dynamic-price-calculator-bar {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.calculator-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calculator-total-amount {
    font-size: 22px;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: -0.5px;
}

@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); color: #48bb78; }
    100% { transform: scale(1); }
}

.price-pulse-anim {
    animation: pricePulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Enhanced Quantity Selector */
.qty-selector-enhanced {
    display: flex;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    width: 130px;
}

.qty-selector-enhanced .qty-btn {
    background: #f1f5f9;
    border: none;
    width: 38px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.qty-selector-enhanced .qty-btn:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.qty-selector-enhanced .qty-input {
    width: 54px;
    border: none;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    color: #0f172a;
    outline: none;
    background: #ffffff;
}

/* Wishlist Action Button */
.btn-wishlist-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 11px 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-wishlist-action:hover {
    border-color: #d10000;
    color: #d10000;
    background: #fdf2f2;
}

.btn-wishlist-action.active {
    background: #fdf2f2;
    border-color: #d10000;
    color: #d10000;
}

/* Share Action Button */
.btn-share-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-share-action:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(5px);
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-image-wrapper {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-footer {
    color: #e2e8f0;
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
}

/* Card Wishlist Quick Heart Button (for Product Listings) */
.product-thumb .card-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color: #64748b;
    font-size: 13.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.product-thumb .card-fav-btn:hover {
    transform: scale(1.12);
    color: #d10000;
    background: #ffffff;
}

.product-thumb .card-fav-btn.active {
    color: #d10000;
    background: #ffffff;
}

/* ==========================================================================
   CUSTOMER ACCOUNT DROPDOWN MENU
   ========================================================================== */
.user-menu-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 230px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    z-index: 1000;
    display: none;
    animation: fadeInDown 0.2s ease-out;
}

.user-menu-dropdown-wrapper:hover .user-dropdown-menu,
.user-menu-dropdown-wrapper:focus-within .user-dropdown-menu {
    display: block;
}

.user-dropdown-header {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}

.user-dropdown-header strong {
    display: block;
    font-size: 13.5px;
    color: #1e293b;
    line-height: 1.3;
}

.user-dropdown-header small {
    color: #64748b;
    font-size: 11.5px;
    word-break: break-all;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.user-dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--primary);
}

.user-dropdown-menu a i {
    width: 16px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* ==========================================================================
   COMPARE BADGE & FLOATING DRAWER
   ========================================================================== */
.compare-count-badge {
    position: absolute;
    top: -6px;
    left: 14px;
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.btn-compare-toggle.active {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

.compare-floating-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    border-radius: 50px;
    padding: 10px 22px;
    z-index: 999;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    border: 1px solid #334155;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 95vw;
}

.compare-bar-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.compare-bar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #38bdf8;
}

.compare-bar-items {
    display: flex;
    align-items: center;
    gap: 8px;
}

.compare-bar-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff;
    border: 2px solid #38bdf8;
    padding: 2px;
}

.compare-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-compare-now {
    background: #0284c7;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.15s;
}

.btn-compare-now:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.btn-compare-clear {
    background: transparent;
    border: 1px solid #475569;
    color: #94a3b8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-compare-clear:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* ==========================================================================
   MOBILE STICKY PURCHASE BAR
   ========================================================================== */
.mobile-sticky-product-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-product-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        z-index: 998;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
        transform: translateY(100%);
        transition: transform 0.25s ease-out;
    }

    .mobile-sticky-product-bar.visible {
        transform: translateY(0);
    }

    .sticky-thumb img {
        width: 44px;
        height: 44px;
        object-fit: contain;
        border-radius: 6px;
        border: 1px solid #f1f5f9;
        background: #fff;
    }

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

    .sticky-title {
        font-size: 12.5px;
        font-weight: 700;
        color: #1e293b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sticky-price {
        font-size: 13.5px;
        font-weight: 800;
        color: var(--primary);
    }

    .sticky-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

/* ==========================================================================
   CUSTOMER PHOTO REVIEWS
   ========================================================================== */
.review-photos-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.review-photo-thumb {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-photo-thumb:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

