﻿/**
 * DETALLE TECH - Estilos premium para pagina de detalle de producto
 * Tienda NYXIVO - Tecnologia
 */

/* ============================================
   VARIABLES CSS - TEMA TECH
============================================ */
:root {
    /* Colores principales - Azul Noche */
    --dt-primary: #0f172a;
    --dt-secondary: #1e293b;
    --dt-tertiary: #334155;

    /* Acentos - Plateado y Azul */
    --dt-silver: #e2e8f0;
    --dt-silver-dark: #94a3b8;
    --dt-accent: #3b82f6;
    --dt-accent-hover: #2563eb;
    --dt-accent-light: #60a5fa;
    --dt-purple: #3b82f6;
    --dt-success: #10b981;
    --dt-warning: #f59e0b;
    --dt-danger: #ef4444;

    /* Fondos */
    --dt-bg-primary: #f8fafc;
    --dt-bg-card: #ffffff;
    --dt-bg-dark: #0f172a;

    /* Texto */
    --dt-text-primary: #0f172a;
    --dt-text-secondary: #64748b;
    --dt-text-light: #f8fafc;
    --dt-text-muted: #94a3b8;

    /* Sombras */
    --dt-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --dt-shadow-md: 0 4px 6px rgba(15, 23, 42, 0.07);
    --dt-shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
    --dt-shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.15);
    --dt-shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);

    /* Tipografia */
    --dt-font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transiciones */
    --dt-transition-fast: 0.2s ease;
    --dt-transition-normal: 0.3s ease;
    --dt-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ESTILOS BASE
============================================ */
body.detalle-tech {
    background: var(--dt-bg-primary);
    font-family: var(--dt-font-main);
    color: var(--dt-text-primary);
    padding-top: 0;
    overflow-x: hidden;
}

body.detalle-tech::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   NAVBAR TECH
============================================ */
.dt-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 0.875rem 0;
}

.dt-navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dt-navbar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.dt-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--dt-text-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--dt-transition-normal);
}

.dt-btn-back:hover {
    background: var(--dt-accent);
    border-color: var(--dt-accent);
    color: white;
    transform: translateX(-3px);
}

.dt-navbar-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dt-silver);
    margin: 0;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dt-navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dt-navbar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--dt-silver);
    text-decoration: none;
    transition: all var(--dt-transition-normal);
}

.dt-navbar-icon:hover {
    background: var(--dt-accent);
    border-color: var(--dt-accent);
    color: white;
    transform: scale(1.05);
}

/* ============================================
   CONTENEDOR PRINCIPAL
============================================ */
.dt-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 1.5rem 3rem;
}

/* ============================================
   BREADCRUMB TECH
============================================ */
.dt-breadcrumb {
    background: var(--dt-bg-card);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--dt-shadow-sm);
}

.dt-breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dt-breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.dt-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--dt-text-muted);
}

.dt-breadcrumb a {
    color: var(--dt-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--dt-transition-fast);
}

.dt-breadcrumb a:hover {
    color: var(--dt-accent);
}

.dt-breadcrumb .active {
    color: var(--dt-text-primary);
    font-weight: 600;
}

/* ============================================
   GRID PRINCIPAL DEL PRODUCTO
============================================ */
.dt-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ============================================
   GALERIA DE IMAGENES
============================================ */
.dt-gallery {
    position: sticky;
    top: 6rem;
}

.dt-gallery-main {
    background: var(--dt-bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--dt-shadow-lg);
    position: relative;
    margin-bottom: 1rem;
}

.dt-image-container {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
}

.dt-image-container img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform var(--dt-transition-slow);
}

.dt-image-container:hover img {
    transform: scale(1.05);
}

/* Badges sobre imagen */
.dt-image-badges {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.dt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.dt-badge-category {
    background: linear-gradient(135deg, var(--dt-primary) 0%, var(--dt-secondary) 100%);
    color: white;
}

.dt-badge-stock {
    background: linear-gradient(135deg, var(--dt-success) 0%, #059669 100%);
    color: white;
}

.dt-badge-new {
    background: linear-gradient(135deg, var(--dt-accent) 0%, var(--dt-purple) 100%);
    color: white;
}

.dt-badge-offer {
    background: linear-gradient(135deg, var(--dt-danger) 0%, #dc2626 100%);
    color: white;
}

/* Boton de zoom */
.dt-zoom-btn {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dt-transition-normal);
    z-index: 10;
}

.dt-zoom-btn:hover {
    background: var(--dt-accent);
    transform: scale(1.1);
}

/* Thumbnails */
.dt-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.dt-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--dt-bg-card);
    transition: all var(--dt-transition-normal);
    box-shadow: var(--dt-shadow-sm);
}

.dt-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.dt-thumbnail:hover {
    border-color: var(--dt-silver-dark);
    transform: translateY(-3px);
}

.dt-thumbnail.active {
    border-color: var(--dt-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* ============================================
   INFORMACION DEL PRODUCTO
============================================ */
.dt-product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Marca del producto */
.dt-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dt-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

/* Titulo del producto */
.dt-product-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dt-text-primary);
    line-height: 1.2;
    margin: 0;
}

