/* ================================================================
   PREMIUM UI — Vibrant, Dynamic, Modern E-commerce Design
   SJ Sportsworld — Full Visual Overhaul
   ================================================================ */

/* ===== GOOGLE FONT IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #ff6b00;
    --primary-dark: #e05500;
    --primary-light: rgba(255,107,0,0.08);
    --secondary: #1a1a2e;
    --accent: #16213e;
    --success: #10b981;
    --danger: #e11d48;
    --page-bg: #f4f6fb;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 16px 48px rgba(0,0,0,0.12);
    --card-radius: 20px;
    --pill: 50px;
    --text-main: #1a1a2e;
    --text-sub: #64748b;
    --border-light: rgba(0,0,0,0.06);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif !important;
    background: var(--page-bg) !important;
    color: var(--text-main);
    overflow-x: hidden;
}

/* ===== HERO SECTION — VIBRANT REDESIGN ===== */
.hero {
    background: linear-gradient(135deg, #0f0c29, #1a1a3e, #302b63) !important;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    border-radius: 0 !important;
    min-height: 600px;
}

/* Animated background blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,107,0,0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: blobMove 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: blobMove2 10s ease-in-out infinite alternate;
}

@keyframes blobMove {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(-40px, 40px) scale(1.1); }
}

@keyframes blobMove2 {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-inner {
    padding: 80px 0 60px !important;
    position: relative; z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,0,0.15);
    border: 1px solid rgba(255,107,0,0.3);
    color: #ff6b00;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

/* Hero H1 */
.hero-content h1 {
    font-size: clamp(36px, 5vw, 60px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #ff6b00, #ff9a44);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content > p {
    color: rgba(255,255,255,0.75) !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    max-width: 520px;
    margin-bottom: 36px !important;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #ff6b00, #e05500) !important;
    box-shadow: 0 8px 32px rgba(255,107,0,0.4) !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    border-radius: var(--pill) !important;
    border: none !important;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(255,107,0,0.4); }
    50% { box-shadow: 0 8px 48px rgba(255,107,0,0.6); }
}

.hero-buttons .btn-secondary {
    background: rgba(255,255,255,0.1) !important;
    border: 2px solid rgba(255,255,255,0.25) !important;
    color: #fff !important;
    padding: 16px 32px !important;
    border-radius: var(--pill) !important;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

/* Hero Stats Horizontal Chips — ULTRA STABLE */
.hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: flex-start;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    flex: 0 1 auto;
}

.hero-stat:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-stat .stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b00;
    font-size: 18px;
}

.hero-stat .number {
    display: block;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.1;
}

.hero-stat .stat-content span:last-child {
    display: block;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero discount badge */
.hero-discount {
    background: linear-gradient(135deg, #ff6b00, #e05500);
    box-shadow: 0 8px 32px rgba(255,107,0,0.5);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: spin-slow 6s linear infinite;
}

.hero-discount .percent {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.hero-discount .text {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== SECTION STYLES ===== */
/* No !important on background — allow inline style backgrounds to win */
.section {
    padding: 80px 0 !important;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0 120px !important; /* Safety padding for bottom navigation */
    }
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,0,0.1);
    color: #ff6b00;
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 900 !important;
    color: var(--text-main) !important;
    letter-spacing: -0.5px;
    margin-bottom: 12px !important;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-sub) !important;
    font-size: 16px !important;
    max-width: 480px;
    margin: 0 auto 20px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b00 !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-decoration: none;
    border-bottom: 2px solid rgba(255,107,0,0.25);
    padding-bottom: 2px;
    transition: 0.2s;
}

.view-all:hover {
    border-bottom-color: #ff6b00;
    gap: 12px;
}

/* ===== CATEGORY CARDS ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--card-bg) !important;
    border-radius: 24px !important;
    padding: 36px 24px !important;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--card-shadow) !important;
    border: 1px solid var(--border-light) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    display: block;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,0,0) 0%, rgba(255,107,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--card-shadow-hover) !important;
    border-color: rgba(255,107,0,0.2) !important;
}

.category-card:hover::before { opacity: 1; }

.category-card .icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ff6b00, #e05500);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255,107,0,0.3);
    transition: transform 0.3s;
}

.category-card:hover .icon {
    transform: scale(1.1) rotate(-5deg);
}

.category-card h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    margin-bottom: 6px !important;
}

.category-card span {
    font-size: 13px !important;
    color: var(--text-sub) !important;
    font-weight: 500;
}

/* ===== PRODUCT CARDS — PREMIUM ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px; /* Increased for breathing room */
}

@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 500px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }


.product-card {
    background: #ffffff !important;
    border-radius: 12px !important; /* Medium rounding as in sample */
    border: 1px solid #f0f0f0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 440px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative !important;
    overflow: visible !important; /* ALLOW BUTTON TO HANG OFF THE BOTTOM */
    text-align: center !important; /* Centered content like sample */
}



