/* ============================================
   NetwilSoft â€” Premium Professional Dark v6
   Inspired by: Linear, Vercel, Stripe, Raycast
   Enterprise Â· Polished Â· Performance-First
   ============================================ */

/* Fonts loaded via <link> in header.php â€” no @import duplication */

/* ============================================
   Design Tokens
   ============================================ */
:root {
    /* Backgrounds â€” Premium Obsidian Glass */
    --bg-body: #000000;
    --bg-primary: #050505;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --bg-card-solid: #0a0a0a;
    --bg-elevated: rgba(255, 255, 255, 0.04);
    --bg-input: rgba(255, 255, 255, 0.02);
    --bg-modal: rgba(0, 0, 0, 0.85);
    --bg-surface: rgba(10, 10, 10, 0.7);

    /* Legacy aliases */
    --bg-secondary: #080808;

    /* Accents â€” Premium Emerald (Green) */
    --accent-primary: #10b981; /* Emerald */
    --accent-primary-light: #4ade80; /* Light Green */
    --accent-primary-muted: rgba(16, 185, 129, 0.15);
    --accent-cyan: #059669;
    --accent-blue: #10b981;
    --accent-pink: #ec4899;
    --accent-tertiary: #ef4444; /* Keep red for danger */
    --accent-success: #22c55e; /* Keep green for success */
    --accent-warning: #f59e0b; /* Keep amber for warnings */
    --accent-gold: #f59e0b;

    /* Gradients â€” Premium Modern */
    --gradient-primary: linear-gradient(135deg, #047857, #34d399);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.0));
    --gradient-hot: linear-gradient(135deg, #ec4899, #f59e0b);
    --gradient-success: linear-gradient(135deg, #22c55e, #10b981);
    --gradient-border: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(5, 150, 105, 0.1));

    /* Text â€” Crisp White on Black */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-accent: #4ade80;

    /* Borders â€” Ultra Thin Glass */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.03);
    --border-accent: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(0, 0, 0, 0.5);

    /* Shadows â€” Deep & Diffuse */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 30px rgba(255, 255, 255, 0.05);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-color);

    /* Spacing â€” Compact */
    --space-xs: 6px;
    --space-sm: 10px;
    --space-md: 14px;
    --space-lg: 20px;
    --space-xl: 28px;

    /* Radii â€” Smooth */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s var(--ease);
    --transition-normal: 0.3s var(--ease);

    /* Layout */
    --max-width: 100%;
    --nav-height: 56px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Smooth scrolling at OS level â€” no JS needed */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: clip;
}

/* Noise texture removed â€” caused repaint on every scroll frame */
.page-wrapper {
    position: relative;
    overflow-x: clip;
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader .loader-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    animation: loader-pulse 1.8s ease-in-out infinite;
}

.page-loader .loader-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.page-loader .loader-logo .accent {
    color: var(--accent-primary-light);
}

.page-loader .loader-bar {
    width: 160px;
    height: 3px;
    background: var(--bg-elevated);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.page-loader .loader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loader-progress 1.2s ease-in-out infinite;
    transform-origin: left;
}

@keyframes loader-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

@keyframes loader-progress {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

a {
    color: var(--accent-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

input,
textarea,
select {
    font-family: var(--font-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.4);
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-top: var(--nav-height);
}

/* ============================================
   Navigation â€” Slim & Clean
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    /* GPU-promote the navbar itself so blur doesn't repaint on scroll */
    will-change: transform;
    transform: translateZ(0);
    contain: layout style;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.7);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo:hover {
    color: var(--text-primary);
}

.nav-logo span.accent {
    color: var(--accent-primary-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.86rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-links a i {
    font-size: 0.72rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: var(--accent-primary);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--accent-primary-muted);
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links a.active {
    color: var(--accent-primary-light);
    background: var(--accent-primary-muted);
}

.nav-links a.active::after {
    width: 60%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-primary-muted);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.nav-cart:hover {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.18);
    color: var(--text-primary);
}

.nav-cart .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent-tertiary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-body);
    padding: 0;
    padding-top: 1px; /* Ajuste Ã³ptico para centrar la fuente */
}

.nav-cart .cart-count.hidden {
    display: none;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    padding: 6px;
}

.nav-mobile-toggle span {
    width: 18px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

/* ============================================
   Hero â€” Impactful but Compact
   ============================================ */
.hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    padding: 36px 0 28px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -40% 0 -40% 0;
    z-index: 0;
    will-change: transform;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 0%;
    width: 55%;
    height: 70%;
    background: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: 0%;
    width: 45%;
    height: 55%;
    background: none;
}

@keyframes float-glow {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(20px, -15px) scale(1.05)
    }

    66% {
        transform: translate(-15px, 12px) scale(0.97)
    }
}

#particles-canvas {
    position: absolute;
    inset: -20% 0 -20% 0;
    z-index: 1;
    transform: translateZ(0);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-primary-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    color: var(--accent-primary-light);
    font-weight: 600;
    margin-bottom: 16px;
    animation: fade-in-up 0.5s ease forwards;
    letter-spacing: 0.02em;
    position: relative;
    max-width: 100%;
    flex-wrap: wrap;
    word-break: break-word;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: badge-shimmer 3s ease-in-out infinite;
}

/* Hero Payment Methods Icons */
.hero-payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    animation: fade-in-up 0.5s ease 0.05s forwards;
    opacity: 0;
    flex-wrap: wrap;
}

.hero-payment-methods .payment-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.hero-payment-methods .payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-payment-methods .payment-icons img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
    display: inline-block;
}

.hero-payment-methods .payment-icons img:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@keyframes badge-shimmer {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

.hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    animation: fade-in-up 0.6s ease 0.1s forwards;
    opacity: 0;
    letter-spacing: -0.03em;
}

.hero h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 600px;
    animation: fade-in-up 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    animation: fade-in-up 0.6s ease 0.3s forwards;
    opacity: 0;
}

/* Premium animated CTA button */
.btn-hero-primary {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    padding: 11px 28px;
    border-radius: var(--radius-md);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35), 0 0 0 1px rgba(16, 185, 129, 0.2);
    color: #fff;
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-primary:active {
    transform: translateY(0) scale(0.98);
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 28px;
    animation: fade-in-up 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    position: relative;
}

.hero-stat+.hero-stat::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: var(--border-color);
}

.hero-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary-light);
}

.hero-stat .stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1px;
    font-weight: 500;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ============================================
   Buttons â€” Compact & Clean
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.82rem;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary-muted);
    color: var(--text-primary);
}

.btn-accent {
    background: var(--gradient-primary);
    color: #fff;
}

.btn-danger {
    background: var(--accent-tertiary);
    color: #fff;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 10px 22px;
    font-size: 0.86rem;
    border-radius: var(--radius-md);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 44px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section-header>* {
    position: relative;
    z-index: 1;
}

.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent-primary-muted);
    border: 1px solid rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    color: var(--accent-primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto;
    font-size: 0.88rem;
}

/* ============================================
   Category Filters
   ============================================ */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: var(--accent-primary-muted);
}

.filter-btn.active {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    font-weight: 600;
}

/* ============================================
   Catalog Toolbar â€” Search + Filters
   ============================================ */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.catalog-toolbar .category-filters {
    margin-bottom: 0;
}

/* Search Box */
.search-box {
    position: relative;
    flex: 1;
    max-width: 340px;
    min-width: 200px;
}

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.78rem;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.search-box input {
    width: 100%;
    padding: 8px 34px 8px 34px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.84rem;
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    outline: none;
}

