/* ============================================
   DECATUR ELECTRONICS - MAIN STYLES
   Modern, professional design with animations
   ============================================ */

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #dbeafe;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #10b981;
    --danger: #ef4444;
    --success: #10b981;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --ink: #0f172a;
    --ink-soft: #16253a;
    --lux-gold: #d4af37;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none !important;
    overscroll-behavior-y: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    /* Prevent horizontal scrolling on mobile */
    position: relative;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom !important; /* Only allow vertical scrolling */
    overscroll-behavior-x: none !important;
    overscroll-behavior-y: auto;
}

/* ============================================
   ACCESSIBILITY - SKIP TO CONTENT
   ============================================ */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    /* Prevent horizontal overflow */
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
}

/* Mobile container styles moved to mobile.css */

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */

.announcement-bar {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, #dc2626 100%);
    background-size: 200% 100%;
    animation: gradientSlide 3s ease infinite;
    color: white;
    padding: 10px;
}

/* Mobile announcement bar styles moved to mobile.css */

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-timer {
    display: inline-flex;
    gap: 5px;
    background: rgba(0,0,0,0.2);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ============================================
   HEADER STYLES
   ============================================ */

header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1000;
    transition: var(--transition);
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

.header-top {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

/* Mobile header styles moved to mobile.css */

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: var(--transition);
}

.trust-indicator:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success);
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: nowrap;
}

.header-main .logo {
    justify-self: flex-start;
    margin-right: auto;
}

.header-main .search-container {
    flex: 1;
    max-width: 520px;
    margin-left: auto;
}

/* Mobile styles will be imported at the end of this file */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: none;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text.show-text {
    display: flex;
}

.logo:has(.logo-image[style*="display: none"]) .logo-text {
    display: flex;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow);
    font-size: 1.5rem;
}

/* ============================================
   SEARCH BAR
   ============================================ */

.search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-bar {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* ============================================
   HEADER ACTIONS
   ============================================ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-actions {
        gap: 8px;
        max-width: 140px;
        min-width: 140px;
    }
    
    .action-button {
        padding: 8px 10px;
        font-size: 0.95rem !important; /* Override with readable size */
        gap: 4px;
    }
    
    .action-button span {
        display: none; /* Hide text, show icons only */
    }
    
    .action-button i {
        font-size: 1rem;
    }
}

.action-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
}