.product-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1) !important;
    border-color: rgba(255, 107, 0, 0.3) !important;
}

.product-card:hover .product-image img {
    transform: scale(1.1) !important;
}

.product-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9ff, #f0f2f8);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Show a sport icon when image fails to load */
.product-image img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    padding: 15px;
    background: transparent;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
}

/* Abstract placeholder for broken images */
.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    z-index: -1;
}

.product-image::after {
    content: '\f0a1'; /* Megaphone/Sporty icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    font-size: 60px;
    color: rgba(0,0,0,0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

/* Action buttons on hover — Staggered Glass Effect */
.product-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.action-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    opacity: 0;
    transform: translateX(20px);
}

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

.product-card:hover .action-btn:nth-child(1) { transition-delay: 0.05s; }
.product-card:hover .action-btn:nth-child(2) { transition-delay: 0.1s; }

.action-btn:hover, .action-btn.active {
    background: #ff6b00;
    color: #fff;
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.3);
}

/* Product Glassmorphic Badges — Refined */
/* Badges with Folded Corner Effect */
.product-badges {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.badge {
    position: relative !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #000000 !important; /* Black text on orange as in sample */
    background: #ffb800 !important;
    border-radius: 0 0 4px 0 !important;
    text-transform: none !important;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05) !important;
}

.badge::before {
    content: "" !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    border-width: 0 8px 8px 0 !important;
    border-style: solid !important;
    border-color: transparent #8b5e00 transparent transparent !important; /* Darker fold */
}

