/* ========================================================
   PROJECT ANTIGRAVITY - TECHZO PREMIUM ACCESSORIES STORE
   White Luxury Cut-Out Theme & Responsive Stylesheet
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Rajdhani:wght@600;700;800&display=swap');

:root {
    --primary-color: #008b8b;
    --primary-hover: #007373;
    --primary-light: #e6f7f7;
    --primary-accent: #0ea5e9;
    --primary-glow: rgba(0, 139, 139, 0.28);
    --secondary-color: #0f172a;
    --dark-bg: #0b1120;
    --dark-surface: #1e293b;
    --dark-nav: #0f172a;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-hover: #008b8b;
    --card-bg: #ffffff;
    --body-bg: #f8fafc;
    --sale-red: #ef4444;
    --sale-gradient: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    --deal-gradient: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
    --teal-gradient: linear-gradient(135deg, #008b8b 0%, #0ea5e9 100%);
    --hero-white-grad: linear-gradient(135deg, #ffffff 0%, #f8fafc 60%, #e6f7f7 100%);
    --success-green: #10b981;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 4px 18px rgba(0, 139, 139, 0.35);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================================
   KEYFRAME ANIMATIONS
   ======================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-9px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 139, 139, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 139, 139, 0);
    }
}

@keyframes pulseRed {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

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

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================
   1. TOP ANNOUNCEMENT TICKER & BAR
   ======================================================== */
.announcement-ticker {
    background: linear-gradient(90deg, #0f172a, #008b8b, #0f172a);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ticker-wrap {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeScroll 24s linear infinite;
}

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

.top-bar {
    background-color: #0f172a;
    color: #cbd5e1;
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 1px solid #1e293b;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-item svg {
    width: 14px;
    height: 14px;
    color: var(--primary-accent);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.22s ease-in-out;
}

.social-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-links a.social-link-fb:hover {
    background: #1877f2 !important;
    border-color: #1877f2;
}

.social-links a.social-link-ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
    border-color: #d6249f;
}

.social-links a.social-link-tt:hover {
    background: #000000 !important;
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.social-links a.social-link-yt:hover {
    background: #ef4444 !important;
    border-color: #ef4444;
}

.social-links a.social-link-wa:hover {
    background: #25d366 !important;
    border-color: #25d366;
}

.social-links a.social-link-tw:hover {
    background: #000000 !important;
    border-color: #64748b;
}

.social-links svg {
    width: 13.5px;
    height: 13.5px;
}

.footer-social-links a {
    width: 32px;
    height: 32px;
    background: #0f172a;
    border-color: #334155;
}

.footer-social-links svg {
    width: 16px;
    height: 16px;
}

.drawer-social-links a {
    width: 32px;
    height: 32px;
    background: #1e293b;
    border-color: #334155;
}

.drawer-social-links svg {
    width: 16px;
    height: 16px;
}

/* ========================================================
   2. MAIN HEADER (WHITE LUXURY)
   ======================================================== */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
}

.site-logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    border: 2px solid #e2e8f0;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-container:hover .site-logo-img {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(0, 139, 139, 0.35);
    border-color: var(--primary-color);
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: #ffffff;
    transition: transform 0.2s ease;
}

.footer-logo-img:hover {
    transform: scale(1.06);
}

