/* =====================================================================
 * TeVendo - Tarjetas de anuncios, slider, secciones y pie de página
 * (portada, categorías y búsqueda). Solo cambia la apariencia.
 * ===================================================================== */
:root { --tv-ink: #1B1F2A; --tv-muted: #5E6473; --tv-line: #E6E8EE; --tv-red: #E40046; }

/* ---------- ancho común de las secciones de la portada ---------- */
/* (solo portada) */
.tv-wrap, .wholeContainerResp.tv-home { max-width: none; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; float: none !important; }
.wholeContainerResp.tv-home { padding: 0 24px !important; box-sizing: border-box; }
.tv-home > #products, .tv-home .section_container, .tv-home .product_align_cnt { width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.tv-home .row { margin: 0 !important; }

/* ---------- slider: pantalla completa ---------- */
.slider-container, .slider-container > .container-fluid, .slider-container .row, .slider-container .banner-image, .slider-container .swiper-container { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; border-radius: 0 !important; }
.slider-container .swiper-slide img { width: 100% !important; height: auto; display: block; }

/* ---------- título y filtros de "Recién publicados" ---------- */
.tv-sec-head { max-width: none; margin: 32px 0 16px; padding: 0 24px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tv-sec-head h2 { margin: 0; font-size: 24px; font-weight: 800; color: var(--tv-ink); }
.tv-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tv-chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #D5D9E2; background: #fff; color: var(--tv-ink) !important; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; }
.tv-chip.on { background: var(--tv-ink); border-color: var(--tv-ink); color: #fff !important; }

/* ---------- cuadrícula ----------
 * Joysale reparte los anuncios en columnas fijas (4, 2...), y en pantallas grandes o con pocos
 * anuncios las tarjetas quedaban diminutas. Ahora es una sola columna "virtual" convertida en
 * cuadrícula: cada tarjeta mide entre 240 px y lo que quepa, en cualquier pantalla, y en orden. */
#fh5co-board[data-columns]::before { content: "1 .column.size-1of1" !important; position: absolute; width: 0; height: 0; overflow: hidden; }
#fh5co-board { position: relative; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; align-items: start; }
#fh5co-board > .column { display: contents !important; }
#fh5co-board .columncls { width: auto !important; padding: 0 !important; margin: 0 !important; float: none !important; min-width: 0; }
/* ---------- tarjeta ---------- */
.columncls .item.product { background: #fff; border: 1px solid var(--tv-line) !important; border-radius: 16px !important; overflow: hidden; box-shadow: none !important; margin: 0 !important; transition: box-shadow .2s ease, transform .2s ease; }
.columncls .item.product:hover { box-shadow: 0 14px 30px -18px rgba(27, 31, 42, .45) !important; transform: translateY(-2px); }
.columncls .grid, .columncls .image-grid { padding: 0 !important; margin: 0 !important; width: 100% !important; float: none !important; }
.columncls .item-img.productimage { position: relative; aspect-ratio: 4 / 3; height: auto !important; min-height: 0 !important; background: #EEF0F4 !important; overflow: hidden; border-radius: 0 !important; }
.columncls .item-img.productimage img.imgcls { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; }
.columncls .day-count { position: absolute; left: 10px; bottom: 10px; right: auto !important; top: auto !important; padding: 3px 9px; border-radius: 999px; background: rgba(27, 31, 42, .72); color: #fff !important; font-size: 12px !important; font-weight: 700; text-shadow: none !important; line-height: 1.4; }
.columncls .tv-pc { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(27, 31, 42, .72); color: #fff; font-size: 12px; font-weight: 700; }
.columncls .item-ad, .columncls .item-urgent, .columncls .sold-out { position: absolute !important; left: 12px !important; top: 12px !important; right: auto !important; z-index: 2; padding: 4px 10px !important; border-radius: 999px !important; font-size: 12px !important; font-weight: 800 !important; line-height: 1.3 !important; width: auto !important; height: auto !important; transform: none !important; }
.columncls .item-ad { background: #FFB703 !important; color: var(--tv-ink) !important; }
.columncls .item-urgent { background: var(--tv-red) !important; color: #fff !important; }
.columncls .sold-out { background: var(--tv-ink) !important; color: #fff !important; }
.columncls .grid { position: relative; }
.columncls .pro_details { padding: 14px 16px 14px !important; display: flex; flex-direction: column; gap: 6px; float: none !important; width: 100% !important; box-sizing: border-box; }
.columncls .pro_price { font-size: 20px !important; font-weight: 800 !important; color: var(--tv-ink) !important; padding: 0 !important; line-height: 1.3; float: none !important; width: auto !important; }
.columncls .pro_price span { margin-right: 4px !important; }
.columncls .tv-neg { display: inline-block; vertical-align: middle; padding: 2px 9px; border-radius: 999px; background: #E7F7EF; color: #116B47; font-size: 12px; font-weight: 700; margin-left: 4px; }
.columncls .label_ga { background: #E7F7EF; color: #116B47; border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.columncls .pro_title { padding: 0 !important; float: none !important; width: auto !important; }
.columncls .pro_title a { font-size: 15px !important; font-weight: 600 !important; color: #2B3040 !important; line-height: 1.35 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal !important; height: 2.7em; }
.columncls .item-location { padding: 8px 0 0 20px !important; margin-top: 2px; border-top: 1px solid #EEF0F4; font-size: 13px !important; color: var(--tv-muted) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; float: none !important; width: auto !important; position: relative;
  background: no-repeat left 9px / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6473' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }

/* ---------- reels de venta (portada) ---------- */
.tv-reels-strip { max-width: none; margin: 28px 0 0 !important; padding: 0 24px !important; background: none !important; box-sizing: border-box; }
.tv-rs-box { background: #fff; border: 1px solid var(--tv-line); border-radius: 20px; padding: 22px 24px 24px; }
.tv-rs-head { padding: 0 0 18px !important; align-items: flex-end !important; gap: 12px; flex-wrap: wrap; }
.tv-rs-head h2 { font-size: 24px !important; }
.tv-rs-sub { margin: 4px 0 0; font-size: 14px; color: var(--tv-muted); }
.tv-rs-ctrl { display: flex; align-items: center; gap: 10px; }
.tv-rs-ctrl a { font-weight: 700; color: #C8003D; margin-right: 6px; }
.tv-rs-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #D5D9E2; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--tv-ink); }
.tv-rs-arrow.dark { background: var(--tv-ink); border-color: var(--tv-ink); color: #fff; }
.tv-rs-row { padding: 0 !important; gap: 16px !important; scroll-behavior: smooth; }
.tv-rs-item { width: 196px !important; height: 348px !important; border-radius: 18px !important; background-color: #2A2F3D; }
.tv-rs-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(rgba(17, 20, 28, 0), rgba(17, 20, 28, .82)); }
.tv-rs-play { width: auto !important; height: auto !important; padding: 4px 9px; border-radius: 999px !important; background: rgba(17, 20, 28, .62) !important; gap: 5px; font-size: 12px; font-weight: 700; z-index: 1; }
.tv-rs-info { z-index: 1; background: none !important; padding: 12px !important; gap: 6px; }
.tv-rs-price { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--tv-ink); font-size: 14px !important; font-weight: 800; }
.tv-rs-info .tv-rs-title { font-size: 15px !important; font-weight: 700; white-space: normal !important; line-height: 1.25; }
.tv-rs-seller { display: flex; align-items: center; gap: 6px; font-size: 12px !important; color: #E6E8EE; white-space: nowrap; overflow: hidden; }
.tv-rs-seller i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: #8C93A3 center / cover no-repeat; flex: none; }

/* ---------- pie de página ---------- */
.footer { background: #fff !important; border-top: 1px solid var(--tv-line); }
.footer .classified-footer-head { max-width: none; margin: 0 !important; float: none !important; padding-top: 32px !important; }
.footer a { color: #3D4250; }
.footer a:hover { color: #C8003D; }

@media (min-width: 1800px) {
  .wholeContainerResp.tv-home, .tv-sec-head, .tv-reels-strip { padding-left: 32px !important; padding-right: 32px !important; }
  #fh5co-board { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
  .tv-rs-item { width: 220px !important; height: 390px !important; }
}
@media (max-width: 767px) {
  .wholeContainerResp.tv-home { padding: 0 12px !important; }
  .tv-sec-head { margin: 18px auto 12px; padding: 0 16px; }
  .tv-sec-head h2 { font-size: 19px; }
  .tv-sec-head .tv-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .tv-chip { height: 38px; flex: none; }
  #fh5co-board { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .columncls .pro_details { padding: 10px 10px 12px !important; }
  .columncls .pro_price { font-size: 16px !important; }
  .columncls .tv-neg { display: none; }
  .columncls .pro_title a { font-size: 13px !important; }
  .tv-reels-strip { margin-top: 0 !important; padding: 0 !important; }
  .tv-rs-box { border-radius: 0; border-left: 0; border-right: 0; padding: 16px 16px; }
  .tv-rs-head h2 { font-size: 19px !important; }
  .tv-rs-sub, .tv-rs-arrow { display: none; }
  .tv-rs-item { width: 140px !important; height: 248px !important; }
}
.tv-home #fh5co-main, .tv-home #fh5co-main > [class*="col-"], .tv-home .section_container > .row > [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; float: none !important; }

/* ---------- categoría sin anuncios ---------- */
#showUrgentStatus { margin: 8px 0 24px !important; }
#showUrgentStatus .no-item { float: none !important; width: auto !important; margin: 0 auto; max-width: 720px; background: #fff; border: 1px solid var(--tv-line); border-radius: 20px; padding: 32px 28px 28px !important; text-align: center; box-sizing: border-box; }
#showUrgentStatus .no-item > div::before { content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #FFF0F4 center / 30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E40046' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M8.5 11h5'/%3E%3C/svg%3E"); }
#showUrgentStatus .no-item-text { display: block; float: none !important; width: auto !important; font-size: 21px !important; font-weight: 800 !important; color: var(--tv-ink) !important; padding: 0 !important; margin: 0 0 6px; line-height: 1.3; }
#showUrgentStatus .world-wide { display: block; float: none !important; width: auto !important; font-size: 15px !important; font-weight: 500 !important; color: var(--tv-muted) !important; padding: 0 !important; margin: 0 0 18px; line-height: 1.5; }
#showUrgentStatus .back-botton { float: none !important; width: auto !important; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 0 !important; }
#showUrgentStatus .back-btn, #showUrgentStatus .tv-empty-cta { height: 44px; padding: 0 20px; border-radius: 10px; display: inline-flex !important; align-items: center; font-weight: 800; font-size: 14px; text-decoration: none !important; }
#showUrgentStatus .tv-empty-cta { background: var(--tv-red); color: #fff !important; }
#showUrgentStatus .back-btn { background: #fff !important; color: var(--tv-ink) !important; border: 1px solid #D5D9E2; }

/* ---------- pie de página ---------- */
.footer > .container { width: auto !important; max-width: none !important; padding: 0 32px !important; }
.footer .classified-footer-head { display: flex !important; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; padding: 36px 0 24px !important; float: none !important; width: auto !important; }
.footer .classified-social-connect, .footer .classified-app-links, .footer .classified-new-account { float: none !important; width: auto !important; flex: 0 1 auto; padding: 0 !important; }
.footer .classified-new-account { flex: 1 1 360px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #F7F8FA; border: 1px solid var(--tv-line); border-radius: 16px; padding: 18px 20px !important; }
.footer .classified-new-account-info { float: none !important; width: auto !important; font-size: 15px; font-weight: 600; color: var(--tv-ink); }
.footer .classified-create-btn { float: none !important; width: auto !important; padding: 0 18px !important; height: 44px; display: inline-flex !important; align-items: center; border-radius: 10px !important; }
.footer .classified-social-head, .footer .classified-app-head { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--tv-ink); margin-bottom: 12px; }
.footer .classified-social-icon a, .footer .classified-app-icon a { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: #F1F2F5; align-items: center; justify-content: center; margin-right: 8px; }
.footer .classified-social-icon img, .footer .classified-app-icon img { width: 24px !important; height: 24px !important; }
.footer .classified-footer-vertical-line { display: none; }
.footer .classified-footer-horizontal-line { float: none !important; width: auto !important; border-top: 1px solid var(--tv-line); margin: 0 !important; }
.footer .copyright-foter { margin: 0 !important; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 0 28px; }
.footer .classified-footer-bottom, .footer .language { float: none !important; width: auto !important; }
.footer .classified-footer-menu-links { float: none !important; width: auto !important; font-size: 14px; }
.footer .classified-footer-menu-links a { margin-right: 4px; }
.footer .classified-footer-Copyright { float: none !important; width: auto !important; font-size: 13px; color: var(--tv-muted); margin-top: 6px; }
@media (max-width: 767px) {
  .footer > .container { padding: 0 16px !important; }
  .footer .classified-footer-head { gap: 20px; padding-top: 24px !important; }
  .footer .classified-new-account { flex-basis: 100%; }
  #showUrgentStatus .no-item { margin: 0 12px; padding: 24px 18px !important; }
}
.footer .classified-footer-bottom, .footer .classified-footer-menu-links, .footer .classified-footer-Copyright { text-align: left !important; }
.footer .language { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; }
.footer .language > * { float: none !important; width: auto !important; margin: 0 !important; }
.footer .language .language-select-box-heading { order: -1; font-size: 13px; color: var(--tv-muted); }
.footer .language select { min-width: 130px; height: 38px; border-radius: 8px; }
.footer .copyright-foter > form { margin: 0 !important; }
.footer .classified-footer-bottom { flex: 1 1 420px; margin: 0 !important; padding: 0 !important; display: block !important; }
.footer .classified-footer-menu-links ul { margin: 0 !important; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 6px 10px; justify-content: flex-start !important; }
.footer .classified-footer-menu-links li { list-style: none; float: none !important; margin: 0 !important; padding: 0 !important; }
.footer .classified-footer-dev { color: #C5C9D3; }
.footer .classified-footer-Copyright { display: block; clear: both; margin-top: 8px !important; }

/* =================== Pie de página nuevo (.tvf) =================== */
.tvf { background: #fff; border-top: 1px solid var(--tv-line); color: #3D4250; font-size: 14px; clear: both; }
.tvf-in { padding: 40px 32px 0; }
.tvf-grid { display: grid; grid-template-columns: minmax(240px, 1.4fr) minmax(180px, 1fr) minmax(200px, 1fr) minmax(260px, 1.3fr); gap: 32px; align-items: start; }
.tvf h3 { margin: 0 0 14px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--tv-ink); }
.tvf-logo { display: block; font-size: 22px; font-weight: 800; color: var(--tv-red); margin-bottom: 10px; }
.tvf-brand p { margin: 0 0 16px; line-height: 1.55; color: var(--tv-muted); max-width: 340px; }
.tvf-social { display: flex; gap: 10px; }
.tvf-social a { width: 44px; height: 44px; border-radius: 50%; background: #F1F2F5; color: var(--tv-ink) !important; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.tvf-social a:hover { background: var(--tv-red); color: #fff !important; }
.tvf-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tvf-links a { color: #3D4250 !important; text-decoration: none; }
.tvf-links a:hover { color: var(--tv-red) !important; }
.tvf-app-btns { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tvf-app-btns a { min-width: 168px; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; background: var(--tv-ink); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 15px; }
.tvf-app-btns a span { display: flex; flex-direction: column; line-height: 1.15; }
.tvf-app-btns small { font-size: 10px; font-weight: 600; opacity: .8; }
.tvf-app-btns a:hover { background: #000; }
.tvf-promo { background: #F7F8FA; border: 1px solid var(--tv-line); border-radius: 16px; padding: 20px; }
.tvf-promo h3 { margin-bottom: 8px; }
.tvf-promo p { margin: 0 0 14px; line-height: 1.5; color: var(--tv-muted); }
.tvf-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--tv-red); color: #fff !important; font-weight: 800; text-decoration: none !important; }
.tvf-btn:hover { background: #C8003D; }
.tvf-bottom { margin-top: 32px; padding: 18px 0 26px; border-top: 1px solid var(--tv-line); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.tvf-copy { font-size: 13px; color: var(--tv-muted); }
.tvf-lang { display: flex; align-items: center; gap: 10px; margin: 0; }
.tvf-lang label { margin: 0; font-size: 13px; color: var(--tv-muted); font-weight: 600; }
.tvf-lang select { height: 40px; min-width: 140px; padding: 0 10px; border: 1px solid #D5D9E2; border-radius: 10px; background: #fff; font-family: inherit; font-size: 14px; color: var(--tv-ink); }
@media (max-width: 1100px) { .tvf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .tvf-in { padding: 28px 18px 0; }
  .tvf-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .tvf-brand, .tvf-promo { grid-column: 1 / -1; }
  .tvf-brand p { max-width: none; }
  .tvf-links ul { gap: 12px; }
  .tvf-app-btns a { min-width: 0; width: 100%; box-sizing: border-box; height: 46px; padding: 0 12px; font-size: 14px; }
  .tvf-bottom { flex-direction: column-reverse; align-items: stretch; gap: 14px; margin-top: 26px; padding-bottom: 20px; }
  .tvf-lang { justify-content: space-between; }
  .tvf-lang select { flex: 1; max-width: 220px; }
}

/* =================== Tarjetas estilo nuevo (foto grande, precio sobre la foto) =================== */
.columncls .item.product { position: relative; border: 0 !important; border-radius: 22px !important; padding: 10px; background: #fff; box-shadow: 0 1px 2px rgba(27, 31, 42, .06), 0 6px 18px -10px rgba(27, 31, 42, .18) !important; }
.columncls .item.product:hover { box-shadow: 0 2px 4px rgba(27, 31, 42, .06), 0 18px 34px -16px rgba(27, 31, 42, .35) !important; }
.columncls .item-img.productimage { aspect-ratio: 5 / 6; border-radius: 16px !important; }
.columncls .day-count { display: none !important; }
.tv-price-pill { position: absolute; left: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 80px); padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--tv-ink); font-size: 15px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 8px rgba(27, 31, 42, .18); }
.columncls .tv-pc { bottom: 12px !important; right: 10px; padding: 4px 9px; }
.tv-heart { position: absolute; top: 20px; right: 20px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--tv-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(27, 31, 42, .18); transition: transform .15s; }
.tv-heart:hover { transform: scale(1.06); }
.tv-heart.on { color: var(--tv-red); }
.columncls .item-ad, .columncls .item-urgent, .columncls .sold-out { left: 20px !important; top: 20px !important; }
.columncls .pro_details { padding: 12px 6px 4px !important; gap: 4px; }
.columncls .pro_price { display: none !important; }
.columncls .pro_title a { font-size: 15px !important; font-weight: 800 !important; color: var(--tv-ink) !important; -webkit-line-clamp: 2; height: auto; max-height: 2.7em; }
.columncls .item-location { border-top: 0 !important; padding: 2px 0 0 20px !important; background-position: left 4px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E40046' stroke='%23E40046' stroke-width='1.5'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5' fill='%23fff'/%3E%3C/svg%3E") !important; }
.columncls .tv-ago { color: var(--tv-muted); }
@media (max-width: 767px) {
  .columncls .item.product { padding: 7px; border-radius: 18px !important; }
  .columncls .item-img.productimage { border-radius: 13px !important; }
  .tv-price-pill { font-size: 13px; padding: 5px 10px; left: 7px; bottom: 7px; }
  .tv-heart { top: 14px; right: 14px; width: 36px; height: 36px; }
  .tv-heart svg { width: 17px; height: 17px; }
  .columncls .tv-pc { right: 7px; bottom: 9px !important; }
  .columncls .pro_title a { font-size: 13px !important; }
  .columncls .item-location { font-size: 12px !important; }
}
@media (max-width: 767px) {
  .tv-price-pill { font-size: 12px; padding: 4px 8px; max-width: calc(100% - 50px); }
  .columncls .tv-pc { padding: 3px 6px; font-size: 11px; gap: 3px; }
  .columncls .tv-pc svg { width: 11px; height: 11px; }
}

/* =================== Menú de filtros (categorías y búsqueda) =================== */
#products.filter-options { padding-top: 6px !important; }
@media (min-width: 1200px) {
  #products.filter-options .modal-content { position: sticky; top: 16px; background: #fff !important; border: 1px solid var(--tv-line) !important; border-radius: 20px !important; box-shadow: none !important; padding: 6px 4px !important; overflow: hidden; }
}
#products.filter-options .modal-header { border: 0 !important; }
#products.filter-options .modal-body { padding: 0 !important; }
#products.filter-options .filter-options, #products.filter-options .item.categories, #products.filter-options .grid, #products.filter-options .filterlists { padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
#products.filter-options .categories-list, #products.filter-options .categories-filter-list { float: none !important; width: auto !important; padding: 14px 16px !important; border-bottom: 1px solid #EEF0F4 !important; background: none !important; }
#products.filter-options .filterlists > div:last-child { border-bottom: 0 !important; }
#products.filter-options .filters-title { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 0 !important; margin: 0 !important; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--tv-ink) !important; cursor: pointer; background-position: right center !important; }
#products.filter-options .filters-list { margin-top: 10px !important; padding: 0 !important; }
/* subcategorías */
#products.filter-options .categories-list ul.filters-list { list-style: none; display: flex !important; flex-direction: column; gap: 2px; }
#products.filter-options .categories-list ul.filters-list li { float: none !important; width: auto !important; padding: 0 !important; }
#products.filter-options .btn-category { display: flex !important; align-items: center; justify-content: space-between; min-height: 40px; padding: 8px 12px !important; border-radius: 10px !important; border: 0 !important; background: none !important; color: #3D4250 !important; font-size: 14px !important; font-weight: 600 !important; text-align: left !important; white-space: normal !important; line-height: 1.3 !important; }
#products.filter-options .btn-category::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .35; flex: none; margin-left: 8px; }
#products.filter-options .btn-category:hover { background: #F5F6FA !important; color: var(--tv-ink) !important; }
#products.filter-options .btn-category.active, #products.filter-options li.active > .btn-category { background: #FFF0F4 !important; color: #C8003D !important; font-weight: 800 !important; }
/* casillas como filas tocables */
#products.filter-options .checkbox { position: relative; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
#products.filter-options .checkbox input[type="checkbox"] { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0; z-index: 2; cursor: pointer; }
#products.filter-options .checkbox label { display: flex !important; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px 8px 12px !important; margin: 0 !important; border-radius: 10px; font-size: 14px !important; font-weight: 600 !important; color: #3D4250 !important; cursor: pointer; }
#products.filter-options .checkbox label::before { content: "" !important; position: static !important; flex: none; width: 20px !important; height: 20px !important; margin: 0 !important; border: 2px solid #C9CDD8 !important; border-radius: 6px !important; background: #fff !important; box-sizing: border-box; }
#products.filter-options .checkbox label::after { display: none !important; }
#products.filter-options .checkbox:hover label { background: #F5F6FA; }
#products.filter-options .checkbox input:checked + label { color: var(--tv-ink) !important; font-weight: 800 !important; }
#products.filter-options .checkbox input:checked + label::before { border-color: var(--tv-red) !important; background: var(--tv-red) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") !important; }
#products.filter-options .checkbox input:focus-visible + label { outline: 2px solid var(--tv-ink); outline-offset: 1px; }
/* rango de precio */
#products.filter-options .InnerSliderPriceCol { padding: 10px 6px 18px !important; }
#products.filter-options .ranges_values { font-size: 13px; font-weight: 700; color: var(--tv-muted); }
/* botón de filtros en celular y tableta */
.filter-modal-btn, .productfileters .filter-btn a { height: 44px; padding: 0 18px !important; border-radius: 999px !important; border: 1px solid #D5D9E2 !important; background: #fff !important; color: var(--tv-ink) !important; font-weight: 800 !important; font-size: 14px !important; display: inline-flex !important; align-items: center; gap: 8px; box-shadow: none !important; }
.filter-modal-btn::before, .productfileters .filter-btn a::before { content: ""; width: 18px; height: 18px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1F2A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E"); }
@media (max-width: 1199px) {
  #Filter-modal .modal-content { border-radius: 20px !important; border: 0 !important; overflow: hidden; }
  #Filter-modal .modal-header { padding: 16px 18px !important; border-bottom: 1px solid #EEF0F4 !important; }
  #Filter-modal .filters-resp-title { font-size: 18px; font-weight: 800; }
}
#products.filter-options .btn-category.btn-lg { height: auto !important; min-height: 40px; line-height: 1.3 !important; margin: 0 !important; }
#products.filter-options .filterlists > .categories-list, #products.filter-options .filterlists > .categories-filter-list, #products.filter-options .filterlists > div { padding: 14px 16px !important; margin: 0 !important; min-height: 0 !important; height: auto !important; }
#products.filter-options .filterlists > div[style*="display:none"], #products.filter-options .filterlists > div[style*="display: none"] { display: none !important; }
@media (min-width: 1200px) { .filter-modal-btn { display: none !important; } }
#products.filter-options #Filter-modal .filterlists > div, #products.filter-options #Filter-modal .filterlists > div.no-hor-padding { padding: 14px 16px !important; }
#products.filter-options .filters-title { border: 0 !important; box-shadow: none !important; min-height: 24px; }
#products.filter-options #Filter-modal .filterlists > div { border-top: 0 !important; box-shadow: none !important; }
#products.filter-options #Filter-modal .filterlists > div::before, #products.filter-options #Filter-modal .filterlists > div::after { display: none !important; }
#products.filter-options #Filter-modal .filterlists > div { height: auto !important; max-height: none !important; min-height: 52px !important; overflow: visible !important; box-sizing: border-box; display: block; }
#products.filter-options #Filter-modal .filterlists > div[style*="none"] { display: none !important; }
#products.filter-options .categories-filter-list .filters-title::after, #products.filter-options .categories-menu-list .filters-title::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #5E6473; border-bottom: 2px solid #5E6473; transform: rotate(45deg); margin: -4px 4px 0 0; flex: none; }

/* =================== Cuentas profesionales: etiqueta, borde y secciones =================== */
.tv-pro-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.tv-pro-badge i { width: 21px; height: 21px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.tv-pro-badge.m { font-size: 13px; padding: 5px 12px 5px 6px; }
.tv-pro-badge.m i { width: 24px; height: 24px; }
.tv-pro-store { background: #EDE7FB; color: #5B21B6; border: 1px solid rgba(124, 58, 237, .25); }
.tv-pro-store i { background: #7C3AED; }
.tv-pro-store .ok { color: #7C3AED; }
.tv-pro-agent { background: #E1EEFB; color: #0B4F8A; border: 1px solid rgba(29, 116, 201, .25); }
.tv-pro-agent i { background: #1D74C9; }
.tv-pro-agent .ok { color: #1D74C9; }
.tv-pro-dealer { background: #1B1F2A; color: #FFD66B; box-shadow: 0 4px 12px -4px rgba(27, 31, 42, .5); }
.tv-pro-dealer i { background: #FFD66B; color: #1B1F2A; }
.tv-pro-dealer .ok { color: #FFD66B; }
.tv-pro-on-photo { position: absolute; left: 10px; top: 10px; z-index: 3; }
.columncls .item.product.tv-pro-card-store { box-shadow: 0 0 0 2px #7C3AED !important; }
.columncls .item.product.tv-pro-card-agent { box-shadow: 0 0 0 2px #1D74C9 !important; }
.columncls .item.product.tv-pro-card-dealer { box-shadow: 0 0 0 2px #E8B931, 0 10px 24px -14px rgba(192, 138, 0, .6) !important; }
.columncls .item.product.tv-pro .item-ad, .columncls .item.product.tv-pro .item-urgent { top: 50px !important; }
.tv-pro-name { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-pro-n-store { color: #5B21B6; } .tv-pro-n-agent { color: #0B4F8A; } .tv-pro-n-dealer { color: #8A6400; }
@media (max-width: 767px) { .tv-pro-on-photo { left: 7px; top: 7px; } .tv-pro-badge { font-size: 11px; padding: 3px 8px 3px 4px; } .tv-pro-badge i { width: 18px; height: 18px; } }

/* secciones de la portada */
.tvh-sec { padding: 0 24px; margin: 28px 0 0; }
.tvh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tvh-head h2 { margin: 0; font-size: 24px; font-weight: 800; color: var(--tv-ink); }
.tvh-head p { margin: 3px 0 0; font-size: 13px; color: var(--tv-muted); }
.tvh-head a.more { font-weight: 700; font-size: 14px; color: #C8003D; white-space: nowrap; }
.tvh-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.tvh-row .columncls { margin: 0 !important; }
.tvh-pro { margin: 28px 24px 0; padding: 22px 24px 26px; background: #FFFBF0; border: 1px solid #F3E6BF; border-radius: 24px; }
.tvh-line { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8A6400; margin-bottom: 16px; }
.tvh-line::before, .tvh-line::after { content: ""; flex: 1; height: 1px; background: #E8D9A8; }
.tvh-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tvh-chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #D5D9E2; background: #fff; color: var(--tv-ink); font-family: inherit; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.tvh-chip.on { background: var(--tv-ink); border-color: var(--tv-ink); color: #fff; }
.tvh-chip .dot { width: 10px; height: 10px; border-radius: 50%; }
.tvh-pro .tvh-row .columncls[hidden] { display: none !important; }
.tvh-empty { color: var(--tv-muted); font-size: 14px; }
@media (min-width: 1800px) { .tvh-sec { padding: 0 32px; } .tvh-pro { margin: 28px 32px 0; } }
@media (max-width: 767px) {
  .tvh-sec { padding: 0 12px; margin-top: 18px; }
  .tvh-head h2 { font-size: 19px; }
  .tvh-row { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; }
  .tvh-row::-webkit-scrollbar { display: none; }
  .tvh-row .columncls { flex: 0 0 168px; scroll-snap-align: start; }
  .tvh-pro { margin: 18px 0 0; border-radius: 0; border-left: 0; border-right: 0; padding: 18px 12px; }
  .tvh-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .tvh-chip { flex: none; height: 38px; padding: 0 14px; }
}
.tvh-row .columncls { width: auto !important; float: none !important; padding: 0 !important; min-width: 0; }
.tvh-row .columncls .item.product, .tvh-row .columncls .grid, .tvh-row .columncls .image-grid { width: auto !important; float: none !important; }