/* Rating */
.dt-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dt-rating-stars {
    display: flex;
    gap: 0.25rem;
}

.dt-rating-stars i {
    color: var(--dt-warning);
    font-size: 1rem;
}

.dt-rating-stars i.empty {
    color: var(--dt-silver);
}

.dt-rating-text {
    font-size: 0.875rem;
    color: var(--dt-text-secondary);
    font-weight: 500;
}

/* Precio */
.dt-price-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.dt-price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: dt-shimmer 3s infinite;
}

@keyframes dt-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.dt-price-current {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dt-accent) 0%, var(--dt-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.dt-price-old {
    font-size: 1.25rem;
    color: var(--dt-text-muted);
    text-decoration: line-through;
    margin-left: 0.75rem;
}

/* Oferta Personalizada */
.dt-oferta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dt-oferta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    animation: dt-oferta-pulse 2s ease-in-out infinite;
}

@keyframes dt-oferta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.dt-oferta-descuento {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    padding: 4px 12px;
    border-radius: 8px;
}

.dt-price-original {
    font-size: 1.3rem;
    color: var(--dt-text-muted);
    text-decoration: line-through;
}

.dt-price-savings {
    font-size: 0.9rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.dt-oferta-mensaje {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(59, 130, 246, 0.06);
    border-left: 3px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: var(--dt-text-secondary);
    line-height: 1.5;
}

.dt-oferta-mensaje i {
    color: #3b82f6;
    margin-top: 2px;
}

.dt-oferta-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #f59e0b;
    font-weight: 600;
}

.dt-oferta-timer i {
    animation: dt-clock-tick 1s steps(1) infinite;
}

@keyframes dt-clock-tick {
    50% { opacity: 0.4; }
}

.dt-price-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--dt-text-secondary);
}

.dt-price-info span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.dt-price-info i {
    color: var(--dt-success);
}

/* Descripcion */
.dt-description {
    background: var(--dt-bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--dt-shadow-sm);
}

.dt-description-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dt-text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dt-description-title i {
    color: var(--dt-accent);
}

.dt-description p {
    color: var(--dt-text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 0.9375rem;
}

/* Especificaciones */
.dt-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dt-spec-card {
    background: var(--dt-bg-card);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--dt-transition-normal);
    position: relative;
    overflow: hidden;
}

.dt-spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--dt-accent) 0%, var(--dt-purple) 100%);
    opacity: 0;
    transition: opacity var(--dt-transition-normal);
}

.dt-spec-card:hover {
    border-color: var(--dt-accent);
    box-shadow: var(--dt-shadow-md);
    transform: translateX(3px);
}

.dt-spec-card:hover::before {
    opacity: 1;
}

.dt-spec-icon {
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dt-accent);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.dt-spec-label {
    font-size: 0.75rem;
    color: var(--dt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.dt-spec-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dt-text-primary);
}

/* Cantidad */
.dt-quantity-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dt-quantity-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dt-text-primary);
}

.dt-quantity-controls {
    display: flex;
    align-items: center;
    background: var(--dt-bg-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.dt-quantity-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--dt-text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--dt-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt-quantity-btn:hover {
    background: var(--dt-accent);
    color: white;
}

.dt-quantity-value {
    width: 60px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dt-text-primary);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.dt-stock-info {
    font-size: 0.8125rem;
    color: var(--dt-success);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Botones de accion */
.dt-actions {
    display: flex;
    gap: 1rem;
}

.dt-btn-cart {
    flex: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--dt-accent) 0%, var(--dt-accent-hover) 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dt-transition-normal);
    position: relative;
    overflow: hidden;
}

.dt-btn-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.dt-btn-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.dt-btn-cart:hover::before {
    left: 100%;
}

.dt-btn-cart:active {
    transform: translateY(-1px);
}

.dt-btn-favorite {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--dt-bg-card);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    color: var(--dt-text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dt-transition-normal);
}

.dt-btn-favorite:hover {
    border-color: var(--dt-danger);
    color: var(--dt-danger);
    background: rgba(239, 68, 68, 0.05);
}

.dt-btn-favorite.active {
    border-color: var(--dt-danger);
    color: var(--dt-danger);
    background: rgba(239, 68, 68, 0.1);
}

.dt-btn-favorite.active i {
    font-weight: 900;
}

/* Garantias */
.dt-guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dt-guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.dt-guarantee-icon {
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dt-success);
    font-size: 1.125rem;
}

.dt-guarantee-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dt-text-secondary);
    line-height: 1.3;
}

/* ============================================
   SECCION DE CARACTERISTICAS TECNICAS
============================================ */
.dt-features-section {
    background: var(--dt-primary);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.dt-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.dt-features-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dt-text-light);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.dt-features-title span {
    background: linear-gradient(135deg, var(--dt-accent-light) 0%, var(--dt-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dt-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.dt-feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all var(--dt-transition-normal);
}

.dt-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.dt-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--dt-accent) 0%, var(--dt-purple) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.dt-feature-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--dt-text-light);
    margin-bottom: 0.25rem;
}