.search-box input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.search-box input:focus+.search-icon,
.search-box input:focus~.search-icon {
    color: var(--accent-primary-light);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-elevated);
    color: var(--text-muted);
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-clear:hover {
    color: var(--text-primary);
    background: var(--accent-primary-muted);
}

/* No Results */
.search-no-results {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.search-no-results i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.4;
}

.search-no-results p {
    font-size: 0.88rem;
}

.search-no-results span {
    color: var(--accent-primary-light);
    font-weight: 600;
}

/* ============================================
   Product Cards â€” Performance Optimized
   Premium image loading with skeleton + smooth reveal
/* ============================================
   Product Cards â€” Ultra Premium & Hyper-Optimized
/* ============================================
   Product Cards â€” Ultra Premium & Hyper-Optimized
/* ============================================
   Product Cards â€” Ultra Premium & Hyper-Optimized
   ============================================ */

/* Entrance animation â€” single definition at Scroll Animations section below */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 40px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    contain: layout style;
    /* Removido content-visibility y will-change para evitar flash y lag en carruseles */
}

.product-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.product-card .card-image {
    position: relative;
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
}

.product-card .card-image img,
.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-image.img-loaded img,
.product-image-wrapper.img-loaded img {
    opacity: 1;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

/* Elegante lÃ­nea de gradiente en la parte superior */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary-light), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-card:hover::after {
    opacity: 1;
}

/* Skeleton shimmer */
.card-image::before,
.product-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        transparent 100%);
    animation: skeleton-slide 1.5s infinite linear;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-image.img-loaded::before,
.product-image-wrapper.img-loaded::before {
    opacity: 0;
    animation: none;
}

@keyframes skeleton-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(200%); }
}

/* Badges Profesionales */
/* Badges Profesionales */
.product-card .card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 20, 33, 0.9); /* Aumentada la opacidad para compensar la falta de blur */
    color: #e2e8f0;
}

.card-badge.games { border-color: rgba(236, 72, 153, 0.3); color: #fbcfe8; }
.card-badge.streaming { border-color: rgba(16, 185, 129, 0.3); color: #e0e7ff; }
.card-badge.software { border-color: rgba(59, 130, 246, 0.3); color: #dbeafe; }
.card-badge.other { border-color: rgba(245, 158, 11, 0.3); color: #fef3c7; }

/* Discount Ribbon */
.card-discount-badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 4;
    background: var(--accent-tertiary);
    color: #fff;
    border-radius: 6px 0 0 0;
}

.card-discount-badge i { font-size: 0.56rem; margin-right: 2px; }

.card-price-original {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

/* Detalles de Producto - Descuentos y Originales */
.product-detail-discount {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: var(--accent-tertiary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-left: 6px;
    vertical-align: middle;
}

.product-detail-discount i { font-size: 0.62rem; }

.product-price-original-large {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 4px;
}

.variant-pill-discount {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    background: var(--accent-tertiary);
    color: #fff;
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    white-space: nowrap;
    margin-left: 6px;
}

.variant-pill-original-price {
    font-size: 0.66rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.55;
    margin-right: 3px;
}

.product-card .card-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #f8fafc;
    line-height: 1.3;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.product-card:hover .card-title {
    color: var(--accent-primary-light);
}

.product-card .card-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-card .card-price-prefix {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    line-height: 1;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%; /* Force line break before prices */
}

.product-card .card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card .card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 6px;
    row-gap: 2px;
}

.product-card .card-price .local-price {
    width: 100%; /* Forces COP price to next line */
    margin-top: 2px;
}

.product-card .card-price .currency {
    font-size: 1.12rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
}

.product-card .card-stock {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}


.product-card .card-stock i {
    font-size: 0.5rem;
    color: var(--accent-success);
}

.product-card .card-stock.low i { color: var(--accent-warning); }
.product-card .card-stock.out i { color: var(--accent-tertiary); }

/* Vercel/Stripe-style Minimalist Button */
.product-card .add-to-cart-btn {
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card .add-to-cart-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #f8fafc;
    transform: translateY(-2px);
}

.product-card .add-to-cart-btn:active {
    transform: translateY(0);
}

.product-card .add-to-cart-btn.added {
    background: var(--accent-success);
    border-color: var(--accent-success);
    color: #fff;
}

@keyframes cart-bounce {
    0%, 100% { transform: scale(1) }
    50% { transform: scale(1.05) }
}

/* ============================================
   Trust Bar â€” Social Proof Strip
   ============================================ */
.trust-bar {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), rgba(5, 150, 105, 0.02));
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-item i {
    font-size: 1rem;
    color: var(--accent-primary-light);
}

.trust-item .trust-value {
    font-weight: 800;
    color: var(--text-primary);
}

/* ============================================
   Features â€” Enterprise Steps
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    position: relative;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.06);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .feature-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-2deg);
}

.feature-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

/* Step number badge */
.feature-card .step-num {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.3;
    font-family: var(--font-mono);
}

/* ============================================
   Product Detail â€” Efficient Layout
   ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    padding: 28px 0;
    align-items: start;
}

/* Wrapper for left column to make everything sticky together */
.product-left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--nav-height) + 16px);
    will-change: transform;
    transform: translateZ(0);
    z-index: 1;
    align-self: start;
}

.product-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    aspect-ratio: 16/9;
    position: relative;
    /* Sticky is now handled by the parent */
}

/* Trust Badges Grid to fill empty space */
.product-trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.trust-badge-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.trust-badge-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.trust-badge-icon {
    width: 38px;
    height: 38px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.trust-badge-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.trust-badge-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.product-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        transparent 100%);
    animation: skeleton-slide 1.5s infinite linear;
    z-index: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    will-change: transform;
}

.product-image-wrapper.img-loaded::before {
    opacity: 0;
    pointer-events: none;
    animation: none;
    will-change: auto;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: opacity;
}

.product-image-wrapper.img-loaded img {
    opacity: 1;
    will-change: auto;
}

.product-info {
    max-width: 100%;
    /* Isolate layout recalculations from image side */
    contain: layout style;
}

.product-info h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.product-info .product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Price Box â€” Premium 2-Column Layout */
.product-info .product-price-box {
    background: linear-gradient(160deg, 
        rgba(15, 20, 40, 0.9), 
        rgba(10, 14, 30, 0.95) 40%,
        rgba(12, 16, 35, 0.92));
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    position: relative;
    overflow: hidden;
    contain: layout style;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-info .product-price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

/* Subtle corner glow */
.product-info .product-price-box::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* â”€â”€ Left column: Price info â”€â”€ */
.ppb-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ppb-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ppb-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ppb-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

/* Currency tag in header label */
.ppb-currency-tag {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--accent-primary-light);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.8px;
}

/* Force local currency (COP) to its own clean row */
.ppb-price-row .local-price {
    width: 100%;
    margin-top: 2px;
}

/* â”€â”€ Right column: Status + Trust â”€â”€ */
.ppb-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.ppb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.ppb-badge i {
    font-size: 0.5rem;
}

