* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ===== DARK THEME PALETTE (Logo-inspired) ===== */
    --primary-gold: #D4AF37;
    --light-gold: #F4D03F;
    --dark-gold: #B8962A;
    
    --bg-darker: #0a0a0a;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-elevated: #2a2a2a;
    
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    --border-dark: #333333;
    --border-light: #404040;
    
    /* Accent Colors */
    --accent-blue: #4a9eff;
    --accent-green: #4caf50;
    --accent-red: #ff5252;
    
    /* Sombras Oscuras */
    --shadow-dark-sm: 0 2px 8px rgba(0,0,0,0.6);
    --shadow-dark-md: 0 4px 16px rgba(0,0,0,0.7);
    --shadow-dark-lg: 0 8px 32px rgba(0,0,0,0.8);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.4);
    --shadow-gold-glow: 0 0 40px rgba(212, 175, 55, 0.3);
}

/* ===== ANIMACIONES GLOBALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes goldGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

/* ===== BODY & CONTAINER ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-darker);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== HEADER DARK ===== */
.header {
    background: var(--bg-dark);
    border-bottom: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-dark-md);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-dark-lg);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.logo h1:hover {
    transform: scale(1.05);
    animation: goldGlow 1.5s ease infinite;
}

.logo a {
    text-decoration: none;
}

.logo img {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    transition: filter 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.9));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-gold);
}

.main-nav a:hover {
    color: var(--primary-gold);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-icon {
    background: var(--bg-elevated);
    color: var(--primary-gold);
    border: 2px solid var(--border-dark);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-cart {
    color: var(--bg-dark);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    position: relative;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    font-weight: 800;
}

.btn-cart:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-gold-glow);
    animation: pulse 0.6s ease;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 82, 82, 0.5);
    animation: scaleIn 0.3s ease;
}

/* ===== BOTONES DARK THEME ===== */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-gold-glow);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #2575d8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.5);
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--accent-green) 0%, #388e3c 100%);
    color: white;
    width: 100%;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.5);
}

.btn-disabled {
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: not-allowed;
    width: 100%;
    border: 2px solid var(--border-dark);
}

/* ===== HERO DARK ELEGANTE ===== */
.hero {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-primary);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-gold);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.4));
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-content .btn {
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* ===== SECCIONES ===== */
.categories-section,
.featured-section,
.features-section {
    padding: 5rem 0;
    animation: fadeIn 0.8s ease;
    background: var(--bg-darker);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInUp 0.6s ease;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--primary-gold);
}

/* ===== CATEGORÍAS DARK ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-dark-sm);
    border: 2px solid var(--border-dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
    animation-delay: calc(var(--i) * 0.1s);
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 0.1;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.category-card h3 {
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.category-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
}

/* ===== PRODUCTOS DARK ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-dark-sm);
    border: 2px solid var(--border-dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: scaleIn 0.5s ease backwards;
    animation-delay: calc(var(--i) * 0.05s);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.product-card.out-of-stock {
    opacity: 0.5;
}

.product-image {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 100%;
    background: var(--bg-elevated);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.9);
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1);
}

.no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== BADGES DARK ===== */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    animation: scaleIn 0.3s ease;
    backdrop-filter: blur(10px);
}

.badge-out {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.4);
}

.badge-low {
    background: var(--primary-gold);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
    animation: pulse 2s ease infinite;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: var(--primary-gold);
}

.product-category {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 5px rgba(212, 175, 55, 0.3));
}

/* ===== FEATURES DARK ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-dark);
    box-shadow: var(--shadow-dark-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
    animation-delay: calc(var(--i) * 0.1s);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.feature-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
    filter: grayscale(0);
    transition: filter 0.3s ease;
}

.feature-item:hover .feature-icon {
    animation: rotate 0.6s ease;
}

.feature-icon-img {
    width: 100%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1/1;
    display: block;
    margin: 0 auto 1rem;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.feature-item:hover .feature-icon-img {
    animation: rotate 0.6s ease;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .feature-icon-img {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .feature-icon-img {
        max-width: 80px;
    }
}

.feature-item h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-secondary);
}

/* ===== FOOTER DARK ===== */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0a0a0a 100%);
    color: var(--text-secondary);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
    position: relative;
    border-top: 3px solid var(--primary-gold);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gold);
    box-shadow: 0 0 20px var(--primary-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1rem;
    color: var(--primary-gold);
    font-weight: 700;
}

.footer-col p {
    color: var(--text-secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    padding-left: 0;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-muted);
}

/* ===== PAGE HEADER DARK ===== */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-primary);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-gold);
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.4));
}

/* ===== CATÁLOGO DARK ===== */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.catalog-sidebar {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-dark);
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-dark-sm);
}

.catalog-sidebar h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.filter-list {
    list-style: none;
}

.filter-list a {
    display: block;
    padding: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.filter-list a:hover, 
.filter-list a.active {
    background: var(--bg-elevated);
    color: var(--primary-gold);
    transform: translateX(5px);
    border-color: var(--primary-gold);
}

.catalog-header {
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease;
}

/* ===== ALERTAS DARK ===== */
.cart-alert {
    position: fixed;
    top: 80px;
    right: -350px;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-dark-lg);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 320px;
    animation: slideInRight 0.4s ease;
}

