/* ==========================================================================
   RUTHENI ECOMMERCE — NEON PREMIUM 2026
   Dark Mode + Cyan/Magenta Neon + Glassmorphism + Motion
   ========================================================================== */

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

:root {
    --bg-deep:       #060b12;
    --bg-dark:       #0a1018;
    --bg-card:       #ffffff;
    --bg-glass:      rgba(6, 14, 22, 0.75);
    --neon-cyan:     #00e5ff;
    --neon-teal:     #00bcd4;
    --neon-dark:     #0097a7;
    --neon-green:    #00e676;
    --neon-blue:     #2196f3;
    --text-white:    #e8f4f8;
    --text-muted:    #7eb8c9;
    --text-dim:      #3d6b7a;
    --text-card:     #1a2b33;
    --text-card-sub: #5a7a85;
    --border-glow:   rgba(0, 229, 255, 0.18);
    --border-subtle: rgba(0, 229, 255, 0.06);
    --border-card:   #dde8ec;
    --shadow-neon:   0 0 20px rgba(0, 229, 255, 0.12), 0 0 60px rgba(0, 229, 255, 0.04);
    --shadow-card:   0 4px 20px rgba(0,20,30,0.08);
    --radius:        12px;
    --radius-lg:     20px;
    --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display:  'Orbitron', monospace;
    --font-body:     'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-white);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

/* Animated background blobs */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}
body::before {
    width: 600px; height: 600px;
    background: var(--neon-cyan);
    top: -200px; right: -200px;
    animation: blobFloat 20s ease-in-out infinite alternate;
}
body::after {
    width: 500px; height: 500px;
    background: var(--neon-teal);
    bottom: -150px; left: -150px;
    animation: blobFloat 25s ease-in-out infinite alternate-reverse;
}
@keyframes blobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(60px, -40px) scale(1.2); }
    100% { transform: translate(-30px, 50px) scale(0.9); }
}

/* ================== TOP BAR ================== */
.top-bar {
    background: rgba(5, 5, 16, 0.9);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.45rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}
.top-bar span:last-child {
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: 0.7rem;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* ================== NAVBAR ================== */
.navbar {
    background: rgba(5, 5, 20, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 5%;
    position: sticky;
    top: 0;
    z-index: 200;
}

.logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.logo-gears {
    font-size: 1.8rem;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    animation: gearPulse 3s ease-in-out infinite;
}
@keyframes gearPulse {
    0%, 100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6)); }
    50%      { transform: rotate(15deg) scale(1.1); filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.9)); }
}
.logo-text h1 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}
.logo-sub {
    font-size: 0.55rem;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
}

.nav-links { display: flex; gap: 0.15rem; }
.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.nav-links a:hover {
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.06);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.cart-icon {
    position: relative;
    width: 44px; height: 44px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--neon-cyan);
    transition: var(--transition);
}
.cart-icon:hover {
    background: rgba(0, 229, 255, 0.12);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    transform: scale(1.1);
}
.cart-badge {
    position: absolute; top: -5px; right: -5px;
    background: #ff5252;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 10px;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 82, 82, 0.5);
}

/* ================== HERO ================== */
.hero {
    background: linear-gradient(135deg, rgba(6,11,18,0.88) 0%, rgba(8,14,22,0.82) 100%),
                url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 7rem 5% 6rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glow);
}
.hero::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-deep) 0%, transparent 100%);
    pointer-events: none;
}
.hero-bg-grid { display: none; }

.hero-badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 229, 255, 0.15); }
    50%      { box-shadow: 0 0 20px rgba(0, 229, 255, 0.35); }
}

.hero-content { position: relative; z-index: 2; }
.hero-content h2 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 700px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: titleSlideIn 1s ease-out forwards;
}
@keyframes titleSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-highlight {
    background: linear-gradient(90deg, var(--neon-cyan), #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.5));
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.4)); }
    50%      { filter: drop-shadow(0 0 30px rgba(0, 255, 204, 0.5)); }
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    animation: titleSlideIn 1s 0.3s ease-out both;
}

.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem;
    animation: titleSlideIn 1s 0.6s ease-out both;
}
.cta-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-dark));
    color: #060b12;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.5), 0 0 80px rgba(0, 229, 255, 0.15);
}
.cta-secondary {
    background: transparent;
    color: var(--text-muted);
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
}
.cta-secondary:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.hero-stats {
    display: flex; gap: 3.5rem;
    animation: titleSlideIn 1s 0.9s ease-out both;
    position: relative; z-index: 2;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}