.ppb-badge-stock {
    color: var(--accent-success);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.ppb-badge-stock i {
    font-size: 6px;
    animation: stock-pulse 2s ease-in-out infinite;
}

@keyframes stock-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.ppb-badge-delivery {
    color: var(--accent-warning);
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.ppb-badge-delivery i {
    font-size: 0.6rem;
}

/* Trust seal */
.ppb-trust {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0;
    letter-spacing: 0.2px;
}

.ppb-trust i {
    font-size: 0.78rem;
    color: var(--accent-primary-light);
    opacity: 0.7;
}

.product-price-large {
    font-size: 1.65rem;
    font-weight: 900;
    color: #f1f5f9;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, #f1f5f9 30%, var(--accent-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* â”€â”€ Variant Selector â€” Organized Premium â”€â”€ */
.variant-selector {
    margin-bottom: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    overflow: hidden;
    /* Isolate variant repaints from surrounding content */
    contain: layout style paint;
}

/* Top accent gradient line */
.variant-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

/* â”€â”€ Header: Label + Count â”€â”€ */
.variant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.variant-selector .variant-label {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.variant-selector .variant-label i {
    color: var(--accent-primary-light);
    font-size: 0.85rem;
}

.variant-count {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.06);
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

/* â”€â”€ Pills Grid â”€â”€ */
.variant-pills {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

/* â”€â”€ Individual Variant Card â”€â”€ */
.variant-pill {
    position: relative;
    padding: 0;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    /* Specific properties only â€” 'all' causes layout thrashing on scroll */
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* â”€â”€ Hover â”€â”€ */
.variant-pill:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* â”€â”€ Active â”€â”€ */
.variant-pill.active {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.06);
    box-shadow:
        0 0 0 1px rgba(16, 185, 129, 0.15),
        0 4px 20px rgba(16, 185, 129, 0.08);
}

/* â”€â”€ Radio Indicator â”€â”€ */
.variant-pill-radio {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.15);
    /* Specific properties â€” avoids layout thrashing from 'all' */
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    z-index: 2;
    box-sizing: border-box;
}

.variant-pill:hover .variant-pill-radio {
    border-color: rgba(16, 185, 129, 0.35);
}

.variant-pill.active .variant-pill-radio {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Checkmark inside active radio */
.variant-pill.active .variant-pill-radio::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.5L3.5 8.5l1-1 2 2 4.5-4.5 1 1z' fill='white'/%3E%3C/svg%3E");
    background-size: 13px 13px;
    background-position: center;
    background-repeat: no-repeat;
}

/* â”€â”€ Content Zone â”€â”€ */
.variant-pill-content {
    padding: 14px 16px 10px;
    padding-right: 38px;
    /* space for radio */
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.variant-pill .variant-pill-name {
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-primary);
    word-break: break-word;
    hyphens: auto;
    transition: color 0.2s ease;
}

.variant-pill.active .variant-pill-name {
    color: #fff;
}

/* â”€â”€ Footer Zone â€” Price â”€â”€ */
.variant-pill-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.12);
    /* Specific properties â€” avoids layout thrashing */
    transition: border-top-color 0.2s ease, background 0.2s ease;
}

.variant-pill.active .variant-pill-footer {
    border-top-color: rgba(16, 185, 129, 0.15);
    background: rgba(16, 185, 129, 0.05);
}

.variant-pill .variant-pill-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent-primary-light);
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.variant-pill.active .variant-pill-price {
    color: #a5b4fc;
}

.variant-pill-currency {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

/* â”€â”€ Out-of-Stock â”€â”€ */
.variant-pill.out-of-stock {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(0.4);
}

.variant-pill.out-of-stock .variant-pill-radio {
    border-color: rgba(148, 163, 184, 0.08);
}

.variant-pill.out-of-stock .variant-pill-name::after {
    content: ' Â· Agotado';
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--accent-tertiary);
}

.product-info .description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 0.86rem;
}

/* â”€â”€ Product Actions Row â€” Add + Go to Cart â”€â”€ */
.product-actions-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.product-actions-row .product-add-btn {
    flex: 1;
    justify-content: center;
}

.product-actions-row .product-goto-cart-btn {
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 200px;
    padding-left: 28px;
    padding-right: 28px;
}

/* Detail Tabs */
.detail-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 14px;
}

.detail-tab {
    padding: 9px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color var(--transition-fast), border-bottom-color var(--transition-fast);
    white-space: nowrap;
}

.detail-tab:hover {
    color: var(--text-secondary);
}

.detail-tab.active {
    color: var(--accent-primary-light);
    border-bottom-color: var(--accent-primary);
}

.detail-tab-content {
    display: none;
}

.detail-tab-content.active {
    display: block;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-features li i {
    color: var(--accent-success);
    margin-top: 2px;
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* Accordion */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.82rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.accordion-header:hover {
    background: var(--bg-card-hover);
}

.accordion-header i.chevron {
    transition: transform var(--transition-normal);
    font-size: 0.72rem;
}

.accordion-header.active i.chevron {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: var(--bg-card);
}

.accordion-body.open {
    max-height: 500px;
}

.accordion-body-content {
    padding: 12px 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.82rem;
    white-space: pre-line;
}

/* ============================================
   Shopping Cart â€” Compact
   ============================================ */
.cart-section {
    padding: 20px 0;
}

.cart-empty {
    text-align: center;
    padding: 56px 20px;
}

.cart-empty i {
    font-size: 2.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: block;
    opacity: 0.5;
}

.cart-empty h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.cart-empty p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.88rem;
}

/* ============================================
   Trust Panel (3-column layout left side)
   ============================================ */
.trust-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

.trust-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.trust-panel-header i {
    font-size: 1.4rem;
    color: var(--accent-success);
}

.trust-panel-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trust-item .icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-primary-muted);
    color: var(--accent-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.trust-item.binance .icon-box {
    background: rgba(240, 185, 11, 0.1);
    color: #f0b90b;
}

.trust-item.success .icon-box {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-success);
}

.trust-item-content h4 {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 3px;
    font-weight: 600;
}

.trust-item-content p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .trust-panel {
        display: none;
    }
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 600px) 1fr;
    gap: 40px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    display: flex;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.cart-item:hover {
    border-color: rgba(16, 185, 129, 0.15);
}

.cart-item .item-image {
    width: 72px;
    height: 54px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-primary);
}

.cart-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item .item-details {
    flex: 1;
    min-width: 0;
}

.cart-item .item-name {
    font-weight: 600;
    font-size: 0.86rem;
    margin-bottom: 2px;
}

.cart-item .item-category {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cart-item .item-price {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--accent-primary-light);
}

.cart-item .item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    padding: 1px;
}

.quantity-control button {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-primary);
    border-radius: 4px;
    font-size: 0.76rem;
    transition: all var(--transition-fast);
}

.quantity-control button:hover {
    background: var(--accent-primary-muted);
}

.quantity-control .qty-value {
    font-weight: 600;
    min-width: 22px;
    text-align: center;
    font-size: 0.82rem;
}

.cart-item .remove-btn {
    background: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border-radius: var(--radius-xs);
    transition: all var(--transition-fast);
}

.cart-item .remove-btn:hover {
    color: var(--accent-tertiary);
    background: rgba(239, 68, 68, 0.06);
}

/* Cart Summary â€” Compact Sidebar */
.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: calc(var(--nav-height) + 12px);
}

.cart-summary h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.82rem;
}

.summary-row .label {
    color: var(--text-secondary);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.02rem;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.summary-row.total .value {
    color: var(--accent-primary-light);
}

.cart-summary .checkout-btn {
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    font-size: 0.86rem;
    justify-content: center;
}

.cart-summary .secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ============================================
   Checkout â€” Professional 2-Column Payment Flow
   QR alongside seller info, compact and organized
   ============================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 600px) 1fr;
    gap: 40px;
    padding: 20px 0;
    align-items: start;
}

