:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --primary: #ccff00; /* Neon Lime */
    --primary-hover: #b3e600;
    --border-color: #333;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.dot {
    color: var(--primary);
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('AutoLabs_ImageFX/labs_imagefx_20260124_2031_9_var1.png'); /* Using one of the provided images as placeholder hero */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Overlay for better text contrast if needed */
.hero::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: radial-gradient(circle at center, transparent, #050505);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 .highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Section */
.featured-section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.link-arrow {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.product-image-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-price {
    color: var(--text-muted);
    font-weight: 500;
}

/* Shop View */
.page-header {
    background: var(--card-bg);
    padding: 4rem 0 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* Product Detail */
.product-detail-container {
    padding: var(--spacing-lg) 0;
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.back-btn:hover {
    color: var(--primary);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detail-image-container {
    background: var(--card-bg);
    aspect-ratio: 1/1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
}

.detail-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.detail-price {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.detail-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.variant-selector {
    margin-bottom: 2rem;
}

.variant-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.size-options {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.size-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.size-btn.active, .size-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.1);
}

.color-options {
    display: flex;
    gap: 1rem;
}

.color-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.color-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

.variant-selector.error .variant-label {
    color: #ff3333;
}

/* Cart & Checkout */
.cart-page-container, .checkout-container {
    padding: var(--spacing-lg) 0;
    max-width: 1000px;
}

.cart-layout, .checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background: var(--card-bg);
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-variant {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
}

.remove-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.cart-summary, .checkout-summary {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 4px;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.summary-row.total {
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.form-section {
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    font-family: inherit;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.payment-options {
    display: grid;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--text-muted);
}

.payment-option input {
    display: none;
}

.payment-option input:checked + .radio-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: block;
    margin-top: 2px;
}

.payment-option input:checked ~ div strong {
    color: var(--primary);
}

/* Sidebar Cart */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #000;
    z-index: 2000;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
}

.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    backdrop-filter: blur(2px);
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Footer */
footer {
    background: #000;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    border-right: none;
    width: 100%;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 { font-size: 3.5rem; }
    .product-detail-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    
    .mobile-nav {
        position: fixed;
        width: 100%;
        top: 70px;
        left: 0;
        background: var(--bg-color);
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-nav.open {
        transform: translateY(0);
    }
    
    .cart-sidebar { width: 100%; right: -100%; }
}
