:root {
    --sz-primary: #111827;
    --sz-accent: #2563eb;
    --sz-accent-hover: #1d4ed8;
    --sz-bg: #f8fafc;
    --sz-surface: #ffffff;
    --sz-text: #1f2937;
    --sz-muted: #6b7280;
    --sz-border: #e5e7eb;
    --sz-radius: 12px;
}

body {
    background-color: var(--sz-bg);
    color: var(--sz-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Navbar */
.sz-navbar {
    background-color: var(--sz-surface);
    border-bottom: 1px solid var(--sz-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sz-navbar .navbar-brand img {
    height: 38px;
    width: auto;
}

.sz-cart-badge {
    font-size: 0.72rem;
    min-width: 19px;
    height: 19px;
    line-height: 19px;
    padding: 0 5px;
}

/* Hero */
.sz-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: var(--sz-radius);
    padding: 3.5rem 2.5rem;
}

/* Product Cards */
.sz-product-card {
    background: var(--sz-surface);
    border: 1px solid var(--sz-border);
    border-radius: var(--sz-radius);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sz-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.sz-product-img-wrap {
    aspect-ratio: 4 / 3;
    background-color: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sz-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sz-product-body {
    padding: 1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sz-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sz-primary);
}

.sz-price-old {
    font-size: 0.88rem;
    color: var(--sz-muted);
    text-decoration: line-through;
    margin-left: 0.45rem;
}

/* Galeria detalle */
.sz-gallery-main {
    aspect-ratio: 1 / 1;
    background-color: #f1f5f9;
    border-radius: var(--sz-radius);
    overflow: hidden;
    border: 1px solid var(--sz-border);
}

.sz-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sz-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.sz-thumb.active,
.sz-thumb:hover {
    border-color: var(--sz-accent);
}

/* Footer */
.sz-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    margin-top: 4rem;
}

.sz-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.sz-footer a:hover {
    color: #ffffff;
}