.checkout-steps {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px 6px;
    width: fit-content;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.76rem;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.checkout-step .step-number {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.68rem;
    transition: all var(--transition-fast);
}

.checkout-step.active {
    color: var(--accent-primary-light);
    background: var(--accent-primary-muted);
}

.checkout-step.active .step-number {
    border-color: var(--accent-primary);
    background: var(--accent-primary-muted);
    color: var(--accent-primary-light);
}

.checkout-step.done {
    color: var(--accent-success);
}

.checkout-step.done .step-number {
    border-color: var(--accent-success);
    background: var(--accent-success);
    color: #fff;
}

/* Checkout Panels */
.checkout-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.checkout-panel h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-panel>p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin-bottom: var(--space-lg);
    line-height: 1.55;
}

/* â”€â”€ Verification Result â€” Premium Status Panels â”€â”€ */
.verification-status {
    text-align: center;
    padding: 20px 10px;
    animation: verifyFadeIn 0.5s ease forwards;
}

@keyframes verifyFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Icon Container â€” Animated ring + icon */
.verify-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    color: #fff;
    z-index: 1;
}

.verify-icon-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: verifyRingSpin 3s linear infinite;
    z-index: 0;
}

@keyframes verifyRingSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success state */
.verify-icon-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.25), 0 0 60px rgba(34, 197, 94, 0.1);
}

.verify-icon-success .verify-icon-ring {
    border-color: rgba(34, 197, 94, 0.35);
    border-top-color: #22c55e;
}

/* Error state */
.verify-icon-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.25), 0 0 60px rgba(239, 68, 68, 0.1);
}

.verify-icon-error .verify-icon-ring {
    border-color: rgba(239, 68, 68, 0.35);
    border-top-color: #ef4444;
}

/* Pending state */
.verify-icon-pending {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.25), 0 0 60px rgba(16, 185, 129, 0.1);
    animation: verifyPulse 2s ease-in-out infinite;
}

.verify-icon-pending .verify-icon-ring {
    border-color: rgba(16, 185, 129, 0.35);
    border-top-color: #34d399;
}

@keyframes verifyPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.25), 0 0 60px rgba(16, 185, 129, 0.1); }
    50%      { box-shadow: 0 0 40px rgba(16, 185, 129, 0.4), 0 0 80px rgba(16, 185, 129, 0.2); }
}

/* Titles */
.verify-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    display: block;
    text-align: center;
    justify-content: center;
}

.verify-title-success {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.verify-title-error {
    background: linear-gradient(135deg, #ef4444, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.verify-subtitle {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto 24px;
}

.verify-email-highlight {
    color: var(--accent-primary-light);
    font-weight: 700;
}

/* Sale Reference â€” Glassmorphic card */
.verify-sale-card {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 18px 24px;
    margin: 0 auto 20px;
    max-width: 280px;
    position: relative;
    overflow: hidden;
}

.verify-sale-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent 60%);
    pointer-events: none;
}

.verify-sale-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.verify-sale-label i {
    color: var(--accent-primary-light);
}

.verify-sale-number {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Info Banner */
.verify-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: left;
    max-width: 420px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.verify-info-banner i {
    color: var(--accent-primary-light);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.verify-info-error {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.12);
}

.verify-info-error i {
    color: var(--accent-tertiary);
}

/* Action Buttons */
.verify-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.verify-action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.verify-action-btn:hover::before {
    opacity: 1;
}

.verify-action-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.verify-action-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    color: #fff;
}

.verify-action-error {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.verify-action-error:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary-muted);
    transform: translateY(-2px);
    color: var(--text-primary);
}

/* Loading Dots Animation */
.verify-loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.verify-loading-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.3;
    animation: verifyDotBounce 1.4s ease-in-out infinite;
}

.verify-loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.verify-loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes verifyDotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
    40%           { transform: scale(1); opacity: 1; }
}
/* Step 1 â€” Email */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 9px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.86rem;
    transition: all var(--transition-fast);
}

/* Fix for native select dropdown options inheriting white text but default OS white background */
select.form-control option {
    background: #09090b;
    color: #ffffff;
}

/* Solo en escritorio los inputs se hacen mÃ¡s grandes y premium */
@media (min-width: 1025px) {
    .form-control {
        padding: 14px 16px;
        border-radius: 8px;
        font-size: 0.95rem;
    }
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 72px;
}

/* â”€â”€ Step 2 â€” Payment (New Professional Layout) â”€â”€ */

/* Header */
.checkout-pay-header {
    margin-bottom: 16px;
}

.checkout-pay-header h2 {
    margin-bottom: 4px;
}

.checkout-pay-header p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}

/* Amount Strip â€” Horizontal bar, not a big centered box */
.pay-amount-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(16, 185, 129, 0.03));
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    margin-bottom: 16px;
}

.pay-amount-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pay-amount-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pay-amount-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-primary-light);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pay-amount-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-warning);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* 2-Column Grid: Seller Details + QR */
.pay-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 16px;
    margin-bottom: 16px;
}

/* Left Column â€” Seller Details */
.pay-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pay-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.pay-section-label i {
    color: var(--accent-primary-light);
    font-size: 0.8rem;
}

