body {
    /* Ajusta los 70px según la altura real de tu navbar */
    padding-top: 70px;
}
/* ── Cookie banner ─────────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.97);
    color: #f0f0f0;
    padding: 0.75rem 0;
    z-index: 1050;
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}

/* ── Product cards ─────────────────────────────────────────────── */
.producto-card {
    transition: box-shadow 0.15s, transform 0.15s;
}
.producto-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.12) !important;
    transform: translateY(-2px);
}

.producto-foto-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
}
.producto-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.producto-foto-wrap:hover .producto-foto {
    transform: scale(1.06);
}

.foto-count-badge {
    position: absolute;
    bottom: 6px;
    right: 8px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

.producto-nombre {
    font-size: 1.0rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

/* ── Prices (toggle) ───────────────────────────────────────────── */
.precio-wrap { display: none; }
.precios-visibles .precio-wrap { display: block; }
.precio-usd { font-size: 0.95rem; }
.precio-local { font-size: 0.8rem; }


/* ── Sidebar ───────────────────────────────────────────────────── */
.catalogo-sidebar {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.sidebar-heading {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    padding: 0.6rem 0 0.25rem;
    border-top: 1px solid #dee2e6;
    margin-top: 0.25rem;
}

.sidebar-marca-link {
    display: block;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    text-decoration: none;
    color: #495057;
    font-size: 0.875rem;
    margin-bottom: 1px;
}
.sidebar-marca-link:hover  { background: #e9ecef; color: #212529; }
.sidebar-marca-link.active { background: var(--tc-primary); color: #fff; font-weight: 600; }

.sidebar-divider {
    border-color: #dee2e6;
    margin: 0.5rem 0;
}

.sidebar-check-label {
    display: flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #495057;
    border-radius: 4px;
    user-select: none;
}
.sidebar-check-label:hover { background: #f1f3f5; }
.sidebar-check-label input { flex-shrink: 0; cursor: pointer; }

/* ── Photo carousel modal ──────────────────────────────────────── */
.carousel-img {
    max-height: 72vh;
    width: 100%;
    object-fit: contain;
    /* background: #111; */
}

/* ── Price toggle button ───────────────────────────────────────── */
#btnTogglePrecio {
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%);
}