/* ========================================
   VARIABLES GLOBALES
   ======================================== */
:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --secondary-dark: #6b46c1;
    --success: #48bb78;
    --success-dark: #38a169;
    --danger: #f56565;
    --danger-dark: #e53e3e;
    --warning: #ed8936;
    --warning-dark: #dd6b20;
    --info: #4299e1;
    --info-dark: #3182ce;
    --dark: #1a202c;
    --dark-light: #2d3748;
    --gray: #a0aec0;
    --gray-light: #cbd5e0;
    --gray-lighter: #e2e8f0;
    --light: #f7fafc;
    --white: #ffffff;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-2xl: 1rem;
    --border-radius-3xl: 1.5rem;
    --border-radius-full: 9999px;
}

/* ========================================
   RESET Y ESTILOS BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #667eea0d 0%, #764ba20d 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   TIPOGRAFÍA
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--border-radius-full);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ========================================
   HEADER Y NAVEGACIÓN
   ======================================== */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1.5rem !important;
}

.cart-count {
    background: var(--danger);
    color: var(--white);
    border-radius: var(--border-radius-full);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark) !important;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--light);
}

/* Search box */
.search-box {
    flex: 1;
    max-width: 400px;
}

.search-box form {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
}

.search-box button:hover {
    opacity: 0.9;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 0 0 var(--border-radius-3xl) var(--border-radius-3xl);
    margin-bottom: 3rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-xl);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    outline: none;
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-btn:hover {
    transform: scale(1.05);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-full);
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.2rem;
}

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands-section {
    margin-bottom: 4rem;
}

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

