/* ============================================================
   MARKETPLACE.CSS — Sistema de diseño tienda Open Box
   FIX 2026-05-19
   ============================================================
   Este archivo se carga DESPUÉS de tienda.css y refina/mejora
   la presentación visual sin tocar la lógica PHP.
   Respeta variables CSS existentes:
     --primary, --primary-light, --primary-dark, --primary-rgb
     --dark, --dark-light
   ============================================================ */

/* ============================================================
   TOP INFO BAR (sobre el header)
   ============================================================ */
.mkt-top-bar {
    background: #2c3e50;
    color: #ecf0f1;
    font-size: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mkt-top-bar a { color: #ecf0f1; text-decoration: none; }
.mkt-top-bar a:hover { color: var(--primary, #D4541C); }
.mkt-top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mkt-top-bar .tb-left, .mkt-top-bar .tb-right { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.mkt-top-bar .tb-item { display: inline-flex; align-items: center; gap: 5px; }
.mkt-top-bar .tb-item i { color: var(--primary, #D4541C); font-size: 13px; }
.mkt-top-bar .tb-social a { display:inline-flex; width:24px; height:24px; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,0.1); transition:all .2s; }
.mkt-top-bar .tb-social a:hover { background:var(--primary, #D4541C); }
@media (max-width: 768px) {
    .mkt-top-bar .tb-left .tb-hide-mobile { display:none; }
    .mkt-top-bar { font-size:11px; }
}

/* ============================================================
   OCULTAR los chips de categorías horizontales (ya están en menú dropdown)
   ============================================================ */
body:not(.show-cat-chips) .category-pills,
body:not(.show-cat-chips) .filter-pills-bar,
body:not(.show-cat-chips) .categorias-chips,
body:not(.show-cat-chips) .cat-filter-bar {
    display: none !important;
}

/* ============================================================
   MENU PRINCIPAL — dropdown de categorías
   ============================================================ */
.mkt-menu-cats { position: relative; display: inline-block; }
.mkt-menu-cats-btn {
    background: var(--primary, #D4541C);
    color: #fff;
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 4px 4px 0 0;
}
.mkt-menu-cats-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    min-width: 260px;
    max-height: 480px;
    overflow-y: auto;
    border-radius: 0 0 6px 6px;
    z-index: 999;
    display: none;
}
.mkt-menu-cats:hover .mkt-menu-cats-panel,
.mkt-menu-cats.open .mkt-menu-cats-panel { display: block; }
.mkt-menu-cats-panel a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
    font-size: 13.5px;
    transition: all .15s;
}
.mkt-menu-cats-panel a:last-child { border-bottom: none; }
.mkt-menu-cats-panel a:hover { background: #fff8f3; color: var(--primary, #D4541C); padding-left: 20px; }
.mkt-menu-cats-panel a .count { color: #aaa; font-size: 11px; }

/* ============================================================
   MENÚ PRINCIPAL HORIZONTAL (después del header)
   ============================================================ */
.mkt-mainmenu {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
/* FIX 2026-05-19: mantener padding default del .container para alinear con el logo del navbar */
.mkt-mainmenu .container {
    display: flex;
    align-items: stretch;
    gap: 0;
}
/* Primer link sin padding-izquierdo para que arranque pegado al borde del container (igual que el logo) */
.mkt-mainmenu-nav > a:first-child {
    padding-left: 0;
}
/* FIX 2026-05-19: alinear menú con el logo (izquierda del container) */
.mkt-mainmenu-nav {
    display: flex;
    flex: 1;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;   /* alineado con el logo */
    flex-wrap: wrap;
}
.mkt-mainmenu-nav a {
    padding: 12px 18px;
    color: #444;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-bottom: 3px solid transparent;
    transition: all .15s;
}
.mkt-mainmenu-nav a i { color: #888; font-size: 13px; }
.mkt-mainmenu-nav a:hover {
    color: var(--primary, #D4541C);
    background: #fff8f3;
}
.mkt-mainmenu-nav a:hover i { color: var(--primary, #D4541C); }
.mkt-mainmenu-nav a.active {
    color: var(--primary, #D4541C);
    border-bottom-color: var(--primary, #D4541C);
    background: #fff8f3;
}
.mkt-mainmenu-nav a.active i { color: var(--primary, #D4541C); }

/* Badge para conteo (subastas activas) */
.mkt-mainmenu-nav .mkt-badge {
    background: #E53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 4px;
}
.mkt-mainmenu-nav .mkt-live-dot {
    display:inline-block; width:8px; height:8px; border-radius:50%;
    background:#E53935; margin-left:4px;
    animation: mkt-live-blink 1.2s infinite;
}
@keyframes mkt-live-blink {
    0%,100% { opacity:1; }
    50% { opacity:.3; }
}

/* Botón del dropdown ya estilizado arriba (.mkt-menu-cats-btn) */
.mkt-menu-cats-btn { border-radius: 4px; padding: 12px 22px; font-size: 13px; }
.mkt-menu-cats-panel { border-radius: 0 0 6px 6px; }

/* ============================================================
   BANDA DE CATEGORÍAS (debajo del menú principal)
   ============================================================ */
.mkt-catbar {
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 0;
}
.mkt-catbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.mkt-catbar .mkt-menu-cats { position: relative; }
.mkt-catbar .mkt-menu-cats-btn {
    background: var(--primary, #D4541C);
    color: #fff;
    padding: 12px 22px;
    border-radius: 4px;
    border: none;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(212,84,28,0.25);
    transition: all .2s;
    min-width: 240px;
}
.mkt-catbar .mkt-menu-cats-btn:hover {
    background: #b34616;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212,84,28,0.35);
}
.mkt-catbar .mkt-menu-cats-btn span { flex: 1; text-align: left; }
.mkt-catbar .mkt-menu-cats-btn i.fa-chevron-down { margin-left: auto !important; transition: transform .2s; }
.mkt-catbar .mkt-menu-cats.open .mkt-menu-cats-btn i.fa-chevron-down { transform: rotate(180deg); }
.mkt-catbar .mkt-menu-cats-panel {
    top: calc(100% + 4px);
    min-width: 320px;
}
.mkt-catbar .mkt-menu-cats:hover .mkt-menu-cats-panel { display: none; }  /* deshabilitar hover, solo click */
.mkt-catbar .mkt-menu-cats.open .mkt-menu-cats-panel { display: block; }
.mkt-catbar-promo {
    font-size: 13px;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mkt-catbar-promo a {
    color: var(--primary, #D4541C);
    font-weight: 700;
    text-decoration: none;
}
.mkt-catbar-promo a:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .mkt-catbar-promo { display: none; }
    .mkt-catbar .mkt-menu-cats-btn { min-width: 100%; }
}

/* Ocultar versión vieja (categories-bar) si quedó renderizada */
.categories-bar { display: none !important; }

/* FIX 2026-05-19: Ocultar barra principal vieja (main-nav-bar)
   El nuevo .mkt-mainmenu la reemplaza con dropdown de categorías */
.main-nav-bar { display: none !important; }

/* ============================================================
   CARDS DE PRODUCTO (uniforme en todo el sitio)
   ============================================================ */
.mkt-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 14px;
    position: relative;
    transition: all .2s;
    display: flex;
    flex-direction: column;
}
.mkt-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
    border-color: var(--primary-light, #f3d7c5);
    transform: translateY(-2px);
}
.mkt-card .mkt-card-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #fafafa;
    border-radius: 4px;
    margin-bottom: 10px;
}
.mkt-card .mkt-card-noimg {
    width:100%; height:180px;
    display:flex; align-items:center; justify-content:center;
    color:#bbb; background:#f8f8f8; border-radius:4px; margin-bottom:10px;
    font-size:12px;
}
.mkt-card .mkt-card-rating { color: #FFC107; font-size: 12px; margin-bottom: 4px; letter-spacing: 1px; }
.mkt-card .mkt-card-name {
    font-size: 13.5px;
    color: #333;
    text-decoration: none;
    display: block;
    min-height: 38px;
    line-height: 1.4;
    overflow: hidden;
    margin-bottom: 8px;
    font-weight: 500;
}
.mkt-card .mkt-card-name:hover { color: var(--primary, #D4541C); }
.mkt-card .mkt-card-price { font-size: 15px; font-weight: 700; color: var(--primary, #D4541C); margin-top: auto; }
.mkt-card .mkt-card-price-old { color: #999; text-decoration: line-through; font-size: 12px; margin-right: 6px; font-weight: 400; }
.mkt-card .mkt-card-badge-off { position: absolute; top: 10px; left: 10px; background: #E53935; color: #fff; padding: 3px 8px; font-size: 11px; font-weight: 700; border-radius: 3px; z-index: 2; }
.mkt-card .mkt-card-badge-new { position: absolute; top: 10px; right: 10px; background: #4CAF50; color: #fff; padding: 3px 8px; font-size: 11px; font-weight: 700; border-radius: 3px; z-index: 2; }
.mkt-card .mkt-card-actions { display: flex; gap: 6px; margin-top: 10px; }
.mkt-card .mkt-btn-cart {
    flex: 1;
    background: var(--primary, #D4541C);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all .15s;
}
.mkt-card .mkt-btn-cart:hover { background: var(--primary-dark, #b34616); }

/* Grid de productos uniforme */
.mkt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .mkt-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .mkt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .mkt-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.mkt-section-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 36px 0 18px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
}
.mkt-section-h h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mkt-section-h h2 i { color: var(--primary, #D4541C); font-size: 20px; }
.mkt-section-h .mkt-section-link { color: var(--primary, #D4541C); font-size: 13px; font-weight: 600; text-decoration: none; }
.mkt-section-h .mkt-section-link:hover { text-decoration: underline; }

/* ============================================================
   ESTADO VACÍO (subastas, live, carrito sin items, etc.)
   ============================================================ */
.mkt-empty-state {
    background: #fff;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 60px 30px;
    text-align: center;
    color: #888;
}
.mkt-empty-state i { font-size: 64px; color: #ddd; margin-bottom: 16px; }
.mkt-empty-state h3 { font-size: 22px; color: #555; margin: 0 0 10px; font-weight: 700; }
.mkt-empty-state p { color: #888; max-width: 480px; margin: 0 auto 20px; }
.mkt-empty-state .mkt-btn-primary {
    display: inline-block;
    background: var(--primary, #D4541C);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s;
}
.mkt-empty-state .mkt-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(212,84,28,0.3); color:#fff; }

/* ============================================================
   FOOTER REDISEÑADO (sobreescribe .site-footer)
   ============================================================ */
.site-footer {
    background: #1a1f2c;
    color: #b0b8c5;
    padding: 50px 0 0;
    margin-top: 60px;
}
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    /* FIX 2026-05-19: línea de arriba removida — queda solo la de .footer-bottom border-top */
}
@media (max-width: 880px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer .footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary, #D4541C);
    display: inline-block;
}
.site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-col ul li { margin-bottom: 8px; }
.site-footer .footer-col ul li a {
    color: #b0b8c5;
    text-decoration: none;
    font-size: 13.5px;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-footer .footer-col ul li a:hover { color: var(--primary, #D4541C); padding-left: 4px; }
.site-footer .footer-col p { font-size: 13px; line-height: 1.7; margin: 0 0 8px; }
.site-footer .footer-col p i { width: 18px; }
/* FIX 2026-05-19: quitar divider duplicado (queda solo el de .footer-grid) */
.site-footer .footer-payments {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;   /* Label izquierda, iconos derecha (Yappy a la derecha) */
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    /* border-bottom removido — la línea de .footer-grid es suficiente */
}
.site-footer .footer-payments-label { color: #d0d0d0; font-weight: 600; font-size: 13px; }
.site-footer .footer-payments-icons { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-footer .footer-payments-icons span {
    background: rgba(255,255,255,0.06);
    padding: 8px 14px;
    border-radius: 4px;
    color: #d0d0d0;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.08);
}
/* Logo brands de tarjetas */
.site-footer .footer-payments-icons .pay-visa {
    background: #fff;
    color: #1A1F71;
    font-family: 'Arial Black', Arial, sans-serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 6px 14px;
}
.site-footer .footer-payments-icons .pay-mc {
    background: #fff;
    padding: 6px 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.site-footer .footer-payments-icons .pay-mc .mc-c {
    width: 18px; height: 18px; border-radius: 50%; display: inline-block;
}
.site-footer .footer-payments-icons .pay-mc .mc-c.red { background: #EB001B; }
.site-footer .footer-payments-icons .pay-mc .mc-c.yellow { background: #F79E1B; margin-left: -7px; mix-blend-mode: multiply; }
.site-footer .footer-payments-icons .pay-yappy {
    background: #4A2B8A;
    color: #fff;
    font-weight: 800;
    letter-spacing: .5px;
    border-color: transparent;
}
.site-footer .footer-payments-icons .pay-yappy i { color: #fff; }

/* FIX 2026-05-19: Horario como las demás líneas (icono + texto, sin caja) */
.site-footer .footer-col p.footer-schedule {
    margin: 0 0 8px;
    line-height: 1.7;
    font-size: 13px;
}
.site-footer .footer-col p.footer-schedule i {
    width: 18px;
    margin-right: 6px;
}
.site-footer .footer-bottom {
    text-align: center;
    padding: 18px 0;
    font-size: 12px;
    color: #777;
    border-top: none;   /* FIX 2026-05-19: quitar línea duplicada (queda solo la de .footer-grid) */
}
.site-footer .footer-bottom a { color: var(--primary, #D4541C); text-decoration: none; }

/* Newsletter signup */
.mkt-newsletter {
    background: linear-gradient(135deg, var(--primary, #D4541C), #b34616);
    color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: center;
}
.mkt-newsletter h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.mkt-newsletter p { margin: 0 0 20px; opacity: .92; }
.mkt-newsletter form { display: inline-flex; gap: 0; max-width: 480px; width: 100%; }
.mkt-newsletter input[type="email"] {
    flex: 1; padding: 12px 16px;
    border: 0; border-radius: 4px 0 0 4px;
    font-size: 14px; outline: none;
}
.mkt-newsletter button {
    background: #1a1f2c; color: #fff;
    border: none; padding: 12px 24px;
    border-radius: 0 4px 4px 0;
    cursor: pointer; font-weight: 600; font-size: 14px;
}

/* ============================================================
   AUCTION/SUBASTA CARD
   ============================================================ */
.mkt-auction-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all .2s;
    position: relative;
}
.mkt-auction-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.12); transform: translateY(-3px); }
.mkt-auction-card .auction-img-wrap { position: relative; background: #f5f5f5; aspect-ratio: 1; }
.mkt-auction-card .auction-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.mkt-auction-card .auction-badge { position: absolute; top: 10px; left: 10px; background: #E53935; color: #fff; padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .5px; animation: mkt-pulse 1.8s infinite; }
.mkt-auction-card .auction-info { padding: 14px; }
.mkt-auction-card .auction-title { font-weight: 700; color: #1a1a1a; font-size: 14px; margin: 0 0 8px; height: 38px; overflow: hidden; line-height: 1.35; }
.mkt-auction-card .auction-price-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.mkt-auction-card .auction-price { font-size: 20px; font-weight: 800; color: var(--primary, #D4541C); }
.mkt-auction-card .auction-timer { background: #fff8f3; border-left: 3px solid var(--primary, #D4541C); padding: 8px 12px; margin: 12px 0 0; font-size: 12px; color: #1a1a1a; font-weight: 600; }

@keyframes mkt-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(229,57,53,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(229,57,53,0); }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.mkt-breadcrumb {
    font-size: 12px;
    color: #888;
    padding: 16px 0 6px;
}
.mkt-breadcrumb a { color: #888; text-decoration: none; }
.mkt-breadcrumb a:hover { color: var(--primary, #D4541C); }
.mkt-breadcrumb .sep { margin: 0 8px; color: #ccc; }
.mkt-breadcrumb .current { color: #333; font-weight: 600; }

/* ============================================================
   CATÁLOGO — Filter chips + product grid + paginación
   Sobreescritura unificada con look marketplace
   ============================================================ */
.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0 24px;
    padding: 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}
.filter-chips .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    color: #555;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
    border: 1px solid transparent;
}
.filter-chips .filter-chip i { font-size: 12px; }
.filter-chips .filter-chip:hover {
    background: #fff8f3;
    color: var(--primary, #D4541C);
    border-color: var(--primary-light, #ffd5be);
}
.filter-chips .filter-chip.active {
    background: var(--primary, #D4541C);
    color: #fff;
}
.filter-chips .filter-chip.active i { color: #fff; }

/* Product grid del catálogo */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { .product-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { .product-grid { grid-template-columns: 1fr !important; } }

.product-grid .product-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 14px;
    position: relative;
    transition: all .2s;
    display: flex;
    flex-direction: column;
}
.product-grid .product-card:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    border-color: var(--primary-light, #f3d7c5);
    transform: translateY(-3px);
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all .15s;
}
.pagination a:hover {
    background: #fff8f3;
    border-color: var(--primary, #D4541C);
    color: var(--primary, #D4541C);
}
.pagination .active,
.pagination .current {
    background: var(--primary, #D4541C);
    border-color: var(--primary, #D4541C);
    color: #fff;
}
.pagination .disabled {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Empty state del catálogo (cuando no hay resultados) */
.no-results {
    background: #fff;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 60px 30px;
    text-align: center;
    color: #888;
    margin: 30px 0;
}
.no-results i { font-size: 56px; color: #ddd; margin-bottom: 14px; display: block; }
.no-results p { font-size: 16px; color: #666; margin: 0 0 16px; }
.no-results .btn-outline {
    display: inline-block;
    background: var(--primary, #D4541C);
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
}

/* ============================================================
   SUBASTAS — refinamiento marketplace
   ============================================================ */
/* FIX 2026-05-19: ocultar botón "Ver Subasta" — la card completa es clickeable */
.subastas-grid .subasta-card .btn-ver { display: none !important; }

/* Badge "Finalizada" (gris) en cards de subastas pasadas */
.subasta-card .subasta-badge-end {
    position: absolute;
    top: 10px; left: 10px;
    background: #607D8B;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.subasta-card-end { opacity: .92; }
.subasta-card-end .subasta-card-img img { filter: grayscale(.25); }
.subasta-card-end .subasta-countdown.ended {
    background: #f5f5f5;
    border-left-color: #607D8B;
    color: #555;
}

/* ============================================================
   BANNER INFERIOR — estilo home pero más delgado
   ============================================================ */
.mkt-banner-slim {
    margin: 36px 0 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
/* Variante con imagen (admin subió) */
.mkt-banner-slim-img { display: block; }
.mkt-banner-slim-img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    transition: transform .3s ease;
}
.mkt-banner-slim-img:hover img { transform: scale(1.015); }

/* Variante CTA con gradiente (fallback estilo home) */
.mkt-banner-slim-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf2 100%);
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.mkt-banner-slim-content::before {
    content: '';
    position: absolute;
    right: -40px; bottom: -40px;
    width: 220px; height: 220px;
    background: rgba(212,84,28,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.mkt-banner-slim-text { flex: 1; min-width: 260px; position: relative; z-index: 1; }
.mkt-banner-slim-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--primary, #D4541C);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}
.mkt-banner-slim-text h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 4px;
    line-height: 1.2;
}
.mkt-banner-slim-text p {
    color: #555;
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
    max-width: 640px;
}
.mkt-banner-slim-cta {
    background: var(--primary, #D4541C);
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(212,84,28,0.25);
}
.mkt-banner-slim-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212,84,28,0.4);
    color: #fff;
}
@media (max-width: 600px) {
    .mkt-banner-slim-content { padding: 18px 20px; gap: 14px; }
    .mkt-banner-slim-text h3 { font-size: 18px; }
    .mkt-banner-slim-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   SLIDER LIVE (página /live cuando no hay transmisión)
   ============================================================ */
.mkt-live-slider {
    position: relative;
    width: 100%;
    margin: 30px 0 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f2f5;
    box-shadow: 0 6px 22px rgba(0,0,0,0.10);
    aspect-ratio: 21 / 9;
    max-height: 460px;
}
.mkt-live-slider-track {
    position: absolute;
    inset: 0;
}
.mkt-live-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
}
.mkt-live-slide.active { opacity: 1; z-index: 1; }
.mkt-live-slide img,
.mkt-live-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.mkt-live-slide img {
    object-fit: cover;
}
.mkt-live-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 5;
    transition: all .2s;
}
.mkt-live-slider-btn:hover { background: rgba(0,0,0,0.7); transform: translateY(-50%) scale(1.05); }
.mkt-live-slider-prev { left: 16px; }
.mkt-live-slider-next { right: 16px; }
.mkt-live-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.mkt-live-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .2s;
}
.mkt-live-slider-dot.active {
    background: #fff;
    transform: scale(1.25);
}
@media (max-width: 768px) {
    .mkt-live-slider { aspect-ratio: 4 / 3; }
    .mkt-live-slider-btn { width: 36px; height: 36px; font-size: 13px; }
    .mkt-live-slider-prev { left: 10px; }
    .mkt-live-slider-next { right: 10px; }
}

/* ============================================================
   UTILS
   ============================================================ */
.mkt-text-primary { color: var(--primary, #D4541C) !important; }
.mkt-bg-primary { background: var(--primary, #D4541C) !important; color: #fff; }
.mkt-rounded-full { border-radius: 9999px; }
.mkt-shadow { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.mkt-mt-3 { margin-top: 1rem; }
.mkt-mb-3 { margin-bottom: 1rem; }
