﻿/* ===================================================
   LAB URBAN & TECH - THEME BLACK & GOLD EDITION
   Aesthetic: Obsidian Deep Black, Gold/Yellow & Crisp White
   Mobile-First & Ultra-Responsive Design
   =================================================== */

:root {
    --bg-main: #07080b;
    --bg-card: #0f1117;
    --bg-card-hover: #171922;
    --bg-nav: rgba(7, 8, 11, 0.95);
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Urban Gold & Yellow Accents */
    --accent-urban: #f59e0b;
    --accent-urban-hover: #d97706;
    --accent-gold: #fbbf24;
    --accent-gold-bright: #ffd000;
    
    /* Tech Platinum & Golden Glow Accents */
    --accent-tech: #ffffff;
    --accent-tech-glow: rgba(245, 158, 11, 0.35);
    --accent-tech-hover: #fef08a;
    
    /* Utility & Status */
    --accent-green: #10b981;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(245, 158, 11, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    touch-action: manipulation;
}

/* Input font size 16px minimum to prevent iOS Safari auto-zoom */
input, select, textarea {
    font-family: inherit;
    font-size: 16px !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #111827 0%, #1f2937 50%, #111827 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.announcement-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.announcement-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    white-space: nowrap;
}
.announcement-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.announcement-bar strong {
    color: var(--accent-tech);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-nav);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.nav-isotype-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.45));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    flex-shrink: 0;
}

.logo:hover .nav-isotype-img {
    transform: scale(1.12) rotate(-3deg);
    filter: drop-shadow(0 4px 14px rgba(255, 208, 0, 0.75));
}

.logo-text-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.logo-lab {
    color: #ffd000;
    background: linear-gradient(135deg, #fff38a 0%, #ffd000 45%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}

.logo-divider {
    color: #f59e0b;
    font-weight: 900;
    opacity: 0.85;
}

.logo-sub {
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Footer Brand Styling */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-isotype-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(245, 158, 11, 0.45));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    flex-shrink: 0;
}

.footer-logo:hover .footer-isotype-img {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 5px 18px rgba(255, 208, 0, 0.75));
}

.footer-text-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.footer-logo .logo-lab {
    font-size: 1.45rem;
    font-weight: 900;
}

.footer-logo .logo-divider {
    font-size: 1.25rem;
}

.footer-logo .logo-sub {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.footer-brand-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 320px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link i {
    font-size: 0.85rem;
    color: var(--accent-tech);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition);
    min-width: 44px;
    min-height: 44px;
}

.cart-btn:hover {
    background: var(--accent-urban);
    border-color: var(--accent-urban);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-tech);
    color: #000000;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-main);
}

.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ================= Hero Section ================= */
.hero {
    position: relative;
    padding: 70px 16px 50px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* El fondo ahora se maneja desde el slider */
    background-color: var(--bg-main);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 12, 16, 0.70) 0%,
        rgba(10, 12, 16, 0.45) 40%,
        rgba(10, 12, 16, 0.60) 70%,
        rgba(10, 12, 16, 0.92) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.14);
    color: #ffd000;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    margin: 0 auto 16px auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(1.85rem, 5.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 auto 16px auto;
    max-width: 850px;
    width: 100%;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