/* Pay Fields â€” Compact rows */
.pay-field {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.pay-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.pay-field-label {
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pay-copy-btn {
    background: var(--accent-primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    font-size: 0.66rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pay-copy-btn:hover {
    background: #5558e6;
}

.pay-field-value {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent-primary-light);
    word-break: break-all;
    display: block;
    background: none;
}

.pay-field-value.pay-field-success {
    color: var(--accent-success);
}

/* Instructions â€” Compact inside left column */
.pay-steps {
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.pay-steps-list {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.pay-steps-list li {
    counter-increment: step;
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding: 4px 0 4px 24px;
    position: relative;
    line-height: 1.5;
}

.pay-steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--accent-primary-muted);
    color: var(--accent-primary-light);
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Right Column â€” QR + Warning */
.pay-qr-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.pay-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    width: 100%;
}

.pay-qr-frame {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pay-qr-frame img {
    display: block;
    border-radius: 4px;
}

.pay-qr-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

/* Warning Box â€” Compact, right column */
.pay-warning-box {
    background: rgba(239, 68, 68, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    width: 100%;
}

.pay-warning-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-tertiary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pay-warning-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pay-warning-box ul li {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.45;
    padding-left: 12px;
    position: relative;
}

.pay-warning-box ul li::before {
    content: 'â€¢';
    position: absolute;
    left: 0;
    color: var(--accent-tertiary);
    font-weight: 700;
}

/* Bottom Section â€” Transaction Input + Buttons */
.pay-verify-section {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.pay-txid-row {
    margin-bottom: 14px;
}

.pay-txid-input-wrap label {
    display: block;
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-txid-input-wrap label i {
    color: var(--accent-primary-light);
}

.pay-txid-input-wrap small {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 4px;
    display: block;
}

.pay-action-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.pay-action-row .btn-secondary {
    flex-shrink: 0;
}

.pay-verify-btn {
    flex: 1;
    justify-content: center;
}

/* Legacy payment-info support */
.payment-info {
    text-align: center;
    padding: 18px;
    background: var(--bg-primary);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.payment-info .payment-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-primary-light);
    margin: 8px 0 4px;
    line-height: 1;
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 10px;
    text-align: left;
}

.wallet-address .address-text {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-primary-light);
    word-break: break-all;
    line-height: 1.4;
}

.wallet-address .copy-btn {
    background: var(--accent-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.wallet-address .copy-btn:hover {
    background: #5558e6;
}

.payment-info .qr-code {
    display: inline-block;
    padding: 12px;
    background: #fff;
    border-radius: var(--radius-md);
    margin-top: 6px;
}

/* Checkout Instructions */
.checkout-instructions {
    background: rgba(245, 158, 11, 0.03);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 16px;
}

.checkout-instructions h3 {
    color: var(--accent-warning);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-instructions ol {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.9;
    padding-left: 20px;
    margin: 0;
}

.checkout-warning {
    background: rgba(239, 68, 68, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 16px;
}

.checkout-warning p {
    color: var(--accent-tertiary);
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-warning ul {
    color: var(--text-secondary);
    font-size: 0.78rem;
    list-style: disc;
    padding-left: 20px;
    line-height: 1.8;
}

.checkout-txid-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 16px;
}

/* Verification States â€” Compact */
.verification-status {
    text-align: center;
    padding: 36px 20px;
}

.verification-status .status-icon {
    font-size: 3.2rem;
    margin-bottom: 14px;
    display: block;
}

.verification-status h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.verification-status p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.55;
}

.verification-status.pending .status-icon {
    color: var(--accent-warning);
    animation: spin 2s linear infinite;
}

.verification-status.success .status-icon {
    color: var(--accent-success);
    animation: check-bounce 0.5s ease;
}

.verification-status.error .status-icon {
    color: var(--accent-tertiary);
}

@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes check-bounce {
    0% {
        transform: scale(0)
    }

    50% {
        transform: scale(1.2)
    }

    100% {
        transform: scale(1)
    }
}

/* Success */
.success-container {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(34, 197, 94, 0.06);
    border: 2px solid var(--accent-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-success);
    margin: 0 auto 20px;
}

.sale-ref {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-primary-light);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 8px 0;
}

/* ============================================
   Footer â€” Clean
   ============================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 36px 0 18px;
    margin-top: 48px;
    content-visibility: auto;
    contain-intrinsic-size: 0 200px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 24px;
}

.footer-brand .footer-logo {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.65;
    max-width: 280px;
}

.footer-col h4 {
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    position: relative;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.78rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.footer-col ul a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary-light);
    transition: width 0.25s ease;
}

.footer-col ul a:hover {
    color: var(--accent-primary-light);
    padding-left: 3px;
}

.footer-col ul a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.footer-bottom .payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom .payment-methods span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-card);
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-size: 0.7rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-bottom .payment-methods span:hover {
    border-color: rgba(16, 185, 129, 0.2);
    background: var(--bg-card-hover);
}

/* ============================================
   Page Banner
   ============================================ */
.page-banner {
    padding: 18px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.page-banner h1 {
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-banner .breadcrumb {
    display: flex;
    gap: 6px;
    margin-top: 5px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.page-banner .breadcrumb a {
    color: var(--text-secondary);
}

/* ============================================
   Admin Panel â€” Moved to assets/css/admin.css
   ============================================ */


/* ============================================
   Toast
   ============================================ */
.toast-container {
    position: fixed;
    top: calc(var(--nav-height) + 8px);
    right: 14px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: rgba(30, 38, 64, 0.97);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    box-shadow: var(--shadow-lg);
    animation: toast-in 0.25s var(--ease);
    min-width: 280px;
    /* Removed backdrop-filter â€” toast is fixed-position, blur causes scroll jank */
}

.toast.success {
    border-left: 2px solid var(--accent-success);
}

.toast.error {
    border-left: 2px solid var(--accent-tertiary);
}

.toast.info {
    border-left: 2px solid var(--accent-primary);
}

.toast.warning {
    border-left: 2px solid var(--accent-warning);
}

.toast-out {
    animation: toast-out 0.2s ease forwards;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(60px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateX(60px)
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-right"] {
    transform: translateX(-24px);
}

[data-animate="fade-right"].animated {
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(24px);
}

[data-animate="fade-left"].animated {
    transform: translateX(0);
}

/* Section divider gradient */
.section+.section {
    border-top: 1px solid var(--border-subtle);
}

/* Related Products â€” defer rendering until scrolled into view */
.related-products-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Loading */
.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto;
}

/* ============================================
   Utilities
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.mt-1 {
    margin-top: 12px;
}

.mt-2 {
    margin-top: 18px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 12px;
}

.mb-2 {
    margin-bottom: 18px;
}

.mb-3 {
    margin-bottom: 24px;
}

/* ============================================
   WhatsApp
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    animation: whatsapp-entrance 0.6s ease 1s both;
    /* GPU-promote fixed element to avoid repaints during scroll */
    will-change: transform;
    transform: translateZ(0);
    contain: layout style;
}

@keyframes whatsapp-entrance {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

/* Ring/ping animations removed â€” caused jank on fixed element during scroll */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.2);
    z-index: -1;
}

/* ============================================
   Responsive â€” Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}


/* ============================================
   Currency Converter â€” Premium LATAM v2
   ============================================ */

/* --- Nav Currency Button --- */
.currency-dropdown {
    position: relative;
}

.currency-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(5, 150, 105, 0.06);
    border: 1px solid rgba(5, 150, 105, 0.15);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.currency-btn:hover,
.currency-btn.open {
    border-color: rgba(5, 150, 105, 0.4);
    background: rgba(5, 150, 105, 0.12);
    color: #fff;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.1);
}

.currency-flag {
    line-height: 1;
    display: flex;
    align-items: center;
}

.currency-flag .fi {
    font-size: 1rem;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.currency-code {
    letter-spacing: 0.04em;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.currency-chevron {
    font-size: 0.5rem;
    color: var(--accent-cyan);
    transition: transform 0.25s var(--ease);
    opacity: 0.7;
}

.currency-btn.open .currency-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* --- Dropdown Menu (Glassmorphism) --- */
.currency-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(20, 26, 42, 0.95);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(5, 150, 105, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(5, 150, 105, 0.05);
    width: 260px;
    max-height: 380px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease), transform 0.22s var(--ease);
    z-index: 1100;
    padding: 6px;
}

.currency-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.currency-menu::-webkit-scrollbar {
    width: 3px;
}

.currency-menu::-webkit-scrollbar-track {
    background: transparent;
}

.currency-menu::-webkit-scrollbar-thumb {
    background: rgba(5, 150, 105, 0.2);
    border-radius: 10px;
}

.currency-divider {
    height: 1px;
    margin: 4px 8px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.15), transparent);
}

/* --- Dropdown Option --- */
.currency-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-align: left;
    position: relative;
}

.currency-option:hover {
    background: rgba(5, 150, 105, 0.08);
    color: var(--text-primary);
}

.currency-option.active {
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent-cyan);
    font-weight: 700;
}

.co-flag {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.co-flag .fi {
    font-size: 1.1rem;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.co-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.co-name {
    font-size: 0.76rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-symbol {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 500;
}

.currency-option.active .co-name {
    color: var(--accent-cyan);
}

.currency-option.active .co-symbol {
    color: rgba(5, 150, 105, 0.6);
}

.co-code {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.currency-option.active .co-code {
    color: var(--accent-cyan);
    opacity: 1;
}

.co-check {
    font-size: 0.62rem;
    color: var(--accent-cyan);
    margin-left: auto;
    flex-shrink: 0;
}

/* ============================================
   Local Price Badge â€” Premium Glassmorphism
   ============================================ */
.local-price {
    margin-top: 3px;
    animation: lpbFadeIn 0.35s ease forwards;
}

.local-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.06));
    border: 1px solid rgba(5, 150, 105, 0.15);
    padding: 2px 8px 2px 5px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-cyan);
    white-space: nowrap;
    /* Removed backdrop-filter: it murders scroll FPS when 10 variants are visible */
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.local-price-badge:hover {
    border-color: rgba(5, 150, 105, 0.3);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(16, 185, 129, 0.1));
    box-shadow: 0 0 8px rgba(5, 150, 105, 0.08);
}

.lpb-flag {
    line-height: 1;
    display: flex;
    align-items: center;
}

.lpb-flag .fi {
    font-size: 0.82rem;
    border-radius: 1.5px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lpb-amount {
    color: #e0f7fa;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.lpb-code {
    font-family: var(--font-mono);
    font-size: 0.56rem;
    color: rgba(5, 150, 105, 0.6);
    font-weight: 600;
    letter-spacing: 0.06em;
}

@keyframes lpbFadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Context-Specific Badge Sizes --- */

/* Product cards: compact */
.card-price .local-price {
    margin-top: 4px;
    display: block;
}

.card-price .local-price-badge {
    font-size: 0.6rem;
    padding: 1px 6px 1px 4px;
}

.card-price .lpb-flag .fi {
    font-size: 0.72rem;
}

.card-price .lpb-code {
    font-size: 0.5rem;
}

/* Product detail: large & prominent */
.product-price-box .local-price {
    margin-top: 5px;
}

.product-price-box .local-price-badge {
    font-size: 0.82rem;
    padding: 4px 12px 4px 8px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.08));
    border-color: rgba(5, 150, 105, 0.2);
}

.product-price-box .lpb-flag .fi {
    font-size: 1.05rem;
}

.product-price-box .lpb-amount {
    font-size: 0.88rem;
}

.product-price-box .lpb-code {
    font-size: 0.64rem;
}

/* Variant pills */
.variant-pill .local-price {
    margin-top: 0;
}

.variant-pill .local-price-badge {
    font-size: 0.58rem;
    padding: 2px 6px 2px 4px;
    border: none;
    background: rgba(5, 150, 105, 0.08);
    border-radius: var(--radius-xs);
}

.variant-pill .lpb-flag .fi {
    font-size: 0.62rem;
}

.variant-pill .lpb-code {
    display: none;
}

/* Cart items */
.item-price .local-price {
    margin-top: 3px;
}

.item-price .local-price-badge {
    font-size: 0.65rem;
}

/* Summary rows */
.summary-row .local-price {
    margin-top: 2px;
    display: block;
    text-align: right;
}

.summary-row .local-price-badge {
    font-size: 0.64rem;
}

.summary-row.total .local-price-badge {
    font-size: 0.72rem;
    padding: 3px 10px 3px 7px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.08));
    border-color: rgba(5, 150, 105, 0.2);
}

/* Checkout payment amount */
.pay-amount-local {
    text-align: center;
    padding: 0 16px 12px;
    animation: lpbFadeIn 0.4s ease forwards;
}

.pay-amount-local:empty {
    display: none;
}

.pay-amount-local .local-price-badge {
    font-size: 0.88rem;
    padding: 5px 14px 5px 10px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.06));
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 2px 12px rgba(5, 150, 105, 0.08);
}

