/* Iced Out MTL — Luxury Dark Theme */
:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --surface-hover: #1e1e1e;
    --border: #2a2a2a;
    --text: #e0e0e0;
    --text-muted: #888;
    --gold: #c9a96e;
    --gold-light: #e0c78a;
    --silver: #b0b0b0;
    --accent: #d4af37;
    --ready: #2ecc71;
    --made: #f39c12;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

nav a:hover { color: var(--gold); }

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

.hero-banner {
    text-align: center;
    padding: 4rem 1rem;
}

.hero-banner h1 {
    font-size: 3rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.125rem;
    color: var(--silver);
    margin-bottom: 0.25rem;
}

.subtagline {
    color: var(--text-muted);
    font-size: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, transform 0.2s;
    display: block;
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #111;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
}

.product-info h3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0.25rem 0 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.badge-ready {
    background: rgba(46, 204, 113, 0.15);
    color: var(--ready);
}

.badge-order {
    background: rgba(243, 156, 18, 0.15);
    color: var(--made);
}

/* Product detail page */
.breadcrumb {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-hero-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    aspect-ratio: 1;
    cursor: pointer;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-hero-image:hover img {
    transform: scale(1.02);
}

.product-hero-info h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.product-status-large {
    margin-bottom: 1.5rem;
}

.product-specs {
    font-size: 0.9375rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--silver);
}

.product-specs strong {
    color: var(--text);
}

.product-pricing {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
}

.product-pricing h3 {
    color: var(--gold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.finish-group {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.finish-group strong {
    color: var(--gold-light);
}

.price-option {
    color: #fff;
    font-weight: 600;
}

.size-label {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Gallery */
.product-gallery {
    margin-bottom: 3rem;
}

.product-gallery h3 {
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.gallery-item {
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: var(--surface);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Contact section */
.contact-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-section h2 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-section a {
    color: var(--gold-light);
}

.contact-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 6px;
    font-size: 0.9375rem;
}

.contact-note code {
    background: rgba(201, 169, 110, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--gold-light);
}

/* Category page */
.category-hero {
    text-align: center;
    padding: 2rem 0;
}

.category-hero h1 {
    font-size: 2.5rem;
    color: var(--gold);
}

.full-catalog h2 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: -1rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 3rem;
}

footer a { color: var(--gold); }

.footer-tagline { margin-top: 0.25rem; font-size: 0.8125rem; color: #666; }

/* Mobile */
@media (max-width: 768px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero-banner h1 { font-size: 2rem; }
    .header-inner { flex-direction: column; text-align: center; }
    nav { justify-content: center; }
}
