@import url('./neutral_base.css');

:root {
  --tv-home-width: 1320px;
  --tv-home-border-soft: rgba(104, 86, 102, 0.14);
  --tv-home-shadow-soft: 0 18px 50px rgba(104, 86, 102, 0.10);
  --tv-home-shadow-strong: 0 30px 80px rgba(104, 86, 102, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f8f6fb 0%, #fcfbfd 100%);
  color: var(--tv-color-text);
  font-family: var(--tv-font-base);
}

body.tv_body_bloqueado {
  overflow: hidden;
}

body.tv_loader_visible {
  overflow: hidden;
}

.tv_page,
.tv_pagina_modulo,
.tv_tienda {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tv_container {
  width: min(calc(100% - 48px), var(--tv-home-width));
  margin: 0 auto;
}

.tv_topbar {
  display: none;
}

.tv_header,
.tv_shell,
.tv_section,
.tv_footer,
.tv_home_cta_block,
.tv_home_hero {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
}

.tv_header_publico {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(248, 246, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(191, 175, 208, 0.42);
}

.tv_header_superior {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
}

.tv_header_marca,
.tv_header_centro,
.tv_header_acciones {
  display: flex;
  align-items: center;
}

.tv_header_centro {
  justify-content: center;
}

.tv_logo_link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.tv_logo_marca {
  display: inline-flex;
  align-items: center;
}

.tv_logo_imagen {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.tv_nav {
  justify-content: center;
  gap: 10px;
}

.tv_nav_link {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(104, 86, 102, 0.18);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.72);
  background-image: linear-gradient(135deg, #DDD4E7 0%, #9B7EBD 55%, #D4B6CA 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  color: var(--tv-color-text);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  transition: background-size 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.2s ease, box-shadow 0.35s ease;
}

.tv_nav_link:hover,
.tv_nav_link:focus-visible,
.tv_nav_link_activo {
  color: #ffffff;
  background-size: 100% 100%;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(155, 126, 189, 0.28);
  transform: translateY(-1px);
}

.tv_header_acciones {
  justify-content: flex-end;
  gap: 12px;
}

.tv_btn_icono_header {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(104, 86, 102, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: var(--tv-color-text);
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.35s ease, background 0.35s ease;
}

.tv_btn_icono_header:hover,
.tv_btn_icono_header:focus-visible,
.tv_btn_icono_header_activo {
  transform: translateY(-1px);
  background: #9B7EBD;
  color: #ffffff;
  border-color: transparent;
}

.tv_btn_icono_header_activo {
  box-shadow: 0 12px 26px rgba(155, 126, 189, 0.22);
}

.tv_btn_icono_header svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv_btn_carrito_encabezado {
  overflow: hidden;
}

.tv_contador_inline {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #685666;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tv_contador_inline_vacio {
  display: none;
}

.tv_page_loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 246, 251, 0.94);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.tv_page_loader_oculto {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tv_page_loader_panel {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
}

.tv_page_loader_ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(191, 175, 208, 0.28);
  border-top-color: #BFAFD0;
  animation: tv_loader_giro 0.9s linear infinite;
}

.tv_page_loader_logo {
  width: 148px;
  height: auto;
  object-fit: contain;
}

.tv_page_loader_texto {
  font-family: var(--tv-font-heading);
  font-size: 2rem;
  color: var(--tv-color-text);
}

@keyframes tv_loader_giro {
  to {
    transform: rotate(360deg);
  }
}

.tv_home_section,
.tv_home_hero_section {
  width: 100%;
}

.tv_home_hero_section {
  padding: 42px 0 32px;
}

.tv_home_hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: 620px;
  padding: 52px;
  border: 1px solid var(--tv-home-border-soft);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.82) 0%, rgba(212, 182, 202, 0.62) 100%);
  box-shadow: var(--tv-home-shadow-soft);
}

.tv_home_hero_copy h1 {
  margin: 0 0 24px;
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
  font-size: clamp(3rem, 5vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.tv_home_hero_copy p,
.tv_home_section_head p,
.tv_home_banner_copy p,
.tv_home_cta_panel p,
.tv_footer_bloque p,
.tv_footer_lista span,
.tv_footer_lista a {
  color: var(--tv-color-text-soft);
  font-size: 1.03rem;
  line-height: 1.8;
}

.tv_home_kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: #8A7A88;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.tv_home_hero_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.tv_home_hero_actions > .tv_btn {
  position: relative;
  isolation: isolate;
  pointer-events: auto;
  touch-action: manipulation;
}

.tv_home_hero_actions > * {
  position: relative;
}

.tv_btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.tv_btn:hover,
.tv_btn:focus-visible {
  transform: translateY(-1px);
}

.tv_btn_principal {
  background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(155, 126, 189, 0.28);
}

.tv_btn_secundario {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(104, 86, 102, 0.14);
  color: var(--tv-color-text);
}

.tv_home_hero_resumen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.tv_home_hero_resumen div {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.44);
}

.tv_home_hero_resumen strong {
  display: block;
  margin-bottom: 6px;
  color: var(--tv-color-text);
  font-size: 1.38rem;
  font-weight: 800;
}

.tv_home_hero_resumen span {
  color: var(--tv-color-text-soft);
  font-size: 0.95rem;
}

.tv_home_hero_visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv_home_hero_media {
  width: 100%;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(135deg, #DDD4E7 0%, #BFAFD0 100%);
  box-shadow: var(--tv-home-shadow-strong);
}

.tv_home_hero_media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.tv_home_hero_card {
  position: absolute;
  left: -24px;
  bottom: 28px;
  width: min(340px, calc(100% - 24px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tv-home-shadow-soft);
}

.tv_home_hero_card h2,
.tv_home_section_head h2,
.tv_home_banner_copy h2,
.tv_home_cta_panel h2 {
  margin: 12px 0 14px;
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
  font-size: clamp(2.1rem, 3vw, 3.35rem);
  line-height: 1.02;
}

.tv_home_hero_card h2 {
  font-size: 1.85rem;
}

.tv_home_hero_card p {
  margin: 0 0 14px;
}

.tv_home_link_inline {
  color: var(--tv-color-text);
  font-weight: 700;
  text-decoration: none;
}

.tv_home_section {
  padding: 44px 0;
}

.tv_home_section_light {
  background: #ffffff;
}

.tv_home_section_plain {
  background: transparent;
}

.tv_home_section_banner {
  padding-top: 18px;
}

.tv_home_section_head {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.tv_home_section_head_inline {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 24px;
  align-items: end;
  text-align: left;
  margin: 0 0 28px;
}

.tv_home_section_head h2 {
  margin-top: 0;
}

.tv_home_categories_grid,
.tv_home_products_grid,
.tv_home_services_grid {
  display: grid;
  gap: 24px;
}

.tv_home_categories_grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv_home_category_card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 420px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: var(--tv-home-shadow-soft);
}

.tv_home_category_card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(31, 25, 31, 0) 0%, rgba(31, 25, 31, 0.62) 100%);
}

.tv_home_category_card:hover .tv_home_category_media img,
.tv_home_category_card:focus-visible .tv_home_category_media img {
  transform: scale(1.05);
}

.tv_home_category_media,
.tv_home_category_media img {
  width: 100%;
  height: 100%;
}

.tv_home_category_media img {
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tv_home_category_label {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  color: #ffffff;
  font-family: var(--tv-font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.tv_home_products_grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tv_producto_card,
.tv_producto_card_tienda,
.tv_producto_card_comercial,
.tv_category_card,
.tv_campaign_card,
.tv_contact_card,
.tv_newsletter_card,
.tv_home_cta_block,
.tv_support_banner {
  border-radius: 26px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--tv-home-shadow-soft);
  padding: 18px;
}

.tv_producto_card_tienda {
  height: 100%;
}

.tv_producto_media_card,
.tv_producto_imagen {
  border-radius: 20px;
}

.tv_producto_media_card {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.86) 0%, rgba(212, 182, 202, 0.72) 100%);
}

.tv_producto_media_card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.tv_producto_contenido h3,
.tv_producto_contenido h3 a {
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
  font-size: 1.45rem;
  text-decoration: none;
}

.tv_producto_contenido p,
.tv_producto_extra,
.tv_stock,
.tv_rating {
  color: var(--tv-color-text-soft);
}

.tv_producto_meta strong {
  color: var(--tv-color-text);
  font-size: 1.15rem;
}

.tv_producto_acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tv_form_agregar_carrito {
  width: 100%;
}

.tv_form_agregar_carrito .tv_btn,
.tv_producto_acciones .tv_btn {
  width: 100%;
  justify-content: center;
}

.tv_home_banner_panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 30px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(191, 175, 208, 0.16) 0%, rgba(212, 182, 202, 0.16) 100%);
  box-shadow: var(--tv-home-shadow-soft);
}

.tv_home_banner_media {
  overflow: hidden;
  border-radius: 28px;
}

.tv_home_banner_media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.tv_home_services_section {
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.68) 0%, rgba(212, 182, 202, 0.48) 100%);
}

.tv_home_services_grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tv_home_service_card {
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.56);
  text-align: center;
  box-shadow: 0 14px 36px rgba(104, 86, 102, 0.08);
}

.tv_home_service_icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #ffffff;
  color: #8A7A88;
  font-size: 1.65rem;
}

.tv_home_service_card h3 {
  margin: 0 0 8px;
  color: var(--tv-color-text);
  font-size: 1.18rem;
}

.tv_home_service_card p {
  margin: 0;
  color: var(--tv-color-text-soft);
  line-height: 1.75;
}

.tv_home_section_cta {
  padding-top: 28px;
  padding-bottom: 54px;
}

.tv_home_cta_panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 36px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--tv-home-shadow-soft);
}

.tv_footer {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, rgba(221, 212, 231, 0.32) 0%, rgba(191, 175, 208, 0.18) 100%);
  border-top: 1px solid rgba(191, 175, 208, 0.34);
}

.tv_footer_contenido {
  width: min(calc(100% - 48px), var(--tv-home-width));
}

.tv_footer_columnas {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(180px, 1fr));
  gap: 28px;
  padding: 34px 0;
}

.tv_footer_bloque {
  margin: 0;
}

.tv_footer_bloque h3 {
  margin: 0 0 16px;
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
  font-size: 1.55rem;
}

.tv_logo_link_footer {
  margin-bottom: 16px;
}

.tv_logo_footer .tv_logo_imagen {
  height: 60px;
}

.tv_footer_social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.tv_footer_social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(104, 86, 102, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--tv-color-text);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.tv_footer_lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv_footer_lista li + li {
  margin-top: 10px;
}

.tv_footer_lista a {
  text-decoration: none;
}

.tv_footer_bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(104, 86, 102, 0.12);
  text-align: center;
}

.tv_footer_bottom p {
  margin: 0;
  color: var(--tv-color-text-soft);
}

.tv_flash_wrap {
  width: min(calc(100% - 48px), var(--tv-home-width));
  margin: 16px auto 0;
}

.tv_flash_ok {
  border-radius: 18px;
  border-color: rgba(104, 86, 102, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

.tv_drawer_backdrop {
  background: rgba(43, 32, 44, 0.34);
  backdrop-filter: blur(5px);
}

.tv_drawer_carrito {
  padding: 26px;
  border: 0;
  background: #ffffff;
  box-shadow: -24px 0 56px rgba(51, 39, 52, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s ease;
}

.tv_drawer_carrito_abierto {
  transform: translateX(0);
}

.tv_drawer_encabezado,
.tv_drawer_item_acciones,
.tv_drawer_botones,
.tv_header_acciones,
.tv_nav,
.tv_home_hero_actions,
.tv_producto_acciones,
.tv_footer_badges,
.tv_footer_nav,
.tv_drawer_item_acciones,
.tv_drawer_botones,
.tv_home_section_head_inline,
.tv_home_cta_panel {
  gap: 14px;
}

.tv_toast_contenedor {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2100;
}

.tv_toast {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--tv-home-shadow-soft);
}

@media (max-width: 1240px) {
  .tv_header_superior {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .tv_header_marca,
  .tv_header_centro,
  .tv_header_acciones {
    justify-content: center;
  }

  .tv_home_hero,
  .tv_home_banner_panel,
  .tv_home_section_head_inline,
  .tv_home_cta_panel,
  .tv_footer_columnas {
    grid-template-columns: 1fr;
  }

  .tv_home_products_grid,
  .tv_home_services_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .tv_container,
  .tv_footer_contenido,
  .tv_flash_wrap {
    width: min(calc(100% - 28px), var(--tv-home-width));
  }

  .tv_logo_imagen {
    height: 44px;
  }

  .tv_nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 4px;
    justify-content: flex-start;
  }

  .tv_nav_link {
    white-space: nowrap;
  }

  .tv_home_hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px;
  }

  .tv_home_hero_media img {
    height: 420px;
  }

  .tv_home_hero_card {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .tv_home_categories_grid,
  .tv_home_products_grid,
  .tv_home_services_grid {
    grid-template-columns: 1fr;
  }

  .tv_home_hero_resumen {
    grid-template-columns: 1fr;
  }

  .tv_home_category_card {
    min-height: 320px;
  }

  .tv_home_banner_media img {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .tv_header_superior {
    padding: 14px 0;
  }

  .tv_home_hero_section {
    padding-top: 24px;
  }

  .tv_home_hero_copy h1 {
    font-size: 2.65rem;
  }

  .tv_home_section {
    padding: 34px 0;
  }

  .tv_home_hero,
  .tv_home_banner_panel,
  .tv_home_cta_panel,
  .tv_footer_columnas {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tv_btn {
    width: 100%;
    justify-content: center;
  }

  .tv_home_hero_actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tv_home_hero_actions > .tv_btn {
    width: 100%;
  }

  .tv_home_hero_media img {
    height: 300px;
  }

  .tv_drawer_carrito {
    width: 100%;
  }
}


.tv_logo_imagen {
  height: 46px;
}

.tv_btn,
.tv_nav_link,
.tv_footer_lista a,
.tv_footer_social_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tv_btn {
  line-height: 1.15;
  letter-spacing: -0.01em;
}


.tv_btn_inicio_ver_catalogo {
  position: relative;
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.tv_btn_inicio_whatsapp {
  position: relative;
  z-index: 1;
}

.tv_btn_principal,
.tv_btn_secundario {
  min-width: 184px;
}

.tv_home_hero_copy h1 {
  max-width: 10ch;
}

.tv_home_hero_copy p,
.tv_home_section_head p,
.tv_home_banner_copy p,
.tv_home_cta_panel p,
.tv_home_service_card p,
.tv_producto_contenido p,
.tv_footer_bloque p {
  line-height: 1.7;
}

.tv_home_hero_media {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 24px 48px rgba(104, 86, 102, 0.16);
}

.tv_home_hero_media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, rgba(116, 95, 118, 0.08) 100%);
  pointer-events: none;
}

.tv_home_hero_card {
  width: min(360px, calc(100% - 40px));
  border: 1px solid rgba(104, 86, 102, 0.10);
  box-shadow: 0 18px 40px rgba(104, 86, 102, 0.12);
}

.tv_home_category_card,
.tv_producto_card_tienda,
.tv_home_service_card,
.tv_home_banner_panel,
.tv_home_cta_panel,
.tv_footer_social_link,
.tv_footer_lista a {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.tv_home_category_card:hover,
.tv_home_category_card:focus-visible,
.tv_producto_card_tienda:hover,
.tv_producto_card_tienda:focus-within,
.tv_home_service_card:hover,
.tv_home_banner_panel:hover,
.tv_home_cta_panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(104, 86, 102, 0.12);
}

.tv_home_category_label {
  left: 24px;
  right: 24px;
  bottom: 22px;
  font-size: 1.75rem;
  line-height: 1.05;
}

.tv_home_section_head_inline {
  align-items: end;
}

.tv_home_section_head_inline p {
  max-width: 560px;
}

.tv_producto_contenido {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tv_producto_extra {
  gap: 8px;
}

.tv_producto_acciones {
  display: flex;
  align-items: stretch;
  margin-top: auto;
}

.tv_producto_acciones > * {
  flex: 1 1 0;
  min-width: 0;
}

.tv_form_agregar_carrito {
  display: flex;
}

.tv_form_agregar_carrito .tv_btn,
.tv_producto_acciones .tv_btn {
  min-height: 52px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.tv_footer {
  border-top: 1px solid rgba(104, 86, 102, 0.10);
}

.tv_footer_social_link svg {
  width: 18px;
  height: 18px;
}

.tv_footer_social_link:hover,
.tv_footer_social_link:focus-visible {
  background: linear-gradient(135deg, #DDD4E7 0%, #D4B6CA 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(191, 175, 208, 0.28);
}

.tv_footer_lista a {
  justify-content: flex-start;
  color: var(--tv-color-text-soft);
}

.tv_footer_lista a:hover,
.tv_footer_lista a:focus-visible {
  color: var(--tv-color-text);
  transform: translateX(4px);
}

.tv_footer_contacto_link,
.tv_footer_lista span {
  color: var(--tv-color-text-soft);
}

.tv_home_section_plain,
.tv_home_section_banner,
.tv_home_section_cta,
.tv_home_section_light {
  overflow: hidden;
}

.tv_nav {
  flex-wrap: wrap;
}

.tv_nav_link {
  min-height: 46px;
  padding: 11px 18px;
}

@media (max-width: 1180px) {
  .tv_header_superior {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'marca acciones'
      'centro centro';
    row-gap: 14px;
    align-items: center;
  }

  .tv_header_marca {
    grid-area: marca;
    justify-content: flex-start;
  }

  .tv_header_centro {
    grid-area: centro;
    width: 100%;
    justify-content: flex-start;
  }

  .tv_header_acciones {
    grid-area: acciones;
    justify-content: flex-end;
  }

  .tv_nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .tv_nav::-webkit-scrollbar {
    display: none;
  }

  .tv_home_hero,
  .tv_home_banner_panel,
  .tv_home_section_head_inline,
  .tv_home_cta_panel,
  .tv_footer_columnas {
    grid-template-columns: 1fr;
  }

  .tv_home_products_grid,
  .tv_home_services_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tv_home_hero {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .tv_home_hero_copy h1,
  .tv_home_banner_copy h2,
  .tv_home_section_head h2 {
    max-width: none;
  }

  .tv_home_hero_card {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .tv_home_hero_media img,
  .tv_home_banner_media img {
    height: 360px;
  }

  .tv_home_categories_grid,
  .tv_home_products_grid,
  .tv_home_services_grid {
    grid-template-columns: 1fr;
  }

  .tv_home_hero_resumen {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tv_logo_imagen {
    height: 40px;
  }

  .tv_btn_principal,
  .tv_btn_secundario,
  .tv_producto_acciones .tv_btn,
  .tv_form_agregar_carrito .tv_btn {
    min-width: 0;
    width: 100%;
  }

  .tv_home_hero_actions,
  .tv_producto_acciones {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tv_home_hero_actions .tv_btn_inicio_ver_catalogo {
    position: relative;
    z-index: 5;
    margin-bottom: 0;
  }

  .tv_home_hero_actions .tv_btn_inicio_whatsapp {
    position: relative;
    z-index: 1;
    margin-top: 0;
  }

  .tv_home_hero_copy h1 {
    font-size: 2.5rem;
  }

  .tv_home_category_label {
    font-size: 1.5rem;
  }
}

.tv_btn_menu_movil,
.tv_mobile_backdrop,
.tv_mobile_menu {
  display: none;
}

.tv_home_category_label {
  font-family: var(--tv-font-base);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tv_btn,
.tv_producto_acciones .tv_btn,
.tv_form_agregar_carrito .tv_btn {
  font-family: var(--tv-font-base);
}

.tv_btn_principal,
.tv_btn_secundario {
  min-width: 192px;
}

.tv_producto_acciones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tv_producto_acciones .tv_btn,
.tv_form_agregar_carrito .tv_btn {
  min-height: 50px;
  padding: 0 14px;
  font-size: 0.95rem;
}

.tv_producto_contenido h3,
.tv_producto_contenido h3 a {
  font-size: 1.34rem;
  line-height: 1.12;
}

.tv_page_intro_section {
  padding: 42px 0 24px;
}

.tv_page_intro {
  display: grid;
  gap: 34px;
  align-items: stretch;
  padding: 38px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.58) 0%, rgba(212, 182, 202, 0.30) 100%);
  box-shadow: var(--tv-home-shadow-soft);
}

.tv_page_intro_split {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.tv_page_intro_copy h1 {
  margin: 0 0 16px;
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.tv_page_intro_copy p {
  margin: 0;
  color: var(--tv-color-text-soft);
  font-size: 1.04rem;
  line-height: 1.78;
}

.tv_page_intro_visual {
  overflow: hidden;
  border-radius: 30px;
  min-height: 100%;
  box-shadow: 0 24px 48px rgba(104, 86, 102, 0.14);
}

.tv_page_intro_visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.tv_page_metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.tv_page_metrics div,
.tv_contact_info_item,
.tv_contact_card_venus,
.tv_contact_faq_item {
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: var(--tv-home-shadow-soft);
}

.tv_page_metrics div {
  padding: 18px;
}

.tv_page_metrics strong,
.tv_contact_info_item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--tv-color-text);
  font-size: 1.28rem;
}

.tv_page_metrics span,
.tv_contact_info_item p,
.tv_contact_card_venus p,
.tv_contact_faq_item p {
  color: var(--tv-color-text-soft);
  line-height: 1.7;
}

.tv_contact_info_panel {
  display: grid;
  gap: 14px;
}

.tv_contact_info_item {
  padding: 24px;
}

.tv_contact_cards_grid,
.tv_contact_faq_grid {
  display: grid;
  gap: 18px;
}

.tv_contact_cards_grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv_contact_card_venus {
  padding: 24px;
}

.tv_contact_card_venus h3,
.tv_support_banner_venus h2,
.tv_contact_faq_item summary {
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
}

.tv_contact_card_venus h3 {
  margin: 12px 0 10px;
  font-size: 1.55rem;
}

.tv_contact_faq_item {
  padding: 0;
  overflow: hidden;
}

.tv_contact_faq_item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1.22rem;
}

.tv_contact_faq_item summary::-webkit-details-marker {
  display: none;
}

.tv_contact_faq_item[open] summary {
  border-bottom: 1px solid rgba(104, 86, 102, 0.10);
}

.tv_contact_faq_item p {
  margin: 0;
  padding: 18px 24px 24px;
}

.tv_support_banner_venus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.44) 0%, rgba(212, 182, 202, 0.22) 100%);
}

.tv_support_banner_venus p {
  margin: 0;
}

.tv_empty_state_venus {
  padding: 34px;
  border: 1px dashed rgba(104, 86, 102, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--tv-color-text-soft);
  text-align: center;
}

.tv_footer_social_link,
.tv_mobile_nav_link,
.tv_mobile_category_link,
.tv_home_category_card,
.tv_contact_card_venus,
.tv_contact_faq_item,
.tv_page_metrics div,
.tv_contact_info_item,
.tv_page_intro_visual {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.tv_contact_card_venus:hover,
.tv_contact_faq_item:hover,
.tv_page_metrics div:hover,
.tv_contact_info_item:hover,
.tv_page_intro_visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(104, 86, 102, 0.12);
}

@media (max-width: 980px) {
  .tv_page_intro_split,
  .tv_support_banner_venus,
  .tv_contact_cards_grid {
    grid-template-columns: 1fr;
  }

  .tv_page_metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .tv_header_publico {
    padding: 0;
  }

  .tv_header_superior {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'marca acciones';
    gap: 12px;
    padding: 14px 0;
  }

  .tv_header_marca {
    grid-area: marca;
    justify-content: flex-start;
  }

  .tv_header_centro {
    display: none;
  }

  .tv_header_acciones {
    grid-area: acciones;
    gap: 8px;
  }

  .tv_btn_icono_busqueda,
  .tv_btn_icono_usuario {
    display: none;
  }

  .tv_btn_menu_movil,
  .tv_mobile_backdrop,
  .tv_mobile_menu {
    display: block;
  }

  .tv_btn_menu_movil {
    display: inline-flex;
  }

  .tv_mobile_backdrop {
    position: fixed;
    inset: 0;
    z-index: 290;
    background: rgba(42, 30, 44, 0.38);
    backdrop-filter: blur(4px);
  }

  .tv_mobile_menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 300;
    width: min(420px, calc(100vw - 16px));
    height: 100vh;
    padding: 24px 22px 28px;
    border-left: 1px solid rgba(104, 86, 102, 0.10);
    background: rgba(248, 246, 251, 0.98);
    box-shadow: -18px 0 48px rgba(104, 86, 102, 0.18);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  .tv_mobile_menu_abierto {
    transform: translateX(0);
  }

  .tv_mobile_menu_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
  }

  .tv_mobile_nav {
    display: grid;
    gap: 12px;
    margin-top: 6px;
  }

  .tv_mobile_nav_link,
  .tv_mobile_category_link {
    min-height: 58px;
    padding: 0 20px;
    border: 1px solid rgba(104, 86, 102, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--tv-color-text);
    text-decoration: none;
    font-weight: 700;
  }

  .tv_mobile_nav_link:hover,
  .tv_mobile_nav_link:focus-visible,
  .tv_mobile_nav_link_activo,
  .tv_mobile_category_link:hover,
  .tv_mobile_category_link:focus-visible {
    background: linear-gradient(135deg, #DDD4E7 0%, #BFAFD0 55%, #D4B6CA 100%);
    border-color: transparent;
    color: #ffffff;
  }

  .tv_mobile_menu_extra {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(104, 86, 102, 0.10);
  }

  .tv_mobile_menu_titulo {
    margin: 0 0 12px;
    color: var(--tv-color-text);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .tv_mobile_category_links {
    display: grid;
    gap: 10px;
  }

  .tv_mobile_menu_cta {
    width: 100%;
    margin-top: 16px;
  }

  .tv_home_hero,
  .tv_page_intro {
    padding: 28px 22px;
  }

  .tv_home_hero_copy h1,
  .tv_page_intro_copy h1 {
    max-width: none;
    font-size: 2.6rem;
  }
}

@media (max-width: 640px) {
  .tv_container,
  .tv_footer_contenido,
  .tv_flash_wrap {
    width: min(calc(100% - 24px), var(--tv-home-width));
  }

  .tv_logo_imagen {
    height: 38px;
  }

  .tv_header_marca .tv_logo_imagen {
    height: 56px;
  }

  .tv_logo_footer .tv_logo_imagen {
    height: 54px;
  }

  .tv_footer {
    padding: 34px 0 20px;
  }

  .tv_footer_columnas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding: 18px 0;
  }

  .tv_footer_bloque_marca,
  .tv_footer_bloque_contacto {
    grid-column: 1 / -1;
  }

  .tv_footer_bloque h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
  }

  .tv_footer_bloque_marca {
    text-align: left;
  }

  .tv_footer_bloque_marca p {
    max-width: none;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .tv_footer_social {
    margin-top: 14px;
  }

  .tv_footer_lista li + li {
    margin-top: 8px;
  }

  .tv_offer_highlight_grid {
    grid-template-columns: 1fr;
  }

  .tv_header_acciones .tv_btn_icono_header {
    width: 42px;
    height: 42px;
  }

  .tv_home_category_label {
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 1.2rem;
  }

  .tv_producto_acciones,
  .tv_home_hero_actions {
    grid-template-columns: 1fr;
  }

  .tv_producto_acciones .tv_btn,
  .tv_form_agregar_carrito .tv_btn,
  .tv_btn_principal,
  .tv_btn_secundario {
    min-width: 0;
    width: 100%;
  }

  .tv_page_intro_visual img,
  .tv_home_hero_media img,
  .tv_home_banner_media img {
    min-height: 280px;
    height: 280px;
  }

  .tv_page_intro,
  .tv_support_banner_venus,
  .tv_contact_card_venus,
  .tv_contact_info_item {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 480px) {
  .tv_header_superior {
    padding: 12px 0;
  }

  .tv_header_acciones {
    gap: 6px;
  }

  .tv_header_acciones .tv_btn_icono_header {
    width: 46px;
    height: 46px;
  }

  .tv_mobile_menu {
    width: calc(100vw - 10px);
    padding: 22px 18px 24px;
  }

  .tv_mobile_nav_link,
  .tv_mobile_category_link {
    min-height: 56px;
    font-size: 1rem;
  }

  .tv_home_hero_copy h1,
  .tv_page_intro_copy h1 {
    font-size: 2.2rem;
  }
}



:root {
  color-scheme: light !important;
}
html {
  color-scheme: light !important;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  background: #f7f3fa !important;
  color: #685666 !important;
}

:root,
html,
body,
[data-tv-color-scheme="light"] {
  color-scheme: light !important;
  forced-color-adjust: none !important;
  -webkit-text-fill-color: initial;
}

html,
body {
  background-color: #f7f3fa !important;
  background-image: none !important;
}

@media (prefers-color-scheme: dark) {
  :root,
  html,
  body,
  [data-tv-color-scheme="light"] {
    color-scheme: light !important;
    forced-color-adjust: none !important;
    background-color: #f7f3fa !important;
    color: #685666 !important;
  }

  img,
  picture,
  video,
  canvas,
  svg {
    filter: none !important;
  }
}
body,
input,
select,
textarea,
button {
  color-scheme: light !important;
}
@media (prefers-color-scheme: dark) {
  html,
  body {
    background: #f7f3fa !important;
    color: #685666 !important;
  }

  body *,
  body *::before,
  body *::after {
    color-scheme: light !important;
  }
}
.tv_topbar {
  display: none !important;
}
.tv_logo_imagen {
  width: clamp(120px, 12vw, 168px);
  height: auto;
}
.tv_logo_footer {
  width: clamp(128px, 14vw, 182px);
}
.tv_eyebrow_badge,
.tv_etiqueta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 34px;
  padding: 0 .95rem;
  border-radius: 999px;
  border: 1px solid rgba(155,126,189,.22);
  background: linear-gradient(135deg, #9B7EBD 0%, #D4B6CA 100%);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(104,86,102,.08);
}
.tv_header_publico {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}
.tv_header_superior {
  min-height: 94px;
}
.tv_nav_link {
  min-width: 112px;
}
.tv_footer_social_link,
.tv_contact_icon {
  color: #685666;
}
.tv_contact_info_item_icon {
  position: relative;
  padding-left: 4.4rem;
}
.tv_contact_icon {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(221,212,231,.92) 0%, rgba(243,214,211,.92) 100%);
  box-shadow: 0 10px 24px rgba(104,86,102,.10);
  font-size: 1rem;
}
.tv_contact_cards_grid .tv_contact_card {
  border-radius: 26px;
  border: 1px solid rgba(191,175,208,.35);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,246,251,.96) 100%);
}
.tv_catalog_intro_panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .9fr);
  gap: 2rem;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(221,212,231,.38) 0%, rgba(243,214,211,.32) 100%);
  border: 1px solid rgba(191,175,208,.32);
  border-radius: 34px;
  padding: 2.2rem;
  box-shadow: 0 20px 44px rgba(104,86,102,.06);
}
.tv_catalog_intro_metrics {
  display: grid;
  gap: 1rem;
}
.tv_catalog_intro_metric {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(191,175,208,.28);
  border-radius: 24px;
  padding: 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tv_catalog_intro_metric strong {
  font-family: var(--tv-font-heading);
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  color: var(--tv-color-text);
}
.tv_catalog_intro_metric span {
  color: var(--tv-color-text-soft);
}
.tv_catalog_layout_venus {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.tv_catalog_filter_panel,
.tv_catalog_tip_card {
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(191,175,208,.28);
  box-shadow: 0 16px 34px rgba(104,86,102,.06);
  padding: 1.5rem;
}
.tv_catalog_filter_panel {display:flex; flex-direction:column; gap:1.2rem;}
.tv_catalog_filter_group {display:flex; flex-direction:column; gap:.65rem;}
.tv_catalog_filter_group label {font-weight:700; color:#685666;}
.tv_catalog_filter_actions {display:grid; gap:.9rem;}
.tv_catalog_content_venus {display:flex; flex-direction:column; gap:1.2rem;}
.tv_catalog_toolbar_venus {display:flex; justify-content:space-between; gap:1rem; align-items:center; color:#8A7A88;}
.tv_catalog_toolbar_venus strong {color:#685666; font-size:1.2rem;}
.tv_product_grid_catalogo {grid-template-columns: repeat(3, minmax(0, 1fr));}
.tv_producto_card_tienda {
  display:flex; flex-direction:column; min-height:100%;
  border-radius: 30px; overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(251,247,252,.96) 100%);
  border: 1px solid rgba(191,175,208,.26);
  box-shadow: 0 16px 36px rgba(104,86,102,.08);
}
.tv_producto_media_card {padding:1rem 1rem 0;}
.tv_producto_media_card .tv_producto_imagen,
.tv_producto_media_card img {border-radius:24px; background:#fff; aspect-ratio:1 / 1; object-fit:cover;}
.tv_producto_contenido {display:flex; flex-direction:column; flex:1; padding:1rem 1.1rem 1.2rem; gap:.85rem;}
.tv_producto_contenido h3 {min-height: 72px; margin:0;}
.tv_producto_contenido p {min-height: 56px; margin:0; color:#8A7A88;}
.tv_producto_meta {margin-top:auto;}
.tv_producto_acciones {display:grid; grid-template-columns:1fr 1fr; gap:.75rem; margin-top:.35rem;}
.tv_producto_acciones .tv_form_agregar_carrito {display:flex;}
.tv_producto_acciones .tv_btn {width:100%; justify-content:center;}
.tv_empty_state_ofertas {display:flex; flex-direction:column; gap:.45rem; align-items:center; text-align:center;}
.tv_cart_page_layout {display:grid; grid-template-columns:minmax(0, 1.3fr) 360px; gap:2rem; align-items:start;}
.tv_cart_title_card {margin-bottom:1rem;}
.tv_cart_items_list {display:grid; gap:1rem;}
.tv_cart_card_venus {
  display:grid; grid-template-columns:120px minmax(0,1fr) 230px; gap:1rem;
  padding:1.1rem; border-radius:28px; border:1px solid rgba(191,175,208,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,246,251,.96) 100%);
  box-shadow: 0 16px 34px rgba(104,86,102,.06);
}
.tv_cart_card_media img {width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:22px; background:#fff;}
.tv_cart_card_copy {display:flex; flex-direction:column; gap:.65rem;}
.tv_cart_card_copy h3 {margin:0; font-size:1.8rem;}
.tv_cart_card_copy p {margin:0; color:#8A7A88;}
.tv_cart_card_price {font-size:1.3rem; color:#685666;}
.tv_cart_card_actions {display:flex; flex-direction:column; align-items:flex-end; justify-content:space-between; gap:1rem;}
.tv_cart_qty_form {width:100%;}
.tv_cart_qty_form label {display:block; margin-bottom:.4rem; font-weight:700; color:#685666;}
.tv_cart_qty_wrap {display:flex; gap:.65rem;}
.tv_cart_qty_wrap input {width:88px; text-align:center;}
.tv_link_button_danger {color:#9b6073; font-weight:700;}
.tv_cart_summary_venus {
  position:sticky; top:118px; display:flex; flex-direction:column; gap:1rem;
  padding:1.6rem; border-radius:30px; border:1px solid rgba(191,175,208,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,246,251,.96) 100%);
  box-shadow: 0 16px 34px rgba(104,86,102,.06);
}
.tv_btn_gradiente {
  background: linear-gradient(135deg, #DDD4E7 0%, #D4B6CA 100%);
  color:#685666; border:1px solid rgba(191,175,208,.35);
}
.tv_mobile_menu {
  width:min(92vw, 420px);
  padding:1.4rem 1.2rem 2rem;
}
.tv_mobile_menu_head {align-items:center;}
.tv_mobile_menu_head_actions {display:flex; align-items:center; gap:.65rem;}
.tv_mobile_nav_link,
.tv_mobile_category_link {
  display:flex; align-items:center; min-height:72px; padding:0 1.35rem; text-align:left;
}
.tv_mobile_menu_titulo {padding-left:.2rem;}
.tv_mobile_menu_cta {width:100%;}
@media (max-width: 980px) {
  .tv_catalog_intro_panel,
  .tv_cart_page_layout,
  .tv_catalog_layout_venus,
  .tv_cart_card_venus {grid-template-columns: 1fr;}
  .tv_product_grid_catalogo {grid-template-columns: repeat(2, minmax(0, 1fr));}
  .tv_cart_summary_venus {position:static;}
}
@media (max-width: 720px) {
  .tv_header_superior {min-height:88px;}
  .tv_header_marca .tv_logo_imagen {width:118px;}
  .tv_logo_footer {width:132px;}
  .tv_header_acciones .tv_btn_icono_busqueda {display:none !important;}
  .tv_header_acciones .tv_btn_icono_usuario {display:inline-flex !important;}
  .tv_nav {display:none !important;}
  .tv_catalog_intro_panel {padding:1.5rem; border-radius:28px;}
  .tv_product_grid_catalogo {grid-template-columns:1fr;}
  .tv_producto_contenido h3, .tv_producto_contenido p {min-height:auto;}
  .tv_producto_acciones {grid-template-columns:1fr;}
  .tv_cart_card_actions {align-items:stretch;}
  .tv_cart_qty_wrap {flex-direction:column;}
}


.tv_catalog_intro_unificado {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
}

.tv_catalog_filters_shell {
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem;
  border: 1px solid rgba(191, 175, 208, 0.26);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 251, 0.96) 100%);
  box-shadow: 0 18px 38px rgba(104, 86, 102, 0.06);
}

.tv_catalog_filters_head h2 {
  margin: 0 0 .8rem;
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
  line-height: 1.02;
}

.tv_catalog_filters_head p {
  margin: 0;
  color: var(--tv-color-text-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.tv_catalog_filters_form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.tv_catalog_field {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.tv_catalog_field label {
  color: var(--tv-color-text);
  font-weight: 700;
}

.tv_catalog_field select,
.tv_catalog_field input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(191, 175, 208, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--tv-color-text);
  outline: none;
  box-shadow: none;
}

.tv_catalog_field input::placeholder {
  color: #BFAFD0;
}

.tv_catalog_field select:focus,
.tv_catalog_field input:focus {
  border-color: #9B7EBD;
  box-shadow: 0 0 0 4px rgba(155, 126, 189, 0.14);
}

.tv_catalog_actions {
  display: grid;
  gap: .9rem;
}

.tv_catalog_actions .tv_btn {
  width: 100%;
  justify-content: center;
}

.tv_catalog_grid_wrap {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.tv_catalog_grid_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tv_catalog_grid_head strong {
  display: block;
  color: var(--tv-color-text);
  font-size: 1.25rem;
}

.tv_catalog_grid_head span {
  color: var(--tv-color-text-soft);
}

.tv_cart_intro_panel {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
}

.tv_cart_intro_actions {
  margin-top: 24px;
}

.tv_cart_page_layout {
  grid-template-columns: minmax(0, 1.25fr) 380px;
}

.tv_cart_items_list {
  gap: 1.2rem;
}

.tv_cart_card_venus {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 250px;
  gap: 1.1rem;
  padding: 1.25rem;
  border-radius: 30px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 251, 0.96) 100%);
  box-shadow: 0 16px 34px rgba(104, 86, 102, 0.06);
}

.tv_cart_card_media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  background: #ffffff;
}

.tv_cart_card_copy {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.tv_cart_card_copy h3 {
  margin: 0;
  color: var(--tv-color-text);
  font-size: 1.55rem;
  line-height: 1.08;
}

.tv_cart_card_copy p {
  margin: 0;
  color: var(--tv-color-text-soft);
  line-height: 1.65;
}

.tv_cart_card_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.tv_cart_card_meta span {
  color: var(--tv-color-text-soft);
  font-size: .95rem;
  font-weight: 600;
}

.tv_cart_card_price,
.tv_cart_line_total,
.tv_cart_summary_total strong {
  color: #9B7EBD;
}

.tv_cart_card_price {
  font-size: 1.35rem;
}

.tv_cart_card_actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.tv_cart_qty_form {
  width: 100%;
}

.tv_cart_qty_form label {
  display: block;
  margin-bottom: .45rem;
  color: var(--tv-color-text);
  font-weight: 700;
}

.tv_cart_qty_wrap {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: .75rem;
}

.tv_cart_qty_wrap input {
  width: 100%;
  min-height: 52px;
  padding: 0 12px;
  text-align: center;
  border: 1px solid rgba(191, 175, 208, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--tv-color-text);
}

.tv_cart_card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.tv_cart_line_total {
  font-size: 1.4rem;
  font-weight: 800;
}

.tv_link_button_danger {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(212, 182, 202, 0.18);
  color: #9B6073;
  font-weight: 700;
  cursor: pointer;
}

.tv_cart_summary_venus {
  position: sticky;
  top: 118px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.65rem;
  border-radius: 30px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 251, 0.96) 100%);
  box-shadow: 0 16px 34px rgba(104, 86, 102, 0.06);
}

.tv_cart_summary_venus h2 {
  margin: 0;
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
  font-size: 2rem;
  line-height: 1.02;
}

.tv_cart_summary_venus p {
  margin: 0;
  color: var(--tv-color-text-soft);
  line-height: 1.72;
}

.tv_cart_summary_rows {
  display: grid;
  gap: .85rem;
}

.tv_cart_summary_rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  border-radius: 18px;
  background: rgba(243, 236, 247, 0.68);
  color: var(--tv-color-text);
}

.tv_cart_summary_rows span {
  color: var(--tv-color-text-soft);
  font-weight: 600;
}

.tv_cart_summary_total {
  border: 1px solid rgba(155, 126, 189, 0.18);
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.62) 0%, rgba(243, 214, 211, 0.52) 100%) !important;
}

.tv_btn_gradiente {
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.92) 0%, rgba(212, 182, 202, 0.9) 100%);
  color: var(--tv-color-text);
  border: 1px solid rgba(191, 175, 208, 0.35);
}


.tv_content_block_legal p,
.tv_content_listado_legal li,
.tv_content_legal_referencias li {
  font-size: 1rem;
  line-height: 1.82;
}
.tv_content_legal_referencias li::marker {
  color: rgba(141, 98, 196, 0.9);
}
@media (max-width: 1080px) {
  .tv_catalog_filters_form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv_catalog_intro_unificado,
  .tv_cart_intro_panel,
  .tv_cart_page_layout,
  .tv_cart_card_venus {
    grid-template-columns: 1fr;
  }

  .tv_cart_summary_venus {
    position: static;
  }
}

@media (max-width: 720px) {
  .tv_catalog_filters_shell {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .tv_catalog_filters_form,
  .tv_cart_qty_wrap {
    grid-template-columns: 1fr;
  }

  .tv_catalog_actions,
  .tv_cart_card_footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tv_catalog_grid_head,
  .tv_cart_card_meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .tv_link_button_danger {
    width: 100%;
  }
}


/* Ajuste catálogo sin badge de vitrina y rediseño visual del drawer de carrito */
.tv_drawer_carrito {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 20px 18px 18px;
  border-left: 1px solid rgba(191, 175, 208, 0.34);
  background: linear-gradient(180deg, #F7F3FA 0%, #FFFDFE 100%);
  box-shadow: -24px 0 56px rgba(104, 86, 102, 0.16);
}

.tv_drawer_encabezado {
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 1.05rem;
  border-radius: 26px;
  border: 1px solid rgba(191, 175, 208, 0.34);
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.78) 0%, rgba(243, 214, 211, 0.46) 100%);
  box-shadow: 0 12px 28px rgba(104, 86, 102, 0.08);
}

.tv_drawer_encabezado h3 {
  margin: 0;
  color: var(--tv-color-text);
  font-family: var(--tv-font-heading);
  font-size: 2rem;
  line-height: 1;
}

.tv_drawer_encabezado p {
  margin: .3rem 0 0;
  color: var(--tv-color-text-soft);
  font-size: .95rem;
}

.tv_btn_icono_cerrar {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(191, 175, 208, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--tv-color-text);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(104, 86, 102, 0.08);
}

.tv_drawer_items {
  display: grid;
  gap: 1rem;
  overflow: auto;
  padding-right: 4px;
}

.tv_drawer_resumen {
  display: grid;
  gap: .85rem;
  margin-top: auto;
}

.tv_drawer_item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: .95rem;
  padding: 1rem;
  border-radius: 26px;
  border: 1px solid rgba(191, 175, 208, 0.3);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(104, 86, 102, 0.06);
}

.tv_drawer_item_media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(221, 212, 231, 0.62) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.tv_drawer_item_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.tv_drawer_item_placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 124px;
  color: #9B7EBD;
  font-size: 2.4rem;
  font-weight: 800;
}

.tv_drawer_item_info {
  display: grid;
  gap: .65rem;
}

.tv_drawer_item_superior {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.tv_drawer_item_copy {
  display: grid;
  gap: .45rem;
}

.tv_drawer_item_copy h4,
.tv_drawer_item_superior h4 {
  margin: 0;
  color: var(--tv-color-text);
  font-size: 1.08rem;
  line-height: 1.2;
}

.tv_drawer_item_etiqueta,
.tv_drawer_item_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 .78rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #9B7EBD 0%, #D4B6CA 100%);
  color: #FFFFFF;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
}

.tv_drawer_item_precios {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
}

.tv_drawer_item_precios strong {
  color: var(--tv-color-text);
  font-size: 1.08rem;
}

.tv_drawer_item_precios span {
  color: var(--tv-color-text-soft);
  font-size: .9rem;
  text-decoration: line-through;
}

.tv_drawer_item_acciones {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.tv_drawer_cantidad {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: 4px;
  border: 1px solid rgba(191, 175, 208, 0.38);
  border-radius: 999px;
  background: rgba(245, 242, 248, 0.96);
}

.tv_drawer_cantidad button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--tv-color-text);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(104, 86, 102, 0.08);
}

.tv_drawer_cantidad button:hover {
  background: #BFAFD0;
  color: #FFFFFF;
}

.tv_drawer_cantidad span {
  min-width: 30px;
  text-align: center;
  color: var(--tv-color-text);
  font-weight: 700;
}

.tv_drawer_eliminar {
  min-height: 38px;
  padding: 0 .95rem;
  border: 0;
  border-radius: 999px;
  background: rgba(243, 214, 211, 0.56);
  color: var(--tv-color-text);
  font-weight: 700;
}

.tv_drawer_item_total {
  padding: .8rem .95rem;
  border-radius: 18px;
  background: rgba(221, 212, 231, 0.42);
  color: #9B7EBD;
  font-size: 1.02rem;
  font-weight: 800;
}

.tv_drawer_resumen_beneficio {
  padding: .95rem 1rem;
  border-radius: 24px;
  border: 1px solid rgba(191, 175, 208, 0.32);
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.82) 0%, rgba(243, 214, 211, 0.56) 100%);
  color: var(--tv-color-text);
  font-weight: 700;
  line-height: 1.45;
}

.tv_drawer_totales {
  display: grid;
  gap: .7rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(191, 175, 208, 0.3);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 26px rgba(104, 86, 102, 0.05);
}

.tv_drawer_totales div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.tv_drawer_totales span {
  color: var(--tv-color-text-soft);
  font-weight: 600;
}

.tv_drawer_totales strong {
  color: var(--tv-color-text);
}

.tv_drawer_total_general {
  margin-top: .2rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(191, 175, 208, 0.28);
}

.tv_drawer_total_general strong {
  color: #9B7EBD;
  font-size: 1.18rem;
}

.tv_drawer_nota {
  margin: 0;
  color: var(--tv-color-text-soft);
  line-height: 1.6;
}

.tv_drawer_botones {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.tv_drawer_botones .tv_btn {
  width: 100%;
}

.tv_drawer_vacio {
  display: grid;
  gap: .85rem;
  justify-items: center;
  padding: 1.4rem 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(191, 175, 208, 0.3);
  background: rgba(255, 255, 255, 0.96);
  text-align: center;
}

.tv_drawer_vacio h4,
.tv_drawer_vacio p {
  margin: 0;
}

.tv_drawer_vacio h4 {
  color: var(--tv-color-text);
  font-size: 1.2rem;
}

.tv_drawer_vacio p {
  color: var(--tv-color-text-soft);
  line-height: 1.55;
}

.tv_drawer_vacio_icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.95) 0%, rgba(243, 214, 211, 0.88) 100%);
  font-size: 1.5rem;
}

@media (max-width: 640px) {
  .tv_drawer_carrito {
    padding: 16px 14px 14px;
  }

  .tv_drawer_item {
    grid-template-columns: 1fr;
  }

  .tv_drawer_item_media {
    min-height: 180px;
  }

  .tv_drawer_item_acciones {
    flex-direction: column;
    align-items: stretch;
  }

  .tv_drawer_eliminar {
    width: 100%;
  }
}

/* Ajuste final catálogo: sin bloques sobrantes y filtros más profesionales */
.tv_page_catalogo .tv_page_intro_section,
.tv_page_catalogo .tv_catalog_filters_head {
  display: none;
}

.tv_catalog_filters_shell_profesional {
  gap: 1.1rem;
  padding: 1.15rem;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 243, 250, 0.98) 100%);
  box-shadow: 0 20px 44px rgba(104, 86, 102, 0.07);
}

.tv_catalog_filters_topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0.2rem 0.4rem;
}

.tv_catalog_filters_topbar_copy {
  display: grid;
  gap: 0.2rem;
}

.tv_catalog_filters_topbar_copy strong {
  color: var(--tv-color-text);
  font-size: 1.3rem;
  line-height: 1.1;
}

.tv_catalog_filters_topbar_copy span:last-child {
  color: var(--tv-color-text-soft);
  font-size: 0.96rem;
}

.tv_catalog_filters_form_profesional {
  grid-template-columns: minmax(220px, 1.1fr) minmax(220px, 1.2fr) minmax(220px, 1fr) minmax(220px, 0.95fr);
  gap: 0.95rem;
  align-items: stretch;
}

.tv_catalog_field {
  gap: 0.5rem;
}

.tv_catalog_field label {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.tv_catalog_field select,
.tv_catalog_field input {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(191, 175, 208, 0.36);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 8px 18px rgba(104, 86, 102, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tv_catalog_field select:hover,
.tv_catalog_field input:hover {
  border-color: rgba(155, 126, 189, 0.46);
}

.tv_catalog_field select:focus,
.tv_catalog_field input:focus {
  transform: translateY(-1px);
  border-color: #9B7EBD;
  box-shadow: 0 0 0 4px rgba(155, 126, 189, 0.14), 0 12px 24px rgba(104, 86, 102, 0.08);
}

.tv_catalog_field_destacado select {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFAFD 100%);
}

.tv_catalog_actions_profesional {
  grid-template-columns: 1fr 1fr;
  align-content: end;
  gap: 0.75rem;
}

.tv_catalog_actions_profesional .tv_btn {
  min-height: 58px;
  border-radius: 18px;
}

.tv_catalog_grid_wrap {
  gap: 1rem;
  margin-top: 1.25rem;
}

.tv_catalog_grid_head_profesional {
  padding: 0 0.2rem;
}

.tv_catalog_grid_head_profesional strong {
  font-size: 1.35rem;
}

.tv_catalog_grid_head_profesional span {
  font-size: 0.96rem;
}

@media (max-width: 1200px) {
  .tv_catalog_filters_form_profesional {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tv_catalog_filters_shell_profesional {
    padding: 1rem;
    border-radius: 24px;
  }

  .tv_catalog_filters_topbar {
    padding-bottom: 0.2rem;
  }

  .tv_catalog_filters_form_profesional {
    grid-template-columns: 1fr;
  }

  .tv_catalog_actions_profesional {
    grid-template-columns: 1fr;
  }
}


/* Ajuste catálogo lateral + mejoras de carrito */
.tv_btn_carrito_encabezado {
  overflow: visible;
}

.tv_contador_inline {
  top: -4px;
  right: -4px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border: 2px solid #ffffff;
  background: linear-gradient(135deg, #685666 0%, #9B7EBD 100%);
  box-shadow: 0 8px 16px rgba(104, 86, 102, 0.18);
}

.tv_catalogo_layout_profesional {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.tv_catalogo_sidebar_profesional {
  position: sticky;
  top: 118px;
}

.tv_catalogo_contenido_profesional {
  min-width: 0;
}

.tv_catalog_filters_shell_profesional {
  position: relative;
  padding: 1.35rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,244,251,0.98) 100%);
}

.tv_catalog_filters_form_profesional {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tv_catalog_actions_profesional {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}

.tv_catalog_grid_wrap {
  display: grid;
  gap: 1rem;
  margin-top: 0;
}

.tv_catalog_grid_head_profesional {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: .35rem .15rem .1rem;
}

.tv_catalog_grid_head_profesional strong {
  display: block;
  margin-bottom: .18rem;
}

.tv_page_catalogo #grid_catalogo_productos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv_drawer_carrito {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 310;
  width: min(430px, calc(100vw - 12px));
  height: 100dvh;
  max-height: 100dvh;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.tv_drawer_encabezado {
  flex: 0 0 auto;
}

.tv_drawer_items {
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 6px;
  align-content: start;
}

.tv_drawer_resumen {
  flex: 0 0 auto;
  padding-top: 2px;
}

.tv_drawer_item {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  padding: .9rem;
}

.tv_drawer_item_media {
  min-height: 92px;
  height: 92px;
  border-radius: 18px;
}

.tv_drawer_item_img {
  padding: 8px;
}

.tv_drawer_item_info {
  gap: .55rem;
}

.tv_drawer_item_copy {
  gap: .3rem;
}

.tv_drawer_item_copy h4,
.tv_drawer_item_superior h4 {
  font-size: 1rem;
}

.tv_drawer_item_precios strong {
  font-size: 1rem;
}

.tv_drawer_item_total {
  padding: .65rem .8rem;
  border-radius: 14px;
  font-size: .96rem;
}

.tv_drawer_item_acciones {
  align-items: center;
}

.tv_drawer_eliminar {
  min-width: 92px;
}

@media (max-width: 1180px) {
  .tv_catalogo_layout_profesional {
    grid-template-columns: 1fr;
  }

  .tv_catalogo_sidebar_profesional {
    position: static;
  }

  .tv_catalog_filters_form_profesional {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv_catalog_actions_profesional {
    grid-template-columns: 1fr 1fr;
  }

  .tv_page_catalogo #grid_catalogo_productos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tv_catalog_filters_form_profesional,
  .tv_catalog_actions_profesional,
  .tv_page_catalogo #grid_catalogo_productos {
    grid-template-columns: 1fr;
  }

  .tv_drawer_carrito {
    width: 100%;
    padding: 14px;
  }
}


/* Ajuste visual final catálogo, producto y carrito */

.tv_page_catalogo .tv_catalogo_layout_profesional {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2rem;
}

.tv_page_catalogo .tv_catalogo_contenido_profesional,
.tv_page_catalogo .tv_catalog_grid_wrap {
  display: grid;
  gap: 1.25rem;
}

.tv_page_catalogo .tv_catalog_grid_head_profesional {
  align-items: flex-start;
  padding: .2rem .1rem 0;
}

.tv_page_catalogo #grid_catalogo_productos {
  align-items: stretch;
  gap: 1.5rem;
}

.tv_page_catalogo #grid_catalogo_productos > article {
  height: 100%;
}

.tv_drawer_carrito {
  width: min(440px, calc(100vw - 12px));
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, #FCFAFD 0%, #F5F0F8 100%);
  border-left: 1px solid rgba(191, 175, 208, 0.32);
  box-shadow: -28px 0 58px rgba(51, 39, 52, 0.18);
}

.tv_drawer_encabezado {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(191, 175, 208, 0.30);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.54) 0%, rgba(243, 214, 211, 0.42) 100%);
  box-shadow: 0 14px 28px rgba(104, 86, 102, 0.06);
}

.tv_drawer_encabezado h3 {
  font-size: 1.95rem;
}

.tv_drawer_encabezado .tv_btn_icono_cerrar {
  flex: 0 0 auto;
}

.tv_btn_icono_cerrar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tv_drawer_items {
  gap: .95rem;
  padding-right: 4px;
}

.tv_drawer_item {
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 28px rgba(104, 86, 102, 0.06);
}

.tv_drawer_item_media {
  height: 104px;
  min-height: 104px;
  border-radius: 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF8FD 100%);
  border: 1px solid rgba(191, 175, 208, 0.18);
}

.tv_drawer_item_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.tv_drawer_item_info {
  display: grid;
  gap: .8rem;
  min-width: 0;
}

.tv_drawer_item_superior {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .9rem;
}

.tv_drawer_item_copy {
  display: grid;
  gap: .32rem;
  min-width: 0;
}

.tv_drawer_item_copy h4,
.tv_drawer_item_superior h4 {
  margin: 0;
  color: var(--tv-color-text);
  font-size: 1.02rem;
  line-height: 1.25;
}

.tv_drawer_item_etiqueta,
.tv_drawer_item_badge {
  width: fit-content;
}

.tv_drawer_item_precios {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}

.tv_drawer_item_precios strong {
  font-size: 1rem;
}

.tv_drawer_item_precios small {
  font-size: .74rem;
}

.tv_drawer_item_total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 40px;
  padding: 0 .9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.18) 0%, rgba(191, 175, 208, 0.28) 100%);
  color: #9B7EBD;
  font-size: .98rem;
  font-weight: 800;
}

.tv_drawer_item_acciones {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
}

.tv_drawer_cantidad {
  padding: 4px;
  background: rgba(245, 242, 248, 0.96);
}

.tv_drawer_cantidad button {
  width: 32px;
  height: 32px;
}

.tv_drawer_eliminar {
  min-width: 96px;
  min-height: 38px;
  background: rgba(243, 214, 211, 0.44);
}

.tv_drawer_resumen {
  display: grid;
  gap: .9rem;
}

.tv_drawer_resumen_beneficio {
  padding: 1rem 1.05rem;
  border-radius: 22px;
}

.tv_drawer_totales {
  padding: 1rem 1.05rem;
  border-radius: 22px;
}

.tv_drawer_botones .tv_btn {
  min-height: 54px;
  border-radius: 18px;
}

@media (max-width: 1280px) {
  .tv_page_catalogo .tv_catalogo_layout_profesional {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .tv_page_catalogo .tv_catalogo_layout_profesional {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tv_drawer_item {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: .9rem;
  }

  .tv_drawer_item_media {
    height: 88px;
    min-height: 88px;
  }

  .tv_drawer_item_superior,
  .tv_drawer_item_acciones {
    gap: .7rem;
  }

  .tv_drawer_item_total {
    min-width: 84px;
    font-size: .9rem;
  }
}


/* Ajuste final: drawer sin blur, rediseño real y selects con flecha interna */
.tv_drawer_backdrop {
  background: rgba(56, 44, 58, 0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.tv_page_catalogo .tv_catalog_filters_shell,
.tv_page_catalogo .tv_catalog_filters_shell_profesional {
  padding: 1.35rem;
  border-radius: 30px;
  border: 1px solid rgba(191, 175, 208, 0.30);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 243, 250, 0.94) 100%);
  box-shadow: 0 20px 34px rgba(104, 86, 102, 0.08);
}

.tv_catalog_field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 3.1rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23685666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px 8px;
  background-position: right 18px center;
}

.tv_catalog_field select::-ms-expand {
  display: none;
}

.tv_drawer_carrito {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  width: min(430px, calc(100vw - 10px));
  height: 100vh;
  max-height: 100vh;
  padding: 18px 16px 18px;
  background: linear-gradient(180deg, #FDFCFE 0%, #F6F1F8 100%) !important;
  border-left: 1px solid rgba(191, 175, 208, 0.30);
  box-shadow: -24px 0 52px rgba(56, 44, 58, 0.16);
  overflow: hidden;
}

.tv_drawer_encabezado {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.66) 0%, rgba(243, 214, 211, 0.44) 100%);
  box-shadow: 0 12px 24px rgba(104, 86, 102, 0.06);
}

.tv_drawer_encabezado h3 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1;
}

.tv_drawer_encabezado p {
  margin: 0.35rem 0 0;
  font-size: 0.93rem;
  color: var(--tv-color-text-soft);
}

.tv_drawer_encabezado .tv_btn_icono_cerrar {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(191, 175, 208, 0.30);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: none;
}

.tv_drawer_items {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  overflow-y: auto;
  padding-right: 4px;
}

.tv_drawer_item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  border-radius: 22px;
  border: 1px solid rgba(191, 175, 208, 0.24);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 22px rgba(104, 86, 102, 0.05);
}

.tv_drawer_item_media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  min-height: 84px;
  border-radius: 18px;
  border: 1px solid rgba(191, 175, 208, 0.16);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7FD 100%);
  overflow: hidden;
}

.tv_drawer_item_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.tv_drawer_item_info {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.tv_drawer_item_head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.8rem;
}

.tv_drawer_item_copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.tv_drawer_item_copy h4,
.tv_drawer_item_superior h4 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--tv-color-text);
}

.tv_drawer_item_etiqueta,
.tv_drawer_item_badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #9B7EBD 0%, #C9B3DB 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
}

.tv_drawer_item_precios {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tv_drawer_item_precios strong {
  font-size: 0.98rem;
  color: var(--tv-color-text);
}

.tv_drawer_item_precios span {
  font-size: 0.82rem;
  color: var(--tv-color-text-soft);
  text-decoration: line-through;
}

.tv_drawer_eliminar_icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(243, 214, 211, 0.64);
  border-radius: 999px;
  background: rgba(255, 245, 245, 0.96);
  color: #8A7A88;
  font-size: 1.1rem;
  line-height: 1;
}

.tv_drawer_item_footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
}

.tv_drawer_cantidad {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 4px;
  border: 1px solid rgba(191, 175, 208, 0.24);
  border-radius: 999px;
  background: #F7F2FA;
}

.tv_drawer_cantidad button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--tv-color-text);
  box-shadow: 0 6px 12px rgba(104, 86, 102, 0.08);
}

.tv_drawer_cantidad span {
  min-width: 26px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tv-color-text);
}

.tv_drawer_item_total_box {
  display: grid;
  justify-items: end;
  gap: 0.16rem;
  margin-left: auto;
  padding: 0.55rem 0.75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.10) 0%, rgba(212, 182, 202, 0.16) 100%);
}

.tv_drawer_item_total_box small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8A7A88;
}

.tv_drawer_item_total_box strong {
  font-size: 0.98rem;
  color: #9B7EBD;
}

.tv_drawer_resumen {
  flex: 0 0 auto;
  display: grid;
  gap: 0.75rem;
  padding-top: 0.15rem;
}

.tv_drawer_resumen_beneficio {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(191, 175, 208, 0.26);
  background: linear-gradient(135deg, rgba(221, 212, 231, 0.74) 0%, rgba(243, 214, 211, 0.46) 100%);
  color: var(--tv-color-text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.tv_drawer_totales {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(191, 175, 208, 0.24);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 24px rgba(104, 86, 102, 0.05);
}

.tv_drawer_totales div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tv_drawer_totales span {
  color: var(--tv-color-text-soft);
  font-weight: 600;
}

.tv_drawer_totales strong {
  color: var(--tv-color-text);
}

.tv_drawer_total_general {
  margin-top: 0.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(191, 175, 208, 0.24);
}

.tv_drawer_total_general strong {
  color: #9B7EBD;
  font-size: 1.15rem;
}

.tv_drawer_nota {
  margin: 0;
  color: var(--tv-color-text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tv_drawer_botones {
  display: grid;
  gap: 0.7rem;
}

.tv_drawer_botones .tv_btn {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
}

@media (max-width: 860px) {
  .tv_drawer_carrito {
    width: min(100vw - 8px, 420px);
    padding: 16px 14px 18px;
  }
}

@media (max-width: 520px) {
  .tv_drawer_item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.8rem;
  }

  .tv_drawer_item_media {
    width: 72px;
    height: 72px;
    min-height: 72px;
  }

  .tv_drawer_item_footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tv_drawer_item_total_box {
    justify-items: start;
    margin-left: 0;
  }
}


/* Ajuste final v5: header activo, carrito y ofertas */
.tv_nav_link:hover,
.tv_nav_link:focus-visible,
.tv_nav_link_activo {
  background-image: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 58%, #D4B6CA 100%) !important;
  background-color: transparent !important;
  background-size: 100% 100% !important;
  border-color: rgba(155, 126, 189, 0.42) !important;
  box-shadow: 0 12px 26px rgba(155, 126, 189, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.tv_drawer_backdrop {
  background: rgba(56, 44, 58, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.tv_drawer_carrito {
  width: min(438px, calc(100vw - 12px)) !important;
  padding: 18px 16px 18px !important;
  background: linear-gradient(180deg, #fffdfd 0%, #f7f2fa 100%) !important;
}

.tv_drawer_encabezado {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 1rem !important;
  padding: 0 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(191, 175, 208, 0.24) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tv_drawer_encabezado_copy {
  display: grid;
  gap: 0.32rem;
}

.tv_drawer_encabezado_etiqueta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(191, 175, 208, 0.18);
  color: #8A7A88;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tv_drawer_encabezado h3 {
  margin: 0 !important;
  font-size: 2rem !important;
  line-height: 1 !important;
  color: #685666 !important;
}

.tv_drawer_encabezado p {
  margin: 0 !important;
  font-size: 0.95rem !important;
  color: #8A7A88 !important;
}

.tv_drawer_encabezado .tv_btn_icono_cerrar {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(191, 175, 208, 0.24) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #685666 !important;
  box-shadow: 0 10px 18px rgba(104, 86, 102, 0.08) !important;
}

.tv_drawer_items {
  padding-top: 0.2rem !important;
}


/* Ajuste final v6: cards, detalle, carrito y ofertas */
.tv_nav_link,
.tv_nav_link:hover,
.tv_nav_link:focus-visible,
.tv_nav_link_activo {
  background-clip: padding-box !important;
}

.tv_nav_link_activo {
  border-color: transparent !important;
}

.tv_producto_card_base {
  position: relative;
}

.tv_producto_card_media {
  background: transparent !important;
}

.tv_producto_card_imagen {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(104, 86, 102, 0.14));
}

.tv_producto_card_overlay,
.tv_producto_card_form_accion {
  align-items: center;
}

.tv_producto_card_accion {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  flex: 0 0 44px !important;
}

.tv_producto_card_accion svg {
  width: 20px;
  height: 20px;
}

.tv_producto_card_precio {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 2rem !important;
  line-height: 1 !important;
}

.tv_producto_card_cta {
  min-height: 56px;
  border-radius: 18px !important;
}

#aside_carrito_tienda_publica.tv_drawer_carrito {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  width: min(446px, calc(100vw - 12px)) !important;
  padding: 18px 16px 18px !important;
  background: linear-gradient(180deg, #fffdfd 0%, #f7f2fa 100%) !important;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 0 0 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(191, 175, 208, 0.24) !important;
  background: transparent !important;
  box-shadow: none !important;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado_copy {
  display: grid;
  gap: 0.28rem;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado h3 {
  margin: 0 !important;
  font-family: var(--tv-font-base) !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  color: #685666 !important;
  letter-spacing: -0.02em;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado p {
  margin: 0 !important;
  font-size: 0.96rem !important;
  color: #8A7A88 !important;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado .tv_btn_icono_cerrar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border: 1px solid rgba(191, 175, 208, 0.24) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #685666 !important;
  box-shadow: 0 10px 18px rgba(104, 86, 102, 0.08) !important;
}

#aside_carrito_tienda_publica .tv_drawer_items {
  display: grid;
  gap: 14px;
  padding-top: 0 !important;
}

#aside_carrito_tienda_publica .tv_drawer_item {
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 14px !important;
  border: 1px solid rgba(191, 175, 208, 0.22) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 12px 24px rgba(104, 86, 102, 0.06) !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_media {
  width: 88px !important;
  height: 88px !important;
  min-height: 88px !important;
  border-radius: 20px !important;
  background: rgba(248, 244, 251, 0.7) !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#aside_carrito_tienda_publica .tv_drawer_item_info {
  display: grid;
  gap: 10px;
}

#aside_carrito_tienda_publica .tv_drawer_item_head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

#aside_carrito_tienda_publica .tv_drawer_item_copy {
  display: grid;
  gap: 6px;
}

#aside_carrito_tienda_publica .tv_drawer_item_copy h4 {
  margin: 0;
  font-size: 1.08rem !important;
  line-height: 1.2 !important;
  color: #685666 !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_etiqueta,
#aside_carrito_tienda_publica .tv_drawer_item_badge {
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(155, 126, 189, 0.14) !important;
  color: #9B7EBD !important;
  font-size: 0.68rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#aside_carrito_tienda_publica .tv_drawer_item_meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

#aside_carrito_tienda_publica .tv_drawer_item_precios {
  display: grid;
  gap: 2px;
}

#aside_carrito_tienda_publica .tv_drawer_item_precios strong {
  font-size: 1.15rem !important;
  color: #685666 !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_total_box {
  min-width: 92px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(248, 244, 251, 0.84) !important;
  justify-items: end;
}

#aside_carrito_tienda_publica .tv_drawer_item_total_box small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8A7A88 !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_total_box strong {
  font-size: 1.1rem !important;
  color: #9B7EBD !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad {
  height: 42px;
  padding: 0 6px;
  border: 1px solid rgba(191, 175, 208, 0.28) !important;
  background: rgba(248, 244, 251, 0.7) !important;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad button {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
}

#aside_carrito_tienda_publica .tv_drawer_eliminar_icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  padding: 0;
}

#aside_carrito_tienda_publica .tv_drawer_item_footer .tv_drawer_eliminar {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
}

#aside_carrito_tienda_publica .tv_drawer_resumen {
  margin-top: auto !important;
  display: grid;
  gap: 14px;
}

#aside_carrito_tienda_publica .tv_drawer_resumen_beneficio {
  border-radius: 20px !important;
}

#aside_carrito_tienda_publica .tv_drawer_totales {
  gap: 10px !important;
}

#aside_carrito_tienda_publica .tv_drawer_botones {
  display: grid !important;
  gap: 12px !important;
}

@media (max-width: 520px) {
  #aside_carrito_tienda_publica .tv_drawer_item {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_media {
    width: 76px !important;
    height: 76px !important;
    min-height: 76px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_meta {
    grid-template-columns: 1fr;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_total_box {
    justify-items: start;
    min-width: 100%;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_footer {
    flex-direction: column;
    align-items: stretch !important;
  }
}

/* Ajuste final v7: cards, paginación, ofertas y ver producto */
.tv_producto_card_base {
  border: 1px solid rgba(191,175,208,0.22) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,246,251,0.96) 100%) !important;
  box-shadow: 0 14px 28px rgba(104,86,102,0.07) !important;
}

.tv_producto_card_media {
  padding: .9rem .9rem 0 !important;
}

.tv_producto_card_media_frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 184px;
  padding: .85rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(249,245,251,0.62) 100%);
}

.tv_producto_card_imagen {
  width: 100%;
  height: 148px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(104,86,102,0.10));
}

.tv_producto_card_accion {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  flex: 0 0 40px !important;
}

.tv_producto_card_body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  gap: .32rem;
  padding: .82rem .9rem .92rem;
  text-align: center;
}

.tv_producto_card_rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .26rem;
  min-height: 18px;
  margin-bottom: .02rem;
  font-family: var(--tv-font-base);
  font-size: .78rem;
  font-weight: 600;
  color: #8A7A88;
}

.tv_producto_card_title {
  min-height: 20px;
  margin: 0;
  color: var(--tv-color-text) !important;
  font-family: var(--tv-font-base) !important;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.16;
  text-align: center;
  letter-spacing: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tv_producto_card_title a {
  color: inherit !important;
  font: inherit;
}

.tv_producto_card_price_block {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: .1rem;
  margin-top: 0;
  padding-top: 0;
}

.tv_producto_card_precio_anterior {
  min-height: 14px;
  color: #8A7A88;
  font-family: var(--tv-font-base);
  font-size: .74rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: line-through;
}

.tv_producto_card_precio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  margin-inline: auto;
  margin-top: 0;
  text-align: center;
  color: #9B7EBD !important;
  font-family: var(--tv-font-base) !important;
  font-size: 1.08rem !important;
  font-weight: 600;
  line-height: 1 !important;
}

.tv_producto_card_cta {
  width: 100%;
  min-height: 37px !important;
  margin-top: .14rem;
  border-radius: 14px !important;
  padding: 0 .9rem !important;
  font-family: var(--tv-font-base) !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
}

.tv_catalogo_layout_final {
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 2rem;
  align-items: start;
}

.tv_catalog_filters_shell_final {
  position: sticky;
  top: 108px;
  gap: 1.2rem;
}

.tv_catalog_filters_topbar_final {
  display: grid;
  gap: .45rem;
}

.tv_catalog_filters_topbar_final strong {
  display: block;
  color: #685666;
  font-size: 1.05rem;
}

.tv_catalog_filters_range {
  color: #8A7A88;
  font-size: .92rem;
}

.tv_catalog_filters_form_final {
  grid-template-columns: 1fr !important;
  gap: 1rem;
}

.tv_catalog_actions_final {
  grid-template-columns: 1fr;
}

.tv_catalog_grid_head_final {
  padding: .2rem .1rem 0;
}

.tv_catalog_grid_head_final strong {
  font-size: 1.9rem;
  line-height: 1;
}

.tv_catalog_grid_meta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 .95rem;
  border-radius: 999px;
  background: rgba(221,212,231,0.58);
  color: #685666;
  font-size: .9rem;
  font-weight: 700;
}

.tv_catalog_paginacion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding-top: .35rem;
}

.tv_catalog_paginacion_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 .95rem;
  border: 1px solid rgba(191,175,208,0.28);
  border-radius: 999px;
  background: #fff;
  color: #685666;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}

.tv_catalog_paginacion_link:hover {
  border-color: rgba(155,126,189,0.34);
  color: #9B7EBD;
}

.tv_catalog_paginacion_link_activo {
  background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 58%, #D4B6CA 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 24px rgba(155,126,189,0.18);
}

.tv_catalog_paginacion_link_inactivo {
  pointer-events: none;
  opacity: .45;
}

.tv_ofertas_hero_compacto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem;
  border: 1px solid rgba(191,175,208,0.24);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,242,250,0.96) 100%);
  box-shadow: 0 18px 38px rgba(104,86,102,0.07);
}

.tv_ofertas_hero_copy {
  display: grid;
  gap: 1rem;
}

.tv_ofertas_hero_copy h1 {
  margin: 0;
  max-width: 12ch;
  color: #685666;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: .96;
}

.tv_ofertas_hero_copy p {
  margin: 0;
  max-width: 60ch;
  color: #8A7A88;
  font-size: .98rem;
  line-height: 1.75;
}

.tv_ofertas_chip_estado {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #685666;
  font-size: .9rem;
  font-weight: 700;
}

.tv_ofertas_hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.tv_ofertas_hero_visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.tv_ofertas_hero_media {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(191,175,208,0.22);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 16px 30px rgba(104,86,102,0.06);
}

.tv_ofertas_hero_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv_ofertas_lista {
  display: grid;
  gap: 1.2rem;
}

.tv_ofertas_lista_head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.tv_ofertas_lista_head h2 {
  margin: .55rem 0 0;
  color: #685666;
  font-size: 2rem;
  line-height: 1;
}

.tv_ofertas_lista_head p {
  max-width: 520px;
  margin: 0;
  color: #8A7A88;
  line-height: 1.7;
}

.tv_ofertas_estado_vacio {
  display: grid;
  gap: .45rem;
  justify-items: center;
  padding: 1.3rem 1.4rem;
  border: 1px dashed rgba(191,175,208,0.36);
  border-radius: 28px;
  background: rgba(255,255,255,0.76);
  text-align: center;
  color: #8A7A88;
}

.tv_ofertas_estado_vacio strong {
  color: #685666;
  font-size: 1.02rem;
}

.tv_breadcrumb_venus {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgba(191,175,208,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #8A7A88;
  font-size: .9rem;
  box-shadow: 0 10px 22px rgba(104,86,102,0.04);
}

.tv_breadcrumb_venus a {
  color: #685666;
  text-decoration: none;
  transition: color .2s ease;
}

.tv_breadcrumb_venus a:hover {
  color: #9B7EBD;
}

.tv_producto_panel_bloque {
  display: grid;
  gap: .85rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(191,175,208,0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,244,251,0.78) 100%);
}

.tv_producto_panel_label {
  color: #9B7EBD;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tv_producto_panel_bloque p {
  margin: 0;
  color: #685666;
  font-size: .96rem;
  line-height: 1.8;
}

.tv_producto_panel_precio strong {
  color: #9B7EBD;
  font-size: 2.2rem;
  line-height: 1;
}

.tv_producto_precio_anterior {
  color: #8A7A88;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: line-through;
}

.tv_producto_beneficios_grid {
  display: grid;
  gap: .7rem;
}

.tv_producto_beneficio_item {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  color: #685666;
  font-size: .9rem;
}

.tv_producto_form_compra {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(191,175,208,0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,244,251,0.78) 100%);
}

.tv_producto_cantidad_card {
  display: grid;
  gap: .8rem;
}

.tv_producto_cantidad_card label {
  display: block;
  margin: 0;
  color: #685666;
  font-size: .95rem;
  font-weight: 700;
}

.tv_producto_cantidad_card small {
  display: block;
  margin-top: .25rem;
  color: #8A7A88;
  font-size: .84rem;
}

.tv_producto_cantidad_input_wrap {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 132px;
  min-height: 54px;
  padding: 0 .85rem;
  border: 1px solid rgba(191,175,208,0.30);
  border-radius: 18px;
  background: rgba(255,255,255,0.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.tv_producto_cantidad_input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #685666;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  outline: none;
}

.tv_producto_relacionados_acordeon {
  border: 1px solid rgba(191,175,208,0.22);
  border-radius: 30px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 18px 36px rgba(104,86,102,0.05);
  overflow: hidden;
}

.tv_producto_relacionados_acordeon summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.3rem;
}

.tv_producto_relacionados_acordeon summary::-webkit-details-marker {
  display: none;
}

.tv_producto_relacionados_acordeon summary strong {
  display: block;
  color: #685666;
  font-size: 1.25rem;
}

.tv_producto_relacionados_acordeon summary small {
  display: block;
  margin-top: .28rem;
  color: #8A7A88;
  font-size: .9rem;
}

.tv_producto_relacionados_toggle {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 .9rem;
  border-radius: 999px;
  background: rgba(221,212,231,0.62);
  color: #685666;
  font-size: .84rem;
  font-weight: 700;
}

.tv_producto_relacionados_contenido {
  padding: 0 1.3rem 1.3rem;
}

@media (max-width: 1180px) {
  .tv_catalogo_layout_final {
    grid-template-columns: 1fr !important;
  }

  .tv_catalog_filters_shell_final {
    position: static;
  }

  .tv_ofertas_hero_compacto {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tv_catalog_grid_head_final {
    align-items: flex-start;
  }

  .tv_catalog_grid_meta {
    width: 100%;
    justify-content: center;
  }

  .tv_ofertas_hero_compacto {
    padding: 1.2rem;
  }

  .tv_ofertas_hero_copy h1,
  .tv_page_catalogo .tv_catalog_grid_head_final strong {
    font-size: 1.7rem;
  }

  .tv_ofertas_hero_media {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .tv_producto_card_title {
    min-height: auto;
    font-size: .95rem;
  }

  .tv_producto_card_precio {
    font-size: 1rem !important;
  }

  .tv_producto_relacionados_contenido {
    padding: 0 1rem 1rem;
  }
}

@media (max-width: 520px) {
  .tv_breadcrumb_venus {
    border-radius: 20px;
    padding: .75rem .9rem;
    line-height: 1.5;
  }

  .tv_producto_card_media_frame {
    min-height: 168px;
  }

  .tv_producto_card_imagen {
    height: 138px;
  }

  .tv_producto_card_body {
    gap: .28rem;
    padding: .78rem .78rem .88rem;
  }

  .tv_producto_card_title {
    min-height: 40px;
    font-size: .92rem;
  }

  .tv_producto_card_precio {
    font-size: 1rem !important;
  }

  .tv_producto_card_cta {
    min-height: 36px !important;
  }
}

.tv_btn_icono_admin_tienda {
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.16) 0%, rgba(212, 182, 202, 0.32) 100%);
}

.tv_account_page {
  padding: 0 0 48px;
}

.tv_account_intro_section {
  padding: 40px 0 56px;
}

.tv_account_intro_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.tv_account_intro_copy,
.tv_account_panel {
  padding: 34px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(104, 86, 102, 0.08);
}

.tv_account_panel_main {
  backdrop-filter: blur(12px);
}

.tv_account_intro_copy h1 {
  margin: 14px 0 16px;
  color: var(--tv-color-text);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.tv_account_intro_copy p {
  margin: 0;
  color: var(--tv-color-text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.tv_account_highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tv_account_highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--tv-color-text);
  font-size: 0.88rem;
  font-weight: 600;
}

.tv_account_message {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 600;
}

.tv_account_message_ok {
  border: 1px solid rgba(84, 138, 112, 0.16);
  background: rgba(233, 245, 238, 0.96);
  color: #3D6B54;
}

.tv_account_message_error {
  border: 1px solid rgba(176, 91, 109, 0.16);
  background: rgba(251, 236, 240, 0.96);
  color: #965363;
}

.tv_account_tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 999px;
  background: rgba(248, 246, 251, 0.88);
}

.tv_account_tab {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tv-color-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.tv_account_tab_activo {
  background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(155, 126, 189, 0.22);
}

.tv_account_forms {
  position: relative;
}

.tv_account_form_wrap {
  display: none;
}

.tv_account_form_wrap_activo {
  display: block;
}

.tv_account_form {
  display: grid;
  gap: 16px;
}

.tv_account_form_error {
  margin-bottom: 0;
}

.tv_account_field,
.tv_account_field_grid {
  display: grid;
  gap: 10px;
}

.tv_account_field label {
  margin-bottom: 0;
  color: var(--tv-color-text);
  font-size: 0.94rem;
  font-weight: 700;
}

.tv_account_field input {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(104, 86, 102, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
}

.tv_account_field input:focus {
  outline: none;
  border-color: rgba(155, 126, 189, 0.44);
  box-shadow: 0 0 0 4px rgba(191, 175, 208, 0.18);
}

.tv_account_field_grid_double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tv_account_submit {
  width: 100%;
  justify-content: center;
}

.tv_account_link_accion {
  width: 100%;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8A7A88;
  font-weight: 700;
}

.tv_account_link_accion:hover,
.tv_account_link_accion:focus-visible {
  color: #685666;
  text-decoration: underline;
}

.tv_account_recovery_stack {
  display: grid;
  gap: 18px;
}

.tv_account_recovery_card {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 243, 250, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 14px 28px rgba(104, 86, 102, 0.05);
}

.tv_account_recovery_card_header {
  display: grid;
  gap: 4px;
}

.tv_account_recovery_card_header strong {
  color: var(--tv-color-text);
  font-size: 1.05rem;
  line-height: 1.3;
}

.tv_account_recovery_steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--tv-color-text-soft);
}

.tv_account_recovery_steps li {
  line-height: 1.55;
}


.tv_account_recovery_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tv_account_recovery_badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 175, 208, 0.34);
  color: var(--tv-color-text);
  font-size: 0.8rem;
  font-weight: 700;
}

.tv_account_field_hint {
  display: block;
  margin-top: -4px;
  margin-bottom: 4px;
  color: var(--tv-color-text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.tv_account_code_input {
  letter-spacing: 0.3em;
  text-align: center;
  font-weight: 700;
}

.tv_account_recovery_note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(221, 212, 231, 0.35);
  color: var(--tv-color-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.tv_account_resume_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tv_account_resume_card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.tv_account_resume_grid > .tv_account_resume_card:only-child {
  grid-column: 1 / -1;
}

.tv_account_resume_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tv_account_resume_badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(155, 126, 189, 0.12);
  color: #7B5F98;
  font-size: 0.82rem;
  font-weight: 700;
}

.tv_account_resume_card_admin {
  background: linear-gradient(180deg, rgba(245, 242, 248, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.tv_account_resume_card h2 {
  margin: 0;
  color: var(--tv-color-text);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
}

.tv_account_resume_text {
  margin: 0;
  color: var(--tv-color-text-soft);
  font-size: 0.97rem;
  line-height: 1.7;
}

.tv_account_resume_list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--tv-color-text-soft);
}

.tv_account_resume_highlights {
  margin-top: 0;
}

.tv_account_actions,
.tv_account_inline_form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tv_account_actions {
  margin-top: auto;
}

@media (max-width: 959px) {
  .tv_account_intro_grid,
  .tv_account_resume_grid,
  .tv_account_field_grid_double {
    grid-template-columns: 1fr;
  }

  .tv_account_intro_copy,
  .tv_account_panel {
    padding: 24px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .tv_account_intro_section {
    padding: 24px 0 36px;
  }

  .tv_account_intro_copy h1 {
    font-size: 2.1rem;
  }

  .tv_account_tabs {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .tv_account_tab {
    border-radius: 18px;
  }

  .tv_account_resume_head {
    align-items: flex-start;
  }

  .tv_account_actions .tv_btn,
  .tv_account_inline_form .tv_btn,
  .tv_account_submit {
    width: 100%;
    min-width: 0;
  }
}


.tv_checkout_pagina {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 2.25rem;
}

.tv_checkout_intro,
.tv_checkout_compacto,
.tv_checkout_pago_layout {
  background: #FFFFFF;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 32px;
  box-shadow: 0 20px 48px rgba(104, 86, 102, 0.08);
}

.tv_checkout_intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
}

.tv_checkout_intro_texto h1,
.tv_checkout_intro_texto h3,
.tv_checkout_panel_header h3 {
  margin: 0;
}

.tv_checkout_intro_texto p,
.tv_checkout_pago_texto,
.tv_checkout_prefill_banner span,
.tv_checkout_pasarela_info span,
.tv_checkout_panel_header p {
  margin: 0;
  color: #8A7A88;
}

.tv_checkout_prefill_banner {
  margin-top: 1rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(191, 175, 208, 0.26);
  border-radius: 18px;
  background: rgba(245, 242, 248, 0.86);
}

.tv_checkout_pasos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.tv_checkout_paso {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 175, 208, 0.30);
  background: #FFFFFF;
  color: #685666;
  text-decoration: none;
}

.tv_checkout_paso_activo {
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.95) 0%, rgba(191, 175, 208, 0.92) 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.tv_checkout_compacto,
.tv_checkout_pago_layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
}

.tv_checkout_form_compacto,
.tv_checkout_pago_formulario {
  display: grid;
  gap: 1rem;
}

.tv_checkout_panel {
  padding: 1.25rem;
  border: 1px solid rgba(191, 175, 208, 0.24);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 246, 251, 0.98) 100%);
  box-shadow: 0 14px 32px rgba(104, 86, 102, 0.06);
}

.tv_checkout_panel_header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.tv_checkout_grid {
  display: grid;
  gap: 0.95rem;
}

.tv_checkout_grid_dos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.tv_checkout_campo_full {
  grid-column: 1 / -1;
}

.tv_checkout_form_compacto label,
.tv_checkout_pago_formulario label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  color: #685666;
  font-weight: 600;
}

.tv_checkout_form_compacto input,
.tv_checkout_form_compacto textarea,
.tv_checkout_form_compacto select,
.tv_checkout_pago_formulario input,
.tv_checkout_pago_formulario textarea,
.tv_checkout_pago_formulario select {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(191, 175, 208, 0.32);
  border-radius: 18px;
  background: #FFFFFF;
  color: #685666;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  box-sizing: border-box;
  display: block;
}

.tv_checkout_form_compacto textarea,
.tv_checkout_pago_formulario textarea {
  min-height: 108px;
}

.tv_checkout_estado_grid,
.tv_checkout_entrega_resumen,
.tv_checkout_resumen_beneficios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tv_checkout_estado_grid article,
.tv_checkout_entrega_resumen article,
.tv_checkout_resumen_beneficios article {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(245, 242, 248, 0.88);
  border: 1px solid rgba(191, 175, 208, 0.22);
}

.tv_checkout_estado_grid span,
.tv_checkout_entrega_resumen span,
.tv_checkout_resumen_beneficios span,
.tv_checkout_resumen_info span,
.tv_checkout_totales span,
.tv_checkout_metodo_textos small,
.tv_checkout_metodo_estado {
  display: block;
  color: #8A7A88;
}

.tv_checkout_estado_grid strong,
.tv_checkout_entrega_resumen strong,
.tv_checkout_resumen_beneficios strong,
.tv_checkout_resumen_info strong,
.tv_checkout_totales strong,
.tv_checkout_total_principal strong {
  color: #685666;
}

.tv_checkout_acciones_compactas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.tv_checkout_resumen_lista {
  display: grid;
  gap: 0.9rem;
}

.tv_checkout_resumen_item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 20px;
  background: rgba(245, 242, 248, 0.72);
}

.tv_checkout_resumen_media .tv_producto_media,
.tv_checkout_resumen_media img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: #FFFFFF;
}

.tv_checkout_totales {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tv_checkout_totales div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tv_checkout_total_principal {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(191, 175, 208, 0.22);
}

.tv_checkout_metodos_pago {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.tv_checkout_metodo_pago_card {
  position: relative;
  display: flex;
  min-height: 116px;
  border-radius: 22px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  background: #FFFFFF;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tv_checkout_metodo_pago_card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(104, 86, 102, 0.08);
}

.tv_checkout_metodo_pago_card input[type='radio'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.tv_checkout_metodo_visual {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
}

.tv_checkout_metodo_pago_card_activo {
  border-color: rgba(155, 126, 189, 0.54);
  box-shadow: 0 18px 30px rgba(155, 126, 189, 0.14);
}

.tv_checkout_metodo_pago_card_bloqueado {
  opacity: 0.68;
  cursor: not-allowed;
}

.tv_checkout_metodo_textos span {
  font-weight: 700;
  color: #685666;
}

.tv_checkout_metodo_estado {
  margin-top: 0.3rem;
}

.tv_checkout_pasarela_info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(243, 214, 211, 0.34);
  border: 1px solid rgba(212, 182, 202, 0.45);
  color: #685666;
}

.tv_honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.tv_checkout_panel_seguridad,
.tv_checkout_seguridad_banner {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 242, 248, 0.92), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(191, 175, 208, 0.28);
  color: #685666;
}

.tv_checkout_seguridad_banner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tv_checkout_seguridad_lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tv_checkout_seguridad_lista span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(191, 175, 208, 0.16);
  border: 1px solid rgba(191, 175, 208, 0.22);
  font-size: 0.86rem;
  font-weight: 600;
}

.tv_checkout_acciones_compactas .tv_btn[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

.tv_checkout_tarjeta_preview,
.tv_checkout_alerta_compacta,
.tv_checkout_alerta_compacta_contra {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(245, 242, 248, 0.85);
  border: 1px solid rgba(191, 175, 208, 0.22);
}

.tv_checkout_tarjeta_preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tv_checkout_check_label {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem !important;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(245, 242, 248, 0.72);
  border: 1px solid rgba(191, 175, 208, 0.22);
}

.tv_checkout_check_label input[type='checkbox'] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 0.15rem;
  padding: 0;
}

.tv_checkout_pago_resumen_cliente {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.tv_checkout_pago_resumen_cliente article {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(245, 242, 248, 0.75);
  border: 1px solid rgba(191, 175, 208, 0.18);
}

.tv_checkout_toast_info {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  max-width: 360px;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: #685666;
  color: #FFFFFF;
  box-shadow: 0 18px 32px rgba(104, 86, 102, 0.22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tv_checkout_toast_info_visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .tv_checkout_compacto,
  .tv_checkout_pago_layout,
  .tv_checkout_intro {
    grid-template-columns: 1fr;
  }

  .tv_checkout_pasos {
    justify-content: flex-start;
  }
}


@media (min-width: 768px) {
  .tv_checkout_resumen_promocion_bloque {
    gap: 16px;
    padding: 24px 24px 22px;
  }

  .tv_checkout_promocion_inline_resumen {
    align-items: stretch;
  }

  .tv_checkout_promocion_campo_wrap {
    padding: 14px 16px 16px;
  }

  .tv_checkout_promocion_campo_label {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .tv_checkout_promocion_campo {
    font-size: 0.98rem;
  }
}


@media (max-width: 1100px) {
  .tv_checkout_promocion_inline_resumen {
    grid-template-columns: 1fr;
  }

  .tv_checkout_promocion_accion {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .tv_checkout_pagina {
    padding-top: 1rem;
  }

  .tv_checkout_intro,
  .tv_checkout_compacto,
  .tv_checkout_pago_layout,
  .tv_checkout_panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .tv_checkout_grid_dos,
  .tv_checkout_metodos_pago,
  .tv_checkout_estado_grid,
  .tv_checkout_entrega_resumen,
  .tv_checkout_resumen_beneficios {
    grid-template-columns: 1fr;
  }

  .tv_checkout_resumen_item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .tv_checkout_tarjeta_preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .tv_checkout_acciones_compactas .tv_btn,
  .tv_checkout_pasos .tv_checkout_paso {
    width: 100%;
  }

  .tv_checkout_toast_info {
    left: 14px;
    right: 14px;
    max-width: none;
  }
}


/* Ajustes puntuales cuenta, cantidad y carrito */
.tv_account_message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tv_account_message_oculto {
  display: none !important;
}

.tv_account_message_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #685666;
  font-size: 1.1rem;
  line-height: 1;
}

.tv_producto_cantidad_card {
  grid-template-columns: minmax(0, 1fr) 116px;
  align-items: end;
  column-gap: 16px;
}

.tv_producto_cantidad_input_wrap {
  width: 116px;
  max-width: 116px;
  min-height: 52px;
  padding: 0;
  justify-self: start;
  overflow: hidden;
}

.tv_producto_cantidad_input {
  -moz-appearance: textfield;
  appearance: textfield;
  min-height: 52px;
  padding: 0 12px;
  line-height: 1;
}

.tv_producto_cantidad_input::-webkit-outer-spin-button,
.tv_producto_cantidad_input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tv_producto_form_acciones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tv_producto_form_boton {
  width: 100%;
  min-height: 52px;
}

#aside_carrito_tienda_publica.tv_drawer_carrito {
  position: fixed !important;
  z-index: 1003 !important;
}

#aside_carrito_tienda_publica .tv_drawer_resumen,
#aside_carrito_tienda_publica .tv_drawer_botones,
#aside_carrito_tienda_publica .tv_drawer_botones .tv_btn {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  font-size: 1.1rem;
  line-height: 1;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  line-height: 1;
}

@media (max-width: 640px) {
  .tv_producto_cantidad_card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tv_producto_form_acciones {
    grid-template-columns: 1fr;
  }
}

/* Checkout y pasarela - ajuste visual y validaciones */
.tv_checkout_intro {
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 1.25rem;
}

.tv_checkout_intro_texto {
  display: grid;
  gap: 0.75rem;
}

.tv_checkout_intro_texto h1 {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
  line-height: 1;
  color: #685666;
}

.tv_checkout_intro_texto p,
.tv_checkout_panel_header p,
.tv_checkout_pago_texto,
.tv_checkout_metodo_textos small,
.tv_checkout_resumen_info span,
.tv_checkout_estado_grid span,
.tv_checkout_entrega_resumen span,
.tv_checkout_resumen_beneficios span,
.tv_checkout_totales span {
  font-size: 0.95rem;
  line-height: 1.45;
}

.tv_checkout_compacto,
.tv_checkout_pago_layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  padding: 1.5rem;
}

.tv_checkout_panel,
.tv_checkout_panel_estado,
.tv_checkout_panel_formulario,
.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  overflow: hidden;
}

.tv_checkout_panel_formulario,
.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  position: relative;
}

.tv_checkout_panel_formulario::before,
.tv_checkout_panel_resumen::before,
.tv_checkout_panel_pago_resumen::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, rgba(155, 126, 189, 0.90) 0%, rgba(243, 214, 211, 0.92) 100%);
}

.tv_checkout_panel_header {
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.tv_checkout_panel_header h3 {
  font-size: 1.3rem;
  color: #685666;
}

.tv_checkout_validacion_global {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(190, 99, 129, 0.28);
  background: linear-gradient(180deg, rgba(255, 243, 246, 0.98) 0%, rgba(255, 248, 250, 0.98) 100%);
  color: #9D4462;
  box-shadow: 0 14px 28px rgba(157, 68, 98, 0.08);
}

.tv_checkout_validacion_global span {
  display: block;
  font-weight: 600;
  line-height: 1.4;
}

.tv_checkout_validacion_contenido {
  display: grid;
  gap: 0.85rem;
}

.tv_checkout_validacion_acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tv_checkout_validacion_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(157, 68, 98, 0.16);
  background: #FFFFFF;
  color: #9D4462;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.tv_checkout_validacion_link:hover,
.tv_checkout_validacion_link:focus-visible {
  color: #FFFFFF;
  background: #9D4462;
}

.tv_checkout_validacion_link_secundario {
  background: rgba(255, 255, 255, 0.72);
}

.tv_checkout_validacion_cerrar {
  min-width: 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(190, 99, 129, 0.16);
  background: #FFFFFF;
  color: #9D4462;
  font-size: 1.05rem;
}

.tv_checkout_form_compacto label,
.tv_checkout_pago_formulario label {
  gap: 0.5rem;
}

.tv_checkout_form_compacto label > span:first-child,
.tv_checkout_pago_formulario label > span:first-child {
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tv_checkout_form_compacto input,
.tv_checkout_form_compacto textarea,
.tv_checkout_form_compacto select,
.tv_checkout_pago_formulario input,
.tv_checkout_pago_formulario textarea,
.tv_checkout_pago_formulario select {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.tv_checkout_form_compacto input:focus,
.tv_checkout_form_compacto textarea:focus,
.tv_checkout_form_compacto select:focus,
.tv_checkout_pago_formulario input:focus,
.tv_checkout_pago_formulario textarea:focus,
.tv_checkout_pago_formulario select:focus {
  outline: none;
  border-color: rgba(155, 126, 189, 0.65);
  box-shadow: 0 0 0 4px rgba(191, 175, 208, 0.18);
}

.tv_checkout_campo_invalido > span:first-child,
.tv_checkout_campo_invalido .tv_checkout_metodo_textos span {
  color: #9D4462 !important;
}

.tv_checkout_campo_invalido input,
.tv_checkout_campo_invalido textarea,
.tv_checkout_campo_invalido select,
.tv_checkout_metodo_pago_card.tv_checkout_campo_invalido {
  border-color: rgba(190, 99, 129, 0.45) !important;
  background: rgba(255, 246, 248, 0.95) !important;
  box-shadow: 0 0 0 4px rgba(190, 99, 129, 0.08) !important;
}

.tv_checkout_campo_error {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #B14C69;
  font-weight: 600;
}

.tv_checkout_estado_grid,
.tv_checkout_entrega_resumen,
.tv_checkout_resumen_beneficios {
  gap: 0.85rem;
}

.tv_checkout_estado_grid article,
.tv_checkout_entrega_resumen article,
.tv_checkout_resumen_beneficios article,
.tv_checkout_pago_resumen_cliente article {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tv_checkout_acciones_compactas {
  margin-top: 0.35rem;
}

.tv_checkout_acciones_compactas .tv_btn {
  min-width: 200px;
  min-height: 52px;
}

.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  position: sticky;
  top: 1.2rem;
}

.tv_checkout_resumen_lista {
  gap: 0.95rem;
}

.tv_checkout_resumen_item {
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(191, 175, 208, 0.18);
}

.tv_checkout_resumen_info {
  display: grid;
  gap: 0.35rem;
}

.tv_checkout_resumen_info strong {
  font-size: 1rem;
  line-height: 1.25;
}

.tv_checkout_resumen_info b {
  font-size: 1rem;
}

.tv_checkout_totales {
  margin-top: 1.15rem;
  padding-top: 0.1rem;
}

.tv_checkout_totales div {
  padding: 0.1rem 0;
}

.tv_checkout_total_principal {
  margin-top: 0.25rem;
  padding: 0.95rem 0 0;
}

.tv_checkout_total_principal span {
  font-size: 1rem;
  font-weight: 700;
  color: #685666;
}

.tv_checkout_total_principal strong {
  font-size: 1.2rem;
}

.tv_checkout_metodos_pago {
  gap: 1rem;
}

.tv_checkout_metodo_pago_card {
  min-height: 132px;
  padding: 0;
  cursor: pointer;
}

.tv_checkout_metodo_visual {
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.05rem;
}

.tv_checkout_metodo_icono_media,
.tv_checkout_metodo_icono_svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(245, 242, 248, 0.92);
  color: #9B7EBD;
}

.tv_checkout_metodo_icono_media img,
.tv_checkout_metodo_icono_svg svg {
  width: 26px;
  height: 26px;
}

.tv_checkout_metodo_icono_svg svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv_checkout_metodo_textos {
  display: grid;
  gap: 0.24rem;
}

.tv_checkout_metodo_textos span {
  font-size: 1rem;
  line-height: 1.2;
}

.tv_checkout_metodo_pago_card_activo {
  transform: translateY(-1px);
}

.tv_checkout_pasarela_info,
.tv_checkout_tarjeta_preview,
.tv_checkout_alerta_compacta,
.tv_checkout_alerta_compacta_contra,
.tv_checkout_check_label {
  border-radius: 20px;
}

.tv_checkout_tarjeta_preview {
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(104, 86, 102, 0.94) 0%, rgba(155, 126, 189, 0.92) 100%);
  color: #FFFFFF;
  border: none;
}

.tv_checkout_tarjeta_preview span,
.tv_checkout_tarjeta_preview small {
  color: rgba(255, 255, 255, 0.82);
}

.tv_checkout_tarjeta_preview strong {
  color: #FFFFFF;
  font-size: 1.05rem;
}

.tv_checkout_pago_metodo {
  display: grid;
  gap: 1rem;
}

.tv_checkout_alerta_compacta,
.tv_checkout_alerta_compacta_contra,
.tv_checkout_pasarela_info,
.tv_checkout_check_label {
  font-size: 0.93rem;
  line-height: 1.45;
}

.tv_checkout_check_label {
  align-items: center;
}

.tv_checkout_check_label span {
  flex: 1 1 auto;
}

.tv_checkout_toast_info {
  padding: 0.95rem 1rem;
  border-radius: 20px;
}

@media (max-width: 1024px) {
  .tv_checkout_panel_resumen,
  .tv_checkout_panel_pago_resumen {
    position: static;
    top: auto;
  }
}

@media (max-width: 767px) {
  .tv_checkout_intro_texto h1 {
    font-size: 1.8rem;
  }

  .tv_checkout_validacion_global {
    align-items: flex-start;
  }

  .tv_checkout_compacto,
  .tv_checkout_pago_layout {
    padding: 1rem;
    gap: 1rem;
  }

  .tv_checkout_metodo_visual {
    padding: 0.95rem;
  }

  .tv_checkout_metodo_pago_card {
    min-height: auto;
  }

  .tv_checkout_resumen_item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .tv_checkout_acciones_compactas .tv_btn {
    min-width: 100%;
  }
}


.tv_breadcrumb_venus{position:relative;z-index:1;}


/* Ajuste puntual final: header, detalle, carrito y checkout */
.tv_header.tv_header_venus {
  min-height: 76px;
}

.tv_header_superior.tv_container {
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.tv_btn_icono_header,
.tv_btn_icono_header:hover,
.tv_btn_icono_header:focus-visible,
.tv_btn_icono_header_activo {
  text-decoration: none;
}

.tv_producto_cantidad_card {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.tv_producto_cantidad_input_wrap {
  width: 116px !important;
  min-width: 116px !important;
  max-width: 116px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tv_producto_cantidad_input {
  -moz-appearance: textfield;
  appearance: textfield;
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(104, 86, 102, 0.28) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  color: #685666 !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.tv_producto_cantidad_input:focus {
  border-color: rgba(155, 126, 189, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(191, 175, 208, 0.16) !important;
  outline: none !important;
}

.tv_producto_form_acciones {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.tv_producto_form_boton {
  width: 100% !important;
  min-height: 56px !important;
}

#aside_carrito_tienda_publica .tv_drawer_botones,
#aside_carrito_tienda_publica .tv_drawer_botones .tv_btn,
#aside_carrito_tienda_publica .tv_drawer_resumen {
  position: relative !important;
  z-index: 20 !important;
  pointer-events: auto !important;
}

#aside_carrito_tienda_publica .tv_drawer_botones {
  grid-template-columns: 1fr !important;
}

#aside_carrito_tienda_publica .tv_drawer_botones .tv_btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad button,
#aside_carrito_tienda_publica .tv_drawer_cantidad span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad button {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad span {
  min-width: 26px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

.tv_checkout_pagina {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 18px 20px 36px !important;
}

.tv_checkout_intro {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
  padding: 22px 26px !important;
  border: 1px solid rgba(191, 175, 208, 0.22) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 16px 30px rgba(104, 86, 102, 0.06) !important;
}

.tv_checkout_intro_texto {
  gap: 8px !important;
}

.tv_checkout_intro_texto .tv_etiqueta,
.tv_checkout_panel_header .tv_etiqueta {
  width: fit-content !important;
  min-height: 28px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(155, 126, 189, 0.18) !important;
  border-radius: 999px !important;
  background: rgba(155, 126, 189, 0.10) !important;
  color: #8A6FA7 !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.tv_checkout_intro_texto h1 {
  margin: 0 !important;
  font-size: clamp(2rem, 2.6vw, 2.45rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  color: #685666 !important;
}

.tv_checkout_intro_texto p {
  margin: 0 !important;
  max-width: 620px !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  color: #7E6F7B !important;
}

.tv_checkout_pasos {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.tv_checkout_paso {
  min-height: 40px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(191, 175, 208, 0.28) !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #685666 !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

.tv_checkout_paso_activo {
  background: linear-gradient(90deg, #9B7EBD 0%, #BFAFD0 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 10px 20px rgba(155, 126, 189, 0.16) !important;
}

.tv_checkout_compacto,
.tv_checkout_pago_layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.66fr) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tv_checkout_form_compacto,
.tv_checkout_pago_formulario {
  display: grid !important;
  gap: 18px !important;
}

.tv_checkout_panel,
.tv_checkout_panel_estado,
.tv_checkout_panel_formulario,
.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  padding: 20px !important;
  border: 1px solid rgba(191, 175, 208, 0.22) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 14px 28px rgba(104, 86, 102, 0.05) !important;
}

.tv_checkout_panel_formulario::before,
.tv_checkout_panel_resumen::before,
.tv_checkout_panel_pago_resumen::before {
  display: none !important;
}

.tv_checkout_panel_header {
  display: grid !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
}

.tv_checkout_panel_header h3 {
  margin: 0 !important;
  font-size: 1.28rem !important;
  line-height: 1.15 !important;
  color: #685666 !important;
}

.tv_checkout_prefill_banner {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: fit-content !important;
  padding: 10px 14px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(191, 175, 208, 0.22) !important;
  background: rgba(248, 244, 251, 0.72) !important;
  box-shadow: none !important;
}

.tv_checkout_prefill_banner strong,
.tv_checkout_prefill_banner span {
  font-size: 0.92rem !important;
}

.tv_checkout_grid,
.tv_checkout_grid_dos {
  gap: 14px !important;
}

.tv_checkout_form_compacto label,
.tv_checkout_pago_formulario label {
  display: grid !important;
  gap: 7px !important;
}

.tv_checkout_form_compacto label > span:first-child,
.tv_checkout_pago_formulario label > span:first-child {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #685666 !important;
}

.tv_checkout_form_compacto input,
.tv_checkout_form_compacto textarea,
.tv_checkout_form_compacto select,
.tv_checkout_pago_formulario input,
.tv_checkout_pago_formulario textarea,
.tv_checkout_pago_formulario select {
  min-height: 50px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(191, 175, 208, 0.26) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  color: #685666 !important;
  font-size: 0.96rem !important;
  box-shadow: none !important;
}

.tv_checkout_form_compacto textarea,
.tv_checkout_pago_formulario textarea {
  min-height: 112px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.tv_checkout_estado_grid article,
.tv_checkout_entrega_resumen article,
.tv_checkout_resumen_beneficios article,
.tv_checkout_pago_resumen_cliente article {
  min-height: auto !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
  border-radius: 18px !important;
  background: rgba(248, 244, 251, 0.55) !important;
}

.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  position: sticky !important;
  top: 96px !important;
  align-self: start !important;
}

.tv_checkout_resumen_lista {
  gap: 10px !important;
}

.tv_checkout_resumen_item {
  grid-template-columns: 66px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 12px !important;
  border-radius: 18px !important;
  background: rgba(250, 247, 252, 0.82) !important;
  box-shadow: none !important;
}

.tv_checkout_resumen_info strong {
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

.tv_checkout_totales {
  gap: 8px !important;
  margin-top: 8px !important;
  padding: 14px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
  background: rgba(248, 244, 251, 0.58) !important;
}

.tv_checkout_totales div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.tv_checkout_totales span,
.tv_checkout_totales strong {
  font-size: 0.97rem !important;
}

.tv_checkout_total_principal {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 6px !important;
  padding: 12px 14px !important;
  border-radius: 18px !important;
  background: rgba(155, 126, 189, 0.10) !important;
  border-top: 0 !important;
}

.tv_checkout_total_principal span {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
}

.tv_checkout_total_principal strong {
  font-size: 1.5rem !important;
  line-height: 1 !important;
  color: #9B7EBD !important;
}

.tv_checkout_acciones_compactas,
.tv_checkout_acciones_pago {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.tv_checkout_acciones_compactas .tv_btn,
.tv_checkout_acciones_pago .tv_btn {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
}

@media (max-width: 1024px) {
  .tv_checkout_intro {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_pasos {
    justify-content: flex-start !important;
  }

  .tv_checkout_compacto,
  .tv_checkout_pago_layout {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_panel_resumen,
  .tv_checkout_panel_pago_resumen {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  .tv_producto_cantidad_card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .tv_producto_form_acciones,
  .tv_checkout_acciones_compactas,
  .tv_checkout_acciones_pago {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_pagina {
    padding: 14px 14px 28px !important;
  }

  .tv_checkout_intro,
  .tv_checkout_panel,
  .tv_checkout_panel_estado,
  .tv_checkout_panel_formulario,
  .tv_checkout_panel_resumen,
  .tv_checkout_panel_pago_resumen {
    padding: 16px !important;
  }

  .tv_checkout_intro_texto h1 {
    font-size: 1.72rem !important;
  }

  .tv_checkout_paso {
    width: auto !important;
  }
}


.tv_checkout_intro {
  position: relative !important;
  overflow: hidden !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px) !important;
  gap: 24px !important;
  margin-bottom: 22px !important;
  padding: 26px 28px !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
  border-radius: 32px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 251, 0.96) 58%, rgba(243, 214, 211, 0.34) 100%) !important;
  box-shadow: 0 20px 36px rgba(104, 86, 102, 0.07) !important;
}

.tv_checkout_intro::before {
  content: '' !important;
  position: absolute !important;
  inset: auto -60px -70px auto !important;
  width: 220px !important;
  height: 220px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(191, 175, 208, 0.36) 0%, rgba(191, 175, 208, 0) 72%) !important;
  pointer-events: none !important;
}

.tv_checkout_intro_texto {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 10px !important;
}

.tv_checkout_intro_texto h1 {
  max-width: 580px !important;
  font-size: clamp(2.1rem, 2.8vw, 2.8rem) !important;
  line-height: 0.98 !important;
}

.tv_checkout_intro_texto p {
  max-width: 640px !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

.tv_checkout_pasos {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 12px !important;
  justify-content: stretch !important;
}

.tv_checkout_paso {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 72px !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(191, 175, 208, 0.20) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #685666 !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.tv_checkout_paso_numero {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
  background: rgba(191, 175, 208, 0.16) !important;
  color: #8A6FA7 !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
}

.tv_checkout_paso_contenido {
  display: grid !important;
  gap: 2px !important;
}

.tv_checkout_paso_contenido strong {
  color: #685666 !important;
  font-size: 0.95rem !important;
  line-height: 1.1 !important;
}

.tv_checkout_paso_contenido small {
  color: #8A7A88 !important;
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
}

.tv_checkout_paso_activo {
  background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 14px 28px rgba(155, 126, 189, 0.20) !important;
}

.tv_checkout_paso_activo .tv_checkout_paso_numero {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #FFFFFF !important;
}

.tv_checkout_paso_activo .tv_checkout_paso_contenido strong,
.tv_checkout_paso_activo .tv_checkout_paso_contenido small {
  color: #FFFFFF !important;
}

.tv_checkout_panel_header {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.tv_checkout_panel_header h3 {
  font-size: 1.18rem !important;
}

.tv_checkout_panel_formulario,
.tv_checkout_panel_estado,
.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  border-radius: 26px !important;
}

@media (max-width: 1024px) {
  .tv_checkout_intro {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_pasos {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .tv_checkout_intro {
    padding: 18px !important;
    border-radius: 26px !important;
  }

  .tv_checkout_pasos {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_paso {
    min-height: 64px !important;
  }
}

/* Ajuste responsive checkout y acciones móviles */
@media (max-width: 767px) {
  .tv_checkout_compacto {
    display: flex !important;
    flex-direction: column !important;
  }

  .tv_checkout_panel_resumen {
    order: -1 !important;
    margin-bottom: 14px !important;
  }

  .tv_checkout_panel_formulario:last-of-type {
    margin-bottom: 0 !important;
  }

  .tv_checkout_intro {
    gap: 16px !important;
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .tv_checkout_intro_texto {
    gap: 8px !important;
  }

  .tv_checkout_panel_header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .tv_checkout_pasos {
    gap: 10px !important;
  }

  .tv_checkout_paso {
    min-height: 60px !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
  }

  .tv_checkout_paso_contenido small {
    font-size: 0.74rem !important;
  }
}

@media (max-width: 520px) {
  .tv_checkout_pagina {
    padding: 12px 12px 24px !important;
  }

  .tv_checkout_intro_texto h1 {
    font-size: 1.56rem !important;
  }

  .tv_checkout_intro_texto p,
  .tv_checkout_panel_header p {
    font-size: 0.92rem !important;
  }

  .tv_checkout_paso_numero {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
  }
}

/* Ajuste responsive v8: buscador móvil y acciones de catálogo */
.tv_mobile_search_form {
  display: none;
}

.tv_producto_card_actions_mobile {
  display: none;
}

.tv_producto_card_cta_secundaria {
  border: 1px solid rgba(191, 175, 208, 0.42);
  background: rgba(255, 255, 255, 0.96);
  color: #685666;
  box-shadow: 0 10px 20px rgba(104, 86, 102, 0.08);
}

.tv_producto_card_cta_secundaria svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
}

.tv_producto_card_cta_secundaria:hover {
  background: rgba(244, 238, 248, 0.98);
  color: #685666;
}

@media (max-width: 860px) {
  .tv_header_acciones .tv_btn_icono_busqueda,
  .tv_header_acciones .tv_btn_icono_usuario {
    display: inline-flex !important;
  }

  .tv_header_acciones {
    flex-wrap: nowrap;
  }

  .tv_header_search_wrap {
    position: sticky;
    top: 78px;
    z-index: 120;
    padding: 0 0 10px;
    background: rgba(248, 245, 250, 0.98);
    border-bottom: 1px solid rgba(191, 175, 208, 0.18);
    backdrop-filter: blur(10px);
  }

  .tv_header_search_panel {
    padding-top: 10px;
  }

  .tv_header_search_input_wrap {
    min-height: 54px;
    border-radius: 18px;
  }

  .tv_mobile_search_form {
    display: block;
    margin-bottom: 1.1rem;
  }

  .tv_mobile_search_input_wrap {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    gap: .75rem;
    min-height: 54px;
    padding: .78rem .9rem;
    border: 1px solid rgba(191, 175, 208, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 24px rgba(104, 86, 102, 0.08);
  }

  .tv_mobile_search_input_wrap svg {
    width: 18px;
    height: 18px;
    stroke: #8A7A88;
    stroke-width: 1.9;
    fill: none;
  }

  .tv_mobile_search_input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #685666;
    font-size: .96rem;
    font-weight: 500;
  }

  .tv_mobile_search_input::placeholder {
    color: #8A7A88;
  }

  .tv_mobile_search_submit {
    min-width: 44px;
    height: 38px;
    padding: 0 .85rem;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #BFAFD0 0%, #D4B6CA 100%);
    color: #ffffff;
    font-size: .82rem;
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .tv_producto_card_overlay,
  .tv_producto_card_form_accion.inline-flex {
    display: none !important;
  }

  .tv_producto_card_actions_mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .5rem;
    width: 100%;
    margin-top: .5rem;
  }

  .tv_producto_card_form_accion_mobile {
    display: flex;
    width: 100%;
  }

  .tv_producto_card_form_accion_mobile .tv_producto_card_cta,
  .tv_producto_card_actions_mobile .tv_producto_card_cta {
    width: 100%;
    min-height: 40px !important;
    padding: 0 .8rem !important;
    border-radius: 14px !important;
    font-size: .82rem !important;
    font-weight: 700;
  }

  .tv_producto_card_form_accion_mobile .tv_producto_card_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    text-decoration: none;
  }

  .tv_page_catalogo #grid_catalogo_productos {
    gap: .9rem !important;
  }
}

@media (max-width: 520px) {
  .tv_header_superior {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .tv_header_marca .tv_logo_imagen {
    width: 112px;
  }

  .tv_header_acciones {
    gap: 6px;
  }

  .tv_header_acciones .tv_btn_icono_header {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 14px;
  }

  .tv_contador_inline {
    min-width: 18px;
    height: 18px;
    font-size: .68rem;
  }

  .tv_producto_card_actions_mobile {
    grid-template-columns: 1fr;
  }

  .tv_producto_card_form_accion_mobile .tv_producto_card_cta,
  .tv_producto_card_actions_mobile .tv_producto_card_cta {
    min-height: 42px !important;
    font-size: .84rem !important;
  }
}


/* Ajuste móvil final tienda pública */
@media (max-width: 860px) {
  .tv_header_superior {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 82px;
  }

  .tv_header_marca {
    min-width: 0;
  }

  .tv_header_marca .tv_logo_imagen {
    width: 118px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .tv_header_acciones {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .tv_header_acciones .tv_btn_icono_busqueda,
  .tv_header_acciones .tv_btn_icono_usuario,
  .tv_header_acciones .tv_btn_carrito_encabezado,
  .tv_header_acciones .tv_btn_menu_movil {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 14px;
  }

  .tv_header_acciones .tv_btn_carrito_encabezado {
    position: relative;
  }

  .tv_header_acciones .tv_btn_carrito_encabezado .tv_btn_carrito_icono svg,
  .tv_header_acciones .tv_btn_icono_busqueda svg,
  .tv_header_acciones .tv_btn_icono_usuario svg,
  .tv_header_acciones .tv_btn_menu_movil svg {
    width: 18px;
    height: 18px;
  }

  .tv_header_search_wrap {
    position: sticky;
    top: 76px;
    z-index: 220;
    padding: 8px 0 10px;
    background: rgba(248, 245, 250, 0.98);
  }

  .tv_header_search_panel {
    padding-top: 0;
  }

  .tv_header_search_input_wrap {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 18px;
  }

  .tv_header_search_input {
    min-width: 0;
    font-size: 0.94rem;
  }

  .tv_header_search_submit {
    min-width: 44px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .tv_mobile_menu {
    width: min(380px, calc(100vw - 12px));
    padding: 20px 16px 24px;
  }

  .tv_mobile_search_form {
    display: block;
  }

  .tv_mobile_search_input_wrap {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 52px;
    padding: 0 12px;
  }

  .tv_mobile_search_submit {
    min-width: 44px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .tv_producto_panel_lateral {
    position: static;
  }

  .tv_producto_form_acciones {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tv_producto_form_boton,
  .tv_producto_form_boton:visited {
    width: 100%;
    min-height: 48px;
  }

  .tv_cart_card_actions {
    width: 100%;
  }

  .tv_cart_qty_form {
    width: 100%;
  }

  .tv_cart_qty_wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
  }

  .tv_cart_qty_wrap input,
  .tv_cart_qty_wrap .tv_btn {
    min-height: 44px;
  }
}

@media (max-width: 768px) {
  .tv_producto_card_base {
    border-radius: 24px;
  }

  .tv_producto_card_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 16px;
  }

  .tv_producto_card_rating {
    justify-content: center;
    text-align: center;
  }

  .tv_producto_card_title {
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .tv_producto_card_price_block {
    align-items: center;
    text-align: center;
  }

  .tv_producto_card_actions_mobile {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 2px;
  }

  .tv_producto_card_form_accion_mobile {
    display: flex;
    width: 100%;
  }

  .tv_producto_card_form_accion_mobile .tv_producto_card_cta,
  .tv_producto_card_actions_mobile .tv_producto_card_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    font-size: 0.84rem !important;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
  }

  .tv_producto_card_cta_secundaria {
    border: 1px solid rgba(191, 175, 208, 0.36);
    background: rgba(255, 255, 255, 0.98);
    color: #685666;
    box-shadow: 0 10px 20px rgba(104, 86, 102, 0.08);
  }

  .tv_producto_card_cta_secundaria svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
  }

  .tv_producto_detalle_galeria,
  .tv_producto_panel_lateral,
  .tv_cart_card_venus,
  .tv_cart_summary_venus,
  .tv_checkout_card_venus,
  .tv_checkout_resumen_venus {
    border-radius: 24px;
  }

  .tv_cart_card_venus {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
  }

  .tv_cart_card_media {
    width: 92px;
    min-width: 92px;
  }

  .tv_cart_card_copy,
  .tv_cart_card_actions {
    grid-column: 2;
  }

  .tv_cart_card_footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
  }

  #aside_carrito_tienda_publica.tv_drawer_carrito {
    width: min(420px, calc(100vw - 10px));
  }
}

@media (max-width: 520px) {
  .tv_header_acciones {
    gap: 6px;
  }

  .tv_header_marca .tv_logo_imagen {
    width: 104px;
  }

  .tv_header_acciones .tv_btn_icono_busqueda,
  .tv_header_acciones .tv_btn_icono_usuario,
  .tv_header_acciones .tv_btn_carrito_encabezado,
  .tv_header_acciones .tv_btn_menu_movil {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 13px;
  }

  .tv_contador_inline {
    min-width: 17px;
    height: 17px;
    font-size: 0.66rem;
  }

  .tv_header_search_input_wrap,
  .tv_mobile_search_input_wrap {
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 48px;
    padding: 0 10px;
  }

  .tv_header_search_submit,
  .tv_mobile_search_submit {
    min-width: 40px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .tv_producto_card_actions_mobile {
    grid-template-columns: 1fr;
  }

  .tv_cart_card_venus {
    grid-template-columns: 1fr;
  }

  .tv_cart_card_media,
  .tv_cart_card_copy,
  .tv_cart_card_actions {
    grid-column: auto;
    width: 100%;
  }

  .tv_cart_card_media {
    width: 100%;
    min-width: 0;
  }

  .tv_cart_card_footer,
  .tv_cart_qty_wrap {
    grid-template-columns: 1fr;
  }

  .tv_producto_cantidad_card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tv_producto_cantidad_input_wrap,
  .tv_producto_cantidad_input {
    width: 100%;
  }
}


/* Ajuste final v8: producto, buscador móvil y acceso a carrito */
@media (max-width: 860px) {
  .tv_header_acciones .tv_btn_icono_busqueda {
    display: inline-flex !important;
  }

  .tv_header_search_wrap {
    top: 72px;
    padding: 10px 0 12px;
    background: linear-gradient(180deg, rgba(248, 245, 250, 0.98) 0%, rgba(248, 245, 250, 0.92) 100%);
    border-bottom: 1px solid rgba(191, 175, 208, 0.14);
    box-shadow: 0 10px 24px rgba(104, 86, 102, 0.06);
  }

  .tv_header_search_panel {
    padding-top: 0;
  }

  .tv_header_search_input_wrap {
    border: 1px solid rgba(191, 175, 208, 0.24);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 28px rgba(104, 86, 102, 0.08);
  }

  .tv_producto_form_acciones {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .tv_header_search_wrap .tv_container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tv_header_search_input_wrap,
  .tv_mobile_search_input_wrap {
    grid-template-columns: 16px minmax(0, 1fr);
    grid-template-areas:
      "icon input"
      "button button";
    gap: 10px;
    align-items: center;
    padding: 12px;
    min-height: auto;
    border-radius: 20px;
  }

  .tv_header_search_input_wrap svg,
  .tv_mobile_search_input_wrap svg {
    grid-area: icon;
    align-self: center;
  }

  .tv_header_search_input,
  .tv_mobile_search_input {
    grid-area: input;
    min-width: 0;
    width: 100%;
    height: 40px;
    font-size: 0.95rem;
  }

  .tv_header_search_submit,
  .tv_mobile_search_submit {
    grid-area: button;
    width: 100%;
    min-width: 100%;
    height: 42px;
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 700;
  }
}

@media (max-width: 520px) {
  .tv_header_superior {
    min-height: 74px;
    padding: 12px 0;
  }

  .tv_header_marca .tv_logo_imagen {
    width: 98px;
  }

  .tv_header_acciones {
    gap: 5px;
  }

  .tv_header_acciones .tv_btn_icono_busqueda,
  .tv_header_acciones .tv_btn_icono_usuario,
  .tv_header_acciones .tv_btn_carrito_encabezado,
  .tv_header_acciones .tv_btn_menu_movil {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 12px;
  }

  .tv_header_search_wrap {
    top: 68px;
  }

  .tv_producto_detalle_galeria,
  .tv_producto_panel_lateral,
  .tv_producto_relacionados_acordeon {
    border-radius: 22px;
  }

  .tv_producto_form_boton,
  .tv_producto_form_boton:visited {
    min-height: 46px;
    font-size: 0.9rem;
  }
}


/* Ajuste final v9: buscador móvil y carrito en teléfono */
@media (max-width: 680px) {
  .tv_header_search_wrap {
    position: relative !important;
    top: 0 !important;
    z-index: 40 !important;
    padding: 8px 0 0 !important;
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  .tv_header_search_wrap .tv_container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .tv_header_search_panel {
    padding-top: 0 !important;
    max-width: 100% !important;
  }

  .tv_header_search_input_wrap,
  .tv_mobile_search_input_wrap {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) 44px !important;
    grid-template-areas: none !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 48px !important;
    padding: 0 10px !important;
    border-radius: 16px !important;
  }

  .tv_header_search_input_wrap svg,
  .tv_mobile_search_input_wrap svg,
  .tv_header_search_input,
  .tv_mobile_search_input,
  .tv_header_search_submit,
  .tv_mobile_search_submit {
    grid-area: auto !important;
  }

  .tv_header_search_input,
  .tv_mobile_search_input {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    font-size: 0.92rem !important;
  }

  .tv_header_search_submit,
  .tv_mobile_search_submit {
    width: 44px !important;
    min-width: 44px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    font-size: 0.72rem !important;
  }

  .tv_cart_intro_panel {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 24px !important;
  }

  .tv_cart_intro_panel .tv_page_intro_copy h1 {
    font-size: 1.7rem !important;
    line-height: 1.06 !important;
  }

  .tv_cart_intro_panel .tv_page_intro_copy p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  .tv_cart_intro_actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .tv_cart_page_layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .tv_cart_card_venus {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 22px !important;
  }

  .tv_cart_card_media {
    width: 84px !important;
    min-width: 84px !important;
  }

  .tv_cart_card_media img {
    border-radius: 18px !important;
  }

  .tv_cart_card_copy {
    grid-column: 2 !important;
    gap: 8px !important;
  }

  .tv_cart_card_copy h3 {
    font-size: 1rem !important;
    line-height: 1.24 !important;
  }

  .tv_cart_card_copy p {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

  .tv_cart_card_meta {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    align-items: flex-start !important;
  }

  .tv_cart_card_price {
    font-size: 1.1rem !important;
  }

  .tv_cart_card_actions {
    grid-column: 1 / -1 !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .tv_cart_qty_form label {
    margin-bottom: 6px !important;
    font-size: 0.84rem !important;
  }

  .tv_cart_qty_wrap {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .tv_cart_qty_wrap input,
  .tv_cart_qty_wrap .tv_btn {
    min-height: 44px !important;
  }

  .tv_cart_card_footer {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .tv_cart_line_total {
    font-size: 1.16rem !important;
  }

  .tv_link_button_danger {
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 0.82rem !important;
  }

  .tv_cart_summary_venus {
    position: static !important;
    padding: 16px !important;
    border-radius: 24px !important;
  }

  .tv_cart_summary_venus h2 {
    font-size: 1.45rem !important;
  }

  .tv_cart_summary_venus p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  .tv_cart_summary_rows div {
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 520px) {
  .tv_header_superior {
    min-height: 72px !important;
  }

  .tv_header_search_wrap {
    margin-top: 2px !important;
  }

  .tv_cart_card_venus {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .tv_cart_card_media {
    width: 72px !important;
    min-width: 72px !important;
  }

  .tv_cart_card_copy {
    grid-column: 2 !important;
  }

  .tv_cart_card_actions {
    grid-column: 1 / -1 !important;
  }

  .tv_cart_qty_wrap {
    grid-template-columns: 68px minmax(0, 1fr) !important;
  }

  .tv_cart_card_footer {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .tv_link_button_danger {
    width: 100% !important;
  }

  #aside_carrito_tienda_publica.tv_drawer_carrito {
    width: calc(100vw - 12px) !important;
    max-width: none !important;
    padding: 14px 12px 16px !important;
    border-radius: 24px 24px 0 0 !important;
  }

  .tv_drawer_encabezado {
    padding: 14px !important;
    border-radius: 20px !important;
  }

  .tv_drawer_encabezado h3 {
    font-size: 1.45rem !important;
  }

  .tv_drawer_item {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .tv_drawer_item_media,
  .tv_drawer_item_placeholder {
    min-height: 88px !important;
    border-radius: 16px !important;
  }

  .tv_drawer_item_copy h4,
  .tv_drawer_item_superior h4 {
    font-size: 0.96rem !important;
  }

  .tv_drawer_item_precios strong {
    font-size: 1rem !important;
  }
}

/* Ajuste final v7: checkout desktop y carrito desktop */
@media (min-width: 861px) {
  .tv_checkout_intro {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.4rem !important;
    align-items: start !important;
    padding: 1.9rem 2rem !important;
  }

  .tv_checkout_intro_texto {
    display: grid;
    gap: 0.8rem;
    max-width: 860px;
  }

  .tv_checkout_intro_texto h1 {
    font-size: clamp(3rem, 4.2vw, 4.4rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.05em;
  }

  .tv_checkout_intro_texto p {
    max-width: 760px;
    font-size: 1.05rem;
  }

  .tv_checkout_pasos {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 0.9rem !important;
    justify-content: stretch !important;
  }

  .tv_checkout_paso {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.9rem !important;
    min-height: 96px !important;
    padding: 1rem 1.15rem !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #ffffff 0%, rgba(248, 246, 251, 0.98) 100%) !important;
    box-shadow: 0 14px 28px rgba(104, 86, 102, 0.06) !important;
  }

  .tv_checkout_paso_numero {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    border-radius: 18px !important;
    background: rgba(191, 175, 208, 0.14) !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
  }

  .tv_checkout_paso_contenido {
    display: grid;
    gap: 0.12rem;
  }

  .tv_checkout_paso_contenido strong {
    font-size: 1.1rem;
    line-height: 1.05;
  }

  .tv_checkout_paso_contenido small {
    font-size: 0.92rem;
    color: inherit;
  }

  .tv_checkout_paso_activo .tv_checkout_paso_numero {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
  }
}

@media (min-width: 981px) {
  .tv_cart_intro_panel {
    grid-template-columns: minmax(0, 1.18fr) 310px !important;
    gap: 1.4rem !important;
    align-items: stretch !important;
  }

  .tv_cart_intro_panel .tv_page_intro_copy {
    display: grid;
    gap: 1rem;
    align-content: center;
  }

  .tv_cart_intro_panel .tv_page_intro_copy h1 {
    max-width: 680px;
    font-size: clamp(3rem, 4vw, 4.6rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.055em;
  }

  .tv_cart_intro_panel .tv_page_intro_copy p {
    max-width: 680px;
    font-size: 1rem;
  }

  .tv_catalog_intro_metrics {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    align-content: stretch !important;
  }

  .tv_catalog_intro_metric {
    min-height: 144px !important;
    padding: 1.15rem 1.25rem !important;
    justify-content: center !important;
  }

  .tv_cart_page_layout {
    grid-template-columns: minmax(0, 1.48fr) 360px !important;
    gap: 1.5rem !important;
    align-items: start !important;
  }

  .tv_cart_card_venus {
    grid-template-columns: 118px minmax(0, 1fr) 230px !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.1rem 1.2rem !important;
    border-radius: 28px !important;
  }

  .tv_cart_card_media {
    width: 118px !important;
    min-width: 118px !important;
    min-height: 118px !important;
  }

  .tv_cart_card_media img {
    border-radius: 24px !important;
    object-fit: contain !important;
  }

  .tv_cart_card_copy {
    display: grid !important;
    gap: 0.65rem !important;
    align-content: center !important;
  }

  .tv_cart_card_copy h3 {
    font-size: 1.45rem !important;
    line-height: 1.06 !important;
  }

  .tv_cart_card_copy p {
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }

  .tv_cart_card_meta {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
  }

  .tv_cart_card_price {
    font-size: 1.5rem !important;
    line-height: 1 !important;
  }

  .tv_cart_card_actions {
    display: grid !important;
    gap: 0.85rem !important;
    align-items: stretch !important;
    min-width: 0 !important;
  }

  .tv_cart_qty_form {
    display: grid !important;
    gap: 0.45rem !important;
  }

  .tv_cart_qty_form label {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: #685666 !important;
    font-weight: 700 !important;
  }

  .tv_cart_qty_wrap {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 0.65rem !important;
  }

  .tv_cart_qty_wrap input,
  .tv_cart_qty_wrap .tv_btn {
    min-height: 48px !important;
  }

  .tv_cart_card_footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.85rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px solid rgba(191, 175, 208, 0.22) !important;
  }

  .tv_cart_line_total {
    font-size: 1.45rem !important;
    line-height: 1 !important;
  }

  .tv_link_button_danger {
    min-width: 110px !important;
    min-height: 42px !important;
    justify-content: center !important;
  }

  .tv_cart_summary_venus {
    position: sticky !important;
    top: 122px !important;
    padding: 1.45rem !important;
    border-radius: 28px !important;
  }

  .tv_cart_summary_rows {
    gap: 0.9rem !important;
  }
}

/* Ajuste final v8: checkout PC y carrito PC/móvil */
@media (min-width: 1025px) {
  .tv_checkout_intro {
    grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr) !important;
    gap: 1.4rem !important;
    align-items: center !important;
  }

  .tv_checkout_pasos {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .85rem !important;
    width: 100% !important;
  }

  .tv_checkout_paso {
    min-height: 86px !important;
    padding: .95rem 1rem !important;
    border-radius: 24px !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .tv_checkout_paso_numero {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
  }

  .tv_checkout_paso_contenido strong {
    font-size: 1rem !important;
  }

  .tv_checkout_paso_contenido small {
    font-size: .82rem !important;
  }

  .tv_cart_page_layout {
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 1.25rem !important;
    align-items: start !important;
  }

  .tv_cart_items_list {
    gap: 1rem !important;
  }

  .tv_cart_card_venus {
    grid-template-columns: 102px minmax(0, 1fr) 220px !important;
    gap: 1rem !important;
    align-items: center !important;
    padding: 1rem 1.1rem !important;
  }

  .tv_cart_card_media img {
    border-radius: 20px !important;
  }

  .tv_cart_card_copy h3 {
    font-size: 1.35rem !important;
    line-height: 1.08 !important;
  }

  .tv_cart_card_copy p {
    font-size: .96rem !important;
    line-height: 1.6 !important;
  }

  .tv_cart_card_meta {
    justify-content: flex-start !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
  }

  .tv_cart_card_price {
    font-size: 1.28rem !important;
  }

  .tv_cart_card_actions {
    gap: .75rem !important;
  }

  .tv_cart_qty_wrap {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: .6rem !important;
  }

  .tv_cart_qty_wrap input,
  .tv_cart_qty_wrap .tv_btn {
    min-height: 46px !important;
  }

  .tv_cart_card_footer {
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: .75rem !important;
    padding-top: .65rem !important;
  }

  .tv_cart_line_total {
    font-size: 1.3rem !important;
  }

  .tv_link_button_danger {
    min-width: 108px !important;
  }

  .tv_cart_summary_venus {
    top: 102px !important;
    padding: 1.35rem !important;
  }

  .tv_cart_summary_venus h2 {
    font-size: 1.85rem !important;
  }

  .tv_cart_summary_venus .tv_btn {
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .tv_cart_card_venus {
    grid-template-columns: 1fr !important;
    padding: 1rem !important;
  }

  .tv_cart_card_media {
    width: 100% !important;
    max-width: 120px !important;
  }

  .tv_cart_card_copy h3 {
    font-size: 1.25rem !important;
  }

  .tv_cart_card_meta,
  .tv_cart_card_footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .6rem !important;
    justify-items: start !important;
  }

  .tv_cart_qty_wrap {
    grid-template-columns: 1fr !important;
  }

  .tv_cart_qty_wrap input,
  .tv_cart_qty_wrap .tv_btn,
  .tv_link_button_danger {
    width: 100% !important;
  }
}


/* Ajuste final v10: drawer de carrito estable en iPhone y Android */
html.tv_body_bloqueado,
body.tv_body_bloqueado {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}

#aside_carrito_tienda_publica.tv_drawer_carrito {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1003 !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

#aside_carrito_tienda_publica .tv_drawer_items,
#aside_carrito_tienda_publica .tv_drawer_resumen {
  overflow: visible !important;
  max-height: none !important;
  min-height: auto !important;
  flex: 0 0 auto !important;
}

#aside_carrito_tienda_publica .tv_drawer_item {
  align-items: start !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_info {
  gap: .65rem !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_meta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: .7rem !important;
  align-items: center !important;
}

#aside_carrito_tienda_publica .tv_drawer_item_footer {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

#aside_carrito_tienda_publica .tv_drawer_botones {
  padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
}

@media (max-width: 680px) {
  #aside_carrito_tienda_publica.tv_drawer_carrito {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 14px 12px calc(16px + env(safe-area-inset-bottom)) !important;
    border-radius: 0 !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado {
    position: sticky !important;
    top: 0 !important;
    z-index: 4 !important;
    padding: .8rem .9rem .95rem !important;
    border-radius: 0 0 22px 22px !important;
    backdrop-filter: none !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado h3 {
    font-size: 1.2rem !important;
    line-height: 1.02 !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado p {
    font-size: .82rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado .tv_btn_icono_cerrar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_items {
    gap: .75rem !important;
    padding-top: .35rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: .75rem !important;
    padding: .8rem !important;
    border-radius: 18px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_media,
  #aside_carrito_tienda_publica .tv_drawer_item_placeholder {
    width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    border-radius: 14px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_copy {
    gap: .22rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_copy h4,
  #aside_carrito_tienda_publica .tv_drawer_item_superior h4 {
    font-size: .92rem !important;
    line-height: 1.2 !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_etiqueta,
  #aside_carrito_tienda_publica .tv_drawer_item_badge {
    min-height: 20px !important;
    padding: 0 .55rem !important;
    font-size: .62rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_eliminar_icono {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_meta {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    gap: .55rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_total_box {
    width: 100% !important;
    justify-items: start !important;
    margin-left: 0 !important;
    padding: .55rem .7rem !important;
    border-radius: 14px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_footer {
    grid-template-columns: 1fr !important;
    gap: .55rem !important;
    align-items: stretch !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_cantidad {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 5px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_cantidad button {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_eliminar {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_resumen_beneficio {
    padding: .85rem .95rem !important;
    border-radius: 18px !important;
    font-size: .9rem !important;
    line-height: 1.45 !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_totales {
    padding: .95rem !important;
    border-radius: 20px !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_totales div {
    align-items: flex-start !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_totales span,
  #aside_carrito_tienda_publica .tv_drawer_totales strong {
    font-size: .92rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_total_general strong {
    font-size: 1.08rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_nota {
    font-size: .9rem !important;
    line-height: 1.5 !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_botones .tv_btn {
    min-height: 48px !important;
    border-radius: 16px !important;
  }
}


html[data-tv-color-scheme="light"],
body[data-tv-color-scheme="light"] {
  background: #f7f3fa !important;
  color: #685666 !important;
  color-scheme: light !important;
}

@media (prefers-color-scheme: dark) {
  html[data-tv-color-scheme="light"],
  body[data-tv-color-scheme="light"] {
    background: #f7f3fa !important;
    color: #685666 !important;
    color-scheme: light !important;
  }
}


/* Ajuste final: forzar modo claro tienda pública */
:root,
html,
body,
[data-tv-color-scheme="light"] {
  color-scheme: only light !important;
  forced-color-adjust: none !important;
  background-color: #f7f3fa !important;
  color: #685666 !important;
}

@media (prefers-color-scheme: dark) {
  :root,
  html,
  body,
  [data-tv-color-scheme="light"],
  .tv_body,
  .tv_pagina,
  .tv_header,
  .tv_panel,
  .tv_card,
  .tv_drawer,
  .tv_modal {
    color-scheme: only light !important;
    forced-color-adjust: none !important;
    background-color: #f7f3fa !important;
    color: #685666 !important;
  }
}


/* Ajuste final v13: checkout encabezado y carrito desktop */
@media (min-width: 1025px) {
  .tv_checkout_intro,
  .tv_checkout_intro_pago_v24 {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px) !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }

  .tv_checkout_intro_texto {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .tv_checkout_intro_texto h1 {
    max-width: 100% !important;
    font-size: clamp(2.35rem, 3.2vw, 3.55rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
  }

  .tv_checkout_intro_texto p {
    max-width: 100% !important;
  }

  .tv_checkout_pasos {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    align-self: center !important;
  }

  .tv_checkout_paso {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .tv_checkout_paso_contenido {
    min-width: 0 !important;
  }

  .tv_checkout_paso_contenido strong,
  .tv_checkout_paso_contenido small {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .tv_cart_page_layout {
    grid-template-columns: minmax(0, 1fr) 290px !important;
    gap: 1.1rem !important;
  }

  .tv_cart_page_main,
  .tv_cart_items_list,
  .tv_cart_card_venus,
  .tv_cart_card_actions,
  .tv_cart_qty_form,
  .tv_form_eliminar_carrito {
    min-width: 0 !important;
  }

  .tv_cart_card_venus {
    grid-template-columns: 96px minmax(0, 1fr) minmax(0, 212px) !important;
    overflow: hidden !important;
  }

  .tv_cart_card_copy {
    min-width: 0 !important;
  }

  .tv_cart_qty_wrap {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 0.55rem !important;
  }

  .tv_cart_qty_wrap input,
  .tv_cart_qty_wrap .tv_btn,
  .tv_form_eliminar_carrito .tv_link_button_danger {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .tv_cart_qty_wrap .tv_btn {
    padding-inline: 14px !important;
  }

  .tv_cart_card_footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 108px !important;
    align-items: center !important;
    gap: 0.65rem !important;
  }

  .tv_cart_line_total {
    min-width: 0 !important;
    font-size: 1.18rem !important;
    text-align: left !important;
  }

  .tv_link_button_danger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding-inline: 12px !important;
    white-space: nowrap !important;
  }

  .tv_cart_summary_venus {
    width: 100% !important;
    max-width: 290px !important;
  }
}


/* Ajuste final v14: checkout y carrito sin desbordes */
@media (min-width: 1025px) {
  .tv_checkout_intro,
  .tv_checkout_intro_pago_v24 {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 390px) !important;
    align-items: center !important;
    gap: 1.25rem !important;
  }

  .tv_checkout_intro_texto,
  .tv_checkout_pasos,
  .tv_checkout_pago_badges,
  .tv_checkout_pago_encabezado,
  .tv_checkout_metodos_pago_v24,
  .tv_checkout_metodo_pago_card,
  .tv_checkout_pago_formulario,
  .tv_checkout_pago_layout,
  .tv_checkout_panel,
  .tv_checkout_panel_pago_formulario,
  .tv_checkout_panel_pago_resumen,
  .tv_cart_page_layout,
  .tv_cart_page_main,
  .tv_cart_items_list,
  .tv_cart_card_venus,
  .tv_cart_card_copy,
  .tv_cart_card_actions,
  .tv_cart_qty_form,
  .tv_cart_card_footer,
  .tv_form_eliminar_carrito {
    min-width: 0 !important;
  }

  .tv_checkout_pasos {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 390px !important;
    margin-left: auto !important;
  }

  .tv_checkout_paso {
    width: 100% !important;
    min-height: 74px !important;
    padding: 0.9rem 1rem !important;
    overflow: hidden !important;
  }

  .tv_checkout_paso_contenido strong,
  .tv_checkout_paso_contenido small {
    overflow: visible !important;
    text-overflow: initial !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .tv_checkout_pago_encabezado {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 1rem !important;
  }

  .tv_checkout_pago_badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 0.55rem !important;
    max-width: 260px !important;
  }

  .tv_checkout_pago_badge {
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .tv_checkout_metodos_pago_v24 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.9rem !important;
  }

  .tv_checkout_metodo_pago_card {
    min-height: 124px !important;
    height: 100% !important;
  }

  .tv_checkout_metodo_visual {
    min-width: 0 !important;
    height: 100% !important;
  }

  .tv_checkout_metodo_textos,
  .tv_checkout_metodo_textos span,
  .tv_checkout_metodo_textos small {
    min-width: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .tv_cart_page_layout {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 1rem !important;
  }

  .tv_cart_card_venus {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 88px minmax(0, 1fr) 182px !important;
    gap: 0.85rem !important;
    padding: 0.95rem 1rem !important;
    box-sizing: border-box !important;
  }

  .tv_cart_card_media,
  .tv_cart_card_media img {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
  }

  .tv_cart_card_copy h3 {
    font-size: 1.2rem !important;
  }

  .tv_cart_card_copy p {
    font-size: 0.93rem !important;
  }

  .tv_cart_card_actions {
    display: grid !important;
    grid-template-rows: auto auto !important;
    gap: 0.6rem !important;
  }

  .tv_cart_qty_form,
  .tv_form_eliminar_carrito {
    width: 100% !important;
  }

  .tv_cart_qty_wrap {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 0.5rem !important;
  }

  .tv_cart_qty_wrap input,
  .tv_cart_qty_wrap .tv_btn,
  .tv_link_button_danger {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .tv_cart_qty_wrap .tv_btn,
  .tv_link_button_danger {
    padding-inline: 12px !important;
    white-space: nowrap !important;
  }

  .tv_cart_card_footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 104px !important;
    align-items: center !important;
    gap: 0.6rem !important;
    justify-content: initial !important;
  }

  .tv_cart_line_total {
    font-size: 1.2rem !important;
    text-align: left !important;
  }
}

@media (max-width: 767px) {
  .tv_checkout_pago_encabezado {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .tv_checkout_pago_badges,
  .tv_checkout_metodos_pago_v24 {
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
  }
}

/* Ajuste final v15: checkout pago, carrito y comprobante */
.tv_checkout_intro_pago_v24 {
  align-items: stretch !important;
}

.tv_checkout_pago_encabezado_v24 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 1rem !important;
  align-items: start !important;
  margin-bottom: 1rem !important;
}

.tv_checkout_pago_estado_header {
  display: inline-grid !important;
  gap: 0.25rem !important;
  align-self: start !important;
  min-width: 180px !important;
  padding: 0.9rem 1rem !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 242, 248, 0.95) 100%) !important;
  border: 1px solid rgba(191, 175, 208, 0.24) !important;
  box-shadow: 0 12px 24px rgba(104, 86, 102, 0.06) !important;
}

.tv_checkout_pago_estado_header span {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #9B7EBD !important;
}

.tv_checkout_pago_estado_header strong {
  font-size: 1rem !important;
  line-height: 1.2 !important;
  color: #685666 !important;
}

.tv_checkout_pago_metodo_v24 {
  padding: 1rem !important;
  border-radius: 24px !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(251, 248, 253, 0.9) 100%) !important;
}

.tv_checkout_metodo_pago_card_activo {
  border-color: rgba(155, 126, 189, 0.48) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 244, 251, 0.98) 100%) !important;
  box-shadow: 0 16px 30px rgba(155, 126, 189, 0.12) !important;
}

.tv_checkout_metodo_pago_card_activo .tv_checkout_metodo_icono_media,
.tv_checkout_metodo_pago_card_activo .tv_checkout_metodo_icono_svg {
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.16) 0%, rgba(212, 182, 202, 0.16) 100%) !important;
}

.tv_checkout_entrega_resumen_v24 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}

.tv_checkout_entrega_resumen_v24 article {
  min-height: 88px !important;
}

.tv_checkout_legal_pasarela {
  display: grid !important;
  gap: 0.75rem !important;
}

.tv_checkout_check_label_pasarela,
.tv_checkout_pago_metodo_v24 .tv_checkout_check_label {
  min-height: 72px !important;
  align-items: center !important;
}

.tv_checkout_paso {
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.tv_cart_page_layout,
.tv_cart_page_main,
.tv_cart_items_list,
.tv_cart_card_venus,
.tv_cart_card_copy,
.tv_cart_card_actions,
.tv_cart_qty_form,
.tv_cart_card_footer,
.tv_form_eliminar_carrito {
  min-width: 0 !important;
}

.tv_comprobante_pagina {
  padding-bottom: 2rem !important;
}

.tv_comprobante_bloque {
  display: grid !important;
  gap: 1.25rem !important;
}

.tv_bloque_encabezado_comprobante {
  align-items: center !important;
  gap: 1rem !important;
}

.tv_comprobante_acciones_top,
.tv_comprobante_acciones_bottom {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
}

.tv_comprobante_panel {
  display: grid !important;
  gap: 1.1rem !important;
  padding: 1.4rem !important;
  border-radius: 30px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 252, 0.98) 100%) !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
  box-shadow: 0 22px 42px rgba(104, 86, 102, 0.08) !important;
}

.tv_comprobante_encabezado {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 1rem !important;
  align-items: start !important;
}

.tv_comprobante_marca {
  display: grid !important;
  gap: 0.35rem !important;
}

.tv_comprobante_marca h3 {
  margin: 0 !important;
  font-size: clamp(1.5rem, 2vw, 2rem) !important;
  line-height: 1 !important;
  color: #685666 !important;
}

.tv_comprobante_marca p {
  margin: 0 !important;
  color: #8A7A88 !important;
}

.tv_comprobante_estado {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}

.tv_comprobante_estado article,
.tv_comprobante_card {
  display: grid !important;
  gap: 0.3rem !important;
  padding: 0.95rem 1rem !important;
  border-radius: 22px !important;
  background: rgba(250, 247, 252, 0.96) !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
}

.tv_comprobante_estado span,
.tv_comprobante_card p,
.tv_comprobante_card span {
  color: #8A7A88 !important;
}

.tv_comprobante_estado strong,
.tv_comprobante_card h3 {
  color: #685666 !important;
}

.tv_comprobante_grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.9rem !important;
}

.tv_comprobante_tabla {
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
  background: #FFFFFF !important;
}

.tv_comprobante_tabla_head,
.tv_comprobante_tabla_fila {
  display: grid !important;
  grid-template-columns: minmax(0, 1.8fr) 100px 150px 150px !important;
  gap: 0.75rem !important;
  align-items: center !important;
}

.tv_comprobante_tabla_head {
  padding: 1rem 1.1rem !important;
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.10) 0%, rgba(212, 182, 202, 0.16) 100%) !important;
  font-size: 0.83rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #8A6FA7 !important;
}

.tv_comprobante_tabla_body {
  display: grid !important;
}

.tv_comprobante_tabla_fila {
  padding: 1rem 1.1rem !important;
  border-top: 1px solid rgba(191, 175, 208, 0.14) !important;
}

.tv_comprobante_tabla_fila div {
  display: grid !important;
  gap: 0.2rem !important;
  min-width: 0 !important;
}

.tv_comprobante_tabla_fila div strong,
.tv_comprobante_tabla_fila > strong {
  color: #685666 !important;
}

.tv_comprobante_tabla_fila div span,
.tv_comprobante_tabla_fila > span {
  color: #8A7A88 !important;
}

.tv_comprobante_totales {
  justify-self: end !important;
  width: min(100%, 360px) !important;
  display: grid !important;
  gap: 0.75rem !important;
}

.tv_comprobante_totales div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 0.95rem 1rem !important;
  border-radius: 20px !important;
  background: rgba(250, 247, 252, 0.96) !important;
  border: 1px solid rgba(191, 175, 208, 0.16) !important;
}

.tv_comprobante_total_final {
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.14) 0%, rgba(243, 214, 211, 0.22) 100%) !important;
}

.tv_comprobante_total_final strong {
  color: #9B7EBD !important;
  font-size: 1.2rem !important;
}

.tv_comprobante_observacion {
  margin-top: 0 !important;
}

.tv_comprobante_body_documento {
  background: #f7f3fa !important;
}

.tv_comprobante_pagina_documento {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 1.5rem !important;
}

.tv_comprobante_bloque_documento {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tv_comprobante_panel_documento {
  margin: 0 auto !important;
}

@media (min-width: 1025px) {
  .tv_checkout_pasos {
    max-width: 390px !important;
  }

  .tv_cart_page_layout {
    grid-template-columns: minmax(0, 1fr) 318px !important;
    gap: 1rem !important;
  }

  .tv_cart_card_venus {
    grid-template-columns: 88px minmax(0, 1fr) 168px !important;
    gap: 0.75rem !important;
    align-items: start !important;
  }

  .tv_cart_card_actions {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .tv_cart_qty_wrap {
    grid-template-columns: 1fr !important;
  }

  .tv_cart_card_footer {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    justify-items: stretch !important;
  }

  .tv_cart_line_total {
    text-align: left !important;
  }

  .tv_form_eliminar_carrito .tv_link_button_danger,
  .tv_cart_qty_wrap .tv_btn {
    width: 100% !important;
  }
}

@media (max-width: 1024px) {
  .tv_checkout_pago_encabezado_v24,
  .tv_comprobante_encabezado,
  .tv_comprobante_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_comprobante_estado {
    grid-template-columns: 1fr !important;
  }

  .tv_comprobante_totales {
    justify-self: stretch !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .tv_checkout_pago_estado_header {
    min-width: 0 !important;
    width: 100% !important;
  }

  .tv_checkout_entrega_resumen_v24,
  .tv_comprobante_tabla_head,
  .tv_comprobante_tabla_fila {
    grid-template-columns: 1fr !important;
  }

  .tv_comprobante_tabla_head {
    display: none !important;
  }

  .tv_comprobante_tabla_fila {
    gap: 0.35rem !important;
  }

  .tv_comprobante_acciones_top,
  .tv_comprobante_acciones_bottom {
    flex-direction: column !important;
  }

  .tv_comprobante_acciones_top .tv_btn,
  .tv_comprobante_acciones_bottom .tv_btn {
    width: 100% !important;
  }
}

@media print {
  html,
  body {
    background: #FFFFFF !important;
    color: #2c2230 !important;
  }

  .tv_header,
  .tv_footer,
  .tv_drawer_carrito,
  .tv_drawer_backdrop,
  .tv_page_loader,
  .tv_breadcrumb,
  .tv_comprobante_acciones_top,
  .tv_comprobante_acciones_bottom {
    display: none !important;
  }

  .tv_comprobante_pagina,
  .tv_comprobante_pagina_documento {
    padding: 0 !important;
    margin: 0 !important;
  }

  .tv_comprobante_bloque,
  .tv_comprobante_bloque_documento {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
  }

  .tv_comprobante_panel,
  .tv_comprobante_panel_documento {
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
  }

  .tv_comprobante_tabla {
    border-color: #D6CFDB !important;
  }

  .tv_comprobante_tabla_head {
    display: grid !important;
  }

  .tv_comprobante_tabla_head,
  .tv_comprobante_tabla_fila {
    grid-template-columns: minmax(0, 1.8fr) 70px 110px 110px !important;
  }
}

/* Ajuste final v16: checkout, carrito y comprobante */
.tv_checkout_paso.tv_checkout_paso_activo {
  background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 100%) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  box-shadow: 0 18px 34px rgba(155, 126, 189, 0.20) !important;
}

.tv_checkout_paso.tv_checkout_paso_activo .tv_checkout_paso_numero {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #FFFFFF !important;
}

.tv_checkout_paso.tv_checkout_paso_activo .tv_checkout_paso_contenido strong,
.tv_checkout_paso.tv_checkout_paso_activo .tv_checkout_paso_contenido small {
  color: #FFFFFF !important;
}

.tv_checkout_pago_estado_header {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 240px !important;
}

.tv_checkout_pago_estado_header strong {
  display: block !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.tv_checkout_metodos_pago_v24 {
  align-items: stretch !important;
}

.tv_checkout_metodos_pago_v24.tv_checkout_metodos_pago_v24_unico {
  grid-template-columns: minmax(0, 360px) !important;
  justify-content: center !important;
}

.tv_checkout_metodos_pago_v24.tv_checkout_metodos_pago_v24_doble {
  grid-template-columns: repeat(2, minmax(0, 360px)) !important;
  justify-content: center !important;
}

.tv_checkout_metodo_pago_card {
  overflow: hidden !important;
}

.tv_checkout_metodo_pago_card input[type='radio'] {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.tv_checkout_metodo_textos {
  min-width: 0 !important;
}

.tv_checkout_metodo_textos span,
.tv_checkout_metodo_textos small {
  display: block !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.tv_checkout_pago_metodo_v24,
.tv_checkout_panel_pago_formulario,
.tv_checkout_panel_pago_resumen,
.tv_checkout_resumen_lista_pago,
.tv_checkout_resumen_item_pago_v24,
.tv_checkout_exito,
.tv_comprobante_panel {
  min-width: 0 !important;
}

.tv_cart_card_venus {
  grid-template-columns: 96px minmax(0, 1fr) minmax(184px, 210px) !important;
  align-items: start !important;
}

.tv_cart_card_copy,
.tv_cart_card_actions,
.tv_cart_qty_form,
.tv_cart_card_footer,
.tv_form_eliminar_carrito {
  min-width: 0 !important;
}

.tv_cart_qty_form label {
  display: block !important;
  margin-bottom: 0.45rem !important;
}

.tv_cart_qty_wrap {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 0.55rem !important;
  align-items: stretch !important;
}

.tv_cart_qty_wrap input,
.tv_cart_qty_wrap .tv_btn,
.tv_form_eliminar_carrito .tv_link_button_danger {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.tv_cart_qty_wrap .tv_btn,
.tv_form_eliminar_carrito .tv_link_button_danger {
  min-height: 46px !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.tv_cart_card_footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 112px !important;
  gap: 0.6rem !important;
  align-items: center !important;
}

.tv_cart_line_total {
  min-width: 0 !important;
  text-align: left !important;
}

.tv_comprobante_panel_documento,
.tv_comprobante_bloque_documento {
  width: min(100%, 960px) !important;
  margin: 0 auto !important;
}

.tv_comprobante_panel_documento {
  background: #FFFFFF !important;
}

@media (min-width: 1025px) {
  .tv_checkout_intro,
  .tv_checkout_intro_pago_v24 {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 360px) !important;
    align-items: start !important;
    gap: 1.2rem !important;
  }

  .tv_checkout_pasos {
    max-width: 360px !important;
    align-self: start !important;
  }

  .tv_checkout_paso {
    background: linear-gradient(180deg, #ffffff 0%, rgba(248, 246, 251, 0.98) 100%) !important;
  }

  .tv_checkout_paso.tv_checkout_paso_activo {
    background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 100%) !important;
  }

  .tv_checkout_metodos_pago_v24 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }

  .tv_checkout_metodo_pago_card {
    min-height: 132px !important;
  }

  .tv_cart_page_layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 1rem !important;
  }

  .tv_cart_summary_venus {
    max-width: 300px !important;
  }
}

@media (max-width: 1024px) {
  .tv_checkout_intro,
  .tv_checkout_intro_pago_v24 {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_pasos {
    max-width: 100% !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 767px) {
  .tv_cart_card_venus {
    grid-template-columns: 1fr !important;
  }

  .tv_cart_qty_wrap,
  .tv_cart_card_footer {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_pago_estado_header {
    max-width: 100% !important;
  }
}


.tv_account_actions_recovery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tv_account_recovery_badge_activo {
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.22) 0%, rgba(191, 175, 208, 0.32) 100%);
  border-color: rgba(155, 126, 189, 0.34);
  color: #685666;
}


.tv_comprobante_panel,
.tv_comprobante_panel_documento,
.tv_comprobante_panel_descarga {
  gap: 1rem !important;
}

.tv_comprobante_encabezado {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 1rem !important;
}

.tv_comprobante_marca {
  align-content: start !important;
}

.tv_comprobante_marca h3 {
  font-size: 1.8rem !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

.tv_comprobante_estado article,
.tv_comprobante_card {
  padding: 0.9rem 0.95rem !important;
  border-radius: 18px !important;
}

.tv_comprobante_card h3 {
  font-size: 1rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.tv_comprobante_card p {
  margin: 0 !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}

.tv_comprobante_grid {
  gap: 0.75rem !important;
}

.tv_comprobante_tabla_head,
.tv_comprobante_tabla_fila {
  grid-template-columns: minmax(0, 1.7fr) 88px 132px 132px !important;
}

.tv_comprobante_tabla_head {
  padding: 0.9rem 1rem !important;
}

.tv_comprobante_tabla_fila {
  padding: 0.9rem 1rem !important;
}

.tv_comprobante_tabla_fila div strong {
  display: block !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

.tv_comprobante_tabla_fila > span,
.tv_comprobante_tabla_fila > strong {
  text-align: right !important;
}

.tv_comprobante_totales {
  width: min(100%, 340px) !important;
  gap: 0.55rem !important;
}

.tv_comprobante_totales div {
  padding: 0.85rem 0.95rem !important;
  border-radius: 16px !important;
}

@media (max-width: 767px) {
  .tv_comprobante_encabezado {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_comprobante_marca h3 {
    white-space: normal !important;
  }

  .tv_comprobante_tabla {
    overflow-x: auto !important;
  }

  .tv_comprobante_tabla_head,
  .tv_comprobante_tabla_fila {
    min-width: 640px !important;
  }
}


/* Ajuste v23: cuenta, pago y comprobante */
.tv_account_message {
  padding: 0.95rem 1rem !important;
  border-radius: 18px !important;
}

.tv_account_recovery_card {
  padding: 1rem 1.1rem !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

.tv_checkout_check_label,
.tv_checkout_check_label_pasarela,
.tv_checkout_pago_metodo_v24 .tv_checkout_check_label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.7rem !important;
  min-height: 0 !important;
  padding: 0.8rem 0.9rem !important;
  border-radius: 16px !important;
  background: rgba(250, 247, 252, 0.96) !important;
}

.tv_checkout_check_label input[type='checkbox'] {
  margin-top: 0.2rem !important;
}

.tv_checkout_check_label span {
  display: block !important;
  line-height: 1.5 !important;
}

.tv_checkout_legal_pasarela {
  padding-top: 0 !important;
}

.tv_comprobante_panel,
.tv_comprobante_panel_documento,
.tv_comprobante_panel_descarga {
  padding: 1.15rem !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 28px rgba(104, 86, 102, 0.06) !important;
}

.tv_comprobante_encabezado {
  grid-template-columns: 180px minmax(0, 1fr) !important;
}

.tv_comprobante_estado {
  gap: 0.6rem !important;
}

.tv_comprobante_estado article,
.tv_comprobante_card {
  padding: 0.8rem 0.9rem !important;
}

.tv_comprobante_totales {
  margin-left: auto !important;
}

@media (max-width: 767px) {
  .tv_account_intro_copy {
    display: none !important;
  }

  .tv_account_intro_grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_account_panel_main {
    padding: 1rem !important;
    border-radius: 22px !important;
  }

  .tv_account_tabs {
    gap: 6px !important;
    padding: 4px !important;
    margin-bottom: 18px !important;
  }

  .tv_account_tab {
    min-height: 42px !important;
    font-size: 0.88rem !important;
  }

  .tv_account_recovery_card_header strong {
    font-size: 0.98rem !important;
  }

  .tv_account_recovery_badges {
    gap: 8px !important;
  }

  .tv_account_recovery_badges span {
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 0.76rem !important;
  }

  .tv_account_field input {
    min-height: 50px !important;
    border-radius: 16px !important;
  }

  .tv_checkout_check_label,
  .tv_checkout_check_label_pasarela,
  .tv_checkout_pago_metodo_v24 .tv_checkout_check_label {
    padding: 0.75rem 0.8rem !important;
    border-radius: 14px !important;
  }

  .tv_comprobante_panel,
  .tv_comprobante_panel_documento,
  .tv_comprobante_panel_descarga {
    padding: 1rem !important;
    border-radius: 18px !important;
  }

  .tv_comprobante_grid,
  .tv_comprobante_estado {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_comprobante_tabla {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  .tv_comprobante_tabla_body {
    gap: 0.75rem !important;
  }

  .tv_comprobante_tabla_fila {
    min-width: 0 !important;
    padding: 0.9rem !important;
    border: 1px solid rgba(191, 175, 208, 0.18) !important;
    border-radius: 16px !important;
    background: #FFFFFF !important;
  }

  .tv_comprobante_tabla_fila > span,
  .tv_comprobante_tabla_fila > strong {
    text-align: left !important;
  }

  .tv_comprobante_totales {
    width: 100% !important;
  }
}

/* Ajuste v24: recuperación, pago y comprobante */
.tv_account_recovery_stack {
  gap: 0.85rem !important;
}

.tv_account_recovery_card {
  padding: 0.85rem 1rem !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.tv_account_recovery_badges {
  gap: 0.45rem !important;
}

.tv_account_recovery_badges span {
  min-height: 28px !important;
  padding: 0 0.75rem !important;
  font-size: 0.78rem !important;
}

.tv_checkout_legal_pasarela {
  gap: 0.55rem !important;
}

.tv_checkout_check_label,
.tv_checkout_check_label_pasarela,
.tv_checkout_pago_metodo_v24 .tv_checkout_check_label {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 0.75rem !important;
  min-height: auto !important;
  padding: 0.8rem 0.9rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(191, 175, 208, 0.2) !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

.tv_checkout_check_label input[type='checkbox'],
.tv_checkout_check_label_pasarela input[type='checkbox'] {
  width: 18px !important;
  height: 18px !important;
  margin: 0.1rem 0 0 !important;
}

.tv_checkout_check_label span,
.tv_checkout_check_label_pasarela span {
  line-height: 1.45 !important;
}

.tv_checkout_pago_estado_header {
  min-width: 160px !important;
}

.tv_comprobante_panel,
.tv_comprobante_panel_documento,
.tv_comprobante_panel_descarga {
  padding: 1rem !important;
}

.tv_comprobante_encabezado {
  gap: 0.85rem !important;
}

.tv_comprobante_marca h3 {
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 2rem !important;
}

.tv_comprobante_marca p {
  margin: 0.35rem 0 0 !important;
}

.tv_comprobante_estado {
  gap: 0.5rem !important;
}

.tv_comprobante_estado article,
.tv_comprobante_card {
  border-radius: 16px !important;
}

.tv_comprobante_tabla_head {
  grid-template-columns: minmax(0, 1.4fr) 90px 120px 110px !important;
}

.tv_comprobante_tabla_fila {
  grid-template-columns: minmax(0, 1.4fr) 90px 120px 110px !important;
}

.tv_comprobante_totales {
  width: min(100%, 320px) !important;
  gap: 0.55rem !important;
}

.tv_comprobante_totales div {
  border-radius: 14px !important;
}

@media (max-width: 767px) {
  .tv_account_panel_main {
    padding: 0.9rem !important;
  }

  .tv_account_recovery_card {
    padding: 0.75rem 0.85rem !important;
  }

  .tv_account_recovery_card_header {
    gap: 0.3rem !important;
  }

  .tv_account_recovery_badges {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .tv_account_recovery_badges span {
    width: 100% !important;
    justify-content: center !important;
    min-width: 0 !important;
    font-size: 0.72rem !important;
  }

  .tv_checkout_pago_encabezado_v24 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_checkout_pago_estado_header {
    width: 100% !important;
    min-width: 0 !important;
  }

  .tv_checkout_check_label,
  .tv_checkout_check_label_pasarela,
  .tv_checkout_pago_metodo_v24 .tv_checkout_check_label {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    padding: 0.72rem 0.78rem !important;
  }

  .tv_comprobante_encabezado {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_comprobante_marca h3 {
    font-size: 1.7rem !important;
  }

  .tv_comprobante_estado article,
  .tv_comprobante_card {
    padding: 0.75rem 0.8rem !important;
  }

  .tv_comprobante_tabla_fila {
    gap: 0.45rem !important;
  }

  .tv_comprobante_totales div {
    padding: 0.72rem 0.8rem !important;
  }
}


/* Ajuste v26: comprobante, resumen y checks checkout */
.tv_checkout_exito_pago {
  display: grid !important;
  gap: 1rem !important;
  max-width: 760px !important;
  margin: 1.1rem auto 0 !important;
  padding: 1.15rem 1.2rem !important;
  border: 1px solid rgba(191, 175, 208, 0.24) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 244, 251, 0.98) 100%) !important;
  box-shadow: 0 18px 34px rgba(104, 86, 102, 0.08) !important;
}

.tv_checkout_exito_pago h3 {
  margin: 0 !important;
  font-size: clamp(1.18rem, 2vw, 1.48rem) !important;
  line-height: 1.15 !important;
}

.tv_checkout_exito_pago > p {
  margin: 0 !important;
  max-width: 62ch !important;
  color: #685666 !important;
  line-height: 1.6 !important;
}

.tv_checkout_exito_resumen {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.85rem !important;
}

.tv_checkout_exito_resumen article {
  display: grid !important;
  gap: 0.38rem !important;
  min-width: 0 !important;
  padding: 0.9rem 0.95rem !important;
  border: 1px solid rgba(191, 175, 208, 0.22) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

.tv_checkout_exito_resumen article span {
  font-size: 0.8rem !important;
  letter-spacing: 0.02em !important;
  color: #8A7A88 !important;
}

.tv_checkout_exito_resumen article strong {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  color: #4F4250 !important;
}

.tv_checkout_exito_resumen article small {
  display: block !important;
  line-height: 1.5 !important;
  color: #685666 !important;
}

.tv_checkout_check_label,
.tv_checkout_check_label_pasarela,
.tv_checkout_pago_metodo_v24 .tv_checkout_check_label {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 0.8rem !important;
  padding: 0.95rem 1rem !important;
  border-radius: 18px !important;
  border: 1px solid rgba(191, 175, 208, 0.24) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 241, 249, 0.94) 100%) !important;
}

.tv_checkout_check_label input[type='checkbox'] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  pointer-events: none !important;
}

.tv_checkout_check_control {
  position: relative !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: 0.05rem !important;
  border: 1.6px solid rgba(143, 112, 180, 0.48) !important;
  border-radius: 7px !important;
  background: #FFFFFF !important;
  box-shadow: inset 0 1px 2px rgba(104, 86, 102, 0.08) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.tv_checkout_check_control::after {
  content: '' !important;
  position: absolute !important;
  left: 6px !important;
  top: 2px !important;
  width: 6px !important;
  height: 11px !important;
  border-right: 2px solid #FFFFFF !important;
  border-bottom: 2px solid #FFFFFF !important;
  transform: rotate(45deg) scale(0.75) !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.tv_checkout_check_texto {
  display: block !important;
  min-width: 0 !important;
  line-height: 1.55 !important;
  color: #4F4250 !important;
}

.tv_checkout_check_label:hover .tv_checkout_check_control {
  border-color: rgba(143, 112, 180, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(155, 126, 189, 0.08) !important;
}

.tv_checkout_check_label input[type='checkbox']:focus-visible + .tv_checkout_check_control {
  outline: 2px solid rgba(155, 126, 189, 0.34) !important;
  outline-offset: 2px !important;
}

.tv_checkout_check_label input[type='checkbox']:checked + .tv_checkout_check_control {
  border-color: #8F70B4 !important;
  background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 100%) !important;
  box-shadow: 0 12px 18px rgba(155, 126, 189, 0.2) !important;
}

.tv_checkout_check_label input[type='checkbox']:checked + .tv_checkout_check_control::after {
  opacity: 1 !important;
  transform: rotate(45deg) scale(1) !important;
}

@media (max-width: 900px) {
  .tv_checkout_exito_resumen {
    grid-template-columns: 1fr !important;
  }
}


/* Ajustes checkout pago v28 */
.tv_checkout_pago_texto {
  max-width: 34rem;
  margin-top: 0.2rem;
}

.tv_checkout_pago_seguridad,
.tv_checkout_tarjeta_preview {
  display: none;
}

.tv_checkout_pago_nota {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(191, 175, 208, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: #685666;
  font-size: 0.93rem;
  line-height: 1.45;
}

.tv_checkout_franquicia_hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: #8A7A88;
}

.tv_checkout_franquicia_hint strong {
  color: #8E72C2;
  font-size: 0.95rem;
}

.tv_checkout_check_label,
.tv_checkout_check_label_pasarela,
.tv_checkout_pago_metodo_v24 .tv_checkout_check_label {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(191, 175, 208, 0.45);
  background: rgba(255, 255, 255, 0.82);
}

.tv_checkout_check_label input[type='checkbox'],
.tv_checkout_check_label_pasarela input[type='checkbox'] {
  margin-top: 0.15rem;
}

.tv_checkout_check_control {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  border-radius: 6px;
}

.tv_checkout_check_texto {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.tv_checkout_alerta_compacta,
.tv_checkout_alerta_compacta_contra {
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

@media (max-width: 768px) {
  .tv_checkout_pago_encabezado_v24 {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .tv_checkout_pago_estado_header {
    width: 100%;
  }

  .tv_checkout_pago_texto {
    max-width: 100%;
  }

  .tv_checkout_check_label,
  .tv_checkout_check_label_pasarela,
  .tv_checkout_pago_metodo_v24 .tv_checkout_check_label {
    grid-template-columns: 1rem 1fr;
    gap: 0.65rem;
    padding: 0.85rem 0.9rem;
  }
}


/* Ajuste v57: métodos de pago móviles y textos largos */
@media (max-width: 767px) {
  .tv_checkout_metodos_pago_v24,
  .tv_checkout_metodos_pago_v24.tv_checkout_metodos_pago_v24_unico,
  .tv_checkout_metodos_pago_v24.tv_checkout_metodos_pago_v24_doble {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_metodo_pago_card {
    min-height: auto !important;
  }

  .tv_checkout_metodo_visual {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.8rem !important;
    padding: 0.95rem !important;
  }

  .tv_checkout_metodo_textos,
  .tv_checkout_metodo_textos span,
  .tv_checkout_metodo_textos small {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 480px) {
  .tv_checkout_metodo_icono_media,
  .tv_checkout_metodo_icono_svg {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
  }

  .tv_checkout_metodo_textos span {
    font-size: 0.98rem !important;
    line-height: 1.2 !important;
  }

  .tv_checkout_metodo_textos small {
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
  }
}


/* Ajuste v59: footer móvil más compacto y CTA claro en contacto */
.tv_contact_info_acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.tv_contact_info_acciones .tv_btn {
  min-width: 0;
}

@media (max-width: 640px) {
  .tv_footer {
    padding: 24px 0 16px;
  }

  .tv_footer_columnas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    padding: 12px 0;
  }

  .tv_footer_bloque_marca,
  .tv_footer_bloque_contacto {
    grid-column: 1 / -1;
  }

  .tv_footer_bloque h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .tv_footer_texto_marca {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  .tv_footer_social {
    margin-top: 12px;
    gap: 8px;
  }

  .tv_footer_social a {
    width: 38px;
    height: 38px;
  }

  .tv_footer_lista li + li {
    margin-top: 6px;
  }

  .tv_footer_lista a,
  .tv_footer_lista span {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .tv_footer_bottom {
    padding-top: 14px;
  }

  .tv_footer_bottom p {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .tv_contact_info_acciones {
    flex-direction: column;
  }

  .tv_contact_info_acciones .tv_btn {
    width: 100%;
  }
}

.tv_account_recordar {
  margin-top: -2px;
}

.tv_account_recordar_label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(191, 175, 208, 0.4);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 244, 252, 0.96) 100%);
  color: var(--tv-color-text-soft);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tv_account_recordar_label:hover {
  border-color: rgba(183, 151, 211, 0.72);
  box-shadow: 0 12px 28px rgba(191, 175, 208, 0.18);
}

.tv_account_recordar_label:has(input:focus-visible) {
  border-color: rgba(183, 151, 211, 0.9);
  box-shadow: 0 0 0 3px rgba(191, 175, 208, 0.18);
}

.tv_account_recordar_label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 48px;
  height: 28px;
  margin: 0;
  border: 1px solid rgba(191, 175, 208, 0.55);
  border-radius: 999px;
  background: rgba(225, 214, 233, 0.95);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tv_account_recordar_label input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(104, 86, 102, 0.18);
  transition: transform 0.2s ease;
}

.tv_account_recordar_label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #bfa0d8 0%, #d9bfdc 100%);
  border-color: rgba(183, 151, 211, 0.9);
}

.tv_account_recordar_label input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}

.tv_account_recordar_label span {
  line-height: 1.35;
}

.tv_checkout_destino_resumen {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(191, 175, 208, 0.22);
  border-radius: 18px;
  background: rgba(248, 244, 251, 0.86);
}

.tv_checkout_destino_etiqueta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tv-color-primary);
}

.tv_checkout_destino_fila {
  display: grid;
  gap: 4px;
}

.tv_checkout_destino_fila strong {
  font-size: 1.02rem;
  color: var(--tv-color-text);
}

.tv_checkout_destino_fila span {
  color: var(--tv-color-text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}


/* Ajuste final comprobante v89 */
.tv_comprobante_pagina {
  background: linear-gradient(180deg, #fcf9fd 0%, #f5eff8 100%);
}
.tv_comprobante_bloque {
  max-width: 1180px;
}
.tv_comprobante_panel,
.tv_comprobante_panel_documento,
.tv_comprobante_panel_descarga {
  background: #ffffff;
  border: 1px solid #e8deef;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(120, 94, 136, 0.10);
  padding: 28px;
}
.tv_comprobante_encabezado {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.tv_comprobante_marca h3 {
  font-size: 2rem;
  line-height: 1.1;
  margin: 8px 0 6px;
}
.tv_comprobante_marca p {
  font-size: 0.98rem;
  color: #7c6a84;
}
.tv_comprobante_estado {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
  width: min(100%, 620px);
}
.tv_comprobante_estado article,
.tv_comprobante_card {
  border: 1px solid #eadff0;
  background: #fbf8fd;
  border-radius: 18px;
  padding: 16px 18px;
  min-height: 110px;
}
.tv_comprobante_estado span,
.tv_comprobante_card span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f7e97;
}
.tv_comprobante_state strong,
.tv_comprobante_estado strong,
.tv_comprobante_card h3 {
  color: #4f3b59;
}
.tv_comprobante_card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}
.tv_comprobante_card p {
  margin: 0 0 8px;
  color: #5e4a68;
  line-height: 1.5;
}
.tv_comprobante_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.tv_comprobante_tabla {
  border: 1px solid #eadff0;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
}
.tv_comprobante_tabla_head {
  background: #f5eff9;
  color: #745d80;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.tv_comprobante_tabla_head,
.tv_comprobante_tabla_fila {
  grid-template-columns: minmax(260px, 1.8fr) 110px 140px 140px;
  gap: 12px;
  align-items: center;
}
.tv_comprobante_tabla_fila {
  border-top: 1px solid #f1e8f5;
  padding: 18px 20px;
}
.tv_comprobante_tabla_fila div strong {
  font-size: 1rem;
  color: #493752;
}
.tv_comprobante_tabla_fila div span,
.tv_comprobante_tabla_fila > span {
  color: #7f6b88;
}
.tv_comprobante_totales {
  margin-top: 18px;
  margin-left: auto;
  width: min(100%, 360px);
  display: grid;
  gap: 10px;
}
.tv_comprobante_totales div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid #eadff0;
  border-radius: 16px;
  background: #fbf8fd;
}
.tv_comprobante_total_final {
  background: linear-gradient(135deg, #a88fbd 0%, #8e72a9 100%) !important;
  border-color: #8e72a9 !important;
}
.tv_comprobante_total_final span,
.tv_comprobante_total_final strong {
  color: #ffffff;
}
.tv_comprobante_observacion {
  margin-top: 16px;
  border-radius: 18px;
}
@media print {
  .tv_topbar, .tv_header, .tv_footer, .tv_comprobante_acciones_top, .tv_comprobante_acciones_bottom, .tv_carrito_drawer, .tv_breadcrumb {
    display: none !important;
  }
  body, .tv_comprobante_pagina, .tv_comprobante_bloque, .tv_comprobante_panel {
    background: #ffffff !important;
    box-shadow: none !important;
  }
  .tv_comprobante_panel {
    border: 0 !important;
    padding: 0 !important;
  }
}
@media (max-width: 920px) {
  .tv_comprobante_encabezado,
  .tv_comprobante_grid,
  .tv_comprobante_estado {
    grid-template-columns: 1fr !important;
    display: grid;
  }
  .tv_comprobante_estado {
    width: 100%;
  }
}

/* Ajuste visual comprobante v90 */
.tv_bloque_encabezado_comprobante {
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  margin-bottom: 1.75rem !important;
}

.tv_comprobante_intro {
  max-width: 720px !important;
}

.tv_comprobante_intro h2 {
  margin: 0.45rem 0 0.4rem !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  line-height: 1.08 !important;
  color: #594762 !important;
}

.tv_comprobante_intro p {
  margin: 0 !important;
  color: #7a6883 !important;
  font-size: 1rem !important;
}

.tv_comprobante_panel,
.tv_comprobante_panel_documento,
.tv_comprobante_panel_descarga {
  background: #ffffff !important;
  border: 1px solid #eadff0 !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 40px rgba(128, 104, 143, 0.08) !important;
  padding: 1.75rem !important;
}

.tv_comprobante_resumen_superior {
  border: 1px solid #ede2f2 !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fbf8fd 100%) !important;
  padding: 1.4rem !important;
  margin-bottom: 1.3rem !important;
}

.tv_comprobante_resumen_frase {
  margin-top: 0.95rem !important;
  padding-top: 0.95rem !important;
  border-top: 1px solid #eee3f3 !important;
  color: #7f6d88 !important;
  font-size: 0.95rem !important;
}

.tv_comprobante_encabezado {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 540px) !important;
  gap: 1rem !important;
  align-items: stretch !important;
}

.tv_comprobante_marca {
  min-height: 188px !important;
  padding: 1.35rem !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, #8b6da0 0%, #b9a0c9 100%) !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

.tv_comprobante_marca::after {
  content: '' !important;
  position: absolute !important;
  right: -32px !important;
  bottom: -48px !important;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.tv_comprobante_marca .tv_etiqueta {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.tv_comprobante_marca h3 {
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  line-height: 1.02 !important;
  color: #ffffff !important;
  margin: 0.85rem 0 0.55rem !important;
}

.tv_comprobante_marca p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em !important;
}

.tv_comprobante_estado {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.9rem !important;
}

.tv_comprobante_estado article,
.tv_comprobante_card {
  background: #fbf8fd !important;
  border: 1px solid #eee2f3 !important;
  border-radius: 20px !important;
  padding: 1.2rem 1.15rem !important;
  box-shadow: none !important;
}

.tv_comprobante_estado article {
  min-height: 188px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

.tv_comprobante_estado span,
.tv_comprobante_card span {
  display: inline-flex !important;
  color: #8b7795 !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.tv_comprobante_estado strong {
  margin-top: 0.7rem !important;
  color: #53405e !important;
  font-size: 1.55rem !important;
  line-height: 1.1 !important;
}

.tv_comprobante_grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  margin-bottom: 1.3rem !important;
}

.tv_comprobante_card {
  min-height: 250px !important;
}

.tv_comprobante_card .tv_etiqueta {
  margin-bottom: 0.95rem !important;
}

.tv_comprobante_card h3 {
  margin: 0 0 0.35rem !important;
  color: #574365 !important;
  font-size: 1.28rem !important;
  line-height: 1.15 !important;
}

.tv_comprobante_card_subtexto {
  margin: 0 0 1rem !important;
  color: #907f99 !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

.tv_comprobante_texto_destacado {
  color: #5a4666 !important;
  font-size: 1.03rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.tv_comprobante_lista {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 0.8rem !important;
}

.tv_comprobante_lista li {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.18rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid #ece1f2 !important;
}

.tv_comprobante_lista li:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.tv_comprobante_lista li span {
  color: #9b89a5 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.tv_comprobante_lista li strong {
  color: #544261 !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  word-break: break-word !important;
}

.tv_comprobante_seccion_titulo {
  margin: 0 0 0.85rem !important;
  color: #5f4b6a !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
}

.tv_comprobante_tabla {
  border: 1px solid #eee3f3 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  margin-bottom: 1.35rem !important;
}

.tv_comprobante_tabla_head {
  background: #f6eff9 !important;
  color: #755b83 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 800 !important;
}

.tv_comprobante_tabla_fila {
  align-items: center !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.tv_comprobante_tabla_fila:nth-child(even) {
  background: #fcfafe !important;
}

.tv_comprobante_tabla_fila div strong {
  color: #544261 !important;
  font-size: 1rem !important;
}

.tv_comprobante_tabla_fila div span,
.tv_comprobante_tabla_fila > span,
.tv_comprobante_tabla_fila > strong {
  color: #7c6a86 !important;
}

.tv_comprobante_resumen_final {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  gap: 1rem !important;
  align-items: stretch !important;
}

.tv_comprobante_resumen_final_texto {
  border: 1px solid #ede2f2 !important;
  border-radius: 22px !important;
  background: #fbf8fd !important;
  padding: 1.25rem !important;
}

.tv_comprobante_resumen_final_texto h3 {
  margin: 0.6rem 0 0.45rem !important;
  color: #594762 !important;
  font-size: 1.35rem !important;
}

.tv_comprobante_resumen_final_texto p {
  margin: 0 !important;
  color: #887792 !important;
  line-height: 1.6 !important;
}

.tv_comprobante_totales {
  width: 100% !important;
  max-width: none !important;
  gap: 0.7rem !important;
}

.tv_comprobante_totales div {
  border: 1px solid #ede2f2 !important;
  background: #fbf8fd !important;
  border-radius: 18px !important;
  padding: 1rem 1.1rem !important;
}

.tv_comprobante_totales div span {
  color: #8a7993 !important;
  font-size: 0.84rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.tv_comprobante_totales div strong {
  color: #523f5e !important;
  font-size: 1.25rem !important;
}

.tv_comprobante_total_final {
  background: linear-gradient(135deg, #8b6da0 0%, #b9a0c9 100%) !important;
  border-color: transparent !important;
}

.tv_comprobante_total_final span,
.tv_comprobante_total_final strong {
  color: #ffffff !important;
}

.tv_comprobante_observacion {
  margin-top: 1rem !important;
  background: #fff8ed !important;
  border: 1px solid #f0dcc0 !important;
  color: #7c6034 !important;
  border-radius: 18px !important;
}

@media print {
  .tv_comprobante_panel,
  .tv_comprobante_panel_documento,
  .tv_comprobante_panel_descarga {
    box-shadow: none !important;
    border-color: #e7deed !important;
  }

  .tv_comprobante_resumen_superior,
  .tv_comprobante_estado article,
  .tv_comprobante_card,
  .tv_comprobante_resumen_final_texto,
  .tv_comprobante_totales div {
    background: #ffffff !important;
  }
}

@media (max-width: 991px) {
  .tv_bloque_encabezado_comprobante,
  .tv_comprobante_encabezado,
  .tv_comprobante_grid,
  .tv_comprobante_resumen_final {
    grid-template-columns: 1fr !important;
  }

  .tv_comprobante_estado {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .tv_comprobante_marca,
  .tv_comprobante_estado article,
  .tv_comprobante_card {
    min-height: auto !important;
  }
}

@media (max-width: 767px) {
  .tv_comprobante_panel,
  .tv_comprobante_panel_documento,
  .tv_comprobante_panel_descarga {
    padding: 1rem !important;
    border-radius: 20px !important;
  }

  .tv_comprobante_estado {
    grid-template-columns: 1fr !important;
  }

  .tv_comprobante_tabla {
    overflow-x: auto !important;
  }

  .tv_comprobante_tabla_head,
  .tv_comprobante_tabla_fila {
    min-width: 680px !important;
  }
}

/* Ajuste v31: comprobante responsive real */
.tv_bloque_encabezado_comprobante {
  align-items: end !important;
}

.tv_comprobante_panel,
.tv_comprobante_panel_documento,
.tv_comprobante_panel_descarga {
  gap: 1.35rem !important;
  padding: 1.5rem !important;
}

.tv_comprobante_resumen_superior_v2 {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr)) !important;
  gap: 0.9rem !important;
  align-items: stretch !important;
}

.tv_comprobante_hero {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 0.45rem !important;
  min-height: 172px !important;
  padding: 1.15rem 1.2rem !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 100%) !important;
  color: #FFFFFF !important;
  overflow: hidden !important;
  position: relative !important;
}

.tv_comprobante_hero::after {
  content: '' !important;
  position: absolute !important;
  right: -34px !important;
  bottom: -42px !important;
  width: 150px !important;
  height: 150px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.10) !important;
}

.tv_comprobante_hero .tv_etiqueta {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.tv_comprobante_hero h3 {
  margin: 0 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.02 !important;
  color: #FFFFFF !important;
  word-break: break-word !important;
}

.tv_comprobante_hero p,
.tv_comprobante_hero small {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.tv_comprobante_hero small {
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  max-width: 36ch !important;
}

.tv_comprobante_estado_card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  min-height: 172px !important;
  padding: 1rem 1.05rem !important;
  border-radius: 22px !important;
  background: rgba(250, 247, 252, 0.96) !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
}

.tv_comprobante_estado_card span {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #8A7A88 !important;
}

.tv_comprobante_estado_card strong {
  font-size: clamp(1.2rem, 2vw, 1.7rem) !important;
  line-height: 1.18 !important;
  color: #685666 !important;
  overflow-wrap: anywhere !important;
}

.tv_comprobante_grid_v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.9rem !important;
  align-items: stretch !important;
}

.tv_comprobante_card_v2 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 100% !important;
  padding: 1rem 1.05rem !important;
  gap: 0.9rem !important;
  border-radius: 22px !important;
}

.tv_comprobante_card_head {
  display: grid !important;
  gap: 0.35rem !important;
}

.tv_comprobante_card_v2 h3 {
  font-size: 1.1rem !important;
  line-height: 1.28 !important;
  color: #685666 !important;
  margin: 0 !important;
}

.tv_comprobante_card_subtexto {
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  color: #8A7A88 !important;
  margin: 0 !important;
}

.tv_comprobante_card_body {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: flex-start !important;
}

.tv_comprobante_texto_destacado_v2 {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: #685666 !important;
  overflow-wrap: anywhere !important;
}

.tv_comprobante_lista_v2 {
  display: grid !important;
  gap: 0.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.tv_comprobante_lista_v2 li {
  display: grid !important;
  gap: 0.24rem !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid rgba(191, 175, 208, 0.16) !important;
}

.tv_comprobante_lista_v2 li:first-child {
  padding-top: 0 !important;
  border-top: 0 !important;
}

.tv_comprobante_lista_v2 span {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #9A8A9A !important;
}

.tv_comprobante_lista_v2 strong {
  font-size: 1rem !important;
  line-height: 1.55 !important;
  color: #685666 !important;
  overflow-wrap: anywhere !important;
}

.tv_comprobante_seccion_titulo {
  margin: 0 !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: #685666 !important;
}

.tv_comprobante_tabla_v2 {
  border-radius: 22px !important;
}

.tv_comprobante_tabla_head,
.tv_comprobante_tabla_fila {
  grid-template-columns: minmax(0, 1.8fr) 96px 140px 140px !important;
}

.tv_comprobante_tabla_fila {
  gap: 0.9rem !important;
}

.tv_comprobante_tabla_fila > span,
.tv_comprobante_tabla_fila > strong {
  align-self: center !important;
}

.tv_comprobante_resumen_final_v2 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  gap: 1rem !important;
  align-items: stretch !important;
  padding: 1.05rem !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(251, 249, 252, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
  border: 1px solid rgba(191, 175, 208, 0.18) !important;
}

.tv_comprobante_resumen_final_texto {
  display: grid !important;
  align-content: center !important;
  gap: 0.35rem !important;
}

.tv_comprobante_resumen_final_texto h3 {
  margin: 0 !important;
  font-size: 1.35rem !important;
  color: #685666 !important;
}

.tv_comprobante_resumen_final_texto p {
  margin: 0 !important;
  color: #8A7A88 !important;
  line-height: 1.55 !important;
}

.tv_comprobante_totales_v2 {
  width: 100% !important;
  justify-self: stretch !important;
}

.tv_comprobante_observacion {
  padding: 1rem 1.1rem !important;
  border-radius: 18px !important;
}

@media (max-width: 1180px) {
  .tv_comprobante_resumen_superior_v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_comprobante_hero {
    grid-column: 1 / -1 !important;
    min-height: 160px !important;
  }
}

@media (max-width: 960px) {
  .tv_comprobante_panel,
  .tv_comprobante_panel_documento,
  .tv_comprobante_panel_descarga {
    padding: 1.15rem !important;
  }

  .tv_comprobante_resumen_superior_v2,
  .tv_comprobante_grid_v2,
  .tv_comprobante_resumen_final_v2 {
    grid-template-columns: 1fr !important;
  }

  .tv_comprobante_estado_card,
  .tv_comprobante_hero {
    min-height: 0 !important;
  }
}

@media (max-width: 767px) {
  .tv_comprobante_pagina {
    padding-bottom: 1rem !important;
  }

  .tv_comprobante_bloque {
    gap: 1rem !important;
  }

  .tv_bloque_encabezado_comprobante {
    gap: 0.85rem !important;
  }

  .tv_comprobante_intro h2 {
    font-size: 1.45rem !important;
    line-height: 1.15 !important;
  }

  .tv_comprobante_intro p {
    font-size: 0.94rem !important;
    line-height: 1.5 !important;
  }

  .tv_comprobante_panel,
  .tv_comprobante_panel_documento,
  .tv_comprobante_panel_descarga {
    padding: 0.95rem !important;
    border-radius: 22px !important;
  }

  .tv_comprobante_hero {
    padding: 1rem !important;
    border-radius: 20px !important;
  }

  .tv_comprobante_hero h3 {
    font-size: 1.9rem !important;
  }

  .tv_comprobante_estado_card,
  .tv_comprobante_card_v2 {
    padding: 0.95rem !important;
    border-radius: 18px !important;
  }

  .tv_comprobante_tabla {
    overflow: hidden !important;
  }

  .tv_comprobante_tabla_head {
    display: none !important;
  }

  .tv_comprobante_tabla_body {
    gap: 0.75rem !important;
  }

  .tv_comprobante_tabla_fila {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    padding: 0.95rem !important;
    border-top: 0 !important;
    border-radius: 18px !important;
    background: rgba(250, 247, 252, 0.96) !important;
  }

  .tv_comprobante_tabla_fila + .tv_comprobante_tabla_fila {
    border-top: 1px solid rgba(191, 175, 208, 0.14) !important;
  }

  .tv_comprobante_tabla_fila > span,
  .tv_comprobante_tabla_fila > strong {
    text-align: left !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 1rem !important;
  }

  .tv_comprobante_tabla_fila > span::before,
  .tv_comprobante_tabla_fila > strong::before {
    content: attr(data-label) !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #9A8A9A !important;
  }

  .tv_comprobante_tabla_fila_vacia > span::before,
  .tv_comprobante_tabla_fila_vacia > strong::before {
    content: '' !important;
  }

  .tv_comprobante_resumen_final_v2 {
    padding: 0.95rem !important;
  }
}

@media print {
  .tv_comprobante_panel,
  .tv_comprobante_panel_documento,
  .tv_comprobante_panel_descarga {
    padding: 0 !important;
  }

  .tv_comprobante_resumen_superior_v2 {
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
  }

  .tv_comprobante_hero,
  .tv_comprobante_estado_card,
  .tv_comprobante_card_v2,
  .tv_comprobante_resumen_final_v2 {
    box-shadow: none !important;
    break-inside: avoid !important;
  }
}

/* Ajuste v91 comprobante */
.tv_comprobante_pagina {
  width: 100%;
  padding: 2rem 1rem 3rem;
}

.tv_comprobante_bloque,
.tv_comprobante_bloque_documento {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tv_comprobante_cabecera_publica {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.tv_comprobante_cabecera_texto h1 {
  margin: 0.4rem 0 0.55rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  color: #6f5673;
}

.tv_comprobante_cabecera_texto p {
  max-width: 62ch;
  margin: 0;
  color: #806d86;
}

.tv_comprobante_panel_v3,
.tv_comprobante_panel_documento {
  display: flex;
  flex-direction: column;
  gap: 1.5rem !important;
  width: 100%;
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid rgba(206, 190, 221, 0.8);
  background: #fffdfd;
  box-shadow: 0 18px 40px rgba(146, 122, 176, 0.08);
}

.tv_comprobante_hero_panel {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.tv_comprobante_hero_card,
.tv_comprobante_resumen_card,
.tv_comprobante_info_card,
.tv_comprobante_detalle_panel,
.tv_comprobante_total_panel {
  border: 1px solid rgba(214, 202, 226, 0.9);
  border-radius: 22px;
  background: #fff;
}

.tv_comprobante_hero_card {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 1.25rem 1.3rem;
  background: linear-gradient(135deg, #b798d6 0%, #aa90cb 100%);
  color: #fff;
}

.tv_comprobante_hero_card::after {
  content: '';
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.tv_comprobante_hero_card .tv_etiqueta {
  display: inline-flex;
  margin-bottom: 1rem;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.tv_comprobante_hero_card h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 0.98;
  color: #fff;
  word-break: break-word;
}

.tv_comprobante_hero_card p,
.tv_comprobante_hero_card small {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(255, 255, 255, 0.96);
}

.tv_comprobante_hero_card p {
  margin: 0.9rem 0 0.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tv_comprobante_hero_card small {
  max-width: 25ch;
  font-size: 0.95rem;
  line-height: 1.45;
}

.tv_comprobante_resumen_card {
  min-height: 188px;
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  background: linear-gradient(180deg, rgba(250, 246, 252, 0.82) 0%, #ffffff 100%);
}

.tv_comprobante_resumen_card span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #91759d;
}

.tv_comprobante_resumen_card strong {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
  color: #61466f;
  word-break: break-word;
}

.tv_comprobante_info_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.tv_comprobante_info_card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 1.15rem;
}

.tv_comprobante_info_head {
  margin-bottom: 1rem;
}

.tv_comprobante_info_head .tv_etiqueta {
  display: inline-flex;
  margin-bottom: 0.8rem;
  min-height: auto;
  padding: 0.42rem 0.8rem;
  font-size: 0.75rem;
  line-height: 1;
}

.tv_comprobante_info_head h3 {
  margin: 0 0 0.3rem;
  font-size: 1.55rem;
  line-height: 1.18;
  color: #65486f;
}

.tv_comprobante_info_head p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #8b7791;
}

.tv_comprobante_info_body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.tv_comprobante_dato {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(225, 216, 233, 0.95);
}

.tv_comprobante_dato:first-child {
  padding-top: 0;
  border-top: 0;
}

.tv_comprobante_dato span {
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #947a9c;
}

.tv_comprobante_dato strong {
  font-size: 1rem;
  line-height: 1.5;
  color: #4f3d5d;
  overflow-wrap: anywhere;
}

.tv_comprobante_info_body_texto {
  justify-content: center;
}

.tv_comprobante_texto_plano {
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #5a4864;
  overflow-wrap: anywhere;
}

.tv_comprobante_detalle_panel,
.tv_comprobante_total_panel {
  padding: 1.15rem;
}

.tv_comprobante_seccion_titulo {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #644a6d;
}

.tv_comprobante_tabla_v3 {
  border: 1px solid rgba(225, 216, 233, 0.95);
  border-radius: 18px;
  overflow: hidden;
}

.tv_comprobante_tabla_head,
.tv_comprobante_tabla_fila {
  grid-template-columns: minmax(0, 1.6fr) 120px 150px 150px !important;
}

.tv_comprobante_tabla_head {
  background: linear-gradient(180deg, rgba(245, 239, 250, 0.96) 0%, rgba(240, 231, 247, 0.92) 100%);
}

.tv_comprobante_tabla_fila {
  align-items: center;
}

.tv_comprobante_tabla_fila div strong {
  font-size: 1.02rem;
  color: #553f61;
}

.tv_comprobante_tabla_fila div span {
  margin-top: 0.2rem !important;
}

.tv_comprobante_total_panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
  align-items: stretch;
}

.tv_comprobante_total_texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tv_comprobante_total_texto h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.7rem;
  line-height: 1.1;
  color: #5f466c;
}

.tv_comprobante_total_texto p {
  margin: 0;
  color: #866f8d;
  line-height: 1.5;
}

.tv_comprobante_totales_v3 {
  width: 100% !important;
}

.tv_comprobante_totales_v3 div {
  min-height: 58px;
}

.tv_comprobante_totales_v3 div span {
  color: #8f7896;
}

.tv_comprobante_totales_v3 div strong {
  color: #553f61;
}

.tv_comprobante_total_final {
  background: linear-gradient(135deg, rgba(178, 151, 209, 0.18) 0%, rgba(226, 217, 236, 0.65) 100%) !important;
}

.tv_comprobante_acciones_top,
.tv_comprobante_acciones_bottom {
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .tv_comprobante_hero_panel {
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(140px, 1fr));
  }

  .tv_comprobante_tabla_head,
  .tv_comprobante_tabla_fila {
    grid-template-columns: minmax(0, 1.45fr) 92px 126px 126px !important;
  }
}

@media (max-width: 1024px) {
  .tv_comprobante_cabecera_publica,
  .tv_comprobante_total_panel,
  .tv_comprobante_hero_panel,
  .tv_comprobante_info_grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tv_comprobante_hero_card,
  .tv_comprobante_resumen_card,
  .tv_comprobante_info_card {
    min-height: auto;
  }

  .tv_comprobante_info_card {
    padding: 1rem;
  }
}

@media (max-width: 767px) {
  .tv_comprobante_pagina {
    padding: 1.15rem 0.8rem 2.4rem;
  }

  .tv_comprobante_panel_v3,
  .tv_comprobante_panel_documento {
    padding: 1rem;
    border-radius: 22px;
  }

  .tv_comprobante_cabecera_texto h1 {
    font-size: 1.8rem;
  }

  .tv_comprobante_info_head h3 {
    font-size: 1.28rem;
  }

  .tv_comprobante_texto_plano,
  .tv_comprobante_dato strong {
    font-size: 0.96rem;
  }

  .tv_comprobante_tabla {
    overflow: visible !important;
    border: 0;
    background: transparent;
  }

  .tv_comprobante_tabla_head {
    display: none !important;
  }

  .tv_comprobante_tabla_body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .tv_comprobante_tabla_fila {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    min-width: 100% !important;
    padding: 0.95rem 1rem !important;
    border: 1px solid rgba(225, 216, 233, 0.95);
    border-radius: 18px;
    background: #fff;
  }

  .tv_comprobante_tabla_fila > span,
  .tv_comprobante_tabla_fila > strong {
    text-align: left !important;
  }

  .tv_comprobante_tabla_fila > span::before,
  .tv_comprobante_tabla_fila > strong::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.18rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #947a9c;
  }

  .tv_comprobante_total_panel {
    padding: 1rem;
  }

  .tv_comprobante_totales_v3 div {
    min-height: 54px;
  }
}

@media print {
  body,
  .tv_comprobante_body_estandar {
    background: #ffffff !important;
  }

  body > header,
  .tv_topbar,
  .tv_site_header,
  .tv_footer,
  .tv_carrito_drawer,
  .tv_breadcrumb,
  .tv_comprobante_cabecera_publica,
  .tv_comprobante_acciones_bottom,
  script {
    display: none !important;
  }

  .tv_comprobante_pagina,
  .tv_comprobante_bloque,
  .tv_comprobante_panel_v3 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .tv_comprobante_panel_v3 {
    gap: 0.9rem !important;
  }

  .tv_comprobante_hero_panel,
  .tv_comprobante_info_grid,
  .tv_comprobante_total_panel {
    gap: 0.55rem !important;
  }

  .tv_comprobante_hero_card,
  .tv_comprobante_resumen_card,
  .tv_comprobante_info_card,
  .tv_comprobante_detalle_panel,
  .tv_comprobante_total_panel {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}


/* Ajuste v93 comprobante móvil y densidad visual */
@media (max-width: 767px) {
  .tv_breadcrumb {
    display: none !important;
  }

  .tv_comprobante_cabecera_publica {
    gap: 0.9rem !important;
    margin-bottom: 0.95rem !important;
  }

  .tv_comprobante_cabecera_texto .tv_etiqueta {
    margin-bottom: 0.45rem !important;
  }

  .tv_comprobante_cabecera_texto h1 {
    font-size: 1.45rem !important;
    line-height: 1.08 !important;
    margin: 0.15rem 0 0.35rem !important;
  }

  .tv_comprobante_cabecera_texto p {
    font-size: 0.93rem !important;
    line-height: 1.45 !important;
    max-width: none !important;
  }

  .tv_comprobante_acciones_top {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .tv_comprobante_acciones_top .tv_btn:first-child {
    grid-column: 1 / -1 !important;
  }

  .tv_comprobante_acciones_top .tv_btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    padding-inline: 0.85rem !important;
  }

  .tv_comprobante_panel_v3,
  .tv_comprobante_panel_documento {
    gap: 1rem !important;
    padding: 0.9rem !important;
  }

  .tv_comprobante_hero_panel,
  .tv_comprobante_info_grid {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 0.8rem !important;
    padding-bottom: 0.15rem !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .tv_comprobante_hero_panel::-webkit-scrollbar,
  .tv_comprobante_info_grid::-webkit-scrollbar {
    display: none !important;
  }

  .tv_comprobante_hero_card,
  .tv_comprobante_resumen_card,
  .tv_comprobante_info_card {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
  }

  .tv_comprobante_hero_card {
    width: min(84vw, 315px) !important;
    min-height: 168px !important;
    padding: 1rem !important;
  }

  .tv_comprobante_hero_card h2 {
    font-size: 1.55rem !important;
    line-height: 1.02 !important;
  }

  .tv_comprobante_hero_card p {
    margin: 0.7rem 0 0.3rem !important;
    font-size: 0.88rem !important;
  }

  .tv_comprobante_hero_card small {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    max-width: none !important;
  }

  .tv_comprobante_resumen_card {
    width: min(52vw, 190px) !important;
    min-height: 168px !important;
    padding: 0.95rem !important;
  }

  .tv_comprobante_resumen_card strong {
    font-size: 1.2rem !important;
  }

  .tv_comprobante_info_card {
    width: min(84vw, 320px) !important;
    min-height: 0 !important;
    padding: 1rem !important;
  }

  .tv_comprobante_info_head {
    margin-bottom: 0.8rem !important;
  }

  .tv_comprobante_info_head h3 {
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
  }

  .tv_comprobante_info_head p {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }

  .tv_comprobante_info_body {
    gap: 0.7rem !important;
  }

  .tv_comprobante_dato {
    gap: 0.15rem !important;
    padding-top: 0.55rem !important;
  }

  .tv_comprobante_dato strong,
  .tv_comprobante_texto_plano {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
  }

  .tv_comprobante_total_panel {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    padding: 0.95rem !important;
  }

  .tv_comprobante_total_texto h3 {
    margin: 0 0 0.25rem !important;
    font-size: 1.25rem !important;
  }

  .tv_comprobante_total_texto p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
}


/* Ajuste v94: comprobante mobile real y ocultar impresion */
.tv_comprobante_acciones_top .tv_btn,
.tv_comprobante_acciones_bottom .tv_btn {
  min-width: 220px;
}

@media (max-width: 767px) {
  .tv_comprobante_pagina {
    padding: 0.9rem 0.7rem 2rem !important;
  }

  .tv_comprobante_bloque {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tv_comprobante_cabecera_publica {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.8rem !important;
    margin-bottom: 0.9rem !important;
  }

  .tv_comprobante_cabecera_texto h1 {
    font-size: 1.32rem !important;
    line-height: 1.12 !important;
  }

  .tv_comprobante_cabecera_texto p {
    font-size: 0.94rem !important;
    line-height: 1.42 !important;
  }

  .tv_comprobante_acciones_top,
  .tv_comprobante_acciones_bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .tv_comprobante_acciones_top .tv_btn,
  .tv_comprobante_acciones_bottom .tv_btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
  }

  .tv_comprobante_panel_v3,
  .tv_comprobante_panel_documento {
    gap: 0.85rem !important;
    padding: 0.85rem !important;
    border-radius: 20px !important;
  }

  .tv_comprobante_hero_panel {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    overflow: visible !important;
  }

  .tv_comprobante_hero_card {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 150px !important;
    padding: 0.95rem !important;
  }

  .tv_comprobante_hero_card h2 {
    font-size: 1.25rem !important;
    line-height: 1.05 !important;
    word-break: break-word !important;
  }

  .tv_comprobante_hero_card p {
    margin: 0.55rem 0 0.2rem !important;
    font-size: 0.84rem !important;
  }

  .tv_comprobante_hero_card small {
    font-size: 0.88rem !important;
    line-height: 1.32 !important;
    max-width: none !important;
  }

  .tv_comprobante_resumen_card {
    width: 100% !important;
    min-height: 112px !important;
    padding: 0.85rem !important;
    gap: 0.45rem !important;
  }

  .tv_comprobante_resumen_card span {
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
  }

  .tv_comprobante_resumen_card strong {
    font-size: 1rem !important;
    line-height: 1.18 !important;
  }

  .tv_comprobante_info_grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.75rem !important;
    overflow: visible !important;
  }

  .tv_comprobante_info_card {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0.9rem !important;
  }

  .tv_comprobante_info_head {
    margin-bottom: 0.7rem !important;
  }

  .tv_comprobante_info_head .tv_etiqueta {
    margin-bottom: 0.45rem !important;
    padding: 0.35rem 0.68rem !important;
  }

  .tv_comprobante_info_head h3 {
    font-size: 1.08rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.18rem !important;
  }

  .tv_comprobante_info_head p {
    font-size: 0.84rem !important;
    line-height: 1.32 !important;
  }

  .tv_comprobante_info_body {
    gap: 0.55rem !important;
  }

  .tv_comprobante_dato {
    padding-top: 0.5rem !important;
  }

  .tv_comprobante_dato span {
    font-size: 0.68rem !important;
    letter-spacing: 0.08em !important;
  }

  .tv_comprobante_dato strong,
  .tv_comprobante_texto_plano {
    font-size: 0.94rem !important;
    line-height: 1.4 !important;
  }

  .tv_comprobante_detalle_panel,
  .tv_comprobante_total_panel {
    padding: 0.9rem !important;
  }

  .tv_comprobante_seccion_titulo {
    margin-bottom: 0.75rem !important;
    font-size: 0.98rem !important;
  }

  .tv_comprobante_tabla_fila {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem 0.8rem !important;
    align-items: start !important;
    padding: 0.85rem !important;
  }

  .tv_comprobante_tabla_fila > div {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  .tv_comprobante_tabla_fila div strong {
    font-size: 0.98rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .tv_comprobante_tabla_fila div span {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
  }

  .tv_comprobante_tabla_fila > span,
  .tv_comprobante_tabla_fila > strong {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.12rem !important;
    min-width: 0 !important;
  }

  .tv_comprobante_total_panel {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.7rem !important;
  }

  .tv_comprobante_total_texto h3 {
    font-size: 1.16rem !important;
  }

  .tv_comprobante_total_texto p {
    font-size: 0.88rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .tv_comprobante_hero_panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_comprobante_hero_card {
    grid-column: 1 / -1 !important;
    min-height: 170px !important;
  }

  .tv_comprobante_info_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_comprobante_info_grid .tv_comprobante_info_card:last-child {
    grid-column: 1 / -1 !important;
  }
}

@media print {
  .tv_comprobante_acciones_top,
  .tv_comprobante_acciones_bottom,
  .tv_breadcrumb,
  .tv_comprobante_cabecera_publica {
    display: none !important;
  }
}


/* OVERRIDE COMPROBANTE V94 PATCH */
.tv_comprobante_tabla_fila div strong {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.tv_comprobante_tabla_fila div span {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

@media (max-width: 767px) {
  .tv_comprobante_cabecera_publica {
    gap: 0.9rem !important;
  }

  .tv_comprobante_cabecera_texto h1 {
    font-size: 2rem !important;
    line-height: 1.08 !important;
    margin-bottom: 0.5rem !important;
  }

  .tv_comprobante_cabecera_texto p {
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .tv_comprobante_panel_v3 {
    padding: 0.9rem !important;
    gap: 0.9rem !important;
  }

  .tv_comprobante_hero_panel {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .tv_comprobante_hero_card {
    min-height: 0 !important;
    padding: 1rem !important;
    border-radius: 1.25rem !important;
  }

  .tv_comprobante_hero_card h2 {
    font-size: 1rem !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
  }

  .tv_comprobante_hero_card p {
    font-size: 0.82rem !important;
  }

  .tv_comprobante_hero_card small {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  .tv_comprobante_resumen_card {
    min-height: 0 !important;
    padding: 0.85rem 0.95rem !important;
  }

  .tv_comprobante_info_grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .tv_comprobante_info_card {
    padding: 0.85rem !important;
    border-radius: 1.15rem !important;
  }

  .tv_comprobante_info_head {
    margin-bottom: 0.55rem !important;
  }

  .tv_comprobante_info_head .tv_etiqueta {
    display: inline-flex !important;
    width: auto !important;
    max-width: fit-content !important;
    margin-bottom: 0.35rem !important;
    padding: 0.32rem 0.6rem !important;
    font-size: 0.7rem !important;
  }

  .tv_comprobante_info_head h3 {
    font-size: 0.98rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.12rem !important;
  }

  .tv_comprobante_info_head p {
    font-size: 0.78rem !important;
    line-height: 1.32 !important;
  }

  .tv_comprobante_dato {
    gap: 0.18rem !important;
    padding-top: 0.42rem !important;
  }

  .tv_comprobante_dato span {
    font-size: 0.66rem !important;
  }

  .tv_comprobante_dato strong,
  .tv_comprobante_texto_plano {
    font-size: 0.9rem !important;
    line-height: 1.36 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .tv_comprobante_tabla {
    border-radius: 1rem !important;
  }

  .tv_comprobante_tabla_head {
    display: none !important;
  }

  .tv_comprobante_tabla_body {
    display: grid !important;
    gap: 0.7rem !important;
  }

  .tv_comprobante_tabla_fila {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem 0.8rem !important;
    padding: 0.9rem !important;
    border: 1px solid rgba(210, 196, 223, 0.9) !important;
    border-radius: 1rem !important;
    background: #fbf8fc !important;
  }

  .tv_comprobante_tabla_fila > div {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    padding-bottom: 0.2rem !important;
    border-bottom: 1px solid rgba(225, 216, 234, 0.8) !important;
  }

  .tv_comprobante_tabla_fila div strong {
    display: block !important;
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.22rem !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .tv_comprobante_tabla_fila div span {
    display: block !important;
    font-size: 0.76rem !important;
    line-height: 1.32 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .tv_comprobante_tabla_fila > span,
  .tv_comprobante_tabla_fila > strong {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.14rem !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }

  .tv_comprobante_tabla_fila > span::before,
  .tv_comprobante_tabla_fila > strong::before {
    position: static !important;
    transform: none !important;
    margin-bottom: 0.04rem !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.08em !important;
    color: #8f7a99 !important;
  }

  .tv_comprobante_total_panel {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}


.tv_account_resume_card_wide {
  grid-column: 1 / -1;
}

.tv_account_resume_card_cliente {
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(251,245,247,0.98) 100%);
}

.tv_account_metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.tv_account_metrics div {
  border: 1px solid rgba(224, 194, 200, 0.7);
  border-radius: 1rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.82);
}

.tv_account_metrics strong {
  display: block;
  color: #25161b;
  font-size: 1rem;
}

.tv_account_metrics span {
  display: block;
  color: #7f5b65;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.tv_account_orders {
  display: grid;
  gap: 0.85rem;
}

.tv_account_order_item {
  border: 1px solid rgba(228, 210, 215, 0.85);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.9);
}

.tv_account_order_top,
.tv_account_order_meta,
.tv_account_order_actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tv_account_order_meta {
  margin-top: 0.55rem;
  color: #7f5b65;
  font-size: 0.84rem;
}

.tv_account_order_total {
  color: #25161b;
  font-weight: 700;
}

.tv_account_form_dashboard {
  margin-top: 1rem;
}

.tv_account_field select {
  width: 100%;
  min-height: 3rem;
  border-radius: 1rem;
  border: 1px solid rgba(219, 194, 200, 0.8);
  background: #fff;
  padding: 0.85rem 1rem;
  color: #2d2024;
}

.tv_account_field_grid_triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tv_account_empty {
  margin: 0;
  color: #7f5b65;
}

@media (max-width: 992px) {
  .tv_account_metrics,
  .tv_account_field_grid_triple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tv_account_metrics,
  .tv_account_field_grid_triple {
    grid-template-columns: 1fr;
  }
}


.tv_account_panel_main_dashboard {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tv_account_dashboard_section {
  padding: 32px 0 56px;
}

.tv_account_dashboard_shell {
  display: grid;
  gap: 22px;
}

.tv_account_dashboard_header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(104, 86, 102, 0.06);
}

.tv_account_dashboard_header h1 {
  margin: 10px 0 8px;
  color: var(--tv-color-text);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.tv_account_dashboard_header p {
  margin: 0;
  max-width: 640px;
  color: var(--tv-color-text-soft);
}

.tv_account_dashboard_header_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tv_account_resume_grid_dashboard {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.tv_account_resume_card_cliente {
  position: sticky;
  top: 110px;
}

.tv_account_metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tv_account_metrics div {
  display: grid;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 18px;
  background: rgba(248, 243, 250, 0.68);
}

.tv_account_metrics strong {
  color: var(--tv-color-text);
  font-size: 1.05rem;
  line-height: 1.2;
  word-break: break-word;
}

.tv_account_metrics span {
  color: var(--tv-color-text-soft);
  font-size: 0.8rem;
  line-height: 1.3;
}

.tv_account_orders {
  display: grid;
  gap: 12px;
}

.tv_account_order_item {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 20px;
  background: rgba(248, 243, 250, 0.58);
}

.tv_account_order_top,
.tv_account_order_meta,
.tv_account_order_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.tv_account_order_meta span {
  color: var(--tv-color-text-soft);
  font-size: 0.86rem;
}

.tv_account_form_dashboard {
  gap: 14px;
}

.tv_account_field select {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(104, 86, 102, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
}

@media (max-width: 1199px) {
  .tv_account_resume_grid_dashboard {
    grid-template-columns: 1fr;
  }

  .tv_account_resume_card_cliente {
    position: static;
  }
}

@media (max-width: 767px) {
  .tv_account_dashboard_section {
    padding: 22px 0 40px;
  }

  .tv_account_dashboard_header,
  .tv_account_resume_card {
    padding: 22px;
    border-radius: 24px;
  }

  .tv_account_metrics {
    grid-template-columns: 1fr;
  }

  .tv_account_order_top,
  .tv_account_order_meta,
  .tv_account_order_actions,
  .tv_account_dashboard_header_actions {
    flex-direction: column;
    align-items: stretch;
  }
}


.tv_account_dashboard_layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.tv_account_dashboard_sidebar {
  display: grid;
  gap: 18px;
}

.tv_account_dashboard_content {
  display: grid;
  gap: 22px;
}

.tv_account_dashboard_forms_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tv_account_resume_card_sidebar_info {
  background: rgba(255, 255, 255, 0.94);
}

.tv_account_resume_list_compact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv_account_resume_list_compact li {
  color: var(--tv-color-text-soft);
  line-height: 1.5;
}

.tv_account_resume_list_compact strong {
  color: var(--tv-color-text);
  margin-right: 4px;
}

.tv_account_section_head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.tv_account_section_head h3 {
  margin: 6px 0 0;
  color: var(--tv-color-text);
  font-size: 1.25rem;
  line-height: 1.2;
}

.tv_account_section_meta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(191, 175, 208, 0.18);
  color: var(--tv-color-text-soft);
  font-size: 0.82rem;
}

.tv_account_orders_card {
  min-height: 100%;
}

.tv_account_order_identity {
  display: grid;
  gap: 4px;
}

.tv_account_order_identity strong {
  color: var(--tv-color-text);
  font-size: 1.02rem;
}

.tv_account_order_identity small {
  color: var(--tv-color-text-soft);
}

.tv_account_order_badge {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(191, 175, 208, 0.16);
  color: var(--tv-color-text);
}

.tv_account_order_actions .tv_btn {
  min-width: 170px;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_layout {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tv_account_dashboard_layout,
  .tv_account_dashboard_content,
  .tv_account_dashboard_forms_grid,
  .tv_account_dashboard_sidebar {
    grid-template-columns: 1fr;
  }

  .tv_account_section_head {
    flex-direction: column;
    align-items: stretch;
  }

  .tv_account_order_actions .tv_btn {
    width: 100%;
    min-width: 0;
  }
}

/* Ajuste Mi cuenta v105 */
.tv_account_dashboard_section {
  padding: 28px 0 56px;
}

.tv_account_dashboard_header {
  position: relative;
  overflow: hidden;
  align-items: center;
  padding: 30px 32px;
  border: 1px solid rgba(155, 126, 189, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.34) 0, rgba(255,255,255,0.34) 34px, transparent 35px),
    radial-gradient(circle at 88% 26%, rgba(255,255,255,0.18) 0, rgba(255,255,255,0.18) 58px, transparent 59px),
    linear-gradient(135deg, rgba(216, 193, 239, 0.92) 0%, rgba(236, 220, 247, 0.94) 50%, rgba(214, 186, 236, 0.90) 100%);
  box-shadow: 0 20px 44px rgba(120, 93, 145, 0.10);
}

.tv_account_dashboard_header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, transparent 40%, rgba(255,255,255,0.18) 100%),
    radial-gradient(circle at right bottom, rgba(155,126,189,0.10) 0, rgba(155,126,189,0.10) 110px, transparent 111px);
  pointer-events: none;
}

.tv_account_dashboard_header > * {
  position: relative;
  z-index: 1;
}

.tv_account_dashboard_header h1 {
  margin: 8px 0 10px;
  color: #5b4668;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.tv_account_name_highlight {
  display: inline-block;
  padding: 0 .14em .06em;
  color: #8d55c7;
  border-bottom: 3px solid rgba(141, 85, 199, 0.26);
  line-height: .95;
}

.tv_account_dashboard_header p {
  max-width: 620px;
  color: #6a5b78;
  font-size: 1rem;
  line-height: 1.6;
}

.tv_account_header_pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tv_account_header_pills span,
.tv_account_resume_badge,
.tv_account_section_meta,
.tv_account_order_badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.34);
  background: linear-gradient(135deg, rgba(173, 133, 222, 0.20) 0%, rgba(222, 188, 239, 0.32) 100%);
  color: #7d4da3;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
}

.tv_account_dashboard_header_actions {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.tv_account_metrics_header {
  grid-template-columns: repeat(3, minmax(108px, 1fr));
  gap: 12px;
  margin-top: 0;
}

.tv_account_metric_card,
.tv_account_metrics div {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 90px;
  padding: 14px 16px;
  border: 1px solid rgba(160, 130, 193, 0.22);
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 12px 26px rgba(120, 93, 145, 0.05);
}

.tv_account_metric_card strong,
.tv_account_metrics strong {
  color: #5d4667;
  font-size: 1.18rem;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tv_account_metric_card span,
.tv_account_metrics span {
  color: #87728f;
  font-size: .78rem;
  line-height: 1.35;
}

.tv_account_metric_card_contacto {
  min-width: 0;
}

.tv_account_dashboard_layout {
  grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.tv_account_dashboard_sidebar,
.tv_account_dashboard_content {
  display: grid;
  gap: 20px;
}

.tv_account_resume_card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border: 1px solid rgba(155, 126, 189, 0.20);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250, 245, 252, 0.98) 100%);
  box-shadow: 0 16px 34px rgba(120, 93, 145, 0.06);
}

.tv_account_resume_card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #af82d6 0%, #dcb5ea 100%);
}

.tv_account_resume_card_cliente {
  background:
    radial-gradient(circle at right -10px top 24px, rgba(214, 188, 236, 0.36) 0, rgba(214, 188, 236, 0.36) 88px, transparent 89px),
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250,245,252,0.98) 100%);
}

.tv_account_resume_head h2 {
  margin: 10px 0 0;
  color: #5b4668;
  font-size: 1.28rem;
  line-height: 1.2;
}

.tv_account_resume_text {
  margin: 14px 0 0;
  color: #7b6a87;
  line-height: 1.7;
}

.tv_account_resume_list_destacada {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(204, 189, 217, 0.55);
}

.tv_account_resume_list_compact li {
  color: #7a6a86;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.tv_account_resume_list_compact strong {
  color: #5d4667;
}

.tv_account_quick_stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tv_account_quick_stats span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(175, 130, 214, 0.13);
  color: #7b4daa;
  font-size: .84rem;
  font-weight: 700;
}

.tv_account_sidebar_ctas {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tv_account_sidebar_ctas .tv_btn {
  width: 100%;
  justify-content: center;
}

.tv_account_section_head {
  align-items: center;
  margin-bottom: 18px;
}

.tv_account_section_head h3 {
  margin-top: 8px;
  color: #5b4668;
  font-size: 1.32rem;
}

.tv_account_orders {
  display: grid;
  gap: 12px;
  max-height: 520px;
  padding-right: 6px;
  overflow: auto;
}

.tv_account_orders::-webkit-scrollbar {
  width: 8px;
}

.tv_account_orders::-webkit-scrollbar-thumb {
  background: rgba(155,126,189,0.24);
  border-radius: 999px;
}

.tv_account_order_item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(194, 173, 216, 0.35);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,244,251,0.98) 100%);
}

.tv_account_order_main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.tv_account_order_identity strong {
  color: #5d4667;
  font-size: 1.02rem;
}

.tv_account_order_identity small {
  color: #8b7994;
}

.tv_account_order_meta {
  justify-content: flex-start;
  gap: 8px;
}

.tv_account_order_meta span {
  color: #7f6f89;
  font-size: .84rem;
}

.tv_account_order_side {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 150px;
}

.tv_account_order_total {
  color: #7d4da3;
  font-size: 1.1rem;
  font-weight: 800;
}

.tv_account_order_actions .tv_btn,
.tv_account_order_side .tv_btn {
  min-width: 150px;
  justify-content: center;
}

.tv_account_dashboard_forms_grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tv_account_form_dashboard {
  gap: 14px;
}

.tv_account_field input,
.tv_account_field select,
.tv_account_form_dashboard .tv_account_field input,
.tv_account_form_dashboard .tv_account_field select {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(185, 164, 205, 0.36);
  border-radius: 18px;
  background: rgba(255,255,255,0.98);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.66);
}

.tv_account_field input:focus,
.tv_account_field select:focus {
  border-color: rgba(155,126,189,0.65);
  box-shadow: 0 0 0 4px rgba(175,130,214,0.14);
}

.tv_account_actions .tv_btn,
.tv_account_dashboard_header_actions .tv_btn {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}

.tv_account_dashboard_header_actions .tv_btn_secundario,
.tv_account_sidebar_ctas .tv_btn_secundario,
.tv_account_order_side .tv_btn_secundario {
  border-color: rgba(185, 164, 205, 0.42);
  background: rgba(255,255,255,0.94);
}

@media (max-width: 1199px) {
  .tv_account_dashboard_header {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_header_actions {
    justify-items: stretch;
  }

  .tv_account_metrics_header {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tv_account_dashboard_layout {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tv_account_dashboard_header,
  .tv_account_resume_card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .tv_account_metrics_header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv_account_metric_card_contacto {
    grid-column: 1 / -1;
  }

  .tv_account_dashboard_sidebar,
  .tv_account_dashboard_forms_grid {
    grid-template-columns: 1fr;
  }

  .tv_account_order_item {
    grid-template-columns: 1fr;
  }

  .tv_account_order_side {
    justify-items: stretch;
    min-width: 0;
  }

  .tv_account_order_side .tv_btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .tv_account_dashboard_section {
    padding: 20px 0 36px;
  }

  .tv_account_dashboard_header {
    padding: 20px 16px;
  }

  .tv_account_dashboard_header h1 {
    font-size: 2.05rem;
    line-height: 1.05;
  }

  .tv_account_name_highlight {
    padding-right: .08em;
  }

  .tv_account_header_pills {
    gap: 8px;
  }

  .tv_account_header_pills span,
  .tv_account_resume_badge,
  .tv_account_section_meta,
  .tv_account_order_badge,
  .tv_account_quick_stats span {
    min-height: 30px;
    padding: 0 12px;
    font-size: .78rem;
  }

  .tv_account_metrics_header {
    grid-template-columns: 1fr 1fr;
  }

  .tv_account_metric_card,
  .tv_account_metrics div {
    min-height: 84px;
    padding: 12px 14px;
  }

  .tv_account_order_item {
    padding: 14px;
    border-radius: 20px;
  }

  .tv_account_order_meta {
    flex-direction: column;
    align-items: stretch;
  }

  .tv_account_orders {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

/* Ajustes cuenta cliente v106 */
.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_orders_card {
  position: relative;
  overflow: hidden;
}

.tv_account_dashboard_header {
  border: 1px solid rgba(128, 86, 173, 0.34);
  background:
    radial-gradient(circle at 84% 28%, rgba(84, 45, 112, 0.18) 0, rgba(84, 45, 112, 0.18) 72px, transparent 73px),
    radial-gradient(circle at 16% 112%, rgba(97, 55, 132, 0.13) 0, rgba(97, 55, 132, 0.13) 110px, transparent 111px),
    linear-gradient(135deg, rgba(226, 212, 241, 0.98) 0%, rgba(211, 186, 233, 0.96) 48%, rgba(246, 241, 250, 0.98) 100%);
  box-shadow: 0 22px 46px rgba(96, 66, 122, 0.10);
}

.tv_account_dashboard_header::before,
.tv_account_resume_card_cliente::before,
.tv_account_orders_card::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 260px;
  height: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23573a70' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' opacity='.22'%3E%3Cpath d='M187 25c-7 18-20 31-39 39 19 2 33 11 42 28'/%3E%3Cpath d='M222 38c-15 6-27 18-34 34 18-5 34-3 48 6-2-16-7-29-14-40Z'/%3E%3Cpath d='M177 89c8-15 21-26 39-31-14 14-22 30-22 49'/%3E%3Ccircle cx='193' cy='66' r='13'/%3E%3Cpath d='M51 180c17-7 34-8 51-1-12 11-18 25-19 43-10-17-21-31-32-42Z'/%3E%3Cpath d='M86 139c-3 16 1 30 12 42 8-16 21-28 40-33-16-7-33-10-52-9Z'/%3E%3Ccircle cx='98' cy='181' r='12'/%3E%3Cpath d='M141 181c14-6 29-5 44 2-11 8-18 18-22 31-5-12-12-23-22-33Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: .9;
}

.tv_account_dashboard_header::before {
  right: -44px;
  left: auto;
  top: -18px;
  bottom: auto;
}

.tv_account_dashboard_header::after,
.tv_account_resume_card_cliente::after,
.tv_account_orders_card::after {
  content: "";
  position: absolute;
  left: -42px;
  bottom: -56px;
  width: 230px;
  height: 230px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23634886' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' opacity='.18'%3E%3Cpath d='M60 168c22-9 44-10 65-1-17 13-26 30-28 53-11-20-24-38-37-52Z'/%3E%3Cpath d='M118 118c-1 18 6 34 21 47 9-19 24-34 47-43-21-8-44-10-68-4Z'/%3E%3Cpath d='M168 60c-15 6-27 18-34 34 16-4 31-2 45 6-1-15-5-28-11-40Z'/%3E%3Ccircle cx='165' cy='104' r='14'/%3E%3Ccircle cx='90' cy='176' r='15'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: .85;
}

.tv_account_resume_card_cliente {
  border-color: rgba(128, 86, 173, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248, 241, 252, 0.99) 100%);
}

.tv_account_orders_card {
  border-color: rgba(128, 86, 173, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250, 245, 252, 0.98) 100%);
}

.tv_account_dashboard_layout {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 24px;
}

.tv_account_dashboard_header h1 {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: #4b365f;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.tv_account_name_highlight {
  display: inline-block;
  position: relative;
  margin-left: 0.12em;
  padding: 0 0.12em 0.02em;
  color: #7c4bb6;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: 1.04em;
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(124, 75, 182, 0.12);
}

.tv_account_name_highlight::after {
  content: "";
  position: absolute;
  left: 0.1em;
  right: 0.12em;
  bottom: 0.06em;
  height: 0.16em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 75, 182, 0.12) 0%, rgba(195, 158, 229, 0.34) 100%);
  z-index: -1;
}

.tv_account_header_pills span,
.tv_account_resume_badge,
.tv_account_section_meta,
.tv_account_order_badge,
.tv_account_quick_stats span {
  border-color: rgba(128, 86, 173, 0.18);
  background: rgba(233, 221, 245, 0.88);
  color: #7347a3;
}

.tv_account_section_meta {
  min-height: 34px;
  padding: 0 14px;
  font-weight: 700;
}

.tv_account_metrics_header {
  align-self: start;
}

.tv_account_metrics div,
.tv_account_metric_card {
  border: 1px solid rgba(128, 86, 173, 0.20);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 24px rgba(110, 83, 140, 0.05);
}

.tv_account_sidebar_ctas {
  gap: 12px;
}

.tv_account_quick_button,
.tv_account_sidebar_ctas .tv_btn {
  position: relative;
  min-height: 54px;
  border: 1px solid rgba(128, 86, 173, 0.26);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245, 238, 249, 0.98) 100%);
  color: #5d4667;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(109, 83, 139, 0.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.tv_account_quick_button::before,
.tv_account_sidebar_ctas .tv_btn::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8d5ac4 0%, #c6a6e4 100%);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(198, 166, 228, 0.16);
}

.tv_account_quick_button_activo,
.tv_account_quick_button:hover,
.tv_account_sidebar_ctas .tv_btn:hover {
  border-color: rgba(128, 86, 173, 0.42);
  color: #4f3766;
  box-shadow: 0 18px 36px rgba(109, 83, 139, 0.10);
  transform: translateY(-1px);
}

.tv_account_quick_button_activo {
  background: linear-gradient(135deg, rgba(236, 226, 246, 0.98) 0%, rgba(250, 245, 252, 0.98) 100%);
}

.tv_account_resume_list_destacada,
.tv_account_resume_list_compact li {
  position: relative;
  z-index: 1;
}

.tv_account_quick_stats {
  gap: 8px;
}

.tv_account_orders {
  display: grid;
  gap: 14px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.tv_account_order_item {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(194, 173, 216, 0.42);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(249,244,251,0.99) 100%);
  box-shadow: 0 12px 28px rgba(116, 90, 143, 0.05);
}

.tv_account_order_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tv_account_order_meta_texto {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(244, 238, 248, 0.9);
  color: #7f6f89;
  font-size: .83rem;
}

.tv_account_order_side {
  min-width: 180px;
  justify-items: end;
}

.tv_account_order_side_actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.tv_account_order_total {
  color: #7b4daa;
  font-size: 1.16rem;
  font-weight: 800;
}

.tv_account_order_side .tv_btn_secundario {
  min-width: 150px;
  border-color: rgba(128, 86, 173, 0.28);
}

.tv_account_section_flash {
  box-shadow: 0 0 0 4px rgba(175, 130, 214, 0.16), 0 20px 38px rgba(109, 83, 139, 0.08);
}

#tv_bloque_pedidos_cliente,
#tv_bloque_perfil_cliente,
#tv_bloque_direccion_cliente {
  scroll-margin-top: 120px;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_layout {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tv_account_dashboard_header::before {
    width: 190px;
    height: 190px;
    right: -28px;
    top: -8px;
  }

  .tv_account_dashboard_header::after,
  .tv_account_resume_card_cliente::after,
  .tv_account_orders_card::after {
    width: 170px;
    height: 170px;
    left: -38px;
    bottom: -44px;
  }

  .tv_account_dashboard_sidebar {
    grid-template-columns: 1fr;
  }

  .tv_account_order_item {
    grid-template-columns: 1fr;
  }

  .tv_account_order_side {
    min-width: 0;
    width: 100%;
    justify-items: stretch;
  }

  .tv_account_order_side_actions {
    justify-content: stretch;
  }

  .tv_account_order_side .tv_btn_secundario {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .tv_account_dashboard_header {
    padding: 22px 18px;
  }

  .tv_account_dashboard_header h1 {
    font-size: 2.35rem;
    line-height: 1.02;
  }

  .tv_account_name_highlight {
    display: inline-block;
    margin-left: 0.04em;
  }

  .tv_account_dashboard_header_actions {
    width: 100%;
  }

  .tv_account_metrics_header {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tv_account_metric_card,
  .tv_account_metrics div {
    min-height: 84px;
    padding: 12px 10px;
  }

  .tv_account_metric_card strong {
    font-size: .98rem;
  }

  .tv_account_dashboard_sidebar,
  .tv_account_dashboard_content,
  .tv_account_dashboard_forms_grid {
    gap: 16px;
  }

  .tv_account_resume_card,
  .tv_account_orders_card {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .tv_account_resume_card::before {
    height: 4px;
  }

  .tv_account_quick_button,
  .tv_account_sidebar_ctas .tv_btn {
    min-height: 50px;
    padding-left: 34px;
  }

  .tv_account_order_item {
    padding: 16px;
  }

  .tv_account_order_meta {
    gap: 6px;
  }

  .tv_account_order_badge,
  .tv_account_order_meta_texto,
  .tv_account_section_meta {
    font-size: .76rem;
  }
}


/* Ajustes cuenta cliente v107 */
.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_resume_card_sidebar_info {
  position: relative;
  overflow: hidden;
}

.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_dashboard_header {
  border: 1px solid rgba(109, 72, 148, 0.34);
  background:
    linear-gradient(135deg, rgba(232, 220, 244, 0.98) 0%, rgba(216, 193, 236, 0.96) 45%, rgba(247, 243, 250, 0.98) 100%);
  box-shadow: 0 22px 46px rgba(92, 58, 123, 0.10);
}

.tv_account_intro_copy::before,
.tv_account_panel_main::before,
.tv_account_dashboard_header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 320'%3E%3Cg fill='none' stroke='%23593a75' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.18'%3E%3Cpath d='M345 18c-22 14-36 34-42 59 18-14 37-20 60-18-5-16-11-30-18-41Z'/%3E%3Cpath d='M317 34c-8 20-8 38 0 56 11-17 27-28 49-33-15-10-31-17-49-23Z'/%3E%3Cpath d='M73 252c22-8 42-7 62 3-15 10-25 25-29 46-7-18-18-35-33-49Z'/%3E%3Cpath d='M118 220c4 18 14 31 31 41 4-19 15-35 34-47-21-3-43-1-65 6Z'/%3E%3Ccircle cx='125' cy='247' r='13'/%3E%3Cpath d='M328 126c18-8 36-8 53 1-13 9-20 22-22 39-9-14-19-27-31-40Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -6px top -4px, left -4px bottom -6px;
  background-size: 220px auto;
  pointer-events: none;
}

.tv_account_intro_copy::after,
.tv_account_panel_main::after,
.tv_account_dashboard_header::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 86, 173, 0.16) 0%, rgba(128, 86, 173, 0.04) 58%, transparent 59%);
  pointer-events: none;
}

.tv_account_dashboard_header > *,
.tv_account_intro_copy > *,
.tv_account_panel_main > * {
  position: relative;
  z-index: 1;
}

.tv_account_intro_copy h1,
.tv_account_dashboard_header h1 {
  color: #4f3563;
  font-family: "Baskerville", "Book Antiqua", "Palatino Linotype", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.tv_account_name_highlight {
  color: #7d49b6;
  font-family: "Baskerville", "Book Antiqua", "Palatino Linotype", Georgia, serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 22px rgba(125, 73, 182, 0.12);
}

.tv_account_name_highlight::after {
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.14em;
  background: linear-gradient(90deg, rgba(125, 73, 182, 0.14) 0%, rgba(195, 158, 229, 0.34) 100%);
}

.tv_account_intro_copy p,
.tv_account_dashboard_header p {
  max-width: 640px;
  color: #6f5a7d;
}

.tv_account_highlights span,
.tv_account_header_pills span,
.tv_account_resume_badge,
.tv_account_section_meta,
.tv_account_order_badge,
.tv_account_quick_stats span,
.tv_account_order_meta_texto {
  border: 1px solid rgba(138, 99, 177, 0.18);
  background: rgba(243, 235, 248, 0.92);
  color: #784aa9;
}

.tv_account_dashboard_layout {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  align-items: start;
}

.tv_account_resume_card_cliente,
.tv_account_resume_card_sidebar_info,
.tv_account_orders_card,
#tv_bloque_perfil_cliente,
#tv_bloque_direccion_cliente {
  border-color: rgba(128, 86, 173, 0.26);
  box-shadow: 0 14px 32px rgba(92, 58, 123, 0.06);
}

.tv_account_resume_card_cliente::before,
.tv_account_orders_card::before,
.tv_account_resume_card_sidebar_info::before {
  display: none;
}

.tv_account_resume_card_cliente::after,
.tv_account_orders_card::after,
.tv_account_resume_card_sidebar_info::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -38px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 86, 173, 0.12) 0%, rgba(128, 86, 173, 0.03) 58%, transparent 59%);
  pointer-events: none;
}

.tv_account_section_description {
  margin: 8px 0 0;
  color: #7b6988;
  font-size: 0.94rem;
  line-height: 1.65;
}

.tv_account_sidebar_ctas {
  gap: 12px;
}

.tv_account_quick_button,
.tv_account_sidebar_ctas .tv_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 52px;
  padding: 0 18px 0 18px;
  border: 1px solid rgba(128, 86, 173, 0.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245, 238, 249, 0.98) 100%);
  color: #5a436a;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(109, 83, 139, 0.05);
}

.tv_account_quick_button::before,
.tv_account_sidebar_ctas .tv_btn::before {
  left: 18px;
}

.tv_account_quick_button span,
.tv_account_sidebar_ctas .tv_btn span {
  pointer-events: none;
}

.tv_account_quick_button_activo,
.tv_account_quick_button:hover,
.tv_account_sidebar_ctas .tv_btn:hover {
  border-color: rgba(128, 86, 173, 0.42);
  background: linear-gradient(135deg, rgba(239, 230, 247, 0.98) 0%, rgba(250, 246, 252, 0.98) 100%);
  transform: translateY(-1px);
}

.tv_account_orders {
  gap: 16px;
}

.tv_account_order_item {
  position: relative;
  padding: 18px 20px;
}

.tv_account_order_item::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 86px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(196, 175, 218, 0) 0%, rgba(196, 175, 218, 0.78) 100%);
}

.tv_account_order_meta {
  row-gap: 10px;
}

.tv_account_order_side {
  min-width: 190px;
}

.tv_account_order_side_actions .tv_btn {
  min-width: 152px;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_layout {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tv_account_intro_grid,
  .tv_account_dashboard_sidebar,
  .tv_account_dashboard_forms_grid {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_header,
  .tv_account_intro_copy,
  .tv_account_panel {
    padding: 24px 18px;
  }

  .tv_account_dashboard_header h1,
  .tv_account_intro_copy h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .tv_account_metrics_header {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tv_account_order_item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tv_account_order_side {
    min-width: 0;
    width: 100%;
    justify-items: stretch;
  }

  .tv_account_order_side_actions {
    justify-content: stretch;
  }

  .tv_account_order_side_actions .tv_btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .tv_account_page {
    padding-bottom: 32px;
  }

  .tv_account_dashboard_header,
  .tv_account_intro_copy,
  .tv_account_panel,
  .tv_account_resume_card,
  .tv_account_orders_card {
    border-radius: 24px;
  }

  .tv_account_dashboard_header::before,
  .tv_account_intro_copy::before,
  .tv_account_panel_main::before {
    background-size: 168px auto;
    background-position: right -10px top -8px;
  }

  .tv_account_dashboard_header::after,
  .tv_account_intro_copy::after,
  .tv_account_panel_main::after {
    width: 136px;
    height: 136px;
    right: -40px;
    bottom: -34px;
  }

  .tv_account_header_pills,
  .tv_account_highlights,
  .tv_account_quick_stats,
  .tv_account_order_meta {
    gap: 8px;
  }

  .tv_account_metrics_header {
    grid-template-columns: 1fr;
  }

  .tv_account_metric_card,
  .tv_account_metrics div {
    min-height: 76px;
  }

  .tv_account_order_item {
    padding: 16px;
  }

  .tv_account_order_item::after {
    width: 56px;
    right: 14px;
  }

  .tv_account_order_meta_texto,
  .tv_account_order_badge,
  .tv_account_section_meta {
    width: fit-content;
    max-width: 100%;
  }
}


/* Ajustes cuenta cliente v108 */
.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_resume_card_sidebar_info {
  border: 1px solid rgba(121, 82, 165, 0.34);
  background:
    radial-gradient(circle at top right, rgba(86, 54, 118, 0.16) 0, rgba(86, 54, 118, 0.16) 112px, transparent 113px),
    linear-gradient(135deg, rgba(232, 219, 245, 0.98) 0%, rgba(220, 199, 239, 0.97) 44%, rgba(249, 245, 252, 0.99) 100%);
  box-shadow: 0 22px 44px rgba(101, 71, 128, 0.09);
}

.tv_account_intro_copy::before,
.tv_account_panel_main::before,
.tv_account_dashboard_header::before,
.tv_account_resume_card_cliente::before,
.tv_account_resume_card_sidebar_info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Cg fill='none' stroke='%23563a72' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.22'%3E%3Cpath d='M275 18c-18 9-32 24-40 44 17-9 33-10 49-3-1-17-4-30-9-41Z'/%3E%3Cpath d='M249 30c-2 16 2 29 12 40 8-14 21-23 38-27-15-7-32-11-50-13Z'/%3E%3Ccircle cx='262' cy='64' r='11'/%3E%3Cpath d='M43 156c17-7 34-7 49 1-10 10-16 21-18 35-9-12-19-24-31-36Z'/%3E%3Cpath d='M78 129c2 14 9 24 22 31 5-15 14-27 28-35-16-3-33-1-50 4Z'/%3E%3Ccircle cx='84' cy='159' r='10'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -6px top -4px, left -10px bottom -6px;
  background-size: 168px auto;
  opacity: .95;
  pointer-events: none;
}

.tv_account_dashboard_header::after,
.tv_account_intro_copy::after,
.tv_account_panel_main::after,
.tv_account_resume_card_cliente::after,
.tv_account_resume_card_sidebar_info::after {
  content: "";
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 103, 184, 0.16) 0%, rgba(139, 103, 184, 0.04) 58%, transparent 59%);
  pointer-events: none;
}

.tv_account_dashboard_header h1,
.tv_account_intro_copy h1 {
  color: #4c355f;
  font-family: "Baskerville", "Palatino Linotype", Georgia, serif;
}

.tv_account_name_highlight {
  color: #7f4fb6;
  font-family: "Snell Roundhand", "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.tv_account_dashboard_layout {
  grid-template-columns: minmax(280px, 310px) minmax(0, 1fr);
  gap: 20px;
}

.tv_account_dashboard_sidebar,
.tv_account_dashboard_content {
  gap: 18px;
}

.tv_account_panel_section {
  display: none;
  gap: 18px;
}

.tv_account_panel_section_activo {
  display: grid;
}

.tv_account_orders_card {
  min-height: auto;
}

.tv_account_orders {
  display: grid;
  gap: 14px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.tv_account_order_item {
  align-items: start;
}

.tv_account_quick_button,
.tv_account_sidebar_ctas .tv_btn {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  justify-content: center;
}

.tv_account_quick_button::before,
.tv_account_sidebar_ctas .tv_btn::before {
  display: none;
}

.tv_account_quick_button_activo,
.tv_account_quick_button:hover,
.tv_account_sidebar_ctas .tv_btn:hover {
  box-shadow: 0 16px 28px rgba(109, 83, 139, 0.08);
}

.tv_account_resume_card_cliente,
.tv_account_resume_card_sidebar_info,
.tv_account_orders_card,
.tv_account_direction_summary_card,
#tv_bloque_perfil_cliente .tv_account_resume_card,
#tv_bloque_direccion_cliente .tv_account_resume_card {
  overflow: hidden;
}

.tv_account_orders_card::before,
.tv_account_orders_card::after,
.tv_account_direction_summary_card::before,
.tv_account_direction_summary_card::after,
#tv_bloque_perfil_cliente .tv_account_resume_card::before,
#tv_bloque_perfil_cliente .tv_account_resume_card::after,
#tv_bloque_direccion_cliente .tv_account_resume_card::before,
#tv_bloque_direccion_cliente .tv_account_resume_card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tv_account_orders_card::before,
.tv_account_direction_summary_card::before,
#tv_bloque_perfil_cliente .tv_account_resume_card::before,
#tv_bloque_direccion_cliente .tv_account_resume_card::before {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 160'%3E%3Cg fill='none' stroke='%23553a70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.16'%3E%3Cpath d='M220 20c-15 8-26 20-32 36 14-8 27-9 40-3-1-14-4-25-8-33Z'/%3E%3Cpath d='M196 30c-1 14 3 25 11 35 7-12 18-20 32-23-13-6-27-10-43-12Z'/%3E%3Ccircle cx='208' cy='58' r='9'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -10px top -8px;
  background-size: 126px auto;
}

.tv_account_orders_card::after,
.tv_account_direction_summary_card::after,
#tv_bloque_perfil_cliente .tv_account_resume_card::after,
#tv_bloque_direccion_cliente .tv_account_resume_card::after {
  left: -22px;
  bottom: -30px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 110, 181, 0.12) 0%, rgba(142, 110, 181, 0.02) 58%, transparent 59%);
}

.tv_account_dashboard_forms_grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_layout {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .tv_account_dashboard_header,
  .tv_account_intro_copy,
  .tv_account_panel,
  .tv_account_resume_card,
  .tv_account_orders_card {
    padding: 22px 16px;
  }

  .tv_account_dashboard_header::before,
  .tv_account_intro_copy::before,
  .tv_account_panel_main::before,
  .tv_account_resume_card_cliente::before,
  .tv_account_resume_card_sidebar_info::before {
    background-size: 120px auto;
    background-position: right -12px top -8px;
  }

  .tv_account_dashboard_header::after,
  .tv_account_intro_copy::after,
  .tv_account_panel_main::after,
  .tv_account_resume_card_cliente::after,
  .tv_account_resume_card_sidebar_info::after {
    width: 92px;
    height: 92px;
    left: -18px;
    bottom: -18px;
  }

  .tv_account_name_highlight {
    display: inline;
    font-size: .92em;
  }

  .tv_account_order_item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tv_account_order_meta {
    gap: 6px;
  }

  .tv_account_order_side {
    min-width: 0;
    width: 100%;
    justify-items: stretch;
  }

  .tv_account_section_meta {
    align-self: flex-start;
  }
}

/* Ajustes cuenta cliente v109 */
.tv_account_dashboard_layout {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.tv_account_dashboard_sidebar {
  position: sticky;
  top: 132px;
}

.tv_account_dashboard_content {
  display: grid;
  gap: 20px;
}

.tv_account_panel_section,
.tv_account_panel_section_activo,
.tv_account_panel_section_stack {
  display: grid;
  gap: 18px;
}

.tv_account_content_banner,
.tv_account_resume_card_cliente,
.tv_account_orders_card,
.tv_account_direction_summary_card,
#tv_bloque_perfil_cliente .tv_account_resume_card,
#tv_bloque_direccion_cliente .tv_account_resume_card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(118, 88, 150, 0.28);
  background:
    radial-gradient(circle at top right, rgba(106, 73, 141, 0.16) 0, rgba(106, 73, 141, 0.16) 112px, transparent 113px),
    linear-gradient(135deg, rgba(247, 241, 251, 0.99) 0%, rgba(234, 221, 246, 0.97) 42%, rgba(255, 252, 255, 0.99) 100%);
  box-shadow: 0 22px 48px rgba(88, 57, 119, 0.1);
}

.tv_account_content_banner::before,
.tv_account_resume_card_cliente::before,
.tv_account_orders_card::before,
.tv_account_direction_summary_card::before,
#tv_bloque_perfil_cliente .tv_account_resume_card::before,
#tv_bloque_direccion_cliente .tv_account_resume_card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 220'%3E%3Cg fill='none' stroke='%23563a72' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.18'%3E%3Cpath d='M276 18c-18 9-32 24-40 44 17-9 33-10 49-3-1-17-4-30-9-41Z'/%3E%3Cpath d='M250 30c-2 16 2 29 12 40 8-14 21-23 38-27-15-7-32-11-50-13Z'/%3E%3Ccircle cx='262' cy='64' r='11'/%3E%3Cpath d='M52 180c20-9 37-9 52 1-11 11-18 23-20 39-10-14-21-27-32-40Z'/%3E%3Cpath d='M88 149c2 16 10 29 24 37 6-18 16-31 31-40-18-3-36-1-55 3Z'/%3E%3Ccircle cx='95' cy='183' r='10'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -12px top -8px, left -18px bottom -10px;
  background-size: 178px auto;
}

.tv_account_content_banner::after,
.tv_account_resume_card_cliente::after,
.tv_account_orders_card::after,
.tv_account_direction_summary_card::after,
#tv_bloque_perfil_cliente .tv_account_resume_card::after,
#tv_bloque_direccion_cliente .tv_account_resume_card::after {
  content: "";
  position: absolute;
  left: -26px;
  bottom: -26px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 110, 181, 0.12) 0%, rgba(142, 110, 181, 0.03) 58%, transparent 59%);
  pointer-events: none;
}

.tv_account_content_banner > *,
.tv_account_resume_card_cliente > *,
.tv_account_orders_card > *,
.tv_account_direction_summary_card > *,
#tv_bloque_perfil_cliente .tv_account_resume_card > *,
#tv_bloque_direccion_cliente .tv_account_resume_card > * {
  position: relative;
  z-index: 1;
}

.tv_account_content_banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 24px 28px;
}

.tv_account_content_banner_copy h3,
.tv_account_section_head h3 {
  color: #4f3467;
}

.tv_account_content_banner_copy p {
  margin: 8px 0 0;
  max-width: 680px;
  color: #6c5a7d;
}

.tv_account_content_banner_stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.tv_account_content_banner_pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(125, 87, 164, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: #6d4a8f;
  font-size: .88rem;
  font-weight: 700;
}

.tv_account_resume_card_cliente {
  gap: 18px;
}

.tv_account_sidebar_summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tv_account_sidebar_summary_item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(124, 96, 156, 0.14);
}

.tv_account_sidebar_summary_item strong {
  color: #5e3c80;
  font-size: 1.4rem;
  line-height: 1;
}

.tv_account_sidebar_summary_item span {
  color: #7a6a88;
  font-size: .82rem;
}

.tv_account_orders_grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tv_account_order_item {
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 16px;
  border: 1px solid rgba(190, 168, 214, 0.34);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(101, 71, 128, 0.06);
}

.tv_account_order_head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tv_account_order_label {
  display: inline-flex;
  margin-bottom: 6px;
  color: #8e78a3;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tv_account_order_identity {
  display: grid;
  gap: 4px;
}

.tv_account_order_identity strong {
  font-size: 1.08rem;
  color: #563972;
}

.tv_account_order_identity small {
  color: #8c7b98;
}

.tv_account_order_total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 18px;
  background: rgba(241, 234, 248, 0.92);
  color: #7a46aa;
  font-size: 1.02rem;
  font-weight: 800;
  text-align: center;
}

.tv_account_order_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tv_account_order_details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tv_account_order_detail {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(246, 241, 250, 0.84);
}

.tv_account_order_detail span {
  color: #8d799e;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tv_account_order_detail strong {
  color: #5c476f;
  font-size: .92rem;
  line-height: 1.45;
}

.tv_account_order_side_actions {
  display: flex;
  justify-content: flex-end;
}

.tv_account_order_side_actions .tv_btn {
  min-width: 176px;
  justify-content: center;
}

.tv_account_resume_card_sidebar_info,
.tv_account_quick_button,
.tv_account_sidebar_ctas {
  display: none !important;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_layout {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_sidebar {
    position: static;
  }

  .tv_account_orders_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .tv_account_content_banner {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }

  .tv_account_content_banner_stats {
    justify-content: flex-start;
  }

  .tv_account_sidebar_summary,
  .tv_account_order_details {
    grid-template-columns: 1fr;
  }

  .tv_account_order_head {
    flex-direction: column;
  }

  .tv_account_order_total,
  .tv_account_order_side_actions .tv_btn {
    width: 100%;
    min-width: 0;
  }
}


/* Ajustes cuenta cliente v110 */
.tv_account_tagline {
  display: inline-block;
  margin: 6px 0 0;
  color: #7d4fb4;
  font-family: "Snell Roundhand", "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1;
}

.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_recovery_card,
.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_orders_card,
.tv_account_direction_summary_card,
#tv_bloque_perfil_cliente .tv_account_resume_card,
#tv_bloque_direccion_cliente .tv_account_resume_card {
  border-color: rgba(121, 82, 165, 0.30);
  box-shadow: 0 22px 46px rgba(92, 58, 123, 0.09);
}

.tv_account_tabs {
  padding: 8px;
  border-color: rgba(121, 82, 165, 0.18);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.tv_account_tab {
  border: 1px solid transparent;
  color: #5a4369;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tv_account_tab:hover,
.tv_account_tab:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(121, 82, 165, 0.12);
}

.tv_account_tab_activo {
  border-color: rgba(121, 82, 165, 0.28);
  background: linear-gradient(135deg, #8c63bb 0%, #c3a7df 100%);
  box-shadow: 0 12px 26px rgba(121, 82, 165, 0.20);
}

.tv_account_field label {
  color: #573f68;
}

.tv_account_field input,
.tv_account_field select,
.tv_account_form_dashboard .tv_account_field input,
.tv_account_form_dashboard .tv_account_field select {
  border-color: rgba(169, 145, 196, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(109, 83, 139, 0.04);
}

.tv_account_field input::placeholder {
  color: #a896b4;
}

.tv_account_link_accion {
  min-height: 48px;
  border: 1px solid rgba(121, 82, 165, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: #6d5580;
}

.tv_account_link_accion:hover,
.tv_account_link_accion:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(121, 82, 165, 0.28);
  text-decoration: none;
}

.tv_account_recovery_card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(106, 73, 141, 0.12) 0, rgba(106, 73, 141, 0.12) 98px, transparent 99px),
    linear-gradient(135deg, rgba(247, 241, 251, 0.99) 0%, rgba(234, 221, 246, 0.97) 42%, rgba(255, 252, 255, 0.99) 100%);
}

.tv_account_recovery_card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 220'%3E%3Cg fill='none' stroke='%23563a72' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.16'%3E%3Cpath d='M276 18c-18 9-32 24-40 44 17-9 33-10 49-3-1-17-4-30-9-41Z'/%3E%3Cpath d='M250 30c-2 16 2 29 12 40 8-14 21-23 38-27-15-7-32-11-50-13Z'/%3E%3Ccircle cx='262' cy='64' r='11'/%3E%3Cpath d='M52 180c20-9 37-9 52 1-11 11-18 23-20 39-10-14-21-27-32-40Z'/%3E%3Cpath d='M88 149c2 16 10 29 24 37 6-18 16-31 31-40-18-3-36-1-55 3Z'/%3E%3Ccircle cx='95' cy='183' r='10'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -12px top -8px;
  background-size: 166px auto;
}

.tv_account_recovery_card > * {
  position: relative;
  z-index: 1;
}

.tv_account_dashboard_layout {
  grid-template-columns: minmax(300px, 330px) minmax(0, 1fr);
  gap: 20px;
}

.tv_account_dashboard_sidebar {
  position: static;
  top: auto;
  align-self: start;
}

.tv_account_resume_title_saludo {
  margin: 10px 0 0;
  color: #4c355f;
  font-family: "Baskerville", "Palatino Linotype", Georgia, serif;
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.tv_account_name_highlight_sidebar {
  font-size: .98em;
}

.tv_account_resume_identity {
  margin: 8px 0 0;
  color: #816f8e;
  font-size: .95rem;
  line-height: 1.5;
}

.tv_account_resume_card_cliente {
  gap: 16px;
}

.tv_account_orders_grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.tv_account_orders_card .tv_account_section_head {
  margin-bottom: 22px;
}

.tv_account_content_banner {
  align-items: start;
}

.tv_account_order_item {
  gap: 16px;
  padding: 20px 22px;
}

.tv_account_order_head {
  align-items: flex-start;
}

.tv_account_order_meta {
  gap: 10px;
}

.tv_account_order_details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tv_account_order_detail {
  min-height: 78px;
  border: 1px solid rgba(190, 168, 214, 0.28);
  background: rgba(255, 255, 255, 0.78);
}

.tv_account_order_side_actions {
  justify-content: flex-start;
}

.tv_account_order_side_actions .tv_btn {
  min-width: 208px;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_layout {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .tv_account_order_details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tv_account_tagline {
    font-size: 1.1rem;
  }

  .tv_account_resume_title_saludo {
    font-size: 2.15rem;
  }

  .tv_account_resume_identity {
    font-size: .9rem;
  }

  .tv_account_order_item {
    padding: 18px 16px;
  }

  .tv_account_order_side_actions .tv_btn {
    width: 100%;
    min-width: 0;
  }
}


/* Ajustes cuenta cliente v111 */
.tv_account_intro_heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.tv_account_tagline,
.tv_account_name_highlight,
.tv_account_name_highlight_sidebar {
  font-family: "Book Antiqua", "Palatino Linotype", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

.tv_account_tagline {
  margin: 0;
  color: #7d4fb4;
  font-size: 1.14rem;
  line-height: 1;
}

.tv_account_name_highlight,
.tv_account_name_highlight_sidebar {
  color: #7d49b6;
  text-shadow: none;
}

.tv_account_intro_copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.tv_account_intro_copy h1 {
  max-width: 11ch;
  margin: 0;
}

.tv_account_intro_copy p {
  max-width: 33rem;
}

.tv_account_highlights {
  margin-top: 2px;
}

.tv_account_highlights span {
  min-height: 40px;
  padding: 0 16px;
  border-color: rgba(138, 99, 177, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: #6f4b95;
}

.tv_account_tabs {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(121, 82, 165, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tv_account_tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #5a4369;
  font-size: 0.93rem;
  font-weight: 700;
  box-shadow: none;
}

.tv_account_tab:hover,
.tv_account_tab:focus-visible {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(121, 82, 165, 0.12);
}

.tv_account_tab_activo {
  border-color: rgba(121, 82, 165, 0.24);
  background: linear-gradient(135deg, #9870c6 0%, #bda0de 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(121, 82, 165, 0.18);
}

.tv_account_dashboard_layout {
  align-items: start;
}

.tv_account_dashboard_sidebar {
  margin-top: -34px;
}

.tv_account_resume_card_cliente {
  padding: 24px 24px 20px;
  gap: 14px;
}

.tv_account_resume_head {
  align-items: flex-start;
}

.tv_account_resume_title_saludo {
  margin: 4px 0 0;
  font-size: clamp(2rem, 2.5vw, 2.65rem);
}

.tv_account_resume_text {
  font-size: 0.98rem;
  line-height: 1.65;
}

.tv_account_quick_stats {
  gap: 10px;
  margin-top: 2px;
}

.tv_account_sidebar_summary_item {
  min-height: 86px;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_sidebar {
    margin-top: 0;
  }

  .tv_account_intro_copy {
    align-content: start;
  }
}

@media (max-width: 640px) {
  .tv_account_intro_heading {
    gap: 6px;
  }

  .tv_account_tagline {
    font-size: 1rem;
  }
}

/* Ajustes cuenta cliente v112 */
.tv_account_tagline,
.tv_account_name_highlight,
.tv_account_name_highlight_sidebar {
  font-family: "Baskerville", "Book Antiqua", "Palatino Linotype", Georgia, serif !important;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tv_account_name_highlight,
.tv_account_name_highlight_sidebar {
  color: #7c4eb0;
}

.tv_account_intro_copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 36px 34px 34px;
}

.tv_account_intro_copy::before {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 180'%3E%3Cg fill='none' stroke='%23593c74' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.18'%3E%3Cpath d='M186 28c8 12 12 26 10 42-11-9-24-14-39-14 10-7 18-16 22-28 2 0 4 0 7 0Z'/%3E%3Cpath d='M182 29c-15 10-25 24-31 43 14-7 29-10 45-8-2-15-6-27-14-35Z'/%3E%3Cpath d='M210 36c-11 12-18 26-20 43 14-8 29-10 44-6-4-14-12-26-24-37Z'/%3E%3Cpath d='M174 72c7 6 11 15 12 26-8-4-16-5-25-4 7-5 11-12 13-22Z'/%3E%3Cpath d='M212 80c7 5 12 12 14 21-8-3-16-3-24-1 5-5 9-12 10-20Z'/%3E%3Cpath d='M202 55c5 10 6 21 1 33-6-8-14-13-24-17 10-2 18-8 23-16Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px top 16px;
  background-size: 128px auto;
}

.tv_account_intro_copy::after {
  left: -18px;
  bottom: -18px;
  width: 112px;
  height: 112px;
  background: radial-gradient(circle, rgba(150, 116, 191, 0.14) 0%, rgba(150, 116, 191, 0.03) 58%, transparent 59%);
}

.tv_account_intro_heading {
  gap: 10px;
}

.tv_account_tagline {
  margin: 1px 0 0;
  color: #7a4fb0;
  font-size: 1.02rem;
}

.tv_account_intro_copy h1 {
  max-width: 10ch;
  margin: 2px 0 0;
}

.tv_account_intro_copy p {
  max-width: 32rem;
  margin: 0;
}

.tv_account_highlights {
  margin-top: 6px;
}

.tv_account_highlights span {
  min-height: 38px;
  padding: 0 15px;
  border-color: rgba(138, 99, 177, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #704b97;
}

.tv_account_tabs {
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(121, 82, 165, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.60);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.tv_account_tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #5b4569;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tv_account_tab:hover,
.tv_account_tab:focus-visible {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(121, 82, 165, 0.12);
  box-shadow: none;
}

.tv_account_tab_activo {
  border-color: rgba(121, 82, 165, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #6f49a2;
  box-shadow: 0 10px 20px rgba(121, 82, 165, 0.10);
}

.tv_account_dashboard_sidebar {
  margin-top: 0 !important;
}

.tv_account_resume_card_cliente {
  position: relative;
  z-index: 2;
  margin-top: -84px;
  padding: 24px 24px 20px;
}

.tv_account_resume_head {
  gap: 12px;
}

.tv_account_resume_title_saludo {
  margin: 2px 0 0;
  color: #4d355f;
  font-size: clamp(2rem, 2.45vw, 2.55rem);
}

.tv_account_resume_identity {
  margin: 6px 0 0;
}

.tv_account_resume_text {
  margin-top: 6px;
}

@media (max-width: 1199px) {
  .tv_account_resume_card_cliente {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .tv_account_intro_copy {
    padding: 22px 18px 20px;
  }

  .tv_account_tagline {
    font-size: 0.98rem;
  }
}


/* Ajustes cuenta cliente v114 */
.tv_btn_icono_header {
  text-decoration: none;
}

.tv_account_tabs {
  gap: 10px !important;
  padding: 7px !important;
  border-color: rgba(145, 112, 181, 0.18) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(247,242,250,0.96) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.74);
}

.tv_account_tab {
  min-height: 48px !important;
  color: #6b5976 !important;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.tv_account_tab:hover,
.tv_account_tab:focus-visible {
  background: rgba(191, 175, 208, 0.20);
  color: #5c4569;
}

.tv_account_tab_activo {
  background: linear-gradient(135deg, #a785cf 0%, #c3afd9 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(155, 126, 189, 0.16) !important;
}

.tv_account_intro_copy,
.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_orders_card {
  position: relative;
  overflow: hidden;
}

.tv_account_intro_copy {
  border-color: rgba(145, 112, 181, 0.16) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248,242,252,0.99) 100%) !important;
}

.tv_account_intro_copy::before,
.tv_account_dashboard_header::before,
.tv_account_resume_card_cliente::before,
.tv_account_orders_card::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -24px;
  width: 170px;
  height: 132px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20280%20200%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%236f4b8f%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20opacity%3D%27.22%27%3E%3Cpath%20d%3D%27M170%20182c2-43%2019-81%2052-116%27/%3E%3Cpath%20d%3D%27M189%20146c20%200%2037%209%2052%2026-19%201-37-8-52-26Z%27/%3E%3Cpath%20d%3D%27M205%20116c22-2%2041%205%2057%2022-21%203-40-4-57-22Z%27/%3E%3Cpath%20d%3D%27M226%2087c18-1%2033%205%2045%2018-17%203-32-3-45-18Z%27/%3E%3Cpath%20d%3D%27M170%20148c-16-8-31-9-47-4%209%2013%2022%2022%2039%2028%27/%3E%3Cpath%20d%3D%27M179%20119c-18-10-35-13-53-8%2012%2015%2027%2026%2047%2033%27/%3E%3Cpath%20d%3D%27M193%2093c-14-11-29-16-46-15%2010%2016%2024%2028%2042%2036%27/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right top;
  opacity: .95;
  pointer-events: none;
}

.tv_account_intro_copy::after,
.tv_account_dashboard_header::after,
.tv_account_resume_card_cliente::after,
.tv_account_orders_card::after {
  content: "";
  position: absolute;
  left: -26px;
  bottom: -30px;
  width: 150px;
  height: 146px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20260%20220%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%237d57a4%27%20stroke-width%3D%272.1%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20opacity%3D%27.18%27%3E%3Cpath%20d%3D%27M64%20210c28-27%2048-61%2060-103%27/%3E%3Cpath%20d%3D%27M103%20160c-20-2-37%204-52%2019%2019%204%2037-1%2052-19Z%27/%3E%3Cpath%20d%3D%27M121%20129c-22-4-41%201-58%2015%2021%206%2040%201%2058-15Z%27/%3E%3Cpath%20d%3D%27M135%2097c-19-7-37-5-54%205%2018%209%2036%207%2054-5Z%27/%3E%3Cpath%20d%3D%27M119%20172c14%209%2030%2012%2047%208-8-14-21-24-38-31%27/%3E%3Cpath%20d%3D%27M138%20141c16%2011%2034%2015%2053%2012-10-17-25-29-44-37%27/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  opacity: .92;
  pointer-events: none;
}

.tv_account_dashboard_header::before {
  width: 200px;
  height: 150px;
  top: -8px;
  right: -10px;
}

.tv_account_dashboard_header::after {
  width: 180px;
  height: 170px;
  left: -18px;
  bottom: -44px;
}

.tv_account_resume_card_cliente::before {
  width: 156px;
  height: 126px;
  top: -14px;
  right: -18px;
}

.tv_account_orders_card::before {
  width: 166px;
  height: 128px;
  top: -14px;
  right: -18px;
}

.tv_account_intro_copy > *,
.tv_account_dashboard_header > *,
.tv_account_resume_card_cliente > *,
.tv_account_orders_card > * {
  position: relative;
  z-index: 1;
}

.tv_account_intro_heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.tv_account_tagline {
  color: #7f58ae !important;
}

.tv_account_highlights span,
.tv_account_header_pills span,
.tv_account_quick_stats span,
.tv_account_resume_badge,
.tv_account_section_meta,
.tv_account_order_badge {
  border-color: rgba(167, 133, 207, 0.18) !important;
  background: rgba(255,255,255,0.92) !important;
}

.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_orders_card {
  border-color: rgba(145, 112, 181, 0.18) !important;
}

.tv_account_metrics_header {
  align-items: stretch;
}

@media (max-width: 767px) {
  .tv_account_intro_copy::before,
  .tv_account_dashboard_header::before,
  .tv_account_resume_card_cliente::before,
  .tv_account_orders_card::before {
    width: 130px;
    height: 106px;
    top: -14px;
    right: -22px;
  }

  .tv_account_intro_copy::after,
  .tv_account_dashboard_header::after,
  .tv_account_resume_card_cliente::after,
  .tv_account_orders_card::after {
    width: 118px;
    height: 114px;
    left: -22px;
    bottom: -28px;
  }

  .tv_account_tabs {
    gap: 6px !important;
  }
}

/* Ajustes cuenta cliente v115 - decoracion floral organica */
.tv_account_intro_copy,
.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_orders_card,
.tv_account_content_banner {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.48) 0, rgba(255,255,255,0.18) 12%, transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(191,175,208,0.22) 0, rgba(191,175,208,0.12) 15%, transparent 34%),
    radial-gradient(circle at 82% 86%, rgba(212,182,202,0.16) 0, rgba(212,182,202,0.08) 14%, transparent 30%),
    linear-gradient(145deg, rgba(229,218,240,0.92) 0%, rgba(242,234,247,0.96) 52%, rgba(252,249,253,0.98) 100%) !important;
  box-shadow: 0 24px 52px rgba(104, 86, 102, 0.08), inset 0 1px 0 rgba(255,255,255,0.74);
}

.tv_account_intro_copy::before,
.tv_account_dashboard_header::before,
.tv_account_resume_card_cliente::before,
.tv_account_orders_card::before,
.tv_account_content_banner::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -18px;
  width: 238px;
  height: 196px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 280'%3E%3Cg fill='none' stroke='%238565ad' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' opacity='.34'%3E%3Cpath d='M112 270c22-34 38-72 46-114 8-38 10-77 8-118'/%3E%3Cpath d='M164 54c18-3 34 1 46 12-15 8-31 10-49 5'/%3E%3Cpath d='M160 91c22-4 41 1 56 15-19 10-39 12-60 6'/%3E%3Cpath d='M152 134c23-6 45-2 63 14-21 12-43 15-66 8'/%3E%3Cpath d='M140 183c22-7 43-4 60 10-20 12-40 15-61 10'/%3E%3Cpath d='M173 69c10-20 26-35 48-43-1 20-12 38-31 50'/%3E%3Cpath d='M171 105c13-23 33-40 58-50-1 24-15 45-39 59'/%3E%3Cpath d='M164 145c16-23 39-41 66-50-3 25-19 48-45 63'/%3E%3Cpath d='M151 188c16-19 39-33 64-38-6 23-22 42-46 55'/%3E%3Cpath d='M157 83c-15-14-34-23-56-25 8 19 25 33 46 40'/%3E%3Cpath d='M151 122c-19-16-43-25-67-25 11 22 32 38 58 46'/%3E%3Cpath d='M143 167c-19-14-42-21-64-20 11 21 31 37 55 44'/%3E%3Cpath d='M133 212c-17-11-36-15-55-12 10 18 27 31 47 37'/%3E%3C/g%3E%3Cg fill='%23d8c1e8' opacity='.22'%3E%3Cellipse cx='219' cy='53' rx='26' ry='11' transform='rotate(-28 219 53)'/%3E%3Cellipse cx='248' cy='102' rx='28' ry='12' transform='rotate(-31 248 102)'/%3E%3Cellipse cx='266' cy='156' rx='28' ry='12' transform='rotate(-32 266 156)'/%3E%3Cellipse cx='246' cy='208' rx='24' ry='10' transform='rotate(-36 246 208)'/%3E%3Cellipse cx='104' cy='88' rx='24' ry='10' transform='rotate(31 104 88)'/%3E%3Cellipse cx='84' cy='140' rx='28' ry='12' transform='rotate(28 84 140)'/%3E%3Cellipse cx='86' cy='194' rx='28' ry='12' transform='rotate(26 86 194)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right top;
  opacity: 1;
  pointer-events: none;
}

.tv_account_intro_copy::after,
.tv_account_dashboard_header::after,
.tv_account_resume_card_cliente::after,
.tv_account_orders_card::after,
.tv_account_content_banner::after {
  content: "";
  position: absolute;
  left: -34px;
  bottom: -42px;
  width: 228px;
  height: 206px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 300'%3E%3Cg fill='none' stroke='%237c5aa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.28'%3E%3Cpath d='M246 286c-20-30-33-64-37-101-4-35 1-70 15-103'/%3E%3Cpath d='M217 107c-18-3-36 2-50 15 16 8 33 9 51 3'/%3E%3Cpath d='M211 142c-23-4-44 2-60 18 21 10 42 12 63 5'/%3E%3Cpath d='M205 182c-22-3-43 2-59 14 19 11 39 13 60 7'/%3E%3Cpath d='M201 219c-19 0-36 6-49 18 17 8 34 9 50 2'/%3E%3Cpath d='M226 129c12-22 31-39 55-49 0 22-12 42-33 56'/%3E%3Cpath d='M219 167c13-19 31-33 53-39-1 20-13 38-33 51'/%3E%3Cpath d='M211 207c12-15 29-25 49-28-2 18-13 34-31 45'/%3E%3Cpath d='M228 96c-13-18-31-32-52-40 1 20 12 38 31 50'/%3E%3Cpath d='M220 136c-16-19-37-33-61-41 2 22 16 42 38 57'/%3E%3Cpath d='M212 177c-16-16-36-27-58-31 4 20 18 37 39 49'/%3E%3C/g%3E%3Cg fill='%23e7d8f2' opacity='.22'%3E%3Cellipse cx='271' cy='97' rx='27' ry='11' transform='rotate(-32 271 97)'/%3E%3Cellipse cx='251' cy='160' rx='26' ry='11' transform='rotate(-36 251 160)'/%3E%3Cellipse cx='232' cy='219' rx='23' ry='10' transform='rotate(-34 232 219)'/%3E%3Cellipse cx='173' cy='73' rx='24' ry='10' transform='rotate(31 173 73)'/%3E%3Cellipse cx='146' cy='120' rx='28' ry='12' transform='rotate(26 146 120)'/%3E%3Cellipse cx='137' cy='178' rx='27' ry='11' transform='rotate(23 137 178)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  opacity: 1;
  pointer-events: none;
}

.tv_account_dashboard_header {
  min-height: 340px;
}

.tv_account_dashboard_header .tv_account_heading {
  max-width: 740px;
}

.tv_account_resume_card_cliente {
  background-image:
    radial-gradient(circle at 16% 16%, rgba(255,255,255,0.44) 0, rgba(255,255,255,0.16) 12%, transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(191,175,208,0.20) 0, rgba(191,175,208,0.08) 14%, transparent 34%),
    linear-gradient(155deg, rgba(233,223,243,0.96) 0%, rgba(245,239,249,0.98) 100%) !important;
}

.tv_account_content_banner {
  min-height: 204px;
}

.tv_account_intro_copy .tv_home_kicker,
.tv_account_dashboard_header .tv_home_kicker,
.tv_account_resume_card_cliente .tv_home_kicker {
  letter-spacing: .32em;
}

.tv_account_intro_copy .tv_account_highlights,
.tv_account_dashboard_header .tv_account_header_pills {
  margin-top: 24px;
}

.tv_account_highlights span,
.tv_account_header_pills span,
.tv_account_quick_stats span,
.tv_account_resume_badge,
.tv_account_section_meta,
.tv_account_order_badge {
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(104, 86, 102, 0.08);
}

.tv_account_dashboard_header .tv_account_metrics_header > div {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,245,252,0.94) 100%) !important;
  box-shadow: 0 16px 26px rgba(104, 86, 102, 0.07);
}

.tv_account_resume_card_cliente .tv_account_resume_title_saludo,
.tv_account_dashboard_header .tv_account_title_saludo {
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}

.tv_account_orders_card,
.tv_account_content_banner {
  border-color: rgba(145, 112, 181, 0.16) !important;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_header {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .tv_account_intro_copy::before,
  .tv_account_dashboard_header::before,
  .tv_account_resume_card_cliente::before,
  .tv_account_orders_card::before,
  .tv_account_content_banner::before {
    width: 170px;
    height: 142px;
    top: -26px;
    right: -24px;
    opacity: .92;
  }

  .tv_account_intro_copy::after,
  .tv_account_dashboard_header::after,
  .tv_account_resume_card_cliente::after,
  .tv_account_orders_card::after,
  .tv_account_content_banner::after {
    width: 156px;
    height: 142px;
    left: -26px;
    bottom: -34px;
    opacity: .9;
  }
}

/* Ajuste v116: sombras florales en bordes */
.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_dashboard_header,
.tv_account_resume_card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_dashboard_header,
.tv_account_resume_card,
.tv_account_order_item {
  box-shadow:
    0 18px 42px rgba(120, 93, 145, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 18px 0 32px -28px rgba(160, 124, 188, 0.22),
    inset -18px 0 32px -28px rgba(160, 124, 188, 0.20),
    inset 0 16px 28px -24px rgba(196, 170, 219, 0.26),
    inset 0 -16px 28px -24px rgba(196, 170, 219, 0.22);
}

.tv_account_intro_copy::before,
.tv_account_panel_main::before,
.tv_account_dashboard_header::before,
.tv_account_resume_card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  z-index: 0;
}

.tv_account_intro_copy::before,
.tv_account_dashboard_header::before {
  background:
    radial-gradient(ellipse 22px 56px at 6% 28%, rgba(170, 134, 199, 0.18) 0 42%, transparent 45%),
    radial-gradient(ellipse 18px 46px at 10% 22%, rgba(196, 169, 220, 0.18) 0 40%, transparent 43%),
    radial-gradient(ellipse 18px 46px at 12% 35%, rgba(196, 169, 220, 0.16) 0 40%, transparent 43%),
    radial-gradient(ellipse 20px 52px at 94% 74%, rgba(170, 134, 199, 0.14) 0 40%, transparent 43%),
    radial-gradient(ellipse 16px 42px at 90% 70%, rgba(196, 169, 220, 0.14) 0 40%, transparent 43%),
    radial-gradient(ellipse 16px 42px at 88% 82%, rgba(196, 169, 220, 0.12) 0 40%, transparent 43%);
  filter: blur(0.2px) drop-shadow(0 8px 14px rgba(157, 124, 186, 0.14));
}

.tv_account_panel_main::before,
.tv_account_resume_card::after {
  background:
    radial-gradient(ellipse 18px 46px at 7% 18%, rgba(170, 134, 199, 0.16) 0 42%, transparent 45%),
    radial-gradient(ellipse 14px 38px at 11% 12%, rgba(196, 169, 220, 0.15) 0 40%, transparent 43%),
    radial-gradient(ellipse 14px 38px at 14% 23%, rgba(196, 169, 220, 0.13) 0 40%, transparent 43%),
    radial-gradient(ellipse 18px 46px at 94% 86%, rgba(170, 134, 199, 0.12) 0 42%, transparent 45%),
    radial-gradient(ellipse 14px 38px at 90% 80%, rgba(196, 169, 220, 0.12) 0 40%, transparent 43%),
    radial-gradient(ellipse 14px 38px at 87% 91%, rgba(196, 169, 220, 0.10) 0 40%, transparent 43%);
  filter: blur(0.3px) drop-shadow(0 8px 14px rgba(157, 124, 186, 0.10));
}

.tv_account_intro_copy > *,
.tv_account_panel_main > *,
.tv_account_dashboard_header > *,
.tv_account_resume_card > * {
  position: relative;
  z-index: 1;
}

.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_intro_copy {
  border-color: rgba(173, 140, 201, 0.30);
}

.tv_account_dashboard_header {
  background:
    radial-gradient(circle at right top, rgba(214, 188, 236, 0.30) 0, rgba(214, 188, 236, 0.30) 132px, transparent 133px),
    linear-gradient(135deg, rgba(221, 204, 241, 0.96) 0%, rgba(239, 228, 248, 0.96) 52%, rgba(222, 202, 241, 0.94) 100%);
}

.tv_account_resume_card_cliente {
  background:
    radial-gradient(circle at right top, rgba(214, 188, 236, 0.26) 0, rgba(214, 188, 236, 0.26) 110px, transparent 111px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 245, 252, 0.98) 100%);
}

.tv_account_intro_copy {
  background:
    radial-gradient(circle at left bottom, rgba(214, 188, 236, 0.18) 0, rgba(214, 188, 236, 0.18) 74px, transparent 75px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 246, 252, 0.98) 100%);
}

/* Ajuste v117: refinamiento visual elegante cuenta y acceso */
.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_dashboard_header,
.tv_account_resume_card,
.tv_account_orders_card,
.tv_account_direction_summary_card,
.tv_account_recovery_card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(166, 133, 196, 0.26);
  box-shadow:
    0 18px 42px rgba(102, 77, 126, 0.08),
    0 4px 10px rgba(102, 77, 126, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_recovery_card {
  background:
    linear-gradient(145deg, rgba(255, 252, 255, 0.97) 0%, rgba(248, 241, 252, 0.98) 48%, rgba(242, 231, 249, 0.96) 100%);
}

.tv_account_dashboard_header {
  background:
    radial-gradient(circle at 88% 18%, rgba(208, 184, 231, 0.24) 0, rgba(208, 184, 231, 0.24) 108px, transparent 109px),
    linear-gradient(135deg, rgba(235, 220, 247, 0.98) 0%, rgba(224, 203, 241, 0.97) 45%, rgba(243, 234, 249, 0.98) 100%);
}

.tv_account_resume_card,
.tv_account_orders_card,
.tv_account_direction_summary_card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 244, 252, 0.98) 100%);
}

.tv_account_intro_copy::before,
.tv_account_panel_main::before,
.tv_account_dashboard_header::before,
.tv_account_resume_card::before,
.tv_account_orders_card::before,
.tv_account_direction_summary_card::before,
.tv_account_recovery_card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -6px;
  width: 210px;
  height: 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 150'%3E%3Cg fill='none' stroke='%23855fb0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' opacity='.16'%3E%3Cpath d='M28 114c20-24 42-40 70-52'/%3E%3Cpath d='M52 93c-18-3-33 1-46 13 17 3 31 0 42-10'/%3E%3Cpath d='M71 80c-17-8-34-8-51 1 14 10 30 11 47 4'/%3E%3Cpath d='M88 69c-14-13-30-19-49-17 9 17 22 27 40 31'/%3E%3Cpath d='M110 57c-7-17-19-31-37-41 0 20 7 35 22 48'/%3E%3Cpath d='M131 49c2-19-2-35-14-49-8 17-9 34-2 50'/%3E%3Cpath d='M152 45c10-16 15-32 13-50-16 12-25 27-27 46'/%3E%3Ccircle cx='126' cy='58' r='6.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .95;
  pointer-events: none;
  z-index: 0;
}

.tv_account_intro_copy::after,
.tv_account_panel_main::after,
.tv_account_dashboard_header::after,
.tv_account_resume_card::after,
.tv_account_orders_card::after,
.tv_account_direction_summary_card::after,
.tv_account_recovery_card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 208px;
  height: 156px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 160'%3E%3Cg fill='none' stroke='%23926bbd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' opacity='.14'%3E%3Cpath d='M54 132c34-28 66-46 109-58'/%3E%3Cpath d='M90 112c-5-19-16-33-34-43-3 20 3 37 18 50'/%3E%3Cpath d='M116 100c5-19 2-37-9-54-11 16-15 34-11 54'/%3E%3Cpath d='M142 90c15-13 24-29 28-49-18 8-31 21-39 39'/%3E%3Cpath d='M164 117c17-1 31-8 42-21-16-6-31-5-44 4'/%3E%3Cpath d='M190 132c14 8 23 19 28 35-16-1-28-8-37-20'/%3E%3Ccircle cx='150' cy='100' r='5.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}

.tv_account_intro_copy > *,
.tv_account_panel_main > *,
.tv_account_dashboard_header > *,
.tv_account_resume_card > *,
.tv_account_orders_card > *,
.tv_account_direction_summary_card > *,
.tv_account_recovery_card > * {
  position: relative;
  z-index: 1;
}

.tv_account_dashboard_header h1,
.tv_account_intro_copy h1 {
  color: #4f395f;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.tv_account_name_highlight,
.tv_account_name_highlight_sidebar {
  color: #8755bf;
  font-family: "Allura", "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive;
  font-weight: 600;
  text-shadow: 0 8px 18px rgba(135, 85, 191, 0.10);
}

.tv_account_name_highlight::after {
  background: linear-gradient(90deg, rgba(135, 85, 191, 0.12) 0%, rgba(207, 180, 232, 0.34) 100%);
}

.tv_account_tagline,
.tv_account_section_label,
.tv_account_order_label {
  letter-spacing: .22em;
  color: #8a748f;
}

.tv_account_header_pills span,
.tv_account_resume_badge,
.tv_account_section_meta,
.tv_account_order_badge,
.tv_account_quick_stats span,
.tv_account_content_banner_pill {
  border: 1px solid rgba(181, 153, 207, 0.34);
  background: rgba(255, 255, 255, 0.82);
  color: #7a4da7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.tv_account_metric_card,
.tv_account_metrics div,
.tv_account_sidebar_summary_item,
.tv_account_order_item {
  border: 1px solid rgba(181, 153, 207, 0.24);
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250,245,252,0.98) 100%);
  box-shadow: 0 10px 24px rgba(102, 77, 126, 0.06);
}

.tv_account_order_item {
  border-radius: 22px;
}

.tv_account_tabs {
  padding: 6px;
  border: 1px solid rgba(181, 153, 207, 0.32);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(245,238,249,0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.tv_account_tab {
  min-height: 44px;
  border-radius: 999px;
  color: #6d5a78;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tv_account_tab:hover {
  color: #7a4da7;
}

.tv_account_tab_activo {
  background: linear-gradient(135deg, #b48cd8 0%, #9d73cd 100%);
  color: #fff;
  box-shadow: 0 10px 18px rgba(157, 115, 205, 0.22);
}

.tv_account_field input,
.tv_account_field select,
.tv_account_code_input {
  border: 1px solid rgba(181, 153, 207, 0.32);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.tv_account_field input:focus,
.tv_account_field select:focus,
.tv_account_code_input:focus {
  border-color: rgba(140, 92, 194, 0.58);
  box-shadow: 0 0 0 4px rgba(180, 140, 216, 0.14);
}

.tv_account_recordar_label {
  border: 1px solid rgba(181, 153, 207, 0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,242,251,0.96) 100%);
}

.tv_account_submit,
.tv_account_dashboard_header_actions .tv_btn,
.tv_account_sidebar_ctas .tv_btn,
.tv_account_order_actions .tv_btn {
  box-shadow: 0 12px 24px rgba(134, 97, 173, 0.12);
}

.tv_account_submit:hover,
.tv_account_dashboard_header_actions .tv_btn:hover,
.tv_account_sidebar_ctas .tv_btn:hover,
.tv_account_order_actions .tv_btn:hover {
  transform: translateY(-1px);
}

.tv_account_content_banner,
.tv_account_orders_card,
.tv_account_direction_summary_card,
#tv_bloque_perfil_cliente .tv_account_resume_card,
#tv_bloque_direccion_cliente .tv_account_resume_card {
  border-color: rgba(166, 133, 196, 0.24);
}

.tv_account_content_banner {
  background:
    radial-gradient(circle at 90% 20%, rgba(214, 188, 236, 0.22) 0, rgba(214, 188, 236, 0.22) 90px, transparent 91px),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,243,251,0.98) 100%);
}

@media (max-width: 860px) {
  .tv_account_intro_copy::before,
  .tv_account_panel_main::before,
  .tv_account_dashboard_header::before,
  .tv_account_resume_card::before,
  .tv_account_orders_card::before,
  .tv_account_direction_summary_card::before,
  .tv_account_recovery_card::before {
    width: 148px;
    height: 108px;
    top: -6px;
    left: -10px;
    opacity: .84;
  }

  .tv_account_intro_copy::after,
  .tv_account_panel_main::after,
  .tv_account_dashboard_header::after,
  .tv_account_resume_card::after,
  .tv_account_orders_card::after,
  .tv_account_direction_summary_card::after,
  .tv_account_recovery_card::after {
    width: 146px;
    height: 108px;
    right: -14px;
    bottom: -14px;
    opacity: .82;
  }

  .tv_account_dashboard_header,
  .tv_account_resume_card,
  .tv_account_intro_copy,
  .tv_account_panel_main,
  .tv_account_recovery_card {
    box-shadow:
      0 14px 28px rgba(102, 77, 126, 0.08),
      0 4px 10px rgba(102, 77, 126, 0.04),
      inset 0 1px 0 rgba(255,255,255,0.68);
  }
}

/* Ajuste v118: cards premium organicas con Tailwind en cuenta */
.tv_account_intro_copy::before,
.tv_account_intro_copy::after,
.tv_account_panel_main::before,
.tv_account_panel_main::after,
.tv_account_dashboard_header::before,
.tv_account_dashboard_header::after,
.tv_account_resume_card_cliente::before,
.tv_account_resume_card_cliente::after,
.tv_account_content_banner::before,
.tv_account_content_banner::after,
.tv_account_orders_card::before,
.tv_account_orders_card::after {
  content: none !important;
  display: none !important;
}

.tv_account_intro_copy,
.tv_account_panel_main,
.tv_account_dashboard_header,
.tv_account_resume_card_cliente,
.tv_account_content_banner,
.tv_account_orders_card {
  color: #312543 !important;
}

.tv_account_intro_copy h1,
.tv_account_dashboard_header h1,
.tv_account_resume_title_saludo {
  font-family: 'Cormorant Garamond', serif !important;
}

.tv_account_panel_main .tv_account_forms,
.tv_account_panel_main .tv_account_form_wrap,
.tv_account_panel_main .tv_account_form,
.tv_account_orders_card .tv_account_section_head,
.tv_account_orders_card .tv_account_orders,
.tv_account_resume_card_cliente .tv_account_resume_list,
.tv_account_resume_card_cliente .tv_account_quick_stats,
.tv_account_resume_card_cliente .tv_account_sidebar_summary {
  position: relative;
  z-index: 1;
}

.tv_account_panel_main .tv_account_field label,
.tv_account_panel_main .tv_account_field_hint,
.tv_account_panel_main .tv_account_recordar_label,
.tv_account_resume_identity,
.tv_account_section_description,
.tv_account_content_banner_copy p,
.tv_account_resume_text {
  font-family: 'Inter', sans-serif !important;
  color: rgba(49, 37, 67, 0.78) !important;
}

.tv_account_panel_main .tv_account_field label {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.5rem !important;
}

.tv_account_panel_main .tv_account_field input,
.tv_account_panel_main .tv_account_field select,
.tv_account_panel_main .tv_account_field textarea,
.tv_account_form_dashboard .tv_account_field input,
.tv_account_form_dashboard .tv_account_field select,
.tv_account_form_dashboard .tv_account_field textarea {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(49, 37, 67, 0.12) !important;
  border-radius: 1.25rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  color: #312543 !important;
  font-family: 'Inter', sans-serif !important;
}

.tv_account_panel_main .tv_account_field input::placeholder,
.tv_account_panel_main .tv_account_field textarea::placeholder,
.tv_account_form_dashboard .tv_account_field input::placeholder,
.tv_account_form_dashboard .tv_account_field textarea::placeholder {
  color: rgba(49, 37, 67, 0.42) !important;
}

.tv_account_panel_main .tv_account_recordar_label {
  background: rgba(255, 255, 255, 0.58) !important;
  border: 1px solid rgba(49, 37, 67, 0.10) !important;
  border-radius: 999px !important;
  padding: 0.9rem 1rem !important;
}

.tv_account_resume_card_cliente .tv_account_resume_badge,
.tv_account_content_banner_pill,
.tv_account_quick_stats span,
.tv_account_header_pills span {
  border-color: rgba(49, 37, 67, 0.10) !important;
  background: rgba(255, 255, 255, 0.66) !important;
  color: #312543 !important;
}

.tv_account_metric_card,
.tv_account_sidebar_summary_item,
.tv_account_order_item {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(49, 37, 67, 0.10) !important;
  box-shadow: 0 10px 25px rgba(49, 37, 67, 0.04) !important;
}

/* Ajuste v119: redistribucion visual para aprovechar espacios en cuenta */
.tv_account_dashboard_header {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr) !important;
  gap: 2rem !important;
  align-items: start !important;
  padding: 2.5rem 2.75rem !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.62) 0, rgba(255, 255, 255, 0.36) 16%, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 82% 24%, rgba(212, 193, 235, 0.42) 0, rgba(212, 193, 235, 0.2) 18%, rgba(212,193,235,0) 38%),
    linear-gradient(135deg, rgba(229, 223, 240, 0.98) 0%, rgba(237, 231, 245, 0.98) 52%, rgba(229, 223, 240, 0.96) 100%) !important;
}

.tv_account_dashboard_header > div:first-child {
  max-width: 56rem !important;
}

.tv_account_dashboard_header h1 {
  max-width: 12ch !important;
  margin-bottom: 0 !important;
}

.tv_account_dashboard_header p {
  max-width: 40rem !important;
}

.tv_account_header_pills {
  max-width: 42rem !important;
}

.tv_account_dashboard_header_actions {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 1.15rem !important;
  width: 100% !important;
  max-width: 26rem !important;
  margin-left: auto !important;
  padding: 1.2rem !important;
  border-radius: 1.9rem !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.34) 100%) !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 14px 34px rgba(49, 37, 67, 0.05) !important;
}

.tv_account_metrics_header {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.95rem !important;
  width: 100% !important;
}

.tv_account_metric_card {
  min-height: 7.5rem !important;
  padding: 1.35rem 1.2rem !important;
  border-radius: 1.45rem !important;
}

.tv_account_metric_card_contacto {
  grid-column: 1 / -1 !important;
}

.tv_account_metric_card strong {
  display: block !important;
  font-size: 1.05rem !important;
  line-height: 1.2 !important;
  word-break: break-word;
}

.tv_account_metric_card span {
  display: block !important;
  margin-top: 0.35rem !important;
}

.tv_account_dashboard_header_actions .tv_account_inline_form,
.tv_account_dashboard_header_actions > .tv_btn {
  width: 100% !important;
}

.tv_account_dashboard_header_actions .tv_btn,
.tv_account_dashboard_header_actions button {
  width: 100% !important;
  justify-content: center !important;
}

.tv_account_dashboard_layout {
  display: grid !important;
  grid-template-columns: 21.5rem minmax(0, 1fr) !important;
  gap: 1.5rem !important;
  align-items: start !important;
}

.tv_account_dashboard_sidebar,
.tv_account_dashboard_content {
  min-width: 0 !important;
}

.tv_account_resume_card_cliente {
  padding: 2rem !important;
}

.tv_account_content_banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 1.25rem !important;
  align-items: start !important;
}

.tv_account_content_banner_copy h3,
.tv_account_orders_card h3 {
  max-width: 28rem !important;
}

.tv_account_content_banner_stats {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 0.8rem !important;
}

.tv_account_orders_grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)) !important;
  gap: 1rem !important;
}

.tv_account_order_item {
  height: 100% !important;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_header {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_account_dashboard_header_actions {
    max-width: 100% !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 991px) {
  .tv_account_dashboard_layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_account_content_banner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_account_content_banner_stats {
    justify-content: flex-start !important;
  }
}

@media (max-width: 640px) {
  .tv_account_dashboard_header {
    padding: 1.8rem 1.3rem !important;
  }

  .tv_account_dashboard_header_actions {
    padding: 1rem !important;
    border-radius: 1.4rem !important;
  }

  .tv_account_metrics_header {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_account_metric_card_contacto {
    grid-column: auto !important;
  }
}

/* Ajuste v120 cuenta y acceso */
.tv_account_intro_copy,
.tv_account_panel,
.tv_account_dashboard_header,
.tv_account_resume_card,
.tv_account_content_banner,
.tv_account_orders_card {
  backdrop-filter: blur(14px);
}

.tv_account_intro_feature_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.tv_account_intro_feature_card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px 16px;
  border: 1px solid rgba(104, 86, 102, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(104, 86, 102, 0.05);
}

.tv_account_intro_feature_card strong {
  color: #5b4668;
  font-size: 0.96rem;
  line-height: 1.35;
}

.tv_account_intro_feature_card span {
  color: #7b6a87;
  font-size: 0.84rem;
  line-height: 1.6;
}

.tv_account_panel_note {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(155, 126, 189, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.76) 0%, rgba(244,236,249,0.82) 100%);
}

.tv_account_panel_note strong {
  color: #5b4668;
  font-size: 0.98rem;
  line-height: 1.3;
}

.tv_account_panel_note span {
  color: #7b6a87;
  font-size: 0.88rem;
  line-height: 1.55;
}

.tv_account_dashboard_header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 26px;
  align-items: stretch;
}

.tv_account_dashboard_header p {
  max-width: none;
}

.tv_account_header_summary_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.tv_account_header_summary_card {
  display: grid;
  gap: 7px;
  min-height: 110px;
  padding: 18px 18px;
  border: 1px solid rgba(155, 126, 189, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(120, 93, 145, 0.05);
}

.tv_account_header_summary_card span {
  color: #7d6b89;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv_account_header_summary_card strong {
  color: #5b4668;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.tv_account_dashboard_header_actions {
  display: flex;
  justify-content: stretch;
}

.tv_account_dashboard_header_panel {
  display: grid;
  gap: 16px;
  width: 100%;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.58) 0%, rgba(248,243,250,0.76) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.46);
}

.tv_account_metrics_header {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv_account_dashboard_header_support {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(155, 126, 189, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
}

.tv_account_dashboard_header_support .tv_home_kicker {
  color: #7b4daa;
}

.tv_account_dashboard_header_support p {
  margin: 0;
  color: #6f5f7c;
  font-size: 0.92rem;
  line-height: 1.7;
}

.tv_account_dashboard_header_panel .tv_account_inline_form,
.tv_account_dashboard_header_panel > .tv_btn {
  width: 100%;
}

.tv_account_dashboard_header_panel .tv_btn {
  justify-content: center;
}

@media (max-width: 1199px) {
  .tv_account_dashboard_header {
    grid-template-columns: 1fr;
  }

  .tv_account_intro_feature_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tv_account_intro_feature_grid,
  .tv_account_header_summary_grid {
    grid-template-columns: 1fr;
  }

  .tv_account_dashboard_header_panel {
    padding: 16px;
    border-radius: 24px;
  }

  .tv_account_intro_feature_card,
  .tv_account_header_summary_card,
  .tv_account_dashboard_header_support {
    min-height: 0;
  }
}

/* Ajuste v121: correccion mobile tabs y decoracion cuenta */
.tv_account_tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 767px) {
  .tv_account_panel_main {
    padding: 1.25rem !important;
    border-radius: 1.75rem !important;
  }

  .tv_account_tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    padding: 0.5rem !important;
    margin-bottom: 1.1rem !important;
    border-radius: 1.85rem !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,236,249,0.96) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78) !important;
  }

  .tv_account_tab {
    min-height: 3.1rem !important;
    padding: 0 0.7rem !important;
    border-radius: 1.35rem !important;
    font-size: 0.86rem !important;
    line-height: 1.2 !important;
    color: #5f4a73 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tv_account_tab_activo {
    background: linear-gradient(135deg, #a885cf 0%, #9471be 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(148, 113, 190, 0.18) !important;
  }

  .tv_account_dashboard_header::before,
  .tv_account_dashboard_header::after,
  .tv_account_resume_card_cliente::before,
  .tv_account_resume_card_cliente::after,
  .tv_account_content_banner::before,
  .tv_account_content_banner::after,
  .tv_account_orders_card::before,
  .tv_account_orders_card::after {
    content: none !important;
    display: none !important;
  }

  .tv_account_dashboard_header,
  .tv_account_resume_card_cliente,
  .tv_account_content_banner,
  .tv_account_orders_card,
  #tv_bloque_perfil_cliente .tv_account_resume_card,
  #tv_bloque_direccion_cliente .tv_account_resume_card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,240,250,0.98) 100%) !important;
  }

  .tv_account_dashboard_header {
    gap: 1rem !important;
    padding: 1.35rem 1.2rem !important;
  }

  .tv_account_dashboard_header h1,
  .tv_account_resume_title_saludo {
    font-size: 3rem !important;
    line-height: 0.95 !important;
  }

  .tv_account_dashboard_header p,
  .tv_account_resume_text,
  .tv_account_content_banner_copy p {
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
  }

  .tv_account_content_banner {
    padding: 1.35rem 1.2rem 1.45rem !important;
    gap: 1rem !important;
  }

  .tv_account_content_banner_copy h3 {
    margin: 0.15rem 0 0.55rem !important;
    font-size: 1.75rem !important;
    line-height: 1.08 !important;
    max-width: none !important;
  }

  .tv_account_content_banner_stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    justify-content: stretch !important;
  }

  .tv_account_content_banner_pill {
    width: fit-content;
    max-width: 100%;
  }
}


/* Ajuste controlado v124 sobre base v120 */
@media (max-width: 640px) {
  .tv_account_tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
  }

  .tv_account_tab {
    min-height: 42px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
  }

  .tv_account_tab_activo {
    background: linear-gradient(135deg, #a987d4 0%, #c7b0e5 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(123, 89, 181, 0.18);
  }

  .tv_account_dashboard_sidebar {
    display: none;
  }

  .tv_account_content_banner svg {
    display: none;
  }

  .tv_account_content_banner {
    padding-top: 22px;
  }

  .tv_account_content_banner_copy h3 {
    max-width: none;
  }
}

/* Ajuste puntual v125: cuenta y acceso solo en seccion de cuentas */
.tv_account_page .tv_account_intro_copy,
.tv_account_page .tv_account_panel_main,
.tv_account_page .tv_account_dashboard_header,
.tv_account_page .tv_account_resume_card,
.tv_account_page .tv_account_content_banner,
.tv_account_page .tv_account_orders_card,
.tv_account_page #tv_bloque_perfil_cliente .tv_account_resume_card,
.tv_account_page #tv_bloque_direccion_cliente .tv_account_resume_card {
  background: linear-gradient(135deg, #d8c9eb 0%, #e9e2f3 38%, #d6c4e8 100%) !important;
  border-color: rgba(123, 89, 181, 0.12) !important;
  box-shadow:
    0 0 0 1px rgba(123, 89, 181, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 0 22px rgba(255, 255, 255, 0.14),
    0 22px 48px rgba(49, 37, 67, 0.10) !important;
}

.tv_account_page .tv_account_intro_feature_card,
.tv_account_page .tv_account_panel_note,
.tv_account_page .tv_account_header_summary_card,
.tv_account_page .tv_account_dashboard_header_panel,
.tv_account_page .tv_account_dashboard_header_support,
.tv_account_page .tv_account_content_banner_pill,
.tv_account_page .tv_account_order_item,
.tv_account_page .tv_account_metrics_header > div {
  background: rgba(255, 255, 255, 0.80) !important;
  border-color: rgba(123, 89, 181, 0.10) !important;
  box-shadow:
    0 0 0 1px rgba(123, 89, 181, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 14px 30px rgba(49, 37, 67, 0.06) !important;
}

.tv_account_page .tv_account_dashboard_header .tv_account_heading,
.tv_account_page .tv_account_intro_heading {
  position: relative;
  z-index: 1;
}

.tv_account_page .tv_account_dashboard_header .tv_home_kicker,
.tv_account_page .tv_account_intro_copy .tv_home_kicker,
.tv_account_page .tv_account_content_banner .tv_home_kicker,
.tv_account_page .tv_account_resume_head .tv_home_kicker {
  color: rgba(49, 37, 67, 0.72) !important;
}

.tv_account_page .tv_account_tab_activo {
  background: linear-gradient(135deg, #8e69c1 0%, #a885cf 100%) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 22px rgba(123, 89, 181, 0.20) !important;
}

.tv_account_page .tv_account_tabs {
  background: rgba(255, 255, 255, 0.58) !important;
  border-color: rgba(123, 89, 181, 0.10) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 10px 24px rgba(49, 37, 67, 0.04) !important;
}

.tv_account_page .tv_account_submit,
.tv_account_page .tv_account_dashboard_header_actions .tv_btn,
.tv_account_page .tv_account_dashboard_header_panel .tv_btn {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(49, 37, 67, 0.14) !important;
}

@media (max-width: 767px) {
  .tv_account_page .tv_account_panel_main,
  .tv_account_page .tv_account_dashboard_header,
  .tv_account_page .tv_account_content_banner,
  .tv_account_page .tv_account_orders_card,
  .tv_account_page #tv_bloque_perfil_cliente .tv_account_resume_card,
  .tv_account_page #tv_bloque_direccion_cliente .tv_account_resume_card {
    background: linear-gradient(180deg, #ddd0ee 0%, #eee7f6 100%) !important;
  }

  .tv_account_page .tv_account_tabs {
    background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(239,230,248,0.92) 100%) !important;
  }

  .tv_account_page .tv_account_tab {
    color: #5f4a73 !important;
  }

  .tv_account_page .tv_account_tab_activo {
    background: linear-gradient(135deg, #7e5bab 0%, #9f7bcc 100%) !important;
  }
}

/* Ajuste puntual v126: bordes y circulos oscuros solo en cuentas */
.tv_account_page .tv_account_dashboard_header_panel,
.tv_account_page .tv_account_dashboard_header_support,
.tv_account_page .tv_account_resume_card,
.tv_account_page .tv_account_content_banner,
.tv_account_page .tv_account_orders_card,
.tv_account_page #tv_bloque_perfil_cliente .tv_account_resume_card,
.tv_account_page #tv_bloque_direccion_cliente .tv_account_resume_card {
  position: relative;
  overflow: hidden;
}

.tv_account_page .tv_account_dashboard_header_panel,
.tv_account_page .tv_account_dashboard_header_support,
.tv_account_page .tv_account_resume_card,
.tv_account_page .tv_account_content_banner,
.tv_account_page .tv_account_orders_card,
.tv_account_page #tv_bloque_perfil_cliente .tv_account_resume_card,
.tv_account_page #tv_bloque_direccion_cliente .tv_account_resume_card {
  border-color: rgba(101, 75, 134, 0.22) !important;
  box-shadow:
    0 0 0 1px rgba(101, 75, 134, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 18px 36px rgba(49, 37, 67, 0.08) !important;
}

.tv_account_page .tv_account_metric_card,
.tv_account_page .tv_account_metrics_header > div,
.tv_account_page .tv_account_sidebar_summary_item,
.tv_account_page .tv_account_order_item,
.tv_account_page .tv_account_content_banner_pill {
  border: 1px solid rgba(101, 75, 134, 0.20) !important;
  box-shadow:
    0 0 0 1px rgba(101, 75, 134, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 28px rgba(49, 37, 67, 0.06) !important;
}

.tv_account_page .tv_account_dashboard_header_panel::before,
.tv_account_page .tv_account_dashboard_header_support::before,
.tv_account_page .tv_account_resume_card::after,
.tv_account_page .tv_account_content_banner::after,
.tv_account_page .tv_account_orders_card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(108, 78, 144, 0.18) 0%, rgba(108, 78, 144, 0.10) 42%, rgba(108, 78, 144, 0) 72%);
}

.tv_account_page .tv_account_dashboard_header_panel::before {
  width: 210px;
  height: 210px;
  right: -92px;
  top: -88px;
}

.tv_account_page .tv_account_dashboard_header_support::before {
  width: 150px;
  height: 150px;
  left: -58px;
  bottom: -64px;
  background: radial-gradient(circle, rgba(108, 78, 144, 0.15) 0%, rgba(108, 78, 144, 0.08) 44%, rgba(108, 78, 144, 0) 74%);
}

.tv_account_page .tv_account_resume_card::after,
.tv_account_page .tv_account_content_banner::after,
.tv_account_page .tv_account_orders_card::after {
  width: 180px;
  height: 180px;
  right: -78px;
  bottom: -82px;
  background: radial-gradient(circle, rgba(108, 78, 144, 0.14) 0%, rgba(108, 78, 144, 0.07) 46%, rgba(108, 78, 144, 0) 74%);
}

.tv_account_page .tv_account_resume_card_cliente::after {
  width: 190px;
  height: 190px;
  right: -74px;
  bottom: -84px;
}

@media (max-width: 767px) {
  .tv_account_page .tv_account_dashboard_header_panel::before,
  .tv_account_page .tv_account_dashboard_header_support::before,
  .tv_account_page .tv_account_resume_card::after,
  .tv_account_page .tv_account_content_banner::after,
  .tv_account_page .tv_account_orders_card::after {
    opacity: .72;
    transform: scale(.88);
  }
}

/* Ajuste puntual v127: mobile limpio en cuentas y card lateral sin duplicado */
.tv_account_page .tv_account_resume_title_aux {
  margin: 0.35rem 0 0;
  color: #312543;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.tv_account_page .tv_account_resume_identity_compact {
  margin-top: 0.55rem;
  color: rgba(49, 37, 67, 0.74) !important;
  font-size: 1rem;
  line-height: 1.5;
}

.tv_account_page .tv_account_resume_card_cliente .tv_account_resume_head {
  align-items: start;
}

.tv_account_page .tv_account_resume_card_cliente .tv_account_resume_text {
  margin-top: 1rem !important;
}

.tv_account_page .tv_account_resume_card_cliente .tv_account_resume_badge {
  align-self: start;
}

.tv_account_page .tv_account_panel_main {
  border-color: rgba(117, 87, 154, 0.18) !important;
}

.tv_account_page .tv_account_tabs {
  overflow: hidden;
}

.tv_account_page .tv_account_tab {
  position: relative;
  z-index: 1;
}

@media (hover: none) {
  .tv_account_page .tv_account_tab:hover {
    color: #312543 !important;
    background: transparent !important;
  }

  .tv_account_page .tv_account_tab_activo:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #7e5bab 0%, #9f7bcc 100%) !important;
  }
}

@media (max-width: 991px) {
  .tv_account_page .tv_account_dashboard_sidebar {
    display: none !important;
  }

  .tv_account_page .tv_account_dashboard_layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
  }

  .tv_account_page .tv_account_dashboard_header {
    padding: 1.5rem 1.1rem !important;
    border-radius: 1.85rem !important;
  }

  .tv_account_page .tv_account_dashboard_header h1 {
    font-size: clamp(2.75rem, 10vw, 4rem) !important;
    line-height: 0.92 !important;
  }

  .tv_account_page .tv_account_dashboard_header p {
    margin-top: 1rem !important;
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
  }

  .tv_account_page .tv_account_header_pills {
    gap: 0.7rem !important;
  }

  .tv_account_page .tv_account_header_pills span {
    padding: 0.72rem 1rem !important;
    font-size: 0.92rem !important;
  }

  .tv_account_page .tv_account_header_summary_grid {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
    margin-top: 1rem !important;
  }

  .tv_account_page .tv_account_dashboard_header_panel {
    padding: 1rem !important;
    gap: 0.9rem !important;
  }

  .tv_account_page .tv_account_metrics_header {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
  }

  .tv_account_page .tv_account_metric_card_contacto {
    grid-column: 1 / -1 !important;
  }

  .tv_account_page .tv_account_content_banner {
    padding: 1.35rem 1.1rem 1.45rem !important;
    border-radius: 1.75rem !important;
  }

  .tv_account_page .tv_account_content_banner_copy h3 {
    font-size: 1.55rem !important;
    line-height: 1.12 !important;
    margin: 0.1rem 0 0.55rem !important;
  }

  .tv_account_page .tv_account_content_banner_copy p {
    font-size: 0.98rem !important;
    line-height: 1.72 !important;
  }
}

@media (max-width: 767px) {
  .tv_account_page .tv_account_panel_main {
    padding: 1.15rem !important;
    border-radius: 1.7rem !important;
    background: linear-gradient(180deg, #d8c9eb 0%, #eadff4 100%) !important;
  }

  .tv_account_page .tv_account_tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    padding: 0.45rem !important;
    margin-bottom: 1rem !important;
    border-radius: 1.8rem !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(117, 87, 154, 0.16) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 10px 20px rgba(49,37,67,0.06) !important;
  }

  .tv_account_page .tv_account_tab {
    min-height: 3.2rem !important;
    padding: 0 0.5rem !important;
    border-radius: 1.45rem !important;
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
    color: #5f4a73 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tv_account_page .tv_account_tab_activo {
    color: #ffffff !important;
    background: linear-gradient(135deg, #312543 0%, #5f4581 100%) !important;
    box-shadow: 0 10px 18px rgba(49, 37, 67, 0.18) !important;
  }

  .tv_account_page .tv_account_dashboard_header::before,
  .tv_account_page .tv_account_dashboard_header::after,
  .tv_account_page .tv_account_content_banner::before,
  .tv_account_page .tv_account_content_banner::after,
  .tv_account_page .tv_account_orders_card::before,
  .tv_account_page .tv_account_orders_card::after {
    content: none !important;
    display: none !important;
  }

  .tv_account_page .tv_account_dashboard_header {
    gap: 1rem !important;
  }

  .tv_account_page .tv_account_content_banner_stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    justify-content: stretch !important;
  }

  .tv_account_page .tv_account_content_banner_pill {
    width: fit-content !important;
    max-width: 100% !important;
  }
}

/* Ajuste puntual v129: cuentas mobile limpio y sidebar sin duplicados */
.tv_account_page .tv_account_sidebar_link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.tv_account_page .tv_account_tab:not(.tv_account_tab_activo) {
  background: transparent !important;
  color: #312543 !important;
  box-shadow: none !important;
}

.tv_account_page .tv_account_tab:not(.tv_account_tab_activo):hover,
.tv_account_page .tv_account_tab:not(.tv_account_tab_activo):focus-visible {
  background: rgba(255, 255, 255, 0.68) !important;
  color: #312543 !important;
}

.tv_account_page .tv_account_resume_card_cliente .tv_account_sidebar_summary_item strong,
.tv_account_page .tv_account_resume_card_cliente .tv_account_sidebar_summary_item span {
  word-break: break-word;
}

@media (max-width: 991px) {
  .tv_account_page .tv_account_dashboard_sidebar {
    display: none !important;
  }

  .tv_account_page .tv_account_dashboard_layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tv_account_page .tv_account_panel_main {
    padding: 1.25rem !important;
  }

  .tv_account_page .tv_account_tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  .tv_account_page .tv_account_tab {
    min-height: 3.35rem !important;
    padding: 0.55rem 0.55rem !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .tv_account_page .tv_account_panel_note {
    padding: 1.25rem !important;
    border-radius: 1.5rem !important;
  }

  .tv_account_page .tv_account_panel_note strong {
    display: block !important;
    margin-bottom: 0.35rem !important;
    font-size: 1rem !important;
  }

  .tv_account_page .tv_account_panel_note span {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }
}

@media (max-width: 767px) {
  .tv_account_page .tv_account_panel_main {
    background: linear-gradient(180deg, #d7c7eb 0%, #e8ddf4 100%) !important;
    border-color: rgba(123, 89, 181, 0.18) !important;
    box-shadow: 0 16px 36px rgba(49, 37, 67, 0.08) !important;
  }

  .tv_account_page .tv_account_tabs {
    gap: 0.45rem !important;
    padding: 0.5rem !important;
    border-radius: 1.9rem !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(123, 89, 181, 0.14) !important;
  }

  .tv_account_page .tv_account_tab {
    border-radius: 1.55rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
  }

  .tv_account_page .tv_account_tab_activo {
    background: linear-gradient(135deg, #312543 0%, #5f4581 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(49, 37, 67, 0.16) !important;
  }
}


/* Ajuste puntual v130: botones laterales funcionales y tabs de cuenta consistentes */
.tv_account_page .tv_account_panel_section_destacada {
  border-radius: 2rem !important;
  box-shadow: 0 0 0 1px rgba(123, 89, 181, 0.16), 0 18px 42px rgba(88, 57, 119, 0.14) !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}

.tv_account_page .tv_account_sidebar_link {
  cursor: pointer !important;
}

.tv_account_page .tv_account_tab {
  color: #312543 !important;
  background: transparent !important;
}

.tv_account_page .tv_account_tab:hover,
.tv_account_page .tv_account_tab:focus-visible {
  background: rgba(255, 255, 255, 0.7) !important;
}

.tv_account_page .tv_account_tab_activo,
.tv_account_page .tv_account_tab.tv_account_tab_activo:hover,
.tv_account_page .tv_account_tab.tv_account_tab_activo:focus-visible {
  color: #ffffff !important;
  background: linear-gradient(135deg, #312543 0%, #5f4581 100%) !important;
  box-shadow: 0 10px 20px rgba(49, 37, 67, 0.18) !important;
}


/* Ajuste cuenta cliente v131 */
.tv_account_tab {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.tv_account_tab_activo {
  color: #ffffff;
}

.tv_account_tab:not(.tv_account_tab_activo) {
  color: #5a4369;
}

.tv_account_sidebar_summary_item_wide {
  grid-column: 1 / -1;
}

.tv_account_sidebar_note_card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(124, 96, 156, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.tv_account_sidebar_note_card p {
  margin: 0;
  color: #6c5a7d;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .tv_account_dashboard_sidebar {
    display: none;
  }

  .tv_account_dashboard_layout {
    grid-template-columns: 1fr;
  }

  .tv_account_tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
  }

  .tv_account_tab {
    min-height: 56px;
    padding: 10px 8px;
    font-size: 0.84rem;
    border-radius: 22px;
  }
}

@media (max-width: 420px) {
  .tv_account_tab {
    min-height: 58px;
    font-size: 0.8rem;
  }
}

.tv_drawer_stock_alerta {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(196, 120, 120, 0.22);
  background: rgba(255, 240, 240, 0.92);
  color: #8b4b4b;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Ajuste TV-008 resultado pago */
.tv_checkout_resultado_acciones {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}
.tv_checkout_resultado_acciones .tv_btn {
  min-width:200px;
  text-align:center;
}


@media (max-width: 768px) {
  .tv_checkout_form_compacto input,
  .tv_checkout_form_compacto select,
  .tv_checkout_form_compacto textarea,
  .tv_checkout_pago_formulario_v24 input,
  .tv_checkout_pago_formulario_v24 select,
  .tv_checkout_pago_formulario_v24 textarea {
    font-size: 16px;
  }
}



/* TV-008 cierre funcional visual catálogo y detalle */
.tv_catalog_section_coraline {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(155, 126, 189, 0.16) 0%, rgba(155, 126, 189, 0) 38%),
    radial-gradient(circle at top right, rgba(53, 63, 107, 0.18) 0%, rgba(53, 63, 107, 0) 34%),
    linear-gradient(180deg, #f5f0f6 0%, #ede7f1 42%, #f8f5f9 100%);
}

.tv_catalog_section_coraline::before,
.tv_catalog_section_coraline::after,
.tv_producto_vista_coraline::before,
.tv_producto_vista_coraline::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.78;
}

.tv_catalog_section_coraline::before,
.tv_producto_vista_coraline::before {
  inset: -60px auto auto -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 18%, rgba(200, 181, 219, 0.42) 19% 28%, rgba(200, 181, 219, 0) 29%),
    radial-gradient(circle at 60% 70%, rgba(93, 74, 123, 0.08) 0, rgba(93, 74, 123, 0) 68%);
}

.tv_catalog_section_coraline::after,
.tv_producto_vista_coraline::after {
  inset: auto -48px 120px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 16%, rgba(167, 191, 219, 0.34) 17% 27%, rgba(167, 191, 219, 0) 28%),
    radial-gradient(circle at 38% 28%, rgba(56, 63, 103, 0.12) 0, rgba(56, 63, 103, 0) 70%);
}

.tv_catalog_hero_coraline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding: 1.6rem 1.7rem;
  border-radius: 2rem;
  border: 1px solid rgba(92, 74, 119, 0.12);
  background:
    linear-gradient(135deg, rgba(42, 47, 82, 0.95) 0%, rgba(89, 70, 117, 0.93) 54%, rgba(182, 149, 181, 0.9) 100%);
  box-shadow: 0 28px 48px rgba(47, 36, 71, 0.18);
  overflow: hidden;
}

.tv_catalog_hero_coraline::before {
  content: "";
  position: absolute;
  inset: auto auto -70px -20px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 72%);
}

.tv_catalog_hero_copy,
.tv_catalog_hero_stats {
  position: relative;
  z-index: 1;
}

.tv_catalog_hero_kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .8rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tv_catalog_hero_copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.tv_catalog_hero_copy p {
  margin: .95rem 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.65;
}

.tv_catalog_hero_stats {
  display: grid;
  gap: .8rem;
}

.tv_catalog_hero_stats div {
  padding: 1rem 1.1rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.tv_catalog_hero_stats small {
  display: block;
  margin-bottom: .25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tv_catalog_hero_stats strong {
  display: block;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.1;
}

.tv_catalog_filters_shell_final,
.tv_catalog_grid_wrap_final {
  border-radius: 2rem !important;
  border: 1px solid rgba(80, 63, 107, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 242, 248, 0.96) 100%) !important;
  box-shadow: 0 18px 38px rgba(55, 45, 80, 0.10) !important;
}

.tv_catalog_filters_shell_final {
  position: sticky;
  top: 102px;
  overflow: hidden;
}

.tv_catalog_filters_shell_final::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(39, 46, 82, 0.92) 0%, rgba(39, 46, 82, 0) 100%);
  opacity: .12;
  pointer-events: none;
}

.tv_catalog_grid_head_final {
  align-items: end !important;
  gap: 1rem !important;
}

.tv_catalog_grid_head_final strong {
  color: #312543 !important;
  font-size: 1.4rem !important;
  letter-spacing: -.03em !important;
}

.tv_catalog_grid_meta {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: rgba(235, 228, 241, 0.9);
  color: #4f4163;
  font-weight: 700;
}

.tv_producto_card_base {
  position: relative;
  border: 1px solid rgba(75, 60, 102, 0.10);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 242, 248, 0.98) 100%);
  box-shadow: 0 20px 34px rgba(48, 37, 68, 0.09);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.tv_producto_card_base::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top left, rgba(174, 151, 203, 0.14) 0%, rgba(174, 151, 203, 0) 38%),
    radial-gradient(circle at bottom right, rgba(88, 93, 141, 0.12) 0%, rgba(88, 93, 141, 0) 34%);
  pointer-events: none;
}

.tv_producto_card_base:hover,
.tv_producto_card_base:focus-within {
  transform: translateY(-6px);
  border-color: rgba(107, 86, 138, 0.22);
  box-shadow: 0 28px 44px rgba(43, 33, 66, 0.16);
}

.tv_producto_card_media {
  padding: 1.15rem 1.15rem 0;
}

.tv_producto_card_media_frame {
  min-height: 290px;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.98) 0%, rgba(241, 235, 245, 0.94) 52%, rgba(229, 220, 238, 0.82) 100%);
  border: 1px solid rgba(177, 161, 198, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.tv_producto_card_imagen {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(64, 52, 89, 0.18));
  transition: transform .3s ease, filter .3s ease;
}

.tv_producto_card_base:hover .tv_producto_card_imagen,
.tv_producto_card_base:focus-within .tv_producto_card_imagen {
  transform: scale(1.03);
  filter: drop-shadow(0 24px 32px rgba(64, 52, 89, 0.22));
}

.tv_producto_card_overlay {
  opacity: 1 !important;
  transform: none !important;
}

.tv_producto_card_accion {
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  color: #4f4163;
  backdrop-filter: blur(10px);
}

.tv_producto_card_body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.15rem 1.15rem 1.25rem;
}

.tv_producto_card_rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: #8e7a96;
  font-size: .85rem;
}

.tv_producto_card_badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tv_producto_card_badge,
.tv_producto_card_badge_stock {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tv_producto_card_badge {
  background: rgba(229, 221, 239, 0.9);
  color: #4f4163;
}

.tv_producto_card_badge_stock {
  background: rgba(226, 236, 226, 0.96);
  color: #406253;
}

.tv_producto_card_badge_stock_bajo {
  background: rgba(255, 241, 214, 0.96);
  color: #9a6a12;
}

.tv_producto_card_badge_stock_agotado {
  background: rgba(255, 229, 232, 0.96);
  color: #9d4b61;
}

.tv_producto_card_title {
  margin: 0;
  min-height: 3.7rem;
  color: #2e223c;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.tv_producto_card_resumen {
  margin: 0;
  min-height: 3.35rem;
  color: #72647a;
  font-size: .92rem;
  line-height: 1.55;
}

.tv_producto_card_price_block {
  display: grid;
  gap: .45rem;
  margin-top: auto;
  padding: .95rem 1rem;
  border-radius: 1.45rem;
  background: linear-gradient(180deg, rgba(246, 242, 249, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(196, 184, 210, 0.22);
}

.tv_producto_card_precio_anterior {
  color: #b18ba2;
  font-size: .83rem;
  text-decoration: line-through;
}

.tv_producto_card_precio {
  color: #312543;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.tv_producto_card_estado {
  color: #6a5a74;
  font-size: .86rem;
  line-height: 1.45;
}

.tv_producto_card_actions_mobile {
  margin-top: .15rem;
}

.tv_producto_card_cta,
.tv_producto_form_boton {
  position: relative;
  overflow: hidden;
  min-height: 3.2rem;
  border-radius: 1.2rem !important;
}

.tv_producto_card_cta::before,
.tv_producto_form_boton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}

.tv_producto_form_boton_principal,
.tv_producto_card_cta:not(.tv_producto_card_cta_secundaria) {
  box-shadow: 0 18px 30px rgba(86, 69, 117, 0.22) !important;
}

.tv_producto_form_boton_principal:hover,
.tv_producto_card_cta:not(.tv_producto_card_cta_secundaria):hover {
  box-shadow: 0 22px 34px rgba(86, 69, 117, 0.28) !important;
}

.tv_producto_vista_coraline {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(44, 52, 91, 0.18) 0%, rgba(44, 52, 91, 0) 30%),
    radial-gradient(circle at top left, rgba(175, 151, 199, 0.22) 0%, rgba(175, 151, 199, 0) 34%),
    linear-gradient(180deg, #f3eef6 0%, #ede7f1 48%, #f8f5f9 100%);
}

.tv_producto_vista_shell {
  position: relative;
  z-index: 1;
}

.tv_producto_detalle_galeria,
.tv_producto_panel_lateral,
.tv_producto_relacionados_acordeon {
  position: relative;
  overflow: hidden;
  border-color: rgba(79, 64, 104, 0.11) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 242, 248, 0.98) 100%) !important;
  box-shadow: 0 24px 44px rgba(43, 33, 66, 0.11) !important;
}

.tv_producto_detalle_galeria::before,
.tv_producto_panel_lateral::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, rgba(40, 46, 82, 0.08) 0%, rgba(40, 46, 82, 0) 100%);
  pointer-events: none;
}

.tv_producto_detalle_media {
  position: relative;
  overflow: hidden;
  min-height: 440px !important;
  border-radius: 2rem !important;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.98) 0%, rgba(243, 237, 246, 0.94) 52%, rgba(230, 221, 239, 0.85) 100%) !important;
}

.tv_producto_detalle_media img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 34px rgba(57, 47, 83, 0.20));
}

.tv_producto_thumb {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tv_producto_thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 97, 154, 0.28) !important;
  box-shadow: 0 16px 26px rgba(43, 33, 66, 0.12) !important;
}

.tv_producto_panel_badges {
  position: relative;
  z-index: 1;
}

.tv_producto_panel_bloque {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(191, 175, 208, 0.24);
  background: rgba(255, 255, 255, 0.72);
}

.tv_producto_panel_label {
  display: inline-flex;
  margin-bottom: .75rem;
  color: #6a5a74;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tv_producto_panel_lateral h1 {
  color: #2d213d !important;
}

.tv_producto_estado_principal {
  display: grid;
  gap: .2rem;
  margin-top: .9rem;
  padding: .9rem 1rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(126, 156, 138, 0.20);
  background: rgba(240, 247, 241, 0.92);
  color: #3d5f4e;
}

.tv_producto_estado_principal strong {
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tv_producto_estado_principal span {
  font-size: .9rem;
  line-height: 1.5;
}

.tv_producto_estado_principal_agotado {
  border-color: rgba(180, 92, 112, 0.22);
  background: rgba(255, 239, 242, 0.94);
  color: #9d4b61;
}

.tv_producto_beneficios_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.tv_producto_beneficio_item {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: .8rem .95rem;
  border-radius: 1.15rem;
  background: rgba(245, 240, 248, 0.9);
  color: #534465;
  font-size: .9rem;
  line-height: 1.45;
}

.tv_producto_cantidad_card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(191, 175, 208, 0.24);
  background: rgba(255, 255, 255, 0.82);
}

.tv_producto_cantidad_card label {
  display: block;
  margin-bottom: .35rem;
  color: #312543;
  font-weight: 700;
}

.tv_producto_cantidad_card small {
  display: block;
  color: #7a6b82;
  line-height: 1.5;
}

.tv_producto_cantidad_input_wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tv_producto_cantidad_input {
  width: 100%;
  min-height: 3.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(157, 136, 182, 0.34);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tv_producto_form_acciones {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}

.tv_producto_relacionados_acordeon summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tv_producto_relacionados_acordeon summary strong {
  color: #2e223c;
  font-size: 1.35rem;
  letter-spacing: -.03em;
}

.tv_producto_relacionados_toggle {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: rgba(234, 226, 240, 0.92);
  color: #4d3f61;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .tv_catalog_hero_coraline {
    grid-template-columns: 1fr;
  }

  .tv_producto_detalle_media {
    min-height: 360px !important;
  }
}

@media (max-width: 767px) {
  .tv_catalog_hero_coraline {
    padding: 1.35rem 1.1rem;
    border-radius: 1.6rem;
  }

  .tv_catalog_hero_copy h1 {
    font-size: 1.85rem;
  }

  .tv_catalog_filters_shell_final {
    position: static;
  }

  .tv_producto_card_media {
    padding: 1rem 1rem 0;
  }

  .tv_producto_card_media_frame {
    min-height: 240px;
  }

  .tv_producto_card_imagen {
    max-height: 220px;
  }

  .tv_producto_card_title,
  .tv_producto_card_resumen {
    min-height: auto;
  }

  .tv_producto_beneficios_grid {
    grid-template-columns: 1fr;
  }

  .tv_producto_cantidad_card {
    grid-template-columns: 1fr;
  }

  .tv_producto_detalle_media {
    min-height: 300px !important;
    padding: 1.25rem !important;
  }

  .tv_producto_relacionados_acordeon summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* TV-008 refinamiento visual catálogo y detalle */
.tv_catalog_section_coraline > .tv_container,
.tv_producto_vista_shell {
  position: relative;
}

.tv_catalog_section_coraline {
  padding-top: 1.15rem;
}

.tv_catalog_section_coraline > .tv_container {
  max-width: 1520px;
}

.tv_catalogo_layout_final {
  grid-template-columns: minmax(250px, 270px) minmax(0, 1fr) !important;
  gap: 1rem !important;
  align-items: start !important;
}

.tv_catalogo_sidebar_profesional {
  max-width: 270px;
}

.tv_catalogo_contenido_profesional {
  min-width: 0;
}

.tv_catalog_hero_coraline {
  gap: .85rem;
  margin-bottom: 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: 1.7rem;
  border-color: rgba(92, 74, 119, 0.18);
  box-shadow: 0 20px 36px rgba(47, 36, 71, 0.13);
}

.tv_catalog_hero_coraline::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(1.7rem - 10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.tv_catalog_hero_copy {
  display: grid;
  gap: .55rem;
  align-content: start;
}

.tv_catalog_hero_kicker {
  margin-bottom: 0;
  padding: .38rem .78rem;
  font-size: .66rem;
  letter-spacing: .22em;
}

.tv_catalog_hero_copy h1 {
  font-size: clamp(1.5rem, 2.2vw, 2.45rem);
  line-height: .98;
}

.tv_catalog_hero_copy p {
  margin: 0;
  max-width: 34rem;
  font-size: .9rem;
  line-height: 1.55;
}

.tv_catalog_hero_stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  align-self: stretch;
}

.tv_catalog_hero_stats div {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 94px;
  padding: .8rem .9rem;
  border-radius: 1.15rem;
}

.tv_catalog_hero_stats div::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(1.15rem - 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.tv_catalog_hero_stats small {
  font-size: .64rem;
  letter-spacing: .18em;
}

.tv_catalog_hero_stats strong {
  font-size: 1rem;
  letter-spacing: -.02em;
}

.tv_catalog_filters_shell_final,
.tv_catalog_grid_wrap_final {
  border-radius: 1.55rem !important;
  box-shadow: 0 16px 30px rgba(55, 45, 80, 0.08) !important;
}

.tv_catalog_filters_shell_final {
  top: 92px;
}

.tv_catalog_filters_topbar_final {
  padding: 1.05rem 1rem .75rem !important;
}

.tv_catalog_filters_topbar_copy strong {
  font-size: 1.08rem !important;
}

.tv_catalog_filters_topbar_copy span,
.tv_catalog_filters_range span {
  font-size: .84rem !important;
}

.tv_catalog_filters_form_final {
  gap: .9rem !important;
  padding: .15rem 1rem 1rem !important;
}

.tv_catalog_filters_form_final .tv_catalog_field label {
  margin-bottom: .42rem !important;
  font-size: .78rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b5a74;
}

.tv_catalog_filters_form_final input,
.tv_catalog_filters_form_final select {
  min-height: 56px !important;
  padding: 0 1rem !important;
  border-radius: 1.15rem !important;
  font-size: .94rem !important;
}

.tv_catalog_actions_final {
  gap: .7rem !important;
}

.tv_catalog_actions_final .tv_btn {
  min-height: 54px !important;
  border-radius: 1.15rem !important;
  font-size: .95rem !important;
}

.tv_catalog_grid_wrap_final {
  padding: 1rem !important;
}

.tv_catalog_grid_head_final {
  gap: .7rem !important;
  margin-bottom: .85rem !important;
}

.tv_catalog_grid_head_final strong {
  font-size: 1.18rem !important;
}

.tv_catalog_grid_head_final span {
  font-size: .88rem !important;
}

.tv_catalog_grid_meta {
  padding: .6rem .9rem;
  font-size: .82rem;
}

#grid_catalogo_productos {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 1rem !important;
  align-items: stretch;
}

.tv_producto_card_base {
  border-radius: 1.55rem;
  box-shadow: 0 16px 30px rgba(48, 37, 68, 0.07);
}

.tv_producto_card_base::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(1.55rem - 8px);
  border: 1px solid rgba(107, 86, 138, 0.07);
  pointer-events: none;
}

.tv_producto_card_base:hover,
.tv_producto_card_base:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 34px rgba(43, 33, 66, 0.12);
}

.tv_producto_card_media {
  padding: .8rem .8rem 0;
}

.tv_producto_card_media_frame {
  position: relative;
  min-height: 220px;
  border-radius: 1.35rem;
  border-color: rgba(177, 161, 198, 0.26);
}

.tv_producto_card_media_frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(1.35rem - 8px);
  border: 1px solid rgba(108, 89, 136, 0.08);
  pointer-events: none;
}

.tv_producto_card_media_frame::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 149, 191, 0) 0%, rgba(167, 149, 191, 0.34) 50%, rgba(167, 149, 191, 0) 100%);
  pointer-events: none;
}

.tv_producto_card_overlay {
  right: .75rem !important;
  top: .75rem !important;
  gap: .45rem !important;
}

.tv_producto_card_accion {
  width: 2.45rem;
  height: 2.45rem;
  border-color: rgba(255, 255, 255, 0.82);
}

.tv_producto_card_accion svg {
  width: 16px;
  height: 16px;
}

.tv_producto_card_imagen {
  max-height: 182px;
  filter: drop-shadow(0 14px 20px rgba(64, 52, 89, 0.15));
}

.tv_producto_card_base:hover .tv_producto_card_imagen,
.tv_producto_card_base:focus-within .tv_producto_card_imagen {
  filter: drop-shadow(0 18px 26px rgba(64, 52, 89, 0.18));
}

.tv_producto_card_body {
  gap: .68rem;
  padding: .8rem .8rem .85rem;
}

.tv_producto_card_rating {
  font-size: .78rem;
}

.tv_producto_card_badges {
  gap: .42rem;
}

.tv_producto_card_badge,
.tv_producto_card_badge_stock {
  min-height: 1.75rem;
  padding: .3rem .62rem;
  border-radius: 999px;
  font-size: .64rem;
  letter-spacing: .14em;
}

.tv_producto_card_badge_stock {
  position: relative;
  overflow: hidden;
}

.tv_producto_card_badge_stock::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}

.tv_producto_card_badge_stock_agotado {
  background: linear-gradient(180deg, rgba(248, 220, 226, 0.98) 0%, rgba(255, 236, 241, 0.98) 100%);
  border: 1px solid rgba(157, 75, 97, 0.14);
}

.tv_producto_card_badge_stock:not(.tv_producto_card_badge_stock_agotado):not(.tv_producto_card_badge_stock_bajo) {
  background: linear-gradient(180deg, rgba(226, 236, 226, 0.98) 0%, rgba(239, 246, 240, 0.98) 100%);
  border: 1px solid rgba(64, 98, 83, 0.10);
}

.tv_producto_card_title {
  min-height: 2.65rem;
  font-size: .98rem;
  line-height: 1.22;
}

.tv_producto_card_resumen {
  min-height: 2.7rem;
  font-size: .84rem;
  line-height: 1.42;
}

.tv_producto_card_price_block {
  gap: .32rem;
  padding: .78rem .82rem;
  border-radius: 1.15rem;
  position: relative;
  overflow: hidden;
}

.tv_producto_card_price_block::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(1.15rem - 6px);
  border: 1px solid rgba(196, 184, 210, 0.14);
  pointer-events: none;
}

.tv_producto_card_precio_anterior {
  font-size: .72rem;
}

.tv_producto_card_precio {
  font-size: 1.12rem;
  line-height: 1.05;
}

.tv_producto_card_estado {
  font-size: .78rem;
  line-height: 1.35;
}

.tv_producto_card_actions_mobile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .55rem;
}

.tv_producto_card_cta,
.tv_producto_form_boton {
  min-height: 2.75rem;
  border-radius: .95rem !important;
  font-size: .84rem;
}

.tv_producto_card_cta svg,
.tv_producto_form_boton svg {
  width: 16px;
  height: 16px;
}

.tv_producto_card_cta_secundaria {
  border: 1px solid rgba(191, 175, 208, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #5b4b70;
}

.tv_catalog_paginacion {
  margin-top: 1rem !important;
}

.tv_producto_vista_coraline {
  padding-top: .25rem;
}

.tv_producto_layout_coraline {
  max-width: 1280px !important;
  gap: 1rem !important;
}

.tv_producto_detalle_grid {
  gap: 1rem !important;
}

.tv_producto_detalle_galeria,
.tv_producto_panel_lateral,
.tv_producto_relacionados_acordeon {
  border-radius: 1.7rem !important;
  box-shadow: 0 18px 34px rgba(43, 33, 66, 0.09) !important;
}

.tv_producto_detalle_galeria::after,
.tv_producto_panel_lateral::after,
.tv_producto_relacionados_acordeon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(1.7rem - 9px);
  border: 1px solid rgba(91, 72, 118, 0.08);
  pointer-events: none;
}

.tv_producto_detalle_galeria {
  padding: 1rem !important;
}

.tv_producto_detalle_media {
  min-height: 345px !important;
  border-radius: 1.45rem !important;
  padding: 1.25rem !important;
}

.tv_producto_detalle_media::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(1.45rem - 8px);
  border: 1px solid rgba(101, 82, 129, 0.08);
  pointer-events: none;
}

.tv_producto_detalle_media img {
  max-height: 320px !important;
  filter: drop-shadow(0 18px 28px rgba(57, 47, 83, 0.16));
}

.tv_producto_thumb {
  height: 68px !important;
  border-radius: 1rem !important;
  padding: .6rem !important;
}

.tv_producto_panel_lateral {
  gap: .9rem !important;
  padding: 1rem !important;
}

.tv_producto_panel_badges {
  gap: .45rem !important;
}

.tv_producto_panel_badges > span,
.tv_producto_panel_lateral .inline-flex.rounded-full {
  min-height: 1.9rem;
  padding: .42rem .8rem !important;
  font-size: .64rem !important;
  letter-spacing: .16em !important;
}

.tv_producto_panel_lateral h1 {
  font-size: clamp(1.65rem, 2.2vw, 2.5rem) !important;
  line-height: 1 !important;
}

.tv_producto_panel_lateral .space-y-3,
.tv_producto_panel_lateral .space-y-4 {
  gap: .72rem !important;
}

.tv_producto_panel_bloque {
  padding: .85rem .9rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 244, 250, 0.92) 100%);
}

.tv_producto_panel_bloque::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(1.15rem - 6px);
  border: 1px solid rgba(191, 175, 208, 0.11);
  pointer-events: none;
}

.tv_producto_panel_label {
  margin-bottom: .55rem;
  font-size: .66rem;
  letter-spacing: .2em;
}

.tv_producto_panel_bloque p {
  font-size: .9rem;
  line-height: 1.55;
}

.tv_producto_panel_precio strong {
  font-size: 1.75rem !important;
  line-height: 1 !important;
  letter-spacing: -.04em;
  color: #2f2340;
}

.tv_producto_precio_anterior {
  font-size: .82rem !important;
}

.tv_producto_estado_principal {
  margin-top: .7rem;
  padding: .78rem .82rem;
  border-radius: 1rem;
}

.tv_producto_estado_principal strong {
  font-size: .74rem;
  letter-spacing: .18em;
}

.tv_producto_estado_principal span {
  font-size: .83rem;
  line-height: 1.42;
}

.tv_producto_beneficios_grid {
  gap: .55rem;
}

.tv_producto_beneficio_item {
  min-height: 2.65rem;
  padding: .68rem .78rem;
  border-radius: .95rem;
  font-size: .82rem;
}

.tv_producto_cantidad_card {
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: .8rem;
  padding: .82rem .88rem;
  border-radius: 1.15rem;
}

.tv_producto_cantidad_card label {
  margin-bottom: .24rem;
  font-size: .9rem;
}

.tv_producto_cantidad_card small {
  font-size: .8rem;
  line-height: 1.4;
}

.tv_producto_cantidad_input {
  min-height: 2.8rem;
  border-radius: .95rem;
  padding: 0 .75rem;
  font-size: .92rem;
}

.tv_producto_form_acciones {
  gap: .6rem;
  margin-top: .8rem;
}

.tv_producto_relacionados_acordeon {
  padding: 1rem !important;
}

.tv_producto_relacionados_acordeon summary strong {
  font-size: 1.12rem;
}

.tv_producto_relacionados_acordeon summary small {
  display: block;
  margin-top: .15rem;
  font-size: .84rem;
  color: #72647a;
}

.tv_producto_relacionados_toggle {
  min-height: 2.5rem;
  padding: .55rem .85rem;
  font-size: .78rem;
}

.tv_producto_relacionados_contenido .tv_product_grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 1rem !important;
}

@media (min-width: 1280px) {
  #grid_catalogo_productos,
  .tv_producto_relacionados_contenido .tv_product_grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  }
}

@media (max-width: 1199px) {
  .tv_catalogo_layout_final {
    grid-template-columns: 1fr !important;
  }

  .tv_catalogo_sidebar_profesional {
    max-width: none;
  }

  .tv_catalog_hero_stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tv_producto_detalle_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_producto_panel_lateral {
    position: static !important;
  }
}

@media (max-width: 767px) {
  .tv_catalog_section_coraline {
    padding-top: .7rem;
  }

  .tv_catalog_hero_coraline {
    padding: .95rem;
    gap: .75rem;
  }

  .tv_catalog_hero_copy h1 {
    font-size: 1.42rem;
  }

  .tv_catalog_hero_copy p {
    font-size: .84rem;
  }

  .tv_catalog_hero_stats {
    grid-template-columns: 1fr;
  }

  .tv_catalog_hero_stats div {
    min-height: 76px;
  }

  .tv_catalog_filters_topbar_final,
  .tv_catalog_filters_form_final,
  .tv_catalog_grid_wrap_final {
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }

  #grid_catalogo_productos,
  .tv_producto_relacionados_contenido .tv_product_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .8rem !important;
  }

  .tv_producto_card_media_frame {
    min-height: 170px;
  }

  .tv_producto_card_imagen {
    max-height: 138px;
  }

  .tv_producto_card_title {
    min-height: 2.2rem;
    font-size: .9rem;
  }

  .tv_producto_card_resumen {
    min-height: auto;
    font-size: .78rem;
  }

  .tv_producto_card_actions_mobile {
    grid-template-columns: 1fr;
  }

  .tv_producto_detalle_galeria,
  .tv_producto_panel_lateral,
  .tv_producto_relacionados_acordeon {
    border-radius: 1.35rem !important;
  }

  .tv_producto_detalle_media {
    min-height: 250px !important;
    padding: 1rem !important;
  }

  .tv_producto_detalle_media img {
    max-height: 220px !important;
  }

  .tv_producto_panel_lateral h1 {
    font-size: 1.5rem !important;
  }

  .tv_producto_cantidad_card {
    grid-template-columns: 1fr;
  }
}

/* TV-008 · Homologacion visual compacta catalogo y detalle */
.tv_producto_card_rating {
  display: none !important;
}

.tv_catalog_section_coraline::before,
.tv_catalog_section_coraline::after,
.tv_producto_vista_coraline::before,
.tv_producto_vista_coraline::after {
  display: none !important;
}

.tv_catalog_hero_coraline {
  gap: .85rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.6rem;
}

.tv_catalog_hero_coraline::before,
.tv_catalog_hero_coraline::after {
  opacity: .35;
}

.tv_catalog_hero_kicker {
  margin-bottom: .55rem;
  padding: .38rem .75rem;
  font-size: .68rem;
}

.tv_catalog_hero_copy h1 {
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
}

.tv_catalog_hero_copy p {
  margin-top: .6rem;
  font-size: .9rem;
  line-height: 1.55;
}

.tv_catalog_hero_stats {
  gap: .55rem;
}

.tv_catalog_hero_stats div {
  padding: .75rem .85rem;
  border-radius: 1.05rem;
}

.tv_catalog_hero_stats small {
  font-size: .68rem;
}

.tv_catalog_hero_stats strong {
  font-size: 1.02rem;
}

.tv_catalog_filters_shell_final,
.tv_catalog_grid_wrap_final {
  border-radius: 1.55rem !important;
}

.tv_catalog_filters_shell_final {
  top: 92px;
}

.tv_catalog_filters_topbar_final {
  padding-bottom: .2rem;
}

.tv_catalog_filters_topbar_copy strong {
  font-size: 1.05rem;
}

.tv_catalog_filters_form_final {
  gap: .85rem;
}

.tv_catalog_field label {
  margin-bottom: .35rem;
  font-size: .82rem;
}

.tv_catalog_field input,
.tv_catalog_field select,
.tv_catalog_actions .tv_btn {
  min-height: 3.2rem;
  border-radius: 1.1rem;
  font-size: .92rem;
}

.tv_catalog_grid_head_final {
  gap: .75rem !important;
  margin-bottom: .75rem;
}

.tv_catalog_grid_head_final strong {
  font-size: 1.2rem !important;
}

.tv_catalog_grid_meta {
  padding: .58rem .9rem;
  font-size: .84rem;
}

#grid_catalogo_productos {
  gap: 1rem !important;
}

#grid_catalogo_productos > article,
.tv_producto_relacionados_contenido .tv_product_grid > article {
  height: 100%;
}

.tv_producto_card_base {
  border-radius: 1.55rem;
  box-shadow: 0 14px 28px rgba(48, 37, 68, 0.08);
}

.tv_producto_card_base::after,
.tv_producto_panel_bloque::after,
.tv_producto_detalle_galeria::after,
.tv_producto_panel_lateral::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 54px;
  height: 54px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23bfa6c9' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round' opacity='0.95'%3E%3Cpath d='M22 52c9-3 14-10 16-22-11 2-18 8-22 18'/%3E%3Cpath d='M31 46c7-2 13-8 17-18-9 1-15 5-19 12'/%3E%3Cpath d='M23 52c2-8 3-15 1-24'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .16;
  pointer-events: none;
}

.tv_producto_card_base:hover,
.tv_producto_card_base:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(43, 33, 66, 0.12);
}

.tv_producto_card_media {
  padding: .82rem .82rem 0;
}

.tv_producto_card_media_frame {
  min-height: 188px;
  border-radius: 1.28rem;
}

.tv_producto_card_media_frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 1rem;
  border: 1px solid rgba(189, 176, 208, 0.26);
  pointer-events: none;
}

.tv_producto_card_imagen {
  max-height: 152px;
  padding: .45rem;
  filter: drop-shadow(0 12px 20px rgba(64, 52, 89, 0.14));
}

.tv_producto_card_overlay {
  right: .7rem !important;
  top: .7rem !important;
  gap: .45rem !important;
}

.tv_producto_card_accion {
  width: 2.35rem;
  height: 2.35rem;
}

.tv_producto_card_accion svg {
  width: 15px;
  height: 15px;
}

.tv_producto_card_body {
  flex: 1;
  gap: .65rem;
  padding: .85rem .82rem .9rem;
}

.tv_producto_card_badges {
  gap: .42rem;
}

.tv_producto_card_badge,
.tv_producto_card_badge_stock {
  min-height: 1.8rem;
  padding: .32rem .68rem;
  font-size: .64rem;
  letter-spacing: .14em;
}

.tv_producto_card_title {
  min-height: 2.9rem;
  font-size: .98rem;
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv_producto_card_resumen {
  min-height: 2.6rem;
  font-size: .84rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv_producto_card_price_block {
  gap: .3rem;
  margin-top: auto;
  padding: .72rem .8rem;
  border-radius: 1.12rem;
}

.tv_producto_card_precio_anterior {
  font-size: .74rem;
}

.tv_producto_card_precio {
  font-size: 1.02rem;
}

.tv_producto_card_estado {
  font-size: .78rem;
  line-height: 1.35;
}

.tv_producto_card_actions_mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin-top: .05rem;
}

.tv_producto_card_cta,
.tv_producto_form_boton {
  min-height: 2.8rem;
  padding: .55rem .85rem !important;
  border-radius: .95rem !important;
  font-size: .84rem !important;
}

.tv_producto_card_cta svg {
  width: 15px;
  height: 15px;
}

.tv_producto_vista_coraline {
  background: linear-gradient(180deg, #f4eff6 0%, #eee8f1 50%, #f8f5f9 100%);
}

.tv_producto_layout_coraline {
  gap: 1rem !important;
}

.tv_breadcrumb_venus,
.tv_breadcrumb_venus_compacto {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  width: auto;
  max-width: 100%;
  margin: 0 0 .1rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 175, 208, 0.24);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(104, 86, 102, 0.05);
  color: #6f6177;
  font-size: .8rem;
}

.tv_breadcrumb_venus a {
  color: #6f6177;
  text-decoration: none;
}

.tv_breadcrumb_venus strong {
  color: #4f4163;
  font-weight: 700;
}

.tv_producto_detalle_grid {
  gap: 1rem !important;
}

@media (min-width: 1280px) {
  .tv_producto_detalle_grid {
    grid-template-columns: minmax(0, 1fr) 356px !important;
  }
}

.tv_producto_detalle_galeria,
.tv_producto_panel_lateral,
.tv_producto_relacionados_acordeon {
  border-radius: 1.6rem !important;
  box-shadow: 0 16px 30px rgba(43, 33, 66, 0.09) !important;
}

.tv_producto_detalle_galeria,
.tv_producto_panel_lateral {
  padding: 1rem !important;
}

.tv_producto_detalle_galeria::before,
.tv_producto_panel_lateral::before {
  height: 72px;
}

.tv_producto_detalle_media {
  min-height: 300px !important;
  padding: 1rem !important;
  border-radius: 1.35rem !important;
}

.tv_producto_detalle_media img {
  max-height: 300px !important;
  filter: drop-shadow(0 16px 24px rgba(57, 47, 83, 0.16));
}

.tv_producto_thumb {
  height: 66px !important;
  border-radius: .95rem !important;
}

.tv_producto_panel_badges {
  gap: .45rem !important;
}

.tv_producto_panel_badges > span {
  padding: .45rem .75rem !important;
  font-size: .64rem !important;
}

.tv_producto_panel_lateral h1 {
  font-size: clamp(1.75rem, 2vw, 2.45rem) !important;
  line-height: .98 !important;
}

.tv_producto_panel_bloque {
  padding: .78rem .9rem;
  border-radius: 1.15rem;
}

.tv_producto_panel_label {
  margin-bottom: .45rem;
  font-size: .72rem;
  letter-spacing: .2em;
}

.tv_producto_panel_bloque p,
.tv_producto_panel_bloque span,
.tv_producto_panel_bloque small {
  font-size: .9rem;
}

.tv_producto_panel_precio strong {
  font-size: 2rem;
}

.tv_producto_estado_principal {
  margin-top: .5rem;
  padding: .65rem .8rem;
  border-radius: .95rem;
}

.tv_producto_beneficios_grid {
  gap: .55rem;
}

.tv_producto_beneficio_item {
  min-height: auto;
  padding: .7rem .8rem;
  border-radius: .95rem;
  font-size: .84rem;
}

.tv_producto_cantidad_card {
  gap: .8rem;
  padding: .85rem .95rem;
  border-radius: 1.15rem;
}

.tv_producto_cantidad_card label {
  font-size: 1rem;
}

.tv_producto_cantidad_card small {
  font-size: .8rem;
}

.tv_producto_cantidad_input {
  min-height: 3rem;
  font-size: 1.15rem;
}

.tv_producto_form_acciones {
  gap: .65rem;
}

.tv_producto_form_boton {
  min-height: 3rem;
}

.tv_producto_relacionados_acordeon summary {
  padding: .95rem 1rem;
}

.tv_producto_relacionados_contenido {
  padding: 0 1rem 1rem;
}

@media (max-width: 1279px) {
  #grid_catalogo_productos {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1023px) {
  .tv_catalogo_layout_final {
    gap: .9rem;
  }

  .tv_catalog_hero_coraline {
    grid-template-columns: 1fr;
  }

  #grid_catalogo_productos,
  .tv_producto_relacionados_contenido .tv_product_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .9rem !important;
  }

  .tv_producto_detalle_galeria,
  .tv_producto_panel_lateral {
    padding: .9rem !important;
  }
}

@media (max-width: 767px) {
  .tv_catalog_hero_coraline {
    padding: .9rem 1rem;
  }

  .tv_catalog_grid_meta {
    width: 100%;
    justify-content: center;
  }

  #grid_catalogo_productos,
  .tv_producto_relacionados_contenido .tv_product_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_producto_card_media_frame {
    min-height: 170px;
  }

  .tv_producto_card_imagen {
    max-height: 138px;
  }

  .tv_producto_card_actions_mobile,
  .tv_producto_form_acciones {
    grid-template-columns: 1fr;
  }

  .tv_breadcrumb_venus,
  .tv_breadcrumb_venus_compacto {
    font-size: .75rem;
    padding: .4rem .7rem;
  }

  .tv_producto_detalle_media {
    min-height: 240px !important;
  }

  .tv_producto_detalle_media img {
    max-height: 220px !important;
  }
}


/* TV-008 v224 · Reset limpio del catalogo y drawer movil */
.tv_page_catalogo .tv_catalog_hero_coraline,
.tv_page_catalogo .tv_catalog_grid_head_final {
  display: none !important;
}

.tv_page_catalogo .tv_catalog_section_unificada {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.82) 0, rgba(255, 255, 255, 0) 20%),
    radial-gradient(circle at 86% 22%, rgba(212, 182, 202, 0.28) 0, rgba(212, 182, 202, 0) 24%),
    radial-gradient(circle at 78% 72%, rgba(221, 212, 231, 0.48) 0, rgba(221, 212, 231, 0) 22%),
    linear-gradient(135deg, rgba(245, 242, 248, 0.98) 0%, rgba(232, 223, 239, 0.98) 45%, rgba(247, 240, 246, 0.98) 100%) !important;
}

.tv_page_catalogo .tv_catalog_section_unificada::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1.4px, transparent 1.5px),
    radial-gradient(circle, rgba(191, 175, 208, 0.42) 0 1px, transparent 1.1px),
    radial-gradient(circle, rgba(212, 182, 202, 0.35) 0 1.2px, transparent 1.3px);
  background-size: 180px 180px, 240px 240px, 310px 310px;
  background-position: 0 0, 40px 80px, 120px 40px;
  opacity: .42;
}

.tv_page_catalogo .tv_catalogo_layout_final {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1.45rem;
  align-items: start;
}

.tv_page_catalogo .tv_catalogo_sidebar_profesional,
.tv_page_catalogo .tv_catalogo_contenido_reset {
  min-width: 0;
}

.tv_page_catalogo .tv_catalog_filters_shell_final {
  position: sticky;
  top: 118px;
  padding: 1.2rem !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(196, 182, 211, 0.28) !important;
  box-shadow: 0 18px 34px rgba(93, 74, 117, 0.08) !important;
  backdrop-filter: blur(18px);
}

.tv_page_catalogo .tv_catalog_filters_topbar_final {
  padding: 0 0 .9rem !important;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(191, 175, 208, 0.18);
}

.tv_page_catalogo .tv_catalog_filters_form_final {
  gap: .85rem;
}

.tv_page_catalogo .tv_catalog_field {
  padding: .9rem;
  border-radius: 22px;
  border: 1px solid rgba(191, 175, 208, 0.18);
  background: rgba(249, 246, 251, 0.92);
}

.tv_page_catalogo .tv_catalog_field input,
.tv_page_catalogo .tv_catalog_field select,
.tv_page_catalogo .tv_catalog_actions .tv_btn {
  min-height: 3.2rem;
}

.tv_page_catalogo .tv_catalog_head_reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 1.2rem 1.35rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(196, 182, 211, 0.24);
  box-shadow: 0 16px 34px rgba(93, 74, 117, 0.08);
  backdrop-filter: blur(14px);
}

.tv_page_catalogo .tv_catalog_head_reset_copy {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.tv_page_catalogo .tv_catalog_head_reset_copy h1 {
  margin: 0;
  color: #4f4163;
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  line-height: .98;
}

.tv_page_catalogo .tv_catalog_head_reset_copy p {
  margin: 0;
  max-width: 680px;
  color: #6b5d75;
  font-size: .95rem;
  line-height: 1.6;
}

.tv_page_catalogo .tv_catalog_head_reset_meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  padding: .9rem 1rem;
  border-radius: 20px;
  background: rgba(248, 244, 250, 0.96);
  border: 1px solid rgba(191, 175, 208, 0.20);
  text-align: right;
  flex-shrink: 0;
}

.tv_page_catalogo .tv_catalog_head_reset_meta strong {
  color: #4f4163;
  font-size: .92rem;
}

.tv_page_catalogo .tv_catalog_head_reset_meta span {
  color: #7d7087;
  font-size: .8rem;
}

.tv_page_catalogo .tv_catalog_grid_wrap_reset {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.tv_page_catalogo #grid_catalogo_productos,
.tv_producto_relacionados_contenido .tv_product_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.2rem !important;
  align-items: stretch;
}

.tv_page_catalogo .tv_producto_card_base,
.tv_producto_relacionados_contenido .tv_product_grid > article {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 30px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 247, 252, 0.94) 100%) !important;
  border: 1px solid rgba(191, 175, 208, 0.2) !important;
  box-shadow: 0 18px 38px rgba(78, 63, 102, 0.08) !important;
  overflow: hidden;
}

.tv_page_catalogo .tv_producto_card_base::after,
.tv_producto_relacionados_contenido .tv_product_grid > article::after {
  display: none !important;
}

.tv_page_catalogo .tv_producto_card_media,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media {
  padding: 1rem 1rem .55rem;
}

.tv_page_catalogo .tv_producto_card_media_frame,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
  min-height: 0 !important;
  aspect-ratio: 1 / .84;
  border-radius: 24px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(243, 237, 247, 0.96) 0%, rgba(248, 244, 250, 0.96) 100%) !important;
}

.tv_page_catalogo .tv_producto_card_media_frame::before,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame::before {
  inset: 12px;
  border-radius: 18px;
}

.tv_page_catalogo .tv_producto_card_imagen,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_imagen {
  width: auto !important;
  height: auto !important;
  max-width: 84% !important;
  max-height: 84% !important;
  object-fit: contain;
  padding: 0 !important;
}

.tv_page_catalogo .tv_producto_card_overlay,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_overlay {
  opacity: 1;
  transform: none;
}

.tv_page_catalogo .tv_producto_card_body,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .78rem;
  padding: .1rem 1rem 1rem;
}

.tv_page_catalogo .tv_producto_card_badges,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badges {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  width: 100%;
  overflow: hidden;
}

.tv_page_catalogo .tv_producto_card_badge,
.tv_page_catalogo .tv_producto_card_badge_stock,
.tv_page_catalogo .tv_producto_card_badge_stock_agotado,
.tv_page_catalogo .tv_producto_card_badge_stock_bajo,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_agotado,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_bajo {
  flex: 0 1 auto;
  min-width: 0;
  padding: .52rem .92rem;
  font-size: .78rem;
  white-space: nowrap;
}

.tv_page_catalogo .tv_producto_card_title,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_title {
  margin: 0;
  min-height: 0 !important;
  color: #4f4163;
  font-size: clamp(1.18rem, 1.3vw, 1.55rem);
  line-height: 1.08;
}

.tv_page_catalogo .tv_producto_card_resumen,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
  margin: 0;
  min-height: 0 !important;
  color: #6e6078;
  font-size: .96rem;
  line-height: 1.6;
  max-width: 28ch;
}

.tv_page_catalogo .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_price_block {
  width: 100%;
  margin-top: auto;
  padding: 1rem .95rem;
  border-radius: 22px;
  background: rgba(248, 244, 250, 0.98);
  border: 1px solid rgba(191, 175, 208, 0.18);
}

.tv_page_catalogo .tv_producto_card_precio,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_precio {
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  line-height: 1;
}

.tv_page_catalogo .tv_producto_card_estado,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_estado {
  margin-top: .45rem;
  font-size: .9rem;
  line-height: 1.5;
}

.tv_page_catalogo .tv_producto_card_actions_mobile,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  width: 100%;
}

.tv_page_catalogo .tv_producto_card_cta,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
  min-height: 3.25rem;
  border-radius: 18px;
  font-size: .96rem;
}

#div_buscador_header_tienda_publica.tv_header_search_wrap {
  position: fixed !important;
  top: 104px;
  left: 0;
  right: 0;
  z-index: 78;
  padding: 0 !important;
  background: transparent !important;
}

#div_buscador_header_tienda_publica .tv_container {
  display: flex;
  justify-content: center;
}

#div_buscador_header_tienda_publica .tv_header_search_panel {
  width: min(780px, calc(100vw - 2rem));
  padding: .7rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(191, 175, 208, 0.24);
  box-shadow: 0 20px 42px rgba(72, 56, 96, 0.16);
  backdrop-filter: blur(18px);
}

#div_buscador_header_tienda_publica .tv_header_search_input_wrap {
  min-height: 3.2rem;
  border-radius: 18px;
}

#aside_carrito_tienda_publica.tv_drawer_carrito {
  width: min(100vw, 420px) !important;
  max-width: 420px;
  padding: 1rem 1rem 1.2rem !important;
  background: linear-gradient(180deg, rgba(247, 243, 250, 0.98) 0%, rgba(241, 232, 246, 0.98) 100%) !important;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: -.2rem 0 1rem;
  padding: .2rem 0 .85rem;
  background: inherit;
}

#aside_carrito_tienda_publica .tv_drawer_item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  padding: .95rem;
  border-radius: 24px;
}

#aside_carrito_tienda_publica .tv_drawer_item_media {
  width: 88px;
  min-width: 88px;
}

#aside_carrito_tienda_publica .tv_drawer_item_img,
#aside_carrito_tienda_publica .tv_drawer_item_placeholder {
  width: 88px;
  height: 88px;
  border-radius: 18px;
}

#aside_carrito_tienda_publica .tv_drawer_item_info {
  min-width: 0;
}

#aside_carrito_tienda_publica .tv_drawer_item_head {
  align-items: flex-start;
  gap: .7rem;
}

#aside_carrito_tienda_publica .tv_drawer_item_copy h4 {
  font-size: 1.05rem;
  line-height: 1.2;
}

#aside_carrito_tienda_publica .tv_drawer_item_meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
}

#aside_carrito_tienda_publica .tv_drawer_item_total_box {
  min-width: 110px;
  padding: .8rem .9rem;
  border-radius: 18px;
}

#aside_carrito_tienda_publica .tv_drawer_item_footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad {
  min-height: 3rem;
}

#aside_carrito_tienda_publica .tv_drawer_eliminar {
  min-height: 3rem;
  border-radius: 18px;
  padding: 0 1.2rem;
}

#aside_carrito_tienda_publica .tv_drawer_resumen_beneficio,
#aside_carrito_tienda_publica .tv_drawer_totales,
#aside_carrito_tienda_publica .tv_drawer_botones .tv_btn {
  border-radius: 22px;
}

#aside_carrito_tienda_publica .tv_drawer_botones {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

@media (max-width: 1180px) {
  .tv_page_catalogo .tv_catalogo_layout_final {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .tv_page_catalogo #grid_catalogo_productos,
  .tv_producto_relacionados_contenido .tv_product_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .tv_page_catalogo .tv_catalogo_layout_final {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tv_page_catalogo .tv_catalog_filters_shell_final {
    position: static;
    top: auto;
  }

  .tv_page_catalogo .tv_catalog_head_reset {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .tv_page_catalogo .tv_catalog_head_reset_meta {
    align-items: flex-start;
    text-align: left;
  }

  .tv_page_catalogo #grid_catalogo_productos,
  .tv_producto_relacionados_contenido .tv_product_grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .tv_page_catalogo .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > article {
    border-radius: 26px !important;
  }

  .tv_page_catalogo .tv_producto_card_media,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media {
    padding: .95rem .95rem .55rem;
  }

  .tv_page_catalogo .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
    aspect-ratio: 1 / .76;
  }

  .tv_page_catalogo .tv_producto_card_imagen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_imagen {
    max-width: 88% !important;
    max-height: 88% !important;
  }

  .tv_page_catalogo .tv_producto_card_body,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_body {
    padding: .1rem .95rem .95rem;
    gap: .7rem;
  }

  .tv_page_catalogo .tv_producto_card_badges,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badges {
    justify-content: center;
  }

  .tv_page_catalogo .tv_producto_card_badge,
  .tv_page_catalogo .tv_producto_card_badge_stock,
  .tv_page_catalogo .tv_producto_card_badge_stock_agotado,
  .tv_page_catalogo .tv_producto_card_badge_stock_bajo,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_agotado,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_bajo {
    font-size: .76rem;
    padding: .52rem .82rem;
  }

  .tv_page_catalogo .tv_producto_card_title,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_title {
    font-size: 1.55rem;
  }

  .tv_page_catalogo .tv_producto_card_resumen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
    max-width: none;
    font-size: 1rem;
  }

  .tv_page_catalogo .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_price_block {
    padding: 1rem .9rem;
  }

  .tv_page_catalogo .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_precio {
    font-size: 2.15rem;
  }

  .tv_page_catalogo .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile {
    gap: .8rem;
  }

  .tv_page_catalogo .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
    min-height: 3.4rem;
    font-size: 1rem;
  }

  #div_buscador_header_tienda_publica.tv_header_search_wrap {
    top: 94px;
  }

  #div_buscador_header_tienda_publica .tv_header_search_panel {
    width: calc(100vw - 1rem);
  }

  #aside_carrito_tienda_publica.tv_drawer_carrito {
    width: 100vw !important;
    max-width: 100vw;
    min-height: 100dvh;
    border-radius: 0;
    padding: .85rem .85rem 1.15rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_item {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_media {
    width: 100%;
    min-width: 0;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_img,
  #aside_carrito_tienda_publica .tv_drawer_item_placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / .86;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_meta,
  #aside_carrito_tienda_publica .tv_drawer_item_footer {
    grid-template-columns: 1fr;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_total_box,
  #aside_carrito_tienda_publica .tv_drawer_cantidad,
  #aside_carrito_tienda_publica .tv_drawer_eliminar {
    width: 100%;
  }
}


/* TV-008 v225 - Ajuste final catalogo, carrito y checkout */
.tv_page_catalogo #grid_catalogo_productos,
.tv_producto_relacionados_contenido .tv_product_grid {
  align-items: start !important;
}

.tv_page_catalogo .tv_producto_card_base,
.tv_producto_relacionados_contenido .tv_product_grid > article {
  align-self: start;
  height: auto !important;
  min-height: 0 !important;
}

.tv_page_catalogo .tv_producto_card_media_frame,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
  aspect-ratio: 1 / 0.9;
}

.tv_page_catalogo .tv_producto_card_imagen,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_imagen {
  max-width: 88% !important;
  max-height: 88% !important;
}

.tv_page_catalogo .tv_producto_card_body,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_body {
  gap: 0.72rem;
}

.tv_page_catalogo .tv_producto_card_resumen,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
  max-width: 30ch;
}

.tv_page_catalogo .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_price_block {
  margin-top: 0;
  min-height: 0;
}

.tv_page_catalogo .tv_producto_card_estado,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_estado {
  display: none !important;
}

.tv_producto_card_form_accion_mobile {
  display: block;
  width: 100%;
}

.tv_page_catalogo .tv_producto_card_actions_mobile,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile {
  align-items: stretch;
}

.tv_page_catalogo .tv_producto_card_cta,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.tv_page_catalogo .tv_producto_card_cta svg,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta svg {
  flex-shrink: 0;
}

#aside_carrito_tienda_publica .tv_drawer_item {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.9rem;
}

#aside_carrito_tienda_publica .tv_drawer_item_media {
  width: 76px;
  min-width: 76px;
}

#aside_carrito_tienda_publica .tv_drawer_item_img,
#aside_carrito_tienda_publica .tv_drawer_item_placeholder {
  width: 76px;
  height: 76px;
}

#aside_carrito_tienda_publica .tv_drawer_item_meta,
#aside_carrito_tienda_publica .tv_drawer_item_footer {
  gap: 0.65rem;
}

#aside_carrito_tienda_publica .tv_drawer_cantidad {
  min-height: 2.85rem;
}

#aside_carrito_tienda_publica .tv_drawer_eliminar {
  min-height: 2.85rem;
}

.tv_cart_card_venus {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) minmax(220px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.tv_cart_card_media {
  width: 108px;
}

.tv_cart_card_media .tv_producto_media_drawer {
  width: 108px;
  height: 108px;
}

.tv_cart_card_media .tv_producto_imagen {
  max-width: 86%;
  max-height: 86%;
}

.tv_cart_card_copy h3 {
  margin-bottom: 0.45rem;
}

.tv_cart_card_copy p {
  margin-bottom: 0.75rem;
}

.tv_cart_card_actions {
  width: 100%;
}

.tv_cart_qty_wrap {
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
  gap: 0.65rem;
}

.tv_checkout_resumen_item,
.tv_checkout_resumen_item_pago_v24 {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.tv_checkout_resumen_media,
.tv_checkout_resumen_media_pago {
  width: 74px;
}

.tv_checkout_resumen_media .tv_producto_media_checkout,
.tv_checkout_resumen_media_pago .tv_producto_media_checkout {
  width: 74px;
  height: 74px;
  min-height: 74px;
}

.tv_checkout_resumen_media .tv_producto_imagen,
.tv_checkout_resumen_media_pago .tv_producto_imagen {
  max-width: 84%;
  max-height: 84%;
}

@media (max-width: 860px) {
  .tv_page_catalogo .tv_catalog_head_reset {
    display: none !important;
  }

  .tv_page_catalogo .tv_catalog_grid_wrap_reset {
    margin-top: 0 !important;
  }

  .tv_page_catalogo .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > article {
    display: grid;
    grid-template-columns: minmax(132px, 34vw) minmax(0, 1fr);
    gap: 0.95rem;
    align-items: start;
    padding: 0.95rem;
    border-radius: 28px !important;
  }

  .tv_page_catalogo .tv_producto_card_media,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media {
    padding: 0;
  }

  .tv_page_catalogo .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
    aspect-ratio: 1 / 1.04;
    min-height: 154px;
    border-radius: 22px !important;
  }

  .tv_page_catalogo .tv_producto_card_media_frame::before,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame::before {
    inset: 9px;
    border-radius: 16px;
  }

  .tv_page_catalogo .tv_producto_card_imagen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_imagen {
    max-width: 92% !important;
    max-height: 92% !important;
  }

  .tv_page_catalogo .tv_producto_card_body,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_body {
    padding: 0;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    gap: 0.62rem;
  }

  .tv_page_catalogo .tv_producto_card_badges,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badges {
    justify-content: flex-start;
    gap: 0.35rem;
    width: auto;
  }

  .tv_page_catalogo .tv_producto_card_badge,
  .tv_page_catalogo .tv_producto_card_badge_stock,
  .tv_page_catalogo .tv_producto_card_badge_stock_agotado,
  .tv_page_catalogo .tv_producto_card_badge_stock_bajo,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_agotado,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_bajo {
    padding: 0.46rem 0.74rem;
    font-size: 0.74rem;
  }

  .tv_page_catalogo .tv_producto_card_title,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_title {
    font-size: clamp(1.28rem, 5vw, 1.55rem);
    line-height: 1.12;
  }

  .tv_page_catalogo .tv_producto_card_resumen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .tv_page_catalogo .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_price_block {
    width: 100%;
    padding: 0.86rem 0.82rem;
    border-radius: 20px;
  }

  .tv_page_catalogo .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_precio {
    font-size: 1.85rem;
  }

  .tv_page_catalogo .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile {
    width: 100%;
    gap: 0.55rem;
  }

  .tv_page_catalogo .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
    min-height: 3rem;
    font-size: 0.95rem;
    border-radius: 16px;
    padding: 0 0.85rem;
  }

  #aside_carrito_tienda_publica.tv_drawer_carrito {
    padding: 0.9rem 0.9rem 1.15rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado {
    position: sticky;
    top: 0;
    z-index: 3;
    margin: -0.2rem 0 0.85rem;
    padding: 0.2rem 0 0.75rem;
    background: inherit;
  }

  #aside_carrito_tienda_publica .tv_drawer_item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.85rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_media {
    width: 78px;
    min-width: 78px;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_img,
  #aside_carrito_tienda_publica .tv_drawer_item_placeholder {
    width: 78px;
    height: 78px;
    aspect-ratio: 1 / 1;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_head {
    gap: 0.6rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_copy h4 {
    font-size: 1rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_meta,
  #aside_carrito_tienda_publica .tv_drawer_item_footer {
    grid-template-columns: 1fr;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_total_box,
  #aside_carrito_tienda_publica .tv_drawer_cantidad,
  #aside_carrito_tienda_publica .tv_drawer_eliminar {
    width: 100%;
  }

  #aside_carrito_tienda_publica .tv_drawer_eliminar {
    border-radius: 16px;
  }

  .tv_cart_card_venus {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .tv_cart_card_media {
    width: 88px;
  }

  .tv_cart_card_media .tv_producto_media_drawer {
    width: 88px;
    height: 88px;
  }

  .tv_cart_card_copy {
    min-width: 0;
  }

  .tv_cart_card_copy p {
    margin-bottom: 0.55rem;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .tv_cart_card_actions {
    grid-column: 1 / -1;
  }

  .tv_cart_qty_wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .tv_checkout_resumen_item,
  .tv_checkout_resumen_item_pago_v24 {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.7rem;
  }

  .tv_checkout_resumen_media,
  .tv_checkout_resumen_media_pago {
    width: 64px;
  }

  .tv_checkout_resumen_media .tv_producto_media_checkout,
  .tv_checkout_resumen_media_pago .tv_producto_media_checkout {
    width: 64px;
    height: 64px;
    min-height: 64px;
  }
}


/* TV-008 v226 - Ajuste fino catalogo y drawer movil */
.tv_page_catalogo .tv_producto_card_actions_mobile,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.tv_page_catalogo .tv_producto_card_form_accion_mobile,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_form_accion_mobile {
  width: 100%;
}

.tv_page_catalogo .tv_producto_card_form_accion_mobile .tv_producto_card_cta,
.tv_page_catalogo .tv_producto_card_actions_mobile .tv_producto_card_cta,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_form_accion_mobile .tv_producto_card_cta,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile .tv_producto_card_cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  text-align: center;
  white-space: nowrap;
}

.tv_page_catalogo .tv_producto_card_form_accion_mobile .tv_producto_card_cta svg,
.tv_page_catalogo .tv_producto_card_actions_mobile .tv_producto_card_cta svg,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_form_accion_mobile .tv_producto_card_cta svg,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile .tv_producto_card_cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

#aside_carrito_tienda_publica.tv_drawer_carrito {
  background: #f6f0fa !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado {
  background: #f6f0fa !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(191, 175, 208, 0.20);
}

#aside_carrito_tienda_publica .tv_drawer_items,
#aside_carrito_tienda_publica .tv_drawer_resumen {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .tv_page_catalogo .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > article {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: .85rem;
    padding: .85rem;
    border-radius: 24px !important;
  }

  .tv_page_catalogo .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
    aspect-ratio: 1 / 1;
    min-height: 112px;
  }

  .tv_page_catalogo .tv_producto_card_imagen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_imagen {
    max-width: 94% !important;
    max-height: 94% !important;
  }

  .tv_page_catalogo .tv_producto_card_body,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_body {
    width: 100%;
    min-width: 0;
    gap: .52rem;
  }

  .tv_page_catalogo .tv_producto_card_badges,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badges {
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .tv_page_catalogo .tv_producto_card_badge,
  .tv_page_catalogo .tv_producto_card_badge_stock,
  .tv_page_catalogo .tv_producto_card_badge_stock_agotado,
  .tv_page_catalogo .tv_producto_card_badge_stock_bajo,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_agotado,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_bajo {
    flex: 0 1 auto;
    min-width: 0;
    padding: .42rem .68rem;
    font-size: .72rem;
  }

  .tv_page_catalogo .tv_producto_card_title,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_title {
    font-size: clamp(1.05rem, 4.6vw, 1.32rem);
    line-height: 1.12;
  }

  .tv_page_catalogo .tv_producto_card_resumen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
    font-size: .92rem;
    line-height: 1.4;
  }

  .tv_page_catalogo .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_price_block {
    padding: .72rem .78rem;
    border-radius: 18px;
  }

  .tv_page_catalogo .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_precio {
    font-size: 1.55rem;
  }

  .tv_page_catalogo .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile {
    gap: .45rem;
  }

  .tv_page_catalogo .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
    min-height: 2.7rem;
    font-size: .9rem;
    padding: 0 .68rem;
    border-radius: 14px;
  }

  #aside_carrito_tienda_publica.tv_drawer_carrito {
    width: 100dvw !important;
    max-width: 100dvw;
    padding: .9rem .8rem 1rem !important;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado {
    position: sticky;
    top: 0;
    margin: 0 0 .75rem;
    padding: 0 0 .7rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: .7rem;
    padding: .8rem;
    border-radius: 22px;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_media {
    width: 72px;
    min-width: 72px;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_img,
  #aside_carrito_tienda_publica .tv_drawer_item_placeholder {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: .55rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_copy {
    min-width: 0;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_copy h4 {
    font-size: 1rem;
    line-height: 1.18;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_precios strong {
    font-size: 1rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_meta,
  #aside_carrito_tienda_publica .tv_drawer_item_footer {
    grid-template-columns: 1fr !important;
    gap: .6rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_total_box {
    min-width: 0;
    width: 100%;
    padding: .8rem;
    border-radius: 16px;
  }

  #aside_carrito_tienda_publica .tv_drawer_cantidad {
    min-height: 2.8rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_cantidad button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  #aside_carrito_tienda_publica .tv_drawer_eliminar {
    min-height: 2.8rem;
    border-radius: 16px;
  }

  #aside_carrito_tienda_publica .tv_drawer_resumen_beneficio,
  #aside_carrito_tienda_publica .tv_drawer_totales,
  #aside_carrito_tienda_publica .tv_drawer_botones .tv_btn {
    border-radius: 18px;
  }

  #aside_carrito_tienda_publica .tv_drawer_nota {
    margin: .85rem 0 1rem;
    font-size: .96rem;
    line-height: 1.45;
  }
}

@media (max-width: 420px) {
  .tv_page_catalogo .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > article {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: .7rem;
    padding: .75rem;
  }

  .tv_page_catalogo .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
    min-height: 96px;
    border-radius: 18px !important;
  }

  .tv_page_catalogo .tv_producto_card_title,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_title {
    font-size: 1rem;
  }

  .tv_page_catalogo .tv_producto_card_resumen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
    font-size: .88rem;
  }

  .tv_page_catalogo .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_precio {
    font-size: 1.42rem;
  }

  .tv_page_catalogo .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
    min-height: 2.55rem;
    font-size: .84rem;
    padding: 0 .56rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado h3 {
    font-size: 2rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado p {
    font-size: .98rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    padding: .72rem;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_media {
    width: 64px;
    min-width: 64px;
  }

  #aside_carrito_tienda_publica .tv_drawer_item_img,
  #aside_carrito_tienda_publica .tv_drawer_item_placeholder {
    width: 64px;
    height: 64px;
  }
}

/* TV-008 v227 - Unificacion visual de cards de producto, checkout y carrito */
.tv_home_products_grid,
.tv_ofertas_lista .tv_home_products_grid,
.tv_page_catalogo #grid_catalogo_productos,
.tv_producto_relacionados_contenido .tv_product_grid {
  align-items: stretch;
}

.tv_home_products_grid > .tv_producto_card_base,
.tv_ofertas_lista .tv_home_products_grid > .tv_producto_card_base,
.tv_page_catalogo #grid_catalogo_productos > .tv_producto_card_base,
.tv_producto_relacionados_contenido .tv_product_grid > .tv_producto_card_base,
.tv_producto_relacionados_contenido .tv_product_grid > article {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tv_home_products_grid .tv_producto_card_base,
.tv_ofertas_lista .tv_producto_card_base,
.tv_page_catalogo .tv_producto_card_base,
.tv_producto_relacionados_contenido .tv_product_grid > article {
  border-radius: 30px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 252, 0.95) 100%) !important;
  border: 1px solid rgba(191, 175, 208, 0.22) !important;
  box-shadow: 0 18px 38px rgba(78, 63, 102, 0.08) !important;
  overflow: hidden;
}

.tv_home_products_grid .tv_producto_card_base::after,
.tv_ofertas_lista .tv_producto_card_base::after,
.tv_page_catalogo .tv_producto_card_base::after,
.tv_producto_relacionados_contenido .tv_product_grid > article::after {
  display: none !important;
}

.tv_home_products_grid .tv_producto_card_media,
.tv_ofertas_lista .tv_producto_card_media,
.tv_page_catalogo .tv_producto_card_media,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media {
  padding: 1rem 1rem .55rem;
}

.tv_home_products_grid .tv_producto_card_media_frame,
.tv_ofertas_lista .tv_producto_card_media_frame,
.tv_page_catalogo .tv_producto_card_media_frame,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
  min-height: 0 !important;
  aspect-ratio: 1 / .84;
  border-radius: 24px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(243, 237, 247, 0.96) 0%, rgba(248, 244, 250, 0.96) 100%) !important;
}

.tv_home_products_grid .tv_producto_card_media_frame::before,
.tv_ofertas_lista .tv_producto_card_media_frame::before,
.tv_page_catalogo .tv_producto_card_media_frame::before,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame::before {
  inset: 12px;
  border-radius: 18px;
}

.tv_home_products_grid .tv_producto_card_imagen,
.tv_ofertas_lista .tv_producto_card_imagen,
.tv_page_catalogo .tv_producto_card_imagen,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_imagen {
  width: auto !important;
  height: auto !important;
  max-width: 84% !important;
  max-height: 84% !important;
  object-fit: contain;
  padding: 0 !important;
}

.tv_home_products_grid .tv_producto_card_overlay,
.tv_ofertas_lista .tv_producto_card_overlay,
.tv_page_catalogo .tv_producto_card_overlay,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_overlay {
  opacity: 1;
  transform: none;
}

.tv_home_products_grid .tv_producto_card_body,
.tv_ofertas_lista .tv_producto_card_body,
.tv_page_catalogo .tv_producto_card_body,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .78rem;
  padding: .1rem 1rem 1rem;
}

.tv_home_products_grid .tv_producto_card_badges,
.tv_ofertas_lista .tv_producto_card_badges,
.tv_page_catalogo .tv_producto_card_badges,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badges {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  width: 100%;
  overflow: hidden;
}

.tv_home_products_grid .tv_producto_card_badge,
.tv_home_products_grid .tv_producto_card_badge_stock,
.tv_home_products_grid .tv_producto_card_badge_stock_agotado,
.tv_home_products_grid .tv_producto_card_badge_stock_bajo,
.tv_ofertas_lista .tv_producto_card_badge,
.tv_ofertas_lista .tv_producto_card_badge_stock,
.tv_ofertas_lista .tv_producto_card_badge_stock_agotado,
.tv_ofertas_lista .tv_producto_card_badge_stock_bajo,
.tv_page_catalogo .tv_producto_card_badge,
.tv_page_catalogo .tv_producto_card_badge_stock,
.tv_page_catalogo .tv_producto_card_badge_stock_agotado,
.tv_page_catalogo .tv_producto_card_badge_stock_bajo,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_agotado,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_bajo {
  flex: 0 1 auto;
  min-width: 0;
  padding: .52rem .92rem;
  font-size: .78rem;
  white-space: nowrap;
}

.tv_home_products_grid .tv_producto_card_title,
.tv_ofertas_lista .tv_producto_card_title,
.tv_page_catalogo .tv_producto_card_title,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_title {
  margin: 0;
  min-height: calc(1.12em * 2);
  color: #4f4163;
  font-size: clamp(1.18rem, 1.3vw, 1.55rem);
  line-height: 1.12;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv_home_products_grid .tv_producto_card_resumen,
.tv_ofertas_lista .tv_producto_card_resumen,
.tv_page_catalogo .tv_producto_card_resumen,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
  margin: 0;
  min-height: calc(1.48em * 2);
  color: #6e6078;
  font-size: .96rem;
  line-height: 1.48;
  max-width: 28ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv_home_products_grid .tv_producto_card_price_block,
.tv_ofertas_lista .tv_producto_card_price_block,
.tv_page_catalogo .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_price_block {
  width: 100%;
  margin-top: auto;
  min-height: 82px;
  padding: 1rem .95rem;
  border-radius: 22px;
  background: rgba(248, 244, 250, 0.98);
  border: 1px solid rgba(191, 175, 208, 0.18);
}

.tv_home_products_grid .tv_producto_card_precio,
.tv_ofertas_lista .tv_producto_card_precio,
.tv_page_catalogo .tv_producto_card_precio,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_precio {
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  line-height: 1;
  justify-content: center;
}

.tv_home_products_grid .tv_producto_card_actions_mobile,
.tv_ofertas_lista .tv_producto_card_actions_mobile,
.tv_page_catalogo .tv_producto_card_actions_mobile,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  width: 100%;
}

.tv_home_products_grid .tv_producto_card_form_accion_mobile,
.tv_ofertas_lista .tv_producto_card_form_accion_mobile,
.tv_page_catalogo .tv_producto_card_form_accion_mobile,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_form_accion_mobile {
  width: 100%;
}

.tv_home_products_grid .tv_producto_card_cta,
.tv_ofertas_lista .tv_producto_card_cta,
.tv_page_catalogo .tv_producto_card_cta,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
  min-height: 3.25rem;
  border-radius: 18px;
  font-size: .96rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  text-align: center;
  white-space: nowrap;
}

.tv_home_products_grid .tv_producto_card_cta svg,
.tv_ofertas_lista .tv_producto_card_cta svg,
.tv_page_catalogo .tv_producto_card_cta svg,
.tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.tv_page_carrito .tv_cart_card_venus,
.tv_checkout_pagina .tv_checkout_resumen_item,
.tv_checkout_pago_pagina_v24 .tv_checkout_resumen_item_pago_v24 {
  border-radius: 28px !important;
  border: 1px solid rgba(191, 175, 208, 0.22) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 251, 0.96) 100%) !important;
  box-shadow: 0 16px 34px rgba(104, 86, 102, 0.06) !important;
}

.tv_page_carrito .tv_cart_card_media,
.tv_checkout_pagina .tv_checkout_resumen_media,
.tv_checkout_pago_pagina_v24 .tv_checkout_resumen_media_pago {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv_page_carrito .tv_cart_card_media .tv_producto_media,
.tv_checkout_pagina .tv_checkout_resumen_media .tv_producto_media,
.tv_checkout_pago_pagina_v24 .tv_checkout_resumen_media_pago .tv_producto_media {
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(243, 237, 247, 0.96) 0%, rgba(248, 244, 250, 0.96) 100%);
  border: 1px solid rgba(191, 175, 208, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tv_page_carrito .tv_cart_card_media .tv_producto_imagen,
.tv_checkout_pagina .tv_checkout_resumen_media .tv_producto_imagen,
.tv_checkout_pago_pagina_v24 .tv_checkout_resumen_media_pago .tv_producto_imagen {
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
}

.tv_page_carrito .tv_cart_card_copy h3,
.tv_checkout_pagina .tv_checkout_resumen_info strong,
.tv_checkout_pago_pagina_v24 .tv_checkout_resumen_info strong {
  color: #4f4163;
  line-height: 1.12;
}

.tv_page_carrito .tv_cart_card_copy p {
  color: #6e6078;
}

.tv_checkout_pagina .tv_checkout_resumen_info,
.tv_checkout_pago_pagina_v24 .tv_checkout_resumen_info {
  display: grid;
  gap: .36rem;
}

.tv_checkout_pagina .tv_checkout_resumen_info span,
.tv_checkout_pago_pagina_v24 .tv_checkout_resumen_info span,
.tv_page_carrito .tv_cart_card_meta span {
  color: #8A7A88;
}

.tv_checkout_pagina .tv_checkout_resumen_info b,
.tv_checkout_pago_pagina_v24 .tv_checkout_resumen_info b,
.tv_page_carrito .tv_cart_line_total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(248, 244, 250, 0.98);
  border: 1px solid rgba(191, 175, 208, 0.18);
  color: #9B7EBD;
}

@media (max-width: 860px) {
  .tv_home_products_grid .tv_producto_card_base,
  .tv_ofertas_lista .tv_producto_card_base,
  .tv_page_catalogo .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > article {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: .85rem;
    padding: .85rem;
    border-radius: 24px !important;
  }

  .tv_home_products_grid .tv_producto_card_media,
  .tv_ofertas_lista .tv_producto_card_media,
  .tv_page_catalogo .tv_producto_card_media,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media {
    padding: 0;
  }

  .tv_home_products_grid .tv_producto_card_media_frame,
  .tv_ofertas_lista .tv_producto_card_media_frame,
  .tv_page_catalogo .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
    aspect-ratio: 1 / 1;
    min-height: 112px;
  }

  .tv_home_products_grid .tv_producto_card_imagen,
  .tv_ofertas_lista .tv_producto_card_imagen,
  .tv_page_catalogo .tv_producto_card_imagen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_imagen {
    max-width: 94% !important;
    max-height: 94% !important;
  }

  .tv_home_products_grid .tv_producto_card_body,
  .tv_ofertas_lista .tv_producto_card_body,
  .tv_page_catalogo .tv_producto_card_body,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_body {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    text-align: left;
    gap: .52rem;
    padding: 0;
  }

  .tv_home_products_grid .tv_producto_card_badges,
  .tv_ofertas_lista .tv_producto_card_badges,
  .tv_page_catalogo .tv_producto_card_badges,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badges {
    justify-content: flex-start;
  }

  .tv_home_products_grid .tv_producto_card_badge,
  .tv_home_products_grid .tv_producto_card_badge_stock,
  .tv_home_products_grid .tv_producto_card_badge_stock_agotado,
  .tv_home_products_grid .tv_producto_card_badge_stock_bajo,
  .tv_ofertas_lista .tv_producto_card_badge,
  .tv_ofertas_lista .tv_producto_card_badge_stock,
  .tv_ofertas_lista .tv_producto_card_badge_stock_agotado,
  .tv_ofertas_lista .tv_producto_card_badge_stock_bajo,
  .tv_page_catalogo .tv_producto_card_badge,
  .tv_page_catalogo .tv_producto_card_badge_stock,
  .tv_page_catalogo .tv_producto_card_badge_stock_agotado,
  .tv_page_catalogo .tv_producto_card_badge_stock_bajo,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_agotado,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_badge_stock_bajo {
    padding: .42rem .68rem;
    font-size: .72rem;
  }

  .tv_home_products_grid .tv_producto_card_title,
  .tv_ofertas_lista .tv_producto_card_title,
  .tv_page_catalogo .tv_producto_card_title,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_title {
    font-size: clamp(1.05rem, 4.6vw, 1.32rem);
    min-height: calc(1.12em * 2);
  }

  .tv_home_products_grid .tv_producto_card_resumen,
  .tv_ofertas_lista .tv_producto_card_resumen,
  .tv_page_catalogo .tv_producto_card_resumen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
    font-size: .92rem;
    min-height: calc(1.42em * 2);
    max-width: none;
  }

  .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_producto_card_price_block,
  .tv_page_catalogo .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_price_block {
    min-height: 0;
    padding: .72rem .78rem;
    border-radius: 18px;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  .tv_page_catalogo .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_precio {
    justify-content: flex-start;
    font-size: 1.55rem;
  }

  .tv_home_products_grid .tv_producto_card_actions_mobile,
  .tv_ofertas_lista .tv_producto_card_actions_mobile,
  .tv_page_catalogo .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_actions_mobile {
    gap: .45rem;
  }

  .tv_home_products_grid .tv_producto_card_cta,
  .tv_ofertas_lista .tv_producto_card_cta,
  .tv_page_catalogo .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
    min-height: 2.7rem;
    font-size: .9rem;
    padding: 0 .68rem;
    border-radius: 14px;
  }

  .tv_page_carrito .tv_cart_card_venus,
  .tv_checkout_pagina .tv_checkout_resumen_item,
  .tv_checkout_pago_pagina_v24 .tv_checkout_resumen_item_pago_v24 {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: .75rem !important;
    padding: .82rem !important;
  }

  .tv_page_carrito .tv_cart_card_media .tv_producto_media,
  .tv_checkout_pagina .tv_checkout_resumen_media .tv_producto_media,
  .tv_checkout_pago_pagina_v24 .tv_checkout_resumen_media_pago .tv_producto_media {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .tv_home_products_grid .tv_producto_card_base,
  .tv_ofertas_lista .tv_producto_card_base,
  .tv_page_catalogo .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > article {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: .7rem;
    padding: .75rem;
  }

  .tv_home_products_grid .tv_producto_card_media_frame,
  .tv_ofertas_lista .tv_producto_card_media_frame,
  .tv_page_catalogo .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_media_frame {
    min-height: 96px;
    border-radius: 18px !important;
  }

  .tv_home_products_grid .tv_producto_card_title,
  .tv_ofertas_lista .tv_producto_card_title,
  .tv_page_catalogo .tv_producto_card_title,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_title {
    font-size: 1rem;
  }

  .tv_home_products_grid .tv_producto_card_resumen,
  .tv_ofertas_lista .tv_producto_card_resumen,
  .tv_page_catalogo .tv_producto_card_resumen,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_resumen {
    font-size: .88rem;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  .tv_page_catalogo .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_precio {
    font-size: 1.42rem;
  }

  .tv_home_products_grid .tv_producto_card_cta,
  .tv_ofertas_lista .tv_producto_card_cta,
  .tv_page_catalogo .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid > article .tv_producto_card_cta {
    min-height: 2.55rem;
    font-size: .84rem;
    padding: 0 .56rem;
  }
}


/* Ajuste final v228: unificación real de cards de producto */
.tv_home_products_grid,
.tv_ofertas_lista .tv_home_products_grid,
#grid_catalogo_productos,
.tv_producto_relacionados_contenido .tv_product_grid {
  align-items: stretch !important;
}

.tv_home_products_grid > .tv_producto_card_base,
.tv_ofertas_lista .tv_home_products_grid > .tv_producto_card_base,
#grid_catalogo_productos > .tv_producto_card_base,
.tv_producto_relacionados_contenido .tv_product_grid > .tv_producto_card_base {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 100% !important;
}

.tv_home_products_grid .tv_producto_card_media_frame,
.tv_ofertas_lista .tv_producto_card_media_frame,
#grid_catalogo_productos .tv_producto_card_media_frame,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_media_frame {
  width: 100% !important;
  min-height: 220px !important;
  height: 220px !important;
}

.tv_home_products_grid .tv_producto_card_imagen,
.tv_ofertas_lista .tv_producto_card_imagen,
#grid_catalogo_productos .tv_producto_card_imagen,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_imagen {
  width: 100% !important;
  height: 176px !important;
  max-height: 176px !important;
  object-fit: contain !important;
}

.tv_home_products_grid .tv_producto_card_body,
.tv_ofertas_lista .tv_producto_card_body,
#grid_catalogo_productos .tv_producto_card_body,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_body {
  flex: 1 1 auto !important;
}

.tv_home_products_grid .tv_producto_card_title,
.tv_ofertas_lista .tv_producto_card_title,
#grid_catalogo_productos .tv_producto_card_title,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_title {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  min-height: calc(1.24em * 2) !important;
}

.tv_home_products_grid .tv_producto_card_resumen,
.tv_ofertas_lista .tv_producto_card_resumen,
#grid_catalogo_productos .tv_producto_card_resumen,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_resumen {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  min-height: calc(1.48em * 2) !important;
}

.tv_home_products_grid .tv_producto_card_price_block,
.tv_ofertas_lista .tv_producto_card_price_block,
#grid_catalogo_productos .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
  min-height: 58px !important;
}

@media (max-width: 860px) {
  .tv_home_products_grid > .tv_producto_card_base,
  .tv_ofertas_lista .tv_home_products_grid > .tv_producto_card_base,
  #grid_catalogo_productos > .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > .tv_producto_card_base {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: .85rem !important;
    padding: .85rem !important;
    border-radius: 24px !important;
    min-height: 244px !important;
  }

  .tv_home_products_grid .tv_producto_card_media,
  .tv_ofertas_lista .tv_producto_card_media,
  #grid_catalogo_productos .tv_producto_card_media,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_media {
    padding: 0 !important;
  }

  .tv_home_products_grid .tv_producto_card_media_frame,
  .tv_ofertas_lista .tv_producto_card_media_frame,
  #grid_catalogo_productos .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_media_frame {
    width: 104px !important;
    min-width: 104px !important;
    height: 104px !important;
    min-height: 104px !important;
    aspect-ratio: 1 / 1 !important;
    padding: .55rem !important;
    border-radius: 22px !important;
  }

  .tv_home_products_grid .tv_producto_card_imagen,
  .tv_ofertas_lista .tv_producto_card_imagen,
  #grid_catalogo_productos .tv_producto_card_imagen,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_imagen {
    width: 100% !important;
    height: 88px !important;
    max-height: 88px !important;
  }

  .tv_home_products_grid .tv_producto_card_body,
  .tv_ofertas_lista .tv_producto_card_body,
  #grid_catalogo_productos .tv_producto_card_body,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_body {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: .52rem !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .tv_home_products_grid .tv_producto_card_badges,
  .tv_ofertas_lista .tv_producto_card_badges,
  #grid_catalogo_productos .tv_producto_card_badges,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badges {
    justify-content: flex-start !important;
    gap: .42rem !important;
  }

  .tv_home_products_grid .tv_producto_card_title,
  .tv_ofertas_lista .tv_producto_card_title,
  #grid_catalogo_productos .tv_producto_card_title,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_title {
    width: 100% !important;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.24 !important;
    text-align: left !important;
    min-height: calc(1.24em * 2) !important;
  }

  .tv_home_products_grid .tv_producto_card_resumen,
  .tv_ofertas_lista .tv_producto_card_resumen,
  #grid_catalogo_productos .tv_producto_card_resumen,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_resumen {
    width: 100% !important;
    margin: 0 !important;
    font-size: .9rem !important;
    line-height: 1.45 !important;
    text-align: left !important;
    min-height: calc(1.45em * 2) !important;
  }

  .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_producto_card_price_block,
  #grid_catalogo_productos .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
    width: 100% !important;
    min-height: 52px !important;
    margin-top: auto !important;
    padding: .72rem .8rem !important;
    border-radius: 18px !important;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    justify-content: flex-start !important;
    font-size: 1.1rem !important;
  }

  .tv_home_products_grid .tv_producto_card_actions_mobile,
  .tv_ofertas_lista .tv_producto_card_actions_mobile,
  #grid_catalogo_productos .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_actions_mobile {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: .5rem !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .tv_home_products_grid .tv_producto_card_form_accion_mobile,
  .tv_ofertas_lista .tv_producto_card_form_accion_mobile,
  #grid_catalogo_productos .tv_producto_card_form_accion_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_form_accion_mobile {
    display: flex !important;
    width: 100% !important;
  }

  .tv_home_products_grid .tv_producto_card_cta,
  .tv_ofertas_lista .tv_producto_card_cta,
  #grid_catalogo_productos .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_cta {
    min-height: 42px !important;
    padding: 0 .7rem !important;
    border-radius: 14px !important;
    font-size: .84rem !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 420px) {
  .tv_home_products_grid > .tv_producto_card_base,
  .tv_ofertas_lista .tv_home_products_grid > .tv_producto_card_base,
  #grid_catalogo_productos > .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > .tv_producto_card_base {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    min-height: 236px !important;
    padding: .78rem !important;
  }

  .tv_home_products_grid .tv_producto_card_media_frame,
  .tv_ofertas_lista .tv_producto_card_media_frame,
  #grid_catalogo_productos .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_media_frame {
    width: 96px !important;
    min-width: 96px !important;
    height: 96px !important;
    min-height: 96px !important;
    border-radius: 20px !important;
  }

  .tv_home_products_grid .tv_producto_card_imagen,
  .tv_ofertas_lista .tv_producto_card_imagen,
  #grid_catalogo_productos .tv_producto_card_imagen,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_imagen {
    height: 80px !important;
    max-height: 80px !important;
  }

  .tv_home_products_grid .tv_producto_card_actions_mobile,
  .tv_ofertas_lista .tv_producto_card_actions_mobile,
  #grid_catalogo_productos .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_actions_mobile {
    grid-template-columns: 1fr 1fr !important;
  }

  .tv_home_products_grid .tv_producto_card_cta,
  .tv_ofertas_lista .tv_producto_card_cta,
  #grid_catalogo_productos .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_cta {
    min-height: 40px !important;
    font-size: .8rem !important;
  }
}


/* Ajuste v229: carrito móvil consistente y aislado de cards del catálogo */
.tv_page_carrito .tv_cart_card_venus {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) 230px !important;
  align-items: start !important;
  gap: 1rem !important;
}

.tv_page_carrito .tv_cart_card_media {
  align-self: start;
}

.tv_page_carrito .tv_cart_card_copy {
  min-width: 0;
}

.tv_page_carrito .tv_cart_card_copy h3 {
  font-size: 1.5rem !important;
}

.tv_page_carrito .tv_cart_card_actions {
  width: 100%;
  min-width: 0;
}

.tv_page_carrito .tv_cart_card_footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
}

.tv_page_carrito .tv_link_button_danger {
  min-width: 120px;
  justify-self: end;
}

@media (max-width: 860px) {
  .tv_page_carrito .tv_cart_card_venus {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: .85rem !important;
    padding: .9rem !important;
  }

  .tv_page_carrito .tv_cart_card_media .tv_producto_media {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
  }

  .tv_page_carrito .tv_cart_card_copy {
    gap: .5rem !important;
  }

  .tv_page_carrito .tv_cart_card_copy h3 {
    font-size: 1.15rem !important;
    line-height: 1.18 !important;
  }

  .tv_page_carrito .tv_cart_card_copy p {
    font-size: .92rem !important;
    line-height: 1.4 !important;
  }

  .tv_page_carrito .tv_cart_card_meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: .65rem !important;
  }

  .tv_page_carrito .tv_cart_card_actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem !important;
  }

  .tv_page_carrito .tv_cart_qty_form label {
    margin-bottom: .38rem !important;
    font-size: .9rem !important;
  }

  .tv_page_carrito .tv_cart_qty_wrap {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: .55rem !important;
  }

  .tv_page_carrito .tv_cart_qty_wrap input {
    min-height: 44px !important;
    padding: 0 .5rem !important;
  }

  .tv_page_carrito .tv_cart_qty_wrap .tv_btn,
  .tv_page_carrito .tv_cart_card_footer .tv_link_button_danger {
    min-height: 44px !important;
  }

  .tv_page_carrito .tv_cart_card_footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .55rem !important;
  }

  .tv_page_carrito .tv_cart_line_total {
    width: 100%;
    min-height: 44px !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
  }

  .tv_page_carrito .tv_link_button_danger {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
}

@media (max-width: 520px) {
  .tv_page_carrito .tv_cart_card_venus {
    grid-template-columns: 80px minmax(0, 1fr) !important;
    gap: .75rem !important;
    padding: .82rem !important;
    border-radius: 24px !important;
  }

  .tv_page_carrito .tv_cart_card_media .tv_producto_media {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 18px !important;
  }

  .tv_page_carrito .tv_cart_card_copy h3 {
    font-size: 1.02rem !important;
  }

  .tv_page_carrito .tv_cart_card_copy p {
    font-size: .88rem !important;
  }

  .tv_page_carrito .tv_cart_card_price {
    font-size: 1.02rem !important;
  }

  .tv_page_carrito .tv_cart_card_meta span {
    font-size: .82rem !important;
  }

  .tv_page_carrito .tv_cart_qty_wrap,
  .tv_page_carrito .tv_cart_card_footer {
    grid-template-columns: 1fr !important;
  }
}

/* Ajuste v230: cierre visual de carrito móvil */
@media (max-width: 520px) {
  .tv_page_carrito .tv_cart_card_actions {
    gap: .62rem !important;
  }

  .tv_page_carrito .tv_cart_qty_form {
    display: grid !important;
    gap: .34rem !important;
  }

  .tv_page_carrito .tv_cart_qty_form label {
    margin-bottom: 0 !important;
  }

  .tv_page_carrito .tv_cart_qty_wrap {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    align-items: center !important;
  }

  .tv_page_carrito .tv_cart_qty_wrap input,
  .tv_page_carrito .tv_cart_qty_wrap .tv_btn {
    width: 100% !important;
  }

  .tv_page_carrito .tv_cart_card_footer {
    grid-template-columns: minmax(0, 1fr) 116px !important;
    align-items: center !important;
    gap: .55rem !important;
  }

  .tv_page_carrito .tv_cart_line_total {
    width: 100% !important;
    margin: 0 !important;
  }

  .tv_page_carrito .tv_form_eliminar_carrito {
    width: 116px !important;
    margin: 0 !important;
    justify-self: end !important;
  }

  .tv_page_carrito .tv_form_eliminar_carrito .tv_link_button_danger {
    width: 100% !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 .9rem !important;
    border-radius: 16px !important;
    background: rgba(249, 240, 244, 0.92) !important;
    border: 1px solid rgba(206, 174, 187, 0.34) !important;
  }
}



.tv_checkout_resumen_promocion_bloque {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid rgba(191, 175, 208, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(145deg, rgba(118, 88, 150, 0.10) 0%, rgba(243, 214, 211, 0.24) 44%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 24px 50px rgba(146, 116, 176, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.tv_checkout_resumen_promocion_decoracion {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tv_checkout_resumen_promocion_decoracion span {
  position: absolute;
  border-radius: 999px;
  opacity: 0.55;
}

.tv_checkout_resumen_promocion_decoracion span:first-child {
  top: -44px;
  right: -18px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(220, 188, 219, 0.72) 0%, rgba(220, 188, 219, 0) 72%);
}

.tv_checkout_resumen_promocion_decoracion span:last-child {
  bottom: -58px;
  left: -26px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(191, 175, 208, 0.34) 0%, rgba(191, 175, 208, 0) 70%);
}

.tv_checkout_resumen_promocion_header {
  position: relative;
  display: grid;
  gap: 7px;
}

.tv_checkout_promocion_overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 175, 208, 0.24);
  color: #8d6eb2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tv_checkout_promocion_overline::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9b7ebd 0%, #e7b8c9 100%);
  box-shadow: 0 0 0 5px rgba(155, 126, 189, 0.10);
}

.tv_checkout_resumen_promocion_header span {
  position: relative;
  font-size: 1.16rem;
  font-weight: 800;
  color: #5c465f;
}

.tv_checkout_resumen_promocion_header p {
  margin: 0;
  max-width: 30rem;
  color: rgba(96, 84, 98, 0.88);
  line-height: 1.55;
}

.tv_checkout_promocion_inline_resumen {
  align-items: stretch;
}

.tv_checkout_promocion_inline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.tv_checkout_promocion_campo_wrap {
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid rgba(191, 175, 208, 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 243, 250, 0.88) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 18px 32px rgba(191, 175, 208, 0.10);
  backdrop-filter: blur(10px);
}

.tv_checkout_promocion_campo_label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a6bab;
}

.tv_checkout_promocion_campo_label::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9b7ebd 0%, #e7b8c9 100%);
  box-shadow: 0 0 0 5px rgba(155, 126, 189, 0.10);
}

.tv_checkout_promocion_campo {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(164, 146, 183, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 10px 20px rgba(191, 175, 208, 0.08);
  box-sizing: border-box;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: #654d68;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tv_checkout_promocion_campo:focus {
  outline: none;
  border-color: rgba(155, 126, 189, 0.58);
  box-shadow: 0 0 0 4px rgba(155, 126, 189, 0.10), 0 12px 24px rgba(191, 175, 208, 0.14);
  transform: translateY(-1px);
}

.tv_checkout_promocion_campo::placeholder {
  color: rgba(125, 112, 133, 0.64);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.tv_checkout_promocion_acciones {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tv_checkout_promocion_accion {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid rgba(155, 126, 189, 0.16);
  background: linear-gradient(135deg, #9b7ebd 0%, #c9a7c8 52%, #f0c8c7 100%);
  box-shadow: 0 14px 26px rgba(155, 126, 189, 0.18);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.tv_checkout_promocion_accion_quitar {
  border-color: rgba(155, 126, 189, 0.22);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 12px 22px rgba(191, 175, 208, 0.12);
  color: #7a5c93;
}

.tv_checkout_promocion_accion_quitar:hover,
.tv_checkout_promocion_accion_quitar:focus {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 16px 26px rgba(191, 175, 208, 0.16);
  color: #6d4f88;
}

.tv_checkout_promocion_accion:hover,
.tv_checkout_promocion_accion:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(155, 126, 189, 0.22);
}

@media (min-width: 1024px) {
  .tv_checkout_promocion_inline_resumen {
    gap: 16px;
  }

  .tv_checkout_promocion_campo_wrap {
    padding: 16px 18px 18px;
  }

  .tv_checkout_promocion_acciones {
    justify-content: flex-start;
  }

  .tv_checkout_promocion_accion {
    flex: 1 1 calc(50% - 5px);
  }
}

.tv_checkout_promocion_hint {
  position: relative;
  display: block;
  margin-top: -2px;
  color: rgba(96, 84, 98, 0.84);
  line-height: 1.5;
}

.tv_checkout_promocion_estado {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(155, 126, 189, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 237, 248, 0.96) 100%);
  box-shadow: 0 16px 30px rgba(169, 138, 213, 0.12);
}

.tv_checkout_promocion_estado_icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(155, 126, 189, 0.10);
  color: #7b5da4;
  font-size: 1.2rem;
  font-weight: 800;
}

.tv_checkout_promocion_estado_contenido {
  display: grid;
  gap: 6px;
}

.tv_checkout_promocion_estado_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(155, 126, 189, 0.12);
  color: #7b5da4;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tv_checkout_promocion_estado strong {
  font-size: 1rem;
  color: #5f4964;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tv_checkout_promocion_estado span {
  color: rgba(92, 70, 95, 0.92);
  line-height: 1.52;
}

.tv_checkout_promocion_estado_exito {
  border-color: rgba(110, 170, 132, 0.24);
  background: linear-gradient(180deg, rgba(251, 255, 252, 0.98) 0%, rgba(238, 247, 240, 0.98) 100%);
}

.tv_checkout_promocion_estado_exito .tv_checkout_promocion_estado_icono,
.tv_checkout_promocion_estado_exito .tv_checkout_promocion_estado_badge {
  background: rgba(110, 170, 132, 0.16);
  color: #3d7a50;
}

.tv_checkout_promocion_estado_error {
  border-color: rgba(180, 98, 108, 0.22);
}

.tv_checkout_promocion_estado_invalido {
  background: linear-gradient(180deg, rgba(255, 251, 251, 0.98) 0%, rgba(255, 241, 242, 0.98) 100%);
}

.tv_checkout_promocion_estado_invalido .tv_checkout_promocion_estado_icono,
.tv_checkout_promocion_estado_invalido .tv_checkout_promocion_estado_badge {
  background: rgba(180, 98, 108, 0.14);
  color: #a24b59;
}

.tv_checkout_promocion_estado_vencido {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 245, 224, 0.98) 100%);
  border-color: rgba(204, 157, 73, 0.28);
}

.tv_checkout_promocion_estado_vencido .tv_checkout_promocion_estado_icono,
.tv_checkout_promocion_estado_vencido .tv_checkout_promocion_estado_badge {
  background: rgba(204, 157, 73, 0.16);
  color: #a6791f;
}

.tv_checkout_promocion_estado_minima {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(237, 244, 255, 0.98) 100%);
  border-color: rgba(86, 131, 201, 0.24);
}

.tv_checkout_promocion_estado_minima .tv_checkout_promocion_estado_icono,
.tv_checkout_promocion_estado_minima .tv_checkout_promocion_estado_badge {
  background: rgba(86, 131, 201, 0.16);
  color: #406fae;
}

.tv_checkout_promocion_estado_maxima {
  background: linear-gradient(180deg, rgba(255, 248, 251, 0.98) 0%, rgba(255, 237, 244, 0.98) 100%);
  border-color: rgba(192, 102, 146, 0.24);
}

.tv_checkout_promocion_estado_maxima .tv_checkout_promocion_estado_icono,
.tv_checkout_promocion_estado_maxima .tv_checkout_promocion_estado_badge {
  background: rgba(192, 102, 146, 0.16);
  color: #a14d77;
}

@media (max-width: 767px) {
  .tv_checkout_resumen_promocion_bloque {
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
  }

  .tv_checkout_promocion_inline,
  .tv_checkout_promocion_inline_resumen {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tv_checkout_promocion_acciones {
    width: 100%;
    flex-direction: column;
  }

  .tv_checkout_promocion_campo_wrap {
    width: 100%;
    padding: 14px 14px 16px;
    box-sizing: border-box;
  }

  .tv_checkout_promocion_campo,
  .tv_checkout_promocion_accion {
    min-height: 54px;
  }

  .tv_checkout_promocion_campo {
    width: 100%;
    max-width: 100%;
    font-size: 0.98rem;
  }

  .tv_checkout_promocion_accion {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    justify-self: stretch;
  }

  .tv_checkout_promocion_estado {
    padding: 14px 15px;
  }
}


@media (max-width: 767px) {
  .tv_checkout_form_compacto,
  .tv_checkout_panel_formulario,
  .tv_checkout_panel_resumen,
  .tv_checkout_pago_formulario,
  .tv_checkout_panel_pago_resumen {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .tv_checkout_compacto,
  .tv_checkout_pago_layout {
    width: 100% !important;
  }
}


/* TV-010 / TV-011 v244.1 - Correccion visual promo checkout y drawer carrito */
#aside_carrito_tienda_publica.tv_drawer_carrito {
  isolation: isolate;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado {
  position: sticky;
  top: 0;
  z-index: 14;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0 0.9rem;
  background: linear-gradient(180deg, rgba(246, 240, 250, 0.99) 0%, rgba(246, 240, 250, 0.97) 78%, rgba(246, 240, 250, 0.92) 100%) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(191, 175, 208, 0.26) !important;
  box-shadow: 0 12px 24px rgba(104, 86, 102, 0.06) !important;
}

#aside_carrito_tienda_publica .tv_drawer_encabezado::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(191, 175, 208, 0.18);
}

.tv_checkout_promocion_acciones {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.tv_checkout_promocion_accion {
  width: 100%;
  min-width: 0;
  flex: none;
  height: 50px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1;
}

.tv_checkout_promocion_accion_quitar {
  background: rgba(255, 255, 255, 0.94);
  color: #7a5c93;
}

.tv_checkout_promocion_accion_inactiva,
.tv_checkout_promocion_accion:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.tv_checkout_promocion_accion:disabled:hover,
.tv_checkout_promocion_accion:disabled:focus,
.tv_checkout_promocion_accion_inactiva:hover,
.tv_checkout_promocion_accion_inactiva:focus {
  transform: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  .tv_checkout_promocion_acciones {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tv_checkout_promocion_accion {
    height: 48px;
    min-height: 48px;
    border-radius: 18px;
    font-size: 0.96rem;
  }

  .tv_checkout_promocion_accion_quitar {
    order: 2;
  }

  #aside_carrito_tienda_publica .tv_drawer_encabezado {
    margin: 0 0 0.75rem;
    padding: 0.4rem 0 0.85rem;
    background: linear-gradient(180deg, rgba(246, 240, 250, 1) 0%, rgba(246, 240, 250, 0.98) 82%, rgba(246, 240, 250, 0.96) 100%) !important;
  }
}


/* TV-010 / TV-011 v246 - reajuste visual promo checkout y resumen desktop */
.tv_checkout_promocion_acciones.tv_checkout_promocion_acciones_simple {
  grid-template-columns: minmax(0, 168px);
  justify-content: start;
}

.tv_checkout_promocion_acciones.tv_checkout_promocion_acciones_doble {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tv_checkout_promocion_acciones.tv_checkout_promocion_acciones_simple .tv_checkout_promocion_accion {
  width: 168px;
  max-width: 100%;
}

.tv_checkout_pagina .tv_checkout_resumen_lista {
  display: grid;
  gap: 14px;
}

.tv_checkout_pagina .tv_checkout_resumen_item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.tv_checkout_pagina .tv_checkout_resumen_media {
  width: 88px;
}

.tv_checkout_pagina .tv_checkout_resumen_media .tv_producto_media {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  border-radius: 22px;
}

.tv_checkout_pagina .tv_checkout_resumen_info {
  display: grid;
  gap: 4px;
  align-content: center;
  min-width: 0;
}

.tv_checkout_pagina .tv_checkout_resumen_info strong {
  font-size: 1rem;
  line-height: 1.18;
  white-space: normal;
}

.tv_checkout_pagina .tv_checkout_resumen_info span {
  font-size: 0.92rem;
  line-height: 1.2;
}

.tv_checkout_pagina .tv_checkout_resumen_info b {
  justify-self: start;
  width: auto;
  min-width: 160px;
  max-width: 100%;
  margin-top: 4px;
  padding: 0 18px;
}

@media (max-width: 767px) {
  .tv_checkout_promocion_acciones.tv_checkout_promocion_acciones_simple,
  .tv_checkout_promocion_acciones.tv_checkout_promocion_acciones_doble {
    grid-template-columns: 1fr;
  }

  .tv_checkout_promocion_acciones.tv_checkout_promocion_acciones_simple .tv_checkout_promocion_accion {
    width: 100%;
  }
}


/* Ajuste v249: resumen checkout, promo mobile y acciones promocionales */
.tv_checkout_pagina .tv_checkout_resumen_lista {
  gap: 12px !important;
}

.tv_checkout_pagina .tv_checkout_resumen_item {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px 14px !important;
}

.tv_checkout_pagina .tv_checkout_resumen_media {
  align-items: center !important;
  justify-content: center !important;
}

.tv_checkout_pagina .tv_checkout_resumen_media .tv_producto_media,
.tv_checkout_pagina .tv_checkout_resumen_media .tv_producto_media_checkout {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  min-height: 76px !important;
  border-radius: 18px !important;
}

.tv_checkout_pagina .tv_checkout_resumen_info {
  display: grid !important;
  gap: 4px !important;
  align-content: center !important;
  min-width: 0 !important;
}

.tv_checkout_pagina .tv_checkout_resumen_nombre {
  display: block !important;
  font-size: 1.02rem !important;
  line-height: 1.2 !important;
  color: #59465f !important;
}

.tv_checkout_pagina .tv_checkout_resumen_cantidad {
  display: block !important;
  font-size: 0.9rem !important;
  color: #8a7a88 !important;
}

.tv_checkout_pagina .tv_checkout_resumen_precio {
  justify-self: start !important;
  align-self: start !important;
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 15px !important;
  font-size: 1rem !important;
}

.tv_checkout_promocion_acciones {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  width: 100%;
}

.tv_checkout_promocion_acciones_simple {
  grid-template-columns: minmax(0, 1fr) !important;
}

.tv_checkout_promocion_accion {
  width: 100% !important;
  max-width: none !important;
  min-height: 50px !important;
  height: 50px !important;
  border-radius: 18px !important;
  padding: 0 18px !important;
}

.tv_checkout_promocion_accion_quitar.tv_oculto {
  display: none !important;
}

@media (min-width: 768px) {
  .tv_checkout_promocion_acciones_simple .tv_checkout_promocion_accion {
    max-width: 160px !important;
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .tv_checkout_resumen_promocion_bloque {
    gap: 12px !important;
    padding: 18px 16px !important;
    border-radius: 24px !important;
  }

  .tv_checkout_promocion_inline,
  .tv_checkout_promocion_inline_resumen,
  .tv_checkout_promocion_acciones,
  .tv_checkout_promocion_acciones_simple,
  .tv_checkout_promocion_acciones_doble {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .tv_checkout_promocion_campo_wrap {
    padding: 14px !important;
    border-radius: 20px !important;
  }

  .tv_checkout_promocion_campo {
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
  }

  .tv_checkout_promocion_accion,
  .tv_checkout_promocion_acciones_simple .tv_checkout_promocion_accion {
    max-width: none !important;
    min-height: 52px !important;
    height: 52px !important;
    border-radius: 18px !important;
    font-size: 0.98rem !important;
  }

  .tv_checkout_promocion_accion_quitar {
    background: rgba(255, 255, 255, 0.94) !important;
    color: #765690 !important;
    border-color: rgba(155, 126, 189, 0.24) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 10px 18px rgba(191, 175, 208, 0.10) !important;
  }
}




.tv_comprobante_beneficio_linea {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(214, 202, 226, 0.9);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(251, 248, 253, 0.98) 0%, rgba(246, 240, 250, 0.96) 100%);
}

.tv_comprobante_beneficio_resumen {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tv_comprobante_beneficio_resumen strong {
  font-size: 1.2rem;
  line-height: 1.15;
  color: #5d456a;
}

.tv_comprobante_beneficio_resumen p,
.tv_comprobante_beneficio_mensaje {
  margin: 0;
  color: #7c697f;
  line-height: 1.55;
}

.tv_comprobante_beneficio_metricas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.tv_comprobante_beneficio_metricas article {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-height: 70px;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(221, 212, 231, 0.95);
  background: rgba(255, 255, 255, 0.96);
}

.tv_comprobante_beneficio_metricas span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #957ca0;
}

.tv_comprobante_beneficio_metricas strong {
  font-size: 1rem;
  line-height: 1.4;
  color: #4f3d5d;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .tv_comprobante_beneficio_metricas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tv_comprobante_beneficio_metricas {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tv_comprobante_preview_bloque {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(191,175,208,.5);
  border-radius: 24px;
  background: linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(247,242,250,.96) 100%);
  box-shadow: 0 16px 40px rgba(133,104,159,.08);
}
.tv_comprobante_preview_head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.tv_comprobante_preview_head h2 {
  margin: 8px 0 6px;
}
.tv_comprobante_preview_head p {
  margin: 0;
}
.tv_comprobante_preview_frame_wrap {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(191,175,208,.42);
  background: #f8f4fa;
}
.tv_comprobante_preview_frame {
  width: 100%;
  min-height: 920px;
  border: 0;
  display: block;
  background: #fff;
}
@media (max-width: 768px) {
  .tv_comprobante_preview_head {
    flex-direction: column;
  }
  .tv_comprobante_preview_frame {
    min-height: 680px;
  }
}

.tv_comprobante_preview_frame_wrap {
  background: #ffffff;
}
.tv_comprobante_preview_frame {
  width: 100%;
  min-height: 920px;
  border: 0;
  display: block;
  background: #ffffff;
}

.tv_comprobante_cabecera_publica {
  align-items: end;
}
.tv_comprobante_acciones_top {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.tv_comprobante_acciones_top .tv_btn {
  min-width: 0;
}
.tv_comprobante_cabecera_publica .tv_btn_principal,
.tv_comprobante_cabecera_publica .tv_btn_secundario {
  min-width: 180px;
}
@media (max-width: 860px) {
  .tv_comprobante_cabecera_publica .tv_btn_principal,
  .tv_comprobante_cabecera_publica .tv_btn_secundario {
    min-width: 0;
    width: 100%;
  }
}


.tv_comprobante_acciones_top,
.tv_comprobante_acciones_bottom {
  gap:10px;
}
.tv_comprobante_acciones_top .tv_btn,
.tv_comprobante_acciones_bottom .tv_btn {
  min-width:0;
}

.tv_content_wrap {
  display: grid;
  gap: 1.5rem;
}

.tv_content_head {
  display: grid;
  gap: 0.65rem;
  max-width: 52rem;
}

.tv_content_head h1 {
  margin: 0;
}

.tv_content_nav {
  flex-wrap: wrap;
}

.tv_content_panel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.tv_content_card,
.tv_content_side_card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--tv-border-soft);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(74, 54, 82, 0.08);
}

.tv_content_card {
  display: grid;
  gap: 1rem;
}

.tv_content_card p,
.tv_content_side_card p {
  margin: 0;
}

.tv_content_side_card {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.tv_content_actions {
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .tv_content_panel {
    grid-template-columns: 1fr;
  }

  .tv_content_side_card {
    position: static;
  }
}

.tv_content_resumen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tv_content_resumen_card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--tv-border-soft);
  border-radius: 1.35rem;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.65rem;
  box-shadow: 0 18px 40px rgba(74, 54, 82, 0.06);
}

.tv_content_resumen_etiqueta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(177, 146, 213, 0.16);
  color: var(--tv-text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv_content_block {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--tv-border-soft);
}

.tv_content_block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tv_content_block h3 {
  margin: 0;
}

.tv_content_listado {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.65rem;
}

.tv_content_listado li {
  margin: 0;
}

@media (max-width: 992px) {
  .tv_content_resumen {
    grid-template-columns: 1fr;
  }
}


.tv_content_panel_single {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}
.tv_content_card_unica {
  min-height: 420px;
}
.tv_content_page {
  display: none;
}
.tv_content_page.is-active {
  display: grid;
  gap: 1rem;
}
.tv_content_nav .tv_btn[aria-current="page"] {
  pointer-events: none;
}
@media (max-width: 992px) {
  .tv_content_panel_single {
    grid-template-columns: 1fr;
  }
  .tv_content_card_unica {
    min-height: 0;
  }
}
.tv_content_actions_superior {
  gap: 0.85rem;
}
.tv_content_panel_unica {
  grid-template-columns: minmax(0, 1fr);
}
.tv_content_card_unica {
  min-height: 0;
  padding: 1.8rem 1.8rem 1.2rem;
}
.tv_content_head {
  max-width: 60rem;
}
.tv_content_nav {
  gap: 0.85rem;
}
.tv_content_nav .tv_btn {
  min-width: 180px;
}
.tv_content_block {
  gap: 0.9rem;
  padding-bottom: 1.2rem;
}
.tv_content_block h3 {
  font-size: 1.2rem;
}
.tv_content_block p,
.tv_content_listado li {
  line-height: 1.8;
}
@media (max-width: 768px) {
  .tv_content_card_unica {
    padding: 1.25rem 1.1rem 1rem;
  }
  .tv_content_nav .tv_btn,
  .tv_content_actions_superior .tv_btn {
    width: 100%;
    min-width: 0;
  }
}


/* TV-017 v9: controles de contenido más compactos y accesos legales visibles */
.tv_content_controls_shell {
  display: grid;
  gap: 0.85rem;
  width: min(100%, 64rem);
}
.tv_content_head_legal {
  gap: 0.55rem;
  margin-bottom: 0.15rem;
}
.tv_content_notice {
  max-width: 56rem;
  padding: 0.9rem 1.05rem;
}
.tv_content_actions_superior,
.tv_content_nav_legal {
  width: min(100%, 64rem);
  justify-content: flex-start;
  align-items: center;
}
.tv_content_actions_superior {
  gap: 0.6rem;
}
.tv_content_action_btn {
  min-width: 140px;
  padding-inline: 1rem;
}
.tv_content_nav_legal {
  gap: 0.55rem;
  padding-top: 0;
}
.tv_content_tab_btn {
  min-width: 118px;
  padding-inline: 1.05rem;
}
.tv_content_loader_local {
  position: relative;
  top: auto;
  margin: 0;
}
.tv_footer_legal_bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.2rem;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(104, 86, 102, 0.1);
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(223, 212, 231, 0.2) 0%, rgba(255, 255, 255, 0.94) 100%);
}
.tv_footer_legal_bar_texto {
  display: grid;
  gap: 0.2rem;
  max-width: 26rem;
}
.tv_footer_legal_bar_texto strong {
  color: var(--tv-color-text);
}
.tv_footer_legal_bar_texto span {
  color: var(--tv-color-text-soft);
  line-height: 1.55;
}
.tv_footer_legal_bar_acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.tv_footer_legal_bar_acciones .tv_btn {
  min-width: 128px;
}
@media (max-width: 860px) {
  .tv_content_controls_shell,
  .tv_content_actions_superior,
  .tv_content_nav_legal {
    width: 100%;
  }
  .tv_content_action_btn,
  .tv_content_tab_btn,
  .tv_footer_legal_bar_acciones .tv_btn {
    flex: 1 1 160px;
    min-width: 0;
  }
  .tv_footer_legal_bar {
    align-items: flex-start;
  }
}

/* TV-017 v13: aprovecha mejor el ancho disponible, compacta el bloque legal y usa grilla real por secciones */

.tv_content_section_legal {
  padding: 34px 0 56px;
}
.tv_content_section_legal .tv_container {
  width: min(calc(100% - 56px), 1360px);
}
.tv_content_section_legal .tv_content_wrap_legal {
  gap: 0.9rem;
}
.tv_content_head_legal,
.tv_content_notice,
.tv_content_nav_legal {
  width: 100%;
  max-width: none;
}
.tv_content_hero_legal {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 1rem;
  width: 100%;
  max-width: none;
  padding: 1.35rem 1.45rem;
  border: 1px solid rgba(168, 137, 197, 0.14);
  border-radius: 1.8rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 236, 252, 0.94) 100%);
  box-shadow: 0 18px 42px rgba(104, 86, 102, 0.08);
}
.tv_content_hero_copy {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}
.tv_content_hero_copy h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--tv-font-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--tv-color-text);
}
.tv_content_hero_copy p {
  margin: 0;
  max-width: 52rem;
  color: var(--tv-color-text-soft);
  font-size: 1.05rem;
  line-height: 1.72;
}
.tv_content_hero_note {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.1rem 1.1rem;
  border: 1px solid rgba(168, 137, 197, 0.16);
  border-radius: 1.25rem;
  background: rgba(248, 243, 252, 0.86);
}
.tv_content_hero_note strong {
  color: var(--tv-color-text);
  font-size: 1rem;
}
.tv_content_hero_note span {
  color: var(--tv-color-text-soft);
  line-height: 1.7;
}
.tv_content_notice {
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(168, 137, 197, 0.18);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(239, 231, 247, 0.90) 100%);
  color: var(--tv-color-text-soft);
  line-height: 1.68;
  box-shadow: 0 12px 28px rgba(104, 86, 102, 0.05);
}
.tv_content_nav_legal {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: stretch;
}
.tv_content_nav_legal .tv_btn,
.tv_content_tab_btn {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  justify-content: center;
  padding-inline: 0.85rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(104, 86, 102, 0.05);
}
.tv_content_loader_local {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin-top: -0.1rem;
  padding: 0.72rem 0.98rem;
  border: 1px solid rgba(168, 137, 197, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--tv-color-text-soft);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.tv_content_loader_local_oculto {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.tv_content_loader_local_spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(168, 137, 197, 0.18);
  border-top-color: rgba(141, 98, 196, 0.9);
  animation: tv_content_loader_spin 0.8s linear infinite;
}
@keyframes tv_content_loader_spin {
  to {
    transform: rotate(360deg);
  }
}
.tv_content_panel_legal {
  width: 100%;
}
.tv_content_card_legal {
  padding: 1.4rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(168, 137, 197, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 248, 255, 0.97) 100%);
  box-shadow: 0 22px 52px rgba(104, 86, 102, 0.08);
}
.tv_content_highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.tv_content_highlight_item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 0.72rem;
  min-height: 100%;
  padding: 1rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(168, 137, 197, 0.14);
  background: linear-gradient(135deg, rgba(244, 238, 249, 0.78) 0%, rgba(255, 255, 255, 0.92) 100%);
}
.tv_content_highlight_item strong,
.tv_content_block_head h3,
.tv_content_legal_footer_head strong {
  color: var(--tv-color-text);
}
.tv_content_highlight_item span,
.tv_content_legal_footer_head span,
.tv_content_legal_contacto {
  color: var(--tv-color-text-soft);
}
.tv_content_highlight_dot {
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(154, 117, 201, 0.95) 0%, rgba(205, 166, 228, 0.95) 100%);
}
.tv_content_sections_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.tv_content_block_legal {
  display: grid;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1.15rem 1.1rem 1.2rem;
  border: 1px solid rgba(168, 137, 197, 0.12);
  border-radius: 1.3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 243, 252, 0.88) 100%);
}
.tv_content_block_legal p {
  margin: 0;
}
.tv_content_block_head {
  display: grid;
  gap: 0.35rem;
}
.tv_content_block_badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.36rem 0.66rem;
  border-radius: 999px;
  background: rgba(177, 146, 213, 0.16);
  color: var(--tv-text-soft);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tv_content_listado_legal {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.65rem;
}
.tv_content_legal_footer {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(168, 137, 197, 0.16);
  background: linear-gradient(135deg, rgba(245, 239, 249, 0.82) 0%, rgba(255, 255, 255, 0.92) 100%);
}
.tv_content_legal_referencias {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
}
@media (max-width: 1180px) {
  .tv_content_hero_legal {
    grid-template-columns: 1fr;
  }
  .tv_content_nav_legal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tv_content_highlights,
  .tv_content_sections_grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .tv_content_section_legal .tv_container {
    width: min(calc(100% - 24px), 100%);
  }
  .tv_content_hero_legal {
    padding: 1.1rem 0.95rem;
    border-radius: 1.35rem;
  }
  .tv_content_hero_copy h1 {
    font-size: 2.35rem;
  }
  .tv_content_nav_legal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tv_content_card_legal {
    padding: 1rem;
  }
  .tv_content_block_legal,
  .tv_content_legal_footer {
    padding: 1rem;
  }
}


/* TV-017 v14: afina maquetación legal y reorganiza footer en desktop/móvil */
.tv_content_head_legal {
  display: grid;
  gap: 0.85rem;
}
.tv_content_hero_legal {
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
  gap: 0.9rem;
}
.tv_content_hero_copy {
  gap: 0.45rem;
}
.tv_content_hero_copy h1 {
  max-width: 10ch;
  line-height: 0.92;
}
.tv_content_hero_note {
  align-self: start;
  min-height: 0;
  height: fit-content;
}
.tv_content_notice {
  padding: 0.8rem 1rem;
}
.tv_content_highlights {
  margin-bottom: 0.85rem;
}
.tv_content_highlight_item {
  align-items: start;
  min-height: 0;
}
.tv_content_highlight_item > div {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}
.tv_content_highlight_item strong {
  display: block;
  line-height: 1.38;
}
.tv_content_highlight_item span {
  display: block;
  line-height: 1.62;
}
.tv_content_sections_grid {
  gap: 0.9rem;
}
.tv_content_block_legal {
  align-content: start;
}
.tv_content_block_head h3 {
  margin: 0;
  line-height: 1.34;
}
.tv_content_block_legal p,
.tv_content_listado_legal li,
.tv_content_legal_footer_head span,
.tv_content_legal_contacto,
.tv_content_notice {
  font-size: 0.98rem;
  line-height: 1.72;
}
.tv_content_legal_footer {
  margin-top: 0.85rem;
}

.tv_footer {
  padding: 42px 0 22px;
}
.tv_footer_contenido {
  width: min(calc(100% - 40px), 1340px);
}
.tv_footer_columnas {
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(170px, 0.8fr)) minmax(220px, 0.95fr);
  gap: 20px;
  align-items: start;
  padding: 24px 0;
}
.tv_footer_bloque {
  min-width: 0;
}
.tv_footer_bloque h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}
.tv_footer_bloque_marca {
  padding-right: 14px;
}
.tv_footer_texto_marca {
  max-width: 30rem;
  margin: 0;
  line-height: 1.68;
}
.tv_logo_link_footer {
  margin-bottom: 12px;
}
.tv_logo_footer .tv_logo_imagen {
  height: 52px;
}
.tv_footer_social {
  gap: 8px;
  margin-top: 14px;
}
.tv_footer_social a {
  width: 40px;
  height: 40px;
}
.tv_footer_lista {
  display: grid;
  gap: 8px;
}
.tv_footer_lista li + li {
  margin-top: 0;
}
.tv_footer_lista a,
.tv_footer_lista span {
  display: inline-block;
  line-height: 1.58;
  word-break: break-word;
}
.tv_footer_bottom {
  padding-top: 16px;
}

@media (max-width: 1180px) {
  .tv_content_hero_legal {
    grid-template-columns: 1fr;
  }
  .tv_footer_columnas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }
  .tv_footer_bloque_marca,
  .tv_footer_bloque_contacto {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .tv_content_section_legal {
    padding: 24px 0 42px;
  }
  .tv_content_hero_legal {
    gap: 0.75rem;
  }
  .tv_content_hero_copy h1 {
    max-width: none;
    font-size: 2.6rem;
  }
  .tv_content_notice,
  .tv_content_block_legal p,
  .tv_content_listado_legal li,
  .tv_content_legal_footer_head span,
  .tv_content_legal_contacto {
    font-size: 0.94rem;
  }
  .tv_content_nav_legal {
    gap: 0.6rem;
  }
  .tv_content_nav_legal .tv_btn,
  .tv_content_tab_btn {
    min-height: 50px;
    padding-inline: 0.6rem;
    font-size: 0.95rem;
  }
  .tv_footer {
    padding: 22px 0 16px;
  }
  .tv_footer_contenido {
    width: min(calc(100% - 24px), 100%);
  }
  .tv_footer_columnas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    padding: 12px 0 10px;
  }
  .tv_footer_bloque {
    padding: 0;
  }
  .tv_footer_bloque_marca,
  .tv_footer_bloque_contacto {
    grid-column: 1 / -1;
  }
  .tv_footer_bloque h3 {
    margin-bottom: 8px;
    font-size: 0.98rem;
  }
  .tv_logo_footer .tv_logo_imagen {
    height: 44px;
  }
  .tv_footer_texto_marca {
    max-width: none;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }
  .tv_footer_social {
    margin-top: 10px;
    gap: 6px;
  }
  .tv_footer_social a {
    width: 36px;
    height: 36px;
  }
  .tv_footer_lista {
    gap: 5px;
  }
  .tv_footer_lista a,
  .tv_footer_lista span {
    font-size: 0.92rem;
    line-height: 1.42;
  }
  .tv_footer_bottom {
    padding-top: 12px;
  }
  .tv_footer_bottom p {
    font-size: 0.8rem;
  }
}

/* Ajuste v60: footer final y logo visible en desktop/movil */
.tv_logo_footer {
  width: clamp(168px, 18vw, 240px) !important;
}

.tv_logo_footer .tv_logo_imagen {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
}

.tv_footer_columnas {
  grid-template-columns: minmax(300px, 1.45fr) repeat(4, minmax(140px, 1fr)) !important;
  align-items: start;
  gap: 24px 22px !important;
}

.tv_footer_bloque_marca p {
  max-width: 30rem;
}

.tv_footer_lista a,
.tv_footer_lista span {
  display: inline-block;
  max-width: 100%;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .tv_footer_columnas {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 14px !important;
  }

  .tv_footer_bloque_marca,
  .tv_footer_bloque_contacto {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .tv_logo_footer {
    width: 168px !important;
  }

  .tv_footer {
    padding: 22px 0 14px !important;
  }

  .tv_footer_contenido {
    width: min(calc(100% - 24px), var(--tv-home-width)) !important;
  }

  .tv_footer_columnas {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 12px !important;
    padding: 10px 0 0 !important;
  }

  .tv_footer_bloque {
    min-width: 0;
  }

  .tv_footer_bloque_marca,
  .tv_footer_bloque_contacto {
    grid-column: 1 / -1;
  }

  .tv_footer_bloque h3 {
    margin-bottom: 8px !important;
    font-size: 1rem !important;
  }

  .tv_footer_bloque_marca {
    padding-bottom: 4px;
  }

  .tv_footer_bloque_marca p {
    max-width: none !important;
    font-size: 0.94rem !important;
    line-height: 1.5 !important;
  }

  .tv_footer_social {
    margin-top: 10px !important;
    gap: 8px !important;
  }

  .tv_footer_social a,
  .tv_footer_social_link {
    width: 36px !important;
    height: 36px !important;
  }

  .tv_footer_lista li + li {
    margin-top: 5px !important;
  }

  .tv_footer_lista a,
  .tv_footer_lista span {
    font-size: 0.95rem !important;
    line-height: 1.42 !important;
    word-break: break-word;
  }

  .tv_footer_bottom {
    padding-top: 12px !important;
    margin-top: 8px;
  }

  .tv_footer_bottom p {
    font-size: 0.83rem !important;
  }
}


/* Ajuste v61: footer movil y avances TV-017 */
.tv_content_nav_legal {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0.72rem;
}
.tv_content_nav_legal .tv_btn,
.tv_content_tab_btn {
  width:100%;
  justify-content:center;
}
.tv_footer {
  padding:46px 0 22px !important;
}
.tv_logo_footer {
  width:clamp(210px,20vw,280px) !important;
}
.tv_footer_columnas {
  grid-template-columns:minmax(320px,1.45fr) repeat(4,minmax(150px,1fr)) !important;
  gap:24px 18px !important;
}
.tv_footer_bloque_card {
  border:1px solid rgba(183,156,178,0.16);
  border-radius:22px;
  background:rgba(255,255,255,0.44);
  padding:18px 18px 16px;
  box-shadow:0 14px 36px rgba(104,86,102,0.05);
}
.tv_footer_bloque_marca {
  padding-right:22px;
}
.tv_footer_texto_marca {
  font-size:0.98rem;
}
.tv_footer_lista a,
.tv_footer_lista span {
  line-height:1.54;
}
@media (max-width: 1180px) {
  .tv_content_nav_legal {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .tv_footer_columnas {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 720px) {
  .tv_content_nav_legal {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0.65rem;
  }
  .tv_content_head_legal {
    gap:0.9rem;
  }
  .tv_content_hero_copy h1 {
    font-size:2.3rem;
    line-height:0.95;
  }
  .tv_footer {
    padding:18px 0 14px !important;
  }
  .tv_logo_footer {
    width:196px !important;
  }
  .tv_footer_contenido {
    width:min(calc(100% - 22px), 100%) !important;
  }
  .tv_footer_columnas {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    padding:8px 0 0 !important;
  }
  .tv_footer_bloque,
  .tv_footer_bloque_card {
    padding:14px 14px 13px !important;
    border-radius:18px !important;
  }
  .tv_footer_bloque_marca {
    grid-column:1 / -1;
    padding:0 2px 2px !important;
    border:none !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  .tv_footer_bloque_contacto {
    grid-column:1 / -1;
  }
  .tv_footer_bloque h3 {
    font-size:0.98rem !important;
    margin-bottom:8px !important;
  }
  .tv_footer_texto_marca {
    font-size:0.96rem !important;
    line-height:1.54 !important;
  }
  .tv_footer_social {
    margin-top:12px !important;
    gap:8px !important;
  }
  .tv_footer_social a,
  .tv_footer_social_link {
    width:38px !important;
    height:38px !important;
  }
  .tv_footer_lista {
    gap:4px !important;
  }
  .tv_footer_lista a,
  .tv_footer_lista span {
    font-size:0.94rem !important;
    line-height:1.38 !important;
  }
  .tv_footer_bottom {
    padding-top:10px !important;
  }
  .tv_footer_bottom p {
    font-size:0.8rem !important;
  }
}

/* Ajuste v62: cierre visual TV-017 legal, footer y ofertas */
.tv_content_hero_legal {
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.72fr) !important;
  gap: 1.15rem !important;
  align-items: stretch;
}
.tv_content_hero_copy h1 {
  max-width: 20ch !important;
  font-size: clamp(3.35rem, 5vw, 5.2rem) !important;
  line-height: .92 !important;
}
.tv_content_hero_copy p {
  max-width: 60rem !important;
}
.tv_content_hero_note {
  gap: .8rem !important;
  padding: 1.15rem 1.2rem !important;
  border-radius: 1.4rem !important;
  background: linear-gradient(180deg, rgba(250, 246, 252, .98) 0%, rgba(246, 239, 250, .92) 100%) !important;
}
.tv_content_hero_note strong {
  font-size: 1.06rem !important;
}
.tv_content_hero_note span {
  line-height: 1.62 !important;
}
.tv_content_hero_checks {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tv_content_hero_checks li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--tv-color-text-soft);
  line-height: 1.55;
}
.tv_content_hero_checks li::before {
  content: '';
  position: absolute;
  top: .56rem;
  left: 0;
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: rgba(168, 137, 197, .92);
}
.tv_content_notice {
  padding-inline: 1.2rem !important;
}
.tv_content_highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tv_content_highlight_item {
  min-height: 100%;
}
.tv_footer {
  padding-top: 36px !important;
}
.tv_logo_footer {
  width: clamp(148px, 15vw, 210px) !important;
}
.tv_footer_columnas {
  grid-template-columns: minmax(280px, 1.3fr) repeat(3, minmax(150px, .85fr)) minmax(210px, .95fr) !important;
  gap: 18px 18px !important;
}
.tv_footer_bloque_card {
  min-height: 100%;
}
.tv_footer_texto_marca {
  max-width: 28rem !important;
}
.tv_ofertas_lista .tv_home_products_grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}
.tv_ofertas_lista .tv_producto_card_body {
  gap: .62rem !important;
}
.tv_ofertas_lista .tv_producto_card_badges {
  gap: .3rem !important;
}
.tv_ofertas_lista .tv_producto_card_badge,
.tv_ofertas_lista .tv_producto_card_badge_stock,
.tv_ofertas_lista .tv_producto_card_badge_stock_agotado,
.tv_ofertas_lista .tv_producto_card_badge_stock_bajo {
  padding: .34rem .58rem !important;
  font-size: .66rem !important;
  line-height: 1.1 !important;
  letter-spacing: .14em !important;
}
.tv_ofertas_lista .tv_producto_card_title {
  font-size: clamp(1rem, .9vw, 1.24rem) !important;
}
.tv_ofertas_lista .tv_producto_card_resumen {
  font-size: .88rem !important;
  max-width: 24ch !important;
}
@media (max-width: 1180px) {
  .tv_content_hero_legal {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .72fr) !important;
  }
  .tv_content_highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .tv_ofertas_lista .tv_home_products_grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 720px) {
  .tv_footer {
    padding-top: 20px !important;
  }
  .tv_logo_footer {
    width: 150px !important;
  }
  .tv_footer_columnas {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding-top: 8px !important;
  }
  .tv_footer_bloque,
  .tv_footer_bloque_marca,
  .tv_footer_bloque_contacto,
  .tv_footer_bloque_card {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  .tv_footer_bloque_card {
    padding: 14px 14px 12px !important;
    border-radius: 22px !important;
  }
  .tv_footer_social {
    justify-content: flex-start !important;
  }
  .tv_footer_bottom {
    margin-top: 2px !important;
  }
  .tv_content_hero_legal {
    grid-template-columns: 1fr !important;
  }
  .tv_content_hero_copy h1 {
    max-width: none !important;
    font-size: clamp(2.8rem, 11vw, 4rem) !important;
  }
  .tv_content_highlights {
    grid-template-columns: 1fr;
  }
  .tv_content_nav_legal {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* Ajuste v18: FAQ, cards catálogo/ofertas, footer móvil y legal */
.tv_content_hero_legal {
  grid-template-columns:minmax(0,2.05fr) minmax(300px,.82fr) !important;
  gap:1rem !important;
  align-items:start !important;
}
.tv_content_hero_copy h1 {
  max-width:15ch !important;
}
.tv_content_hero_note {
  min-height:0 !important;
  align-self:start !important;
}
.tv_content_hero_note strong {
  display:block;
  margin-bottom:.1rem;
}
.tv_content_hero_checks li {
  font-size:.95rem;
}
@media (min-width: 1200px) {
  .tv_page_catalogo #grid_catalogo_productos,
  .tv_ofertas_lista .tv_home_products_grid {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:.85rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_base,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_base {
    border-radius:1.35rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_media,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_media {
    padding:.62rem .62rem 0 !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_media_frame,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_media_frame {
    min-height:176px !important;
    border-radius:1.2rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_imagen,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_imagen {
    max-height:142px !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_overlay,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_overlay {
    right:.58rem !important;
    top:.58rem !important;
    gap:.35rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_accion,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_accion {
    width:2.2rem !important;
    height:2.2rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_body,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_body {
    gap:.48rem !important;
    padding:.68rem .68rem .72rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_badges,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_badges {
    gap:.25rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_badge,
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_badge_stock,
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_badge_stock_agotado,
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_badge_stock_bajo,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_badge,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_badge_stock,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_badge_stock_agotado,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_badge_stock_bajo {
    min-height:1.45rem !important;
    padding:.2rem .48rem !important;
    font-size:.56rem !important;
    line-height:1 !important;
    letter-spacing:.12em !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_title,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_title {
    min-height:2.15rem !important;
    font-size:.9rem !important;
    line-height:1.14 !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_resumen,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_resumen {
    min-height:2.15rem !important;
    font-size:.77rem !important;
    line-height:1.34 !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_price_block {
    padding:.58rem .64rem !important;
    border-radius:1rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_precio_anterior,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_precio_anterior {
    font-size:.66rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_precio {
    font-size:1rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_actions_mobile,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_actions_mobile {
    gap:.45rem !important;
  }
  .tv_page_catalogo .tv_home_products_grid .tv_producto_card_cta,
  .tv_ofertas_lista .tv_home_products_grid .tv_producto_card_cta {
    min-height:2.45rem !important;
    font-size:.76rem !important;
    border-radius:.9rem !important;
    padding:0 .7rem !important;
  }
}
@media (max-width: 720px) {
  .tv_logo_footer {
    width:136px !important;
  }
  .tv_footer_columnas {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .tv_footer_bloque_card {
    padding:12px 12px 11px !important;
    min-height:0 !important;
  }
  .tv_footer_bloque_marca {
    grid-column:1 / -1 !important;
    margin-bottom:2px !important;
  }
  .tv_footer_bloque_contacto {
    grid-column:1 / -1 !important;
  }
  .tv_footer_texto_marca {
    font-size:.9rem !important;
    line-height:1.45 !important;
    max-width:none !important;
  }
  .tv_footer_social {
    margin-top:10px !important;
    gap:7px !important;
  }
  .tv_footer_social a,
  .tv_footer_social_link {
    width:36px !important;
    height:36px !important;
  }
  .tv_footer_bloque h3 {
    font-size:.95rem !important;
    margin-bottom:7px !important;
  }
  .tv_footer_lista a,
  .tv_footer_lista span {
    font-size:.9rem !important;
    line-height:1.34 !important;
  }
  .tv_footer_bottom p {
    font-size:.78rem !important;
  }
}


/* Ajuste v19: optimización catálogo, cards compactas globales y footer móvil */
html.tv_catalogo_optimizacion,
html.tv_catalogo_optimizacion body {
  scroll-behavior: auto !important;
}

.tv_page_catalogo .tv_producto_card_base,
.tv_page_catalogo .tv_producto_card_imagen,
.tv_page_catalogo .tv_producto_card_overlay,
.tv_page_catalogo .tv_producto_card_accion {
  transition: none !important;
}

.tv_page_catalogo .tv_producto_card_imagen,
.tv_ofertas_lista .tv_producto_card_imagen,
.tv_home_products_grid .tv_producto_card_imagen,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_imagen {
  filter: none !important;
}

.tv_home_products_grid,
.tv_ofertas_lista .tv_home_products_grid,
#grid_catalogo_productos,
.tv_producto_relacionados_contenido .tv_product_grid {
  gap: 1.15rem !important;
}

.tv_home_products_grid > .tv_producto_card_base,
.tv_ofertas_lista .tv_home_products_grid > .tv_producto_card_base,
#grid_catalogo_productos > .tv_producto_card_base,
.tv_producto_relacionados_contenido .tv_product_grid > .tv_producto_card_base {
  max-width: 100% !important;
}

.tv_home_products_grid .tv_producto_card_base,
.tv_ofertas_lista .tv_producto_card_base,
#grid_catalogo_productos .tv_producto_card_base,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_base {
  border-radius: 26px !important;
  box-shadow: 0 10px 22px rgba(78, 63, 102, 0.06) !important;
}

.tv_home_products_grid .tv_producto_card_media,
.tv_ofertas_lista .tv_producto_card_media,
#grid_catalogo_productos .tv_producto_card_media,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_media {
  padding: .82rem .82rem .38rem !important;
}

.tv_home_products_grid .tv_producto_card_media_frame,
.tv_ofertas_lista .tv_producto_card_media_frame,
#grid_catalogo_productos .tv_producto_card_media_frame,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_media_frame {
  min-height: 184px !important;
  height: 184px !important;
  border-radius: 22px !important;
}

.tv_home_products_grid .tv_producto_card_imagen,
.tv_ofertas_lista .tv_producto_card_imagen,
#grid_catalogo_productos .tv_producto_card_imagen,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_imagen {
  height: 146px !important;
  max-height: 146px !important;
  max-width: 80% !important;
}

.tv_home_products_grid .tv_producto_card_body,
.tv_ofertas_lista .tv_producto_card_body,
#grid_catalogo_productos .tv_producto_card_body,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_body {
  gap: .58rem !important;
  padding: 0 .82rem .82rem !important;
}

.tv_home_products_grid .tv_producto_card_badges,
.tv_ofertas_lista .tv_producto_card_badges,
#grid_catalogo_productos .tv_producto_card_badges,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badges {
  gap: .32rem !important;
}

.tv_home_products_grid .tv_producto_card_badge,
.tv_home_products_grid .tv_producto_card_badge_stock,
.tv_home_products_grid .tv_producto_card_badge_stock_agotado,
.tv_home_products_grid .tv_producto_card_badge_stock_bajo,
.tv_ofertas_lista .tv_producto_card_badge,
.tv_ofertas_lista .tv_producto_card_badge_stock,
.tv_ofertas_lista .tv_producto_card_badge_stock_agotado,
.tv_ofertas_lista .tv_producto_card_badge_stock_bajo,
#grid_catalogo_productos .tv_producto_card_badge,
#grid_catalogo_productos .tv_producto_card_badge_stock,
#grid_catalogo_productos .tv_producto_card_badge_stock_agotado,
#grid_catalogo_productos .tv_producto_card_badge_stock_bajo,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badge,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badge_stock,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badge_stock_agotado,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badge_stock_bajo {
  padding: .34rem .66rem !important;
  font-size: .69rem !important;
  line-height: 1.05 !important;
  letter-spacing: .10em !important;
  border-radius: 999px !important;
}

.tv_home_products_grid .tv_producto_card_title,
.tv_ofertas_lista .tv_producto_card_title,
#grid_catalogo_productos .tv_producto_card_title,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_title {
  font-size: clamp(1.02rem, 1.05vw, 1.28rem) !important;
  min-height: calc(1.16em * 2) !important;
}

.tv_home_products_grid .tv_producto_card_resumen,
.tv_ofertas_lista .tv_producto_card_resumen,
#grid_catalogo_productos .tv_producto_card_resumen,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_resumen {
  font-size: .86rem !important;
  line-height: 1.42 !important;
  min-height: calc(1.42em * 2) !important;
  max-width: 24ch !important;
}

.tv_home_products_grid .tv_producto_card_price_block,
.tv_ofertas_lista .tv_producto_card_price_block,
#grid_catalogo_productos .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
  min-height: 64px !important;
  padding: .76rem .78rem !important;
  border-radius: 18px !important;
}

.tv_home_products_grid .tv_producto_card_precio_anterior,
.tv_ofertas_lista .tv_producto_card_precio_anterior,
#grid_catalogo_productos .tv_producto_card_precio_anterior,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio_anterior {
  font-size: .86rem !important;
}

.tv_home_products_grid .tv_producto_card_precio,
.tv_ofertas_lista .tv_producto_card_precio,
#grid_catalogo_productos .tv_producto_card_precio,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
  font-size: clamp(1.24rem, 1.5vw, 1.48rem) !important;
}

.tv_home_products_grid .tv_producto_card_actions_mobile,
.tv_ofertas_lista .tv_producto_card_actions_mobile,
#grid_catalogo_productos .tv_producto_card_actions_mobile,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_actions_mobile {
  gap: .5rem !important;
}

.tv_home_products_grid .tv_producto_card_cta,
.tv_ofertas_lista .tv_producto_card_cta,
#grid_catalogo_productos .tv_producto_card_cta,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_cta {
  min-height: 2.8rem !important;
  font-size: .88rem !important;
  padding: 0 .7rem !important;
  border-radius: 15px !important;
}

.tv_content_hero_legal {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr) !important;
  gap: 1.35rem !important;
  align-items: stretch !important;
}

.tv_content_hero_copy h1 {
  max-width: 16ch !important;
}

.tv_content_hero_note {
  justify-content: center !important;
  padding: 1.35rem 1.45rem !important;
}

.tv_content_hero_note strong {
  display: block;
  margin-bottom: .45rem;
}

.tv_content_hero_checks {
  margin-top: .9rem !important;
  gap: .5rem !important;
}

@media (max-width: 1279px) {
  .tv_home_products_grid,
  .tv_ofertas_lista .tv_home_products_grid,
  #grid_catalogo_productos,
  .tv_producto_relacionados_contenido .tv_product_grid {
    gap: 1rem !important;
  }
}

@media (max-width: 860px) {
  .tv_home_products_grid > .tv_producto_card_base,
  .tv_ofertas_lista .tv_home_products_grid > .tv_producto_card_base,
  #grid_catalogo_productos > .tv_producto_card_base,
  .tv_producto_relacionados_contenido .tv_product_grid > .tv_producto_card_base {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    min-height: 0 !important;
    padding: .72rem !important;
    gap: .72rem !important;
  }

  .tv_home_products_grid .tv_producto_card_media_frame,
  .tv_ofertas_lista .tv_producto_card_media_frame,
  #grid_catalogo_productos .tv_producto_card_media_frame,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_media_frame {
    width: 92px !important;
    min-width: 92px !important;
    height: 92px !important;
    min-height: 92px !important;
    padding: .42rem !important;
  }

  .tv_home_products_grid .tv_producto_card_imagen,
  .tv_ofertas_lista .tv_producto_card_imagen,
  #grid_catalogo_productos .tv_producto_card_imagen,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_imagen {
    height: 78px !important;
    max-height: 78px !important;
  }

  .tv_home_products_grid .tv_producto_card_badge,
  .tv_home_products_grid .tv_producto_card_badge_stock,
  .tv_home_products_grid .tv_producto_card_badge_stock_agotado,
  .tv_home_products_grid .tv_producto_card_badge_stock_bajo,
  .tv_ofertas_lista .tv_producto_card_badge,
  .tv_ofertas_lista .tv_producto_card_badge_stock,
  .tv_ofertas_lista .tv_producto_card_badge_stock_agotado,
  .tv_ofertas_lista .tv_producto_card_badge_stock_bajo,
  #grid_catalogo_productos .tv_producto_card_badge,
  #grid_catalogo_productos .tv_producto_card_badge_stock,
  #grid_catalogo_productos .tv_producto_card_badge_stock_agotado,
  #grid_catalogo_productos .tv_producto_card_badge_stock_bajo,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badge,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badge_stock,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badge_stock_agotado,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_badge_stock_bajo {
    padding: .28rem .56rem !important;
    font-size: .65rem !important;
  }

  .tv_home_products_grid .tv_producto_card_title,
  .tv_ofertas_lista .tv_producto_card_title,
  #grid_catalogo_productos .tv_producto_card_title,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_title {
    font-size: .94rem !important;
  }

  .tv_home_products_grid .tv_producto_card_resumen,
  .tv_ofertas_lista .tv_producto_card_resumen,
  #grid_catalogo_productos .tv_producto_card_resumen,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_resumen {
    font-size: .82rem !important;
  }

  .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_producto_card_price_block,
  #grid_catalogo_productos .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
    min-height: 0 !important;
    padding: .62rem .68rem !important;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    font-size: 1.18rem !important;
  }

  .tv_home_products_grid .tv_producto_card_cta,
  .tv_ofertas_lista .tv_producto_card_cta,
  #grid_catalogo_productos .tv_producto_card_cta,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_cta {
    min-height: 2.45rem !important;
    font-size: .8rem !important;
  }

  .tv_content_hero_legal {
    grid-template-columns: 1fr !important;
    gap: .9rem !important;
  }

  .tv_content_hero_copy h1 {
    max-width: none !important;
  }

  .tv_footer {
    padding: 2rem 0 1rem !important;
  }

  .tv_footer_contenido {
    gap: 1rem !important;
  }

  .tv_footer_columnas {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .82rem !important;
  }

  .tv_footer_bloque,
  .tv_footer_bloque_card,
  .tv_footer_bloque_marca,
  .tv_footer_bloque_contacto {
    width: 100% !important;
    max-width: 100% !important;
  }

  .tv_footer_bloque_marca {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .tv_logo_link_footer {
    justify-content: flex-start !important;
    margin-bottom: .6rem !important;
  }

  .tv_logo_link_footer .tv_logo_footer {
    max-width: 150px !important;
    width: 150px !important;
  }

  .tv_footer_texto_marca {
    max-width: none !important;
    font-size: .92rem !important;
    line-height: 1.55 !important;
    margin-bottom: .65rem !important;
  }

  .tv_footer_social {
    justify-content: flex-start !important;
    gap: .6rem !important;
    margin-bottom: .2rem !important;
  }

  .tv_footer_social a {
    width: 42px !important;
    height: 42px !important;
  }

  .tv_footer_bloque_card {
    padding: 1rem 1rem .95rem !important;
    border-radius: 22px !important;
  }

  .tv_footer_bloque h3 {
    font-size: 1.1rem !important;
    margin-bottom: .72rem !important;
  }

  .tv_footer_lista {
    gap: .28rem !important;
  }

  .tv_footer_lista li + li {
    margin-top: 0 !important;
  }

  .tv_footer_lista a,
  .tv_footer_lista span {
    font-size: .96rem !important;
    line-height: 1.45 !important;
  }

  .tv_footer_bottom {
    margin-top: 1rem !important;
    padding-top: .85rem !important;
  }
}


/* TV-017 v22 - Ajuste visual compacto de precios */
.tv_home_products_grid .tv_producto_card_price_block,
.tv_ofertas_lista .tv_producto_card_price_block,
#grid_catalogo_productos .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  min-height: 76px;
  padding: .7rem .85rem;
  text-align: center;
}

.tv_home_products_grid .tv_producto_card_precio_anterior,
.tv_ofertas_lista .tv_producto_card_precio_anterior,
#grid_catalogo_productos .tv_producto_card_precio_anterior,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio_anterior {
  width: 100%;
  margin: 0;
  color: #9a879a;
  font-size: clamp(.72rem, .78vw, .84rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.tv_home_products_grid .tv_producto_card_precio,
.tv_ofertas_lista .tv_producto_card_precio,
#grid_catalogo_productos .tv_producto_card_precio,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  color: #5a4767;
  font-size: clamp(1.28rem, 1.45vw, 1.58rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tv_cart_card_meta,
.tv_checkout_resumen_info,
.tv_checkout_resumen_item_pago_v24 .tv_checkout_resumen_info,
.tv_drawer_item_precios,
.tv_producto_panel_precio {
  font-variant-numeric: tabular-nums;
}

.tv_cart_card_meta {
  align-items: center;
  gap: .55rem;
}

.tv_cart_card_price,
.tv_cart_line_total,
.tv_checkout_resumen_precio,
.tv_checkout_resumen_item_pago_v24 .tv_checkout_resumen_info b,
.tv_drawer_item_precios strong,
.tv_drawer_item_total_box strong,
.tv_producto_panel_precio strong {
  color: #5a4767;
  font-weight: 700;
  letter-spacing: -.03em;
  text-align: center;
}

.tv_cart_card_price,
.tv_drawer_item_precios strong,
.tv_drawer_item_total_box strong,
.tv_producto_panel_precio strong {
  white-space: nowrap;
}

.tv_drawer_item_precios {
  align-items: center;
  text-align: center;
}

.tv_drawer_item_precios span,
.tv_producto_precio_anterior {
  color: #9a879a;
  font-weight: 600;
}

.tv_producto_panel_precio {
  align-items: center;
  text-align: center;
}

.tv_producto_panel_precio strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  line-height: 1;
}

@media (max-width: 860px) {
  .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_producto_card_price_block,
  #grid_catalogo_productos .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
    min-height: 90px;
    padding: .95rem .85rem;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    font-size: clamp(1.58rem, 7vw, 1.96rem);
  }

  .tv_producto_panel_precio strong {
    font-size: clamp(1.82rem, 8vw, 2.3rem);
  }
}

/* Ajuste final visual de precios en tarjetas de producto */
.tv_home_products_grid .tv_producto_card_price_block,
.tv_ofertas_lista .tv_producto_card_price_block,
#grid_catalogo_productos .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .3rem !important;
  min-height: 72px !important;
  padding: .82rem 1rem .88rem !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 241, 250, 0.98) 100%) !important;
  border: 1px solid rgba(194, 178, 208, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
}

.tv_home_products_grid .tv_producto_card_precio_anterior,
.tv_ofertas_lista .tv_producto_card_precio_anterior,
#grid_catalogo_productos .tv_producto_card_precio_anterior,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio_anterior {
  display: block !important;
  min-height: auto !important;
  margin: 0 !important;
  color: #b4a4b7 !important;
  font-family: var(--tv-font-base) !important;
  font-size: .8rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-decoration: line-through !important;
  text-align: center !important;
}

.tv_home_products_grid .tv_producto_card_precio,
.tv_ofertas_lista .tv_producto_card_precio,
#grid_catalogo_productos .tv_producto_card_precio,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: auto !important;
  margin: 0 !important;
  color: #7d5aa5 !important;
  font-family: var(--tv-font-heading) !important;
  font-size: clamp(1.9rem, 2vw, 2.18rem) !important;
  font-weight: 700 !important;
  line-height: .95 !important;
  letter-spacing: -.04em !important;
  text-align: center !important;
}

@media (max-width: 1024px) {
  .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_producto_card_price_block,
  #grid_catalogo_productos .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
    min-height: 68px !important;
    padding: .78rem .9rem .82rem !important;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    font-size: clamp(1.72rem, 1.9vw, 1.96rem) !important;
  }
}

@media (max-width: 860px) {
  .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_producto_card_price_block,
  #grid_catalogo_productos .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
    align-items: flex-start !important;
    justify-content: center !important;
    min-height: 64px !important;
    padding: .72rem .85rem .76rem !important;
  }

  .tv_home_products_grid .tv_producto_card_precio_anterior,
  .tv_ofertas_lista .tv_producto_card_precio_anterior,
  #grid_catalogo_productos .tv_producto_card_precio_anterior,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio_anterior,
  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    font-size: clamp(1.48rem, 5vw, 1.72rem) !important;
  }
}

/* Ajuste final v25: precio equilibrado y bloque compacto en cards publicas */
.tv_home_products_grid .tv_producto_card_price_block,
.tv_ofertas_lista .tv_producto_card_price_block,
#grid_catalogo_productos .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
  min-height: 58px !important;
  padding: .58rem .78rem !important;
  border-radius: 17px !important;
  gap: .14rem !important;
}

.tv_home_products_grid .tv_producto_card_precio_anterior,
.tv_ofertas_lista .tv_producto_card_precio_anterior,
#grid_catalogo_productos .tv_producto_card_precio_anterior,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio_anterior {
  font-size: .7rem !important;
  line-height: 1.05 !important;
  margin-bottom: .04rem !important;
}

.tv_home_products_grid .tv_producto_card_precio,
.tv_ofertas_lista .tv_producto_card_precio,
#grid_catalogo_productos .tv_producto_card_precio,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
  font-size: 1.06rem !important;
  line-height: 1 !important;
  letter-spacing: -.02em !important;
}

@media (max-width: 860px) {
  .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_producto_card_price_block,
  #grid_catalogo_productos .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
    min-height: 54px !important;
    padding: .52rem .72rem !important;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    font-size: .98rem !important;
  }
}

@media (max-width: 420px) {
  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    font-size: .94rem !important;
  }
}


/* Ajuste final v26: mejor distribucion en ver producto y precio equilibrado */
.tv_producto_detalle_info_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 1rem;
}

.tv_producto_detalle_info_card {
  display: grid;
  gap: .85rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(191,175,208,0.24);
  border-radius: 1.7rem;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 16px 30px rgba(55,45,80,0.07);
}

.tv_producto_detalle_info_card h2 {
  margin: 0;
  color: #2d213d;
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.tv_producto_detalle_info_card p {
  margin: 0;
  color: #685666;
  font-size: .96rem;
  line-height: 1.75;
}

.tv_producto_detalle_tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.tv_producto_detalle_tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 .95rem;
  border-radius: 999px;
  background: rgba(241,235,247,0.92);
  color: #5f4f74;
  font-size: .84rem;
  font-weight: 600;
}

.tv_producto_panel_lateral {
  gap: 1rem !important;
}

.tv_producto_panel_precio strong {
  font-size: clamp(1.9rem, 2.25vw, 2.35rem);
}

.tv_home_products_grid .tv_producto_card_price_block,
.tv_ofertas_lista .tv_producto_card_price_block,
#grid_catalogo_productos .tv_producto_card_price_block,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
  min-height: 62px !important;
  padding: .68rem .82rem !important;
  gap: .18rem !important;
}

.tv_home_products_grid .tv_producto_card_precio_anterior,
.tv_ofertas_lista .tv_producto_card_precio_anterior,
#grid_catalogo_productos .tv_producto_card_precio_anterior,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio_anterior {
  font-size: .74rem !important;
}

.tv_home_products_grid .tv_producto_card_precio,
.tv_ofertas_lista .tv_producto_card_precio,
#grid_catalogo_productos .tv_producto_card_precio,
.tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
  font-size: 1.22rem !important;
}

@media (max-width: 1024px) {
  .tv_producto_detalle_info_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .tv_home_products_grid .tv_producto_card_price_block,
  .tv_ofertas_lista .tv_producto_card_price_block,
  #grid_catalogo_productos .tv_producto_card_price_block,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_price_block {
    min-height: 58px !important;
    padding: .62rem .76rem !important;
  }

  .tv_home_products_grid .tv_producto_card_precio,
  .tv_ofertas_lista .tv_producto_card_precio,
  #grid_catalogo_productos .tv_producto_card_precio,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_precio {
    font-size: 1.12rem !important;
  }
}

/* Ajuste final v27: detalle de producto y relacionados */
.tv_producto_detalle_grid {
  gap: 1.35rem !important;
  align-items: start !important;
}

.tv_producto_detalle_media {
  min-height: 360px !important;
}

.tv_producto_detalle_info_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .95fr);
  gap: 1rem;
  align-items: stretch;
}

.tv_producto_detalle_info_card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: 1.35rem 1.45rem;
  border-radius: 1.65rem;
  border: 1px solid rgba(191, 175, 208, 0.22);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(48, 37, 68, 0.06);
}

.tv_producto_detalle_info_card h2 {
  margin-bottom: .7rem;
}

.tv_producto_detalle_info_card p {
  margin-bottom: .85rem;
}

.tv_producto_relacionados_embebidos {
  margin-top: .15rem;
}

.tv_producto_relacionados_embebidos summary {
  padding-bottom: .35rem;
}

.tv_product_grid_relacionados_detalle {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .95rem !important;
  align-items: stretch !important;
}

.tv_product_grid_relacionados_detalle > .tv_producto_card_base,
.tv_product_grid_relacionados_detalle > article {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.tv_producto_relacionados_contenido .tv_product_grid_relacionados_detalle .tv_producto_card_media_frame {
  min-height: 188px !important;
  height: 188px !important;
}

.tv_producto_relacionados_contenido .tv_product_grid_relacionados_detalle .tv_producto_card_imagen {
  height: 150px !important;
  max-height: 150px !important;
}

.tv_producto_relacionados_contenido .tv_product_grid_relacionados_detalle .tv_producto_card_body {
  padding: .95rem .95rem 1rem !important;
}

.tv_producto_relacionados_contenido .tv_product_grid_relacionados_detalle .tv_producto_card_title {
  min-height: calc(1.24em * 2) !important;
  font-size: 1.02rem !important;
}

.tv_producto_relacionados_contenido .tv_product_grid_relacionados_detalle .tv_producto_card_resumen {
  min-height: calc(1.42em * 2) !important;
  font-size: .88rem !important;
}

.tv_producto_relacionados_contenido .tv_product_grid_relacionados_detalle .tv_producto_card_price_block {
  min-height: 54px !important;
}

.tv_producto_relacionados_contenido .tv_product_grid_relacionados_detalle .tv_producto_card_actions_mobile {
  gap: .55rem !important;
}

.tv_producto_relacionados_contenido .tv_product_grid_relacionados_detalle .tv_producto_card_cta {
  min-height: 44px !important;
}

.tv_producto_panel_lateral {
  gap: .9rem !important;
}

.tv_producto_panel_lateral .space-y-4 > * + * {
  margin-top: .9rem !important;
}

.tv_producto_cantidad_card {
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: .85rem;
  padding: .9rem 1rem;
}

.tv_producto_form_acciones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.tv_producto_form_boton_neutro {
  grid-column: 1 / -1;
}

@media (max-width: 1279px) {
  .tv_product_grid_relacionados_detalle {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1023px) {
  .tv_producto_detalle_info_grid {
    grid-template-columns: 1fr;
  }

  .tv_product_grid_relacionados_detalle {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_producto_form_acciones {
    grid-template-columns: 1fr;
  }

  .tv_producto_form_boton_neutro {
    grid-column: auto;
  }
}

@media (max-width: 639px) {
  .tv_product_grid_relacionados_detalle {
    grid-template-columns: 1fr !important;
  }

  .tv_producto_detalle_info_card {
    padding: 1.1rem 1rem;
  }
}


.tv_producto_crecimiento_grid {
  display:grid;
  gap:1.2rem;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.tv_producto_crecimiento_card {
  display:flex;
  flex-direction:column;
  gap:.9rem;
  padding:1.35rem;
  border:1px solid rgba(191,175,208,0.24);
  border-radius:28px;
  background:#fff;
  box-shadow:0 16px 34px rgba(104,86,102,0.06);
}

.tv_producto_crecimiento_metricas {
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
}

.tv_producto_crecimiento_metricas span {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.55rem .9rem;
  border-radius:999px;
  background:rgba(245,242,248,0.95);
  color:#685666;
  font-size:.85rem;
}

.tv_producto_crecimiento_form,
.tv_producto_resena_form {
  display:flex;
  flex-direction:column;
  gap:.85rem;
}

.tv_producto_resena_form_grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
}

.tv_producto_resena_form label,
.tv_producto_resena_form select,
.tv_producto_resena_form input,
.tv_producto_resena_form textarea {
  width:100%;
}

.tv_producto_resena_form label span {
  display:block;
  margin-bottom:.45rem;
  color:#685666;
  font-size:.88rem;
  font-weight:600;
}

.tv_producto_resena_form select,
.tv_producto_resena_form input,
.tv_producto_resena_form textarea {
  border:1px solid rgba(191,175,208,0.28);
  border-radius:18px;
  background:#fff;
  padding:.85rem 1rem;
  color:#4e3d6a;
}

.tv_producto_resenas_lista {
  display:grid;
  gap:.85rem;
}

.tv_producto_resena_item {
  padding:1rem 1.05rem;
  border-radius:22px;
  background:rgba(248,244,250,0.92);
  border:1px solid rgba(191,175,208,0.18);
}

.tv_producto_resena_item header {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
  color:#685666;
}

.tv_producto_resena_item h3 {
  margin:.55rem 0 .35rem;
  color:#4e3d6a;
  font-size:1rem;
  font-weight:700;
}

.tv_producto_resena_item p,
.tv_producto_resena_vacio {
  margin:0;
  color:#685666;
}

.tv_producto_favorito_boton,
.tv_producto_resena_cta {
  text-decoration:none;
}

.tv_account_growth_section {
  margin-top:1.6rem;
  display:flex;
  flex-direction:column;
  gap:1rem;
}

.tv_account_growth_header h2 {
  margin:.35rem 0;
  color:#312543;
  font-size:2rem;
  font-weight:700;
}

.tv_account_growth_header p {
  margin:0;
  color:rgba(49,37,67,0.74);
}

.tv_account_growth_grid {
  display:grid;
  gap:1rem;
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.tv_account_growth_grid_secondary {
  grid-template-columns:1fr;
}

.tv_account_growth_card {
  display:flex;
  flex-direction:column;
  gap:.75rem;
  padding:1.3rem;
  border-radius:28px;
  background:rgba(255,255,255,0.82);
  border:1px solid rgba(49,37,67,0.08);
  box-shadow:0 16px 30px rgba(49,37,67,0.06);
}

.tv_account_growth_card strong {
  color:#7b59b5;
  font-size:1.4rem;
}

.tv_account_growth_links,
.tv_account_growth_reviews {
  display:grid;
  gap:.65rem;
}

.tv_account_growth_links a,
.tv_account_growth_review_item {
  display:block;
  padding:.85rem 1rem;
  border-radius:18px;
  background:rgba(237,231,245,0.72);
  color:#312543;
  text-decoration:none;
}

.tv_account_growth_bullets {
  display:grid;
  gap:.65rem;
  margin:0;
  padding:0;
  list-style:none;
}

.tv_account_growth_bullets li {
  display:flex;
  flex-direction:column;
  gap:.2rem;
  padding:.85rem 1rem;
  border-radius:18px;
  background:rgba(237,231,245,0.72);
}

.tv_account_growth_review_item header {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  color:#312543;
}

.tv_account_growth_review_item p {
  margin:.45rem 0 0;
  color:rgba(49,37,67,0.8);
}

@media (max-width: 1024px) {
  .tv_producto_crecimiento_grid,
  .tv_account_growth_grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 768px) {
  .tv_producto_crecimiento_grid,
  .tv_producto_resena_form_grid,
  .tv_account_growth_grid {
    grid-template-columns:1fr;
  }
}


.tv_producto_resena_detalle {
  border-top: 1px solid rgba(191,175,208,0.22);
  padding-top: .95rem;
}

.tv_producto_resena_detalle summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #685666;
  margin-bottom: .85rem;
}

.tv_producto_resena_detalle summary::-webkit-details-marker {
  display: none;
}


/* Ajuste v37: lista de deseos, modal publico y cards responsive */
.tv_modal_checkout {
  position: fixed;
  inset: 0;
  z-index: 1205;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tv_modal_checkout_dialogo {
  width: min(560px, calc(100vw - 32px));
  margin: 0 !important;
}
@media (min-width: 861px) {
  .tv_home_products_grid .tv_producto_card_actions_mobile,
  .tv_ofertas_lista .tv_producto_card_actions_mobile,
  #grid_catalogo_productos .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_actions_mobile {
    display: none !important;
  }
}
@media (max-width: 860px) {
  .tv_home_products_grid .tv_producto_card_overlay,
  .tv_ofertas_lista .tv_producto_card_overlay,
  #grid_catalogo_productos .tv_producto_card_overlay,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_overlay {
    display: none !important;
  }
  .tv_home_products_grid .tv_producto_card_actions_mobile,
  .tv_ofertas_lista .tv_producto_card_actions_mobile,
  #grid_catalogo_productos .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_actions_mobile {
    display: grid !important;
  }
}
.tv_producto_favorito_activo {
  border-color: rgba(155,126,189,0.42) !important;
  color: #9B7EBD !important;
}
.tv_producto_crecimiento_card .tv_form_favorito_producto {
  margin-top: .85rem;
}
.tv_producto_crecimiento_card .tv_form_favorito_producto .tv_producto_form_boton {
  width: 100%;
}


@media (min-width: 861px) {
  .tv_home_products_grid .tv_producto_card_actions_mobile,
  .tv_ofertas_lista .tv_producto_card_actions_mobile,
  #grid_catalogo_productos .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_actions_mobile {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .tv_home_products_grid .tv_producto_card_overlay,
  .tv_ofertas_lista .tv_producto_card_overlay,
  #grid_catalogo_productos .tv_producto_card_overlay,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_overlay {
    display: none !important;
  }

  .tv_home_products_grid .tv_producto_card_actions_mobile,
  .tv_ofertas_lista .tv_producto_card_actions_mobile,
  #grid_catalogo_productos .tv_producto_card_actions_mobile,
  .tv_producto_relacionados_contenido .tv_product_grid .tv_producto_card_actions_mobile {
    display: grid !important;
  }
}


/* Ajuste v39: modal publico, lista de deseos cuenta y paginacion catalogo asincrona */
.tv_modal_checkout {
  padding: 20px;
}
.tv_modal_checkout_backdrop {
  position: absolute !important;
  inset: 0;
  z-index: 0 !important;
  background: rgba(49, 37, 67, 0.18) !important;
  backdrop-filter: blur(2px);
}
.tv_modal_checkout_dialogo {
  position: relative;
  z-index: 1 !important;
  width: min(460px, calc(100vw - 32px)) !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(191, 175, 208, 0.34);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,244,251,0.98) 100%);
  box-shadow: 0 28px 60px rgba(49, 37, 67, 0.18);
}
.tv_modal_checkout_cabecera,
.tv_modal_checkout_cuerpo,
.tv_modal_checkout_acciones {
  position: relative;
  z-index: 1;
}
.tv_modal_checkout_cabecera {
  padding: 22px 22px 8px;
}
.tv_modal_checkout_cuerpo {
  padding: 0 22px 8px;
  color: #5f4f68;
}
.tv_modal_checkout_acciones {
  padding: 12px 22px 22px;
}
.tv_modal_publico_resumen p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
#tv_account_lista_deseos {
  margin-bottom: 24px;
}
.tv_account_wishlist_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.tv_account_wishlist_item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(191,175,208,0.20);
  background: rgba(255,255,255,0.88);
}
.tv_account_wishlist_media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(248,244,250,0.95);
  border: 1px solid rgba(191,175,208,0.22);
  overflow: hidden;
}
.tv_account_wishlist_media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tv_account_wishlist_media span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #9B7EBD;
}
.tv_account_wishlist_copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tv_account_wishlist_copy strong,
.tv_account_wishlist_copy small,
.tv_account_wishlist_copy span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv_account_wishlist_copy strong {
  color: #312543;
}
.tv_account_wishlist_copy small {
  color: #7d6c88;
}
.tv_account_wishlist_copy span {
  font-weight: 700;
  color: #9B7EBD;
}
@media (max-width: 860px) {
  .tv_modal_checkout_dialogo {
    width: min(420px, calc(100vw - 24px)) !important;
  }
  .tv_account_wishlist_item {
    grid-template-columns: 64px 1fr;
  }
}
/* Ajuste v40: lista de deseos independiente en cuenta y toast VENUS */
.tv_account_panel_view_deseos .tv_account_wishlist_banner,
.tv_account_wishlist_card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(237,231,245,0.96) 0%, rgba(255,255,255,0.90) 100%);
  box-shadow: 0 16px 38px rgba(49,37,67,0.07);
}
.tv_account_panel_view_deseos .tv_account_wishlist_banner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
}
.tv_account_wishlist_card {
  padding: 28px;
}
.tv_account_wishlist_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 16px;
}
.tv_account_wishlist_item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(191,175,208,0.22);
  border-radius: 26px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 28px rgba(49,37,67,0.06);
}
.tv_account_wishlist_media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(191,175,208,0.24);
  border-radius: 22px;
  background: rgba(248,244,250,0.96);
  overflow: hidden;
}
.tv_account_wishlist_media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tv_account_wishlist_media span {
  color: #9B7EBD;
  font-size: 1.55rem;
  font-weight: 700;
}
.tv_account_wishlist_copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.tv_account_wishlist_copy strong,
.tv_account_wishlist_copy small,
.tv_account_wishlist_copy span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv_account_wishlist_copy strong {
  color: #312543;
  font-size: 1rem;
  line-height: 1.25;
}
.tv_account_wishlist_copy small {
  display: -webkit-box;
  color: rgba(49,37,67,0.66);
  font-size: .88rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tv_account_wishlist_copy span {
  color: #9B7EBD;
  font-size: 1.02rem;
  font-weight: 800;
}
.tv_account_wishlist_actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 2px;
}
.tv_account_wishlist_actions .tv_btn,
.tv_account_wishlist_actions button {
  min-height: 38px;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .86rem;
  line-height: 1;
}
.tv_account_wishlist_remove {
  border-color: rgba(155,126,189,0.28) !important;
  color: #7b59b5 !important;
}
.tv_account_wishlist_empty {
  grid-column: 1 / -1;
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
}
.tv_account_growth_grid_limpio {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.tv_toast_contenedor {
  right: 24px;
  bottom: 24px;
  z-index: 2400;
  width: min(360px,calc(100vw - 32px));
  pointer-events: none;
}
.tv_toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(191,175,208,0.30);
  border-radius: 22px;
  background: rgba(255,255,255,0.98);
  color: #312543;
  box-shadow: 0 18px 42px rgba(49,37,67,0.16);
  pointer-events: auto;
}
.tv_toast::before {
  content: '';
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: #9B7EBD;
  box-shadow: 0 0 0 6px rgba(155,126,189,0.14);
}
.tv_toast_error::before {
  background: #B75C7B;
  box-shadow: 0 0 0 6px rgba(183,92,123,0.12);
}
.tv_toast span {
  flex: 1;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.35;
}
.tv_toast button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(237,231,245,0.88);
  color: #312543;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .tv_account_growth_grid_limpio {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 760px) {
  .tv_account_panel_view_deseos .tv_account_wishlist_banner {
    flex-direction: column;
    padding: 22px;
  }
  .tv_account_wishlist_card {
    padding: 20px;
  }
  .tv_account_wishlist_grid,
  .tv_account_growth_grid_limpio {
    grid-template-columns: 1fr;
  }
  .tv_account_wishlist_item {
    grid-template-columns: 72px 1fr;
    padding: 14px;
  }
  .tv_account_wishlist_media {
    width: 72px;
    height: 72px;
  }
  .tv_account_wishlist_actions {
    justify-content: stretch;
  }
  .tv_account_wishlist_actions .tv_btn,
  .tv_account_wishlist_actions form,
  .tv_account_wishlist_actions button {
    width: 100%;
  }
  .tv_toast_contenedor {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }
}
.tv_account_dashboard_actions_bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tv_account_action_button.tv_account_view_button_activo {
  border-color: rgba(155,126,189,0.34) !important;
  background: #312543 !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(49,37,67,0.14);
}
.tv_account_dashboard_actions_bar {
  display: grid !important;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 8px;
  width: 100%;
}
.tv_account_dashboard_actions_bar .tv_account_action_button {
  width: 100%;
  min-height: 34px;
  padding: 7px 10px !important;
  font-size: .78rem !important;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}
.tv_account_panel_view_comunidad .tv_account_growth_section {
  margin-top: 0;
}
.tv_account_panel_view_comunidad .tv_account_growth_header {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 32px;
  background: linear-gradient(135deg,rgba(237,231,245,0.96) 0%,rgba(255,255,255,0.90) 100%);
  box-shadow: 0 16px 38px rgba(49,37,67,0.07);
}
.tv_account_panel_view_comunidad .tv_account_growth_grid_limpio {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.tv_account_wishlist_card {
  padding: 22px;
}
.tv_account_wishlist_grid {
  grid-template-columns: repeat(auto-fit,minmax(210px,1fr)) !important;
  gap: 14px;
}
.tv_account_wishlist_item {
  grid-template-columns: 70px minmax(0,1fr) !important;
  gap: 12px !important;
  padding: 14px !important;
  border-radius: 24px !important;
}
.tv_account_wishlist_media {
  width: 70px !important;
  height: 70px !important;
  border-radius: 18px !important;
}
.tv_account_wishlist_copy strong {
  font-size: .92rem !important;
}
.tv_account_wishlist_copy small {
  font-size: .78rem !important;
  -webkit-line-clamp: 2;
}
.tv_account_wishlist_copy span {
  font-size: .92rem !important;
}
.tv_account_wishlist_actions {
  gap: 8px !important;
}
.tv_account_wishlist_actions form {
  margin: 0;
}
.tv_account_wishlist_actions .tv_btn,
.tv_account_wishlist_actions button {
  min-height: 34px !important;
  padding: 8px 13px !important;
  font-size: .78rem !important;
}
.tv_cart_wishlist_panel {
  display: grid;
  gap: 12px;
  margin: 12px 18px 0;
  padding: 16px;
  border: 1px solid rgba(191,175,208,0.24);
  border-radius: 24px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 14px 30px rgba(49,37,67,0.07);
}
.tv_cart_wishlist_panel_pagina {
  margin: 18px 0 0;
  background: rgba(237,231,245,0.72);
}
.tv_cart_wishlist_head {
  display: grid;
  gap: 4px;
}
.tv_cart_wishlist_head h4 {
  margin: 0;
  color: #312543;
  font-size: 1rem;
  font-weight: 700;
}
.tv_cart_wishlist_list {
  display: grid;
  gap: 10px;
}
.tv_cart_wishlist_item {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(191,175,208,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
}
.tv_cart_wishlist_media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(248,244,250,0.96);
  overflow: hidden;
}
.tv_cart_wishlist_media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tv_cart_wishlist_media span {
  color: #9B7EBD;
  font-weight: 700;
}
.tv_cart_wishlist_copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.tv_cart_wishlist_copy strong {
  overflow: hidden;
  color: #312543;
  font-size: .84rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tv_cart_wishlist_copy span {
  color: #7b59b5;
  font-size: .82rem;
  font-weight: 700;
}
.tv_cart_wishlist_form .tv_btn {
  min-height: 32px;
  padding: 7px 12px;
  font-size: .76rem;
}
.tv_cart_wishlist_link {
  justify-self: start;
  min-height: 34px;
  padding: 8px 14px !important;
  font-size: .8rem !important;
}
.tv_cart_wishlist_empty {
  margin: 0;
  color: rgba(49,37,67,0.72);
  font-size: .86rem;
  line-height: 1.45;
}
@media (max-width: 1180px) {
  .tv_account_dashboard_actions_bar {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 760px) {
  .tv_account_dashboard_actions_bar {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .tv_account_panel_view_comunidad .tv_account_growth_grid_limpio,
  .tv_account_panel_view_comunidad .tv_account_growth_grid_secondary {
    grid-template-columns: 1fr;
  }
  .tv_cart_wishlist_item {
    grid-template-columns: 48px minmax(0,1fr);
  }
  .tv_cart_wishlist_form {
    grid-column: 1 / -1;
  }
  .tv_cart_wishlist_form .tv_btn {
    width: 100%;
  }
}
@media (max-width: 430px) {
  .tv_account_dashboard_actions_bar {
    grid-template-columns: 1fr;
  }
}
/* Ajuste v43: tabs cuenta, alertas livianas y deseos separados del carrito */
.tv_account_dashboard_tabs {
  display: grid !important;
  gap: 16px !important;
}
.tv_account_dashboard_actions_bar {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  width: 100% !important;
  padding: 6px !important;
  overflow-x: auto !important;
  border: 1px solid rgba(191,175,208,0.22) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.56) !important;
  scrollbar-width: thin;
}
.tv_account_dashboard_actions_bar .tv_account_action_button {
  flex: 1 1 0 !important;
  min-width: 108px !important;
  min-height: 28px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: .7rem !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.tv_toast_contenedor {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 3200 !important;
  width: min(330px,calc(100vw - 32px)) !important;
  pointer-events: none !important;
}
.tv_toast {
  display: grid !important;
  grid-template-columns: 26px minmax(0,1fr) 24px !important;
  gap: 10px !important;
  align-items: center !important;
  width: 100% !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(191,175,208,0.26) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.96) !important;
  color: #312543 !important;
  box-shadow: 0 14px 34px rgba(49,37,67,0.14) !important;
  backdrop-filter: blur(10px) !important;
  pointer-events: auto !important;
}
.tv_toast::before {
  content: none !important;
}
.tv_toast i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  background: #9B7EBD !important;
  color: #fff !important;
  font-style: normal !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
}
.tv_toast_error i {
  background: #B75C7B !important;
}
.tv_toast span {
  overflow: hidden !important;
  color: #312543 !important;
  font-size: .82rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis !important;
}
.tv_toast button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(237,231,245,0.72) !important;
  color: #312543 !important;
  cursor: pointer !important;
}
.tv_drawer_encabezado {
  position: sticky !important;
  top: 0 !important;
  z-index: 4 !important;
  background: linear-gradient(135deg,rgba(247,243,250,0.98) 0%,rgba(255,255,255,0.96) 100%) !important;
  backdrop-filter: blur(12px) !important;
}
.tv_drawer_wishlist_lateral {
  position: fixed;
  top: 22px;
  right: 458px;
  z-index: 309;
  width: 310px;
  max-height: calc(100dvh - 44px);
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity .24s ease, transform .24s ease;
}
#aside_carrito_tienda_publica.tv_drawer_carrito_abierto ~ .tv_drawer_wishlist_lateral {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.tv_drawer_wishlist_lateral .tv_cart_wishlist_panel {
  margin: 0 !important;
  padding: 16px !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,0.94) !important;
  box-shadow: 0 18px 42px rgba(49,37,67,0.14) !important;
}
.tv_drawer_wishlist_lateral .tv_cart_wishlist_item,
.tv_cart_page_wishlist_side .tv_cart_wishlist_item {
  grid-template-columns: 48px minmax(0,1fr) !important;
  gap: 9px !important;
}
.tv_drawer_wishlist_lateral .tv_cart_wishlist_form,
.tv_cart_page_wishlist_side .tv_cart_wishlist_form {
  grid-column: 1 / -1 !important;
}
.tv_drawer_wishlist_lateral .tv_cart_wishlist_form .tv_btn,
.tv_cart_page_wishlist_side .tv_cart_wishlist_form .tv_btn {
  width: 100% !important;
}
.tv_cart_page_layout_con_deseos {
  grid-template-columns: minmax(230px,280px) minmax(0,1fr) minmax(300px,360px) !important;
  gap: 1.25rem !important;
}
.tv_cart_page_wishlist_side {
  position: sticky;
  top: 118px;
  min-width: 0;
}
.tv_cart_page_wishlist_side .tv_cart_wishlist_panel {
  margin: 0 !important;
}
@media (max-width: 1180px) {
  .tv_account_dashboard_actions_bar {
    grid-template-columns: none !important;
  }
  .tv_cart_page_layout_con_deseos {
    grid-template-columns: minmax(0,1fr) minmax(290px,340px) !important;
  }
  .tv_cart_page_wishlist_side {
    grid-column: 1 / -1;
    position: static;
  }
  .tv_cart_page_wishlist_side .tv_cart_wishlist_list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 920px) {
  .tv_drawer_wishlist_lateral {
    display: none;
  }
}
@media (max-width: 760px) {
  .tv_account_dashboard_actions_bar {
    justify-content: flex-start !important;
    border-radius: 22px !important;
  }
  .tv_account_dashboard_actions_bar .tv_account_action_button {
    flex: 0 0 auto !important;
    min-width: 118px !important;
  }
  .tv_cart_page_layout_con_deseos,
  .tv_cart_page_wishlist_side .tv_cart_wishlist_list {
    grid-template-columns: 1fr !important;
  }
  .tv_toast_contenedor {
    right: 14px !important;
    bottom: 14px !important;
    width: calc(100vw - 28px) !important;
  }
}
.tv_drawer_backdrop {
  z-index: 3000 !important;
}
.tv_drawer_carrito {
  z-index: 3010 !important;
}
.tv_drawer_wishlist_lateral {
  z-index: 3009 !important;
}
/* Ajuste v44: cuenta compacta, modal VENUS y wishlist estable */
.tv_account_dashboard_tabs {
  gap: 10px !important;
}
.tv_account_dashboard_actions_bar {
  display: grid !important;
  grid-template-columns: repeat(6,minmax(0,1fr)) !important;
  gap: 6px !important;
  max-width: 880px !important;
  margin: 0 auto !important;
  padding: 4px !important;
  overflow: visible !important;
  border: 1px solid rgba(191,175,208,0.18) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.52) !important;
  box-shadow: 0 10px 24px rgba(49,37,67,0.05) !important;
}
.tv_account_dashboard_actions_bar .tv_account_action_button {
  min-width: 0 !important;
  min-height: 27px !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  font-size: .68rem !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
}
.tv_account_action_button.tv_account_view_button_activo {
  background: #312543 !important;
  color: #fff !important;
  box-shadow: 0 9px 20px rgba(49,37,67,0.13) !important;
}
.tv_modal_checkout {
  z-index: 3400 !important;
  padding: 18px !important;
}
.tv_modal_checkout_backdrop {
  background: rgba(49,37,67,0.30) !important;
  backdrop-filter: blur(5px) !important;
}
.tv_modal_checkout_dialogo {
  width: min(390px,calc(100vw - 28px)) !important;
  border: 1px solid rgba(255,255,255,0.72) !important;
  border-radius: 26px !important;
  background: linear-gradient(145deg,rgba(255,255,255,0.98) 0%,rgba(246,239,250,0.98) 100%) !important;
  box-shadow: 0 30px 70px rgba(49,37,67,0.24) !important;
}
.tv_modal_checkout_dialogo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right,rgba(191,175,208,0.28),transparent 42%);
}
.tv_modal_checkout_cabecera {
  padding: 22px 24px 6px !important;
}
.tv_modal_checkout_cabecera .tv_etiqueta {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #9B7EBD;
  color: #fff;
  font-size: .68rem;
  letter-spacing: .04em;
}
.tv_modal_checkout_cabecera h3 {
  margin: 12px 0 0 !important;
  color: #312543 !important;
  font-size: 1.22rem !important;
  line-height: 1.15 !important;
}
.tv_modal_checkout_cuerpo {
  padding: 0 24px 6px !important;
}
.tv_modal_publico_mensaje {
  margin: 0 !important;
  color: #5f4f68 !important;
  font-size: .94rem !important;
  line-height: 1.55 !important;
}
.tv_modal_checkout_acciones {
  display: flex !important;
  justify-content: flex-end !important;
  padding: 12px 24px 24px !important;
}
.tv_modal_checkout_acciones .tv_btn {
  min-width: 118px !important;
  min-height: 38px !important;
  border-radius: 999px !important;
  font-size: .84rem !important;
}
.tv_btn_procesando {
  opacity: .72 !important;
  cursor: wait !important;
}
.tv_producto_card_accion.tv_producto_favorito_activo {
  background: #9B7EBD !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(155,126,189,0.22) !important;
}
.tv_producto_card_accion.tv_producto_favorito_activo svg {
  fill: currentColor !important;
}
.tv_drawer_encabezado {
  position: sticky !important;
  top: 0 !important;
  z-index: 12 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(191,175,208,0.18) !important;
  background: linear-gradient(135deg,rgba(247,243,250,0.98) 0%,rgba(255,255,255,0.98) 100%) !important;
  box-shadow: 0 10px 24px rgba(49,37,67,0.06) !important;
}
.tv_drawer_wishlist_mobile {
  display: none;
  padding: 0 18px 12px;
}
.tv_drawer_wishlist_mobile .tv_cart_wishlist_panel {
  margin: 0 !important;
}
.tv_drawer_wishlist_lateral {
  right: 430px !important;
  z-index: 3005 !important;
  width: 300px !important;
  pointer-events: none !important;
}
#aside_carrito_tienda_publica.tv_drawer_carrito_abierto ~ .tv_drawer_wishlist_lateral {
  pointer-events: auto !important;
}
.tv_drawer_wishlist_lateral .tv_cart_wishlist_panel {
  max-height: calc(100dvh - 44px) !important;
  overflow: auto !important;
}
.tv_account_opiniones_section {
  display: grid;
  gap: 16px;
}
.tv_account_opiniones_hero,
.tv_account_opiniones_card,
.tv_account_opiniones_resenas {
  border: 1px solid rgba(255,255,255,0.62);
  background: linear-gradient(135deg,rgba(237,231,245,0.94) 0%,rgba(255,255,255,0.92) 100%);
  box-shadow: 0 16px 38px rgba(49,37,67,0.07);
}
.tv_account_opiniones_hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
}
.tv_account_opiniones_hero h2,
.tv_account_opiniones_card h3,
.tv_account_opiniones_resenas h3 {
  margin: 0;
  color: #312543;
}
.tv_account_opiniones_hero p,
.tv_account_opiniones_card p,
.tv_account_opinion_item p {
  margin: 7px 0 0;
  color: rgba(49,37,67,0.72);
  line-height: 1.5;
}
.tv_account_opiniones_metricas {
  display: grid;
  grid-template-columns: repeat(3,minmax(76px,1fr));
  gap: 8px;
}
.tv_account_opiniones_metricas article {
  display: grid;
  gap: 3px;
  min-width: 76px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  text-align: center;
}
.tv_account_opiniones_metricas strong {
  color: #7b59b5;
  font-size: 1.12rem;
}
.tv_account_opiniones_metricas span {
  color: rgba(49,37,67,0.66);
  font-size: .72rem;
}
.tv_account_opiniones_grid {
  display: grid;
  grid-template-columns: .85fr 1.3fr .9fr;
  gap: 14px;
}
.tv_account_opiniones_card,
.tv_account_opiniones_resenas {
  padding: 20px;
  border-radius: 26px;
}
.tv_account_opiniones_links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tv_account_opiniones_links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(155,126,189,0.20);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: #7b59b5;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.tv_account_opiniones_lista {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}
.tv_account_opinion_item {
  padding: 14px;
  border: 1px solid rgba(191,175,208,0.18);
  border-radius: 20px;
  background: rgba(255,255,255,0.86);
}
.tv_account_opinion_item header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}
.tv_account_opinion_item strong {
  color: #312543;
  font-size: .9rem;
  line-height: 1.25;
}
.tv_account_opinion_item span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(155,126,189,0.13);
  color: #7b59b5;
  font-size: .68rem;
  font-weight: 800;
}
@media (max-width: 1180px) {
  .tv_drawer_wishlist_lateral {
    display: none !important;
  }
  .tv_drawer_wishlist_mobile {
    display: block !important;
  }
  .tv_account_opiniones_hero,
  .tv_account_opiniones_grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .tv_account_dashboard_actions_bar {
    display: flex !important;
    max-width: none !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    border-radius: 18px !important;
  }
  .tv_account_dashboard_actions_bar .tv_account_action_button {
    flex: 0 0 auto !important;
    min-width: 104px !important;
  }
  .tv_account_opiniones_hero {
    padding: 18px;
  }
  .tv_account_opiniones_metricas,
  .tv_account_opiniones_lista {
    grid-template-columns: 1fr;
  }
  .tv_drawer_wishlist_mobile {
    padding: 0 14px 12px;
  }
}
/* Ajuste v45: wishlist alineada al carrito y estado activo de deseos */
.tv_producto_card_accion.tv_producto_favorito_activo,
.tv_producto_card_cta.tv_producto_favorito_activo {
  background: #B75C7B !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(183,92,123,0.24) !important;
}
.tv_producto_card_accion.tv_producto_favorito_activo svg,
.tv_producto_card_cta.tv_producto_favorito_activo svg {
  fill: currentColor !important;
  stroke: currentColor !important;
}
.tv_drawer_wishlist_lateral {
  top: 0 !important;
  right: min(446px,calc(100vw - 12px)) !important;
  width: 318px !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  padding: 18px 12px 18px 0 !important;
  overflow: hidden !important;
  transform: translateX(18px) !important;
}
#aside_carrito_tienda_publica.tv_drawer_carrito_abierto ~ .tv_drawer_wishlist_lateral {
  transform: translateX(0) !important;
}
.tv_drawer_wishlist_lateral .tv_cart_wishlist_panel {
  display: flex !important;
  flex-direction: column !important;
  height: calc(100dvh - 36px) !important;
  max-height: calc(100dvh - 36px) !important;
  overflow: hidden !important;
}
.tv_drawer_wishlist_lateral .tv_cart_wishlist_list {
  overflow: auto !important;
  padding-right: 4px !important;
}
.tv_modal_checkout_dialogo {
  width: min(360px,calc(100vw - 30px)) !important;
  border-radius: 24px !important;
}
.tv_modal_checkout_cabecera {
  padding: 20px 22px 4px !important;
}
.tv_modal_checkout_cabecera h3 {
  font-size: 1.08rem !important;
}
.tv_modal_checkout_cuerpo {
  padding: 0 22px 4px !important;
}
.tv_modal_checkout_acciones {
  padding: 10px 22px 22px !important;
}
.tv_modal_checkout_acciones .tv_btn {
  min-width: 104px !important;
  min-height: 34px !important;
  padding: 8px 16px !important;
}
@media (max-width: 1180px) {
  .tv_drawer_wishlist_lateral {
    display: none !important;
  }
  .tv_drawer_wishlist_mobile {
    display: block !important;
  }
}


/* Ajuste v46: carrito y lista de deseos dentro del mismo nivel visual */
.tv_drawer_shell {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  z-index: 3010 !important;
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  padding-left: 12px !important;
  pointer-events: none !important;
  transform: translateX(110%) !important;
  transition: transform .28s ease !important;
}
.tv_drawer_shell_abierto {
  pointer-events: auto !important;
  transform: translateX(0) !important;
}
.tv_drawer_shell #aside_carrito_tienda_publica.tv_drawer_carrito {
  position: relative !important;
  inset: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  width: min(430px,100vw) !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  transform: none !important;
  opacity: 1 !important;
}
.tv_drawer_shell #aside_carrito_tienda_publica.tv_drawer_carrito_abierto {
  transform: none !important;
}
.tv_drawer_shell .tv_drawer_wishlist_lateral {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  width: 318px !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  padding: 18px 0 !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  transform: none !important;
}
.tv_drawer_shell .tv_drawer_wishlist_lateral .tv_cart_wishlist_panel {
  display: flex !important;
  flex-direction: column !important;
  height: calc(100dvh - 36px) !important;
  max-height: calc(100dvh - 36px) !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,0.96) !important;
}
.tv_drawer_shell .tv_drawer_wishlist_lateral .tv_cart_wishlist_list {
  overflow: auto !important;
  padding-right: 4px !important;
}
.tv_drawer_shell .tv_drawer_wishlist_lateral .tv_cart_wishlist_link {
  margin-top: auto !important;
}
.tv_drawer_backdrop {
  z-index: 3000 !important;
  background: rgba(49,37,67,0.26) !important;
  backdrop-filter: blur(3px) !important;
}
.tv_modal_checkout_dialogo {
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,0.76) !important;
  border-radius: 30px !important;
  background: linear-gradient(145deg,rgba(255,255,255,0.99) 0%,rgba(248,244,250,0.99) 100%) !important;
}
.tv_modal_checkout_acciones .tv_btn {
  background: linear-gradient(135deg,#9B7EBD,#BFAFD0) !important;
  color: #fff !important;
}
.tv_producto_crecimiento_grid {
  align-items: stretch !important;
  gap: 18px !important;
}
.tv_producto_crecimiento_card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,0.68) !important;
  border-radius: 34px !important;
  background: linear-gradient(145deg,rgba(255,255,255,0.96) 0%,rgba(247,242,250,0.96) 100%) !important;
  box-shadow: 0 22px 48px rgba(49,37,67,0.09) !important;
}
.tv_producto_crecimiento_card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right,rgba(191,175,208,0.28),transparent 38%),
    linear-gradient(90deg,rgba(155,126,189,0.08),transparent 38%);
}
.tv_producto_crecimiento_card > * {
  position: relative;
  z-index: 1;
}
.tv_producto_crecimiento_card h2 {
  margin: 0 !important;
  color: #312543 !important;
  font-size: 1.35rem !important;
  line-height: 1.15 !important;
}
.tv_producto_crecimiento_card p {
  color: rgba(49,37,67,0.70) !important;
  line-height: 1.55 !important;
}
.tv_producto_crecimiento_metricas span,
.tv_producto_resena_resumen {
  border: 1px solid rgba(191,175,208,0.24) !important;
  background: rgba(255,255,255,0.82) !important;
  box-shadow: 0 10px 24px rgba(49,37,67,0.05) !important;
}
.tv_producto_resena_resumen {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-radius: 20px !important;
}
.tv_producto_resena_resumen strong {
  color: #7b59b5 !important;
  font-size: 1.15rem !important;
}
.tv_producto_resena_resumen span {
  color: rgba(49,37,67,0.68) !important;
  font-size: .86rem !important;
}
.tv_producto_resena_item {
  border: 1px solid rgba(191,175,208,0.20) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,0.88) !important;
  box-shadow: 0 12px 26px rgba(49,37,67,0.05) !important;
}
.tv_producto_resena_item header span {
  color: #B75C7B !important;
}
.tv_producto_resena_estado {
  padding: 14px 16px !important;
  border: 1px solid rgba(155,126,189,0.22) !important;
  border-radius: 22px !important;
  background: rgba(237,231,245,0.72) !important;
}
.tv_producto_resena_estado strong {
  display: block !important;
  margin-bottom: 4px !important;
  color: #312543 !important;
}
.tv_producto_resena_detalle {
  border-radius: 22px !important;
}
.tv_producto_resena_detalle summary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(155,126,189,0.24) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.88) !important;
  color: #7b59b5 !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}
.tv_producto_resena_form select,
.tv_producto_resena_form textarea,
.tv_producto_resena_form input {
  background: rgba(255,255,255,0.94) !important;
  box-shadow: 0 8px 18px rgba(49,37,67,0.04) !important;
}
.tv_account_message {
  display: none !important;
}
@media (max-width: 1180px) {
  .tv_drawer_shell {
    width: min(430px,100vw) !important;
    padding-left: 0 !important;
  }
  .tv_drawer_shell .tv_drawer_wishlist_lateral {
    display: none !important;
  }
  .tv_drawer_shell #aside_carrito_tienda_publica.tv_drawer_carrito {
    width: 100% !important;
  }
  .tv_drawer_wishlist_mobile {
    display: block !important;
  }
}
@media (max-width: 760px) {
  .tv_producto_crecimiento_grid {
    grid-template-columns: 1fr !important;
  }
  .tv_producto_crecimiento_card {
    border-radius: 28px !important;
    padding: 20px !important;
  }
}


/* Ajuste v47: bloqueo correcto del drawer, toast extendido y cards producto */
.tv_oculto {
  display: none !important;
}
#div_backdrop_carrito_tienda_publica.tv_drawer_backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 3000 !important;
  display: block;
  background: rgba(49,37,67,0.30) !important;
  backdrop-filter: blur(4px) !important;
  pointer-events: auto !important;
}
#div_backdrop_carrito_tienda_publica.tv_drawer_backdrop.tv_oculto {
  display: none !important;
}
#div_carrito_shell_tienda_publica.tv_drawer_shell {
  z-index: 3010 !important;
}
#div_carrito_shell_tienda_publica.tv_drawer_shell:not(.tv_drawer_shell_abierto) {
  pointer-events: none !important;
}
#div_carrito_shell_tienda_publica.tv_drawer_shell_abierto {
  pointer-events: auto !important;
}
#div_carrito_shell_tienda_publica .tv_drawer_wishlist_lateral {
  flex: 0 0 318px !important;
}
#aside_carrito_tienda_publica.tv_drawer_carrito {
  flex: 0 0 min(430px,100vw) !important;
}
.tv_modal_checkout {
  z-index: 3500 !important;
}
.tv_modal_checkout_backdrop {
  background: rgba(49,37,67,0.32) !important;
  backdrop-filter: blur(4px) !important;
}
.tv_modal_checkout_dialogo {
  width: min(340px,calc(100vw - 32px)) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 24px 58px rgba(49,37,67,0.24) !important;
}
.tv_modal_checkout_dialogo::before {
  content: none !important;
}
.tv_modal_checkout_cabecera {
  padding: 18px 20px 4px !important;
}
.tv_modal_checkout_cabecera .tv_etiqueta {
  min-height: 20px !important;
  padding: 3px 9px !important;
  font-size: .64rem !important;
}
.tv_modal_checkout_cabecera h3 {
  margin-top: 10px !important;
  font-size: 1rem !important;
}
.tv_modal_checkout_cuerpo {
  padding: 0 20px 4px !important;
}
.tv_modal_publico_mensaje {
  font-size: .84rem !important;
}
.tv_modal_checkout_acciones {
  padding: 8px 20px 20px !important;
}
.tv_modal_checkout_acciones .tv_btn {
  min-width: 96px !important;
  min-height: 32px !important;
  padding: 7px 14px !important;
  font-size: .78rem !important;
}
.tv_producto_crecimiento_card {
  min-height: 0 !important;
  padding: 22px !important;
}
.tv_producto_crecimiento_card .tv_producto_panel_label {
  margin-bottom: 10px !important;
}
.tv_producto_crecimiento_metricas {
  margin: 14px 0 !important;
}
.tv_producto_resenas_card {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.tv_producto_resenas_lista {
  display: grid !important;
  gap: 10px !important;
}
.tv_producto_resena_item {
  padding: 14px !important;
}
.tv_producto_resena_item_cliente {
  border-color: rgba(183,92,123,0.24) !important;
  background: linear-gradient(135deg,rgba(255,255,255,0.94),rgba(252,246,249,0.94)) !important;
}
.tv_producto_resena_detalle[open] summary {
  margin-bottom: 12px !important;
}
.tv_producto_resena_form {
  display: grid !important;
  gap: 12px !important;
}
.tv_producto_resena_form textarea {
  min-height: 104px !important;
  resize: vertical !important;
}
@media (max-width: 1180px) {
  #div_carrito_shell_tienda_publica .tv_drawer_wishlist_lateral {
    display: none !important;
  }
}


/* Ajuste v48: bloqueo real del fondo, lista visible en carrito y rating en cards */
html.tv_body_bloqueado body > *:not(#div_backdrop_carrito_tienda_publica):not(#div_carrito_shell_tienda_publica):not(#div_toast_tienda_publica):not(.tv_modal_checkout) {
  pointer-events: none !important;
}
html.tv_body_bloqueado #div_backdrop_carrito_tienda_publica,
html.tv_body_bloqueado #div_carrito_shell_tienda_publica,
html.tv_body_bloqueado #div_toast_tienda_publica,
html.tv_body_bloqueado .tv_modal_checkout {
  pointer-events: auto !important;
}
#div_backdrop_carrito_tienda_publica.tv_drawer_backdrop:not(.tv_oculto) {
  cursor: pointer !important;
}
#div_carrito_shell_tienda_publica.tv_drawer_shell_abierto {
  right: 0 !important;
  left: auto !important;
}
#aside_carrito_tienda_publica .tv_drawer_wishlist_mobile {
  order: -1 !important;
  margin: 0 0 12px !important;
}
#aside_carrito_tienda_publica .tv_drawer_wishlist_mobile .tv_cart_wishlist_panel {
  max-height: 270px !important;
  overflow: hidden !important;
}
#aside_carrito_tienda_publica .tv_drawer_wishlist_mobile .tv_cart_wishlist_list {
  max-height: 185px !important;
  overflow: auto !important;
}
.tv_producto_card_rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: max-content !important;
  max-width: 100% !important;
  min-height: 22px !important;
  margin: 4px auto 7px !important;
  padding: 4px 9px !important;
  border: 1px solid rgba(191,175,208,0.24) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.70) !important;
  color: #9B7EBD !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(104,86,102,0.06) !important;
}
.tv_producto_card_rating span {
  color: #B65F87 !important;
  letter-spacing: .08em !important;
}
.tv_producto_card_rating small {
  color: #685666 !important;
  font-size: .7rem !important;
  font-weight: 800 !important;
}
.tv_cart_wishlist_form .tv_btn_procesando {
  opacity: .78 !important;
  cursor: wait !important;
}
.tv_producto_resena_item_cliente {
  border-color: rgba(155,126,189,0.28) !important;
  background: linear-gradient(135deg,rgba(255,255,255,0.96),rgba(245,242,248,0.94)) !important;
}
@media (min-width: 1181px) {
  #div_carrito_shell_tienda_publica .tv_drawer_wishlist_mobile {
    display: none !important;
  }
}
@media (max-width: 1180px) {
  #div_carrito_shell_tienda_publica.tv_drawer_shell {
    width: min(430px,100vw) !important;
  }
  #aside_carrito_tienda_publica .tv_drawer_wishlist_mobile {
    display: block !important;
  }
}

/* Ajuste v49: visibilidad real de lista de deseos lateral y rating siempre visible */
#div_carrito_shell_tienda_publica .tv_drawer_wishlist_lateral {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}
#div_carrito_shell_tienda_publica.tv_drawer_shell_abierto .tv_drawer_wishlist_lateral {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}
#div_carrito_shell_tienda_publica:not(.tv_drawer_shell_abierto) .tv_drawer_wishlist_lateral {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.tv_producto_card_rating {
  display: inline-flex !important;
}
@media (max-width: 1180px) {
  #div_carrito_shell_tienda_publica.tv_drawer_shell_abierto .tv_drawer_wishlist_lateral {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.tv_account_wishlist_head_share {
  align-items: flex-start;
  gap: 1rem;
}

.tv_account_wishlist_share {
  min-width: 260px;
  padding: .8rem;
  border: 1px solid rgba(191, 175, 208, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  display: grid;
  gap: .55rem;
}

.tv_account_wishlist_share span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7A5AA6;
  font-weight: 700;
}

.tv_account_wishlist_share input {
  width: 100%;
  border: 1px solid rgba(191, 175, 208, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #5E4E5C;
  font-size: .82rem;
  padding: .55rem .75rem;
}

.tv_page_lista_deseos_publica .tv_home_section {
  padding-top: 2.5rem;
}

.tv_lista_deseos_publica_intro {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tv_lista_deseos_publica_resumen {
  min-width: 150px;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  text-align: center;
  box-shadow: 0 14px 30px rgba(104, 86, 102, .08);
}

.tv_lista_deseos_publica_resumen strong {
  display: block;
  color: #7A5AA6;
  font-size: 1.8rem;
}

.tv_lista_deseos_publica_resumen span {
  color: #7C6E7B;
  font-size: .85rem;
}

.tv_lista_deseos_publica_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tv_lista_deseos_publica_card {
  display: grid;
  gap: .8rem;
  padding: 1rem;
  border-radius: 26px;
  border: 1px solid rgba(191, 175, 208, .28);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 34px rgba(104, 86, 102, .08);
}

.tv_lista_deseos_publica_media {
  min-height: 180px;
  border-radius: 22px;
  background: rgba(250, 247, 252, .88);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tv_lista_deseos_publica_media img {
  max-width: 86%;
  max-height: 160px;
  object-fit: contain;
}

.tv_lista_deseos_publica_copy {
  display: grid;
  gap: .35rem;
}

.tv_lista_deseos_publica_copy span {
  width: fit-content;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(221, 212, 231, .75);
  color: #6C4C8F;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tv_lista_deseos_publica_copy h2 {
  margin: 0;
  color: #4D3C59;
  font-size: 1rem;
  line-height: 1.18;
}

.tv_lista_deseos_publica_copy p {
  min-height: 2.4rem;
  margin: 0;
  color: #7C6E7B;
  font-size: .85rem;
  line-height: 1.35;
}

.tv_lista_deseos_publica_copy strong {
  color: #7A5AA6;
  font-size: 1rem;
}

.tv_lista_deseos_publica_form .tv_btn {
  width: 100%;
}

.tv_producto_resena_estado_detalle {
  display: grid;
  gap: .45rem;
}

.tv_producto_resena_estado_detalle header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.tv_producto_resena_estado_detalle header span {
  color: #C25B88;
  letter-spacing: .08em;
}

.tv_producto_resena_estado_detalle blockquote {
  margin: .15rem 0 0;
  padding: .75rem .9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
  color: #5E4E5C;
}

@media (max-width: 1024px) {
  .tv_lista_deseos_publica_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tv_account_wishlist_head_share {
    display: grid;
  }

  .tv_account_wishlist_share {
    min-width: 0;
    width: 100%;
  }

  .tv_lista_deseos_publica_grid {
    grid-template-columns: 1fr;
  }

  .tv_lista_deseos_publica_intro {
    display: grid;
  }
}