.drawer-logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: #ffffff;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* High-Tech Attractive Brand Title Badge with Borders */
.brand-title {
    font-family: 'Orbitron', 'Rajdhani', -apple-system, sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 40%, #e0f2fe 100%);
    border: 1.5px solid rgba(0, 139, 139, 0.32);
    border-left: 3.5px solid var(--primary-color);
    border-radius: 7px;
    padding: 3.5px 10px 3.5px 10px;
    box-shadow: 0 2px 8px rgba(0, 139, 139, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    position: relative;
    transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brand-title-text {
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 2.2px;
    background: linear-gradient(135deg, #091e3a 15%, #008b8b 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(0, 139, 139, 0.1);
}

.power-btn-o {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-left: 2px;
    line-height: 1;
    vertical-align: middle;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.power-btn-o svg {
    width: 21px;
    height: 21px;
    stroke: var(--primary-color);
    stroke-width: 3.2px;
    filter: drop-shadow(0 0 5px rgba(0, 139, 139, 0.5));
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.logo-container:hover .brand-title {
    border-color: var(--primary-color);
    box-shadow: 0 0 14px rgba(0, 139, 139, 0.3), 0 4px 10px rgba(0, 0, 0, 0.06);
    transform: translateY(-1.5px);
}

.logo-container:hover .power-btn-o svg {
    transform: scale(1.15) rotate(6deg);
    filter: drop-shadow(0 0 10px rgba(0, 139, 139, 0.95));
}

/* Footer & Drawer Dark Badges */
.footer-logo-link .brand-title,
.mobile-drawer-brand .brand-title {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-left: 3.5px solid #38bdf8;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer-logo-link .brand-title-text,
.mobile-drawer-brand .brand-title-text {
    background: linear-gradient(135deg, #ffffff 25%, #38bdf8 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.footer-logo-link:hover .brand-title,
.mobile-drawer-brand:hover .brand-title {
    border-color: #38bdf8;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
    transform: translateY(-1.5px);
}

.footer-logo-link .power-btn-o svg,
.mobile-drawer-brand .power-btn-o svg {
    stroke: #38bdf8;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75));
}

.footer-logo-link:hover .power-btn-o svg,
.mobile-drawer-brand:hover .power-btn-o svg {
    transform: scale(1.15) rotate(6deg);
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 1));
}

.brand-tagline {
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 4px;
    padding-left: 2px;
}

/* Header Search Bar */
.search-form {
    flex: 1;
    max-width: 560px;
    position: relative;
}

.search-input-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    background: #ffffff;
    overflow: hidden;
    transition: var(--transition);
    padding: 2px 5px;
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.12);
}

.search-input {
    flex: 1;
    padding: 8px 18px;
    font-size: 13.5px;
    border: none;
    outline: none;
    color: var(--text-main);
}

.search-btn {
    background: var(--teal-gradient);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-sm);
}

.search-btn svg {
    width: 17px;
    height: 17px;
}

/* Live Search Suggestions Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 380px;
    overflow-y: auto;
    display: none;
    animation: fadeIn 0.2s ease-in-out;
}

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

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: var(--transition);
}

.search-suggestion-item:hover {
    background: var(--primary-light);
}

.search-sugg-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 6px;
    padding: 2px;
}

.search-sugg-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

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

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.action-btn:hover {
    color: var(--primary-color);
    background: #f1f5f9;
}

.action-btn svg {
    width: 22px;
    height: 22px;
    color: #475569;
    transition: var(--transition);
}

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

.badge-count {
    position: absolute;
    top: -3px;
    left: 20px;
    background: var(--sale-red);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.action-text .subtext {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    padding: 6px;
    color: #0f172a;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* ========================================================
   3. NAVIGATION MENU BAR
   ======================================================== */
.nav-bar {
    background-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 100%;
    gap: 8px;
}

.categories-btn-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.all-categories-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0 14px;
    height: 100%;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.all-categories-btn svg {
    width: 15px;
    height: 15px;
}

.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
    animation: fadeIn 0.18s ease-in-out;
}

.categories-menu.active {
    display: block;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #f8fafc;
    transition: var(--transition);
}

.cat-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    padding-left: 20px;
}

.cat-item svg {
    width: 16px;
    height: 16px;
    color: #64748b;
    transition: var(--transition);
}

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

/* Horizontal Nav Links: Fixed Single Line, Compact Height, No Scrollbar */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link-item {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-link-item a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #cbd5e1;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.nav-link-item:hover a,
.nav-link-item.active a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-bottom-color: var(--primary-color);
}

.nav-link-item.badge-link a {
    color: #facc15;
    font-weight: 800;
}

.nav-link-item.badge-link:hover a {
    color: #fef08a;
}

.nav-link-item.nav-phone-badge a {
    color: #38bdf8;
    font-weight: 800;
}

.nav-link-item.nav-phone-badge:hover a {
    color: #7dd3fc;
}

.nav-phone-direct {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #38bdf8;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    background: rgba(56, 189, 248, 0.12);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-phone-direct svg {
    width: 13px;
    height: 13px;
}

/* ========================================================
   4. WHITE CUT-OUT HERO SHOWCASE CAROUSEL
   ======================================================== */
.hero-slider-section {
    padding: 22px 0 10px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: #ffffff;
    border: 1px solid var(--border-color);
}

.carousel-slides-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    position: relative;
    background: var(--hero-white-grad);
    padding: 42px 40px;
    color: #0f172a;
}

.carousel-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 36px;
}

.carousel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 139, 139, 0.1);
    animation: fadeIn 0.6s ease-out;
}

.carousel-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #0f172a;
    margin-bottom: 8px;
    animation: fadeInUp 0.7s ease-out;
}

.carousel-subtitle {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    animation: fadeInUp 0.8s ease-out;
}

.carousel-tagline {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 520px;
    animation: fadeInUp 0.9s ease-out;
}

.carousel-features-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.carousel-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
}

.carousel-feat-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.carousel-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--teal-gradient);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.carousel-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 22px rgba(0, 139, 139, 0.45);
}

.carousel-cta-btn svg {
    width: 18px;
    height: 18px;
}

.carousel-media-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel-img {
    max-height: 320px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 20px rgba(15, 23, 42, 0.12));
    animation: floatSlow 6s ease-in-out infinite;
}

/* Slider Controls */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #0f172a;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.carousel-nav-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev { left: 16px; }
.carousel-nav-btn.next { right: 16px; }

.carousel-nav-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    width: 28px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Value Badges Strip */
.value-badges-strip {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 14px;
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
}

.value-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-badge-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-badge-icon svg {
    width: 20px;
    height: 20px;
}

.value-badge-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.value-badge-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* ========================================================
   5. DEVICE BRAND SELECTION (LOGOS & NAMES ONLY)
   ======================================================== */
.brands-section {
    padding: 30px 0 10px;
}

.section-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}

.section-title-wrap {
    display: flex;
    flex-direction: column;
}

.section-subtitle-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.section-title-main {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-main span {
    color: var(--primary-color);
}

.brand-pills-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scrollbar-width: thin;
}

.brand-pills-scroll::-webkit-scrollbar {
    height: 5px;
}

