:root {
    --venz-bg: #fafafa;
    --venz-fg: #1f2937;
    --venz-accent: #ef4444;
}

body {
    background: var(--venz-bg);
    color: var(--venz-fg);
}

.storefront-main {
    min-height: 60vh;
}

/* Mega menu */
.main-menu .megamenu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
    z-index: 1000;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.main-menu .nav-item:hover .megamenu,
.main-menu .nav-item:focus-within .megamenu {
    display: block;
}

/* Product card */
.product-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: .5rem;
    overflow: hidden;
    transition: all .2s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.product-card .product-image {
    position: relative;
    aspect-ratio: 3/4;
    background: #f8fafc;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s;
}

.product-card .product-image .img-hover {
    position: absolute; inset: 0;
    opacity: 0;
}

.product-card:hover .product-image .img-hover { opacity: 1; }

.product-card .product-badges {
    position: absolute; top: .5rem; left: .5rem;
    display: flex; flex-direction: column; gap: .25rem;
}

.product-card .badge-new { background: #10b981; color: #fff; }
.product-card .badge-sale { background: var(--venz-accent); color: #fff; }
.product-card .badge-bestseller { background: #f59e0b; color: #fff; }

.product-card .product-body {
    padding: .75rem;
    display: flex; flex-direction: column; gap: .25rem;
    flex: 1;
}

.product-card .product-brand { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; }
.product-card .product-name { font-size: .9rem; color: var(--venz-fg); text-decoration: none; line-height: 1.3; min-height: 2.6em; }
.product-card .product-name:hover { color: var(--venz-accent); }

.product-card .price-line { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.product-card .price-current { font-weight: 700; font-size: 1rem; }
.product-card .price-old { color: #9ca3af; text-decoration: line-through; font-size: .85rem; }
.product-card .price-discount { background: var(--venz-accent); color: #fff; font-size: .7rem; padding: .1rem .35rem; border-radius: .25rem; }

.product-card .color-swatches { display: flex; gap: .25rem; margin-top: .25rem; }
.product-card .color-swatch {
    width: 18px; height: 18px; border-radius: 50%;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

/* Hero */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: #fff;
    border-radius: .75rem;
    padding: 4rem 2rem;
    overflow: hidden;
}
.hero-banner::after {
    content: "";
    position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.05) 100%);
}

.section-heading {
    display: flex; justify-content: space-between; align-items: center;
    margin: 3rem 0 1rem;
}
.section-heading h2 {
    font-size: 1.5rem; font-weight: 700; margin: 0;
}

/* Detail page */
.product-gallery {
    position: sticky; top: 80px;
}
.product-gallery .main-image {
    width: 100%; aspect-ratio: 3/4; background: #f8fafc; border-radius: .5rem;
    overflow: hidden;
}
.product-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .thumbs { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.product-gallery .thumbs button {
    width: 64px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: .25rem;
    background: #f8fafc; overflow: hidden; cursor: pointer;
}
.product-gallery .thumbs button.active { border-color: var(--venz-fg); }
.product-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.variant-group { margin-bottom: 1rem; }
.variant-group label.group-label {
    display: block; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
    color: #6b7280; margin-bottom: .5rem;
}

.color-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.color-option {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent;
    cursor: pointer; padding: 0; background-clip: content-box; box-sizing: border-box;
    overflow: hidden; position: relative;
}
.color-option.selected { border-color: var(--venz-fg); }
.color-option.disabled { opacity: .3; cursor: not-allowed; }
.color-option img, .color-option .swatch-fill { width: 100%; height: 100%; border-radius: 50%; display: block; }

.size-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.size-option {
    min-width: 48px; padding: .5rem .75rem; border: 1px solid #d1d5db; border-radius: .375rem;
    background: #fff; cursor: pointer; font-size: .9rem;
}
.size-option.selected { background: var(--venz-fg); color: #fff; border-color: var(--venz-fg); }
.size-option.disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.price-block { margin: 1rem 0; }
.price-block .price-current { font-size: 1.6rem; font-weight: 700; }
.price-block .price-old { color: #9ca3af; text-decoration: line-through; }

.breadcrumb-row { padding: .75rem 0; font-size: .85rem; }

/* Listing sidebar */
.listing-filters .filter-group { border-bottom: 1px solid #e5e7eb; padding: 1rem 0; }
.listing-filters .filter-group h6 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