.badge-new { background: #ffb800 !important; }
.badge-sale { background: #ffb800 !important; }
.badge-best { background: #ffb800 !important; }

/* Product content Refinement */
.product-content {
    padding: 24px !important; /* Increased padding */
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.product-category {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #ff6b00 !important;
    margin-bottom: 8px !important;
    display: block;
}

.product-title {
    margin: 0 0 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Allow up to 2 lines instead of truncating at 1 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a { color: var(--text-main) !important; text-decoration: none; }
.product-title a:hover { color: #ff6b00 !important; }

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

.product-rating i { color: #f59e0b; font-size: 12px; }
.product-rating span { font-size: 12px; color: var(--text-sub); font-weight: 500; }

.product-price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.price-current {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffb800 !important; /* Orange/Yellow price */
}


.price-old {
    font-size: 13px !important;
    color: #bbb !important;
    text-decoration: line-through;
}

.product-content .add-to-cart {
    width: 100% !important;
    background: #1a1a1a !important; /* Dark Charcoal Background */
    color: #ffb800 !important; /* Vibrant Yellow/Orange Text like reference */
    border: none !important;
    padding: 18px 24px !important; /* Larger, solid feel */
    border-radius: 50px !important;
    font-weight: 800 !important; /* Extra bold for "Industrial" vibe */
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    margin-top: auto !important;
    margin-bottom: 12px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.product-content .add-to-cart:hover {
    background: #000000 !important; /* Solid black hover */
    color: #ffd000 !important; /* Brighter yellow on hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
}

.product-content .add-to-cart:active {
    transform: translateY(1px) scale(0.98) !important;
}

/* Loading State */
.btn-loading {
    pointer-events: none !important;
    opacity: 0.8 !important;
}

.spinner-icon {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.product-content .add-to-cart i {
    font-size: 16px;
    transition: transform 0.3s;
}

.product-content .add-to-cart:hover i {
    transform: translateX(3px) scale(1.1);
}

/* ===== FEATURE CARDS — GLASSMORPHISM ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff !important;
    border-radius: 24px !important;
    padding: 36px 24px !important;
    text-align: center;
    box-shadow: var(--card-shadow) !important;
    border: 1px solid var(--border-light) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #ff6b00, #e05500);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--card-shadow-hover) !important;
}

.feature-card:hover::after { transform: scaleX(1); }

/* Floating Quick Add Button Styling - THE ABSOLUTE BOTTOM OF CARD */
.quick-add-btn {
    position: absolute !important;
    bottom: -22px !important; /* Hang off the bottom of the card */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #fffdf5 !important;
    border: 1px solid #ffb800 !important;
    color: #ffb800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    cursor: pointer !important;
    z-index: 50 !important; /* High enough to be clickable */
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.2) !important;
}

.feature-icon {
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 20px !important;
    background: linear-gradient(135deg, #ff6b00, #e05500) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(255,107,0,0.3) !important;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    margin-bottom: 10px !important;
}

.feature-card p {
    font-size: 14px !important;
    color: var(--text-sub) !important;
    line-height: 1.6;
}

/* ===== BANNER CARDS ===== */
.banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.banner-card {
    border-radius: 24px !important;
    overflow: hidden;
    height: 300px;
    position: relative;
    box-shadow: var(--card-shadow) !important;
}

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

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

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.1) 100%);
    padding: 36px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-overlay h3 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 10px !important;
}

.banner-overlay p {
    font-size: 14px !important;
    color: rgba(255,255,255,0.8) !important;
    margin-bottom: 20px !important;
    line-height: 1.5;
}

.banner-overlay .btn-primary {
    align-self: flex-start;
    border-radius: var(--pill) !important;
    background: linear-gradient(135deg, #ff6b00, #e05500) !important;
    box-shadow: 0 6px 20px rgba(255,107,0,0.4) !important;
    border: none !important;
}

/* ===== VIBRANT CTA SECTION ===== */
.cta-section-vibrant {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c33 100%) !important;
    border-radius: 30px !important;
    color: #fff !important;
    text-align: center;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden !important;
    margin: 40px auto !important;
    max-width: 1200px;
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.2);
}

.cta-vibrant-inner {
    position: relative;
    z-index: 2;
}

.cta-vibrant-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.cta-section-vibrant h2 {
    font-size: clamp(32px, 5vw, 48px) !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    line-height: 1.15 !important;
}

.cta-section-vibrant h2 span {
    color: #1a1a2e !important;
}

.cta-section-vibrant p {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: left;
}

.cta-info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-info-item .icon {
    width: 48px;
    height: 48px;
    background: #fff;
    color: #ff6b00;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cta-info-item .text strong {
    display: block;
    font-size: 14px;
    color: #1a1a2e;
}

.cta-info-item .text span {
    font-size: 13px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-xl {
    padding: 16px 40px !important;
    font-size: 16px !important;
}

.btn-secondary.btn-xl {
    background: #1a1a2e !important;
    color: #fff !important;
    border: none !important;
}

@media (max-width: 768px) {
    .cta-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== HEADER / NAV ===== */
.header {
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03) !important;
    position: sticky;
    top: 0;
    z-index: 998;
}

.header-logo img {
    background: #fff;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ===== PAGE BANNER ===== */
.page-banner {
    border-radius: 0 !important;
    overflow: hidden;
}

.page-banner h1 {
    font-size: 40px !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs-section, .breadcrumbs {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 14px 24px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    border: 1px solid var(--border-light) !important;
    margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0f0c29, #1a1a2e) !important;
    border-radius: 0 !important;
    margin-top: 60px;
    overflow: hidden;
}

/* ===== CTA SECTION — Ensure dark background renders correctly ===== */
section[style*="linear-gradient"] {
    color: #fff;
}

section[style*="linear-gradient"] h2,
section[style*="linear-gradient"] h3,
section[style*="linear-gradient"] p,
section[style*="linear-gradient"] a:not(.btn) {
    color: #fff !important;
    opacity: 1 !important;
}

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

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    transform: translateX(120%);
    animation: slideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.success { border-left: 5px solid #10b981 !important; }
.toast.error { border-left: 5px solid #ef4444 !important; }

.toast i {
    font-size: 20px;
}

.toast.success i { color: #10b981; }
.toast.error i { color: #ef4444; }

.toast-message {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 14px;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}

@media (max-width: 500px) {
    .toast-container {
        top: 20px;
        right: 20px;
        left: 20px;
    }
    .toast {
        min-width: 100%;
    }
}

/* Stagger the animation for grid items */
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.10s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.20s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.30s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.40s; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-inner { padding: 50px 0 40px !important; }
    .hero-content h1 { font-size: 34px !important; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .banners-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero {
        border-radius: 0 !important;
    }

    .hero-content h1 { font-size: 28px !important; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; }
    .hero-stats { gap: 20px; }
    .hero-stat .number { font-size: 24px !important; }

    .section { padding: 50px 0 !important; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 26px !important; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-card { padding: 24px 16px !important; }
    .category-card .icon { width: 56px; height: 56px; font-size: 22px; border-radius: 16px; }
    .category-card h3 { font-size: 15px !important; }

    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-card { padding: 24px 16px !important; }
    .feature-icon { width: 56px !important; height: 56px !important; font-size: 22px !important; }

    .product-image img { height: 160px; }
    .price-current { font-size: 16px !important; }

    .footer { border-radius: 0 !important; }
}
/* ===== PREMIUM BREADCRUMBS ===== */
.breadcrumbs {
    background: rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 50px;
    padding: 10px 24px !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 30px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.breadcrumbs a {
    color: var(--text-sub) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #ff6b00 !important;
}

.breadcrumbs i {
    font-size: 10px;
    color: #ccc;
}

.breadcrumbs span {
    color: #1a1a2e !important;
    font-weight: 700;
    font-size: 13px;
}

/* ===== MESH BACKGROUNDS ===== */
.mesh-bg-section {
    position: relative;
    overflow: hidden;
    background: #fff !important;
}

.mesh-bg-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,0,0.05) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    z-index: 0;
    pointer-events: none;
}

.mesh-bg-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
    z-index: 0;
    pointer-events: none;
}

.mesh-bg-section .container {
    position: relative;
    z-index: 1;
}

/* Fix for broken images - center the icon */
.product-image i.fa-shopping-basket {
    font-size: 40px;
    color: rgba(0,0,0,0.05);
}