.brand-pills-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Vibrant Brand Card with Logo, Name & Model Badges */
.brand-card-item {
    min-width: 150px;
    flex: 0 0 auto;
    background: var(--brand-bg, #ffffff);
    border: 1.5px solid var(--border-color);
    border-top: 3px solid var(--brand-accent, var(--primary-color));
    border-radius: var(--radius-md);
    padding: 12px 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.brand-top-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-accent, var(--primary-color));
}

.brand-card-item:hover {
    border-color: var(--brand-border, var(--primary-color));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.brand-card-item.active {
    border-color: var(--brand-border, var(--primary-color));
    background: #ffffff;
    box-shadow: 0 0 0 2.5px var(--brand-accent, var(--primary-color)), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brand-img-wrap {
    width: 100px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-img-wrap img {
    max-height: 30px;
    max-width: 90px;
    object-fit: contain;
}

.brand-card-name {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.brand-badge-pill {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.05);
    white-space: nowrap;
    letter-spacing: -0.2px;
}

/* Active filter alert banner */
.active-filter-banner {
    display: none;
    background: #e6f7f7;
    border: 1px solid var(--primary-color);
    color: #007373;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.active-filter-banner.active {
    display: flex;
}

.btn-clear-filter {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 700;
}

/* ========================================================
   6. SPECIAL OFFERS & FLASH DEALS SECTION (WHITE LUXURY)
   ======================================================== */
.offers-section-wrapper {
    background: #ffffff;
    padding: 36px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 24px 0;
}

.deals-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.deals-title-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.deal-flame-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fee2e2;
    color: var(--sale-red);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseRed 2s infinite;
}

.deal-flame-icon svg {
    width: 20px;
    height: 20px;
}

.deals-countdown-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
}

.deals-countdown-box .countdown-unit {
    background: var(--sale-red);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.deal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
    transition: var(--transition);
    overflow: hidden;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #f43f5e;
}

.deal-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--deal-gradient);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.35);
}

