/* ==========================================================================
   Fiber.ma - Main Stylesheet
   ========================================================================== */

:root {
    /* Brand Colors */
    --navy: #0a1628;
    --navy-light: #12243d;
    --navy-dark: #050d18;
    --blue: #1a56db;
    --blue-hover: #1440a8;
    --cyan: #00b4d8;
    --cyan-hover: #0077b6;
    --cyan-light: #e0f2fe;
    
    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic Colors */
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --info: #3b82f6;
    --info-light: #eff6ff;

    /* Shadow and Border Radius */
    --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-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Layout */
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASICS ──────────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* ─── UTILITIES & CONTAINERS ───────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--gray-100);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #0d41b3);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 86, 219, 0.3);
}

.btn-secondary {
    background-color: var(--navy);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--navy-light);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--blue);
    color: var(--blue);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--blue);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

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

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    display: flex;
    width: 100%;
}

/* ─── TOP BAR ─────────────────────────────────────────────────────────────── */
.top-bar {
    background-color: var(--navy-dark);
    color: var(--gray-300);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.top-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-info a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-info a:hover {
    color: var(--cyan);
}

.top-info i {
    width: 14px;
    height: 14px;
}

.top-shipping {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.top-shipping i {
    width: 16px;
    height: 16px;
    color: var(--cyan);
}

/* ─── HEADER ──────────────────────────────────────────────────────────────── */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow);
    padding: 8px 0;
}

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blue);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.header-action-btn {
    position: relative;
    color: var(--gray-700);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    transition: var(--transition);
}

.header-action-btn:hover {
    background-color: var(--cyan-light);
    color: var(--blue);
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--danger);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.mobile-menu-btn {
    display: none;
    color: var(--gray-700);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    border-radius: 50%;
}

/* ─── MOBILE MENU ─────────────────────────────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    right: 0;
}

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

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.mobile-nav-links a:hover {
    color: var(--blue);
}

.mobile-menu-footer {
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.mobile-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.mobile-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── HERO SECTION ────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
    color: var(--white);
    padding: 100px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(0, 180, 216, 0.15);
    color: var(--cyan);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(90deg, #00b4d8, #90e0ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-box {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 600px;
    margin-bottom: 35px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-form {
    display: flex;
    gap: 8px;
}

.hero-search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 10px 16px;
    color: var(--white);
    outline: none;
}

.hero-search-input::placeholder {
    color: var(--gray-400);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-fiber-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
}

/* Animations for fiber bg pulses */
.fiber-pulse-line {
    animation: flow-pulse 20s linear infinite;
}

.fiber-pulse-line-rev {
    animation: flow-pulse-reverse 24s linear infinite;
}

.fiber-pulse-line-fast {
    animation: flow-pulse 10s linear infinite;
}

@keyframes flow-pulse {
    0% {
        stroke-dashoffset: 600;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes flow-pulse-reverse {
    0% {
        stroke-dashoffset: -520;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.pulse-node {
    animation: node-breath 4s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes node-breath {
    0% {
        r: 2px;
        opacity: 0.4;
    }
    100% {
        r: 6px;
        opacity: 0.9;
    }
}

/* ─── CATEGORIES GRID ─────────────────────────────────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.category-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background-color: var(--cyan-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.category-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 8px;
}

.category-count {
    font-size: 0.85rem;
    color: var(--gray-500);
    background-color: var(--gray-100);
    padding: 4px 12px;
    border-radius: 50px;
}

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

.category-card:hover .category-icon-wrapper {
    background-color: var(--blue);
    color: var(--white);
    transform: scale(1.1);
}

/* ─── PRODUCT CARDS ───────────────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(26, 86, 219, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 12px rgba(10, 22, 40, 0.07);
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease, border-color 0.3s ease;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26,86,219,0.04) 0%, rgba(0,180,216,0.04) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

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

.product-card-image {
    position: relative;
    padding-bottom: 80%;
    background: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid rgba(10, 22, 40, 0.05);
    box-sizing: border-box;
}

/* Glassy bottom-right protection badge watermark */
.product-card-image::before {
    content: "Fiber.ma \00A9";
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(10, 22, 40, 0.38);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 4px rgba(10, 22, 40, 0.02);
    z-index: 2;
    pointer-events: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Huge faint diagonal watermark */
.product-card-image::after {
    content: "FIBER.MA";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-28deg);
    font-size: 1.4rem;
    font-weight: 900;
    color: rgba(10, 22, 40, 0.038);
    letter-spacing: 0.2em;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    white-space: nowrap;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s cubic-bezier(.25, .46, .45, .94);
}

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

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--blue) 0%, #1a3fa8 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(26,86,219,0.35);
}

.product-badge.sale {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 2px 8px rgba(239,68,68,0.35);
}

.product-card-content {
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.product-card-category {
    font-size: 0.7rem;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    opacity: 0.8;
}

.product-card-title {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.9rem;
    transition: color 0.25s ease;
}

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

.product-card-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    margin-top: auto;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(26,86,219,0.06) 0%, rgba(0,180,216,0.06) 100%);
    border-radius: 10px;
    border: 1px solid rgba(26,86,219,0.1);
}

.product-card-price {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.product-card-price-old {
    font-size: 0.88rem;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 500;
    margin-left: auto;
}

.product-card-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.product-card-actions .btn {
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-card-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,86,219,0.3);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.14), 0 0 0 1.5px rgba(26, 86, 219, 0.18);
    border-color: rgba(26, 86, 219, 0.25);
}

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

/* ─── WHY CHOOSE US ───────────────────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--cyan-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.why-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.why-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ─── CTA BANNER ──────────────────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

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

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
    background-color: var(--navy-dark);
    color: var(--gray-300);
    padding: 70px 0 0 0;
    border-top: 4px solid var(--blue);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--gray-400);
    margin-bottom: 20px;
}

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

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: var(--gray-400);
}

.footer-col ul a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-contact-details li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-details i {
    color: var(--cyan);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-inner p {
    color: var(--gray-500);
}

/* ─── FILTERS & PRODUCT LISTING PAGE ──────────────────────────────────────── */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb-separator {
    color: var(--gray-300);
}

.filters-section {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.filters-bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: center;
}

.search-filter-wrapper {
    position: relative;
}

.search-filter-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    outline: none;
    background-color: var(--gray-50);
}