.text-gradient {
    background: linear-gradient(135deg, #ffd000 0%, #fff38a 40%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: var(--text-secondary);
    font-size: clamp(0.92rem, 2.3vw, 1.1rem);
    max-width: 680px;
    width: 100%;
    margin: 0 auto 28px auto;
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-split-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 580px;
    margin: 0 auto 32px auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    min-height: 48px;
    cursor: pointer;
}

.btn-urban {
    background: linear-gradient(135deg, #ffd000 0%, #f59e0b 100%);
    color: #07080b;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-urban:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffe066 0%, #fbbf24 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
    color: #000000;
}

.btn-tech {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 208, 0, 0.6);
}

.btn-tech:hover {
    background: #ffd000;
    color: #05070a;
    border-color: #ffd000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    font-weight: 800;
}

/* Promo Callout Banner */
.promo-callout-banner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto 24px auto;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(255, 208, 0, 0.12));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.promo-tag {
    background: var(--accent-urban);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.promo-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.promo-text h3 strong {
    color: var(--accent-tech);
    font-family: var(--font-mono);
}

.promo-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.btn-promo-action {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--transition);
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-promo-action:hover {
    background: var(--accent-tech);
    color: #000;
    border-color: var(--accent-tech);
}

/* Dual Feature Cards */
.dual-feature-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.feature-urban:hover {
    border-color: var(--accent-urban);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

.feature-tech:hover {
    border-color: var(--accent-tech);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 208, 0, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.feature-urban .feature-icon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-urban);
}

.feature-tech .feature-icon {
    background: rgba(255, 208, 0, 0.15);
    color: var(--accent-tech);
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.feature-arrow {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.feature-card:hover .feature-arrow {
    color: #fff;
    transform: translateX(4px);
}

/* ================= Common Section Styles ================= */
.section {
    padding: 60px 0;
    position: relative;
}

.section-urban {
    border-top: 1px solid var(--border-color);
}

.section-tech {
    background: linear-gradient(180deg, rgba(18, 22, 31, 0.4) 0%, rgba(10, 12, 16, 1) 100%);
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-urban);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.tech-tag {
    background: rgba(255, 208, 0, 0.1);
    color: var(--accent-tech);
    border-color: rgba(255, 208, 0, 0.2);
}

.section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.92rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}


/* ================= Live Catalog Search Bar ================= */
.catalog-search-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
    padding: 0 15px;
}

.catalog-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0 16px;
    height: 44px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.catalog-search-bar:focus-within {
    border-color: var(--accent-urban);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.catalog-search-bar .search-icon {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-right: 10px;
    transition: var(--transition);
}

.catalog-search-bar:focus-within .search-icon {
    color: var(--accent-urban);
}

.catalog-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
}

.catalog-search-input::placeholder {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.catalog-search-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.catalog-search-clear:hover {
    color: var(--text-color);
}

/* ================= Category Filters ================= */
.filter-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 4px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-wrapper::-webkit-scrollbar {
    display: none;
}

.filter-buttons {
    display: flex;
    gap: 6px;
    background: var(--bg-card);
    padding: 5px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
}

.filter-btn:hover {
    color: #ffffff;
}

.filter-btn.active {
    background: var(--accent-urban);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* ================= Product Cards Grid ================= */

/* ================= Size Filter Pills Bar ================= */
.size-filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -12px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.size-filter-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.size-filter-bar::-webkit-scrollbar {
    display: none;
}

.size-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    white-space: nowrap;
    margin-right: 4px;
}

.size-filter-label i {
    color: var(--accent-urban);
    font-size: 0.82rem;
}

.size-filter-pills {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    white-space: nowrap;
}

.size-pill {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
    padding: 5px 13px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    user-select: none;
}

.size-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.size-pill.active {
    background: var(--accent-urban);
    color: #ffffff;
    border-color: var(--accent-urban);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 290px;
    background: #10131a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-rock { background: #f59e0b; color: #ffffff; }
.badge-iconos { background: #f59e0b; color: #000000; }
.badge-anime { background: #8b5cf6; color: #ffffff; }
.badge-gafas { background: #ffd000; color: #000000; }

.quick-view-overlay-btn {
    position: absolute;
    bottom: 10px;
    background: rgba(10, 12, 16, 0.9);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.product-image-container:hover .quick-view-overlay-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-theme {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-tech);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.3;
}

.product-title:hover {
    color: var(--accent-tech);
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    flex-grow: 1;
    line-height: 1.4;
}

/* Size Selector in Card */
.size-selector-wrap {
    margin-bottom: 12px;
}

.size-selector-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 600;
}

.size-guide-link {
    color: var(--accent-tech);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 2px 4px;
}

.size-options {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.size-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    min-height: 32px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-btn:hover:not(.disabled) {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.size-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.size-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.02);
}

.product-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 10px;
}

.product-price-box {
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #ffffff;
    line-height: 1.1;
}

.product-price-cash {
    font-size: 0.72rem;
    color: var(--accent-green);
    font-weight: 700;
}

.add-to-cart-btn {
    background: var(--accent-urban);
    color: #ffffff;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    min-height: 40px;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: var(--accent-urban-hover);
    transform: scale(1.03);
}

/* ================= PRODUCT DETAIL QUICK VIEW MODAL ================= */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; height: 100dvh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: #0b0d13;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.product-detail-dialog {
    max-width: 920px;
    padding: 24px;
}

.detail-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
    z-index: 10;
}

.detail-close-btn:hover {
    background: var(--accent-urban);
    color: #fff;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 26px;
}

/* Gallery & Zoom Side */
.detail-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-main-img-wrap {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    background: radial-gradient(circle at center, #181d28 0%, #0d1017 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
    padding: 6px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: calc(var(--radius-md) - 4px);
}

.detail-view-switch {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.view-pill-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    min-height: 38px;
}

.view-pill-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.view-pill-btn.active {
    background: var(--accent-tech);
    color: #000;
    border-color: var(--accent-tech);
}

.zoom-instruction-badge {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Detail Info Side */
.detail-info-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-theme {
    font-size: 0.78rem;
    color: var(--accent-tech);
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.detail-title {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.2;
}

/* Pricing Breakdown Box */
.detail-price-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-main-price {
    font-size: 1.6rem;
    font-weight: 900;
    font-family: var(--font-mono);
    color: #fff;
}

.detail-cash-price {
    font-size: 0.88rem;
    color: var(--accent-green);
    font-weight: 800;
}

.detail-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-urban);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    width: fit-content;
}

/* Installments Box */
.installments-selector-box {
    margin-top: 4px;
}

.installments-select {
    width: 100%;
    background: #0a0d14;
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
}

.detail-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Care instructions icons */
.care-instructions-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px;
    background: #0d1118;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.care-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.care-item i {
    color: var(--accent-tech);
    font-size: 1.05rem;
}

.care-item span {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ================= GUÍA DE TALLES & RECOMENDADOR MODAL ================= */
.size-guide-dialog {
    max-width: 680px;
}

.modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close-btn {
    background: none;
    color: var(--text-secondary);
    font-size: 1.6rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-guide-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.smart-recommender-box {
    background: linear-gradient(145deg, #161c28, #0e121a);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 18px;
}

.recommender-header h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommender-header p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.recommender-inputs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.recommender-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.recommender-field label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.recommender-field input,
.recommender-field select {
    background: #080b10;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.btn-calc-size {
    width: 100%;
    background: var(--accent-tech);
    color: #05070a;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--accent-tech-glow);
    transition: var(--transition);
    min-height: 44px;
}

.btn-calc-size:hover {
    background: var(--accent-tech-hover);
    transform: translateY(-2px);
}

.recommendation-result {
    margin-top: 14px;
    padding: 12px;
    background: rgba(255, 208, 0, 0.08);
    border: 1px dashed var(--accent-tech);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
}

.result-badge strong {
    background: var(--accent-tech);
    color: #000;
    font-size: 1.05rem;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.recommendation-result p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Measurements Table */
.size-table-container h4 {
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.size-measurements-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: center;
    min-width: 440px;
}

.size-measurements-table th {
    background: #0d1117;
    padding: 8px 10px;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.size-measurements-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
}

.size-tip-note {
    margin-top: 8px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ================= CART DRAWER & PROMOS ================= */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; height: 100dvh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh; height: 100dvh;
    background: #0f131a;
    border-left: 1px solid var(--border-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-close-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 1.6rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close-btn:hover {
    background: var(--accent-urban);
    color: #fff;
}

.cart-promo-banner {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
}

.cart-empty {
    text-align: center;
    padding: 50px 16px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 2.8rem;
    margin-bottom: 14px;
    opacity: 0.4;
}

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

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    background: #1c2230;
    flex-shrink: 0;
}

.cart-item-info {
    flex-grow: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    font-size: 0.75rem;
    color: var(--accent-tech);
    margin-bottom: 2px;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.qty-controls {
    display: flex;
    align-items: center;
    background: #0a0d14;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    color: #ffffff;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.qty-number {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0 4px;
    min-width: 18px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    color: #ef4444;
    font-size: 0.8rem;
    padding: 4px;
    opacity: 0.75;
    transition: var(--transition);
}

.cart-item-remove:hover {
    opacity: 1;
}

.cart-footer {
    padding: 16px 18px;
    border-top: 1px solid var(--border-color);
    background: #0a0d13;
}

.cart-summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.cart-discount-line {
    color: var(--accent-green);
    font-weight: 800;
}

.cart-transfer-hint {
    font-size: 0.78rem;
    color: var(--accent-tech);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 900;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-total-price {
    font-size: 1.3rem;
    color: #fff;
    font-family: var(--font-mono);
}

.cart-shipping-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    min-height: 48px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-clear-cart {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 8px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    min-height: 36px;
}

.btn-clear-cart:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ================= Tech Service Section ================= */
.tech-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--accent-tech);
    box-shadow: 0 10px 30px var(--accent-tech-glow);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 208, 0, 0.1);
    color: var(--accent-tech);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.service-features {
    list-style: none;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.service-features li i {
    color: var(--accent-green);
    margin-top: 3px;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.service-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-tech);
    background: rgba(255, 208, 0, 0.08);
    border: 1px solid rgba(255, 208, 0, 0.2);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Service Quote Box */
.service-quotation-box {
    background: linear-gradient(145deg, #131924, #0d121a);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-card);
}

.quote-header {
    text-align: center;
    margin-bottom: 24px;
}

.quote-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quote-header h3 i {
    color: var(--accent-tech);
}

.quote-header p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    background: #0a0e16;
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-tech);
    box-shadow: 0 0 12px var(--accent-tech-glow);
    outline: none;
}

.btn-tech-quote {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    padding: 15px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
    margin-top: 6px;
    min-height: 50px;
}

.btn-tech-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Trust Section */
.trust-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 35px 0;
    background: #0d1017;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-item i {
    font-size: 1.8rem;
    color: var(--accent-tech);
    flex-shrink: 0;
}

.trust-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.trust-item p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Footer */
.footer {
    background: #07090c;
    padding: 50px 0 25px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-tech);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-urban);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    margin: 0 auto;
    background: #182232;
    border: 1px solid var(--accent-tech);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 1100;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    justify-content: center;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===================================================
   MOBILE RESPONSIVE BREAKPOINTS (TABLET & PHONES)
   =================================================== */

@media (max-width: 920px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d1117;
        flex-direction: column;
        padding: 18px;
        border-bottom: 1px solid var(--border-color);
        gap: 10px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
        background: rgba(255, 255, 255, 0.02);
    }

    .mobile-toggle {
        display: flex;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-main-img-wrap {
        max-width: 360px;
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 14px;
    }

    .hero {
        padding: 42px 14px 28px;
        text-align: center;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 0 4px;
    }

    .hero-badge {
        margin: 0 auto 12px auto;
    }

    .hero-title {
        font-size: clamp(1.65rem, 7.2vw, 2.25rem);
        text-align: center;
        margin: 0 auto 12px auto;
    }

    .hero-description {
        font-size: 0.9rem;
        text-align: center;
        margin: 0 auto 22px auto;
        padding: 0 4px;
    }

    .hero-split-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 10px;
        margin: 0 auto 24px auto;
    }

    .hero-split-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .promo-callout-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 14px;
        gap: 12px;
        margin: 0 auto 18px auto;
        width: 100%;
    }

    .promo-tag {
        align-self: center;
    }

    .promo-text {
        text-align: center;
        width: 100%;
    }

    .promo-text h3 {
        text-align: center;
    }

    .promo-text p {
        text-align: center;
    }

    .btn-promo-action {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .dual-feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .feature-card {
        padding: 14px 16px;
        width: 100%;
    }

    /* Catálogo Móvil en 2 Columnas */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        border-radius: var(--radius-sm);
    }

    .product-image-container {
        height: 195px;
    }

    .product-badge {
        font-size: 0.62rem;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
        border-radius: 4px;
        letter-spacing: 0.3px;
    }

    .quick-view-overlay-btn {
        display: none; /* En celular el toque directo en la foto o título abre el detalle y zoom */
    }

    .product-details {
        padding: 10px 8px;
    }

    .product-theme {
        font-size: 0.62rem;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-title {
        font-size: 0.82rem;
        line-height: 1.25;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.1em;
    }

    .product-desc {
        display: none; /* Oculto en catálogo 2 columnas para limpieza visual; se visualiza completo en el modal */
    }

    .size-selector-wrap {
        margin-bottom: 8px;
    }

    .size-selector-label {
        font-size: 0.66rem;
        margin-bottom: 4px;
    }

    .size-guide-link {
        font-size: 0.66rem;
    }

    .size-options {
        gap: 3px;
    }

    .size-btn {
        font-size: 0.65rem;
        padding: 2px 5px;
        min-height: 24px;
        min-width: 24px;
        border-radius: 4px;
    }

    .product-bottom-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding-top: 8px;
    }

    .product-price-box {
        display: flex;
        flex-direction: column;
    }

    .product-price {
        font-size: 1.05rem;
    }

    .product-price-cash {
        font-size: 0.65rem;
    }

    .add-to-cart-btn {
        width: 100%;
        justify-content: center;
        padding: 7px 8px;
        font-size: 0.74rem;
        min-height: 34px;
        border-radius: 6px;
        gap: 4px;
    }

    .product-detail-dialog {
        padding: 18px 14px;
        max-height: 94vh;
    }

    .detail-main-img-wrap {
        max-width: 300px;
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 4px;
    }

    .detail-title {
        font-size: 1.25rem;
    }

    .recommender-inputs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .care-instructions-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .cart-drawer {
        max-width: 100%;
    }

    .service-quotation-box {
        padding: 22px 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tech-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .filter-wrapper {
        justify-content: flex-start;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 6px;
    }

    .nav-isotype-img {
        height: 34px;
        width: 34px;
    }

    .logo-lab {
        font-size: 1.1rem;
    }

    .logo-divider {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.75rem;
        letter-spacing: 0.8px;
        white-space: nowrap;
        display: inline-block;
    }
}

@media (max-width: 380px) {
    .nav-isotype-img {
        height: 30px;
        width: 30px;
    }
    
    .logo-lab {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
        display: inline-block;
    }
    
    .products-grid {
        gap: 8px;
    }

    .product-image-container {
        height: 165px;
    }

    .size-btn {
        padding: 2px 4px;
        font-size: 0.62rem;
        min-height: 22px;
        min-width: 22px;
    }

    .product-title {
        font-size: 0.78rem;
    }

    .product-price {
        font-size: 0.95rem;
    }
}

/* ================= SERVICIO TÉCNICO REFACTOR ================= */

/* Diferenciación */
.tech-differentiation {
    background: rgba(18, 18, 18, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.diff-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.diff-icon {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.diff-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.diff-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.diff-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.diff-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.diff-features li i {
    color: var(--primary-color);
}

/* Protocolo de Recepción */
.tech-protocol {
    margin-top: 4rem;
    margin-bottom: 3rem;
    text-align: center;
}

.protocol-header {
    margin-bottom: 2rem;
}

.protocol-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.protocol-header p {
    color: var(--text-muted);
}

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

.p-step {
    background: rgba(18, 18, 18, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.p-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.p-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.p-step h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

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

/* Antes y Despues */
.tech-before-after {
    margin-top: 4rem;
    margin-bottom: 3rem;
    text-align: center;
}

.tech-before-after h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

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

.ba-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ba-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ba-item:hover img {
    transform: scale(1.05);
}

.ba-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* FAQs */
.tech-faqs {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.tech-faqs h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(18, 18, 18, 0.4);
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color);
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-btn i {
    transition: transform 0.3s ease;
}

.faq-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-btn[aria-expanded="true"] + .faq-content {
    max-height: 500px;
    padding: 0 1.2rem 1.2rem 1.2rem;
}

.faq-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Ajustes */
@media (max-width: 768px) {
    .diff-content {
        flex-direction: column;
        text-align: center;
    }
    
    .diff-features {
        align-items: center;
    }
    
    .diff-icon {
        margin-bottom: 1rem;
    }
}

.hero-description-split {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    max-width: 700px;
}
@media (min-width: 768px) {
    .hero-description-split {
        flex-direction: row;
        gap: 20px;
    }
}
.hero-desc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    flex: 1;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.hero-desc-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}
.hero-desc-icon {
    font-size: 2rem;
    color: var(--primary-color);
}
.hero-desc-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.hero-desc-text strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}
.hero-desc-text span {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Update hero-desc-item for clickable behavior */
.hero-desc-item.clickable-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    padding-right: 45px;
}
.hero-desc-item.clickable-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.hero-desc-action {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hero-desc-item.clickable-card:hover .hero-desc-action {
    opacity: 1;
    transform: translate(5px, -50%);
}

/* Shipping Banner */
.hero-shipping-banner {
    margin-top: 15px; margin-bottom: 30px;
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
}
.shipping-banner-content {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.shipping-banner-content:hover {
    transform: scale(1.02);
}
.shipping-banner-content i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Shipping Promo Popup */
.shipping-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; height: 100dvh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.shipping-popup-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.shipping-popup-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.shipping-popup-backdrop.active .shipping-popup-content {
    transform: translateY(0);
}
.shipping-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}
.shipping-popup-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.shipping-popup-content h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
}
.shipping-popup-content p {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1rem;
}
.shipping-popup-desc {
    font-size: 0.95rem !important;
    color: #cbd5e1 !important;
    margin-bottom: 20px !important;
    line-height: 1.5;
}

/* ===== Ajuste mobile: nada más ancho que la pantalla ===== */
.form-row > *, .checkout-grid > * { min-width: 0; }
.form-group input:not([type=radio]):not([type=checkbox]),
.form-group select,
.form-group textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.form-group select { text-overflow: ellipsis; }
img, video { max-width: 100%; }
@media (max-width: 640px) {
    .size-measurements-table { min-width: 0; font-size: 0.78rem; }
    .size-measurements-table th, .size-measurements-table td { padding: 8px 4px; }
    .modal-dialog { max-width: 100%; }
}

/* Mobile Bottom App Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.75rem;
    gap: 4px;
    transition: color 0.3s ease;
}
.mobile-nav-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}
.mobile-nav-item:hover, .mobile-nav-item:active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
}

/* ================= FULL SCREEN PRODUCT MODAL (Nivel DIOS) ================= */
#productDetailModalBackdrop {
    padding: 0;
    background: var(--bg-color); /* solid color */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#productDetailModalBackdrop .product-detail-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100vh; height: 100dvh;
    max-height: 100vh; max-height: 100dvh; height: 100dvh;
    border-radius: 0;
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.product-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-back-btn, .modal-header-cart {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
}

.product-modal-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-transform: uppercase;
}

#productDetailModalBackdrop .product-detail-layout {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 90px; /* space for mobile bar */
}

@media (min-width: 769px) {
    /* For desktop, also make it full screen or keep it as a huge beautiful overlay */
    #productDetailModalBackdrop .product-detail-dialog {
        background: #0b0d13;
    }
    #productDetailModalBackdrop .product-detail-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px;
    }
}
/* Quantity Selector */
.add-to-cart-action-row {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.qty-selector {
    display: flex;
    align-items: center;
    background: var(--bg-nav);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 48px;
}
.qty-selector button {
    background: none;
    border: none;
    color: var(--text-color);
    width: 40px;
    height: 100%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}
.qty-selector button:hover {
    background: rgba(255,255,255,0.1);
}
.qty-selector input {
    background: none;
    border: none;
    color: var(--text-color);
    width: 40px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.modal-header-cart {
    position: relative;
}
.cart-backdrop {
    z-index: 2000 !important;
}
.cart-drawer {
    z-index: 2001 !important;
}
/* Hide mobile bottom bar when full screen product modal is open */
#productDetailModalBackdrop.open ~ .mobile-bottom-bar {
    display: none !important;
}
#productDetailModalBackdrop .product-detail-layout {
    padding-bottom: 20px !important;
}
#productDetailModalBackdrop .product-detail-layout {
    padding-bottom: calc(40px + env(safe-area-inset-bottom)) !important;
}
.out-of-stock-btn {
    opacity: 0.6;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.2) 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    ) !important;
    border: 1px dashed rgba(255,255,255,0.4) !important;
}
.out-of-stock-btn:hover {
    opacity: 0.9;
    border-color: var(--primary-color) !important;
}
/* Suggest Callout Banner */
.suggest-callout-banner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto 40px auto;
    background: linear-gradient(135deg, rgba(255, 62, 62, 0.1), rgba(255, 62, 62, 0.05));
    border: 1px solid rgba(255, 62, 62, 0.35);
    border-radius: var(--radius-md);
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.suggest-callout-banner:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 62, 62, 0.15), rgba(255, 62, 62, 0.08));
}