.stat span { font-size: 0.78rem; color: var(--text-dim); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

/* ================== QUICK CATEGORIES ================== */
.quick-cats {
    background: rgba(5, 5, 16, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.9rem 5%;
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 5;
}
.quick-cats::-webkit-scrollbar { display: none; }
.cat-btn {
    white-space: nowrap;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.cat-btn:hover, .cat-btn.active {
    background: rgba(0, 229, 255, 0.08);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

/* ================== CATALOG ================== */
.container {
    padding: 3rem 5%;
    position: relative;
    z-index: 5;
}
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 500px;
    flex: 1;
    backdrop-filter: blur(10px);
}
.search-icon { margin-left: 1rem; color: var(--text-dim); flex-shrink: 0; }
.search-bar input {
    flex: 1;
    border: none; outline: none;
    padding: 0.8rem 0.8rem;
    font-size: 0.9rem;
    color: var(--text-white);
    background: transparent;
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar button {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-dark));
    color: #060b12;
    border: none;
    padding: 0 1.8rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    height: 100%;
    min-height: 48px;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-display);
    letter-spacing: 1px;
}
.search-bar button:hover { box-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }

.results-info { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1rem; }

/* Loader */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}
.loader-spinner {
    width: 40px; height: 40px;
    border: 3px solid rgba(0, 229, 255, 0.12);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* ================== PRODUCT GRID ================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

/* PRODUCT CARD — GLASS NEON */
.product-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    animation: cardFadeIn 0.6s ease-out both;
}
@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.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; }

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 8px 35px rgba(0, 229, 255, 0.1), 0 20px 50px rgba(0,0,0,0.08);
}
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(0, 229, 255, 0.25) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-card:hover::after { opacity: 1; }

.card-img-wrap {
    background: #f8f9fc;
    border-bottom: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 1.5rem;
    overflow: hidden;
    position: relative;
}
.product-img {
    max-width: 100%; max-height: 160px;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}
.product-card:hover .product-img { transform: scale(1.08); }

.stock-badge {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}
.stock-ok   { background: #e6f9f0; color: #00b894; border: 1px solid #b2f2d9; }
.stock-low  { background: #fff8e1; color: #f39c12; border: 1px solid #ffeaa7; }
.stock-none { background: #fde8e8; color: #e74c3c; border: 1px solid #fab1a0; }

.card-body { padding: 1.1rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.card-brand {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-display);
}
.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-card);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    flex: 1;
}
.card-model { font-size: 0.75rem; color: var(--text-card-sub); font-weight: 500; }

.card-prices { margin-top: 0.7rem; }
.card-usd {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-card);
}
.card-mxn { font-size: 0.8rem; color: var(--text-card-sub); }