.search-filter-input:focus {
    border-color: var(--blue);
    background-color: var(--white);
}

.search-filter-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.sort-select {
    padding: 10px 30px 10px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    outline: none;
    background-color: var(--white);
    cursor: pointer;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    grid-column: 1 / -1;
    border-top: 1px solid var(--gray-100);
    padding-top: 15px;
}

.filter-pill {
    padding: 8px 16px;
    background-color: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-pill:hover,
.filter-pill.active {
    background-color: var(--blue);
    color: var(--white);
}

/* ─── PRODUCT DETAIL PAGE ─────────────────────────────────────────────────── */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    margin-bottom: 50px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid var(--gray-200);
    padding: 24px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

/* Glassy bottom-right protection badge watermark */
.main-image-container::before {
    content: "Fiber.ma \00A9  - Image Prot\00E9g\00E9e";
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(10, 22, 40, 0.4);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 2;
    pointer-events: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Huge faint diagonal watermark */
.main-image-container::after {
    content: "FIBER.MA";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-28deg);
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(10, 22, 40, 0.035);
    letter-spacing: 0.25em;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    white-space: nowrap;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

.thumbnails-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.thumb-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: var(--gray-50);
}

.thumb-item.active {
    border-color: var(--blue);
}

.thumb-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
}

.product-info-col {
    display: flex;
    flex-direction: column;
}

.product-detail-title {
    font-size: 2rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 20px;
}

.product-detail-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue);
}

.product-detail-price-old {
    font-size: 1.3rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.stock-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.stock-badge.in-stock {
    background-color: var(--success-light);
    color: var(--success);
}

.stock-badge.low-stock {
    background-color: var(--warning-light);
    color: var(--warning);
}

.stock-badge.out-of-stock {
    background-color: var(--danger-light);
    color: var(--danger);
}

.product-short-desc {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.add-to-cart-box {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    height: 48px;
    background-color: var(--gray-50);
}

.qty-btn {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    outline: none;
}

.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.specs-table th, 
.specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
}

.specs-table th {
    background-color: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    width: 35%;
}

.specs-table td {
    color: var(--gray-800);
}

.product-description-section {
    margin-top: 50px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.product-description-section h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 10px;
}

.product-description-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.product-description-section li {
    margin-bottom: 8px;
}

/* ─── CART PAGE ───────────────────────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.cart-table-container {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.cart-table th {
    background-color: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    object-fit: cover;
    background-color: var(--gray-100);
}

.cart-product-title {
    font-weight: 600;
    color: var(--navy);
}

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

.cart-product-sku {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.cart-remove-btn {
    color: var(--danger);
    transition: var(--transition);
}

.cart-remove-btn:hover {
    color: #dc2626;
    transform: scale(1.1);
}

.cart-summary-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.cart-summary-title {
    font-size: 1.3rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--gray-700);
}

.summary-row.total-row {
    border-top: 1px solid var(--gray-200);
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--navy);
}

.checkout-notice {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 20px;
    text-align: center;
}

/* ─── CHECKOUT PAGE ───────────────────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.checkout-form-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 35px;
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.4rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    background-color: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.checkout-summary-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.checkout-item-name {
    color: var(--gray-800);
    max-width: 75%;
}

.checkout-item-price {
    font-weight: 600;
    color: var(--navy);
}

/* ─── CONTACT & ABOUT PAGES ───────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card-info {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background-color: var(--cyan-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-text h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.contact-card-text p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.contact-card-text a:hover {
    color: var(--blue);
}

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

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 60px;
}

.stat-card {
    background-color: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-300);
}

/* ─── ALERTS & TOASTS ─────────────────────────────────────────────────────── */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-success {
    background-color: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background-color: var(--info-light);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1100;
}

.toast {
    background-color: var(--white);
    color: var(--gray-800);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--blue);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left-color: var(--success);
}

