/* Mono E-Commerce Style System — 2026 Liquid Glass & Apple Aesthetics */

:root {
    /* Fonts */
    --font-title: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;

    /* Theme Colors */
    --bg-main: #060608;
    --bg-secondary: #0d0d12;
    --bg-glass: rgba(255, 255, 255, 0.025);
    --bg-glass-card: rgba(255, 255, 255, 0.035);
    --bg-glass-nav: rgba(6, 6, 8, 0.75);
    --bg-glass-modal: rgba(10, 10, 15, 0.8);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-muted: #515154;
    
    /* Accents */
    --accent-blue: #0071e3;
    --accent-blue-rgb: 0, 113, 227;
    --accent-green: #30d158;
    --accent-gold: #e5c158;
    --accent-pink: #ff375f;
    --accent-purple: #bf5af2;
    
    /* Shadow / Glow effects */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-blue: 0 0 20px rgba(0, 113, 227, 0.15);
    --glow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    
    /* Layout */
    --nav-height: 72px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Interactive Liquid Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cursor-color, rgba(0, 113, 227, 0.1)) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    mix-blend-mode: screen;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease;
}

/* Liquid Blob Background */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0d0d14 0%, #060608 100%);
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.blob-1 {
    background: radial-gradient(circle, var(--accent-blue) 0%, rgba(var(--accent-blue-rgb), 0) 70%);
    top: -200px;
    left: -100px;
    animation: floatBlob1 25s infinite alternate ease-in-out;
}

.blob-2 {
    background: radial-gradient(circle, var(--accent-purple) 0%, rgba(191, 90, 242, 0) 70%);
    bottom: -200px;
    right: -100px;
    animation: floatBlob2 30s infinite alternate ease-in-out;
}

.blob-3 {
    background: radial-gradient(circle, var(--accent-pink) 0%, rgba(255, 55, 95, 0) 70%);
    top: 40%;
    left: 50%;
    width: 500px;
    height: 500px;
    animation: floatBlob3 20s infinite alternate ease-in-out;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.2); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-200px, -150px) scale(0.9); }
}

@keyframes floatBlob3 {
    0% { transform: translate(-50px, -50px) scale(0.95); }
    100% { transform: translate(100px, 50px) scale(1.15); }
}

/* Glassmorphism Card Utility */
.glass-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-glass), var(--glow-card);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
}

/* Header & Glass Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--bg-glass-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 100;
    transition: var(--transition-smooth);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

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

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-blue);
}

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

/* Header Search Box */
.search-box {
    position: relative;
    width: 240px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    transition: var(--transition-smooth);
}

.search-box:focus-within {
    width: 280px;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: var(--glow-blue);
}

.search-icon {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    margin-right: 8px;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
    width: 100%;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* Header Cart Button */
.cart-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.cart-btn:hover {
    border-color: var(--border-glass-hover);
    background: rgba(255, 255, 255, 0.08);
}

.cart-icon {
    width: 18px;
    height: 18px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 0 10px rgba(0, 113, 227, 0.6);
    border: 2px solid var(--bg-main);
}

/* Main Content Area */
.main-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 32px) 24px 64px 24px;
    position: relative;
    z-index: 10;
}

/* Page Section Animations */
.page-section {
    display: none;
    animation: fadeInSection 0.5s ease forwards;
}

.page-section.active {
    display: block;
}

@keyframes fadeInSection {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Title */
.section-title {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 30%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Carousel */
.hero-slider-container {
    position: relative;
    height: 480px;
    width: 100%;
    margin-bottom: 48px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    flex: 1.2;
    max-width: 500px;
    z-index: 5;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    margin-bottom: 18px;
}

.slide-title {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 20%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-blue);
    border: none;
    color: #fff;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.4);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.6);
    background: #0077ed;
}

.slide-image-container {
    flex: 1;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.9) translateX(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.slide.active .slide-image-container {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.slide-image {
    max-width: 116%;
    max-height: 112%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
}

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

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 24px;
    background: var(--accent-blue);
    border-radius: 4px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 10;
    transition: var(--transition-smooth);
    opacity: 0;
}

.hero-slider-container:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* Category Pills */
.category-pills {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.pill:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: var(--border-glass-hover);
}

.pill.active {
    background: var(--text-primary);
    color: var(--bg-main);
    border-color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Products Layout & Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.glass-select {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.glass-select:hover {
    border-color: var(--border-glass-hover);
}

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

/* Product Card - Interactive Liquid Glass */
.product-card {
    position: relative;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-glass), var(--glow-card);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s ease;
}

.product-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Reflection / Glare layer on glass card */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 5;
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--accent-blue);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-card-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    border-radius: var(--border-radius-md);
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.32));
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 116%;
    max-height: 112%;
    object-fit: contain;
    opacity: 1;
    visibility: visible;
    -webkit-transform: none;
    transform: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-title);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.3;
}

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