.dt-feature-value {
    font-size: 0.8125rem;
    color: var(--dt-silver-dark);
}

/* ============================================
   PRODUCTOS RELACIONADOS - SLIDER COMPACTO
============================================ */
.dt-related-section {
    margin-bottom: 3rem;
    background: linear-gradient(180deg, var(--dt-bg-primary) 0%, #f1f5f9 100%);
    padding: 2.5rem 0;
    border-radius: 24px;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.dt-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dt-section-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dt-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dt-warning);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dt-section-badge i {
    font-size: 0.875rem;
}

.dt-section-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--dt-text-primary);
    margin: 0;
}

.dt-section-title span {
    background: linear-gradient(135deg, var(--dt-accent) 0%, var(--dt-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dt-section-nav {
    display: flex;
    gap: 0.5rem;
}

.dt-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--dt-silver);
    background: var(--dt-bg-card);
    color: var(--dt-text-secondary);
    cursor: pointer;
    transition: all var(--dt-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt-nav-btn:hover {
    background: var(--dt-accent);
    border-color: var(--dt-accent);
    color: white;
    transform: scale(1.05);
}

.dt-nav-btn:active {
    transform: scale(0.95);
}

/* Slider Container */
.dt-related-slider-container {
    overflow: hidden;
    margin: 0 -0.5rem;
    padding: 0.5rem;
}

.dt-related-slider {
    display: flex;
    gap: 1rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    scroll-behavior: smooth;
}

/* Card de Producto Relacionado */
.dt-related-card {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 200px;
    max-width: 280px;
}

.dt-related-link {
    display: block;
    background: var(--dt-bg-card);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--dt-shadow-sm);
    transition: all var(--dt-transition-normal);
    border: 1px solid transparent;
}

.dt-related-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--dt-shadow-lg);
    border-color: var(--dt-accent);
}

/* Imagen del producto */
.dt-related-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.dt-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform var(--dt-transition-normal);
}

.dt-related-link:hover .dt-related-image img {
    transform: scale(1.08);
}

/* Badges */
.dt-related-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.dt-rbadge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dt-rbadge-brand {
    background: linear-gradient(135deg, var(--dt-accent) 0%, var(--dt-purple) 100%);
    color: white;
}

.dt-rbadge-out {
    background: var(--dt-danger);
    color: white;
}

/* Quick Actions */
.dt-related-actions {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--dt-transition-fast);
}

.dt-related-link:hover .dt-related-actions {
    opacity: 1;
    transform: translateX(0);
}

.dt-raction {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: var(--dt-bg-card);
    color: var(--dt-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--dt-shadow-md);
    transition: all var(--dt-transition-fast);
}

.dt-raction:hover {
    background: var(--dt-accent);
    color: white;
    transform: scale(1.1);
}

.dt-raction:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dt-raction.active {
    background: var(--dt-danger);
    color: white;
}

/* Info del producto */
.dt-related-info {
    padding: 1rem;
}

.dt-related-category {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--dt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.dt-related-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dt-text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3em;
}

.dt-related-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.dt-related-price {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--dt-accent);
}

.dt-related-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--dt-success);
}

/* Dots/Indicadores */
.dt-related-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dt-rdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--dt-silver);
    cursor: pointer;
    transition: all var(--dt-transition-fast);
    padding: 0;
}

.dt-rdot:hover {
    background: var(--dt-silver-dark);
}

.dt-rdot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--dt-accent);
}

/* Footer */
.dt-related-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.dt-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--dt-accent);
    border-radius: 12px;
    color: var(--dt-accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--dt-transition-fast);
}

.dt-view-more:hover {
    background: var(--dt-accent);
    color: white;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .dt-related-card {
        flex: 0 0 calc(33.333% - 0.667rem);
    }
}

@media (max-width: 768px) {
    .dt-related-section {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }

    .dt-related-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 160px;
    }

    .dt-section-title {
        font-size: 1.25rem;
    }

    .dt-nav-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .dt-related-card {
        flex: 0 0 calc(100% - 1rem);
        max-width: none;
    }

    .dt-related-slider {
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .dt-related-slider::-webkit-scrollbar {
        display: none;
    }

    .dt-related-card {
        scroll-snap-align: center;
    }
}

/* Legacy grid fallback - mantener por compatibilidad */
.dt-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ============================================
   MODAL DE ZOOM
============================================ */
.dt-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--dt-transition-normal);
}

.dt-zoom-modal.active {
    display: flex;
    opacity: 1;
}

.dt-zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: var(--dt-shadow-xl);
}

.dt-zoom-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dt-transition-normal);
}