.cart-alert.show {
    right: 20px;
}

.cart-alert-success {
    border-left: 5px solid var(--accent-green);
}

.cart-alert-error {
    border-left: 5px solid var(--accent-red);
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    animation: fadeIn 0.5s ease;
}

/* ===== PRODUCT DETAIL DARK ===== */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.product-gallery {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-dark);
    box-shadow: var(--shadow-dark-sm);
    animation: fadeInUp 0.6s ease;
}

.main-image {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-image:hover {
    transform: scale(1.05);
}

.product-details {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-dark);
    box-shadow: var(--shadow-dark-sm);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-tag {
    background: var(--bg-elevated);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 2px solid var(--border-dark);
}

.stock-badge {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    animation: scaleIn 0.3s ease;
}

.in-stock {
    background: var(--accent-green);
    color: white;
}

.low-stock {
    background: var(--primary-gold);
    color: var(--bg-dark);
    animation: pulse 2s ease infinite;
}

.out-stock {
    background: var(--accent-red);
    color: white;
}

.product-description {
    margin: 2rem 0;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ===== QUANTITY SELECTOR DARK ===== */
.add-to-cart-section {
    margin-top: 2rem;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    color: var(--text-primary);
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.qty-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-light);
    background: var(--bg-elevated);
    color: var(--primary-gold);
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    font-weight: 700;
}

.qty-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border-color: var(--primary-gold);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

#quantity {
    width: 100px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 0.75rem;
    font-weight: 700;
}

/* ===== RELATED PRODUCTS ===== */
.related-products {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-dark);
}

.related-products h2 {
    margin-bottom: 2rem;
    color: var(--primary-gold);
    font-weight: 800;
}

/* ===== CART PAGE DARK ===== */
.cart-page {
    padding: 3rem 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-top: 2rem;
}

.cart-items {
    background: var(--bg-card);
    border-radius: 20px;
    border: 2px solid var(--border-dark);
    padding: 2rem;
    box-shadow: var(--shadow-dark-sm);
    animation: fadeInUp 0.6s ease;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr 150px 120px 50px;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--border-dark);
    transition: background 0.3s ease;
    border-radius: 12px;
}

.cart-item:hover {
    background: var(--bg-elevated);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.1);
}

.cart-item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cart-item-info a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-info a:hover {
    color: var(--primary-gold);
}

.item-price {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-item-quantity input {
    width: 60px;
    text-align: center;
    border: 2px solid var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.5rem;
    font-weight: 700;
    transition: border 0.3s ease;
}

.cart-item-quantity input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.cart-item-subtotal {
    text-align: right;
    font-weight: 800;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-remove {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--accent-red);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-remove:hover {
    transform: scale(1.3) rotate(90deg);
}

/* ===== CART SUMMARY DARK ===== */
.cart-summary {
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: 20px;
    padding: 2.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-dark-md);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.cart-summary h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-dark);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.summary-line span:last-child {
    font-weight: 700;
    color: var(--text-primary);
}

.total-line {
    font-size: 1.5rem;
    border-bottom: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 3px solid var(--primary-gold);
}

.total-line span {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== CHECKOUT PAGE DARK ===== */
.checkout-page {
    padding: 3rem 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-top: 2rem;
}

.checkout-form {
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-dark-sm);
    animation: fadeInUp 0.6s ease;
}

.checkout-form h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    font-weight: 800;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.checkout-summary {
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: 20px;
    padding: 2.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-dark-md);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.checkout-items-list {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-dark);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.item-name {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== SEARCH DARK ===== */
.search-form-main {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

.search-form-main input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-form-main input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-form-main input::placeholder {
    color: var(--text-muted);
}

/* ===== PAGINATION DARK ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-link {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ===== MENU TOGGLE DARK ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== LOADING STATES DARK ===== */
.loading-state,
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeIn 0.5s ease;
    color: var(--text-secondary);
}

.loading-state::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-dark);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

/* ===== CUSTOM SCROLLBAR DARK ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-gold), var(--dark-gold));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
    box-shadow: 0 0 10px var(--primary-gold);
}

/* ===== SELECTION DARK ===== */
::selection {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

::-moz-selection {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

/* ===== HERO CAROUSEL DARK ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--bg-darker);
    border-bottom: 3px solid var(--primary-gold);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(10, 10, 10, 0.8) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease;
}

.slide-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.6));
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.slide-content .btn {
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Controles del Carousel Dark */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-gold-glow);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

/* Indicadores Dark */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-gold);
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 0 20px var(--primary-gold);
}

/* ===== VISOR 3D DARK ===== */
.gallery-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: var(--bg-elevated);
    border: 2px solid var(--border-light);
    color: var(--text-primary);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--bg-card);
    border-color: var(--primary-gold);
}

.tab-btn.active {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.tab-content {
    display: none;
}

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

#viewer3d-container {
    width: 100%;
    height: 500px;
    background: var(--bg-elevated);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-dark);
}