.pay-amount-local .lpb-flag .fi {
    font-size: 1.1rem;
}

.pay-amount-local .lpb-amount {
    font-size: 0.92rem;
}

.pay-amount-local .lpb-code {
    font-size: 0.68rem;
}


/* ============================================
   Pagination â€” Professional
   ============================================ */
.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
    padding: 24px 0 8px;
    border-top: 1px solid var(--border-subtle);
}

.pagination-info {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.84rem;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pagination-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: var(--accent-primary-muted);
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 38px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   Landing CTA Section
   ============================================ */
.landing-cta-section {
    padding: 60px 0;
}

.landing-cta {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    text-align: center;
}

.landing-cta-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.landing-cta-content {
    position: relative;
    z-index: 1;
}

.landing-cta-content h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.landing-cta-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Catalog Section â€” Scroll Performance
   GPU compositing layer promotion for smooth scrolling
   ============================================ */
.catalog-section {
    padding-top: 28px;
    /* Isolate catalog paint layer for scroll perf */
    contain: layout style;
    isolation: isolate;
}





/* ============================================
   Hero Desktop Grid Layout
   ============================================ */
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.hero-image {
    display: none;
    /* Hide on mobile */
}

@media (min-width: 992px) {
    .hero-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .hero-content {
        flex: 1;
        max-width: 820px;
        text-align: left;
    }

    .hero-image {
        display: block;
        /* Show on desktop */
        flex: 0 0 auto;
        width: 400px;
        max-width: 400px;
        position: relative;
    }

    .hero-image img {
        width: 100%;
        height: auto;
    }
}

/* ============================================
   Hero List
   ============================================ */
.hero-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
    text-align: left;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-list li i {
    color: var(--accent-primary-light);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}



/* ============================================
   Legal & Support Pages â€” Hero
   ============================================ */
.legal-hero {
    position: relative;
    padding: 80px 0 48px;
    text-align: center;
    overflow: hidden;
}

.legal-hero-glow {
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.legal-hero-content {
    position: relative;
    z-index: 1;
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-primary-muted);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    color: var(--accent-primary-light);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    animation: fade-in-up 0.5s ease forwards;
}

.legal-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    animation: fade-in-up 0.6s ease 0.1s forwards;
    opacity: 0;
}

.legal-hero p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fade-in-up 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* ============================================
   Support â€” Contact Bar
   ============================================ */
.support-contact-bar {
    padding: 0 0 20px;
    position: relative;
}

.contact-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.contact-bar-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

a.contact-bar-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
    color: var(--text-primary);
}

a.contact-bar-item:hover::before {
    opacity: 1;
}

.contact-bar-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.contact-bar-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.contact-bar-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-bar-value {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-bar-arrow {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
    position: relative;
    z-index: 1;
}

a.contact-bar-item:hover .contact-bar-arrow {
    transform: translateX(4px);
    color: var(--accent-primary-light);
}

.contact-bar-badge {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 0.68rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.faq-category-header i {
    color: var(--accent-primary-light);
    font-size: 1rem;
}

.faq-category-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-card);
    margin-bottom: 6px;
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.2);
}

.faq-item.open {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-chevron {
    font-size: 0.68rem;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 20px 18px;
}

.faq-answer p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 8px 0;
    padding-left: 20px;
}

