/* ========================================
   XINZEK - Dark Tech E-commerce Style
   ======================================== */

/* CSS Variables - Color System */
:root {
    /* Surface Levels */
    --canvas: #0d0d0d;
    --surface-1: #161616;
    --surface-2: #1e1e1e;
    --surface-3: #2a2a2a;
    --border: #333333;
    
    /* Text Colors */
    --text-primary: #f5f5f5;
    --text-secondary: #999999;
    --text-tertiary: #666666;
    --text-placeholder: #444444;
    
    /* CTA Colors */
    --cta-bg: #e8e8e8;
    --cta-text: #1a1a1a;
    --accent: #e8e8e8;
    
    /* Shadows */
    --shadow-card: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-card-press: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-drawer: -4px 0 24px rgba(0,0,0,0.5);
    
    /* Spacing */
    --nav-height: 64px;
    --max-width: 1400px;
    --content-width: 1200px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease-out;
    --transition-slow: 400ms ease;
    --transition-drawer: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h1 { font-size: 64px; line-height: 1.05; }
h2 { font-size: 48px; line-height: 1.1; }
h3 { font-size: 32px; line-height: 1.2; }
h4 { font-size: 24px; line-height: 1.25; }
h5 { font-size: 18px; line-height: 1.3; }

p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--text-primary);
}

/* Focus States - Accessibility */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.98);
    border-bottom-color: var(--border);
}

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

.navbar-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.navbar-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition-normal);
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    transition: transform var(--transition-fast);
}

.cart-btn:hover {
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: var(--surface-3);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.cart-badge.bounce {
    animation: badgeBounce 300ms ease;
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
}

/* ========================================
   Hero Carousel
   ======================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    background: var(--surface-2);
    margin-top: var(--nav-height);
    overflow: hidden;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 600ms ease, transform 600ms ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.02);
    pointer-events: auto;
}

.carousel-content {
    flex: 0 0 40%;
    padding: 0 80px;
    z-index: 2;
}

.carousel-series-label {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.carousel-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.05;
    margin-bottom: 16px;
}

.carousel-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 400px;
}

.carousel-image {
    flex: 0 0 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Controls */
.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
    z-index: 10;
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    pointer-events: auto;
    transition: background var(--transition-normal), transform var(--transition-normal);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

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

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-placeholder);
    border: none;
    cursor: pointer;
    transition: background var(--transition-normal), transform var(--transition-normal);
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ========================================
   Chip Filter Bar
   ======================================== */
.chip-bar {
    position: sticky;
    top: var(--nav-height);
    background: var(--canvas);
    border-bottom: 1px solid var(--surface-2);
    padding: 16px 0;
    z-index: 100;
}

.chip-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chip-bar-inner::-webkit-scrollbar {
    display: none;
}

.chip {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 400;
    color: #888888;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.chip:hover {
    border-color: #555555;
    color: #cccccc;
}

.chip.active {
    background: var(--surface-3);
    color: var(--text-primary);
    border-color: var(--text-placeholder);
}

/* ========================================
   Product Grid
   ======================================== */
.section {
    padding: 80px 0;
}

.section-header {
    max-width: var(--content-width);
    margin: 0 auto 48px;
    padding: 0 24px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.product-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Card */
.product-card {
    background: var(--surface-1);
    border-radius: 12px;
    border: 1px solid var(--surface-2);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 500ms ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0ms; }
.product-card:nth-child(2) { animation-delay: 80ms; }
.product-card:nth-child(3) { animation-delay: 160ms; }
.product-card:nth-child(4) { animation-delay: 240ms; }
.product-card:nth-child(5) { animation-delay: 320ms; }
.product-card:nth-child(6) { animation-delay: 400ms; }
.product-card:nth-child(7) { animation-delay: 480ms; }
.product-card:nth-child(8) { animation-delay: 560ms; }

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

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.product-card:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-card-press);
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--surface-2);
}

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

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

.product-card-quick-add {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-3);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition-normal), transform var(--transition-normal), background var(--transition-fast);
}

.product-card:hover .product-card-quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-card-quick-add:hover {
    background: var(--border);
}

.product-card-info {
    padding: 20px;
}

.product-card-category {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.product-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 500;
    color: var(--accent);
}

/* ========================================
   Series Section
   ======================================== */
.series-section {
    background: var(--surface-2);
    padding: 80px 0;
}

.series-header {
    max-width: var(--content-width);
    margin: 0 auto 32px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.series-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
}

.series-view-all {
    font-size: 14px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-normal);
}

.series-view-all:hover {
    gap: 8px;
}

.series-scroll {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.series-scroll::-webkit-scrollbar {
    height: 4px;
}

.series-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.series-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.series-card {
    flex: 0 0 280px;
    background: var(--surface-1);
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.series-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--surface-2);
}

.series-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.series-card-info {
    padding: 20px;
}

.series-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.series-card-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   Brand Story Section
   ======================================== */
