/* Hoja de estilos premium LVMEN - Fuego, Luz y Misión */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Variables CSS para Temas */
:root {
    /* Modo Oscuro (Predeterminado) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1e1e1e;
    --text-primary: #FAF9F6;
    --text-secondary: #a0a0a0;
    --accent-gold: #F5A623;
    --accent-gold-hover: #FFB74D;
    --accent-gold-glow: rgba(245, 166, 35, 0.45);
    --glass-bg: rgba(18, 18, 18, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
    --badge-bg: #FF5722;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    /* Modo Claro */
    --bg-primary: #FAF9F6;
    --bg-secondary: #F4F3EE;
    --bg-tertiary: #E8E7E0;
    --text-primary: #121212;
    --text-secondary: #606060;
    --accent-gold: #D48806;
    --accent-gold-hover: #B27000;
    --accent-gold-glow: rgba(212, 136, 6, 0.3);
    --glass-bg: rgba(244, 243, 238, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.08);
    --badge-bg: #E64A19;
}

/* Reset de Estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Clases de Contenedor */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Cabecera / Navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-smooth);
}

header.scrolled .navbar {
    height: 65px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-svg-container {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

header.scrolled .brand-svg-container {
    width: 50px;
    height: 50px;
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.15em;
    display: flex;
    flex-direction: column;
}

.brand-name span {
    font-size: 8px;
    letter-spacing: 0.28em;
    color: var(--accent-gold);
    margin-top: -4px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 20px;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.icon-btn:hover {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--badge-bg);
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Héroe de Presentación */
.hero-section {
    padding: 160px 0 100px 0;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(255, 87, 34, 0.05) 0%, transparent 40%);
    text-align: center;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-size: 16px;
    color: var(--text-secondary);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #121212;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-gold-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

/* Sección de Marcas */
.brands-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

.section-subtitle {
    font-size: 12px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.brand-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

.brand-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px var(--accent-gold-glow);
}

.brand-card-logo-container {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.brand-card:hover .brand-card-logo-container {
    transform: scale(1.1);
}

/* Logos y llamas en SVG */
.lumen-logo {
    width: 100%;
    height: 100%;
}

.lumen-logo .logo-flame {
    animation: flame-flicker 2s infinite ease-in-out alternate;
    transform-origin: center bottom;
}

.lumen-logo .light-rays line {
    animation: pulse-rays 2s infinite ease-in-out alternate;
}

.lumen-logo .halo-ring {
    animation: rotate-halo 8s linear infinite;
    transform-origin: center center;
}

.lumen-logo .compass-pointer {
    animation: compass-sway 4s infinite ease-in-out alternate;
    transform-origin: 100px 95px;
}

@keyframes flame-flicker {
    0% {
        transform: scale(0.95) rotate(-1.5deg);
        filter: drop-shadow(0 0 3px rgba(245, 166, 35, 0.45));
        opacity: 0.86;
    }
    30% {
        transform: scale(1.04) rotate(0.8deg);
        filter: drop-shadow(0 0 11px rgba(245, 166, 35, 0.85));
        opacity: 0.98;
    }
    60% {
        transform: scale(0.92) rotate(-0.8deg);
        filter: drop-shadow(0 0 5px rgba(245, 166, 35, 0.55));
        opacity: 0.89;
    }
    100% {
        transform: scale(1.07) rotate(1.5deg);
        filter: drop-shadow(0 0 14px rgba(245, 166, 35, 0.95));
        opacity: 1;
    }
}

@keyframes pulse-rays {
    0% { opacity: 0.5; stroke-width: 2.5; }
    100% { opacity: 1; stroke-width: 4; }
}

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

@keyframes compass-sway {
    0% { transform: rotate(-10deg); }
    100% { transform: rotate(10deg); }
}

/* Nuevos Estilos del Ecosistema de Marcas Detallado */
.brand-card-slogan {
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card-what {
    margin-bottom: 20px;
    flex-grow: 1;
}

.brand-card-what h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 4px;
}

.brand-card-what ul {
    list-style: none;
    padding-left: 0;
}

.brand-card-what li {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
    line-height: 1.35;
    text-align: left;
}

.brand-card-what li::before {
    content: '✦';
    color: var(--accent-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 10px;
}

.brand-card-purpose {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.4;
    text-align: left;
    transition: var(--transition-smooth);
}

.brand-card-purpose span {
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.brand-card:hover .brand-card-purpose {
    border-color: rgba(245, 166, 35, 0.25);
    background: rgba(245, 166, 35, 0.03);
}

.brand-card .btn-card {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.brand-card:hover .btn-card {
    color: var(--text-primary);
}

/* Catálogo de Productos / Tienda */
.shop-section {
    padding: 80px 0;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

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

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-gold);
    color: #121212;
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px var(--accent-gold-glow);
}

.search-bar {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-bar input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 10px 16px 10px 40px;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.search-bar input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

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

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, 0.2);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Relación 1:1 */
    overflow: hidden;
    background-color: #1a1a1a;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-brand-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(8px);
    color: var(--accent-gold);
    border: 1px solid var(--glass-border);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.product-card-footer {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.product-card-footer .btn {
    padding: 10px 16px;
    font-size: 12px;
    width: 100%;
}

/* Modales y Paneles Flotantes (Carrito, Detalle) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
    transform: translateY(30px);
    transition: var(--transition-smooth);
    display: flex;
    max-height: 90vh;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.modal-img-side {
    width: 45%;
    background-color: #161616;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details-side {
    width: 55%;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

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

.modal-product-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.modal-product-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.modal-product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Configurador de atributos dentro del Modal */
.attributes-container {
    margin-bottom: 24px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.attribute-row {
    margin-bottom: 16px;
}

.attribute-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

/* Variación 1: Botones de texto (Tallas) */
.attr-options-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.attr-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.attr-btn:hover {
    border-color: var(--text-primary);
}

.attr-btn.active {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Variación 2: Círculos de color */
.attr-options-colors {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.color-swatch::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.color-swatch.active::after {
    opacity: 1;
    transform: scale(1);
}

/* Variación 3: Desplegables */
.attr-select {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.attr-select:focus {
    border-color: var(--accent-gold);
}

/* Ajuste de cantidad */
.quantity-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.quantity-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-primary);
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background-color: rgba(255,255,255,0.03);
    color: var(--accent-gold);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.modal-actions {
    margin-top: auto;
}

/* Carrito Flotante (Slide-out Drawer) */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    z-index: 2100;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

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

.cart-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.cart-empty-message {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 40px;
    font-size: 14px;
}

.cart-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 16px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    background-color: #161616;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.cart-item-attributes {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.remove-item-btn:hover {
    color: var(--badge-bg);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
}

.cart-item-qty-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty-btn:hover {
    background-color: rgba(255,255,255,0.05);
}

.cart-item-qty-val {
    width: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-tertiary);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.cart-summary-row.total {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 12px;
    border-top: 1px solid var(--glass-border);
    padding-top: 12px;
    margin-bottom: 20px;
}

/* Vista de Checkout / Pago */
.checkout-section {
    padding: 120px 0 80px 0;
    display: none; /* Se activa mediante Javascript */
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.checkout-form-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--card-shadow);
}

.checkout-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

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

.form-group input, .form-group select {
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold-glow);
}

/* Tarjeta de crédito simulada 3D */
.credit-card-preview {
    background: linear-gradient(135deg, #1f1c2c 0%, #928dab 100%);
    border-radius: 12px;
    padding: 24px;
    color: white;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.credit-card-preview::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.cc-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #e0a96d 0%, #bd8c54 100%);
    border-radius: 6px;
}

.cc-number {
    font-size: 18px;
    letter-spacing: 0.15em;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.cc-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cc-holder {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.cc-expiry {
    font-size: 11px;
}

.order-summary-container {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    height: fit-content;
}

/* Estilos de Toasts / Mensajes flotantes */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent-gold);
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast.toast-success {
    border-left-color: #4CAF50;
}

.toast.toast-error {
    border-left-color: #F44336;
}

/* Estilos de la página de confirmación */
.success-screen {
    text-align: center;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.success-icon {
    font-size: 64px;
    color: #4CAF50;
    margin-bottom: 20px;
    background: rgba(76, 175, 80, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------- PANEL DE ADMINISTRACIÓN ---------------- */
.admin-section {
    padding: 120px 0 80px 0;
}

.admin-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 30px;
}

.admin-tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.admin-tab-btn:hover {
    color: var(--text-primary);
}

.admin-tab-btn.active {
    color: var(--accent-gold);
}

.admin-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

/* Tabla de administración */
.admin-table-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: var(--card-shadow);
}

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

.admin-table th {
    background-color: var(--bg-tertiary);
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
}

.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-status.pendiente {
    background-color: rgba(245, 166, 35, 0.15);
    color: #F5A623;
}

.badge-status.completado {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

/* Constructor dinámico de atributos en Admin */
.admin-attrs-builder {
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 20px;
    background-color: var(--bg-primary);
    margin-bottom: 20px;
}

.attr-builder-row {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
}

.attr-builder-row .remove-attr-row-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.attr-builder-row .remove-attr-row-btn:hover {
    color: var(--badge-bg);
}

.attr-builder-options-list {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.attr-option-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 6px;
}

/* Pie de Página */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 15px;
    max-width: 320px;
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Imagen de Carga en Formularios */
.image-upload-preview-container {
    width: 100px;
    height: 100px;
    border: 2px dashed var(--glass-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 8px;
    position: relative;
}

.image-upload-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media(max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    .modal-container {
        flex-direction: column;
        max-height: 95vh;
        max-width: 500px;
    }
    .modal-img-side {
        width: 100%;
        height: 250px;
    }
    .modal-details-side {
        width: 100%;
        padding: 24px;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .navbar {
        height: 70px;
    }
    .nav-links {
        display: none; /* Simplificado para demo */
    }
    .hero-title {
        font-size: 38px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   SUB-LANDING OVERLAY STYLES
   ========================================================================== */
.sublanding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2500;
    background: var(--bg-primary);
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.sublanding-overlay.active {
    transform: translateX(0);
}

.sublanding-content {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
}

.sublanding-close-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2600;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sublanding-close-btn:hover {
    color: var(--accent-gold);
    border-color: rgba(245, 166, 35, 0.5);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.15);
}

.sublanding-header-section {
    position: relative;
    padding: 140px 0 60px 0;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-secondary);
}

.sublanding-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at 50% 30%, var(--brand-glow, rgba(245, 166, 35, 0.12)) 0%, transparent 60%);
    filter: blur(50px);
}

.sublanding-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: center;
}

.sublanding-logo-box {
    width: 240px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.sublanding-logo-box:hover {
    transform: scale(1.02);
    border-color: rgba(245, 166, 35, 0.25);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2), 0 0 15px rgba(245,166,35,0.1);
}

.sublanding-logo-box .lumen-logo {
    width: 100%;
    height: 100%;
}

.sublanding-info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.sublanding-badge {
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.25);
    color: var(--accent-gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    display: inline-block;
}

.sublanding-slogan {
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.sublanding-purpose-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 24px;
    max-width: 700px;
    backdrop-filter: blur(5px);
}

.sublanding-purpose-card h5 {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.sublanding-purpose-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sublanding-body-container {
    padding: 60px 0;
}

.sublanding-details-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
}

.sublanding-activities-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    height: fit-content;
    backdrop-filter: blur(10px);
}

.sublanding-activities-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.sublanding-activities-card ul {
    list-style: none;
    padding: 0;
}

.sublanding-activities-card li {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    position: relative;
    padding-left: 22px;
    line-height: 1.45;
    text-align: left;
}

.sublanding-activities-card li::before {
    content: '✦';
    color: var(--accent-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 11px;
}

.sublanding-products-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.sublanding-products-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

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

/* Responsivo para Sublanding */
@media(max-width: 992px) {
    .sublanding-details-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .sublanding-hero-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .sublanding-info-box {
        align-items: center;
        text-align: center;
    }
    
    .sublanding-slogan {
        font-size: 24px;
    }
}

/* ==========================================================================
   ESTILOS ADICIONALES (BLOG, REDES SOCIALES Y WIDGET DE CONTACTO)
   ========================================================================== */

/* 1. Tarjetas de Blog */
.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(245, 166, 35, 0.25);
}

/* 2. Rejilla e Imágenes del Feed Social Instagram */
.social-post-card {
    transition: var(--transition-smooth);
}
.social-post-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

/* 3. Widget de Contacto Flotante */
.floating-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.contact-trigger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
    animation: contact-pulse 2s infinite;
}

.contact-trigger-btn:hover {
    transform: scale(1.1);
}

.floating-contact-widget.active .contact-trigger-btn {
    transform: rotate(135deg);
    background: #F44336;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
    animation: none;
}

.contact-options-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.floating-contact-widget.active .contact-options-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 10px 16px;
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.contact-option i {
    font-size: 16px;
}

.contact-option.wa {
    border-color: rgba(37, 211, 102, 0.3);
}
.contact-option.wa i {
    color: #25D366;
}
.contact-option.wa:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25D366;
}

.contact-option.tel {
    border-color: rgba(245, 166, 35, 0.3);
}
.contact-option.tel i {
    color: var(--accent-gold);
}
.contact-option.tel:hover {
    background: rgba(245, 166, 35, 0.1);
    border-color: var(--accent-gold);
}

.contact-option.mail {
    border-color: rgba(255, 255, 255, 0.2);
}
.contact-option.mail i {
    color: #03A9F4;
}
.contact-option.mail:hover {
    background: rgba(3, 169, 244, 0.1);
    border-color: #03A9F4;
}

@keyframes contact-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0px rgba(37, 211, 102, 0);
    }
}

/* 4. Estilos de Autenticación para el Administrador */
.auth-wrapper {
    transition: var(--transition-smooth);
}

.auth-tabs .btn-outline {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.auth-tabs .btn-outline.active {
    background: var(--accent-gold);
    color: #121212;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold-glow);
}

.admin-only {
    border-color: rgba(245, 166, 35, 0.4) !important;
}

.admin-only:hover {
    background: rgba(245, 166, 35, 0.1) !important;
}
