/*
 * The Vinyl Lab - Master Stylesheet (Minimalist Luxury Light / Zoa v9 Concept)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta de Colores de Alta Gama (Luxury Light) */
    --bg-dark: #faf8f5;           /* Off-white cálido (crema suave) */
    --bg-card: #ffffff;           /* Blanco puro para tarjetas y bloques */
    --bg-card-hover: #faf9f7;     /* Hover sutil en tarjetas */
    --border-color: #ebe7e2;      /* Bordes suaves de tono beige */
    --border-glow: rgba(212, 175, 55, 0.2); /* Resplandor dorado elegante */
    
    --accent: #d4af37;            /* Oro clásico metalizado */
    --accent-dark: #b89025;       /* Oro oscuro para contraste */
    --accent-light: #f7f1e5;      /* Crema oro muy claro */
    --charcoal: #1a1c1e;          /* Carbón oscuro para textos principales */
    
    --text-primary: #1a1c1e;      /* Negro carbón de alta legibilidad */
    --text-secondary: #5e6267;    /* Gris pizarra sofisticado */
    --text-muted: #9ba0a6;        /* Gris claro para descripciones secundarias */
    
    --success: #2e7d32;           /* Verde esmeralda refinado */
    --warning: #e65100;           /* Naranja bronce */
    --danger: #b71c1c;            /* Rojo burdeos */
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px rgba(30, 28, 25, 0.04), 0 1px 3px rgba(30, 28, 25, 0.02);
    --shadow-medium: 0 15px 45px rgba(30, 28, 25, 0.08), 0 3px 6px rgba(30, 28, 25, 0.03);
    --shadow-gold: 0 15px 40px rgba(212, 175, 55, 0.12);
}

/* Reseteo y General */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.2px;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
    transition: var(--transition-smooth);
}

input, select, textarea {
    font-family: inherit;
    outline: none;
}

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

/* CABECERA DE LA TIENDA (Floating Glassmorphism) */
#main-header {
    background: rgba(250, 248, 245, 0.85);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 2px 15px rgba(0,0,0,0.01);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logotipo */
.logo {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.logo-img-main {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}
.logo-img-main:hover {
    transform: scale(1.05);
}

/* Navegación */
nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link.active {
    color: var(--accent);
}
.nav-link.active::after {
    width: 100%;
}

/* Gatillo del Carrito */
.cart-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}
.cart-trigger:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}
.cart-icon-svg {
    color: var(--accent);
}
.cart-badge {
    background-color: var(--charcoal);
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: bold;
}

/* CUERPO PRINCIPAL */
main.container {
    margin-top: 140px;
    min-height: calc(100vh - 280px);
}