.faq-answer li {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.faq-answer li strong {
    color: var(--text-primary);
}

/* ============================================
   Guarantees Grid
   ============================================ */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.guarantee-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guarantee-card:hover {
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.guarantee-card:hover::before {
    opacity: 1;
}

.guarantee-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.guarantee-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.guarantee-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ============================================
   Legal Pages â€” Layout
   ============================================ */
.legal-content-section {
    padding-top: 0;
}

.legal-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Sidebar TOC */
.legal-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    overflow: hidden;
}

.legal-toc h4 {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-toc h4 i {
    font-size: 0.68rem;
}

.legal-toc nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-link {
    font-size: 0.76rem;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    border-left: 2px solid transparent;
    font-weight: 500;
}

.toc-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.toc-link.active {
    color: var(--accent-primary-light);
    background: var(--accent-primary-muted);
    border-left-color: var(--accent-primary);
    font-weight: 600;
}

/* Legal Main Content */
.legal-main {
    min-width: 0;
}

.legal-intro-card {
    display: flex;
    gap: 14px;
    padding: 20px 24px;
    background: var(--accent-primary-muted);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 36px;
    align-items: flex-start;
}

.legal-intro-card i {
    color: var(--accent-primary-light);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.legal-intro-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.legal-intro-card strong {
    color: var(--text-primary);
}

/* Legal Articles */
.legal-article {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-subtle);
    scroll-margin-top: calc(var(--nav-height) + 24px);
}

.legal-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-article h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-number {
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1rem;
}

.legal-article p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-article p:last-child {
    margin-bottom: 0;
}

.legal-article ul,
.legal-article ol {
    margin: 12px 0;
    padding-left: 20px;
}

.legal-article li {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-article li strong {
    color: var(--text-primary);
}

.legal-article li i {
    margin-right: 6px;
}

.legal-article a {
    color: var(--accent-primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-article a:hover {
    color: var(--text-primary);
}

/* Legal Highlight Box */
.legal-highlight {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 16px 0;
}

.legal-highlight h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.legal-highlight ul {
    list-style: none;
    padding-left: 0;
}

.legal-highlight li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Legal Warning Box */
.legal-warning {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-left: 3px solid #f59e0b;
    border-radius: var(--radius-sm);
    margin: 16px 0;
    align-items: flex-start;
}

.legal-warning > i {
    color: #f59e0b;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.legal-warning p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-warning strong {
    color: var(--text-primary);
}

/* Legal Mini Cards Grid */
.legal-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0;
}

.legal-card-mini {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease;
}

.legal-card-mini:hover {
    border-color: rgba(16, 185, 129, 0.2);
}

.legal-card-mini h4 {
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.legal-card-mini p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.legal-card-mini ul {
    padding-left: 16px;
    margin: 6px 0 0;
}

.legal-card-mini li {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 4px;
}

/* Legal Rights Grid (Privacy) */
.legal-rights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.legal-right-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease;
    align-items: flex-start;
}

.legal-right-item:hover {
    border-color: rgba(16, 185, 129, 0.2);
}

.legal-right-item > i {
    color: var(--accent-primary-light);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.legal-right-item h4 {
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.legal-right-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   Legal & Support â€” Responsive
   ============================================ */
@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 24px;
    }

    .legal-toc nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }

    .toc-link {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .toc-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--accent-primary);
    }
}



/* ============================================
   Responsive â€” Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --nav-height: 50px;
    }

    html {
        font-size: 14.5px;
    }

    .container {
        padding: 0 16px;
    }

    /* Trust Bar â€” Mobile */
    .trust-bar .container {
        gap: 16px;
        justify-content: space-around;
    }

    .trust-item {
        font-size: 0.76rem;
        gap: 6px;
    }

    .trust-item i {
        font-size: 0.9rem;
    }

    /* Card overlay â€” hide on touch */
    .product-card .card-image .card-image-overlay {
        display: none;
    }

    /* Nav Mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(11, 15, 25, 0.98);
        flex-direction: column;
        padding: 12px;
        gap: 2px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 14px;
        font-size: 0.88rem;
        border-radius: var(--radius-sm);
    }

    .nav-links a.active {
        background: var(--accent-primary-muted);
    }

    .nav-mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 28px 0 20px;
    }

    .hero-badge {
        border-radius: var(--radius-md);
        font-size: 0.68rem;
    }

    .hero-payment-methods {
        gap: 8px;
        margin-bottom: 14px;
    }

    .hero-payment-methods .payment-icons img {
        width: 24px;
        height: 24px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .hero-stats {
        gap: 24px;
        margin-top: 24px;
    }

    .hero-stat .stat-value {
        font-size: 1.3rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-stat+.hero-stat::before {
        left: -12px;
        height: 22px;
    }

    /* Sections */
    .section {
        padding: 36px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    /* Product Cards â€” 2-col */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card .card-image {
        height: auto;
        aspect-ratio: 16/9;
    }

    .product-card .card-body {
        padding: 12px;
    }

    .product-card .card-title {
        font-size: 0.88rem;
    }

    .product-card .card-description {
        font-size: 0.76rem;
        margin-bottom: 10px;
    }

    .product-card .card-price {
        font-size: 1.05rem;
    }

    .product-card .card-stock {
        font-size: 0.68rem;
    }

    .product-card .stock-text {
        display: none;
    }

    .product-card .add-to-cart-btn {
        padding: 9px;
        font-size: 0.76rem;
        margin-top: 10px;
    }

    .product-card .card-badge {
        top: 8px;
        left: 8px;
        padding: 3px 9px;
        font-size: 0.62rem;
    }

    /* Disable expensive blur on mobile for 60fps scroll */
    .product-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #080808;
    }

    /* Search + Toolbar â€” Mobile */
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .search-box {
        max-width: 100%;
    }

    /* Filters â€” wrap to next line */
    .category-filters {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
    }

    .filter-btn {
        white-space: nowrap;
        padding: 6px 14px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .feature-card {
        padding: 18px;
    }

    .feature-card .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 0.86rem;
    }

    .feature-card p {
        font-size: 0.78rem;
    }

    /* Product Detail */
    .product-detail {
        gap: 18px;
        padding: 16px 0;
    }

    .product-left-column {
        position: relative;
        top: 0;
        will-change: auto;
        transform: none;
        gap: 0;
    }

    .product-trust-badges {
        display: none;
    }

    .product-image-wrapper {
        position: relative;
        top: 0;
        aspect-ratio: 16/9;
        /* Sticky disabled on mobile â€” remove GPU promotion */
        will-change: auto;
        transform: none;
    }

    .product-info h1 {
        font-size: 1.35rem;
    }

    .product-price-large {
        font-size: 1.5rem;
    }

    .product-info .product-price-box {
        padding: 16px 18px;
    }

    .variant-selector {
        padding: 16px;
    }

    .variant-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .variant-selector .variant-label {
        font-size: 0.76rem;
    }

    .variant-count {
        font-size: 0.62rem;
        padding: 2px 8px;
    }

    .variant-pills {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }

    .variant-pill-content {
        padding: 12px 14px 8px;
        padding-right: 34px;
    }

    .variant-pill-radio {
        width: 16px;
        height: 16px;
        top: 10px;
        right: 10px;
    }

    .variant-pill .variant-pill-name {
        font-size: 0.76rem;
    }

    .variant-pill-footer {
        padding: 6px 14px;
    }

    .variant-pill .variant-pill-price {
        font-size: 0.78rem;
    }

    .detail-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .detail-tabs::-webkit-scrollbar {
        display: none;
    }

    .detail-tab {
        padding: 8px 12px;
        font-size: 0.76rem;
    }

    /* Cart */
    .cart-item {
        gap: 10px;
        padding: 10px;
    }

    .cart-item .item-image {
        width: 60px;
        height: 46px;
    }

    .cart-summary {
        border-radius: var(--radius-md);
        padding: 16px;
        position: relative;
        top: 0;
    }

    /* Checkout â€” Mobile Responsive */
    .checkout-steps {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 4px;
        gap: 2px;
    }

    .checkout-steps::-webkit-scrollbar {
        display: none;
    }

    .checkout-step {
        padding: 6px 10px;
        font-size: 0.72rem;
    }

    .checkout-step span {
        display: none;
    }

    .checkout-step.active span,
    .checkout-step.done span {
        display: inline;
    }

    .checkout-panel {
        padding: 14px;
        border-radius: var(--radius-md);
    }

    .checkout-panel h2 {
        font-size: 0.98rem;
    }

    .checkout-layout {
        gap: 14px;
    }

    /* New checkout layout mobile */
    .pay-amount-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
    }

    .pay-amount-left {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .pay-amount-value {
        font-size: 1.5rem;
    }

    .pay-amount-badge {
        align-self: flex-start;
    }

    .pay-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pay-qr-side {
        flex-direction: row;
        gap: 10px;
        align-items: stretch;
    }

    .pay-qr-container {
        padding: 12px;
        flex: 1;
    }

    .pay-qr-frame img {
        width: 120px;
        height: 120px;
    }

    .pay-warning-box {
        flex: 1;
    }

    .pay-field {
        padding: 8px 10px;
    }

    .pay-field-value {
        font-size: 0.78rem;
    }

    .pay-steps-list li {
        font-size: 0.74rem;
    }

    .pay-action-row {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .pay-action-row .btn {
        width: 100%;
        justify-content: center;
    }

    /* Legacy checkout support */
    .payment-info {
        padding: 14px;
    }

    .payment-info .payment-amount {
        font-size: 1.8rem;
    }

    .wallet-address {
        padding: 8px 12px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .wallet-address .address-text {
        font-size: 0.72rem;
    }

    .wallet-address .copy-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .checkout-instructions {
        padding: 12px 14px;
    }

    .checkout-instructions ol {
        font-size: 0.78rem;
        line-height: 1.75;
        padding-left: 16px;
    }

    .checkout-warning {
        padding: 10px 14px;
    }

    .checkout-warning ul {
        font-size: 0.74rem;
        padding-left: 16px;
    }

    .checkout-txid-section {
        padding: 12px;
    }

    .payment-info .qr-code {
        padding: 10px;
    }

    .payment-info .qr-code img {
        width: 140px;
        height: 140px;
    }

    /* Footer */
    .footer {
        padding: 28px 0 14px;
        margin-top: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-header .section-badge {
        font-size: 0.72rem;
    }

    /* Product actions â€” hide go-to-cart on mobile */
    .product-actions-row .product-goto-cart-btn {
        display: none;
    }

    .product-actions-row {
        flex-direction: column;
    }

    /* Currency selector */
    .currency-btn .currency-code {
        display: none;
    }

    .currency-btn {
        padding: 5px 8px;
        gap: 3px;
    }

    .currency-menu {
        width: 240px;
        right: -20px;
    }

    /* Pagination */
    .pagination {
        margin-top: 28px;
    }

    .pagination-btn {
        min-width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    .pagination-info {
        font-size: 0.74rem;
    }

    /* Landing CTA */
    .landing-cta {
        padding: 36px 20px;
    }

    .landing-cta-content h2 {
        font-size: 1.3rem;
    }

    .landing-cta-content p {
        font-size: 0.86rem;
    }

    /* Legal Pages & Footer Mobile */
    .legal-hero {
        padding: 60px 0 32px;
    }

    .contact-bar-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .guarantees-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .guarantee-card {
        padding: 20px 16px;
    }

    .guarantee-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .legal-grid-2 {
        grid-template-columns: 1fr;
    }

    .legal-rights-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 0.84rem;
    }

    .faq-item.open .faq-answer {
        padding: 0 16px 14px;
    }

    .legal-article h2 {
        font-size: 1.05rem;
    }
}

/* ============================================
   Responsive â€” Small Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 24px 0 20px;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

    .hero p {
        font-size: 0.84rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 8px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-stat .stat-value {
        font-size: 1.1rem;
    }

    .hero-stat+.hero-stat::before {
        display: none;
    }

    .products-grid {
        gap: 8px;
    }

    .product-card .card-body {
        padding: 8px;
    }

    .product-card .card-title {
        font-size: 0.78rem;
    }

    .product-card .card-description {
        -webkit-line-clamp: 1;
        font-size: 0.68rem;
        margin-bottom: 6px;
    }

    .product-card .card-footer {
        padding-top: 8px;
    }

    .product-card .card-price {
        font-size: 0.92rem;
    }

    .product-card .add-to-cart-btn {
        padding: 6px;
        font-size: 0.7rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-detail {
        gap: 14px;
        padding: 10px 0;
    }

    .product-info h1 {
        font-size: 1.2rem;
    }

    .product-price-large {
        font-size: 1.3rem;
    }

    .product-info .product-price-box {
        grid-template-columns: 1fr;
        padding: 14px 16px;
        gap: 12px;
    }

    .ppb-right {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    .ppb-badge {
        font-size: 0.66rem;
        padding: 4px 10px;
    }

    .ppb-trust {
        font-size: 0.62rem;
    }

    .variant-selector {
        padding: 14px;
    }

    .variant-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .variant-pills {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .variant-pill-content {
        padding: 10px 12px 6px;
        padding-right: 30px;
    }

    .variant-pill-radio {
        width: 14px;
        height: 14px;
        top: 8px;
        right: 8px;
    }

    .variant-pill .variant-pill-name {
        font-size: 0.72rem;
    }

    .variant-pill-footer {
        padding: 5px 12px;
    }

    .variant-pill .variant-pill-price {
        font-size: 0.72rem;
    }

    .variant-pill-currency {
        font-size: 0.52rem;
    }

    .cart-item .item-image {
        width: 52px;
        height: 40px;
    }

    .cart-item {
        padding: 8px;
        gap: 8px;
    }

    .checkout-panel {
        padding: 12px;
    }

    .payment-info .payment-amount {
        font-size: 1.5rem;
    }

    /* Checkout small mobile */
    .pay-amount-value {
        font-size: 1.3rem;
    }

    .pay-qr-side {
        flex-direction: column;
    }

    .pay-qr-frame img {
        width: 100px;
        height: 100px;
    }

    .pay-qr-container {
        padding: 10px;
    }

    .pay-steps-list li {
        font-size: 0.72rem;
        padding-left: 22px;
    }

    .pay-steps-list li::before {
        width: 16px;
        height: 16px;
        font-size: 0.58rem;
    }

    .currency-menu {
        width: 220px;
        right: -50px;
        max-height: 300px;
    }

    .currency-option {
        padding: 7px 8px;
    }

    html {
        font-size: 14px;
    }

    .products-grid {
        gap: 10px;
    }

    .product-card .card-image {
        height: auto;
        aspect-ratio: 16/9;
    }

    .product-card .card-body {
        padding: 10px;
    }

    .product-card .card-title {
        font-size: 0.82rem;
    }

    .product-card .card-description {
        -webkit-line-clamp: 1;
        font-size: 0.72rem;
    }

    .product-card .card-price {
        font-size: 0.96rem;
    }

    .product-card .add-to-cart-btn {
        padding: 8px;
        font-size: 0.74rem;
    }

    .pagination-controls {
        gap: 3px;
    }

    .pagination-btn {
        min-width: 40px;
        height: 40px;
        font-size: 0.82rem;
        padding: 0 8px;
    }

    .landing-cta {
        padding: 28px 16px;
        border-radius: var(--radius-lg);
    }

    .guarantees-grid {
        grid-template-columns: 1fr;
    }

    .product-price-box .local-price-badge {
        font-size: 0.72rem;
    }
}

/* ============================================
   Responsive â€” Tiny (360px)
   ============================================ */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    html {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    html {
        font-size: 13.5px;
    }

    .product-card .card-image {
        height: auto;
        aspect-ratio: 16/9;
    }

    .pagination-btn {
        min-width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
}