.dt-zoom-close:hover {
    background: var(--dt-danger);
    border-color: var(--dt-danger);
    transform: rotate(90deg);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
    .dt-product-grid {
        gap: 2rem;
    }

    .dt-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dt-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .dt-product-grid {
        grid-template-columns: 1fr;
    }

    .dt-gallery {
        position: static;
    }

    .dt-image-container {
        height: 400px;
    }

    .dt-product-title {
        font-size: 1.75rem;
    }

    .dt-guarantees {
        grid-template-columns: repeat(3, 1fr);
    }

    .dt-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dt-container {
        padding: 5rem 1rem 2rem;
    }

    .dt-navbar-title {
        display: none;
    }

    .dt-breadcrumb {
        display: none;
    }

    .dt-image-container {
        height: 350px;
    }

    .dt-thumbnails {
        gap: 0.5rem;
    }

    .dt-thumbnail {
        width: 60px;
        height: 60px;
    }

    .dt-product-title {
        font-size: 1.5rem;
    }

    .dt-price-current {
        font-size: 2rem;
    }

    .dt-specs {
        grid-template-columns: 1fr;
    }

    .dt-actions {
        flex-direction: column;
    }

    .dt-btn-cart,
    .dt-btn-favorite {
        width: 100%;
    }

    .dt-guarantees {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .dt-guarantee-item {
        flex-direction: row;
        text-align: left;
    }

    .dt-features-section {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .dt-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .dt-feature-card {
        padding: 1rem;
    }

    .dt-feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .dt-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .dt-image-container {
        height: 280px;
    }

    .dt-thumbnail {
        width: 50px;
        height: 50px;
    }

    .dt-product-title {
        font-size: 1.25rem;
    }

    .dt-price-current {
        font-size: 1.75rem;
    }

    .dt-quantity-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .dt-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMACIONES
============================================ */
@keyframes dt-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dt-fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dt-fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dt-animate-up {
    animation: dt-fadeInUp 0.6s ease-out forwards;
}

.dt-animate-left {
    animation: dt-fadeInLeft 0.6s ease-out forwards;
}

.dt-animate-right {
    animation: dt-fadeInRight 0.6s ease-out forwards;
}

.dt-delay-1 { animation-delay: 0.1s; }
.dt-delay-2 { animation-delay: 0.2s; }
.dt-delay-3 { animation-delay: 0.3s; }
.dt-delay-4 { animation-delay: 0.4s; }

/* ============================================
   RATING LINK
============================================ */
.dt-rating-link {
    text-decoration: none;
    transition: color var(--dt-transition-fast);
}

.dt-rating-link:hover {
    color: var(--dt-accent);
}

/* ============================================
   INDICADOR DE ESCASEZ
============================================ */
.dt-scarcity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(249, 115, 22, 0.08) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    color: var(--dt-danger);
    font-size: 0.875rem;
    font-weight: 600;
    animation: dt-scarcity-pulse 2s ease-in-out infinite;
}

.dt-scarcity i {
    font-size: 0.9375rem;
}

@keyframes dt-scarcity-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* ============================================
   FAB CART BUTTON (desktop)
============================================ */
.dt-fab-cart {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    z-index: 1000;
    font-size: 1.25rem;
}

.dt-fab-cart .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6875rem;
}

/* ============================================
   STICKY CTA MOBILE
============================================ */
.dt-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    z-index: 999;
    align-items: center;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.dt-sticky-cta.visible {
    transform: translateY(0);
}

.dt-sticky-cta-price {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.dt-sticky-cta-label {
    font-size: 0.6875rem;
    color: var(--dt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.dt-sticky-cta-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dt-text-primary);
}

.dt-sticky-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--dt-accent) 0%, var(--dt-accent-hover) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--dt-font-main);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
    transition: all var(--dt-transition-normal);
}

