/* 
   Sound Things - Design System & Stylesheet
   Theme: High-End Film/Audio Equipment (Ultra-Premium Dark Glassmorphism)
*/

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

:root {
    --bg-dark: #060911;
    --bg-deep: #03050a;
    --bg-panel: rgba(13, 19, 33, 0.7);
    --bg-panel-hover: rgba(20, 29, 48, 0.85);
    --bg-input: rgba(8, 12, 21, 0.9);
    
    --primary: #00f2fe;
    --secondary: #4facfe;
    --primary-glow: rgba(0, 242, 254, 0.15);
    --primary-glow-strong: rgba(0, 242, 254, 0.35);
    
    --accent-coral: #ff3366;
    --accent-gold: #ffd200;
    --accent-success: #10b981;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-active: rgba(0, 242, 254, 0.5);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-main: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

/* Cosmic Ambient Background Glows */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.07) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

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

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

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

/* Buttons Utilities */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg-deep);
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--primary-glow-strong);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-weight: 500;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 170px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(6, 9, 17, 0.7);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    height: 130px;
    background: rgba(3, 5, 10, 0.85);
    box-shadow: var(--shadow-main);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.03em;
}

.logo-img {
    height: 144px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-fast);
}

.navbar.scrolled .logo-img {
    height: 112px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-fast);
    border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cart-trigger {
    position: relative;
    padding: 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-trigger:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.cart-trigger svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-main);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-coral);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
    animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding: 230px 5% 60px 5%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-tag span {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    display: inline-block;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-sphere {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(79, 172, 254, 0.02) 60%, rgba(0, 0, 0, 0) 100%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
}

.hero-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-main);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 420px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: rotate(2deg);
    transition: var(--transition-medium);
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-8px);
    border-color: var(--border-active);
    box-shadow: 0 30px 60px rgba(0, 242, 254, 0.15);
}

.hero-card-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 1.2rem;
    position: relative;
}

.hero-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.hero-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(6, 9, 17, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.hero-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-card-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-card-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

/* Products Section */
.products-section {
    padding: 100px 5%;
    position: relative;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-main), var(--shadow-inset);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-active);
    box-shadow: 0 25px 50px -15px rgba(0, 242, 254, 0.2);
}

.product-card-img-wrap {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.product-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--accent-coral) 0%, #ff007f 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.3);
}

.product-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    transition: var(--transition-fast);
}

.product-card:hover .product-card-title {
    color: var(--primary);
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-weight: 300;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    margin-top: auto;
}

.product-card-price {
    font-size: 1.4rem;
    font-weight: 800;
}

.btn-card-add {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.product-card:hover .btn-card-add {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg-deep);
    border-color: transparent;
}

.btn-card-add svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: var(--transition-fast);
}



