/* ==========================================
   ALUCARD SHOP FRAGRANCES - Premium CSS Stylesheet
   Design System: Dark Velvet, Gold Satin, Crimson Red
   ========================================== */

/* 1. VARIABLES & CORE SYSTEM */
:root {
    --bg-main: #060606;
    --bg-card: #0d0d0d;
    --bg-input: #141414;
    --bg-overlay: rgba(6, 6, 6, 0.85);
    --border-color: rgba(197, 160, 89, 0.15); /* Soft gold border */
    
    --color-primary: #8b0000;      /* Crimson Red */
    --color-primary-hover: #b30000;
    --color-gold: #c5a059;         /* Satin Gold */
    --color-gold-light: #e0ca9b;
    --color-gold-dark: #8a6b32;
    --color-white: #ffffff;
    --color-text: #d4d4d8;         /* Light grey */
    --color-text-muted: #71717a;   /* Muted grey */
    --color-green: #10b981;        /* Success green */
    
    --font-titles: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(197, 160, 89, 0.05);
    --shadow-glow: 0 0 20px rgba(139, 0, 0, 0.3);
    --shadow-glow-gold: 0 0 20px rgba(197, 160, 89, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    color: var(--color-white);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1c1c1c;
    border-radius: 4px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* ==========================================
   2. REUSABLE COMPONENTS & UTILITIES
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-titles);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #500000 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(139, 0, 0, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.6);
    background: linear-gradient(135deg, #a30000 0%, #660000 100%);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-input);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}
.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--bg-main);
    box-shadow: var(--shadow-glow-gold);
    transform: translateY(-2px);
}
.btn-secondary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}
.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
}
.btn-text:hover {
    color: var(--color-white);
}

.btn-block {
    width: 100%;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.icon-btn:hover {
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.1);
}

/* Badges */
.badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-primary {
    background: rgba(139, 0, 0, 0.2);
    border: 1px solid rgba(139, 0, 0, 0.5);
    color: #ffa3a3;
}

.badge-gold {
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--color-gold-light);
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #a7f3d0;
}

/* Helpers */
.highlight {
    color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gold-icon { color: var(--color-gold); }
.green-icon { color: var(--color-green); }
.whatsapp-icon { color: #25d366; }
.line-through { text-decoration: line-through; }
.green-text { color: var(--color-green); }

/* ==========================================
   3. BANDA PROMOCIONAL ROTATIVA (MARQUEE)
   ========================================== */
.promo-bar {
    background-color: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 100;
}

.marquee-container {
    display: inline-flex;
    animation: marquee 25s linear infinite;
}

.marquee-text {
    font-family: var(--font-titles);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-right: 50px;
    display: inline-flex;
    align-items: center;
}

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

/* ==========================================
   4. HEADER
   ========================================== */
.main-header {
    background: rgba(6, 6, 6, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 90;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

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

.social-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-gold);
    color: var(--color-gold-light);
    transform: translateY(-1px);
}

.social-link-pill img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: none !important;
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    min-height: calc(90vh - 80px);
    padding: 80px 24px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(var(--color-primary-rgb, 139, 0, 0), 0.18) 0%, var(--bg-main) 70%);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary-glow, rgba(139, 0, 0, 0.15)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-logo {
    height: 160px;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(197, 160, 89, 0.45));
    animation: fadeInLogo 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
}

@keyframes fadeInLogo {
    from { opacity: 0; transform: translateY(-25px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge {
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--color-gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gold-light);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.3); }
    70% { box-shadow: 0 0 0 8px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.hero-title {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    width: 100%;
}

.hero-trust-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    width: 100%;
}

.trust-card {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    min-width: 220px;
    flex: 1;
    max-width: 250px;
}

.trust-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.trust-card p {
    font-size: 12px;
    color: var(--color-text-muted);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    pointer-events: none;
    opacity: 0.7;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* ==========================================
   6. CONTROLES Y FILTROS STICKY
   ========================================== */
.controls-section {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 73px; /* Header height offset */
    z-index: 80;
    padding: 16px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.controls-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Buscador */
.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 14px 44px;
    font-size: 14px;
    color: var(--color-white);
    transition: var(--transition-smooth);
}
.search-box input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
    background-color: #171717;
    outline: none;
}

.clear-search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}
.clear-search-btn:hover {
    color: var(--color-white);
}