.card-footer {
    padding: 0.9rem 1.3rem;
    border-top: 1px solid var(--border-card);
    display: flex; gap: 0.6rem;
}
.btn-detail {
    flex: 1;
    background: rgba(0, 229, 255, 0.05);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-detail:hover {
    background: var(--neon-cyan);
    color: #060b12;
    border-color: var(--neon-cyan);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}
.btn-cart {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, #00acc1 100%);
    color: #060b12;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.25);
    font-family: var(--font-display);
}
.btn-cart:hover {
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.5);
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(135deg, #40f0ff 0%, var(--neon-cyan) 100%);
}

/* ================== CART PANEL — GLASS ================== */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 900;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 420px; max-width: 100%;
    background: rgba(6, 11, 18, 0.96);
    backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-glow);
    z-index: 901;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 2px;
}
.close-btn {
    background: none; border: none;
    font-size: 1.8rem; cursor: pointer;
    color: var(--text-dim); line-height: 1;
    transition: color 0.2s;
}
.close-btn:hover { color: #ff5252; text-shadow: 0 0 10px rgba(255, 82, 82, 0.5); }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-dim); }

.cart-item {
    display: flex; gap: 0.9rem; align-items: center;
    padding: 0.9rem; border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    margin-bottom: 0.8rem;
    background: rgba(255,255,255,0.03);
}
.cart-item img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: rgba(0,0,0,0.3); padding: 4px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h5 { font-size: 0.82rem; font-weight: 600; color: var(--text-white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info .item-price { font-size: 0.85rem; color: var(--neon-cyan); font-weight: 700; }
.cart-item-actions { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.qty-btn {
    width: 28px; height: 26px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 4px;
    cursor: pointer; font-weight: 700; font-size: 0.9rem;
    transition: var(--transition); color: var(--neon-cyan);
}
.qty-btn:hover { background: var(--neon-cyan); color: var(--bg-deep); }
.remove-item-btn { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 1rem; transition: color 0.2s; }
.remove-item-btn:hover { color: #ff5252; }

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}
.cart-summary-lines {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.summary-line.total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
}
.total-group {
    text-align: right;
}
.total-usd {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 2px;
}
.total-mxn {
    display: block;
    color: var(--neon-cyan);
    font-size: 1.1rem;
    font-weight: 800;
}
.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--neon-cyan), #00acc1);
    color: #060b12;
    border: none;
    padding: 1.1rem;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center; justify-content: center; gap: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.checkout-btn:hover {
    box-shadow: 0 4px 25px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

/* ================== PRODUCT MODAL — GLASS ================== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    z-index: 950;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.product-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: 94%; max-width: 1020px;
    max-height: 92vh; overflow-y: auto;
    background: rgba(6, 11, 18, 0.97);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.1), 0 30px 80px rgba(0,0,0,0.6);
    z-index: 951;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.product-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }

/* Scrollbar style for modal */
.product-modal::-webkit-scrollbar { width: 6px; }
.product-modal::-webkit-scrollbar-track { background: transparent; }
.product-modal::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.2); border-radius: 3px; }

.modal-close-btn {
    position: absolute; top: 1rem; right: 1.2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim); transition: var(--transition);
}
.modal-close-btn:hover { background: rgba(255, 82, 82, 0.15); color: #ff5252; border-color: rgba(255, 82, 82, 0.3); }

.modal-body { display: grid; grid-template-columns: 1fr 1.3fr; min-height: 500px; }

.modal-gallery {
    background: rgba(0,0,0,0.3);
    border-right: 1px solid var(--border-subtle);
    padding: 2rem 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
}
.modal-main-img { max-width: 100%; max-height: 300px; object-fit: contain; display: block; margin: 0 auto; filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5)); }
.modal-thumbnails { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
.modal-thumb {
    width: 56px; height: 56px; object-fit: contain;
    border: 2px solid rgba(255,255,255,0.08); border-radius: 8px;
    cursor: pointer; padding: 3px; background: rgba(0,0,0,0.3);
    transition: var(--transition);
}
.modal-thumb:hover, .modal-thumb.active { border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 229, 255, 0.3); }

.modal-info { padding: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.modal-brand-row { display: flex; align-items: center; gap: 0.7rem; }
.modal-brand-logo { height: 28px; object-fit: contain; }
.modal-brand-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-display);
}
.modal-title { font-size: 1.15rem; font-weight: 700; color: var(--text-white); line-height: 1.3; }
.modal-model { font-size: 0.85rem; color: var(--text-dim); }

.modal-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    background: rgba(0,0,0,0.2);
    max-height: 250px;
    overflow-y: auto;
}
.modal-desc table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.modal-desc table td, .modal-desc table th {
    padding: 6px 10px;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}
.modal-desc table th { background: rgba(0, 229, 255, 0.05); color: var(--neon-cyan); font-weight: 600; }
.modal-desc img { max-width: 100%; height: auto; border-radius: 6px; margin: 0.5rem 0; }

.modal-stock { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; }

.modal-price-box {
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
}
.modal-price-usd {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-white);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.modal-price-mxn { font-size: 1rem; color: var(--neon-cyan); font-weight: 700; }
.modal-price-note { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.3rem; }

.modal-features { display: flex; flex-direction: column; gap: 0.35rem; }
.modal-features h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 6px;
}
.modal-feature-item {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.83rem; color: var(--text-muted);
}
.modal-feature-item::before { content: '▸'; color: var(--neon-cyan); font-weight: 700; flex-shrink: 0; }