/* Sliding Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 10, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: rgba(13, 20, 35, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border);
    z-index: 201;
    box-shadow: -15px 0 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transition: right var(--transition-medium);
}

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

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

.cart-title {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-close-drawer {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}

.btn-close-drawer:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Custom Scrollbar for Drawer */
.cart-items-container::-webkit-scrollbar, .product-modal-body::-webkit-scrollbar {
    width: 6px;
}
.cart-items-container::-webkit-scrollbar-thumb, .product-modal-body::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: var(--radius-full);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.8rem;
    position: relative;
    transition: var(--transition-fast);
}

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

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.cart-item-option {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-qty {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

.cart-item-qty-val {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 15px;
    text-align: center;
}

.cart-item-price-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.btn-remove-item {
    color: var(--text-dim);
    transition: var(--transition-fast);
    padding: 2px;
}

.btn-remove-item:hover {
    color: var(--accent-coral);
    transform: scale(1.1);
}

.cart-item-price {
    font-weight: 700;
    font-size: 0.95rem;
}

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

.cart-empty-icon {
    width: 60px;
    height: 60px;
    stroke: var(--text-dim);
    margin-bottom: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(6, 9, 17, 0.9);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.cart-summary-row.total {
    margin-top: 0.8rem;
    border-top: 1px solid var(--border);
    padding-top: 0.8rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.cart-vat-note {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: -0.4rem;
    margin-bottom: 1.2rem;
    text-align: right;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-full);
}

/* Modals General Style (Product Details & Checkout Form) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 10, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-container {
    background: rgba(13, 20, 35, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(10px);
    transition: transform var(--transition-medium);
}

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

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 9, 17, 0.8);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.btn-close-modal:hover {
    background: var(--accent-coral);
    border-color: transparent;
    color: white;
    transform: rotate(90deg);
}

/* Product Detail Modal Body */
.product-modal-body {
    padding: 3rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}

/* Product Media Layout (Tabs: Gallery/Video) */
.product-media-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.product-media-viewport {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.3);
    position: relative;
}

.product-media-viewport img, .product-media-viewport video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-media-viewport video {
    background: #000;
}

.media-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(3, 5, 10, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.media-selector-tabs {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 5px;
}

.media-tab {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: rgba(0,0,0,0.2);
    transition: var(--transition-fast);
    flex-shrink: 0;
    position: relative;
}

.media-tab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-tab.video-tab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-tab.video-tab::before {
    content: '▶';
    position: absolute;
    font-size: 1.1rem;
    color: white;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.media-tab.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Product Specs/Details Layout */
.product-details-wrap {
    display: flex;
    flex-direction: column;
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.product-detail-price span {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 400;
}

.product-detail-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.product-detail-features {
    list-style: none;
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.product-detail-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    padding-left: 24px;
}

.product-detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 900;
}

.product-disclaimer {
    background: rgba(255, 51, 102, 0.06);
    border: 1px solid rgba(255, 51, 102, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    color: #ff527b;
    margin-bottom: 1.8rem;
    line-height: 1.4;
    font-weight: 500;
}

.options-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.color-option-container {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.color-swatch {
    border: 2px solid transparent;
    padding: 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(255,255,255,0.02);
}

.color-swatch-circle {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

/* Colors specifically mapped */
.color-swatch-circle.black,
.color-swatch-circle.matte-black { background-color: #121212; border: 1px solid #333; }
.color-swatch-circle.chalk-white { background-color: #e5e5e5; border: 1px solid #ccc; }
.color-swatch-circle.neon-cyan { background-color: #00f2fe; }
.color-swatch-circle.acoustic-blue { background-color: #0d47a1; }
.color-swatch-circle.carbon-fiber-black {
    background: linear-gradient(45deg, #151515 25%, #222 25%, #222 50%, #151515 50%, #151515 75%, #222 75%, #222 100%);
    background-size: 6px 6px;
    border: 1px solid #333;
}

.color-swatch.active {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.05);
}

.color-swatch:hover:not(.active) {
    border-color: var(--border-hover);
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: auto;
}

.detail-actions .btn-primary {
    padding: 1rem;
    font-size: 1.1rem;
}

/* Checkout Form Modal */
.checkout-modal-container {
    max-width: 600px;
}

.checkout-header {
    padding: 1.8rem 2.2rem 1rem 2.2rem;
    border-bottom: 1px solid var(--border);
}

.checkout-title {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.checkout-body {
    padding: 2.2rem;
    overflow-y: auto;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.form-input {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.checkout-bill-preview {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin-top: 0.5rem;
}

.bill-preview-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.bill-preview-items {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.bill-preview-item {
    display: flex;
    justify-content: space-between;
}

.bill-preview-total {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
}

.checkout-notice {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--accent-gold);
    display: flex;
    gap: 0.6rem;
    background: rgba(255, 210, 0, 0.04);
    border: 1px solid rgba(255, 210, 0, 0.15);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

.checkout-notice svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.btn-confirm-order {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* Footer Section */
.footer {
    background-color: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 5rem 5% 2rem 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
}

.footer-brand h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
    font-weight: 300;
}

.footer-links h5 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.toast {
    background: rgba(13, 20, 35, 0.9);
    border: 1px solid var(--border-active);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    padding: 0.9rem 1.3rem;
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: toastSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.toast-remove {
    border-color: rgba(255, 51, 102, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 51, 102, 0.1);
}

.toast-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.toast-success-icon { color: var(--accent-success); }
.toast-remove-icon { color: var(--accent-coral); }

@keyframes toastSlideIn {
    0% { transform: translateY(50px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.toast.toast-fade-out {
    animation: toastFadeOut 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes toastFadeOut {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-20px) scale(0.9); opacity: 0; }
}

/* Responsiveness adjustments */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 120px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-desc {
        max-width: 100%;
    }
    .hero-visual {
        order: -1;
    }
    .hero-card {
        transform: none;
        max-width: 360px;
    }
    .product-modal-body {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    .product-media-viewport {
        height: 300px;
    }

}

.how-to-order-page {
    padding: 220px 5% 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .navbar {
        height: 120px;
        padding: 0 1.5rem;
    }
    .navbar.scrolled {
        height: 95px;
    }
    .logo-img {
        height: 90px;
    }
    .navbar.scrolled .logo-img {
        height: 70px;
    }
    .hero {
        padding-top: 160px;
    }
    .how-to-order-page {
        padding-top: 160px;
    }
    .nav-links {
        display: none; /* Can add hamburger menu, but for simple app single page scroll works immediately */
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .section-title {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .checkout-body {
        padding: 1.5rem;
    }
}