/* HERO SECTION con Tocadiscos Giratorio */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-text {
    z-index: 2;
}
.hero-text .hero-sub {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
}
.hero-text h2 {
    font-size: 42px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 800;
}
.hero-text p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* TOCADISCOS EN VIVO (CSS Animation) */
.hero-turntable {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.turntable-deck {
    width: 300px;
    height: 300px;
    background: #fdfcf9;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.turntable-platter {
    width: 250px;
    height: 250px;
    background: #ece7df;
    border-radius: 50%;
    border: 2px solid #dfd9ce;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.turntable-vinyl {
    width: 236px;
    height: 236px;
    background: radial-gradient(circle, #0e1011 20%, #1e2023 21%, #0a0b0d 50%, #1c1d20 70%, #08090a 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    animation: spin 3.5s linear infinite;
}

.vinyl-label-center {
    width: 76px;
    height: 76px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.vinyl-label-center img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    transform: rotate(0deg);
}
.vinyl-spindle {
    width: 10px;
    height: 10px;
    background: #dfd9ce;
    border: 2px solid #555;
    border-radius: 50%;
    position: absolute;
    z-index: 5;
}

.turntable-tonearm {
    width: 24px;
    height: 160px;
    position: absolute;
    top: 15px;
    right: 35px;
    transform-origin: 12px 20px;
    transform: rotate(26deg);
    transition: var(--transition-smooth);
    z-index: 6;
}

.tonearm-base {
    width: 32px;
    height: 32px;
    background: #dfd9ce;
    border: 1px solid #c2b9aa;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: -4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tonearm-rod {
    width: 5px;
    height: 110px;
    background: linear-gradient(to right, #dfd9ce, #aba294);
    position: absolute;
    top: 24px;
    left: 9px;
}

.tonearm-head {
    width: 10px;
    height: 20px;
    background: var(--accent);
    border-radius: 3px;
    position: absolute;
    bottom: 10px;
    left: 7px;
}

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

/* GRILLA DE PRODUCTOS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* TARJETA DE VINILO DE LUJO */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Funda de Disco / Sleeve interactiva */
.product-image-container {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    margin-bottom: 20px;
    background: #faf8f5;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
}

.product-sleeve-img {
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(30, 28, 25, 0.1);
    z-index: 3;
    transition: var(--transition-smooth);
}

/* Vinilo saliendo de la funda en hover */
.product-vinyl-peek {
    width: 75%;
    height: 75%;
    background: radial-gradient(circle, #0e1011 20%, #1c1e22 25%, #050607 50%, #151619 75%, #020202 100%);
    border-radius: 50%;
    position: absolute;
    right: 5%;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(0);
}
.product-vinyl-peek::after {
    content: '';
    width: 30%;
    height: 35%;
    border-radius: 50%;
    border: 2px solid #555;
    position: absolute;
}
.product-vinyl-peek-label {
    width: 32%;
    height: 32%;
    background-color: var(--accent);
    border-radius: 50%;
    border: 1px solid #fff;
}

.product-card:hover .product-sleeve-img {
    transform: translateX(-15%) scale(0.98);
}
.product-card:hover .product-vinyl-peek {
    transform: translateX(25%) rotate(180deg);
}

/* Info del Producto */
.product-info-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.product-badge-genre {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.product-badge-condition {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.product-name-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-artist-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.product-desc-text {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fila de Compra */
.product-buy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}
.product-price-val {
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
}
.product-price-val::before {
    content: '';
    display: none;
}

.btn-add-to-cart {
    background-color: var(--charcoal);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}
.btn-add-to-cart:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}
.btn-add-to-cart:disabled {
    background-color: var(--text-muted);
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* FOOTER */
footer {
    background-color: var(--charcoal);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
}
footer p {
    font-size: 13.5px;
    color: var(--text-muted);
}
footer strong {
    color: var(--accent);
    font-family: var(--font-heading);
}

/* CARRITO DESLIZABLE (DRAWER) */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 28, 25, 0.4);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}
.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    box-shadow: -10px 0 40px rgba(0,0,0,0.05);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--border-color);
}
.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 {
    font-size: 20px;
    color: var(--text-primary);
}
.btn-close-cart {
    font-size: 30px;
    color: var(--text-secondary);
    line-height: 1;
}
.btn-close-cart:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

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

.cart-item {
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 12px;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.cart-item-img-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    font-size: 24px;
}

.cart-item-details {
    flex-grow: 1;
}
.cart-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.cart-item-price {
    font-size: 13.5px;
    color: var(--accent-dark);
    font-weight: 600;
}

.cart-item-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.qty-control {
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 30px;
}
.qty-btn {
    font-size: 16px;
    padding: 2px 10px;
    font-weight: bold;
    color: var(--text-secondary);
}
.qty-btn:hover {
    color: var(--text-primary);
}
.qty-val {
    font-size: 13px;
    font-weight: 600;
    padding: 0 4px;
}

.btn-remove-item {
    color: var(--text-muted);
}
.btn-remove-item:hover {
    color: var(--danger);
    transform: scale(1.05);
}

.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    gap: 12px;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}
.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.cart-subtotal-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}
.cart-subtotal-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.btn-checkout {
    width: 100%;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}
