/* =====================================================================
 * TeVendo - Perfil, mis anuncios, promociones, notificaciones y mensajes
 * ===================================================================== */
.container:has(.profile-vertical-tab-section), .container:has(.message-container), .container:has(.chat-container) { width: auto !important; max-width: 1320px; padding: 0 24px; }
.profile-vertical-tab-section { display: grid !important; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; float: none !important; width: 100% !important; clear: both; box-sizing: border-box; padding: 0 !important; margin: 8px 0 32px; }
.profile-vertical-tab-section::before, .profile-vertical-tab-section::after { display: none !important; }

/* ---------- tarjeta del usuario y menú ---------- */
ul.profile-vertical-tab-container { float: none !important; width: auto !important; margin: 0 !important; padding: 22px 14px 14px !important; background: #fff !important; border: 1px solid #E6E8EE !important; border-radius: 20px !important; box-shadow: none !important; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
ul.profile-vertical-tab-container > li { float: none !important; width: auto !important; border: 0 !important; margin: 0 !important; background: none !important; }
ul.profile-vertical-tab-container .profile-icon-cnt, ul.profile-vertical-tab-container .profile-details { float: none !important; width: auto !important; padding: 0 !important; text-align: center; }
ul.profile-vertical-tab-container .profile-page-profile-icon { width: 96px !important; height: 96px !important; margin: 0 auto 10px !important; border-radius: 50% !important; background-size: cover !important; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #E6E8EE; }
ul.profile-vertical-tab-container .profile-user-name { font-size: 19px !important; font-weight: 800 !important; color: #1B1F2A !important; margin-top: 4px; }
ul.profile-vertical-tab-container .profile-country-name { font-size: 13px !important; color: #5E6473 !important; margin: 2px 0 10px; }
ul.profile-vertical-tab-container .seller-verification { float: none !important; width: auto !important; margin-bottom: 14px; }
ul.profile-vertical-tab-container .seller-verification .text-align-center { display: flex; justify-content: center; gap: 8px; }
ul.profile-vertical-tab-container .seller-verification .text-align-center > div { float: none !important; margin: 0 !important; }
ul.profile-vertical-tab-container > li > a { display: flex !important; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px !important; border-radius: 12px !important; border: 0 !important; background: none !important; color: #3D4250 !important; font-size: 14px !important; font-weight: 600 !important; text-align: left !important; margin: 0 !important; }
ul.profile-vertical-tab-container > li > a:hover { background: #F5F6FA !important; color: #1B1F2A !important; }
ul.profile-vertical-tab-container > li.active > a, ul.profile-vertical-tab-container > li > a.active { background: #FFF0F4 !important; color: #C8003D !important; font-weight: 800 !important; }
ul.profile-vertical-tab-container > li > a::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .35; }
ul.profile-vertical-tab-container > li:first-child { padding-bottom: 12px !important; margin-bottom: 8px !important; border-bottom: 1px solid #EEF0F4 !important; }

/* ---------- contenido ---------- */
.profile-vertical-tab-section > .tab-content { float: none !important; width: auto !important; min-height: 420px; padding: 22px 24px !important; background: #fff !important; border: 1px solid #E6E8EE !important; border-radius: 20px !important; box-shadow: none !important; }
.profile-vertical-tab-section .profile-tab-content, .profile-vertical-tab-section .tab-pane { float: none !important; width: auto !important; padding: 0 !important; }
.profile-vertical-tab-section .profile-tab-content-heading { float: none !important; width: auto !important; padding: 0 0 16px !important; margin: 0 0 18px !important; border-bottom: 1px solid #EEF0F4 !important; font-size: 22px !important; font-weight: 800 !important; color: #1B1F2A !important; }
.profile-vertical-tab-section .profile-tab-content-heading * { font-size: inherit; font-weight: inherit; }
/* pestañas internas (Urgente / Anuncio / Vencido, Recibidos / Enviados…) */
.profile-vertical-tab-section .tab-content .nav-tabs { border: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px !important; padding: 0 0 16px !important; border-bottom: 1px solid #EEF0F4 !important; float: none !important; width: auto !important; }
.profile-vertical-tab-section .tab-content .nav-tabs > li { float: none !important; margin: 0 !important; }
.profile-vertical-tab-section .tab-content .nav-tabs > li > a { border: 1px solid #D5D9E2 !important; border-radius: 999px !important; padding: 8px 16px !important; background: #fff !important; color: #1B1F2A !important; font-weight: 700 !important; font-size: 14px !important; text-transform: none !important; margin: 0 !important; }
.profile-vertical-tab-section .tab-content .nav-tabs > li.active > a, .profile-vertical-tab-section .tab-content .nav-tabs > li > a.active { background: #1B1F2A !important; border-color: #1B1F2A !important; color: #fff !important; }

/* ---------- mis anuncios (rejilla) ---------- */
.profile-listing-product-cnt { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; float: none !important; width: auto !important; padding: 0 !important; }
.profile-listing-product-cnt::before, .profile-listing-product-cnt::after { display: none !important; }
.profile-listing-product { float: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
.profile-listing-product .image-container { position: relative; float: none !important; width: auto !important; aspect-ratio: 5 / 6; height: auto !important; border-radius: 18px !important; overflow: hidden; box-shadow: 0 1px 2px rgba(27, 31, 42, .06), 0 6px 18px -10px rgba(27, 31, 42, .25); }
.profile-listing-product .imghoverproductlist, .profile-listing-product .product_view, .profile-listing-product .product_view > a, .profile-listing-product .productimage { position: absolute !important; inset: 0; height: auto !important; width: auto !important; }
.profile-listing-product .productimage { background-size: cover !important; background-position: center !important; }
.profile-listing-product .profile-listing-opacity-bg { position: absolute !important; left: 0; right: 0; bottom: 0; top: auto !important; height: 55% !important; background: linear-gradient(rgba(17, 20, 28, 0), rgba(17, 20, 28, .78)) !important; opacity: 1 !important; z-index: 1; pointer-events: none; }
.profile-listing-product .listingProducts { position: absolute !important; left: 12px; right: 12px; bottom: 12px; top: auto !important; z-index: 2; color: #fff !important; font-weight: 800; font-size: 15px; line-height: 1.3; text-align: left !important; pointer-events: none; }
.profile-listing-product .listingProducts span { color: #fff !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.profile-listing-product .listingDotsPosition { position: absolute !important; top: 10px !important; right: 10px !important; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: flex !important; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(27, 31, 42, .2); cursor: pointer; }
.profile-listing-product .dropdown-menu { border: 1px solid #E6E8EE !important; border-radius: 12px !important; box-shadow: 0 16px 34px -12px rgba(27, 31, 42, .35) !important; padding: 6px !important; }
.profile-listing-product .dropdown-menu li a { border-radius: 8px; padding: 9px 12px !important; font-weight: 600; font-size: 14px; }
.profile-listing-product .dropdown-menu li a:hover { background: #F5F6FA !important; }

/* ---------- estados vacíos ---------- */
.profile-vertical-tab-section .no-item, .profile-vertical-tab-section .empty-page, .profile-vertical-tab-section [class*="no-data"] { text-align: center; color: #5E6473; padding: 30px 0; }
.profile-vertical-tab-section img[src*="empty"], .profile-vertical-tab-section img[src*="no-item"] { max-width: 220px; opacity: .85; }

/* ---------- celular ---------- */
@media (max-width: 991px) {
  .container:has(.profile-vertical-tab-section) { padding: 0 12px; }
  .profile-vertical-tab-section { grid-template-columns: 1fr; gap: 12px; }
  ul.profile-vertical-tab-container { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 14px !important; gap: 8px; scrollbar-width: none; }
  ul.profile-vertical-tab-container > li:first-child { flex: 0 0 100%; border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; display: none !important; }
  ul.profile-vertical-tab-container > li { flex: none; }
  ul.profile-vertical-tab-container > li > a { min-height: 40px; padding: 8px 14px !important; border: 1px solid #D5D9E2 !important; border-radius: 999px !important; white-space: nowrap; }
  ul.profile-vertical-tab-container > li > a::after { display: none; }
  .profile-vertical-tab-section > .tab-content { padding: 16px !important; border-radius: 16px !important; min-height: 0; }
  .profile-listing-product-cnt { grid-template-columns: 1fr 1fr; gap: 10px; }
  .profile-vertical-tab-section .profile-tab-content-heading { font-size: 18px !important; }
}
@media (max-width: 991px) {
  /* en el celular, la foto y el nombre van arriba en una tarjeta propia */
  .profile-vertical-tab-section::before { content: none; }
}
.container:has(> .profile-vertical-tab-section) { display: block !important; }
.profile-listing-product .listingProducts { display: block !important; opacity: 1 !important; visibility: visible !important; }
.profile-listing-product .listingDotsPosition > * { display: flex !important; }
.profile-listing-product .listingDotsPosition { background: rgba(255, 255, 255, .95) center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B1F2A'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='12' cy='19' r='2'/%3E%3C/svg%3E") !important; }
.profile-listing-product .listingDotsPosition > *:not(.dropdown-menu) { opacity: 0 !important; }

/* =================== Cuentas profesionales: planes y solicitud =================== */
.tvp-plans, .tvp-apply, .tvp-list { max-width: 1240px; margin: 0 auto; padding: 32px 24px 48px; color: #1B1F2A; }
.tvp-list { max-width: none; padding: 24px 24px 48px; }
.tvp-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 32px; }
.tvp-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tvp-hero h1 { margin: 6px 0 0; font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.tvp-hero p { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.55; color: #3D4250; }
.tvp-mine { font-weight: 800; color: #C8003D !important; }
.tvp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.tvp-plan { background: #fff; border: 1px solid #E6E8EE; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.tvp-plan h2 { margin: 0; font-size: 22px; font-weight: 800; }
.tvp-plan p { margin: 6px 0 0; font-size: 14px; color: #5E6473; line-height: 1.5; }
.tvp-price { display: flex; align-items: baseline; gap: 6px; }
.tvp-price b { font-size: 32px; font-weight: 800; }
.tvp-price span { color: #5E6473; font-size: 14px; }
.tvp-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tvp-plan li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: #2B3040; }
.tvp-plan li i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); display: flex; align-items: center; justify-content: center; }
.tvp-cta { margin-top: auto; height: 50px; border-radius: 12px; background: var(--acc); color: #fff !important; font-weight: 800; display: flex; align-items: center; justify-content: center; text-decoration: none !important; }
.tvp-cta.dark { background: #1B1F2A; }
.tvp-how { margin-top: 28px; background: #fff; border: 1px solid #E6E8EE; border-radius: 24px; padding: 24px 26px; }
.tvp-how h2 { margin: 0 0 18px; font-size: 20px; font-weight: 800; }
.tvp-how > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.tvp-step { display: flex; gap: 12px; }
.tvp-step span { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #FFF0F4; color: #C8003D; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tvp-step p { margin: 2px 0 0; font-size: 13px; color: #5E6473; }
.tvp-apply { max-width: 860px; }
.tvp-flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.tvp-flash.success { background: #E7F7EF; color: #0F5132; } .tvp-flash.error { background: #FDECEF; color: #9E0030; }
.tvp-status { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 20px; border-radius: 18px; margin-bottom: 18px; background: #fff; border: 1px solid #E6E8EE; }
.tvp-status > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.tvp-status span { font-size: 14px; font-weight: 700; }
.tvp-status.ok span { color: #116B47; } .tvp-status.wait span { color: #B45309; } .tvp-status.no span { color: #B00035; }
.tvp-card { background: #fff; border: 1px solid #E6E8EE; border-radius: 20px; padding: 22px 24px; margin-bottom: 16px; }
.tvp-card h2 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.tvp-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tvp-type { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid #D5D9E2; text-decoration: none !important; color: #1B1F2A !important; }
.tvp-type.on { border: 2px solid #E40046; background: #FFF6F9; }
.tvp-type b { font-size: 20px; } .tvp-type small { color: #5E6473; margin-top: -6px; }
.tvp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tvp-fields label, .tvp-ref { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; margin: 0; }
.tvp-fields label.wide { grid-column: 1 / -1; }
.tvp-fields input, .tvp-fields textarea, .tvp-ref input { border: 1px solid #C9CDD8; border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 500; min-height: 44px; }
.tvp-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; } .tvp-thumb.wide { width: 160px; }
.tvp-pay { display: flex; flex-direction: column; gap: 10px; }
.tvp-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid #D5D9E2; border-radius: 14px; cursor: pointer; margin: 0; }
.tvp-opt:has(input:checked) { border: 2px solid #E40046; background: #FFF6F9; }
.tvp-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: #E40046; }
.tvp-opt span { display: flex; flex-direction: column; gap: 3px; } .tvp-opt small { color: #5E6473; font-size: 13px; line-height: 1.5; }
.tvp-submit { width: 100%; height: 52px; border: 0; border-radius: 12px; background: #E40046; color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; }
.tvp-muted { color: #5E6473; }
.tvp-join { margin-top: 24px; font-weight: 700; } .tvp-join a { color: #C8003D !important; }
@media (max-width: 767px) {
  .tvp-plans, .tvp-apply, .tvp-list { padding: 18px 12px 110px; }
  .tvp-hero h1 { font-size: 26px; } .tvp-hero p { font-size: 15px; }
  .tvp-fields { grid-template-columns: 1fr; }
  .tvp-list .tvh-row { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .tvp-list .tvh-row .columncls { flex: none; }
}

/* encabezado de tienda / agente / dealer en el perfil */
.tvph { grid-column: 1 / -1; margin: 8px 0 18px; }
.tvph-cover { height: 200px; border-radius: 24px 24px 0 0; background: #1B1F2A center / cover no-repeat; }
.tvph-card { position: relative; margin: -60px 20px 0; background: #fff; border-radius: 22px; padding: 20px 22px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.tvph-store .tvph-card { box-shadow: 0 0 0 2px #7C3AED, 0 18px 40px -24px rgba(27, 31, 42, .4); }
.tvph-agent .tvph-card { box-shadow: 0 0 0 2px #1D74C9, 0 18px 40px -24px rgba(27, 31, 42, .4); }
.tvph-dealer .tvph-card { box-shadow: 0 0 0 2px #E8B931, 0 18px 40px -24px rgba(27, 31, 42, .4); }
.tvph-logo { width: 96px; height: 96px; border-radius: 22px; background: #F1F2F5 center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; color: #5E6473; flex: none; }
.tvph-info { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.tvph-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tvph-title h1 { margin: 0; font-size: 26px; font-weight: 800; color: #1B1F2A; }
.tvph-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; color: #5E6473; }
.tvph-meta .ok { color: #116B47; font-weight: 700; }
.tvph-info p { margin: 0; font-size: 14px; line-height: 1.5; color: #3D4250; }
.tvph-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.tvph-acts a { height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 800; display: flex; align-items: center; text-decoration: none !important; }
.tvph-acts .wa { background: #25D366; color: #06210F !important; }
.tvph-acts .call { border: 1px solid #D5D9E2; color: #1B1F2A !important; }
.tvph-edit { position: absolute; top: -48px; right: 0; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #1B1F2A !important; font-weight: 700; font-size: 13px; display: flex; align-items: center; text-decoration: none !important; }
.tvph-invite { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 8px 0 16px; padding: 14px 18px; border-radius: 18px; background: #FFFBF0; border: 1px solid #F3E6BF; color: #1B1F2A !important; text-decoration: none !important; font-size: 14px; }
.tvph-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.tvph-invite .go { margin-left: auto; font-weight: 800; color: #C8003D; }
@media (max-width: 767px) {
  .tvph-cover { height: 130px; border-radius: 16px 16px 0 0; }
  .tvph-card { margin: -40px 8px 0; padding: 16px; gap: 14px; }
  .tvph-logo { width: 72px; height: 72px; border-radius: 18px; }
  .tvph-title h1 { font-size: 20px; }
}

/* vista previa en la página de planes */
.tvp-preview { margin-top: 28px; background: #fff; border: 1px solid #E6E8EE; border-radius: 24px; padding: 26px; }
.tvp-preview h2 { margin: 0; font-size: 24px; font-weight: 800; text-align: center; }
.tvp-prev-sub { margin: 6px auto 16px; max-width: 620px; text-align: center; color: #5E6473; font-size: 15px; line-height: 1.5; }
.tvp-prev-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tvp-prev-tab { border: 2px solid transparent; background: none; padding: 4px; border-radius: 999px; cursor: pointer; opacity: .6; transition: opacity .15s; }
.tvp-prev-tab.on { opacity: 1; border-color: #1B1F2A; }
.tvp-prev-pane { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }
.tvp-prev-pane[hidden] { display: none; }
.tvp-prev-card, .tvp-prev-profile { position: relative; background: #fff; border-radius: 22px; }
.tvp-prev-card { padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.tvp-prev-card.tv-pro-card-store, .tvp-prev-profile.tvph-store { box-shadow: 0 0 0 2px #7C3AED; }
.tvp-prev-card.tv-pro-card-agent, .tvp-prev-profile.tvph-agent { box-shadow: 0 0 0 2px #1D74C9; }
.tvp-prev-card.tv-pro-card-dealer, .tvp-prev-profile.tvph-dealer { box-shadow: 0 0 0 2px #E8B931, 0 10px 24px -14px rgba(192, 138, 0, .6); }
.tvp-prev-img { position: relative; aspect-ratio: 5 / 6; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.tvp-prev-price { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 2px 8px rgba(27, 31, 42, .18); }
.tvp-prev-card b { font-size: 15px; padding: 0 4px; }
.tvp-prev-card .tv-pro-name { padding: 0 4px !important; }
.tvp-prev-card small { padding: 0 4px 4px; color: #5E6473; font-size: 12px; }
.tvp-preview em { position: absolute; top: -12px; right: 14px; padding: 4px 10px; border-radius: 999px; background: #1B1F2A; color: #fff; font-size: 11px; font-weight: 800; font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.tvp-prev-profile { overflow: visible; padding-bottom: 16px; }
.tvp-prev-cover { height: 140px; border-radius: 22px 22px 0 0; background: #1B1F2A; display: flex; align-items: center; justify-content: center; color: #8C93A3; font-weight: 700; font-size: 13px; }
.tvp-prev-head { display: flex; gap: 16px; align-items: flex-end; padding: 0 20px; margin-top: -36px; }
.tvp-prev-logo { width: 84px; height: 84px; border-radius: 20px; background: #F1F2F5; border: 4px solid #fff; display: flex; align-items: center; justify-content: center; color: #5E6473; font-weight: 800; font-size: 13px; flex: none; }
.tvp-prev-head > div { display: flex; flex-direction: column; gap: 6px; padding-top: 44px; }
.tvp-prev-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tvp-prev-title b { font-size: 20px; font-weight: 800; }
.tvp-prev-head small { color: #116B47; font-weight: 700; font-size: 13px; }
.tvp-prev-btns { display: flex; gap: 8px; }
.tvp-prev-btns span { height: 36px; padding: 0 14px; border-radius: 10px; font-weight: 800; font-size: 13px; display: flex; align-items: center; }
.tvp-prev-btns .wa { background: #25D366; color: #06210F; }
.tvp-prev-btns .call { border: 1px solid #D5D9E2; }
.tvp-prev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px 0; }
.tvp-prev-grid i { aspect-ratio: 4 / 3; border-radius: 12px; }
@media (max-width: 767px) {
  .tvp-preview { padding: 18px 14px; }
  .tvp-preview h2 { font-size: 20px; }
  .tvp-prev-pane { grid-template-columns: 1fr; gap: 22px; }
  .tvp-prev-card { max-width: 260px; margin: 0 auto; }
  .tvp-prev-head { padding: 0 12px; gap: 10px; }
  .tvp-prev-logo { width: 64px; height: 64px; }
}

/* =================== Reputación y verificación =================== */
.tvr-stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.tvr-verified { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #E7F7EF; color: #116B47; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tvr-verified.m { font-size: 13px; padding: 5px 12px; }
.tvr-unver { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #F1F2F5; color: #5E6473; font-size: 12px; font-weight: 700; }
.tvr-page { max-width: 1240px; margin: 0 auto; padding: 24px 24px 48px; display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 22px; align-items: start; color: #1B1F2A; }
.tvr-page > .tvp-flash { grid-column: 1 / -1; }
.tvr-card { background: #fff; border: 1px solid #E6E8EE; border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; position: sticky; top: 16px; }
.tvr-photo { position: relative; width: 96px; height: 96px; border-radius: 50%; background: #E3E9FB center / cover no-repeat; color: #2747A8; font-weight: 800; font-size: 36px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #E6E8EE; }
.tvr-photo.ver { box-shadow: 0 0 0 4px #fff, 0 0 0 6px #16855A; }
.tvr-chip { position: absolute; right: -8px; bottom: -4px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px; background: #1B1F2A; color: #fff; font-size: 12px; font-weight: 800; border: 2px solid #fff; }
.tvr-card h1 { margin: 6px 0 0; font-size: 22px; font-weight: 800; }
.tvr-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #5E6473; }
.tvr-line b { color: #1B1F2A; }
.tvr-city { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #3D4250; }
.tvr-top { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #FFF4E5; color: #8A4B00; font-size: 12px; font-weight: 800; }
.tvr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.tvr-stats > div { padding: 12px 6px; border-radius: 14px; background: #F7F8FA; display: flex; flex-direction: column; }
.tvr-stats b { font-size: 20px; font-weight: 800; } .tvr-stats span { font-size: 12px; color: #5E6473; }
.tvr-btn { width: 100%; height: 46px; border-radius: 12px; border: 1px solid #D5D9E2; font-weight: 700; display: flex; align-items: center; justify-content: center; text-decoration: none !important; color: #1B1F2A !important; }
.tvr-main { background: #fff; border: 1px solid #E6E8EE; border-radius: 22px; padding: 22px 26px; }
.tvr-sum { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #EEF0F4; }
.tvr-big { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tvr-big b { font-size: 54px; font-weight: 800; line-height: 1; } .tvr-big span { font-size: 13px; color: #5E6473; }
.tvr-bars { display: flex; flex-direction: column; gap: 8px; }
.tvr-bars > div { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.tvr-bars > div > span { width: 12px; text-align: right; font-weight: 700; }
.tvr-bars i { flex: 1; height: 8px; border-radius: 99px; background: #EEF0F4; overflow: hidden; }
.tvr-bars em { display: block; height: 100%; background: #F5A524; }
.tvr-bars small { width: 30px; color: #5E6473; }
.tvr-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 6px; }
.tvr-filters a { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5D9E2; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; color: #1B1F2A !important; text-decoration: none !important; }
.tvr-filters a.on { background: #FFF0F4; border-color: #FFF0F4; color: #C8003D !important; font-weight: 800; }
.tvr-filters .tvr-rate { margin-left: auto; background: #E40046; border-color: #E40046; color: #fff !important; }
.tvr-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid #EEF0F4; }
.tvr-item:first-of-type { border-top: 0; }
.tvr-ava { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #F1E8FF center / cover no-repeat; color: #6B3FD1; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tvr-item > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tvr-item-top { display: flex; justify-content: space-between; gap: 10px; } .tvr-item-top small { color: #5E6473; }
.tvr-item-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: #5E6473; }
.tvr-item-meta .ok { color: #116B47; font-weight: 700; }
.tvr-item p { margin: 0; font-size: 14px; line-height: 1.55; color: #2B3040; }
.tvr-tags { display: flex; gap: 6px; flex-wrap: wrap; } .tvr-tags span { padding: 4px 10px; border-radius: 999px; background: #F1F2F5; font-size: 12px; font-weight: 700; }
.tvr-empty { color: #5E6473; padding: 20px 0; }
.tvr-rate-page, .tvr-kyc { max-width: 640px; margin: 0 auto; padding: 24px 16px 110px; color: #1B1F2A; }
.tvr-rate-page h1 { font-size: 24px; font-weight: 800; margin: 0 0 16px; }
.tvr-form { background: #fff; border: 1px solid #E6E8EE; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.tvr-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tvr-form legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; width: 100%; }
.tvr-opt { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid #D5D9E2; font-weight: 700; cursor: pointer; margin: 0; }
.tvr-opt:has(input:checked) { border: 2px solid #E40046; background: #FFF6F9; }
.tvr-field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 14px; margin: 0; }
.tvr-field select, .tvr-field textarea { border: 1px solid #C9CDD8; border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 500; min-height: 44px; }
.tvr-starpick { flex-direction: row-reverse; justify-content: flex-end; }
.tvr-starpick legend { order: 99; }
.tvr-starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tvr-starpick label { cursor: pointer; padding: 2px; }
.tvr-starpick label svg { fill: none; stroke: #F5A524; stroke-width: 1.4; }
.tvr-starpick input:checked ~ label svg, .tvr-starpick label:hover svg, .tvr-starpick label:hover ~ label svg { fill: #F5A524; }
.tvr-starpick input:focus-visible + label { outline: 2px solid #1B1F2A; border-radius: 6px; }
.tvr-tagpick { display: flex; gap: 8px; flex-wrap: wrap; }
.tvr-tagpick label { margin: 0; cursor: pointer; }
.tvr-tagpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tvr-tagpick span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5D9E2; font-weight: 700; font-size: 13px; }
.tvr-tagpick input:checked + span { border: 2px solid #E40046; background: #FFF0F4; color: #C8003D; }
.tvr-tagpick input:focus-visible + span { outline: 2px solid #1B1F2A; }
.tvr-note { margin: 0; font-size: 12px; color: #5E6473; }
.tvr-kyc-hero { background: #1B1F2A; color: #fff; border-radius: 18px; padding: 18px; display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.tvr-kyc-hero > span { width: 52px; height: 52px; border-radius: 14px; background: #16855A; display: flex; align-items: center; justify-content: center; flex: none; }
.tvr-kyc-hero p { margin: 4px 0 0; font-size: 13px; color: #D6DAE3; }
.tvr-kyc-manual fieldset { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.tvr-kyc-manual legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.tvr-kyc-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tvr-kyc-files label { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 2px dashed #C9CDD8; border-radius: 12px; font-weight: 700; font-size: 13px; margin: 0; }
.tvr-kyc-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
/* reputación en la tarjeta del vendedor (anuncio) */
.tvx-rep { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: #5E6473; }
.tvx-rep b { color: #1B1F2A; }
.tvx-rep-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.tvx-rep-stats div { padding: 10px 6px; border-radius: 12px; background: #F7F8FA; display: flex; flex-direction: column; }
.tvx-rep-stats b { font-size: 18px; } .tvx-rep-stats span { font-size: 12px; color: #5E6473; }
.tvx-rep-last { padding: 12px 14px; border-radius: 14px; background: #FAFBFC; border: 1px solid #EEF0F4; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.tvx-rep-last p { margin: 0; color: #2B3040; }
@media (max-width: 860px) {
  .tvr-page { grid-template-columns: 1fr; padding: 16px 12px 110px; }
  .tvr-card { position: static; }
  .tvr-main { padding: 16px; }
  .tvr-sum { grid-template-columns: 1fr; gap: 14px; }
  .tvr-filters .tvr-rate { margin-left: 0; }
}
.tvr-side { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 6px 0 12px; }
.tvr-side .tvr-line { text-decoration: none !important; }
.tvr-side .tvr-stats { margin-top: 4px; }
.tvr-btn.red { background: #E40046; border-color: #E40046; color: #fff !important; }
.tvr-unver { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #FFF4E5; color: #8A4B00; border: 1px solid #F5D7A8; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tvr-unver.m { font-size: 13px; padding: 5px 12px; }
.tvr-col { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; }
.tvr-col .tvr-card { position: static; }
.tvr-invite { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 14px; border-radius: 16px; background: #ECF8F2; border: 1px solid #BFE6D2; color: #0F3D2B !important; text-decoration: none !important; text-align: left; }
.tvr-invite .ic { width: 42px; height: 42px; border-radius: 12px; background: #16855A; display: flex; align-items: center; justify-content: center; flex: none; }
.tvr-invite .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tvr-invite b { font-size: 14px; } .tvr-invite small { font-size: 12px; line-height: 1.4; color: #2D5F48; }
.tvr-invite .go { flex: none; padding: 6px 12px; border-radius: 999px; background: #16855A; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 860px) { .tvr-col { position: static; } }
@media (max-width: 991px) {
  /* celular: la tarjeta del usuario (foto, reputación, verificación) se muestra arriba del menú */
  ul.profile-vertical-tab-container { flex-wrap: wrap !important; overflow: visible !important; }
  ul.profile-vertical-tab-container > li:first-child { display: block !important; flex: 0 0 100% !important; padding-bottom: 12px !important; margin-bottom: 4px !important; border-bottom: 1px solid #EEF0F4 !important; }
}

/* ajustes de ubicación en las secciones del perfil */
.profile-vertical-tab-section { grid-template-columns: 340px minmax(0, 1fr) !important; }
.profile-listing-product-cnt { width: 100% !important; clear: both; }
.profile-vertical-tab-section .tab-content > div, .profile-vertical-tab-section .tab-pane, .profile-vertical-tab-section .recent-activities-tab-content { width: 100% !important; float: none !important; }
.profile-vertical-tab-section .recent-activities-tab { margin-bottom: 18px !important; }
.profile-vertical-tab-section .classified-loader { position: absolute; left: 50%; top: 120px; transform: translateX(-50%); }
/* invitación a verificarse dentro de la tarjeta: apilada */
ul.profile-vertical-tab-container .tvr-invite { flex-wrap: wrap; }
ul.profile-vertical-tab-container .tvr-invite .tx { flex: 1 1 160px; }
ul.profile-vertical-tab-container .tvr-invite .go { width: 100%; text-align: center; padding: 8px 12px; margin-top: 2px; box-sizing: border-box; }
@media (max-width: 991px) { .profile-vertical-tab-section { grid-template-columns: 1fr !important; } }
