/* ===== CSS Variables & Theming ===== */
:root {
    /* Light Mode */
    --color-bg: #fafafa;
    --color-bg-alt: #ffffff;
    --color-surface: #ffffff;
    --color-surface-hover: #f5f5f7;
    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-text-muted: #86868b;
    --color-border: rgba(0, 0, 0, 0.06);
    --color-border-strong: rgba(0, 0, 0, 0.1);

    /* Brand */
    --color-primary: #1a1a1a;
    --color-primary-hover: #333333;
    --color-accent: #0071e3;

    /* Social */
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;
    --color-instagram: #E4405F;
    --color-facebook: #1877F2;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-theme: 0.35s ease;
}

/* Dark Mode */
[data-theme="dark"] {
    --color-bg: #000000;
    --color-bg-alt: #0a0a0a;
    --color-surface: #141414;
    --color-surface-hover: #1f1f1f;
    --color-text: #f5f5f7;
    --color-text-secondary: #a1a1a6;
    --color-text-muted: #6e6e73;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.12);
    --color-primary: #ffffff;
    --color-primary-hover: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background var(--transition-theme), color var(--transition-theme);
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
        max-width: 1600px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1800px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-theme);
}

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, 0.85);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--color-text);
    color: var(--color-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-cta {
    padding: 10px 22px;
    background: var(--color-text);
    color: var(--color-bg) !important;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--color-primary-hover);
}

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

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-strong);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: var(--color-whatsapp-dark);
    transform: translateY(-2px);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(228, 64, 95, 0.3);
}

.btn-facebook {
    background: var(--color-facebook);
    color: white;
}

.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ===== Section Styles ===== */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

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

.section-header .section-description {
    margin: 0 auto;
}

/* ===== Floating Items ===== */
.has-floating-items {
    position: relative;
}

.floating-items-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-items-wrapper {
    position: absolute;
    inset: 0;
}

.floating-item {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    opacity: 0.15;
    transition: opacity var(--transition-slow);
    will-change: transform;
}

.floating-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Depth layers */
.floating-item.layer-0 {
    opacity: 0.2;
    width: 100px;
    height: 100px;
    filter: blur(0px);
}

.floating-item.layer-1 {
    opacity: 0.12;
    width: 70px;
    height: 70px;
    filter: blur(1px);
}

.floating-item.layer-2 {
    opacity: 0.08;
    width: 50px;
    height: 50px;
    filter: blur(2px);
}

/* Dark mode adjustments */
[data-theme="dark"] .floating-item {
    opacity: 0.1;
}

[data-theme="dark"] .floating-item.layer-0 {
    opacity: 0.15;
}

/* Contact section floating items (inverted colors) */
.contact .floating-item {
    filter: brightness(2) saturate(0.5);
    opacity: 0.1;
}

.contact .floating-item.layer-0 {
    opacity: 0.15;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 113, 227, 0.03) 0%, transparent 70%);
    transition: background var(--transition-theme);
}

[data-theme="dark"] .hero-bg {
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
}

.title-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Products Grid ===== */
.products {
    padding: 120px 0;
    background: var(--color-bg-alt);
    transition: background var(--transition-theme);
}

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

.product-card {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-border-strong);
}

.product-card-image {
    aspect-ratio: 1;
    padding: 24px;
    background: var(--color-bg);
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform var(--transition-slow);
}

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

.product-card-content {
    padding: 20px 24px 24px;
    text-align: center;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ===== Customizer ===== */
.customize {
    padding: 120px 0;
    background: var(--color-bg);
    transition: background var(--transition-theme);
}

.customizer {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.customizer-sidebar {
    padding: 32px;
    background: var(--color-bg-alt);
    border-right: 1px solid var(--color-border);
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.product-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-select-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-align: left;
    transition: all var(--transition-fast);
}

.product-select-btn:hover {
    border-color: var(--color-border-strong);
    color: var(--color-text);
}

.product-select-btn.active {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.product-select-btn img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 36px 20px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.upload-area:hover {
    border-color: var(--color-accent);
    background: rgba(0, 113, 227, 0.03);
}

.upload-area svg {
    width: 28px;
    height: 28px;
    color: var(--color-text-muted);
}

.upload-area span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.upload-area small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.control-group {
    margin-bottom: 16px;
}

.control-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

.control-group input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--color-border);
    appearance: none;
    cursor: pointer;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-text);
    cursor: pointer;
}

.control-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--color-surface);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.control-btn:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.control-btn svg {
    width: 16px;
    height: 16px;
}

.control-btn.danger {
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

.control-btn.danger:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
}

/* Default Design Preview */
.default-design {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.default-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    background: linear-gradient(135deg, var(--color-accent) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.preview-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 12px;
}

.customizer-preview {
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
}

.preview-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-mockup {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.design-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: move;
    user-select: none;
    display: none;
    pointer-events: auto;
}

.design-layer img {
    max-width: 120px;
    max-height: 120px;
    pointer-events: none;
}

.preview-actions {
    margin-top: 32px;
}

/* ===== Features ===== */
.why {
    padding: 120px 0;
    background: var(--color-bg-alt);
    transition: background var(--transition-theme);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--color-surface);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    padding: 14px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-text);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===== Gallery ===== */
.gallery {
    padding: 120px 0;
    background: var(--color-bg);
    transition: background var(--transition-theme);
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.gallery-zoom {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-fast);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.gallery-zoom svg {
    width: 20px;
    height: 20px;
    color: var(--color-text);
}

/* Gallery Placeholder */
.gallery-placeholder {
    background: var(--color-surface);
    border: 2px dashed var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.gallery-placeholder:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--color-border-strong);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
}

.placeholder-content svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.placeholder-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Contact ===== */
.contact {
    padding: 120px 0;
    background: var(--color-text);
    color: var(--color-bg);
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.contact-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.contact-text {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
}

.contact-note {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 40px;
    transition: all var(--transition-theme);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-bg);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.lightbox.active #lightbox-img {
    transform: scale(1);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .customizer {
        grid-template-columns: 1fr;
    }

    .customizer-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .product-selector {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .product-select-btn {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 24px 80px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .product-card-image {
        padding: 16px;
    }

    .customizer-sidebar {
        padding: 24px;
    }

    .customizer-preview {
        padding: 32px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .products,
    .customize,
    .why,
    .gallery,
    .contact {
        padding: 80px 0;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}