.modal-cta-row { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
.modal-add-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, #00acc1 100%);
    color: #060b12;
    border: none;
    padding: 1.1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    transition: var(--transition);
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}
.modal-add-btn:hover {
    box-shadow: 0 8px 35px rgba(0, 229, 255, 0.5);
    background: linear-gradient(135deg, #40f0ff 0%, var(--neon-cyan) 100%);
    transform: translateY(-2px);
}
    letter-spacing: 1px;
    text-transform: uppercase;
}
.modal-add-btn:hover { box-shadow: 0 0 25px rgba(0, 229, 255, 0.4); }

.modal-resources { margin-top: 0.5rem; border-top: 1px solid var(--border-subtle); padding-top: 0.8rem; }
.modal-resources h4 {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.resource-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.8rem; color: var(--neon-cyan); text-decoration: none;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 0.35rem 0.8rem; border-radius: 6px;
    margin-right: 0.4rem; margin-bottom: 0.4rem; font-weight: 600;
    transition: var(--transition);
}
.resource-link:hover { background: rgba(0, 229, 255, 0.15); box-shadow: 0 0 10px rgba(0, 229, 255, 0.2); }

/* ================== FOOTER ================== */
footer {
    background: rgba(5, 5, 15, 0.98);
    border-top: 1px solid var(--border-glow);
    color: var(--text-muted);
    margin-top: 4rem;
    position: relative;
    z-index: 5;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 5%;
}
.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--neon-cyan);
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}
.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0, 229, 255, 0.4); }
.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 1.2rem 5%;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 900px) {
    .hero-content h2 { font-size: 2.2rem; }
    .modal-body { grid-template-columns: 1fr; }
    .modal-gallery { border-right: none; border-bottom: 1px solid var(--border-subtle); }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 680px) {
    .navbar { padding: 0.8rem 4%; }
    .nav-links { display: none; }
    .hero { padding: 4rem 4% 3rem; }
    .hero-content h2 { font-size: 1.7rem; letter-spacing: 1px; }
    .hero-stats { gap: 1.5rem; }
    .stat strong { font-size: 1.3rem; }
    .catalog-header { flex-direction: column; align-items: stretch; }
    .search-bar { max-width: 100%; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
    .card-img-wrap { height: 150px; }
}

/* ================== QUOTE MODAL ================== */
.quote-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: 94%; max-width: 620px;
    max-height: 92vh; overflow-y: auto;
    background: rgba(8, 8, 25, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(108, 92, 231, 0.15), 0 30px 80px rgba(0,0,0,0.7);
    z-index: 960;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.quote-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.quote-modal::-webkit-scrollbar { width: 6px; }
.quote-modal::-webkit-scrollbar-thumb { background: rgba(108, 92, 231, 0.2); border-radius: 3px; }

.quote-modal-inner { padding: 2.5rem 2rem 2rem; }

.quote-modal-header { text-align: center; margin-bottom: 1.8rem; }
.quote-icon { font-size: 2.5rem; margin-bottom: 0.6rem; }
.quote-modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.quote-modal-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

.quote-cart-summary {
    background: rgba(108, 92, 231, 0.05);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    max-height: 160px;
    overflow-y: auto;
}
.quote-cart-summary::-webkit-scrollbar { width: 4px; }
.quote-cart-summary::-webkit-scrollbar-thumb { background: rgba(108, 92, 231, 0.2); border-radius: 3px; }
.quote-cart-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.quote-cart-row:last-child { border-bottom: none; }
.quote-cart-name { color: var(--text-white); font-size: 0.8rem; flex: 1; }
.quote-cart-qty { color: var(--text-dim); margin: 0 0.8rem; white-space: nowrap; }
.quote-cart-price { color: var(--neon-gold); font-weight: 700; white-space: nowrap; font-size: 0.82rem; }
.quote-cart-total {
    display: flex; justify-content: space-between;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(108, 92, 231, 0.2);
    font-weight: 700;
    color: var(--text-white);
}
.quote-cart-total span:last-child { color: var(--neon-cyan); font-family: var(--font-display); font-size: 0.9rem; }

.quote-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.field-group--full { grid-column: 1 / -1; }
.field-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.field-group label span { color: var(--neon-magenta); }
.field-group input,
.field-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: var(--text-white);
    font-size: 0.88rem;
    font-family: var(--font-body);
    transition: var(--transition);
    width: 100%;
    resize: vertical;
}
.field-group input:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(108, 92, 231, 0.07);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--text-dim); }