.btn-checkout:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* MODAL DE CHECKOUT Y CONFIGURACIONES (Estilo Premium) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 28, 25, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}
.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}
.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    font-size: 20px;
    color: var(--text-primary);
}
.btn-close-modal {
    font-size: 30px;
    color: var(--text-secondary);
}
.btn-close-modal:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Formulario Grupos */
.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 15px;
}
.form-group-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}
.form-group-wrapper label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}
.form-text-input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition-smooth);
    width: 100%;
}
.form-text-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Tarjetas de Selección (Pago / Entrega) */
.selection-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 15px;
}
.selection-item-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    padding: 16px;
    border-radius: 14px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}
.selection-item-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}
.selection-item-card.active {
    border-color: var(--accent);
    background: var(--accent-light);
}
.selection-item-card-title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
}

/* Vista Éxito de Compra */
.checkout-success-view {
    max-width: 600px;
    margin: 40px auto 80px auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}
.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px auto;
}
.checkout-success-view h2 {
    font-size: 28px;
    margin-bottom: 12px;
}
.checkout-success-view p {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.btn-back-shop {
    display: inline-block;
    background: var(--charcoal);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}
.btn-back-shop:hover {
    background: var(--accent);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* =============================================================
   ESTILOS DE ADMIN EN CASO DE INVOCACIÓN DE CLASES
   ============================================================= */
.admin-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-dashboard-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.admin-master-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.admin-master-table th, .admin-master-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
}
.admin-master-table th {
    background: var(--accent-light);
    color: var(--accent-dark);
    font-weight: 700;
}
.admin-master-table tr:hover {
    background: var(--bg-card-hover);
}

/* ==========================================================================
   GALERÍA Y DETALLE DE PRODUCTO EN TIENDA (POPUP PREMIUM)
   ========================================================================== */
.detail-thumb {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.detail-thumb:hover, .detail-thumb.active {
    opacity: 1;
    border-color: var(--accent);
    transform: translateY(-2px);
}
@media (max-width: 650px) {
    .product-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    /* ==========================================================================
       CABECERA EN UNA SOLA LÍNEA (MÓVIL)
       ========================================================================== */
    .header-flex {
        flex-direction: row !important; /* Mantener todo en una sola línea */
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 12px !important; /* Espaciado desahogado e higiénico */
        gap: 6px !important;
    }
    
    .logo {
        margin: 0 !important; /* Alinear a la izquierda */
        flex-shrink: 0 !important;
    }
    
    .logo-img-main {
        height: 44px !important; /* Logo de excelente legibilidad y presencia */
        width: auto !important;
    }
    
    nav {
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important; /* Separación perfecta entre selector y carrito */
    }
    
    /* Ocultar enlace de Colección en móviles */
    #nav-catalogo-link {
        display: none !important;
    }
    
    /* Selector de Moneda ultra simple en móviles */
    .currency-switcher-wrapper {
        margin-right: 0 !important; /* Remover margen de desktop */
        padding: 2px !important;
        border-radius: 15px !important;
        gap: 1px !important;
        background: rgba(212, 175, 55, 0.04) !important;
        border: 1px solid rgba(212, 175, 55, 0.1) !important;
    }
    
    .currency-tag-option {
        font-size: 8.5px !important;
        font-weight: 800 !important;
        padding: 3px 6px !important; /* Ajuste ultra-minimalista */
        border-radius: 10px !important;
    }
    
    /* Ocultar palabra "Carrito" en móviles */
    .cart-text {
        display: none !important;
    }
    
    /* Carrito compacto con solo ícono y contador */
    .cart-trigger {
        padding: 6px 10px !important; /* Compacto, cómodo y minimalista */
        background: rgba(212, 175, 55, 0.06) !important;
        border: 1px solid rgba(212, 175, 55, 0.15) !important;
        border-radius: 50px !important;
        gap: 4px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .cart-icon-svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .cart-badge {
        font-size: 9px !important;
        min-width: 14px !important;
        height: 14px !important;
        line-height: 14px !important;
    }
}

/* ==========================================================================
   SELECTOR DE DIVISA (USD / DOP)
   ========================================================================== */
.currency-tag-option {
    color: var(--text-muted);
    background: transparent;
}
.currency-tag-option.active {
    color: #fff !important;
    background: var(--accent) !important;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}
.currency-switcher-wrapper:hover .currency-tag-option:not(.active) {
    color: var(--text-primary);
}
