/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a26;
    --bg-card-hover: #22222e;
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --accent-dark: #0099bb;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-muted: #6a6a80;
    --border: rgba(255, 255, 255, 0.06);
    --nav-height: 70px;
    --container-width: 1200px;
    --radius: 12px;
    --transition: 0.3s ease;
}

html {
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 150px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
                var(--bg-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagenes/hero-bg.png') center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 750px;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.accent {
    background: linear-gradient(135deg, var(--accent), #7b61ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--accent), #7b61ff);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

/* ========================================
   CATEGORY SECTIONS
   ======================================== */
.category-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.category-section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    will-change: transform;
}

.product-card {
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.2);
}

.product-card.active {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(0);
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-image video {
    transform: scale(1.25);
}

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

.product-card:hover .product-image video {
    transform: scale(1.3);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Product Detail Panel */
.product-detail {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.5s ease;
    opacity: 0;
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius);
}

.product-detail.open {
    max-height: 900px;
    opacity: 1;
    border-color: rgba(0, 212, 255, 0.15);
    padding: 0;
}

.product-detail-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 340px;
}

.detail-image-side {
    flex: 0 0 50%;
    position: relative;
    background: var(--bg-card);
    display: flex;
    overflow: hidden;
    border-radius: var(--radius) 0 0 var(--radius);
}

.detail-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
}

/* Wall rough texture */
.detail-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.45' numOctaves='6' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='3.5'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
    background-size: 300px 300px;
    opacity: 0.6;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
}

/* Subtle ambient lighting */
.detail-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 15%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.detail-image-side img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    object-fit: contain;
    z-index: 2;
    transition: opacity 0.15s ease;
}

.detail-image-side img.marco-overlay {
    z-index: 3;
    pointer-events: none;
    display: none;
    opacity: 1 !important;
    transition: none;
}

.detail-image-side img.soporte-overlay {
    z-index: 4;
    pointer-events: none;
    display: none;
    opacity: 1 !important;
    transition: none;
}

/* Detail carousel (fade through images) */
.detail-carousel-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    object-fit: contain;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.detail-carousel-img.active {
    opacity: 1;
}

/* Detail embedded video player */
.detail-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-height: 90%;
    object-fit: contain;
    z-index: 2;
    border-radius: 12px;
}

.detail-text-side {
    flex: 1;
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.detail-text-side h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.detail-text-side p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.detail-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}

.detail-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition);
}

.detail-arrow:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
}