.brand-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.brand-logo {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.brand-count {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Colores de marcas */
.brand-logo.hot-toys { color: #e53e3e; }
.brand-logo.sideshow-collectibles { color: #3182ce; }
.brand-logo.bandai { color: #38a169; }
.brand-logo.prime-1-studio { color: #805ad5; }
.brand-logo.good-smile-company { color: #ed8936; }
.brand-logo.kotobukiya { color: #d53f8c; }
.brand-logo.iron-studios { color: #718096; }
.brand-logo.megahouse { color: #f56565; }
.brand-logo.threezero { color: #2c3e50; }
.brand-logo.damtoys { color: #cbd5e0; }

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

.products-grid.small {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    position: relative;
    animation: fadeInUp 0.5s ease-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

/* Product badges */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    color: var(--white);
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.product-badge.limited {
    background: linear-gradient(135deg, var(--danger), #ff6b6b);
}

.product-badge.exclusive {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: var(--dark);
}

.product-badge.low-stock {
    background: linear-gradient(135deg, var(--warning), var(--warning-dark));
}

.product-badge.sale {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
}

.product-badge.new {
    background: linear-gradient(135deg, var(--info), var(--info-dark));
}

/* Product image */
.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* Product actions overlay */
.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    color: var(--dark);
}

.action-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.1);
}

/* Product info */
.product-info {
    padding: 1.5rem;
}

.product-brand {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.brand-name {
    color: var(--primary);
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
}

.license-name {
    color: var(--gray);
    padding: 0.25rem 0.75rem;
    background: var(--light);
    border-radius: var(--border-radius-full);
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
    line-height: 1.4;
}

/* Product meta */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-scale {
    color: var(--gray);
}

.product-stock {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
}

.product-stock.low-stock {
    background: #fff3e0;
    color: var(--warning-dark);
}

.product-stock.in-stock {
    background: #e8f5e9;
    color: var(--success-dark);
}

.product-stock.out-of-stock {
    background: #ffebee;
    color: var(--danger-dark);
}

/* Product price */
.product-price {
    margin-bottom: 1.5rem;
}

.old-price {
    color: var(--gray);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Product footer */
.product-footer {
    display: flex;
    gap: 0.5rem;
}

.btn-details {
    flex: 1;
    padding: 0.75rem;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-details:hover {
    background: var(--gray-lighter);
}

.btn-cart {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cart:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.btn-notify {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--warning), var(--warning-dark));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-notify:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Compact product card */
.product-card.compact {
    display: flex;
    height: 120px;
}

.product-card.compact .product-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.product-card.compact .product-info {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-card.compact .product-name {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.product-card.compact .product-brand {
    font-size: 0.75rem;
}

.product-card.compact .product-price {
    margin-bottom: 0.5rem;
}

.product-card.compact .current-price {
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    text-align: center;
    font-size: 0.8rem;
    transition: opacity 0.3s;
    display: inline-block;
}

.btn-small:hover {
    opacity: 0.9;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-section {
    margin: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-card.limited {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: var(--white);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: inherit;
}

.category-card span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    margin: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #ffd700;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    margin-right: 0.25rem;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 2px solid var(--light);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--border-radius-3xl);
    padding: 3rem;
    margin: 4rem 0;
    color: var(--white);
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    outline: none;
}

.btn-newsletter {
    padding: 1rem 2rem;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-newsletter:hover {
    background: var(--dark-light);
    transform: scale(1.05);
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.page-link {
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    min-width: 45px;
    text-align: center;
}

.page-link:hover,
.page-link.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
}

/* ========================================
   VIEW ALL LINK
   ======================================== */
.view-all-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.view-all-link:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

/* ========================================
   ALERTS Y NOTIFICACIONES
   ======================================== */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 500;
}

.alert-success {
    background: #e8f5e9;
    color: var(--success-dark);
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #ffebee;
    color: var(--danger-dark);
    border: 1px solid #ffcdd2;
}

.alert-warning {
    background: #fff3e0;
    color: var(--warning-dark);
    border: 1px solid #ffe0b2;
}

.alert-info {
    background: #e3f2fd;
    color: var(--info-dark);
    border: 1px solid #bbdef5;
}

/* Notificación flotante */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    animation: slideIn 0.3s ease;
    font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
}

footer .container {
    text-align: center;
}

footer p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

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

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-item {
        justify-content: center;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: var(--border-radius-lg);
    }
    
    .search-input,
    .search-btn {
        border-radius: var(--border-radius-lg);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .btn-newsletter {
        border-radius: var(--border-radius-lg);
    }
    
    .product-card.compact {
        flex-direction: column;
        height: auto;
    }
    
    .product-card.compact .product-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/* ========================================
   PÁGINA: QUIÉNES SOMOS
   ======================================== */

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

/* Encabezado de página */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Sección About */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    pointer-events: none;
}

.about-text {
    padding: 2rem;
}

.about-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.about-text p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-text strong {
    color: #667eea;
    font-weight: 600;
}

/* Sección de Valores */
.values-section {
    margin: 5rem 0;
    text-align: center;
}

.values-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.values-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 2;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.value-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.value-card p {
    color: #718096;
    line-height: 1.6;
}

/* Sección del Equipo */
.team-section {
    margin: 5rem 0;
}

.team-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h3 {
    color: #2c3e50;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.team-member p {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.member-bio {
    color: #718096;
    padding: 1rem 1.5rem 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid #edf2f7;
    margin-top: 1rem;
}

/* Elementos adicionales */
.highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.stats-banner {
    background: linear-gradient(135deg, #2c3e50, #1a202c);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 968px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-text {
        padding: 1rem 0;
    }

    .about-text h2::after {
        left: 0;
        transform: none;
    }
}

@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .team-member img {
        height: 250px;
    }
}

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

.value-card,
.team-member,
.about-section {
    animation: fadeInUp 0.6s ease-out;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation-delay: 0.4s;
}

.value-card:nth-child(4) {
    animation-delay: 0.6s;
}
/* ========================================
   PÁGINA: MISIÓN
   ======================================== */

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta principal */
.mission-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 2rem;
    margin-bottom: 4rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.mission-card.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.mission-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.mission-card.featured h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.mission-statement {
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Grid de misión */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.mission-item {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mission-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.mission-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    padding-left: 1rem;
}

.mission-item p {
    color: #718096;
    line-height: 1.8;
    padding-left: 1rem;
}

/* Cita */
.mission-quote {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 2rem;
    margin: 4rem 0;
}

.mission-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    quotes: "«" "»" '"' '"';
}

.mission-quote blockquote::before {
    content: '«';
    font-size: 3rem;
    color: #667eea;
    opacity: 0.5;
    margin-right: 0.5rem;
}

.mission-quote blockquote::after {
    content: '»';
    font-size: 3rem;
    color: #667eea;
    opacity: 0.5;
    margin-left: 0.5rem;
}

.mission-quote cite {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 600;
    font-style: normal;
}

/* Responsive */
@media (max-width: 768px) {
    .mission-card.featured {
        padding: 3rem 1.5rem;
    }

    .mission-card.featured h2 {
        font-size: 2rem;
    }

    .mission-statement {
        font-size: 1.4rem;
    }

    .mission-quote blockquote {
        font-size: 1.2rem;
    }
}
/* ========================================
   PÁGINA: VISIÓN
   ======================================== */

.vision-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta principal */
.vision-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 2rem;
    margin-bottom: 4rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.vision-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

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

.vision-card.featured h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.vision-statement {
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Timeline */
.vision-timeline {
    margin: 5rem 0;
    position: relative;
    padding: 2rem 0;
}

.vision-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    position: relative;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
}

.timeline-year {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -50px;
}

.timeline-content {
    width: calc(100% - 120px);
    padding: 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.timeline-content p {
    color: #718096;
    line-height: 1.6;
}

/* Valores de visión */
.vision-values {
    margin: 5rem 0;
    text-align: center;
}

.vision-values h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.vision-values h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

.value-item {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.value-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.value-item p {
    color: #718096;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .vision-timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 80px;
    }

    .timeline-year {
        left: 0 !important;
        right: auto !important;
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }

    .timeline-content {
        width: 100%;
    }

    .vision-statement {
        font-size: 1.4rem;
    }
}
/* ========================================
   PÁGINA: PORTAFOLIO
   ======================================== */

/* Filtros de categoría */
.portfolio-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 4rem;
}

.category-filter {
    padding: 0.75rem 2rem;
    border: none;
    background: white;
    color: #2c3e50;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.category-filter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.category-filter:hover::before {
    width: 300px;
    height: 300px;
}

.category-filter:hover,
.category-filter.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Secciones del portafolio */
.portfolio-section {
    margin: 5rem 0;
}

.portfolio-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.portfolio-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Grid del portafolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.portfolio-info {
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(255,255,255,0.95), white);
}

.portfolio-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-serie {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.portfolio-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.portfolio-details .marca {
    color: #718096;
}

.portfolio-details .escala {
    color: #2c3e50;
    font-weight: 600;
}

.portfolio-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #48bb78;
    margin: 0.5rem 0;
}

.portfolio-stock {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1rem;
}

/* Edición Limitada */
.limited-edition {
    background: linear-gradient(135deg, #2c3e50, #1a202c);
    padding: 3rem;
    border-radius: 2rem;
    margin: 4rem 0;
}

.limited-edition h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.limited-edition h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.limited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.limited-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.limited-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.limited-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.limited-info {
    padding: 1.5rem;
    color: white;
}

.limited-info h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.limited-number {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.limited-artist {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.limited-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #48bb78;
    margin: 1rem 0;
}

/* Marcas */
.brands-section {
    margin: 5rem 0;
}

.brands-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.brand-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.brand-item:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-categories {
        flex-direction: column;
        padding: 0 1rem;
    }

    .category-filter {
        width: 100%;
    }

    .limited-edition {
        padding: 2rem 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   PÁGINA: CONTACTO
   ======================================== */

/* Grid de información de contacto */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #718096;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-note {
    font-size: 0.9rem;
    color: #a0aec0;
    margin-top: 1rem;
    font-style: italic;
}

/* Formulario de contacto */
.contact-form-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 600;
    color: #2c3e50;
}

.contact-form .form-control {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form .checkbox {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.contact-form .checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.contact-form .checkbox label {
    cursor: pointer;
}

/* Mapa */
.contact-map {
    margin: 4rem 0;
}

.contact-map h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}

.contact-map h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.map-container {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* FAQ */
.contact-faq {
    margin: 4rem 0;
}

.contact-faq h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.contact-faq h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-item h3::before {
    content: '❓';
    position: absolute;
    left: 0;
    color: #667eea;
}

.faq-item p {
    color: #718096;
    line-height: 1.6;
    padding-left: 1.5rem;
}

/* Redes Sociales */
.social-section {
    margin: 4rem 0;
    text-align: center;
}

.social-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.social-link span {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem 1.5rem;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        gap: 1.5rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card,
.faq-item,
.contact-form-container {
    animation: fadeIn 0.6s ease-out;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.4s;
}

.contact-card:nth-child(4) {
    animation-delay: 0.6s;
}
/* ========================================
   PÁGINAS: LOGIN Y REGISTER
   ======================================== */

/* Contenedor principal */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea0d 0%, #764ba20d 100%);
}

/* Tarjeta de autenticación */
.auth-card {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.5s ease-out;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.auth-card h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
}

.auth-card h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Formulario */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-form label i {
    color: #667eea;
    width: 20px;
}

.auth-form .form-control {
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.auth-form .form-control::placeholder {
    color: #a0aec0;
    font-size: 0.95rem;
}

/* Checkbox */
.auth-form .checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.auth-form .checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.auth-form .checkbox label {
    margin: 0;
    cursor: pointer;
    color: #718096;
    font-weight: normal;
}

/* Botones */
.auth-form .btn-block {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.auth-form .btn-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auth-form .btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.auth-form .btn-block:hover::before {
    width: 300px;
    height: 300px;
}

.auth-form .btn-block:active {
    transform: translateY(0);
}

/* Enlaces */
.auth-links {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.auth-links p {
    margin: 0.5rem 0;
    color: #718096;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.auth-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s;
}

.auth-links a:hover {
    color: #764ba2;
}

.auth-links a:hover::after {
    width: 100%;
}

/* Alertas */
.auth-card .alert {
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-card .alert i {
    font-size: 1.2rem;
}

.auth-card .alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.auth-card .alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.auth-card .alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.auth-card .alert-warning {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffb74d;
}

/* Lista de errores */
.auth-card .alert-error ul {
    margin: 0.5rem 0 0 1.5rem;
}

.auth-card .alert-error li {
    margin: 0.25rem 0;
}

/* Campos deshabilitados */
.auth-form .form-control:disabled {
    background: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Iconos dentro de inputs */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.input-with-icon input {
    padding-left: 2.5rem;
}

/* Botones de acción secundarios */
.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Separador */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #a0aec0;
    margin: 1.5rem 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.separator span {
    padding: 0 1rem;
}

/* Login social */
.social-login {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn.google:hover {
    background: #DB4437;
    color: white;
}

.social-btn.facebook:hover {
    background: #4267B2;
    color: white;
}

.social-btn.twitter:hover {
    background: #1DA1F2;
    color: white;
}

/* Términos y condiciones */
.terms-text {
    font-size: 0.85rem;
    color: #a0aec0;
    text-align: center;
    margin-top: 1rem;
}

.terms-text a {
    color: #667eea;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Animaciones */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Estilos específicos para Register (campos adicionales) */
.auth-card.register {
    max-width: 550px;
}

.auth-card.register .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Password strength meter */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-bar span {
    display: block;
    height: 100%;
    width: 0;
    transition: width 0.3s, background 0.3s;
}

.strength-bar.weak span {
    width: 33%;
    background: #f56565;
}

.strength-bar.medium span {
    width: 66%;
    background: #ed8936;
}

.strength-bar.strong span {
    width: 100%;
    background: #48bb78;
}

.strength-text {
    font-size: 0.8rem;
    color: #a0aec0;
}

/* Tooltips de validación */
.validation-tooltip {
    position: relative;
    display: inline-block;
}

.validation-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background: #2c3e50;
    color: white;
    text-align: left;
    border-radius: 0.5rem;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    font-weight: normal;
}

.validation-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-card h1 {
        font-size: 1.8rem;
    }

    .auth-form .form-control {
        padding: 0.875rem 1rem;
    }

    .auth-card.register .form-row {
        grid-template-columns: 1fr;
    }

    .social-login {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem 1rem;
    }

    .auth-card h1 {
        font-size: 1.5rem;
    }

    .auth-form .btn-block {
        padding: 0.875rem;
        font-size: 1rem;
    }

    .auth-links {
        font-size: 0.9rem;
    }
}

/* Dark mode support (opcional) */
@media (prefers-color-scheme: dark) {
    .auth-container {
        background: linear-gradient(135deg, #1a202c, #2d3748);
    }

    .auth-card {
        background: #2d3748;
    }

    .auth-card h1 {
        color: white;
    }

    .auth-form label {
        color: #e2e8f0;
    }

    .auth-form .form-control {
        background: #1a202c;
        border-color: #4a5568;
        color: white;
    }

    .auth-form .form-control:focus {
        border-color: #667eea;
        background: #1a202c;
    }

    .auth-links {
        border-top-color: #4a5568;
    }

    .auth-links p {
        color: #a0aec0;
    }
}

/* Estados de carga */
.btn-block.loading {
    position: relative;
    color: transparent;
}

.btn-block.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Éxito en registro */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4caf50;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: white;
    transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #4caf50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-long 0.75s;
}

@keyframes icon-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}
/* ========================================
   PÁGINA: CARRITO DE COMPRAS
   ======================================== */

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

.cart-container h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
}

.cart-container h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Carrito vacío */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-out;
}

.empty-cart i {
    font-size: 5rem;
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

.empty-cart p {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 2rem;
}

.empty-cart .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.empty-cart .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Tabla del carrito */
.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
    background: transparent;
}

.cart-table thead th {
    background: white;
    padding: 1.2rem 1rem;
    text-align: left;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.cart-table tbody tr {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    animation: slideIn 0.5s ease-out;
}

.cart-table tbody tr:hover {
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.15);
    transform: scale(1.01);
}

.cart-table tbody td {
    padding: 1.5rem 1rem;
    vertical-align: middle;
    color: #4a5568;
}

.cart-table tbody td:first-child {
    border-radius: 1rem 0 0 1rem;
}

.cart-table tbody td:last-child {
    border-radius: 0 1rem 1rem 0;
}

/* Información del producto */
.product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-info:hover img {
    transform: scale(1.1);
}

.product-info .product-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-info .product-name {
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.product-info .product-name:hover {
    color: #667eea;
}

.product-info .product-brand {
    font-size: 0.85rem;
    color: #a0aec0;
}

.product-info .product-brand i {
    color: #667eea;
    margin-right: 0.25rem;
}

/* Cantidad */
.cart-quantity {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
}

.cart-quantity:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Subtotal */
.subtotal {
    font-weight: 700;
    color: #48bb78;
    font-size: 1.2rem;
}

/* Acciones */
.actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 0.75rem;
    background: #f7fafc;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-icon:hover {
    transform: translateY(-2px);
}

.btn-icon.edit:hover {
    background: #4299e1;
    color: white;
}

.btn-icon.delete:hover {
    background: #f56565;
    color: white;
}

/* Totales */
.cart-totals {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-end;
}

.totals-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    animation: slideInRight 0.5s ease-out;
}

.totals-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
}

.totals-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.totals-row:last-of-type {
    border-bottom: none;
}

.totals-row.total {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.3rem;
    padding-top: 1.5rem;
}

.totals-row.total .amount {
    color: #48bb78;
}

/* Cupón de descuento */
.coupon-section {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 2px dashed #e2e8f0;
    border-bottom: 2px dashed #e2e8f0;
}

.coupon-form {
    display: flex;
    gap: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.coupon-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.coupon-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.coupon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Acciones del carrito */
.cart-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-continue {
    padding: 0.75rem 2rem;
    background: #f7fafc;
    color: #4a5568;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-continue:hover {
    background: #e2e8f0;
    transform: translateX(-5px);
}

.btn-clear {
    padding: 0.75rem 2rem;
    background: #fff5f5;
    color: #f56565;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear:hover {
    background: #fed7d7;
    transform: translateY(-2px);
}

.btn-checkout {
    padding: 0.75rem 2.5rem;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.4);
}

/* Productos relacionados */
.related-products {
    margin-top: 4rem;
}

.related-products h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
}

.related-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-info {
    padding: 1rem;
}

.related-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.related-info .price {
    color: #48bb78;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Notificaciones del carrito */
.cart-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    animation: slideInRight 0.3s ease-out;
}

.cart-notification i {
    font-size: 1.5rem;
    color: #48bb78;
}

.cart-notification p {
    color: #2c3e50;
    font-weight: 500;
}

.cart-notification .btn-view {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.cart-notification .btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(102, 126, 234, 0.3);
}

.cart-notification .close {
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.cart-notification .close:hover {
    color: #f56565;
}

/* Animaciones */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Responsive */
@media (max-width: 968px) {
    .cart-table {
        border-spacing: 0 0.75rem;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody tr {
        display: block;
        padding: 1rem;
        border-radius: 1rem;
    }

    .cart-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem;
        border-bottom: 1px solid #e2e8f0;
    }

    .cart-table tbody td:last-child {
        border-bottom: none;
    }

    .cart-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #2c3e50;
        margin-right: 1rem;
    }

    .product-info {
        flex: 1;
    }

    .cart-totals {
        justify-content: center;
    }

    .totals-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cart-container h1 {
        font-size: 1.8rem;
    }

    .cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-continue,
    .btn-clear,
    .btn-checkout {
        text-align: center;
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .cart-notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .cart-container {
        padding: 0 0.5rem;
    }

    .product-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-info img {
        width: 100%;
        height: 150px;
    }

    .totals-card {
        padding: 1.5rem;
    }

    .coupon-form {
        flex-direction: column;
    }

    .coupon-btn {
        width: 100%;
    }
}

/* Resumen de compra */
.checkout-summary {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.checkout-summary h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #4a5568;
}

.summary-item.total {
    border-top: 2px solid #e2e8f0;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Métodos de envío */
.shipping-methods {
    margin: 2rem 0;
}

.shipping-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.shipping-method:hover {
    border-color: #667eea;
}

.shipping-method.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.shipping-method input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #667eea;
}

.shipping-method .method-info {
    flex: 1;
}

.shipping-method .method-name {
    font-weight: 600;
    color: #2c3e50;
}

.shipping-method .method-desc {
    font-size: 0.85rem;
    color: #a0aec0;
}

.shipping-method .method-price {
    font-weight: 600;
    color: #48bb78;
}

/* ========================================
   PÁGINA: DETALLE DE PRODUCTO
   ======================================== */

.product-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #718096;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #764ba2;
}

.breadcrumb i {
    font-size: 0.8rem;
    color: #cbd5e0;
}

/* Layout principal */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

/* ========================================
   GALERÍA DE IMÁGENES
   ======================================== */

.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #f7fafc;
    position: relative;
    cursor: zoom-in;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

/* Badges en imagen */
.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.badge.limited {
    background: linear-gradient(135deg, #f56565, #e53e3e);
}

.badge.exclusive {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a202c;
}

.badge.new {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.badge.sale {
    background: linear-gradient(135deg, #ed64a6, #d53f8c);
}

/* Thumbnails */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    background: #f7fafc;
}

.thumbnail:hover {
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

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

/* ========================================
   INFORMACIÓN DEL PRODUCTO
   ======================================== */

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Título y metadatos */
.product-header h1 {
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #4a5568;
}

.meta-item i {
    color: #667eea;
}

/* Precios */
.product-pricing {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin: 0.5rem 0;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #48bb78;
}

.old-price {
    font-size: 1.3rem;
    color: #a0aec0;
    text-decoration: line-through;
}

.discount-badge {
    background: #f56565;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Stock */
.stock-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.stock-status {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-status.in-stock {
    background: #e8f5e9;
    color: #2e7d32;
}

.stock-status.low-stock {
    background: #fff3e0;
    color: #ef6c00;
}

.stock-status.out-of-stock {
    background: #ffebee;
    color: #c62828;
}

.stock-quantity {
    color: #718096;
    font-size: 0.9rem;
}

/* Descripción */
.product-description {
    border-top: 2px solid #edf2f7;
    padding-top: 1.5rem;
}

.product-description h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.product-description p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Especificaciones */
.product-specs {
    border-top: 2px solid #edf2f7;
    padding-top: 1.5rem;
}

.product-specs h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-weight: 600;
    color: #1a202c;
}

/* Tabla de especificaciones alternativa */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #edf2f7;
}

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

.specs-table th {
    padding: 0.75rem;
    text-align: left;
    color: #718096;
    font-weight: 600;
    width: 150px;
}

.specs-table td {
    padding: 0.75rem;
    color: #1a202c;
}

/* Acciones de compra */
.product-actions {
    border-top: 2px solid #edf2f7;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    font-weight: 600;
    color: #1a202c;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid #edf2f7;
    border-radius: 0.75rem;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: #f7fafc;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: #e2e8f0;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.quantity-input:focus {
    outline: none;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn-buy {
    flex: 2;
    padding: 1rem;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(72, 187, 120, 0.3);
}

.btn-cart {
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-wishlist {
    width: 50px;
    height: 50px;
    background: #f7fafc;
    border: 2px solid #edf2f7;
    border-radius: 1rem;
    color: #a0aec0;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist:hover {
    background: #fed7d7;
    border-color: #fc8181;
    color: #e53e3e;
}

/* Producto agotado */
.out-of-stock-message {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 1rem;
}

.out-of-stock-message i {
    font-size: 3rem;
    color: #fc8181;
    margin-bottom: 1rem;
}

.out-of-stock-message p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.btn-notify {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-notify:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Información de envío */
.shipping-info {
    background: #f7fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.shipping-info h4 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.shipping-info p {
    color: #4a5568;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shipping-info i {
    color: #667eea;
    width: 20px;
}

/* ========================================
   PRODUCTOS RELACIONADOS
   ======================================== */

.related-products {
    margin-top: 4rem;
}

.related-products h2 {
    color: #1a202c;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
}

.related-products h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
}

.related-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-info {
    padding: 1rem;
}

.related-info h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.related-brand {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.5rem;
}

.related-price {
    font-weight: 700;
    color: #48bb78;
    font-size: 1.2rem;
}

/* ========================================
   TABS DE INFORMACIÓN
   ======================================== */

.product-tabs {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin: 3rem 0;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #edf2f7;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:hover {
    color: #667eea;
}

.tab-btn.active {
    color: #667eea;
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.tabs-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* ========================================
   REVIEWS Y CALIFICACIONES
   ======================================== */

.reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 1rem;
}

.average-rating {
    text-align: center;
}

.average-number {
    font-size: 3rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
}

.average-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.total-reviews {
    color: #718096;
    font-size: 0.9rem;
}

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating-bar span {
    min-width: 60px;
    color: #4a5568;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 4px;
}

.rating-percent {
    min-width: 40px;
    text-align: right;
    color: #718096;
}

.review-item {
    padding: 1.5rem;
    border-bottom: 1px solid #edf2f7;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: 600;
    color: #1a202c;
}

.review-stars {
    color: #fbbf24;
}

.review-date {
    font-size: 0.85rem;
    color: #718096;
}

.review-text {
    color: #4a5568;
    line-height: 1.6;
}

/* ========================================
   ANIMACIONES
   ======================================== */

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

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.product-detail {
    animation: zoomIn 0.5s ease-out;
}

.related-card {
    animation: fadeIn 0.5s ease-out;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .product-detail {
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .main-image {
        height: 400px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image {
        height: 350px;
    }
    
    .product-header h1 {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-wishlist {
        width: 100%;
        height: 50px;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        padding: 0.75rem;
        text-align: center;
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 1rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-header h1 {
        font-size: 1.5rem;
    }
    
    .price-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .meta-item {
        width: 100%;
        justify-content: center;
    }
    
    .quantity-selector {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .quantity-control {
        width: 100%;
    }
    
    .quantity-btn,
    .quantity-input {
        flex: 1;
    }
    
    .specs-table th {
        width: 100px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Zoom modal para imágenes */
.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.zoom-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.zoom-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.zoom-close:hover {
    transform: scale(1.1);
    background: #f56565;
    color: white;
}

.zoom-prev,
.zoom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.zoom-prev {
    left: 1rem;
}

.zoom-next {
    right: 1rem;
}

.zoom-prev:hover,
.zoom-next:hover {
    background: #667eea;
    color: white;
}