.quote-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0.95rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    transition: var(--transition);
    box-shadow: 0 0 25px rgba(108, 92, 231, 0.3);
}
.quote-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.5);
}
.quote-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.quote-success {
    text-align: center;
    padding: 2rem 1rem;
}
.quote-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.quote-success h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--neon-green);
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}
.quote-success p { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 520px) {
    .quote-fields { grid-template-columns: 1fr; }
    .quote-modal-inner { padding: 2rem 1.2rem 1.5rem; }
}

/* ================== PAYMENT MODAL ================== */
.payment-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: 94%; max-width: 540px;
    max-height: 92vh; overflow-y: auto;
    background: rgba(6, 6, 18, 0.99);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(108, 92, 231, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 80px rgba(108, 92, 231, 0.2), 0 30px 80px rgba(0,0,0,0.8);
    z-index: 970;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.payment-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.payment-modal::-webkit-scrollbar { width: 6px; }
.payment-modal::-webkit-scrollbar-thumb { background: rgba(108,92,231,.2); border-radius: 3px; }
.payment-modal-inner { padding: 2.5rem 2rem 2rem; }
.payment-modal-header { text-align: center; margin-bottom: 1.5rem; }
.payment-icon { font-size: 2.2rem; margin-bottom: 0.5rem; }
.payment-modal-header h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--text-white); letter-spacing: 2px; margin-bottom: 0.4rem; }
.payment-modal-header p { font-size: 0.82rem; color: var(--text-muted); }
.payment-cart-summary { background: rgba(108,92,231,.05); border: 1px solid rgba(108,92,231,.15); border-radius: var(--radius); padding: 0.9rem 1rem; margin-bottom: 1.4rem; font-size: 0.82rem; max-height: 140px; overflow-y: auto; }
.mp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.mp-input-container { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; height: 44px; transition: var(--transition); overflow: hidden; }
.mp-input-container:focus-within { border-color: var(--neon-cyan); background: rgba(108,92,231,.07); box-shadow: 0 0 0 3px rgba(108,92,231,.12); }
.mp-select { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 0.65rem 0.9rem; color: var(--text-white); font-size: 0.88rem; font-family: var(--font-body); width: 100%; transition: var(--transition); cursor: pointer; }
.mp-select:focus { outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 0 3px rgba(108,92,231,.12); }
.mp-select option { background: #0b0b1e; color: var(--text-white); }
.mp-secure-badge { text-align: center; font-size: 0.75rem; color: var(--text-dim); margin-bottom: 1rem; letter-spacing: 0.5px; }
.payment-submit-btn { width: 100%; background: linear-gradient(135deg, #00b894, #00cec9); color: white; border: none; border-radius: var(--radius); padding: 1rem 1.5rem; font-size: 0.95rem; font-weight: 700; font-family: var(--font-display); letter-spacing: 2px; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.6rem; transition: var(--transition); box-shadow: 0 0 25px rgba(0,184,148,.3); }
.payment-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0,184,148,.5); }
.payment-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.payment-result { text-align: center; padding: 2rem 1rem; }
.result-icon { font-size: 3rem; margin-bottom: 1rem; }
.payment-result h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 0.6rem; }
#paymentSuccess h3 { color: var(--neon-green); }
#paymentPending h3 { color: var(--neon-gold); }
#paymentError h3   { color: var(--neon-magenta); }
.payment-result p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 520px) { .mp-fields { grid-template-columns: 1fr; } .payment-modal-inner { padding: 2rem 1.2rem 1.5rem; } }

/* ================== MP CART BADGE + QUOTE SPECIAL BTN ================== */
.mp-cart-badge {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    font-size: 0.72rem; color: var(--text-dim);
    background: rgba(0,177,234,.06);
    border: 1px solid rgba(0,177,234,.15);
    border-radius: 8px; padding: 0.45rem 0.8rem;
    margin-bottom: 0.7rem; letter-spacing: 0.3px;
}
.mp-brand {
    font-weight: 800; color: #00b1ea;
    text-shadow: 0 0 8px rgba(0,177,234,.4);
}
.checkout-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    box-shadow: 0 0 20px rgba(0,184,148,.3);
}
.checkout-btn:hover { box-shadow: 0 0 35px rgba(0,184,148,.5); }

.quote-special-btn {
    width: 100%; margin-top: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text-muted);
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
}
.quote-special-btn:hover {
    border-color: var(--neon-gold);
    color: var(--neon-gold);
    background: rgba(253,203,110,.05);
}