/* Filtros de Género */
.gender-filters-scroll {
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
}
.gender-filters-scroll::-webkit-scrollbar {
    display: none;
}

.gender-filters {
    display: flex;
    gap: 10px;
    min-width: max-content;
}

.filter-btn {
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-titles);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}
.filter-btn:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.2);
}
.filter-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, #500000 100%);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

/* Barra de acciones de filtros secundarios */
.filter-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.active-filters-badge {
    background-color: var(--color-gold);
    color: var(--bg-main);
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.sort-wrapper {
    position: relative;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-left: 12px;
    min-width: 170px;
}

.sort-icon {
    color: var(--color-text-muted);
    width: 14px;
    height: 14px;
}

.sort-wrapper select {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 10px 24px 10px 8px;
    font-size: 12px;
    font-weight: 500;
    width: 100%;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.sort-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--color-text-muted);
    pointer-events: none;
}

/* Filtros Avanzados Box */
.advanced-filters {
    background: #0f0f0f;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.advanced-filters.open {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.adv-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.cb-label {
    font-size: 13px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cb-label input {
    accent-color: var(--color-gold);
}

.filter-group select, .price-range-inputs input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--color-white);
    outline: none;
}
.filter-group select:focus, .price-range-inputs input:focus {
    border-color: var(--color-gold);
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range-inputs span {
    font-size: 12px;
    color: var(--color-text-muted);
}

.adv-filters-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    border-t: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* ==========================================
   7. CATÁLOGO DE PRODUCTOS (GRID)
   ========================================== */
.catalog-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 24px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.results-count {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: 600;
}

.shipping-info-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

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

/* Tarjeta de Producto (Premium) */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-gold) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: var(--shadow-premium);
}
.product-card:hover::before {
    opacity: 1;
}

/* Card Body */
.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.product-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.product-badges {
    display: flex;
    gap: 6px;
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--color-white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px; /* Fix height for alignment */
    text-transform: uppercase;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.detail-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.detail-tag.tag-gender {
    border-color: rgba(197, 160, 89, 0.2);
    color: var(--color-gold-light);
}

.detail-tag.tag-entrega-inmediata {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-weight: 700;
}

.detail-tag.tag-bodega {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.badge-preventa {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.3) 0%, rgba(139, 0, 0, 0.4) 100%);
    border: 1px solid var(--color-gold);
    color: var(--color-gold-light);
    font-weight: 800;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
    animation: preventaPulse 2s infinite alternate;
}

@keyframes preventaPulse {
    0% { box-shadow: 0 0 5px rgba(197, 160, 89, 0.2); }
    100% { box-shadow: 0 0 14px rgba(197, 160, 89, 0.6); }
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Pricing block inside card */
.product-pricing {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-block {
    display: flex;
    flex-direction: column;
}

.price-original {
    font-size: 12px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
    font-weight: 500;
}

.price-current {
    font-size: 24px;
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.savings-badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-green);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Quantity & CTA area */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qty-control-row {
    display: flex;
    align-items: center;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    height: 42px;
    overflow: hidden;
}

.qty-control-row .qty-btn {
    width: 40px;
    height: 100%;
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.qty-control-row .qty-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-gold);
}

.qty-control-row .qty-value,
.qty-control-row .qty-input {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: var(--font-titles);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-control-row .qty-input::-webkit-outer-spin-button,
.qty-control-row .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-ctas-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-add-cart {
    background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}
.btn-add-cart:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.05);
}

.btn-whatsapp-direct {
    background-color: #25d366;
    color: white;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 6px;
}
.btn-whatsapp-direct:hover {
    background-color: #1ebd59;
    transform: translateY(-2px);
}

/* Estado Vacío */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-card);
    border: 1px dashed rgba(197, 160, 89, 0.2);
    border-radius: 8px;
    margin-top: 20px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 8px;
}
.empty-state-icon i {
    width: 36px;
    height: 36px;
}

.empty-state h3 {
    font-size: 22px;
}