.suggest-tag {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.suggest-text {
    flex: 1;
}

.suggest-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
}
.suggest-text strong {
    color: var(--primary-color);
}

.btn-suggest-action {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
    white-space: nowrap;
}
.suggest-callout-banner:hover .btn-suggest-action {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 768px) {
    .suggest-callout-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
    .btn-suggest-action {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
}
.suggest-design-dialog {
    max-width: 500px !important;
    height: auto !important;
    margin: 40px auto;
}
@media (max-width: 768px) {
    .suggest-design-dialog {
        margin: 20px;
        width: auto;
    }
}

/* Contextual Escape Hatch */
.escape-hatch {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    width: 90%;
    max-width: 350px;
    overflow: hidden;
}

.escape-hatch.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.escape-hatch-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.escape-hatch-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.escape-hatch-text strong {
    color: var(--text-primary);
}

.escape-hatch-text span {
    color: var(--text-secondary);
}

.btn-escape {
    background: rgba(0, 180, 216, 0.15); /* Tech Blue */
    color: #00d2ff;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    border: 1px solid rgba(0, 180, 216, 0.3);
    transition: background 0.2s;
    text-decoration: none;
}

.btn-escape:hover {
    background: rgba(0, 180, 216, 0.3);
}

.escape-hatch-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #00d2ff;
    width: 100%;
    transform-origin: left;
}