.dt-sticky-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.dt-sticky-cta-btn:disabled {
    background: var(--dt-silver);
    color: var(--dt-text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

/* ============================================
   FOCUS VISIBLE - ACCESIBILIDAD
============================================ */
.dt-btn-back:focus-visible,
.dt-navbar-icon:focus-visible,
.dt-zoom-btn:focus-visible,
.dt-thumbnail:focus-visible,
.dt-quantity-btn:focus-visible,
.dt-btn-cart:focus-visible,
.dt-btn-favorite:focus-visible,
.dt-nav-btn:focus-visible,
.dt-raction:focus-visible,
.dt-rdot:focus-visible,
.dt-sticky-cta-btn:focus-visible,
.dt-fab-cart:focus-visible {
    outline: 2px solid var(--dt-accent);
    outline-offset: 2px;
}

.dt-rating-link:focus-visible {
    outline: 2px solid var(--dt-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dt-scarcity {
        animation: none;
    }
    .dt-sticky-cta {
        transition: none;
    }
    .dt-price-box::before {
        animation: none;
    }
}

/* Show sticky CTA only on mobile/tablet */
@media (max-width: 992px) {
    .dt-sticky-cta {
        display: flex;
    }

    /* Hide FAB on mobile when sticky CTA is active */
    .dt-fab-cart {
        bottom: 5.5rem;
    }
}

@media (max-width: 480px) {
    .dt-sticky-cta {
        padding: 0.625rem 0.75rem;
        gap: 0.75rem;
    }

    .dt-sticky-cta-amount {
        font-size: 1.125rem;
    }

    .dt-sticky-cta-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* ============================================================
   REDESIGN PREMIUM — Split: Gallery Dark / Info White
   Mismo lenguaje visual que checkout-tech.css
   ============================================================ */

/* ── 1. Gallery card → Dark Premium (ambos layouts) ── */
.dt-gallery-main {
    background: linear-gradient(155deg, #0d1526 0%, #1a2744 55%, #0e1e3d 100%);
    border: 1px solid rgba(59, 130, 246, 0.10);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.05),
        0 8px 40px rgba(0, 0, 0, 0.28),
        0 0 60px rgba(59, 130, 246, 0.04);
}

/* Ambient radial glows — mismo que checkout header */
.dt-gallery-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 22% 20%, rgba(59, 130, 246, 0.14) 0%, transparent 52%),
        radial-gradient(ellipse at 78% 78%, rgba(59, 130, 246, 0.09) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Grid texture sutil — idéntico al checkout */
.dt-gallery-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

/* Imagen flota sobre el fondo oscuro */
.dt-image-container {
    background: transparent;
    position: relative;
    z-index: 1;
}

.dt-image-container #imagen-principal {
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
    transition: filter var(--dt-transition-slow);
}

.dt-image-container:hover #imagen-principal {
    filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.28)) brightness(1.04);
}

/* Badges — z-index sobre pseudo-elementos */
.dt-image-badges { z-index: 2; }

/* Botón zoom — estilo glass sobre oscuro */
.dt-zoom-btn {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    z-index: 2;
}

.dt-zoom-btn:hover {
    background: var(--dt-accent);
    border-color: var(--dt-accent);
}

/* Thumbnails → dark style */
.dt-thumbnail {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

.dt-thumbnail:hover {
    border-color: rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.08);
}

.dt-thumbnail.active {
    border-color: var(--dt-accent);
    background: rgba(59, 130, 246, 0.10);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

/* ── 2. Product info → White card ── */
.dt-product-info {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.07);
}

/* ── 3. Botón "Comprar ahora" — azul sólido secundario ── */
.dt-btn-buy {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dt-transition-normal);
    font-family: var(--dt-font-main);
}

.dt-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.40);
}

/* ── 4. Price box: accent strip izquierdo ── */
.dt-price-box {
    border-left: 3px solid var(--dt-accent);
}

/* ── 5. Breadcrumb: accent strip ── */
.dt-breadcrumb {
    border-left: 3px solid var(--dt-accent);
}

/* ── 6. Mobile: zona oscura arriba + blanca abajo ── */
@media (max-width: 992px) {
    /* Gradiente oscuro arriba cubre navbar + galería */
    body.detalle-tech {
        background: linear-gradient(
            to bottom,
            #0d1526 0px,
            #111c35 460px,
            #e8eef8 530px,
            #f8fafc 620px
        );
    }

    /* Glow ambient fijo en la zona oscura */
    body.detalle-tech::before {
        background:
            radial-gradient(ellipse at 15% 8%, rgba(59, 130, 246, 0.20) 0%, transparent 42%),
            radial-gradient(ellipse at 88% 38%, rgba(59, 130, 246, 0.14) 0%, transparent 40%);
        bottom: auto;
        height: 530px;
    }

    /* Galería: funde con el body oscuro — sin card box-shadow propia */
    .dt-gallery-main {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.07);
        box-shadow: none;
    }

    /* Info: white sheet con sombra superior sutil */
    .dt-product-info {
        border-radius: 24px;
        padding: 1.75rem 1.25rem;
        box-shadow:
            0 -4px 20px rgba(0, 0, 0, 0.09),
            0 8px 32px rgba(0, 0, 0, 0.06);
    }
}

/* Breadcrumb en rango tablet — estilo oscuro */
@media (min-width: 769px) and (max-width: 992px) {
    .dt-breadcrumb {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 3px solid var(--dt-accent);
    }

    .dt-breadcrumb a { color: rgba(255, 255, 255, 0.62); }
    .dt-breadcrumb a:hover { color: var(--dt-accent-light); }
    .dt-breadcrumb .active { color: rgba(255, 255, 255, 0.90); }
    .dt-breadcrumb li:not(:last-child)::after { color: rgba(255, 255, 255, 0.28); }
}

/* Pantallas muy pequeñas: ajustar transición más arriba */
@media (max-width: 480px) {
    body.detalle-tech {
        background: linear-gradient(
            to bottom,
            #0d1526 0px,
            #111c35 380px,
            #e8eef8 450px,
            #f8fafc 540px
        );
    }

    body.detalle-tech::before {
        height: 450px;
    }

    .dt-product-info {
        padding: 1.5rem 1rem;
    }
}

/* ============================================
   v3.3 — White Premium Enhancements
============================================ */