.empty-state p {
    color: var(--color-text-muted);
    max-width: 400px;
}

/* ==========================================
   8. CONFIANZA Y SECCIÓN COMERCIAL
   ========================================== */
.trust-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, #0d0000 100%);
    padding: 80px 24px;
    border-top: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 12px auto 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.trust-item {
    background-color: rgba(15, 15, 15, 0.4);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}
.trust-item:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 160, 89, 0.3);
}

.trust-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(139, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.3);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-icon-box i {
    width: 24px;
    height: 24px;
}

.trust-item h4 {
    font-size: 18px;
    font-weight: 600;
}

.trust-item p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ==========================================
   9. FOOTER
   ========================================== */
.main-footer {
    background-color: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 24px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 54px;
    object-fit: contain;
    align-self: flex-start;
}

.footer-tagline {
    font-family: var(--font-titles);
    font-size: 12px;
    color: var(--color-gold);
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links h4, .footer-payments h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-gold-light);
}

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

.footer-payments {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-payments p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badges .badge {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ==========================================
   10. CARRITO DRAWERS Y ACCESORIOS (OVERLAY)
   ========================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background-color: #090909;
    border-left: 1px solid var(--border-color);
    z-index: 110;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    transition: var(--transition-smooth);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-header-title h3 {
    font-size: 20px;
}

.cart-count-badge {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: var(--transition-fast);
}
.close-btn:hover {
    color: var(--color-white);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shipping-tracker {
    background-color: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.2);
    border-radius: 6px;
    padding: 12px;
}

.tracker-info {
    font-size: 12px;
    color: #a7f3d0;
    margin-bottom: 6px;
}

.tracker-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.tracker-fill {
    height: 100%;
    background-color: var(--color-green);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Item del Carrito */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 14px;
    gap: 12px;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.cart-item-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1.3;
}

.cart-item-meta {
    font-size: 11px;
    color: var(--color-text-muted);
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold-light);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    overflow: hidden;
    height: 34px;
    min-width: 95px;
    flex-shrink: 0;
}

.cart-item-qty .qty-btn {
    width: 28px;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: 12px;
}
.cart-item-qty .qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-item-qty .qty-input {
    width: 38px;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.cart-item-qty .qty-input::-webkit-outer-spin-button,
.cart-item-qty .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-remove {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #ef4444;
    cursor: pointer;
    padding: 7px 9px;
    margin-left: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* User Greeting & Wishlist Styles */
.user-greeting-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 8px 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gold-light);
    cursor: pointer;
    transition: var(--transition-fast);
}
.user-greeting-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(197, 160, 89, 0.4);
}

.btn-user-logout {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}
.btn-user-logout:hover {
    background: #ef4444;
    color: #ffffff;
}

.btn-card-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-card-fav:hover, .btn-card-fav.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    transform: scale(1.08);
}
.btn-card-fav.active i {
    fill: #ef4444;
}

.fav-header-btn {
    position: relative;
}
.fav-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 10px;
    line-height: 1;
}

.card-savings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.card-original-price {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--color-text-muted);
}
.card-savings-badge {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Vacío en carrito */
.cart-empty-state {
    text-align: center;
    padding: 60px 0;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.cart-empty-state i {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #060606;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-row.savings {
    color: var(--color-green);
    font-weight: 500;
}

.summary-row.total {
    font-family: var(--font-titles);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-note {
    font-size: 11px;
    color: var(--color-text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================
   11. FLOATING BUTTONS
   ========================================== */
.cart-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
    background: linear-gradient(135deg, var(--color-primary) 0%, #500000 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 40px;
    padding: 10px 18px 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.5);
    transition: var(--transition-smooth);
    animation: bounce 3s infinite;
}
.cart-float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.7);
}

.cart-float-icon-box {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-float-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-gold);
    color: var(--bg-main);
    font-size: 9px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: var(--transition-fast);
}

.cart-float-text {
    font-family: var(--font-titles);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99;
    background-color: #25d366;
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}
.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-float-btn i {
    width: 26px;
    height: 26px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================
   12. ADMIN MODAL & CONTROLS
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.admin-modal {
    background-color: #0e0e0e;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #080808;
}

.admin-modal-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Caja de login admin */
.admin-login-box {
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lock-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.05);
    border-radius: 50%;
    padding: 14px;
    margin-bottom: 8px;
}

.admin-login-box p {
    color: var(--color-text-muted);
    font-size: 13px;
    max-width: 360px;
}

.admin-login-box form {
    width: 100%;
    max-width: 320px;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--color-white);
    outline: none;
    width: 100%;
    transition: var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-gold);
}