.detail-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-close {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.detail-close:hover {
    background: rgba(255, 60, 60, 0.1);
    border-color: rgba(255, 60, 60, 0.3);
    color: #ff4444;
}

/* Product Customizer (Pantallas) */
.detail-image-side {
    flex-direction: column;
}

.detail-customizer {
    width: 100%;
    padding: 14px 20px;
    background: rgb(102 98 125 / 40%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.color-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-row-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    min-width: 110px;
}

.color-swatches {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative;
    flex-shrink: 0;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.color-swatch.picker {
    background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
    position: relative;
    overflow: hidden;
}

.color-swatch.picker input[type="color"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
}

/* ========================================
   CAROUSEL SHOWCASE (Interfaces)
   ======================================== */
.carousel-showcase {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel-image-side {
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    overflow: hidden;
    aspect-ratio: 16 / 8;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.carousel-text-side {
    padding: 32px 40px;
    text-align: center;
}

.carousel-text-side h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.carousel-text-side p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   VIDEO SHOWCASE (Diseños Exclusivos)
   ======================================== */
.video-showcase {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.video-side {
    width: 100%;
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
    aspect-ratio: 16 / 12;
}

.video-side video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.1);
    display: block;
}

.video-text-side {
    padding: 32px 40px;
    text-align: center;
}

.video-text-side h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.video-text-side p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Features */
.features-section {
    padding-top: 40px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, padding-top 0.5s ease;
    padding-top: 0;
}

.features-section.visible {
    max-height: 500px;
    opacity: 1;
    padding-top: 40px;
}

.features-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    gap: 24px;
    justify-content: center;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 50px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

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

.distributor {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.distributor strong {
    color: var(--text-primary);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.distributor a {
    color: var(--accent);
    transition: opacity var(--transition);
}

.distributor a:hover {
    opacity: 0.8;
}

.footer-logo img {
    height: 80px;
    opacity: 0.8;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.social-link:hover {
    color: var(--accent);
}

.social-link svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .product-detail-inner {
        flex-direction: column;
    }

    .detail-image-side {
        flex: 0 0 auto;
        min-height: 220px;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .detail-text-side {
        padding: 28px 24px;
    }

    .detail-text-side h4 {
        font-size: 1.2rem;
    }

    .product-detail.open {
        max-height: 1100px;
    }

    .carousel-text-side,
    .video-text-side {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 12px 14px;
        gap: 6px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .category-section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .products-grid {
        margin-bottom: 30px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    /* Product card hover disabled on touch */
    .product-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border);
    }

    .product-card.active {
        border-color: var(--accent);
        box-shadow: 0 0 20px var(--accent-glow);
    }

    .product-card:hover .product-image img,
    .product-card:hover .product-image video {
        transform: none;
    }

    .product-image video {
        transform: scale(1.25);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
        padding: calc(var(--nav-height) + 10px) 18px 50px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 28px;
        line-height: 1.6;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 14px;
    }

    /* Sections */
    .category-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    /* Product Cards — vertical single column */
    .products-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 20px;
    }

    .product-image {
        aspect-ratio: 4 / 3;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    /* Product Detail — full-screen overlay below navbar */
    .product-detail {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: auto;
        max-height: none !important;
        z-index: 999;
        border-radius: 0;
        background: var(--bg-primary);
        overflow: hidden;
        overflow-y: auto;
        transition: opacity 0.3s ease;
        margin: 0;
        padding: 0 !important;
        border: none !important;
        pointer-events: none;
    }

    .product-detail.open {
        max-height: none !important;
        padding: 0 !important;
        pointer-events: auto;
    }

    .product-detail-inner {
        flex-direction: column;
        min-height: 100%;
        width: 100%;
    }

    .detail-image-side {
        flex: none;
        height: 45vh;
        height: 45dvh;
        min-height: 0;
        width: 100%;
        border-radius: 0;
        overflow: hidden;
    }

    .detail-image-wrapper {
        min-height: 0;
        height: 100%;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .detail-image-side img {
        width: 95%;
        height: 95%;
    }

    .detail-text-side {
        padding: 16px 18px;
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }

    .detail-nav {
        order: -1;
        padding-top: 0;
        padding-bottom: 12px;
        margin-top: 0;
        justify-content: center;
        border-bottom: 1px solid var(--border);
        margin-bottom: 12px;
    }

    .detail-close {
        margin-left: 0;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .detail-text-side h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .detail-text-side p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    /* Customizer on mobile */
    .detail-customizer {
        padding: 10px 14px;
    }

    .color-row-label {
        font-size: 0.7rem;
        min-width: 80px;
    }

    .color-swatch {
        width: 22px;
        height: 22px;
    }

    /* Features — always visible, all 3 side by side with summary */
    .features-section {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
        padding-top: 16px !important;
    }

    .features-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        justify-content: center;
    }

    .feature-card {
        padding: 10px 8px;
        text-align: center;
    }

    .feature-icon {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .feature-card h4 {
        font-size: 0.68rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .feature-card p {
        font-size: 0.6rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Carousel Showcase (Interfaces) */
    .carousel-image-side {
        aspect-ratio: 16 / 10;
    }

    .carousel-text-side {
        padding: 20px 18px;
    }

    .carousel-text-side h3 {
        font-size: 1.15rem;
    }

    .carousel-text-side p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Video Showcase (Exclusivos) */
    .video-side {
        aspect-ratio: 9 / 14;
    }

    .video-side video {
        object-fit: cover;
        transform: none;
    }

    .video-text-side {
        padding: 20px 18px;
    }

    .video-text-side h3 {
        font-size: 1.15rem;
    }

    .video-text-side p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Navbar — always-visible scrollable row instead of dropdown */
    .navbar {
        height: auto;
    }

    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 12px;
    }

    .nav-logo {
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-logo img {
        height: 100px;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-links {
        /* Override the 768px dropdown styles */
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        background: none !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
        /* Scrollable row */
        width: 100%;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0 8px 0;
        gap: 2px;
        border-top: 1px solid var(--border);
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: rgba(10, 10, 15, 0.95);
        padding-right: 4px;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 6px 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Footer */
    .footer {
        padding: 30px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-right {
        flex: none;
        width: 100%;
    }

    .footer-distributors {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .distributor {
        font-size: 0.75rem;
    }

    .distributor strong {
        font-size: 0.8rem;
    }
}