/* Resaltar badge en modal de pago */
.mp-secure-badge {
    background: rgba(0,177,234,.07);
    border: 1px solid rgba(0,177,234,.2);
    border-radius: 8px; padding: 0.5rem 1rem;
    color: #00b1ea; font-weight: 600;
    font-size: 0.78rem; letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0,177,234,.3);
}

/* ================== MP BADGE MEJORADO ================== */
.mp-cart-badge {
    background: linear-gradient(135deg, rgba(0,177,234,.08), rgba(0,177,234,.03));
    border: 1px solid rgba(0,177,234,.25);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.mp-badge-top {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.72rem; font-weight: 700;
    color: #00b1ea; letter-spacing: 0.8px; text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0,177,234,.4);
}
.mp-logo-img {
    height: 22px; width: auto;
    filter: brightness(1.1);
}
.mp-logo-inline { height: 16px; vertical-align: middle; margin-left: 4px; }
.mp-cards-row {
    display: flex; gap: 5px; align-items: center; flex-wrap: wrap; justify-content: center;
}
.card-chip {
    font-size: 0.6rem; font-weight: 900; letter-spacing: 0.5px;
    padding: 2px 7px; border-radius: 4px; color: white;
}
.card-chip.visa  { background: #1a1f71; }
.card-chip.mc    { background: #eb001b; }
.card-chip.amex  { background: #007bc1; }
.card-chip.oxxo  { background: #da0000; }
.card-chip.spei  { background: #00723a; }

/* Badge en modal de pago */
.mp-secure-badge {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(0,177,234,.1), rgba(0,177,234,.04));
    border: 1px solid rgba(0,177,234,.25);
    border-radius: 10px; padding: 0.6rem 1rem;
    color: #00b1ea; font-size: 0.75rem; font-weight: 600;
    text-shadow: 0 0 10px rgba(0,177,234,.3);
    margin-bottom: 1rem;
}

/* Fix colores MP badge — texto blanco */
.mp-badge-top { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.2); }
.mp-logo-img { filter: brightness(0) invert(1); opacity: 0.9; }
.mp-secure-badge { color: #fff; text-shadow: none; }
.mp-logo-fallback { color: #fff !important; }

/* Restaurar logo MP con colores reales */
.mp-logo-img { filter: none; opacity: 1; }

/* Solo texto blanco, logo sin tocar */
.mp-badge-top, .mp-badge-top span, .mp-secure-badge, .mp-brand { color: #ffffff !important; text-shadow: none !important; }

.mp-logo-svg { height: 26px; width: auto; }
.mp-logo-inline { height: 20px; vertical-align: middle; margin-left: 4px; }

.mp-logo-text { font-size: 0.95rem; font-weight: 900; color: #ffffff; letter-spacing: 0.5px; font-family: var(--font-body); }
.mp-dot { color: #009ee3; font-size: 1.1rem; }

.mp-section-title {
    grid-column: 1 / -1;
    font-size: 0.75rem; font-weight: 700;
    color: var(--neon-gold);
    text-transform: uppercase; letter-spacing: 1.5px;
    padding: 0.4rem 0 0.1rem;
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: 0.3rem;
}

/* ================== CART BUTTON (navbar) ================== */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 30px;
    padding: 8px 16px 8px 10px;
    cursor: pointer;
    color: var(--neon-cyan);
    transition: var(--transition);
    white-space: nowrap;
}
.cart-btn:hover {
    background: rgba(0, 229, 255, 0.18);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
    transform: scale(1.04);
}
.cart-btn-icon {
    position: relative;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cart-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--neon-cyan);
}

/* ================== PAY NOW (product card) ================== */
.card-pay-now {
    padding: 0 1rem 1rem;
}
.btn-pay-now {
    width: 100%;
    padding: 9px 0;
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    color: #0b0b1e;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(253,203,110,.35);
}
.btn-pay-now:hover {
    background: linear-gradient(135deg, #ffe08a 0%, #fdcb6e 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(253,203,110,.5);
}

/* ================== LOAD MORE ================== */
.btn-load-more {
    padding: 12px 32px;
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid rgba(0,229,255,.35);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-load-more:hover {
    background: rgba(0,229,255,.08);
    box-shadow: 0 0 18px rgba(0,229,255,.25);
}

/* Category loading placeholder */
.cats-loading {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0.5rem 0;
}
