/* 
 * TEMPLATE MINIMAL V3.0 - PÁGINA DE PRODUCTO
 * Diseño minimalista y limpio con enfoque en el producto
 * Variables CSS del sistema: --main-color, --main-color2, --main-color3
 * --secondary-color, --accent-color, --text-muted, etc.
 * 
 * 🚨 IMPORTANTE - CONTENEDOR CON FONDO BLANCO GLOBAL 🚨
 * La clase .container global tiene background: white por defecto.
 * Este template usa background: transparent y elementos con contraste suave
 * para crear una experiencia minimalista sin sobrecargar el diseño.
 * 
 * FILOSOFÍA MINIMALISTA:
 * - Espacios amplios y respiración visual
 * - Tipografía elegante y jerarquías claras  
 * - Colores neutros con acentos sutiles
 * - Elementos discretos que no compiten
 * - Máximo enfoque en el producto
 */

/* === RESET Y BASE === */
* {
    box-sizing: border-box;
}

/* === CONTENEDOR PRINCIPAL === */
.product-minimal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
}

/* === HEADER MINIMALISTA === */
.product-minimal-header {
    margin-bottom: 3rem;
}

.minimal-breadcrumb {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 2rem;
    font-weight: 400;
}

.minimal-breadcrumb span {
    color: var(--main-color, #4299e1);
    transition: color 0.2s ease;
}

.minimal-breadcrumb span:hover {
    color: var(--main-color2, #3182ce);
}

/* === LAYOUT PRINCIPAL === */
.product-minimal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* === GALERÍA MINIMALISTA === */
.product-minimal-gallery {
    position: sticky;
    top: 2rem;
}

.minimal-main-image {
    width: 100%;
    aspect-ratio: 1;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.minimal-main-image:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.minimal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.minimal-main-image:hover .minimal-main-img {
    transform: scale(1.02);
}

.minimal-discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.minimal-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.minimal-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.minimal-thumb:hover,
.minimal-thumb.active {
    border-color: var(--main-color, #4299e1);
    opacity: 1;
    transform: translateY(-2px);
}

.minimal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === INFORMACIÓN DEL PRODUCTO === */
.product-minimal-info {
    padding-left: 2rem;
}

.minimal-status-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.minimal-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.minimal-status.digital {
    background: #ebf8ff;
    color: #3182ce;
    border-color: #bee3f8;
}

.minimal-status.shipping {
    background: #f0fff4;
    color: #38a169;
    border-color: #c6f6d5;
}

.minimal-status.stock {
    background: #f0fff4;
    color: #38a169;
    border-color: #c6f6d5;
}

.minimal-status.out-stock {
    background: #fed7d7;
    color: #e53e3e;
    border-color: #feb2b2;
}

.minimal-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a202c;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.minimal-sku {
    color: #a0aec0;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* === PRECIO MINIMALISTA === */
.minimal-price {
    margin-bottom: 3rem;
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--main-color, #4299e1);
    letter-spacing: -0.025em;
}

.price-original {
    font-size: 1.5rem;
    color: #a0aec0;
    text-decoration: line-through;
    font-weight: 300;
}

.savings-info {
    color: #38a169;
    font-size: 0.95rem;
    font-weight: 500;
}

/* === DESCRIPCIÓN === */
.minimal-description {
    margin-bottom: 3rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 90%;
}

/* === VARIANTES MINIMALISTAS === */
.minimal-variants {
    margin-bottom: 3rem;
}

.minimal-section-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.minimal-section-title i {
    color: var(--main-color, #4299e1);
    font-size: 1rem;
}

.minimal-variant-group {
    margin-bottom: 2rem;
}

.minimal-variant-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #2d3748;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.minimal-variant-label i {
    color: var(--main-color, #4299e1);
    font-size: 0.9rem;
}

.minimal-variant-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.minimal-variant-option {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 400;
    min-width: 80px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: column;
}

.minimal-variant-option:hover {
    border-color: var(--main-color, #4299e1);
    background: #f7fafc;
    transform: translateY(-1px);
}

.minimal-variant-option.selected {
    border-color: var(--main-color, #4299e1);
    background: var(--main-color, #4299e1);
    color: white;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.minimal-variant-option .color-preview {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.minimal-variant-option.selected .color-preview {
    border-color: rgba(255,255,255,0.8);
}

.minimal-variant-option .variant-price {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    opacity: 0.8;
    color: var(--main-color, #4299e1);
    font-weight: 500;
}

.minimal-variant-option.selected .variant-price {
    color: rgba(255,255,255,0.9);
}

.minimal-variant-option .variant-stock {
    display: block;
    font-size: 0.75rem;
    margin-top: 0.2rem;
    font-weight: 400;
}

.minimal-variant-option .variant-stock.in-stock {
    color: #38a169;
}

.minimal-variant-option .variant-stock.out-stock {
    color: #e53e3e;
}

.minimal-variant-option.selected .variant-stock {
    color: rgba(255,255,255,0.8);
}

/* === CONTROLES DE COMPRA === */
.minimal-purchase {
    margin-bottom: 3rem;
}

.minimal-cart-controls {
    margin-bottom: 1.5rem;
}

.minimal-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.minimal-qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimal-qty-btn:hover {
    border-color: var(--main-color, #4299e1);
    background: #f7fafc;
    transform: translateY(-1px);
}

.minimal-qty-input {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: center;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #2d3748;
}

.minimal-delete-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #fed7d7;
    background: #fed7d7;
    color: #e53e3e;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimal-delete-btn:hover {
    background: #e53e3e;
    color: white;
    transform: translateY(-1px);
}

.minimal-btn-cart {
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--main-color, #4299e1);
    color: var(--main-color, #4299e1);
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.minimal-btn-cart:hover {
    background: var(--main-color, #4299e1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.3);
}

/* === COMPATIBILIDAD CON SISTEMA DE CARRITO === */
/* Estilos para botones generados dinámicamente por custom.js */
.cartbutton.productplus.add-to-cart-btn {
    /* Heredar estilos del botón minimal-btn-cart */
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--main-color, #4299e1);
    color: var(--main-color, #4299e1);
    border-radius: 30px;
    cursor: pointer !important;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
    user-select: none;
}

.cartbutton.productplus.add-to-cart-btn:hover {
    background: var(--main-color, #4299e1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.3);
}

.cartbutton.productplus.add-to-cart-btn:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

/* También para botones add-to-cart genéricos */
.cartbutton.add-to-cart-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--main-color, #4299e1);
    color: var(--main-color, #4299e1);
    border-radius: 30px;
    cursor: pointer !important;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
    user-select: none;
}

.cartbutton.add-to-cart-btn:hover {
    background: var(--main-color, #4299e1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.3);
}

.cartbutton.add-to-cart-btn:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

.minimal-btn-buy {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--main-color, #4299e1), var(--main-color2, #3182ce));
    border: none;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
}

.minimal-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
}

/* === CARACTERÍSTICAS === */
.minimal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.minimal-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.minimal-feature:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.minimal-feature i {
    color: var(--main-color, #4299e1);
    font-size: 1.2rem;
}

.minimal-feature span {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
}

/* === ESPECIFICACIONES === */
.minimal-specs {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.minimal-specs-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #2d3748;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.minimal-specs-title i {
    color: var(--main-color, #4299e1);
    font-size: 1.3rem;
}

.minimal-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.minimal-spec-group-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.minimal-spec-group-title i {
    color: var(--main-color, #4299e1);
    font-size: 1rem;
}

.minimal-spec-items {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
}

.minimal-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.minimal-spec-item:last-child {
    border-bottom: none;
}

.minimal-spec-item .spec-name {
    color: #718096;
    font-weight: 400;
    flex: 1;
}

.minimal-spec-item .spec-value {
    color: #2d3748;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

/* === PRODUCTOS RELACIONADOS === */
.related-products-section {
    background: transparent;
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

.related-products-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #2d3748;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.025em;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.related-product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.related-product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f7fafc;
    color: #a0aec0;
    font-size: 2rem;
}

.related-discount-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #e53e3e;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.related-product-info {
    padding: 1.5rem;
}

.related-product-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.related-product-price {
    margin-bottom: 1.5rem;
}

.related-price-original {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 0.75rem;
}

.related-price-current {
    color: var(--main-color, #4299e1);
    font-weight: 600;
    font-size: 1.1rem;
}

.related-product-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--main-color, #4299e1);
    color: var(--main-color, #4299e1);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.related-product-btn:hover {
    background: var(--main-color, #4299e1);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* === BARRA DE SEGURIDAD MINIMALISTA === */
.minimal-security-bar {
    background: transparent;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.minimal-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.minimal-security-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.minimal-security-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.minimal-security-item i {
    color: var(--main-color, #4299e1);
    font-size: 1.5rem;
}

.minimal-security-item span {
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .product-minimal-container {
        padding: 2rem 1rem;
    }
    
    .product-minimal-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-minimal-info {
        padding-left: 0;
    }
    
    .minimal-title {
        font-size: 2rem;
    }
    
    .price-current {
        font-size: 2rem;
    }
    
    .minimal-features {
        grid-template-columns: 1fr;
    }
    
    .minimal-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .minimal-security-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .minimal-security-grid {
        grid-template-columns: 1fr;
    }
    
    .minimal-variant-options {
        justify-content: center;
    }
    
    .minimal-status-bar {
        justify-content: center;
    }
}

.product-minimal-thumb:hover,
.product-minimal-thumb.active {
    border-color: #000000;
}

.product-minimal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Información del Producto */
.product-minimal-info {
    padding-left: 2rem;
}

.product-minimal-title {
    font-size: 2rem;
    font-weight: 300;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.product-minimal-price {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.minimal-price-original {
    font-size: 1.25rem;
    color: #999999;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-minimal-description {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Variantes Minimalistas */
.product-minimal-variants {
    margin-bottom: 2rem;
}

.minimal-variant-group {
    margin-bottom: 1.5rem;
}

.minimal-variant-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 0.75rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.minimal-variant-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.minimal-variant-option {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 400;
    color: #333333;
}

.minimal-variant-option:hover {
    border-color: var(--main-color2, #000000);
}

.minimal-variant-option.selected {
    border-color: var(--main-color2, #000000);
    background: var(--main-color2, #000000);
    color: #ffffff;
}

.minimal-variant-option.color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
    position: relative;
}

.minimal-variant-option.color.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Acciones Minimalistas */
.product-minimal-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.minimal-quantity-selector {
    display: flex;
    border: 1px solid #e0e0e0;
}

.minimal-quantity-btn {
    background: #ffffff;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    color: #333333;
    transition: background-color 0.2s ease;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimal-quantity-btn:hover {
    background: #f5f5f5;
}

.minimal-quantity-input {
    border: none;
    padding: 0.75rem;
    text-align: center;
    width: 60px;
    font-size: 0.9rem;
}

.minimal-btn-cart {
    flex: 1;
    background: var(--main-color2, #000000);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.minimal-btn-cart:hover {
    background: var(--main-color3, #333333);
}

/* Información Adicional Minimalista */
.product-minimal-details {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.minimal-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.minimal-detail-label {
    color: #666666;
    font-weight: 400;
}

.minimal-detail-value {
    color: #000000;
    font-weight: 400;
}

/* Especificaciones Minimalistas */
.product-minimal-specs {
    margin-top: 3rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.minimal-specs-title {
    font-size: 1.25rem;
    font-weight: 300;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.minimal-specs-list {
    display: grid;
    gap: 0.75rem;
}

.minimal-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
}

.minimal-spec-label {
    color: #666666;
    font-weight: 400;
}

.minimal-spec-value {
    color: #000000;
    font-weight: 400;
    text-align: right;
}

/* Estados y Badges Minimalistas */
.product-minimal-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.minimal-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
}

.minimal-badge.new {
    border-color: #22c55e;
    color: #22c55e;
    background: transparent;
}

.minimal-badge.featured {
    border-color: #f59e0b;
    color: #f59e0b;
    background: transparent;
}

.minimal-badge.sale {
    border-color: #ef4444;
    color: #ef4444;
    background: transparent;
}

/* Información de Envío Minimalista */
.product-minimal-shipping {
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.minimal-shipping-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666666;
}

.minimal-shipping-item:last-child {
    margin-bottom: 0;
}

.minimal-shipping-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .product-minimal-container {
        padding: 2rem 1rem;
    }
    
    .product-minimal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-minimal-info {
        padding-left: 0;
    }
    
    .product-minimal-title {
        font-size: 1.75rem;
    }
    
    .product-minimal-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .minimal-quantity-selector {
        align-self: center;
        width: 150px;
    }
}

@media (max-width: 480px) {
    .product-minimal-title {
        font-size: 1.5rem;
    }
    
    .product-minimal-price {
        font-size: 1.25rem;
    }
    
    .minimal-variant-options {
        gap: 0.25rem;
    }
    
    .minimal-variant-option {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* ===== PRODUCTOS RELACIONADOS ===== */
.related-products-section {
    background: #fafafa;
    padding: 4rem 0;
    margin-top: 3rem;
}

.related-products-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.related-products-title i {
    color: #666;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.related-product-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.related-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.related-product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #fafafa;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.02);
}

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ccc;
    font-size: 2rem;
}

.related-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #333;
    color: white;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 500;
}

.related-product-info {
    padding: 1.5rem;
}

.related-product-name {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-price {
    margin-bottom: 1.5rem;
}

.related-price-original {
    display: block;
    color: #999;
    text-decoration: line-through;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.related-price-current {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.related-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #333;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.related-product-btn:hover {
    background: #555;
    text-decoration: none;
    color: white;
}

/* ===== BARRA DE SEGURIDAD ===== */
.security-bar {
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    padding: 3rem 0;
    margin-top: 0;
}

.security-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.security-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.security-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #666;
}

.security-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.security-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
    transition: all 0.2s ease;
}

.trust-badge:hover {
    background: #f8f8f8;
}

.trust-badge i {
    font-size: 0.9rem;
}

/* Responsive para secciones nuevas */
@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .related-products-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .security-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .security-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .trust-badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .related-products-section {
        padding: 2rem 0;
    }
    
    .security-bar {
        padding: 2rem 0;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }
}

/* === ESTILOS ESPECÍFICOS PARA VIDEOS - TEMPLATE MINIMAL === */

/* Sección de videos minimalista */
.product-minimal-videos {
    margin: 2rem 0;
    padding: 0;
}

.minimal-videos-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: #2d3748;
    font-family: inherit;
}

.minimal-videos-title i {
    color: var(--main-color, #4299e1);
    font-size: 1.25rem;
    opacity: 0.8;
}

/* Video único embebido minimalista */
.product-minimal-videos .minimal-single-video {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #000;
    margin: 0;
    border: 1px solid #e2e8f0;
}

.product-minimal-videos .minimal-single-video iframe {
    border-radius: 6px;
    min-height: 320px;
}

/* Galería de videos minimalista */
.product-minimal-videos .minimal-video-gallery {
    gap: 0.75rem;
}

.product-minimal-videos .minimal-video-gallery.vertical {
    grid-template-columns: 1fr;
    max-width: 400px;
}

.product-minimal-videos .minimal-video-gallery .video-gallery-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.product-minimal-videos .minimal-video-gallery .video-gallery-item:hover {
    border-color: var(--main-color, #4299e1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.1);
}

.product-minimal-videos .video-thumbnail {
    transition: opacity 0.2s ease;
}

.product-minimal-videos .video-gallery-item:hover .video-thumbnail {
    opacity: 0.95;
}

.product-minimal-videos .video-play-overlay {
    background: rgba(66, 153, 225, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
}

.product-minimal-videos .video-main-badge {
    background: var(--main-color, #4299e1);
    color: white;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0 0 4px 0;
    letter-spacing: 0.025em;
}

.product-minimal-videos .video-title {
    color: #2d3748;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-minimal-videos .video-description {
    color: #718096;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Responsive para videos minimalistas */
@media (max-width: 768px) {
    .product-minimal-videos {
        margin: 1.5rem 0;
    }
    
    .minimal-videos-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .product-minimal-videos .minimal-single-video iframe {
        min-height: 200px;
    }
    
    .product-minimal-videos .minimal-video-gallery.vertical {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .minimal-videos-title {
        font-size: 0.95rem;
    }
    
    .product-minimal-videos .minimal-single-video iframe {
        min-height: 180px;
    }
}