/* 1. Font: Urbanist everywhere */
body.detalle-tech,
.dt-product-title,
.dt-price-current,
.dt-btn-cart,
.dt-btn-buy,
.dt-btn-favorite {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 2. Navbar: white/light */
.dt-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
}
.dt-navbar-title { color: #0f172a; font-family: 'Urbanist', sans-serif; font-weight: 700; }
.dt-btn-back { color: #0f172a; }
.dt-btn-back:hover { color: var(--dt-accent); background: rgba(59,130,246,.07); }
.dt-navbar-icon { color: #0f172a; }
.dt-navbar-icon:hover { color: var(--dt-accent); background: rgba(59,130,246,.07); }

/* 3. Brand: eyebrow — no icon, uppercase tracked */
.dt-brand {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--dt-accent);
    text-transform: uppercase;
    margin-bottom: .5rem;
}

/* 4. Price box: clean, no gradient bg */
.dt-price-box {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}
.dt-price-box::before { display: none; }

/* 5. Price current: dark ink, no gradient clip */
.dt-price-current {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: #0f172a !important;
    font-family: 'Urbanist', sans-serif;
    font-variant-numeric: tabular-nums lining-nums;
}

/* 6. Specs: compact chip/pill row */
.dt-specs {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1rem;
}
.dt-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    padding: .3rem .7rem;
    background: #f1f5f9;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 50px;
    font-size: .76rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}
.dt-spec-chip i { font-size: .68rem; color: var(--dt-accent); flex-shrink: 0; }

/* 7. Description: plain text, no card */
p.dt-description {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: .9rem;
    color: #475569;
    line-height: 1.65;
    box-shadow: none;
}
p.dt-description::before { display: none; }

/* 8. Actions: column layout */
.dt-actions {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-bottom: 1rem;
}

/* Cart button — primary */
.dt-btn-cart {
    width: 100%;
    justify-content: center;
    background: #0f172a;
    color: #fff;
    border: 2px solid #0f172a;
    border-radius: 14px;
    padding: .88rem 1.4rem;
    font-size: .94rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: background .2s, transform .15s;
}
.dt-btn-cart:hover { background: #1e293b; transform: translateY(-1px); }
.dt-btn-cart:active { transform: translateY(0); }

/* Buy now button — accent ghost */
.dt-btn-buy {
    width: 100%;
    justify-content: center;
    background: transparent;
    color: var(--dt-accent);
    border: 2px solid var(--dt-accent);
    border-radius: 14px;
    padding: .84rem 1.4rem;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: background .2s, color .2s, transform .15s;
}
.dt-btn-buy:hover { background: var(--dt-accent); color: #fff; transform: translateY(-1px); }
.dt-btn-buy:active { transform: translateY(0); }

/* Favorite button — text row */
.dt-btn-favorite {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    background: none;
    border: none;
    padding: .3rem 0;
    font-size: .82rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color .2s;
}
.dt-btn-favorite:hover { color: #ef4444; }
.dt-btn-favorite.active { color: #ef4444; }
.dt-btn-favorite.active i { font-weight: 900; }

/* 9. Guarantees: perks-inline horizontal */
.dt-guarantees {
    list-style: none;
    padding: .52rem .72rem;
    margin: 0 0 1.2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem;
    background: #f5f5f7;
    border-radius: 10px;
}
.dt-guarantees li {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .74rem;
    font-weight: 500;
    color: #475569;
    white-space: nowrap;
}
.dt-guarantees li i { color: var(--dt-accent); font-size: .7rem; flex-shrink: 0; }

/* ============================================
   v3.3.1 — Reviews Section: White Premium
============================================ */

.resenas-section {
    margin: 2.5rem 0 1rem;
    padding: 0;
    background: none;
    border: none;
}
.resenas-section-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.01em;
    margin-bottom: 1.4rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.resenas-section-title i { color: #f59e0b; font-size: .95rem; }

/* Stats panel */
.resenas-estadisticas {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 18px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}
.resenas-promedio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    min-width: 80px;
    text-align: center;
}
.resenas-promedio-numero {
    font-family: 'Urbanist', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums lining-nums;
}
.resenas-promedio-estrellas { display: flex; gap: .12rem; }
.resenas-promedio-estrellas .fa-star,
.resenas-promedio-estrellas .fa-star-half-alt { color: #f59e0b; font-size: .85rem; }
.resenas-promedio-estrellas .fa-star.empty { color: #e2e8f0; font-size: .85rem; }
.resenas-promedio-total { font-size: .72rem; font-weight: 500; color: #94a3b8; }

/* Rating bars */
.resenas-distribucion {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 140px;
}
.resenas-barra-fila {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.resenas-barra-label {
    font-size: .7rem;
    font-weight: 600;
    color: #64748b;
    width: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: .18rem;
}
.resenas-barra-label i { color: #f59e0b; font-size: .58rem; }
.resenas-barra-container {
    flex: 1;
    height: 5px;
    background: #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
}
.resenas-barra-fill {
    height: 100%;
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    border-radius: 50px;
    transition: width .6s ease;
}
.resenas-barra-count {
    font-size: .68rem;
    font-weight: 600;
    color: #94a3b8;
    width: 16px;
    text-align: right;
    flex-shrink: 0;
}

/* Loading */
.resenas-loading {
    color: #94a3b8;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 0;
}
.resenas-loading i { color: var(--dt-accent); }

/* Cards grid */
.resenas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}

/* Individual card */
.detalle-testimonio-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.07);
    border-left: 3px solid #f59e0b;
    border-radius: 16px;
    padding: 1.2rem 1.35rem;
    box-shadow: 0 1px 4px rgba(15,23,42,.04);
    transition: box-shadow .2s, transform .2s;
}
.detalle-testimonio-card:hover {
    box-shadow: 0 6px 20px rgba(15,23,42,.08);
    transform: translateY(-1px);
}

/* Card header */
.detalle-testimonio-header {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .65rem;
}
.detalle-testimonio-avatar-inicial {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    font-family: 'Urbanist', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detalle-testimonio-info {
    display: flex;
    flex-direction: column;
    gap: .18rem;
}
.detalle-testimonio-info strong {
    font-size: .85rem;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Urbanist', sans-serif;
}
.resena-verificada-badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .65rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16,185,129,.09);
    border-radius: 50px;
    padding: .12rem .42rem;
}
.resena-verificada-badge i { font-size: .58rem; }

/* Stars in card */
.detalle-testimonio-rating { margin-bottom: .45rem; }
.detalle-testimonio-rating .fa-star,
.detalle-testimonio-rating .fa-star-half-alt { color: #f59e0b; font-size: .78rem; }
.detalle-testimonio-rating .fa-star.empty { color: #e2e8f0; font-size: .78rem; }

/* Review title */
.resena-titulo {
    font-size: .855rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .3rem;
    font-family: 'Urbanist', sans-serif;
}

/* Review body */
.detalle-testimonio-content {
    font-size: .835rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: .7rem;
    font-style: italic;
}

/* Footer */
.resena-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: wrap;
    padding-top: .55rem;
    border-top: 1px solid #f1f5f9;
}
.resena-fecha {
    font-size: .7rem;
    color: #94a3b8;
    font-weight: 500;
}
.resena-util-btn {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: none;
    border: 1px solid rgba(15,23,42,.1);
    border-radius: 50px;
    padding: .2rem .6rem;
    font-size: .68rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.resena-util-btn:hover { background: #f1f5f9; color: #0f172a; }

/* Vendor reply */
.resena-respuesta {
    background: #f8fafc;
    border-left: 2px solid var(--dt-accent);
    border-radius: 0 8px 8px 0;
    padding: .6rem .85rem;
    margin-top: .7rem;
    font-size: .8rem;
    color: #475569;
}
.resena-respuesta-header {
    font-size: .7rem;
    font-weight: 700;
    color: var(--dt-accent);
    margin-bottom: .25rem;
    display: flex;
    align-items: center;
    gap: .28rem;
}

/* Form */
.resena-form-container {
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.07);
    border-radius: 18px;
    padding: 1.4rem;
    margin-bottom: 1.4rem;
}
.resena-form-titulo {
    font-family: 'Urbanist', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .38rem;
}
.resena-form-titulo i { color: var(--dt-accent); }
.resena-form-group { margin-bottom: .85rem; }
.resena-form-group label {
    display: block;
    font-size: .76rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .38rem;
}
.resena-form-group input[type="text"],
.resena-form-group textarea {
    width: 100%;
    background: #fff;
    border: 1.5px solid rgba(15,23,42,.1);
    border-radius: 10px;
    padding: .62rem .88rem;
    font-size: .865rem;
    color: #0f172a;
    font-family: 'Urbanist', sans-serif;
    outline: none;
    transition: border-color .2s;
    box-shadow: none;
}
.resena-form-group input[type="text"]:focus,
.resena-form-group textarea:focus { border-color: var(--dt-accent); }
.resena-form-group textarea { min-height: 80px; resize: vertical; }

/* Star rating input */
.resena-stars-input {
    display: flex;
    flex-direction: row-reverse;
    gap: .2rem;
    width: fit-content;
}
.resena-stars-input input[type="radio"] { display: none; }
.resena-stars-input label i { font-size: 1.45rem; color: #e2e8f0; cursor: pointer; transition: color .12s; }
.resena-stars-input label:hover i,
.resena-stars-input label:hover ~ label i,
.resena-stars-input input[type="radio"]:checked ~ label i { color: #f59e0b; }

/* Submit */
.resena-submit-btn {
    width: 100%;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .8rem 1.4rem;
    font-size: .88rem;
    font-weight: 700;
    font-family: 'Urbanist', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: background .2s, transform .15s;
}
.resena-submit-btn:hover { background: #1e293b; transform: translateY(-1px); }

/* No-permission message */
.resena-mensaje-no-puede {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.07);
    border-radius: 14px;
    padding: .9rem 1.2rem;
    font-size: .845rem;
    color: #475569;
    margin-bottom: 1.2rem;
}
.resena-mensaje-no-puede i { color: var(--dt-accent); font-size: 1rem; flex-shrink: 0; }

/* Ver mas */
.resenas-ver-mas-container { text-align: center; margin-top: 1.1rem; }
.resenas-ver-mas-btn {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    background: none;
    border: 1.5px solid rgba(15,23,42,.12);
    border-radius: 50px;
    padding: .62rem 1.5rem;
    font-size: .82rem;
    font-weight: 600;
    color: #475569;
    font-family: 'Urbanist', sans-serif;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.resenas-ver-mas-btn:hover { background: #f1f5f9; color: #0f172a; border-color: rgba(15,23,42,.2); }

/* Alerts */
.resena-alert {
    border-radius: 10px;
    padding: .62rem 1rem;
    margin-bottom: .72rem;
    font-size: .82rem;
    font-weight: 500;
}
.resena-alert-success { background: rgba(16,185,129,.09); color: #10b981; border: 1px solid rgba(16,185,129,.2); }
.resena-alert-error { background: rgba(239,68,68,.07); color: #ef4444; border: 1px solid rgba(239,68,68,.15); }

/* ============================================================
   v4 — Hero gradient: mismo azul eléctrico que familia hero
   Dark navy → electric blue → blanco (no tan oscuro)
   ============================================================ */

/* Desktop: gradiente más suave, la zona hero se ve con el azul */
body.detalle-tech {
    background: linear-gradient(
        to bottom,
        #0d1526 0px,
        #0a3d8f 480px,
        #dce8f8 560px,
        #f8fafc 650px
    ) !important;
}

/* Glow ambient ajustado al nuevo degradado */
body.detalle-tech::before {
    background:
        radial-gradient(ellipse at 20% 10%, rgba(59, 130, 246, 0.22) 0%, transparent 44%),
        radial-gradient(ellipse at 82% 35%, rgba(10, 61, 143, 0.28) 0%, transparent 42%);
    bottom: auto;
    height: 560px;
    position: fixed;
    top: 0; left: 0; right: 0;
    pointer-events: none;
    z-index: -1;
}

/* Tablet */
@media (max-width: 992px) {
    body.detalle-tech {
        background: linear-gradient(
            to bottom,
            #0d1526 0px,
            #0a3d8f 420px,
            #dce8f8 500px,
            #f8fafc 590px
        ) !important;
    }
    body.detalle-tech::before {
        height: 500px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body.detalle-tech {
        background: linear-gradient(
            to bottom,
            #0d1526 0px,
            #0a3d8f 360px,
            #dce8f8 440px,
            #f8fafc 520px
        ) !important;
    }
    body.detalle-tech::before {
        height: 440px;
    }
}


/* ============================================================
   MODEL VIEWER — Visor 3D GLB premium
   ============================================================ */

/* Contenedor principal del modelo (reemplaza dt-image-container) */
.dt-model-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #05080f 0%, #091535 50%, #0d2660 100%);
    box-shadow:
        0 2px 0 rgba(255,255,255,0.06),
        0 24px 64px -12px rgba(0,0,0,0.55);
}

/* El web component de Google */
model-viewer {
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
}

/* Poster mientras carga el 3D */
.dt-model-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    gap: 1rem;
}
.dt-model-poster img {
    width: 60%;
    max-width: 280px;
    object-fit: contain;
    opacity: .65;
    filter: blur(1px);
}
.dt-model-loading {
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    font-family: 'Urbanist', sans-serif;
    letter-spacing: .05em;
}

/* Badge "3D" flotante */
.dt-badge-3d {
    position: absolute;
    top: 14px; left: 14px;
    background: linear-gradient(135deg, #0055cc 0%, #0a8df5 100%);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: .3rem;
    box-shadow: 0 4px 14px rgba(0,85,204,.45);
    pointer-events: none;
    z-index: 3;
}

/* Thumbnail especial para modelo 3D */
.dt-thumb-3d {
    background: linear-gradient(135deg, #0055cc 0%, #0a8df5 100%);
    border-color: #0a8df5 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dt-thumb-3d-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    color: #ffffff;
}
.dt-thumb-3d-inner i { font-size: 1.3rem; }
.dt-thumb-3d-inner small {
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .1em;
}
.dt-thumb-3d.active {
    box-shadow: 0 0 0 3px #0a8df5, 0 4px 12px rgba(0,85,204,.40);
}

/* Instrucción de interacción (aparece al hover del visor) */
.dt-model-container::after {
    content: 'Arrastra para girar · Pellizca para zoom';
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.52);
    color: rgba(255,255,255,.80);
    font-size: .68rem;
    font-family: 'Urbanist', sans-serif;
    letter-spacing: .04em;
    padding: .3rem .8rem;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
    white-space: nowrap;
    z-index: 2;
}
.dt-model-container:hover::after { opacity: 1; }

/* Mobile: altura adaptada */
@media (max-width: 768px) {
    .dt-model-container {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }
}