.product-meta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    transform: translateZ(20px);
}

.product-price {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.buy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.buy-btn:hover {
    background: var(--text-primary);
    color: var(--bg-main);
    border-color: var(--text-primary);
    transform: scale(1.05);
}

/* Modals General Layer */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-modal-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    z-index: 10;
}

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

/* Product Detail Modal Specifics */
.product-modal-container {
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-glass-modal);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    overflow-y: auto;
    position: relative;
    transform: scale(0.98) translateY(8px);
    transition: transform 0.18s ease;
    will-change: transform;
}

.modal-overlay.active .product-modal-container {
    transform: scale(1) translateY(0);
}

.modal-body-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 40px;
}

.modal-gallery-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 560px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.gallery-main-img {
    width: min(132%, 560px);
    max-width: 132%;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    margin: auto 0 34px;
    transform: scale(1.22);
    transition: transform 0.18s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.thumb-img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-glass);
    padding: 6px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    object-fit: contain;
    transition: border-color 0.14s ease, background 0.14s ease;
}

.thumb-img:hover, .thumb-img.active {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.06);
}

/* Modal Specs side */
.modal-info-area {
    display: flex;
    flex-direction: column;
}

.modal-brand {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.modal-price {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.country-note {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 24px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.3;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.option-group {
    margin-bottom: 20px;
}

.option-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.option-selectors {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Swatches styling */
.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-main);
    box-shadow: 0 0 0 1px var(--border-glass);
    cursor: pointer;
    transition: box-shadow 0.12s ease, transform 0.12s ease;
    position: relative;
}

.color-swatch.active {
    box-shadow: 0 0 0 2px var(--accent-blue);
}

.size-pill {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.size-pill:hover {
    border-color: var(--border-glass-hover);
    background: rgba(255, 255, 255, 0.05);
}

.size-pill.active {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--bg-main);
    font-weight: 600;
}

/* Specs table */
.specs-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
    font-size: 13px;
}

.specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table td {
    padding: 8px 0;
}

.specs-table td.label {
    color: var(--text-secondary);
    width: 40%;
}

.specs-table td.value {
    color: var(--text-primary);
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.glass-btn {
    background: var(--accent-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    transition: var(--transition-smooth);
}

.glass-btn:hover {
    background: #0077ed;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.5);
    transform: translateY(-2px);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    box-shadow: none;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glass-hover);
    box-shadow: none;
}

/* Sidebar Drawer - Cart Overlay */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 440px;
    height: 100%;
    background: var(--bg-glass-modal);
    border-left: 1px solid var(--border-glass);
    border-radius: 0;
    border-top-left-radius: var(--border-radius-lg);
    border-bottom-left-radius: var(--border-radius-lg);
    box-shadow: -10px 0 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.active .cart-drawer {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-header .header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-drawer-header .header-title h2 {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-cart-btn:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

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

/* Empty Cart State */
.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    text-align: center;
    gap: 16px;
}

.empty-cart-state i {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

/* Cart Item Card */
.cart-item {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    position: relative;
    transition: var(--transition-smooth);
}

.cart-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius-sm);
    padding: 4px;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.cart-item-variant {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.cart-item-price {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 6px;
}

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

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.qty-val {
    font-size: 12px;
    font-weight: 600;
    width: 24px;
    text-align: center;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.remove-item-btn:hover {
    color: var(--accent-pink);
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.15);
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.price-row.highlight {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
}

/* Checkout Page Overlay */
.checkout-container {
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    background: var(--bg-glass-modal);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .checkout-container {
    transform: scale(1) translateY(0);
}

.checkout-title {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section h3 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--accent-blue);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

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

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

.glass-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.glass-input:focus {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--glow-blue);
}

/* Delivery Cards Selection */
.delivery-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.delivery-card {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    position: relative;
    border-color: var(--border-glass);
}

.delivery-card input[type="radio"] {
    margin-right: 16px;
    accent-color: var(--accent-blue);
}

.delivery-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.delivery-name {
    font-weight: 600;
    font-size: 14px;
}

.delivery-desc {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.delivery-price {
    font-size: 13px;
    font-weight: 600;
}

.delivery-card.active {
    border-color: var(--accent-blue);
    background: rgba(0, 113, 227, 0.05);
}

/* Payment Radio Grid */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    border-color: var(--border-glass);
}

.payment-card input[type="radio"] {
    display: none;
}

.payment-card i {
    color: var(--text-secondary);
    width: 20px;
    height: 20px;
}

.payment-card span {
    font-size: 13px;
    font-weight: 500;
}

.payment-card.active {
    border-color: var(--accent-blue);
    background: rgba(0, 113, 227, 0.05);
}

.payment-card.active i {
    color: var(--accent-blue);
}

/* Checkout Summary Side panel */
.checkout-summary {
    height: fit-content;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
}

.checkout-summary h3 {
    font-family: var(--font-title);
    font-size: 18px;
    margin-bottom: 16px;
}

.summary-items {
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-right: 8px;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.summary-item-name {
    color: var(--text-primary);
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-item-price {
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 16px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.summary-row.total {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.place-order-btn {
    width: 100%;
    margin-top: 24px;
}

/* Order Success Modal styling */
.success-card {
    width: 90%;
    max-width: 600px;
    background: var(--bg-glass-modal);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .success-card {
    transform: scale(1) translateY(0);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(48, 209, 88, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    border: 1px solid rgba(48, 209, 88, 0.2);
}

.success-icon {
    width: 44px;
    height: 44px;
    color: var(--accent-green);
}

.animate-success {
    animation: scaleCheck 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleCheck {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-card h2 {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-msg {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.order-receipt {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-sm);
    margin-bottom: 32px;
    text-align: left;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.receipt-title {
    font-weight: 600;
}

.receipt-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
}

.receipt-item-name {
    color: var(--text-primary);
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
    color: var(--text-primary);
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-success-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0088cc;
    color: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
    transition: var(--transition-smooth);
}

.tg-success-btn:hover {
    background: #0099e0;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
    transform: translateY(-2px);
}

/* About Us Section Elements */
.about-container {
    padding: 60px 40px;
}

.about-hero {
    text-align: center;
    margin-bottom: 48px;
}

.about-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 24px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.about-hero h1 {
    font-family: var(--font-title);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 8px;
}

.about-hero .subtitle {
    color: var(--accent-blue);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.about-card {
    padding: 32px 24px;
    text-align: center;
}

.about-icon {
    width: 36px;
    height: 36px;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-info-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-info-text h2 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-info-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-color: var(--border-glass);
}

.tg-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.tg-btn i {
    color: #0088cc;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .modal-body-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .slide {
        padding: 0 40px;
    }
    
    .slide-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 120;
        display: flex;
        justify-content: space-around;
        gap: 8px;
        padding: 10px;
        background: rgba(10, 10, 15, 0.88);
        border: 1px solid var(--border-glass);
        border-radius: var(--border-radius-md);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: var(--shadow-glass);
    }

    .nav-link {
        flex: 1;
        text-align: center;
        padding: 10px 8px;
        border-radius: 10px;
    }

    .nav-link.active {
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-link.active::after {
        display: none;
    }

    .main-content {
        padding-bottom: 112px;
    }
    
    .search-box {
        width: 140px;
    }
    
    .search-box:focus-within {
        width: 180px;
    }
    
    .slide {
        flex-direction: column-reverse;
        justify-content: center;
        padding: 40px 24px;
        text-align: center;
    }
    
    .slide-image-container {
        height: 46%;
        margin-bottom: 24px;
    }
    
    .slide-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .hero-slider-container {
        height: 470px;
    }

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

    .product-card {
        padding: 18px;
    }

    .product-card-image {
        height: 280px;
    }

    .product-card-image img {
        max-width: 122%;
        max-height: 118%;
    }
    
    .cart-drawer {
        width: 100%;
        border-radius: 0;
    }
    
    .checkout-container {
        padding: 24px;
    }

    .product-modal-container {
        padding: 24px;
    }

    .modal-gallery-area {
        min-height: 420px;
        padding: 18px;
    }

    .gallery-main-img {
        width: min(136%, 440px);
        max-height: 330px;
        transform: scale(1.14);
        margin-bottom: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

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

    .logo-subtitle {
        display: none;
    }

    .nav-actions {
        gap: 10px;
    }

    .search-box {
        width: 118px;
        padding: 0 12px;
    }

    .search-box:focus-within {
        width: 145px;
    }
}

/* Mono Experience Showroom Styles */
.showroom-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.showroom-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    margin-bottom: 40px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.showroom-item.alternate {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.showroom-item.alternate > * {
    direction: ltr;
}

.showroom-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showroom-badge {
    align-self: flex-start;
    padding: 6px 12px;
    background: rgba(0, 113, 227, 0.15);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.showroom-title {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 30%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showroom-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.showroom-specs-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0;
}

.feature-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 14px;
}

.feature-bullet i {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}

.showroom-media {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 420px;
}

.showroom-media img {
    max-width: 108%;
    max-height: 108%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
}

/* Micro animations */
.showroom-img-bounce {
    animation: showroomBounce 6s ease-in-out infinite;
}

.showroom-img-float {
    animation: showroomFloat 5s ease-in-out infinite;
}

.showroom-img-mac {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.showroom-img-large {
    width: min(560px, 112%);
}

.airpods-pro-showroom {
    width: min(620px, 118%);
    animation: showroomBounce 6s ease-in-out infinite;
}
.showroom-item:hover .showroom-img-mac {
    transform: scale(1.03) rotate(-1deg);
}

@keyframes showroomBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

@keyframes showroomFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

/* Interactive Sound Simulator */
.audio-simulator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    padding: 16px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: var(--border-radius-md);
}

.sim-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.sim-blue {
    color: var(--accent-blue);
}

.sim-green {
    color: var(--accent-green);
    text-shadow: 0 0 8px rgba(48, 209, 88, 0.4);
}

.wave-container {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 0 10px;
}

.wave-line {
    width: 4px;
    height: 100%;
    background: var(--accent-blue);
    border-radius: 4px;
    animation: waveMotion 1.2s ease-in-out infinite;
    transform-origin: center;
}

.wave-line:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.wave-line:nth-child(2) { height: 75%; animation-delay: 0.3s; }
.wave-line:nth-child(3) { height: 50%; animation-delay: 0.5s; }
.wave-line:nth-child(4) { height: 90%; animation-delay: 0.2s; }
.wave-line:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.wave-line:nth-child(6) { height: 80%; animation-delay: 0.6s; }
.wave-line:nth-child(7) { height: 35%; animation-delay: 0.15s; }

@keyframes waveMotion {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

.sim-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    transition: transform 0.15s ease;
}
.sim-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.sim-help-text {
    font-size: 9px;
    color: var(--text-muted);
    text-align: center;
}

/* MacBook Chip Explorer */
.mac-chip-explorer {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.explorer-title {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.chip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.chip-block {
    padding: 12px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}

.chip-block:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.chip-block.active {
    background: rgba(0, 113, 227, 0.1);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 113, 227, 0.2);
}

.chip-block-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.chip-block-val {
    font-size: 10px;
    color: var(--text-secondary);
}

.chip-desc {
    padding: 14px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.2);
    min-height: 54px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Showroom Responsive */
@media (max-width: 992px) {
    .showroom-item, .showroom-item.alternate {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
        direction: ltr;
    }
    .showroom-item.alternate > * {
        direction: ltr;
    }
    .showroom-media {
        height: 330px;
    }
}

/* Apple Cinema Intro Video Section */
.cinema-video-section {
    max-width: 1200px;
    margin: 40px auto 20px auto;
    padding: 0 24px;
}

.video-banner {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    background: #000;
}

.banner-iframe, .banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.35); /* Hide borders/controls */
    pointer-events: none;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6, 6, 8, 0.95) 0%, rgba(6, 6, 8, 0.5) 50%, rgba(6, 6, 8, 0.15) 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    box-sizing: border-box;
}

.video-badge {
    align-self: flex-start;
    padding: 6px 12px;
    background: rgba(255, 55, 95, 0.15);
    color: var(--accent-pink);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.video-title {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.video-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.5;
}

.airpods-single-showroom {
    width: min(94%, 560px);
    max-height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.42));
    animation: airpodsShowroomFloat 5.8s ease-in-out infinite;
}

@keyframes airpodsShowroomFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
    50% { transform: translateY(-12px) rotate(1deg) scale(1.035); }
}

@media (max-width: 768px) {
    .video-banner {
        height: 320px;
    }
    .video-overlay-text {
        padding: 30px;
        background: linear-gradient(to top, rgba(6, 6, 8, 0.95) 0%, rgba(6, 6, 8, 0.6) 100%);
        justify-content: flex-end;
    }
    .video-title {
        font-size: 28px;
    }
    .video-subtitle {
        font-size: 13px;
    }
    .banner-iframe, .banner-video {
        transform: translate(-50%, -50%) scale(1.8);
    }
}