.deal-thumb-box {
    width: 120px;
    height: 120px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.deal-thumb-box img {
    max-height: 100px;
    object-fit: contain;
    transition: var(--transition);
}

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

.deal-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.deal-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.deal-subtitle {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

.deal-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.deal-sale-price {
    font-size: 17px;
    font-weight: 900;
    color: var(--sale-red);
}

.deal-reg-price {
    font-size: 12.5px;
    color: #94a3b8;
    text-decoration: line-through;
}

.deal-btn-claim {
    margin-top: 8px;
    background: var(--secondary-color);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.deal-btn-claim:hover {
    background: var(--primary-color);
}

/* ========================================================
   7. CATEGORY QUICK-NAV GRID
   ======================================================== */
.category-quick-section {
    padding: 24px 0 10px;
}

.category-slider-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    scrollbar-width: thin;
}

.category-slider-wrapper::-webkit-scrollbar {
    height: 4px;
}

.category-slider-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.category-card {
    min-width: 120px;
    flex: 0 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.category-card.active {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.category-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.category-card-icon svg {
    width: 22px;
    height: 22px;
}

.category-card-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

/* ========================================================
   8. PRODUCT SHOWCASE GRIDS & CARDS
   ======================================================== */
.section-wrapper {
    padding: 32px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.section-title {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

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

.section-link:hover {
    color: var(--primary-hover);
    gap: 8px;
}

.section-link svg {
    width: 14px;
    height: 14px;
}

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

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

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

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--sale-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transform: translateX(8px);
    transition: var(--transition);
}

.product-card:hover .card-actions {
    opacity: 1;
    transform: translateX(0);
}

.card-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.card-action-btn svg {
    width: 16px;
    height: 16px;
}

.product-img-box {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    cursor: pointer;
    overflow: hidden;
}

.product-thumb {
    max-height: 150px;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-brand-tag {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.product-category {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 8px;
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    transition: var(--transition);
}

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

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

.current-price {
    font-size: 16px;
    font-weight: 900;
    color: var(--text-main);
}

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

.btn-add-cart {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 139, 139, 0.3);
}

.btn-add-cart svg {
    width: 16px;
    height: 16px;
}

/* ========================================================
   9. STRICTLY CASH ON DELIVERY CHECKOUT
   ======================================================== */
.checkout-section {
    display: none;
    padding: 30px 0 60px;
    animation: fadeIn 0.3s ease-in-out;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
    align-items: start;
}

.checkout-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.checkout-heading {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
}

.form-label span {
    color: var(--sale-red);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    outline: none;
    transition: var(--transition);
    background: #ffffff;
}

/* Payment Method Selector */
.payment-options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.payment-method-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.payment-method-card:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.payment-method-card.active {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 0 0 1px #10b981;
}

.payment-method-card input[type="radio"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: #10b981;
    cursor: pointer;
}

.payment-method-body {
    flex: 1;
}

/* Account Cards Grid */
.account-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.account-card {
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.account-card.full-bank-card {
    grid-column: 1 / -1;
}

.account-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

.jazzcash-badge {
    background: #fee2e2;
    color: #b91c1c;
}

.easypaisa-badge {
    background: #dcfce7;
    color: #15803d;
}

.raast-badge {
    background: #e0e7ff;
    color: #4338ca;
}

.bank-badge {
    background: #f1f5f9;
    color: #334155;
}

.acc-num {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
    font-family: monospace;
}

.acc-title {
    font-size: 11.5px;
    color: #475569;
}

.btn-copy {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-copy:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.cod-badge-box {
    display: flex;
    gap: 14px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    padding: 16px;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.cod-badge-box svg {
    width: 28px;
    height: 28px;
    color: #16a34a;
    flex-shrink: 0;
}

.cod-badge-info h4 {
    font-size: 14px;
    font-weight: 800;
    color: #166534;
}

.cod-badge-info p {
    font-size: 12px;
    color: #15803d;
    margin-top: 2px;
}

.btn-confirm-order {
    width: 100%;
    background: var(--teal-gradient);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    padding: 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.btn-confirm-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 139, 139, 0.4);
}

.summary-items-list {
    max-height: 280px;
    overflow-y: auto;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-thumb {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 4px;
}

.summary-item-name {
    font-size: 12.5px;
    font-weight: 700;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-item-qty {
    font-size: 11px;
    color: var(--text-muted);
}

.summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: #475569;
}

.summary-row.total-row {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    border-top: 2px dashed #cbd5e1;
    padding-top: 10px;
    margin-top: 4px;
}

/* ========================================================
   10. SHOPPING CART SLIDEOUT DRAWER
   ======================================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
    animation: fadeIn 0.25s ease;
}

.cart-overlay.active {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 90vw;
    background: #ffffff;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: var(--transition);
}

.cart-drawer.active {
    transform: translateX(0);
}

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

.cart-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.cart-close-btn {
    background: transparent;
    font-size: 24px;
    color: #64748b;
    line-height: 1;
}

.free-shipping-meter {
    background: #f8fafc;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-color);
}

.free-shipping-text {
    font-size: 11.5px;
    color: #334155;
    margin-bottom: 6px;
}

.free-shipping-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.free-shipping-fill {
    height: 100%;
    background: var(--teal-gradient);
    width: 0%;
    transition: width 0.4s ease;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
}

.cart-item,
.cart-item-row {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

.cart-item-img-box {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.cart-item-img-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 139, 139, 0.15);
    transform: scale(1.04);
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.cart-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: color 0.18s ease;
}

.cart-item-title:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.cart-item-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 3px 0 6px;
}

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

.cart-item-reg-price {
    font-size: 11.5px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.cart-item-discount-tag {
    font-size: 10px;
    font-weight: 800;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.2px;
}

.cart-item-unit-price {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.cart-item-actions,
.cart-item-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-qty-controls,
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    background: #f8fafc;
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 800;
    color: #334155;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.qty-display,
.qty-val {
    padding: 0 8px;
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove,
.btn-remove-item {
    background: transparent;
    color: #94a3b8;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-remove svg {
    width: 14px;
    height: 14px;
}

.cart-item-remove:hover,
.btn-remove-item:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Product Card Pulse Highlight (when clicked from cart drawer) */
@keyframes pulseHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 139, 139, 0.7);
        border-color: var(--primary-color);
        transform: scale(1.02);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 139, 139, 0);
        border-color: var(--primary-color);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 139, 139, 0);
        transform: scale(1);
    }
}

.product-card.pulse-highlight {
    animation: pulseHighlight 1.2s ease-in-out 2;
    z-index: 10;
    border-color: var(--primary-color) !important;
}

.empty-cart-message {
    text-align: center;
    padding: 48px 20px;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-cart-message svg {
    width: 52px;
    height: 52px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.empty-cart-message h4 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.cart-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 14px;
}

.btn-checkout {
    width: 100%;
    background: var(--teal-gradient);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================================
   11. QUICK VIEW MODAL
   ======================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.25s ease-out;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #f1f5f9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.quickview-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px;
}

.quickview-img-box {
    background: #f8fafc;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.quickview-img {
    max-height: 260px;
    object-fit: contain;
}

.qv-category {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.qv-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 10px;
    line-height: 1.3;
}

.qv-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.qv-sale-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-main);
}

.qv-reg-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.qv-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 12px;
}

.qv-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 14px;
}

.qv-specs-table {
    width: 100%;
    font-size: 12px;
    margin-bottom: 18px;
    border-collapse: collapse;
}

.qv-specs-table td {
    padding: 5px 8px;
    border-bottom: 1px solid #f1f5f9;
}

.qv-specs-table td:first-child {
    font-weight: 700;
    color: #64748b;
    width: 40%;
}

.qv-btn-add {
    width: 100%;
    background: var(--teal-gradient);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ========================================================
   12. FLOATING WHATSAPP & MOBILE BOTTOM NAV
   ======================================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 990;
    transition: var(--transition);
    animation: pulseGlow 2.5s infinite;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn svg {
    width: 30px;
    height: 30px;
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 950;
    padding: 6px 0 8px;
}

.mobile-bottom-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    position: relative;
}

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

.mobile-bottom-item svg {
    width: 20px;
    height: 20px;
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 998;
    display: none;
}

.mobile-drawer-overlay.active {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    background: #ffffff;
    z-index: 999;
    transform: translateX(-100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    padding: 16px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-drawer-links {
    list-style: none;
    padding: 12px 0;
}

.mobile-drawer-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1px solid #f1f5f9;
}

.mobile-drawer-links li a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.mobile-drawer-footer {
    margin-top: auto;
    padding: 16px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-contact-title {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.drawer-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.drawer-contact-btn.phone {
    background: #e6f7f7;
    color: #007373;
    border: 1px solid #008b8b;
}

.drawer-contact-btn.whatsapp {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
}

.drawer-contact-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.drawer-store-location {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

/* ========================================================
   13. FOOTER
   ======================================================== */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 48px 0 20px;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a:hover {
    color: var(--primary-accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #0f172a;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }
.toast.info { border-left-color: #38bdf8; }

/* ========================================================
   14. RESPONSIVE MEDIA QUERIES & MOBILE DESIGN OVERHAUL
   ======================================================== */

/* Section Anchor Offsets for Sticky Header */
section[id],
footer[id] {
    scroll-margin-top: 130px;
}

/* Touch Device Optimizations */
@media (hover: none), (pointer: coarse) {
    .product-card .card-actions {
        opacity: 1 !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 6px !important;
        top: 8px !important;
        right: 8px !important;
    }
    .card-action-btn {
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    }
    .btn-add-cart:active,
    .carousel-cta-btn:active,
    .deal-btn-claim:active,
    .btn-confirm-order:active,
    .btn-checkout:active,
    .mobile-bottom-item:active,
    .brand-card-item:active,
    .category-card:active {
        transform: scale(0.96);
    }
}

/* ----------------------------------------------------
   TABLET RESPONSIVE STYLES (<= 1024px)
   ---------------------------------------------------- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .carousel-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .carousel-title {
        font-size: 28px;
    }
    .carousel-subtitle {
        font-size: 18px;
    }
    .carousel-tagline {
        margin: 0 auto 20px;
    }
    .carousel-features-row {
        max-width: 400px;
        margin: 0 auto 24px;
    }
    .carousel-img {
        max-height: 240px;
    }
    .value-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ----------------------------------------------------
   MOBILE MAIN RESPONSIVE STYLES (<= 768px)
   ---------------------------------------------------- */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
        -webkit-tap-highlight-color: transparent;
    }

    .container {
        padding: 0 14px;
    }

    section[id],
    footer[id] {
        scroll-margin-top: 110px;
    }

    /* 1. TOP ANNOUNCEMENT & BARS */
    .top-bar {
        display: none;
    }

    .announcement-ticker {
        font-size: 11px;
        padding: 5px 0;
    }

    .ticker-content {
        animation: marqueeScroll 20s linear infinite;
    }

    /* 2. MOBILE APP-STYLE HEADER */
    .main-header {
        padding: 8px 0 10px;
    }

    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #0f172a;
    }

    .mobile-menu-toggle svg {
        width: 22px;
        height: 22px;
    }

    .logo-container {
        order: 2;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-right: auto;
        margin-left: 6px;
        text-decoration: none;
        flex-shrink: 0;
    }

    .site-logo-img {
        height: 38px;
        width: 38px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        border: 1.5px solid #e2e8f0;
        background: #ffffff;
    }

    .brand-title {
        font-size: 19px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0.3px;
    }

    .brand-tagline {
        font-size: 7.5px;
        letter-spacing: 1px;
    }

    .drawer-logo-img {
        height: 42px;
        width: 42px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: #ffffff;
    }

    .mobile-drawer-brand {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    .footer-logo-link {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        margin-bottom: 12px;
    }

    .footer-logo-img {
        height: 48px;
        width: 48px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        border: 2px solid rgba(255, 255, 255, 0.25);
        background: #ffffff;
    }

    .header-actions {
        order: 3;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* Hide redundant desktop-only deals button in mobile header */
    .header-actions a[href="#offers-section"] {
        display: none;
    }

    .header-actions .action-btn {
        padding: 6px 8px;
        border-radius: 8px;
        background: #f8fafc;
        border: 1px solid #f1f5f9;
    }

    .header-actions .action-btn .action-text {
        display: none;
    }

    .header-actions .action-btn svg {
        width: 22px;
        height: 22px;
        color: #0f172a;
    }

    .badge-count {
        top: -3px;
        left: 14px;
        font-size: 9.5px;
        font-weight: 800;
        padding: 1px 5px;
        min-width: 16px;
        height: 16px;
        line-height: 14px;
        border: 1.5px solid #ffffff;
    }

    /* Mobile 2nd Row Full-Width Search Bar */
    .search-form {
        order: 4;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 2px;
    }

    .search-input-group {
        padding: 2px 4px;
        border-width: 1.5px;
        border-color: #cbd5e1;
        background: #f8fafc;
    }

    .search-input-group:focus-within {
        background: #ffffff;
        border-color: var(--primary-color);
    }

    .search-input {
        padding: 7px 12px;
        font-size: 13px;
    }

    .search-btn {
        padding: 6px 14px;
        border-radius: var(--radius-full);
    }

    .search-btn svg {
        width: 15px;
        height: 15px;
    }

    .search-dropdown {
        top: calc(100% + 4px);
        max-height: 280px;
    }

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

    .search-sugg-img {
        width: 38px;
        height: 38px;
    }

    .search-sugg-title {
        font-size: 12px;
        line-height: 1.3;
    }

    .search-sugg-price {
        font-size: 12px;
    }

    /* 3. DESKTOP NAV BAR HIDDEN ON MOBILE */
    .nav-bar {
        display: none;
    }

    /* 4. HERO CAROUSEL (FIXED & ROCK-SOLID ON MOBILE) */
    .hero-slider-section {
        padding: 8px 0 4px;
    }

    .carousel-container {
        border-radius: 14px;
        position: relative;
        overflow: hidden;
        touch-action: pan-y;
        background: #ffffff;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
        height: 230px; /* Rock-solid fixed height on mobile: completely eliminates bouncing and height jumps! */
    }

    .carousel-slides-wrapper {
        display: flex;
        height: 100%;
        width: 100%;
        align-items: stretch;
        transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
        will-change: transform;
    }

    .carousel-slide {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: 100%;
        padding: 12px 14px 20px;
        display: flex;
        align-items: center;
        background: var(--hero-white-grad);
        position: relative;
        overflow: hidden;
    }

    .carousel-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
        gap: 8px;
        width: 100%;
        height: 100%;
        text-align: left;
    }

    .carousel-text-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        min-width: 0;
        z-index: 2;
    }

    .carousel-badge {
        font-size: 8.5px;
        font-weight: 800;
        padding: 2.5px 7px;
        margin-bottom: 5px;
        letter-spacing: 0.4px;
        border-radius: 9999px;
        background: #ffffff;
        border: 1.5px solid var(--primary-color);
        color: var(--primary-color);
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        box-shadow: 0 1px 4px rgba(0, 139, 139, 0.1);
    }

    .carousel-title {
        font-size: 15px;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 3px;
        letter-spacing: -0.2px;
        color: #0f172a;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .carousel-subtitle {
        font-size: 11px;
        font-weight: 800;
        color: var(--primary-color);
        margin-bottom: 8px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Redundant long tagline and duplicate feature pills hidden on mobile for clean scannability */
    .carousel-tagline {
        display: none;
    }

    .carousel-features-row {
        display: none;
    }

    .carousel-cta-btn {
        padding: 6px 13px;
        font-size: 11px;
        font-weight: 800;
        gap: 4px;
        border-radius: 9999px;
        background: var(--teal-gradient);
        color: #ffffff;
        box-shadow: 0 3px 10px rgba(0, 139, 139, 0.25);
        margin-top: 2px;
        display: inline-flex;
        align-items: center;
    }

    .carousel-cta-btn svg {
        width: 12px;
        height: 12px;
    }

    .carousel-media-box {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-width: 0;
        position: relative;
    }

    .carousel-img {
        max-height: 155px;
        max-width: 100%;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.14));
        margin: 0;
        animation: none; /* Disable jittery animation on mobile */
    }

    /* Sleek touch-friendly mobile navigation arrows */
    .carousel-nav-btn {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(203, 213, 225, 0.7);
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        z-index: 10;
        align-items: center;
        justify-content: center;
        color: #0f172a;
    }

    .carousel-nav-btn.prev { left: 4px; }
    .carousel-nav-btn.next { right: 4px; }

    .carousel-nav-btn svg {
        width: 13px;
        height: 13px;
    }

    .carousel-dots {
        bottom: 5px;
        gap: 5px;
    }

    .carousel-dot {
        width: 6px;
        height: 6px;
        border-radius: 9999px;
        background: #cbd5e1;
    }

    .carousel-dot.active {
        width: 16px;
        background: var(--primary-color);
        box-shadow: 0 0 6px var(--primary-color);
    }

    /* 5. VALUE BADGES STRIP (2x2 Compact Grid) */
    .value-badges-strip {
        margin-top: 10px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .value-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 8px;
    }

    .value-badge-box {
        gap: 8px;
    }

    .value-badge-icon {
        width: 32px;
        height: 32px;
    }

    .value-badge-icon svg {
        width: 16px;
        height: 16px;
    }

    .value-badge-title {
        font-size: 11.5px;
        line-height: 1.2;
    }

    .value-badge-desc {
        font-size: 10px;
    }

    /* 6. SHOP BY DEVICE BRAND */
    .brands-section {
        padding: 18px 0 6px;
    }

    .section-header-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 10px;
    }

    .section-title-main {
        font-size: 17px;
    }

    .section-subtitle-tag {
        font-size: 10px;
    }

    .brand-pills-scroll {
        gap: 8px;
        padding: 2px 2px 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .brand-card-item {
        min-width: 96px;
        max-width: 102px;
        padding: 8px 6px;
        scroll-snap-align: start;
        border-radius: 10px;
        gap: 4px;
    }

    .brand-img-wrap {
        width: 65px;
        height: 26px;
    }

    .brand-img-wrap img {
        max-height: 22px;
        max-width: 60px;
    }

    .brand-card-name {
        font-size: 10.5px;
        font-weight: 700;
        white-space: nowrap;
    }

    /* 7. SPECIAL OFFERS & FLASH DEALS */
    .offers-section-wrapper {
        padding: 20px 0;
        margin: 16px 0;
    }

    .deals-header-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;
    }

    .deals-title-left {
        gap: 8px;
    }

    .deals-title-left h2 {
        font-size: 17px !important;
    }

    .deal-flame-icon {
        width: 30px;
        height: 30px;
    }

    .deal-flame-icon svg {
        width: 17px;
        height: 17px;
    }

    .deals-countdown-box {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 6px 12px;
    }

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

    .deal-card {
        grid-template-columns: 92px 1fr;
        padding: 12px;
        gap: 10px;
        border-radius: 12px;
    }

    .deal-thumb-box {
        width: 92px;
        height: 92px;
        padding: 6px;
    }

    .deal-thumb-box img {
        max-height: 80px;
    }

    .deal-ribbon {
        font-size: 9px;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
    }

    .deal-title {
        font-size: 13px;
        line-height: 1.3;
    }

    .deal-subtitle {
        font-size: 11px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .deal-sale-price {
        font-size: 14.5px;
    }

    .deal-reg-price {
        font-size: 11px;
    }

    .deal-btn-claim {
        font-size: 11px;
        padding: 5px 12px;
        margin-top: 4px;
        align-self: flex-start;
    }

    /* 8. POPULAR CATEGORIES SLIDER */
    .category-quick-section {
        padding: 14px 0 6px;
    }

    .category-slider-wrapper {
        gap: 8px;
        padding: 2px 2px 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .category-card {
        min-width: 78px;
        max-width: 82px;
        padding: 8px 4px;
        scroll-snap-align: start;
        border-radius: 10px;
        gap: 4px;
    }

    .category-card-icon {
        width: 36px;
        height: 36px;
    }

    .category-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .category-card-name {
        font-size: 10px;
        line-height: 1.2;
    }

    /* 9. PRODUCT GRIDS & CARDS */
    .section-wrapper {
        padding: 20px 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 12px;
        border-bottom: 1.5px solid #e2e8f0;
        padding-bottom: 8px;
    }

    .section-title {
        font-size: 15.5px;
    }

    .section-title::after {
        bottom: -9px;
        width: 40px;
    }

    .section-link {
        font-size: 11.5px;
        align-self: flex-start;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        padding: 10px;
        border-radius: 12px;
    }

    .discount-badge {
        top: 6px;
        left: 6px;
        font-size: 9px;
        padding: 2px 5px;
        border-radius: 4px;
        z-index: 3;
    }

    .product-card .card-actions {
        opacity: 1 !important;
        transform: none !important;
        top: 6px;
        right: 6px;
        flex-direction: row;
        gap: 4px;
        z-index: 3;
    }

    .card-action-btn {
        width: 28px;
        height: 28px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid #e2e8f0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    }

    .card-action-btn svg {
        width: 14px;
        height: 14px;
    }

    .product-img-box {
        height: 120px;
        border-radius: 8px;
        margin-bottom: 8px;
        padding: 4px;
    }

    .product-thumb {
        max-height: 95px;
    }

    .product-brand-tag {
        font-size: 9px;
        margin-bottom: 1px;
    }

    .product-category {
        font-size: 10px;
        margin-bottom: 2px;
    }

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

    .product-price-row {
        gap: 4px;
        margin-bottom: 8px;
    }

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

    .regular-price {
        font-size: 10.5px;
    }

    .btn-add-cart {
        padding: 8px 6px;
        font-size: 11.5px;
        border-radius: 6px;
        gap: 4px;
    }

    .btn-add-cart svg {
        width: 14px;
        height: 14px;
    }

    /* Active filter banner */
    .active-filter-banner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 8px 12px;
        font-size: 12px;
    }

    /* 10. CHECKOUT SECTION (1-Column Layout) */
    .checkout-section {
        padding: 14px 0 40px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .checkout-card {
        padding: 16px;
        border-radius: 12px;
    }

    .checkout-heading {
        font-size: 15.5px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-control {
        font-size: 15px;
        padding: 10px 12px;
        border-radius: 8px;
    }

    .cod-badge-box {
        padding: 12px;
        gap: 10px;
        flex-direction: column;
        margin: 14px 0;
    }

    .btn-confirm-order {
        padding: 13px;
        font-size: 14px;
        border-radius: 8px;
    }

    /* 11. CART SLIDEOUT DRAWER */
    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
    }

    .cart-header {
        padding: 14px 16px;
    }

    .cart-items-container {
        padding: 12px 16px;
    }

    .cart-footer {
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    }

    /* 12. QUICK VIEW MODAL */
    .modal-overlay {
        padding: 10px;
    }

    .modal-card {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 16px;
    }

    .quickview-body {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
    }

    .quickview-img-box {
        height: 180px;
        padding: 10px;
    }

    .quickview-img {
        max-height: 150px;
    }

    .qv-title {
        font-size: 16px;
    }

    .qv-sale-price {
        font-size: 18px;
    }

    /* 13. MOBILE BOTTOM NAVIGATION BAR */
    .mobile-bottom-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        z-index: 950;
        padding: 5px 0 max(6px, env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        text-align: center;
    }

    .mobile-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        color: #64748b;
        font-size: 9.5px;
        font-weight: 700;
        position: relative;
        padding: 2px 0;
    }

    .mobile-bottom-item svg {
        width: 20px;
        height: 20px;
    }

    .mobile-bottom-item .badge-count {
        top: -3px;
        right: calc(50% - 16px);
        left: auto;
        font-size: 9px;
        min-width: 15px;
        height: 15px;
        line-height: 13px;
    }

    /* 14. FLOATING WHATSAPP BUTTON (Above bottom bar) */
    .floating-whatsapp-btn {
        bottom: calc(68px + env(safe-area-inset-bottom, 0px));
        right: 14px;
        width: 46px;
        height: 46px;
        z-index: 940;
    }

    .floating-whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }

    /* 15. STORE FOOTER */
    .main-footer {
        padding: 32px 0 calc(75px + env(safe-area-inset-bottom, 0px));
        margin-top: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
}

/* ----------------------------------------------------
   EXTRA COMPACT MOBILE STYLES (<= 480px)
   ---------------------------------------------------- */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .brand-title {
        font-size: 19px;
    }

    .search-input {
        padding: 6px 10px;
        font-size: 12.5px;
    }

    .search-btn {
        padding: 6px 12px;
    }

    .value-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .value-badge-title {
        font-size: 11px;
    }

    .value-badge-desc {
        font-size: 9.5px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-card {
        padding: 8px;
    }

    .product-img-box {
        height: 110px;
    }

    .product-thumb {
        max-height: 85px;
    }

    .product-title {
        font-size: 11.5px;
        height: 30px;
    }

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

    .btn-add-cart {
        font-size: 11px;
        padding: 7px 4px;
    }
}

/* ----------------------------------------------------
   SMALLEST MOBILE SCREENS (<= 360px - e.g. iPhone SE)
   ---------------------------------------------------- */
@media (max-width: 360px) {
    .site-logo-img {
        height: 32px;
        width: 32px;
    }

    .brand-title {
        font-size: 16px;
    }

    .brand-tagline {
        font-size: 6.8px;
        letter-spacing: 0.8px;
    }

    .mobile-menu-toggle {
        width: 34px;
        height: 34px;
    }

    .products-grid {
        gap: 6px;
    }

    .product-card {
        padding: 7px;
    }

    .product-img-box {
        height: 100px;
    }

    .product-thumb {
        max-height: 80px;
    }

    .product-title {
        font-size: 11px;
        height: 28px;
    }

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

    .regular-price {
        font-size: 9.5px;
    }

    .btn-add-cart {
        font-size: 10.5px;
        padding: 6px 2px;
    }

    .deal-card {
        grid-template-columns: 80px 1fr;
        padding: 10px;
        gap: 8px;
    }

    .deal-thumb-box {
        width: 80px;
        height: 80px;
    }

    .carousel-container {
        height: 210px;
    }

    .carousel-title {
        font-size: 13.5px;
    }

    .carousel-img {
        max-height: 130px;
    }
}

/* ========================================================
   16. CUSTOMER CARE & POLICIES MODAL
   ======================================================== */
.policy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.policy-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.policy-modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    max-width: 540px;
    width: 100%;
    padding: 26px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.policy-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    border: none;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.policy-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ========================================================
   17. BOX PACK MOBILE PHONES (WARRANTY & BADGES)
   ======================================================== */
.phone-warranty-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.p-warranty-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.p-w-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.p-warranty-item strong {
    display: block;
    font-size: 12.5px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.25;
}

.p-warranty-item span {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
}

.phone-warranty-tag {
    font-size: 10px;
    font-weight: 800;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 1.5px 6px;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: uppercase;
}

.phone-card-highlight {
    border-color: #cbd5e1;
    position: relative;
}

.phone-card-highlight:hover {
    border-color: #059669;
    box-shadow: 0 10px 24px -4px rgba(5, 150, 105, 0.12);
}

/* ========================================================
   18. PHYSICAL STORE OUTLET & NATIONWIDE DISPATCH (BOTTOM)
   ======================================================== */
.store-location-section {
    padding: 48px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.location-showcase-card {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px 32px;
    align-items: center;
}

.location-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #e6f7f7;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.location-tag-chip svg {
    width: 14px;
    height: 14px;
}

.location-title {
    font-family: 'Orbitron', var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.location-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.location-info-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.location-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.loc-icon-circle {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.loc-info-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 2px;
}

.loc-info-val {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.location-buttons-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-location-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.btn-location-primary svg {
    width: 18px;
    height: 18px;
}

.btn-location-primary:hover {
    background: #1ebc57;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
}

.btn-location-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.btn-location-secondary svg {
    width: 18px;
    height: 18px;
}

.btn-location-secondary:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.delivery-highlight-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.dh-badge {
    display: inline-block;
    background: rgba(0, 139, 139, 0.35);
    border: 1px solid var(--primary-color);
    color: #38bdf8;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 14px;
}

.delivery-highlight-box h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.delivery-highlight-box p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 20px;
}

.dh-perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

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

.perk-circle {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.dh-perk-item strong {
    display: block;
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
}

.dh-perk-item span {
    font-size: 11.5px;
    color: #94a3b8;
}

.dh-footer-assurance {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #38bdf8;
    font-weight: 600;
}

/* ========================================================
   19. RESPONSIVE EXTENSIONS (PHONES STRIP & LOCATION CARD)
   ======================================================== */
@media (max-width: 992px) {
    .location-showcase-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .phone-warranty-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .location-showcase-card {
        padding: 20px 16px;
        gap: 22px;
    }

    .location-title {
        font-size: 20px;
    }

    .location-buttons-row {
        flex-direction: column;
    }

    .btn-location-primary,
    .btn-location-secondary {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .phone-warranty-strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}