@keyframes progressShrink {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.escape-hatch.show .escape-hatch-progress {
    animation: progressShrink 8s linear forwards;
}
.toast-msg {
    flex: 1;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.35;
    word-break: break-word;
}

.toast-action-btn {
    background: var(--accent-urban);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.toast-action-btn:hover {
    background: var(--accent-urban-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.5);
}
@media (max-width: 920px) {
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 12, 16, 0.85) 0%,
            rgba(10, 12, 16, 0.75) 40%,
            rgba(10, 12, 16, 0.85) 70%,
            rgba(10, 12, 16, 0.98) 100%
        ) !important;
    }
}


/* ==========================================================================
   INTERACTIVE ZOOM & FULLSCREEN LIGHTBOX GALLERY (MOBILE & DESKTOP HD)
   ========================================================================== */

.detail-main-img-wrap {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    touch-action: pan-y;
}

.zoom-tap-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(12, 15, 22, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    z-index: 5;
}

.detail-main-img-wrap:hover .zoom-tap-badge {
    background: rgba(12, 15, 22, 0.95);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.04);
}

/* Lightbox Modal Principal */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(4, 6, 10, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lightbox-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-dialog {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: max(16px, env(safe-area-inset-top, 16px)) 16px max(16px, env(safe-area-inset-bottom, 16px)) 16px;
    box-sizing: border-box;
}

/* Header Lightbox */
.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    padding: 6px 4px;
    width: 100%;
}