.action-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    background: var(--light);
    padding: 12px 0;
    border-top: 1px solid var(--gray-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a:hover {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

nav a.active {
    background: var(--primary);
    color: white;
}

.nav-promo {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.value-props {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.value-prop i {
    color: var(--secondary);
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-cta {
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.hero-cta-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
}

.hero-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.hero-cta-secondary {
    background: white;
    color: var(--dark);
}

.hero-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.trust-badges {
    margin-top: 25px; /* Add spacing above trust badges */
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image {
    width: 80%;
    height: 400px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.hero-main-image::before {
    content: '📱 💻 🎮 📺 🎧';
    font-size: 3rem;
    position: absolute;
    opacity: 0.3;
    animation: float 10s ease-in-out infinite;
}

.floating-stat {
    position: absolute;
    background: white;
    color: var(--dark);
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
    font-size: 0.85rem;
    max-width: 120px;
    text-align: center;
}

.floating-stat .stat-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.floating-stat .stat-label {
    font-size: 0.7rem;
    color: var(--gray);
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
    text-align: center;
    display: block;
}

.floating-stat:nth-child(2) {
    top: 15px;
    left: -40px;
    animation-delay: 0s;
}

.floating-stat:nth-child(3) {
    top: 40%;
    right: -40px;
    animation-delay: 2s;
}

.floating-stat:nth-child(4) {
    bottom: 40px;
    left: -25px;
    animation-delay: 4s;
}

/* Hide floating stats on mobile to prevent overlapping */
@media (max-width: 768px) {
    .floating-stat {
        display: none !important;
    }
    
    .hero-visual {
        display: none !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
    }
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
}

/* ============================================
   MARQUEE SECTION
   ============================================ */

.marquee-section {
    background: var(--light);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.marquee-content {
    display: flex;
    animation: marquee 60s linear infinite;
}

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

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Mobile-optimized purchase notification */
@media (max-width: 768px) {
    .purchase-notification {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 14px !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }
    
    .purchase-notification a {
        gap: 10px !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 30px;
    white-space: nowrap;
    color: var(--gray);
    font-weight: 500;
}

.marquee-item i {
    color: var(--primary);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   CATEGORIES
   ============================================ */

.categories {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .categories {
        padding: 50px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
        padding: 0 15px;
    }
    
    .category-card {
        padding: 25px 15px !important;
        min-height: 140px !important; /* Ensure consistent card heights */
    }
    
    .category-icon {
        font-size: 2.5rem !important;
        margin-bottom: 15px !important;
    }
    
    .category-name {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important; /* Better text spacing */
    }
    
    .category-count {
        font-size: 0.95rem !important; /* More readable */
        line-height: 1.4 !important;
    }
}

.category-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transition: var(--transition);
    z-index: 0;
}

.category-card:hover::before {
    top: 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-card:hover * {
    color: white;
    position: relative;
    z-index: 1;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.category-name {
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.category-count {
    font-size: 0.9rem;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

/* ============================================
   PRODUCTS
   ============================================ */

.products {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f5f7ff 55%, #ffffff 100%);
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.search-results-banner {
    display: none;
    margin: 0 auto 35px;
    max-width: 900px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(30, 64, 175, 0.18) 100%);
    border: 1px solid rgba(30, 64, 175, 0.25);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 18px 35px -24px rgba(15, 23, 42, 0.45);
}

.search-results-banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    color: var(--ink);
    font-size: 0.95rem;
}

.search-results-reset {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.search-results-reset:hover {
    text-decoration: underline;
}

.tab-button {
    padding: 12px 25px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.08em;
}

.tab-button:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--ink);
}

.tab-button.active {
    background: var(--ink);
    color: var(--lux-gold);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 18px 32px -20px rgba(15, 23, 42, 0.65);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: linear-gradient(150deg, #ffffff 0%, #f6f8ff 55%, #eef3ff 100%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 45px -24px rgba(15, 23, 42, 0.48);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.6);
    border-color: rgba(212, 175, 55, 0.35);
}

.product-image {
    height: 250px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 4rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-sale {
    background: var(--danger);
    color: white;
}

.badge-new {
    background: var(--success);
    color: white;
}

.badge-hot {
    background: var(--secondary);
    color: white;
}

.product-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
}

.product-wishlist:hover {
    background: var(--danger);
    color: white;
}

.product-quick-view {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(60px);
    background: rgba(30, 64, 175, 0.9);
    color: white;
    padding: 8px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 25px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.product-card:hover .product-quick-view {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.product-content {
    padding: 20px;
}

.product-category {
    color: var(--lux-gold);
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    color: var(--secondary);
}

.rating-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lux-gold);
}

.price-original {
    font-size: 1rem;
    color: var(--gray);
    text-decoration: line-through;
}

.price-discount {
    background: var(--danger);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--ink) 0%, #142036 100%);
    color: var(--lux-gold);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 16px 32px -18px rgba(15, 23, 42, 0.6);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #142036 0%, #1f2f48 100%);
    border-color: rgba(212, 175, 55, 0.55);
}

.product-card .btn-add-cart {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
}

.product-card .btn-add-cart:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

.btn-load-more {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--ink) 0%, #142036 100%);
    color: var(--lux-gold);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-load-more:hover {
    background: linear-gradient(135deg, #142036 0%, #1f2f48 100%);
    border-color: rgba(212, 175, 55, 0.55);
}
.premium-section {
    background: linear-gradient(135deg, var(--ink) 0%, #17253a 100%);
    color: rgba(255, 255, 255, 0.92);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.premium-section::before {
    content: '';
    position: absolute;
    inset: -40% -20% auto auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.22) 0%, rgba(15, 23, 42, 0) 65%);
    opacity: 0.6;
    pointer-events: none;
}

.premium-section .section-header h2 {
    color: var(--lux-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.premium-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 720px;
    margin: 0 auto;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.premium-card {
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 50px -30px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.premium-card::after {
    content: '';
    position: absolute;
    inset: auto auto -140px -140px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.24) 0%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
}

.premium-card span {
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 0.75rem;
    color: rgba(212, 175, 55, 0.75);
}

.premium-card h3 {
    font-size: 1.6rem;
    color: #ffffff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.premium-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.premium-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--lux-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 10px;
}

.premium-cta:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.65);
}

.load-more-wrapper {
    text-align: center;
    margin-top: 30px;
    display: none;
}

.btn-compare {
    width: 45px;
    height: 45px;
    background: var(--light);
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-compare:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ============================================
   SERVICES
   ============================================ */

.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.services-grid--four {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}

@media (max-width: 1200px) {
    .services-grid--four {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 680px) {
    .services-grid--four {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-grid--four {
        grid-template-columns: 1fr;
    }
}

.feature-card-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.feature-card-row > * {
    background: var(--light);
    padding: 25px;
    border-radius: 12px;
}

.keyword-list {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 6px 28px;
    line-height: 1.75;
}

.keyword-list li {
    margin-bottom: 2px;
    break-inside: avoid;
}

.review-strip {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.06) 0%, rgba(30, 64, 175, 0.02) 100%);
    padding: 40px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.review-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.review-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    background: white;
    padding: 22px 26px;
    border-radius: 18px;
    box-shadow: 0 20px 48px -32px rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(30, 64, 175, 0.12);
}

.review-card i {
    font-size: 1.8rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.review-score {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.review-source {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.response-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(15, 23, 42, 0.02) 100%);
    color: var(--dark);
    padding: 80px 0;
}

.response-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
    display: grid;
    gap: 12px;
}

.response-header .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.response-header h2 {
    color: var(--primary-dark);
    font-size: 2.4rem;
}

.response-header p {
    color: var(--gray-dark);
    line-height: 1.7;
}

.response-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 36px;
}

.response-card {
    background: white;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid rgba(30, 64, 175, 0.16);
    box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.55);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.response-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin: 0;
}

.response-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: rgba(30, 64, 175, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.response-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.response-list i {
    color: var(--primary);
    margin-right: 8px;
}

.response-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.response-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
}

.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
}

.testimonials-track::-webkit-scrollbar {
    height: 8px;
}

.testimonials-track::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 10px;
}

.testimonials-track::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.testimonial-card {
    min-width: 350px;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 280px;
        max-width: 100vw;
        padding: 20px;
    }
    
    .testimonials-track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        max-width: 100vw;
    }
    
    .testimonials-track::-webkit-scrollbar {
        display: none;
    }
    
    .testimonials-track {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-meta h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-meta p {
    color: var(--gray);
    font-size: 0.9rem;
}

.testimonial-verified {
    margin-left: auto;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.testimonial-rating {
    color: var(--secondary);
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.7;
    font-style: italic;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    padding: 100px 0;
    background: #000000 !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(30, 64, 175, 0.2) 50%, rgba(30, 58, 138, 0.3) 100%);
    z-index: 0;
}

.stats::after {
    display: none;
}

.stats * {
    color: #ffffff !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
}

.stats .stat-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 1 !important;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
}

.stats .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.5), 2px 2px 8px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}

.stats .stat-label {
    font-size: 1.3rem;
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 0 8px rgba(255,255,255,0.4), 1px 1px 4px rgba(0,0,0,0.8);
    font-weight: 700 !important;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    padding: 0 5px;
    letter-spacing: 0.5px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-primary {
    padding: 18px 40px;
    background: white;
    color: var(--dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.cta-button-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

.cta-button-secondary {
    padding: 18px 40px;
    background: transparent;
    color: white;
    border: 3px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.cta-button-secondary:hover {
    background: white;
    color: var(--secondary);
}

.cta-button-video {
    background: rgba(30, 64, 175, 0.12);
    color: var(--primary-dark);
    border: 2px solid rgba(30, 64, 175, 0.2);
    font-size: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.cta-button-video:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
    border-color: rgba(30, 64, 175, 0.35);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.footer-description {
    color: var(--gray-light);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Social Media Follow Section Hover Effects */
section[style*="background: linear-gradient(135deg, var(--primary)"] a:hover {
    transform: translateY(-3px) !important;
    background: rgba(255,255,255,0.25) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}

/* YouTube Subscribe Section Hover */
section[style*="background: #000"] a:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(255,0,0,0.4) !important;
}

/* Mobile responsive for social sections */
@media (max-width: 768px) {
    section[style*="background: linear-gradient(135deg, var(--primary)"] a {
        font-size: 0.9rem !important;
        padding: 10px 18px !important;
    }
    
    section[style*="background: #000"] a {
        font-size: 1rem !important;
        padding: 14px 28px !important;
    }
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    transform: translateX(5px);
    display: inline-block;
}

.footer-newsletter {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: white;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-button {
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--gray-light);
}

.footer-payments {
    display: flex;
    gap: 10px;
}

.payment-icon {
    width: 40px;
    height: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* ============================================
   FIXED ACTION BUTTONS
   ============================================ */

.fixed-actions {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    z-index: 2147483647 !important; /* Maximum z-index value */
    pointer-events: none !important;
    isolation: isolate !important;
    /* Ensure buttons stay within viewport */
    max-width: calc(100vw - 40px) !important;
    max-height: calc(100vh - 40px) !important;
    /* Prevent overflow */
    overflow: visible !important;
    /* Contain within viewport */
    left: auto !important;
    top: auto !important;
}

.fixed-actions .fixed-button {
    pointer-events: auto !important;
}

.fixed-button {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: var(--shadow-xl) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    font-size: 1.3rem !important;
    position: relative !important;
    z-index: 2147483647 !important; /* Maximum z-index value */
    transform: translateZ(0) !important;
    will-change: transform !important;
}

/* Fix floating action buttons on mobile */
@media (max-width: 768px) {
    .fixed-actions {
        bottom: 15px !important;
        right: 15px !important;
        gap: 12px !important;
        z-index: 2147483647 !important;
        /* Ensure buttons stay within viewport - use calc with safe area */
        max-width: calc(100vw - 30px - env(safe-area-inset-right)) !important;
        max-height: calc(100vh - 30px - env(safe-area-inset-bottom)) !important;
        /* Account for safe areas on notched devices */
        right: max(15px, calc(15px + env(safe-area-inset-right))) !important;
        bottom: max(15px, calc(15px + env(safe-area-inset-bottom))) !important;
        /* Prevent overflow */
        overflow: visible !important;
        /* Contain within viewport */
        left: auto !important;
        top: auto !important;
    }
    
    .fixed-button {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.1rem !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
        z-index: 2147483647 !important;
        /* Prevent buttons from going off-screen */
        flex-shrink: 0 !important;
        margin: 0 !important;
        position: relative !important;
    }
}

/* Hide browser extension overlays that might interfere */
[class*="honey"],
[class*="capital"],
[class*="price"],
[id*="honey"],
[id*="capital"],
[id*="price"],
[data-extension],
iframe[src*="extension"],
iframe[src*="price"] {
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Ensure our buttons are always on top */
.fixed-actions,
.fixed-button {
    z-index: 2147483647 !important;
    position: fixed !important;
}

.fixed-button:hover {
    transform: scale(1.1);
}

.btn-chat {
    background: var(--primary);
    color: white;
}

.btn-call {
    background: var(--success);
    color: white;
}

.btn-top {
    background: white;
    color: var(--dark);
    border: 2px solid var(--gray-light);
    display: flex !important;
}

.btn-top.show {
    display: flex !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .floating-stat {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Fix header being too large - make it more compact */
    header {
        position: relative !important;
        top: auto !important;
        z-index: 1000;
    }
    
    .header-main {
        padding: 8px 0 !important;
    }
    
    .header-main .container {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 12px !important;
        align-items: center !important;
        justify-items: center !important;
    }
    
    .logo {
        justify-self: center !important;
        grid-column: 1 !important;
        margin-bottom: 0 !important;
    }
    
    .search-container {
        display: flex !important;
        max-width: 100% !important;
        width: 100% !important;
        justify-self: center !important;
        grid-column: 1 !important;
    }
    
    .search-bar {
        font-size: 0.9rem;
        padding: 8px 12px;
        flex: 1;
        min-width: 0;
    }
    
    /* Fix header actions (wishlist/cart) positioning - ensure they stay on screen */
    .header-main .container {
        padding: 0 10px !important;
        max-width: 100vw !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        gap: 8px !important;
    }
    
    .header-actions {
        gap: 3px !important;
        max-width: 95px !important;
        min-width: 95px !important;
        width: 95px !important;
        flex-shrink: 0 !important;
        justify-content: flex-end;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    
    .header-actions .action-button {
        padding: 6px !important;
        min-width: 32px !important;
        width: 32px !important;
        height: 32px !important;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .header-actions .action-button span {
        display: none !important;
    }
    
    .header-actions .action-button i {
        font-size: 0.85rem !important;
        margin: 0 !important;
    }
    
    .cart-count {
        width: 16px !important;
        height: 16px !important;
        font-size: 0.85rem !important; /* Override with readable size */
        top: -2px !important;
        right: -2px !important;
    }
    
    /* Ensure logo doesn't push buttons off */
    .logo {
        max-width: calc(100vw - 120px) !important;
        flex-shrink: 1 !important;
        overflow: hidden !important;
        min-width: 0 !important;
    }
    
    .logo-image {
        max-width: 50px !important;
        height: 50px !important;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 0.95rem !important; /* Override with readable size */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: none !important; /* Hide on very small screens to save space */
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fixed-actions {
        bottom: 15px !important;
        right: 15px !important;
        gap: 10px !important;
        /* Ensure buttons stay within viewport */
        max-width: calc(100vw - 30px - env(safe-area-inset-right)) !important;
        max-height: calc(100vh - 30px - env(safe-area-inset-bottom)) !important;
        right: max(15px, calc(15px + env(safe-area-inset-right))) !important;
        bottom: max(15px, calc(15px + env(safe-area-inset-bottom))) !important;
        overflow: visible !important;
        left: auto !important;
        top: auto !important;
    }
    
    .fixed-button {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.2rem !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
        /* Prevent horizontal scrolling */
        position: relative !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .fixed-button:active {
        transform: scale(0.95) translateZ(0);
    }
    
    /* Prevent interference with scrolling */
    .fixed-button,
    .fixed-actions {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        /* Prevent horizontal scroll */
        will-change: transform;
        transform: translateZ(0);
    }
}

@media (max-width: 480px) {
    .announcement-content {
        font-size: 0.9rem;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-tabs {
        overflow-x: auto;
    }
    
    /* YouTube Shorts - Mobile Responsive */
    section[style*="grid-template-columns: repeat(auto-fit, minmax(200px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    section[style*="grid-template-columns: repeat(auto-fit, minmax(180px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}
/* Mobile styles are loaded via <link> tag in HTML files */

.response-actions {
    margin-top: 35px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.response-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.response-actions .cta-button-secondary {
    background: rgba(255,255,255,0.2);
    color: var(--primary-dark);
    border: 2px solid rgba(30, 64, 175, 0.3);
}

.response-actions .cta-button-secondary:hover {
    background: rgba(255,255,255,0.4);
    border-color: rgba(30, 64, 175, 0.45);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 640px) {
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.benefit-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    height: 100%;
}

.benefit-icon {
    font-size: 3rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.7;
}

.while-you-wait {
    display: inline-flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(30, 64, 175, 0.04) 100%);
    border-radius: 14px;
    border: 1px solid rgba(30, 64, 175, 0.2);
    color: var(--gray-dark);
    line-height: 1.7;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.while-you-wait__icon {
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
}

.while-you-wait__text {
    max-width: 500px;
}

.product-card .product-badge:not(.badge-sale):not(.badge-new) {
    background: rgba(30, 64, 175, 0.12);
    color: var(--primary-dark);
}

.convenience-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 28px;
    justify-content: center;
}

.convenience-list li {
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 42px -32px rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(30, 64, 175, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    flex: 0 1 300px;
    max-width: 320px;
}

.convenience-list i {
    font-size: 2rem;
    color: var(--primary);
}

.convenience-list strong {
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.convenience-list p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin: 0;
}

.convenience-list a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.convenience-list a::after {
    content: '\f061';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
}

.convenience-list a:hover {
    text-decoration: underline;
}

.services-grid--four {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.service-card--premium {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(30, 64, 175, 0.12);
    box-shadow: 0 30px 75px -40px rgba(15, 23, 42, 0.55);
    display: grid;
    gap: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card--premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 100px -50px rgba(15, 23, 42, 0.6);
}

.service-card__icon {
    font-size: 2.8rem;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.16) 0%, rgba(30, 64, 175, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.service-card__header h3 {
    font-size: 1.35rem;
}

.service-card__lead {
    font-size: 0.98rem;
}

.service-card__list {
    background: rgba(248, 250, 252, 0.9);
    padding: 16px 18px;
    border-radius: 14px;
}

.service-card__list li {
    display: flex;
    align-items: flex-start;
}

.service-card__list i {
    margin-right: 10px;
    margin-top: 3px;
}

.service-card__price {
    font-size: 1.2rem;
}

.service-card__cta {
    color: white;
    background: var(--primary);
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

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

.while-you-wait {
    width: fit-content;
}

.service-card__footer {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.products-grid .product-card .product-badge {
    background: rgba(255,255,255,0.16);
    color: white;
    backdrop-filter: blur(6px);
}

.service-card {
    background: white;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 42px -32px rgba(15, 23, 42, 0.5);
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(30, 64, 175, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.service-title-group {
    display: grid;
    gap: 6px;
}

.service-title-group h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.service-time {
    font-size: 0.95rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-description {
    color: var(--gray-dark);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--gray-dark);
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-features i {
    color: var(--primary);
    margin-top: 3px;
}

.service-pricing {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.pricing-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.08em;
}

.pricing-amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.service-cta {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-cta:hover {
    text-decoration: underline;
}

.services-grid--thirds {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

@media (max-width: 1100px) {
    .services-grid--thirds {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 680px) {
    .services-grid--thirds {
        grid-template-columns: 1fr;
    }
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.contact-grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-grid > div {
    flex: 1 1 0;
}

.contact-grid > div:first-child {
    order: 2;
}

.contact-grid > div:last-child {
    order: 1;
}

.related-services-block {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 20px;
}

.related-services-block h3 {
    margin: 0;
    color: var(--primary-dark);
}

.related-services-block p {
    margin: 0;
    color: var(--gray);
}

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

.related-service-card {
    background: var(--light);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--primary-dark);
    display: grid;
    gap: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.related-service-card:hover,
.related-service-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.35);
}

.related-service-card__title {
    font-weight: 600;
    font-size: 1.05rem;
}

.related-service-card__desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: var(--light);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 12px 0;
    margin-bottom: 0;
}

.breadcrumb-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-item span {
    color: var(--gray);
    font-size: 0.9rem;
}

.breadcrumb-separator {
    color: var(--gray-light);
    font-size: 0.75rem;
    margin: 0 4px;
}

.breadcrumb-separator i {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 10px 0;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item span {
        font-size: 0.85rem;
    }
    
    .breadcrumb-separator {
        font-size: 0.7rem;
        margin: 0 2px;
    }
}

/* Pricing Table Styles */
.responsive-table {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 1rem;
    min-width: 800px;
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.pricing-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.pricing-table th:first-child {
    border-top-left-radius: 12px;
}

.pricing-table th:last-child {
    border-top-right-radius: 12px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
    transition: background-color 0.2s ease;
}

.pricing-table tbody tr:hover {
    background-color: var(--light);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 20px;
    vertical-align: top;
    line-height: 1.6;
}

.pricing-table td:first-child {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

/* Price columns styling - repair tables (columns 2-4 are prices) */
.pricing-table td:nth-child(2),
.pricing-table td:nth-child(3),
.pricing-table td:nth-child(4) {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Prepaid plans table specific styling */
.pricing-table-plans td:nth-child(2) {
    font-weight: 500;
    color: var(--gray-dark);
    font-size: 1rem;
    white-space: normal;
    line-height: 1.6;
}

.pricing-table-plans td:nth-child(3) {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.15rem;
    white-space: nowrap;
}

.pricing-table-plans td:nth-child(4) {
    font-weight: 500;
    color: var(--gray);
    font-size: 0.95rem;
    white-space: normal;
    line-height: 1.6;
}

.pricing-table td:last-child {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 400px;
}

@media (max-width: 768px) {
    .pricing-table {
        font-size: 0.9rem;
        min-width: 700px;
    }
    
    .pricing-table th {
        padding: 14px 12px;
        font-size: 0.85rem;
    }
    
    .pricing-table td {
        padding: 16px 12px;
    }
    
    .pricing-table td:first-child {
        font-size: 1rem;
    }
    
    .pricing-table td:nth-child(2),
    .pricing-table td:nth-child(3),
    .pricing-table td:nth-child(4) {
        font-size: 1rem;
    }
    
    .pricing-table td:last-child {
        font-size: 0.9rem;
        max-width: 300px;
    }
}