.viewer-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: 12px;
}

.control-btn {
    padding: 10px 20px;
    background: var(--primary-gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.color-picker-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-picker-group label {
    font-weight: 600;
    color: var(--text-primary);
}

#model-color {
    width: 50px;
    height: 40px;
    border: 2px solid var(--border-light);
    background: var(--bg-elevated);
    border-radius: 8px;
    cursor: pointer;
}

.viewer-instructions {
    margin-top: 10px;
    padding: 10px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--primary-gold);
    border-radius: 5px;
}

.viewer-instructions p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== CONTACTO DARK ===== */
.contact-page {
    padding: 60px 0;
    background: var(--bg-darker);
    min-height: calc(100vh - 200px);
}

.contact-page .page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-page .page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.info-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-dark-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.whatsapp-card {
    background: #25D366;
    color: white;
    grid-column: span 2;
    border-color: #128C7E;
}

.whatsapp-card h3,
.whatsapp-card p {
    color: white;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: white;
    color: #25D366;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    text-decoration: none;
}

.schedule-card {
    grid-column: span 2;
    background: var(--primary-gold);
    color: var(--bg-dark);
    border-color: var(--dark-gold);
}

.schedule-card h3 {
    color: var(--bg-dark);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(10, 10, 10, 0.2);
    border-radius: 8px;
}

.schedule-item span {
    color: rgba(10, 10, 10, 0.8);
}

.schedule-item strong {
    color: var(--bg-dark);
    font-weight: 700;
}

.map-section {
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-dark-sm);
    height: 100%;
    min-height: 600px;
}

.map-section iframe {
    width: 100%;
    height: calc(100% - 40px);
    min-height: 560px;
    border-radius: 8px;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--bg-elevated);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-content h1, .slide-title {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .catalog-layout,
    .cart-layout,
    .checkout-layout,
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .catalog-sidebar,
    .cart-summary,
    .checkout-summary {
        position: static;
    }
    
    .hero-content h1, .slide-title {
        font-size: 2.5rem;
    }
    
    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
    }
    
    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: 2;
    }
    
    .carousel-container, .slide-content {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 2px solid var(--primary-gold);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-dark-md);
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-dark);
    }
    
    .hero-content h1, .slide-title {
        font-size: 2rem;
    }
    
    .hero-content p, .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-cards-wrapper {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-card,
    .schedule-card {
        grid-column: span 1;
    }
    
    .carousel-container, .slide-content {
        height: 400px;
    }

    #viewer3d-container {
    height: 350px;
}

.viewer-controls {
    flex-direction: column;
    align-items: stretch;
}
}
/* ===== UTILITY CLASSES ===== */
.btn-block {
width: 100%;
}
.btn-large {
padding: 1.25rem 2.5rem;
font-size: 1.2rem;
}
/* ===== MEJORAS ESPECÍFICAS PARA CARRITO Y FORMULARIOS ===== */

/* Carrito Items - Mejorado */
.cart-items h2 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cart-item-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Formularios mejorados - Inputs con mejor contraste */
.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-darker);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Checkout Summary mejorado */
.checkout-summary h2 {
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.checkout-item .item-name {
    color: var(--text-primary);
}

.checkout-item .item-quantity {
    color: var(--text-secondary);
}

.checkout-item .item-price {
    color: var(--primary-gold);
    font-weight: 700;
}

/* Cart Summary Lines - Mejor contraste */
.summary-line {
    color: var(--text-primary);
}

.summary-line span:first-child {
    color: var(--text-secondary);
}

.summary-line span:last-child {
    color: var(--text-primary);
}

/* Empty Cart Message */
.empty-cart h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-cart p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Botones en formularios */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Links en carrito */
.cart-item-info a {
    color: var(--text-primary);
}

.cart-item-info a:hover {
    color: var(--primary-gold);
}

/* Success/Error pages */
.success-page,
.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.success-page h1,
.error-page h1 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.success-page p,
.error-page p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Order Details */
.order-details {
    background: var(--bg-card);
    border: 2px solid var(--border-dark);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
}

.order-details h2 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-dark);
    padding-bottom: 1rem;
}

.order-info-line {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-dark);
}

.order-info-line strong {
    color: var(--text-primary);
}

.order-info-line span {
    color: var(--text-secondary);
}

.order-items-list {
    margin-top: 2rem;
}

.order-items-list h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-elevated);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.order-item-name {
    color: var(--text-primary);
    font-weight: 600;
}

.order-item-details {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-item-price {
    color: var(--primary-gold);
    font-weight: 700;
}

/* Botones secundarios mejorados */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

/* Required field indicator */
.form-group label .required {
    color: var(--accent-red);
    margin-left: 0.25rem;
}

/* Validación de formularios */
.form-group input:invalid:focus,
.form-group textarea:invalid:focus,
.form-group select:invalid:focus {
    border-color: var(--accent-red);
}

.form-group input:valid:focus,
.form-group textarea:valid:focus,
.form-group select:valid:focus {
    border-color: var(--accent-green);
}

/* Error messages */
.error-message {
    color: var(--accent-red);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

/* Success messages */
.success-message {
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}