.lightbox-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: calc(100% - 60px);
}

.lightbox-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lightbox-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox-close-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-close-btn:hover, .lightbox-close-btn:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08) rotate(90deg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Escenario Central */
.lightbox-stage {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    cursor: zoom-in;
}

.lightbox-img-wrapper.is-zoomed {
    cursor: grab;
}

.lightbox-img-wrapper.is-dragging {
    cursor: grabbing;
    transition: none !important;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 72vh;
    max-height: 72dvh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85);
    pointer-events: none;
    transition: filter 0.3s ease;
}

.lightbox-hint-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 12, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0.9;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 15;
}

.lightbox-hint-badge.hidden {
    opacity: 0;
    transform: translate(-50%, 10px);
}

/* Footer & Controles */
.lightbox-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    padding: 8px 4px;
    width: 100%;
    gap: 12px;
}

.lightbox-view-switch {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-pill-btn {
    padding: 8px 16px;
    border-radius: 24px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-pill-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.lightbox-pill-btn.active {
    background: var(--primary-color);
    color: #0d0f14;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(230, 200, 117, 0.35);
}

.lightbox-pill-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.lightbox-zoom-toggle {
    display: flex;
    align-items: center;
}

.lightbox-zoom-btn {
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-zoom-btn:hover, .lightbox-zoom-btn:active {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lightbox-zoom-btn.active {
    background: rgba(230, 200, 117, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 640px) {
    .lightbox-title {
        font-size: 0.95rem;
    }
    .lightbox-pill-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
    .lightbox-zoom-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
}
/* --- Mobile Hero Cleanups & 10% OFF Badges --- */
@media (max-width: 768px) {
    .hide-on-mobile { display: none !important; }
}

.hero-badges-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-pill {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.product-price-discount-pill {
    font-size: 0.7rem;
    font-weight: 700;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.1);
    padding: 2px 6px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- VIP Gafas Toggle --- */
.main-category-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.main-cat-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.main-cat-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.main-cat-btn.vip-gafas-btn {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.main-cat-btn.vip-gafas-btn:hover {
    background: rgba(251, 191, 36, 0.1);
}
.main-cat-btn.vip-gafas-btn.active {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

#subFiltersWrapper {
    transition: var(--transition);
}
#subFiltersWrapper.hidden {
    display: none;
}