.toast-error {
    border-left-color: var(--danger);
}

/* ─── FLOATING WHATSAPP BUTTON ────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.7;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ─── BACK TO TOP ─────────────────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--blue);
    transform: translateY(-5px);
}

/* ─── PAGINATION ──────────────────────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.page-link.active {
    background-color: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.page-link:hover:not(.active) {
    background-color: var(--gray-100);
}

/* ─── EMPTY STATE ─────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-100);
    color: var(--gray-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.empty-state h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 25px;
}

/* ─── RESPONSIVE BREAKPOINTS ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-search-box {
        display: none !important;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-bar {
        grid-template-columns: 1fr;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) {
        display: none; /* Hide SKU/Details on mobile if needed */
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   FIBER OPTIC REDESIGN & TECH SCHEME
   ========================================================================== */
:root {
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --neon-cyan: #00f2fe;
    --neon-blue: #0072ff;
    --neon-purple: #7303c0;
    --neon-pink: #ec38bc;
    --glass-bg: rgba(10, 22, 40, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6, .section-title {
    font-family: var(--font-heading);
}

@keyframes fiberPulse {
    0% {
        stroke-dashoffset: 120;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes floatAnim {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes neonGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.6));
    }
}

/* Decorative SVG pulse styling */
.fiber-svg-line {
    stroke-dasharray: 12, 24;
    animation: fiberPulse 3s linear infinite;
}
.fiber-svg-line-fast {
    stroke-dasharray: 8, 16;
    animation: fiberPulse 1.8s linear infinite;
}
.fiber-node {
    animation: neonGlow 2.5s ease-in-out infinite alternate;
    transform-origin: center;
    transition: transform 0.3s ease;
}
.fiber-node:hover {
    transform: scale(1.3);
}

/* Redesigned Hero Section */
.hero {
    background: radial-gradient(circle at 80% 20%, #0c203b 0%, #061021 60%, #030811 100%) !important;
    position: relative;
    z-index: 1;
    padding: 100px 0 140px 0 !important;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--gray-50), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-tag {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(0, 114, 255, 0.15)) !important;
    color: var(--neon-cyan) !important;
    border: 1px solid rgba(0, 242, 254, 0.4) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.1);
}

.hero-title {
    font-size: 3.6rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero-title span {
    background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.hero-search-box {
    background-color: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4) !important;
    border-radius: var(--radius-md) !important;
}

.hero-search-input {
    font-family: var(--font-body);
}

.hero-buttons .btn {
    border-radius: var(--radius-md) !important;
}

/* Neon Glow Category and Product Cards */
.category-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    box-shadow: 0 15px 35px rgba(0, 114, 255, 0.06) !important;
    border-color: rgba(0, 114, 255, 0.2) !important;
}

.category-icon-wrapper {
    background-color: rgba(0, 180, 216, 0.05) !important;
    border: 1px solid rgba(0, 180, 216, 0.12);
    color: var(--blue) !important;
}

/* Product Card Redesign */
.product-card {
    transition: var(--transition) !important;
}

.product-card:hover {
    box-shadow: 0 15px 35px rgba(0, 114, 255, 0.06) !important;
    border-color: rgba(0, 114, 255, 0.2) !important;
}

.product-badge {
    background: linear-gradient(135deg, var(--neon-blue), #0d41b3) !important;
    border-radius: 50px !important;
    padding: 4px 12px !important;
}

.product-badge.sale {
    background: linear-gradient(135deg, var(--danger), #c21a1a) !important;
}

/* Glassmorphic Cyber CTA Panel */
.cta-banner {
    background: radial-gradient(circle at 50% 50%, #081528 0%, #030812 100%) !important;
    color: var(--white);
    padding: 85px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.07) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2.3rem !important;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.cta-banner-buttons {
    display: inline-flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.cta-banner-buttons .btn {
    border-radius: var(--radius-md) !important;
    padding: 14px 28px !important;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    /* 2 Products in line for compact mobile view */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .product-card {
        border-radius: var(--radius) !important;
    }
    .product-card-content {
        padding: 12px !important;
    }
    .product-card-title {
        font-size: 0.85rem !important;
        height: 2.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }
    .product-card-price {
        font-size: 1rem !important;
    }
    .product-card-price-old {
        font-size: 0.75rem !important;
    }
    .product-card-stock {
        margin-bottom: 10px !important;
        font-size: 0.7rem !important;
    }
    .product-card-actions .btn {
        padding: 6px 8px !important;
        font-size: 0.75rem !important;
        gap: 4px !important;
    }
    .product-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        top: 8px !important;
        left: 8px !important;
    }
}

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

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