.login-error-msg {
    color: #ef4444;
    font-size: 12px;
    margin-top: 10px;
    font-weight: 500;
}

.admin-panel-content {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap; /* Permitir que se acomoden en múltiples líneas */
    background-color: #060606;
    border-bottom: 1px solid var(--border-color);
    padding: 8px;
    gap: 6px;
    flex-shrink: 0; /* Previene el colapso a 0px de altura */
}

.tab-btn {
    flex: 1 1 calc(25% - 6px); /* Por defecto, se distribuyen equitativamente */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: var(--color-text-muted);
    padding: 12px 14px;
    font-family: var(--font-titles);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.tab-btn:hover {
    color: var(--color-white);
    background: rgba(197, 160, 89, 0.05);
    border-color: rgba(197, 160, 89, 0.3);
}
.tab-btn.active {
    color: var(--color-gold-light);
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

@media (max-width: 600px) {
    .tab-btn {
        flex: 1 1 calc(50% - 6px); /* 2 columnas de botones en móviles */
        font-size: 10px;
        padding: 10px 8px;
    }
}

.tab-content {
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 16px;
}
.tab-content.active {
    display: flex;
}

.tab-content h4 {
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
    color: var(--color-gold-light);
}

.tab-description {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Excel Dropzone */
.excel-dropzone {
    border: 2px dashed rgba(197, 160, 89, 0.3);
    background-color: rgba(197, 160, 89, 0.02);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}
.excel-dropzone:hover, .excel-dropzone.dragover {
    border-color: var(--color-gold);
    background-color: rgba(197, 160, 89, 0.06);
}

.dropzone-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    opacity: 0.7;
}

.file-info {
    font-size: 12px;
    color: var(--color-text-muted);
    background-color: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Import loading */
.import-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 12px;
    font-size: 13px;
}

.status-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(197, 160, 89, 0.15);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Catalog summary block */
.catalog-summary-box {
    background-color: #070707;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 16px;
}

.catalog-summary-box h5 {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 8px 12px;
    border-radius: 4px;
}

.stat-item .label {
    color: var(--color-text-muted);
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* Pricing settings fields */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-row {
    width: 100%;
}

.form-group select {
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 12px;
    color: var(--color-white);
    outline: none;
    width: 100%;
    cursor: pointer;
}

.pricing-simulator {
    background-color: #070707;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 16px;
}

.pricing-simulator h5 {
    font-size: 12px;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.sim-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 13px;
}

.sim-label {
    color: var(--color-text-muted);
}

.sim-val {
    font-weight: 600;
}

/* MySQL Steps styling */
.mysql-steps {
    padding-left: 20px;
    font-size: 13px;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mysql-steps li {
    line-height: 1.5;
}

.mysql-steps pre {
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
    overflow-x: auto;
    margin-top: 6px;
    color: var(--color-gold-light);
}

.sql-code-area {
    width: 100%;
    height: 140px;
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 10px;
    font-family: monospace;
    font-size: 11px;
    color: var(--color-text-muted);
    resize: none;
    outline: none;
}

.admin-panel-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #080808;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0; /* Previene el colapso del footer */
}

.connection-status {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Estilos de Redes Sociales Dinámicas en Panel Admin */
.social-networks-admin-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}

.social-network-row {
    display: flex;
    gap: 8px;
    align-items: center;
    animation: fadeIn 0.15s ease-out;
}

.social-network-row input {
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--color-white);
    outline: none;
}

.social-network-row .net-name {
    flex: 1 1 20%;
}

.social-network-row .net-url {
    flex: 1 1 40%;
}

.social-network-row .net-icon {
    flex: 1 1 40%;
}

.social-link-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

.social-link-icon:hover img {
    filter: none;
}

.btn-delete-social {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-delete-social:hover {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

/* ==========================================
   13. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .main-header {
        top: 0;
    }
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 16px;
    }
    .controls-section {
        top: 72px;
        padding: 12px 16px;
    }
    .hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    .hero-trust-cards {
        display: none; /* Hide non-essential decoration on mobile to reduce noise */
    }
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    .product-card-body {
        padding: 16px;
    }
    .price-current {
        font-size: 20px;
    }
    .cart-drawer {
        max-width: 100%; /* Full screen drawer on mobile */
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .adv-filters-grid {
        grid-template-columns: 1fr;
    }
    .checkbox-group {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .sim-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gender-filters {
        padding-bottom: 4px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    .catalog-grid {
        grid-template-columns: 1fr; /* Single column on very small phones */
    }
    .product-ctas-row {
        grid-template-columns: 1fr auto;
    }
}

/* Fix para opciones de Select en Modo Oscuro (Evita popup blanco desordenado) */
select option {
    background-color: #141414 !important;
    color: #ffffff !important;
    padding: 10px;
}
select option:hover, select option:focus, select option:active, select option:checked {
    background-color: #242424 !important;
    color: var(--color-gold-light) !important;
}

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.btn-success:hover {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* ==========================================
   TARJETAS DE PRODUCTO: IMÁGENES Y PRECIOS ESCALONADOS
   ========================================== */
.product-card-img-wrapper {
    width: 100%;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-card-img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

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

.product-card-no-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 11px;
    opacity: 0.6;
}

/* Cuadrícula de 3 Escalas Mayoristas */
.wholesale-tier-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 10px;
}

.tier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.tier-row.tier-best {
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.tier-label {
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 500;
}

.tier-row.tier-best .tier-label {
    color: var(--color-gold-light);
    font-weight: 700;
}

.tier-price {
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--color-white);
}

.tier-row.tier-best .tier-price {
    color: var(--color-gold);
    font-size: 14px;
}

/* Estado de Precios Bloqueados por Muro de Registro */
.locked-prices-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.05);
    border: 1px dashed rgba(197, 160, 89, 0.4);
    border-radius: 8px;
    padding: 16px 12px;
    margin: 12px 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.locked-prices-badge:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--color-gold);
}

.locked-prices-badge i {
    font-size: 22px;
    color: var(--color-gold);
}

.locked-prices-badge span {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* ==========================================
   MODAL DE REGISTRO / ACCESO DE CLIENTES (LEAD WALL)
   ========================================== */
.lead-modal {
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-modal), 0 0 40px rgba(197, 160, 89, 0.15);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    padding: 30px 24px;
    position: relative;
    animation: modalIn 0.3s ease-out;
}

.lead-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.lead-modal-logo {
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 10px rgba(197, 160, 89, 0.3));
}

.lead-modal-header h3 {
    font-family: var(--font-titles);
    font-size: 22px;
    color: var(--color-gold-light);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.lead-modal-header p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.lead-mode-switcher {
    display: flex;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 20px;
    gap: 4px;
}

.lead-switch-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lead-switch-btn.active {
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-gold-light);
    border: 1px solid var(--color-gold);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.country-prefix {
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.phone-input-wrapper input {
    border: none !important;
    background: transparent !important;
}

/* ==========================================
   TABLA DE LEADS / CLIENTES EN ADMIN
   ========================================== */
.leads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.leads-controls {
    margin-bottom: 16px;
    width: 100%;
}

.leads-controls .search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
}

.leads-controls .search-input-wrapper input {
    background: transparent !important;
    border: none !important;
    color: var(--color-white) !important;
    font-size: 14px;
    width: 100%;
    outline: none !important;
}

.wholesale-cart-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--color-gold);
    color: var(--color-gold-light);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

.leads-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.leads-table th {
    background-color: #060606;
    color: var(--color-gold);
    padding: 12px 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.leads-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--color-text);
}

.leads-table tr:hover {
    background-color: rgba(197, 160, 89, 0.04);
}

.wa-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #25d366;
    font-weight: 600;
    text-decoration: none;
}
.wa-link-btn:hover {
    text-decoration: underline;
}