.brand-story {
    background: var(--surface-1);
    padding: 120px 0;
    text-align: center;
}

.brand-story-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo-large {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.brand-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brand-description {
    font-size: 14px;
    color: var(--text-tertiary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--surface-1);
    border-top: 1px solid var(--surface-2);
    padding: 80px 0 40px;
}

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

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

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-brand-text {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.footer-column h6 {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-tertiary);
    transition: color var(--transition-normal);
}

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

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background var(--transition-normal), color var(--transition-normal);
}

.footer-social a:hover {
    background: var(--surface-3);
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--text-tertiary);
}

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

/* ========================================
   Cart Drawer
   ======================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-drawer), visibility var(--transition-drawer);
    z-index: 2000;
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100vh;
    background: var(--surface-2);
    box-shadow: var(--shadow-drawer);
    transform: translateX(100%);
    transition: transform var(--transition-drawer);
    z-index: 2001;
    display: flex;
    flex-direction: column;
}

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

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

.cart-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-secondary);
    transition: color var(--transition-normal);
}

.cart-close:hover {
    color: var(--text-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 48px 0;
}

.cart-empty-icon {
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.cart-empty-text {
    font-size: 14px;
    color: var(--text-tertiary);
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--surface-3);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-3);
    flex-shrink: 0;
}

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

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

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: var(--surface-3);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 14px;
    transition: background var(--transition-fast);
}

.cart-qty-btn:hover {
    background: var(--border);
}

.cart-qty-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-primary);
    min-width: 24px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-tertiary);
    transition: color var(--transition-normal);
}

.cart-item-remove:hover {
    color: #ff4444;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--surface-3);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cart-subtotal-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.cart-subtotal-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-primary);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cart-total-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-total-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #ffffff;
    transform: scale(1.02);
}

.btn-primary:disabled {
    background: var(--border);
    color: var(--text-tertiary);
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-placeholder);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: #888888;
    color: var(--text-primary);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Page Header (for inner pages)
   ======================================== */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: var(--surface-2);
}

.page-header-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-header-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Product Detail Page
   ======================================== */
.product-detail {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.product-gallery {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    align-self: start;
}

.product-gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-2);
    margin-bottom: 16px;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-2);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition-normal);
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
    border-color: var(--accent);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding-top: 24px;
}

.product-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.product-breadcrumb a:hover {
    color: var(--text-primary);
}

.product-detail-category {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.product-detail-name {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-detail-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.product-detail-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-detail-features {
    list-style: none;
    margin-bottom: 32px;
}

.product-detail-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--surface-2);
    font-size: 14px;
    color: var(--text-secondary);
}

.product-detail-features li svg {
    color: var(--accent);
    flex-shrink: 0;
}

.product-detail-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.product-qty-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px;
}

.product-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: var(--surface-2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.product-qty-btn:hover {
    background: var(--surface-3);
}

.product-qty-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-primary);
    min-width: 40px;
    text-align: center;
}

/* ========================================
   About Page
   ======================================== */
.about-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.about-section {
    margin-bottom: 80px;
}

.about-section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-section-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.about-value-card {
    background: var(--surface-1);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--surface-2);
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.about-value-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.about-value-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    padding-top: 24px;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.contact-info-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    list-style: none;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--surface-2);
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--surface-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-method-label {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.contact-method-value {
    font-size: 14px;
    color: var(--text-primary);
}

.contact-form {
    background: var(--surface-1);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--surface-2);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-placeholder);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #888888;
    box-shadow: 0 0 0 3px rgba(232, 232, 232, 0.1);
}

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

/* ========================================
   Series Page
   ======================================== */
.series-hero {
    position: relative;
    height: 50vh;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.series-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.series-hero-content {
    position: relative;
    z-index: 2;
}

.series-hero-label {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.series-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.series-hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1279px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-carousel {
        height: 60vh;
    }
    
    .carousel-title {
        font-size: 48px;
    }
    
    .cart-drawer {
        width: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .navbar-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-carousel {
        height: 50vh;
    }
    
    .carousel-slide {
        flex-direction: column-reverse;
    }
    
    .carousel-content {
        flex: none;
        padding: 24px;
        text-align: center;
    }
    
    .carousel-title {
        font-size: 32px;
    }
    
    .carousel-subtitle {
        font-size: 14px;
    }
    
    .carousel-image {
        flex: none;
        height: 50%;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .cart-drawer {
        width: 100vw;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
}

@media (max-width: 480px) {
    .product-grid {
        gap: 12px;
    }
    
    .chip-bar-inner {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--canvas);
    padding: 24px;
    transform: translateX(-100%);
    transition: transform var(--transition-drawer);
    z-index: 999;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-links {
    list-style: none;
}

.mobile-menu-links li {
    border-bottom: 1px solid var(--surface-2);
}

.mobile-menu-links a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    color: var(--text-secondary);
}

.mobile-menu-links a:hover {
    color: var(--text-primary);
}

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

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

.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
