.tv_account_intro_copy {
  background: linear-gradient(180deg, rgba(243, 214, 211, 0.34) 0%, rgba(221, 212, 231, 0.26) 100%);
}

.tv_account_panel_main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 246, 251, 0.98) 100%);
}

.tv_account_tagline {
  border: 1px solid rgba(155, 126, 189, 0.10);
}

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

.tv_btn_icono_admin_tienda:hover,
.tv_btn_icono_admin_tienda:focus-visible,
.tv_btn_icono_header_activo:hover,
.tv_btn_icono_header_activo:focus-visible {
  background: linear-gradient(135deg, #9B7EBD 0%, #BFAFD0 100%);
}


.tv_checkout_intro,
.tv_checkout_compacto,
.tv_checkout_pago_layout {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 247, 251, 0.98) 100%);
}

.tv_checkout_panel_estado,
.tv_checkout_pasarela_info,
.tv_checkout_prefill_banner {
  background: linear-gradient(180deg, rgba(243, 214, 211, 0.20) 0%, rgba(221, 212, 231, 0.18) 100%);
}

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

.tv_checkout_total_principal strong,
.tv_checkout_resumen_info b,
.tv_checkout_tarjeta_preview strong {
  color: #9B7EBD;
}

/* Checkout y pasarela - tema Venus */
.tv_checkout_intro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 247, 252, 0.98) 100%);
}

.tv_checkout_compacto,
.tv_checkout_pago_layout {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(249, 246, 251, 0.99) 100%);
}

.tv_checkout_panel,
.tv_checkout_panel_estado,
.tv_checkout_panel_formulario,
.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 244, 250, 0.98) 100%);
}

.tv_checkout_metodo_pago_card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(249, 246, 251, 0.99) 100%);
}

.tv_checkout_metodo_pago_card_activo {
  border-color: rgba(155, 126, 189, 0.50);
  box-shadow: 0 22px 34px rgba(155, 126, 189, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(244, 239, 248, 1) 100%);
}

.tv_checkout_prefill_banner,
.tv_checkout_pasarela_info,
.tv_checkout_alerta_compacta,
.tv_checkout_alerta_compacta_contra,
.tv_checkout_check_label,
.tv_checkout_estado_grid article,
.tv_checkout_entrega_resumen article,
.tv_checkout_resumen_beneficios article,
.tv_checkout_pago_resumen_cliente article,
.tv_checkout_resumen_item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 239, 248, 0.88) 100%);
}

.tv_checkout_total_principal strong,
.tv_checkout_resumen_info b,
.tv_checkout_tarjeta_preview strong,
.tv_checkout_intro_texto h1,
.tv_checkout_panel_header h3 {
  color: #8F70B4;
}

.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 {
  border-color: rgba(155, 126, 189, 0.70);
  box-shadow: 0 0 0 4px rgba(155, 126, 189, 0.14);
}


/* Ajuste cuenta + checkout */
.tv_account_message_ok {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 242, 250, 0.98) 100%);
  border: 1px solid rgba(191, 175, 208, 0.42);
  color: #685666;
  box-shadow: 0 14px 34px rgba(104, 86, 102, 0.10);
}

.tv_checkout_pagina {
  padding: 28px 0 72px;
}

.tv_checkout_intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 34px 36px;
  margin-bottom: 24px;
  border: 1px solid rgba(191, 175, 208, 0.32);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 241, 250, 0.98) 46%, rgba(252, 247, 249, 0.98) 100%);
  box-shadow: 0 22px 56px rgba(104, 86, 102, 0.12);
}

.tv_checkout_intro_texto {
  max-width: 760px;
}

.tv_checkout_intro_texto h1 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #685666;
}

.tv_checkout_intro_texto p {
  margin: 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.7;
  color: #8A7A88;
}

.tv_checkout_prefill_banner {
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 320px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(191, 175, 208, 0.34);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(104, 86, 102, 0.08);
}

.tv_checkout_pasos {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 360px;
}

.tv_checkout_paso {
  min-width: 108px;
  padding: 12px 16px;
  border: 1px solid rgba(191, 175, 208, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #8A7A88;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}

.tv_checkout_paso_activo {
  background: linear-gradient(135deg, #9B7EBD 0%, #D2B8CB 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(155, 126, 189, 0.22);
}

.tv_checkout_compacto,
.tv_checkout_pago_layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 390px);
  gap: 22px;
  align-items: start;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tv_checkout_form_compacto,
.tv_checkout_pago_formulario {
  display: grid;
  gap: 18px;
}

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

.tv_checkout_panel,
.tv_checkout_panel_estado,
.tv_checkout_panel_formulario,
.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen,
.tv_checkout_panel_pago_formulario {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(248, 244, 250, 0.985) 100%);
  box-shadow: 0 20px 48px rgba(104, 86, 102, 0.10);
  overflow: hidden;
}

.tv_checkout_panel::before,
.tv_checkout_panel_estado::before,
.tv_checkout_panel_formulario::before,
.tv_checkout_panel_resumen::before,
.tv_checkout_panel_pago_resumen::before,
.tv_checkout_panel_pago_formulario::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(155, 126, 189, 0.82) 0%, rgba(212, 182, 202, 0.82) 100%);
}

.tv_checkout_panel_estado {
  grid-column: 1 / -1;
  padding-top: 24px;
}

.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  position: sticky;
  top: 118px;
}

.tv_checkout_panel_header {
  margin-bottom: 18px;
  gap: 10px;
  align-items: flex-start;
}

.tv_checkout_panel_header h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.1;
  color: #685666;
}

.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 {
  color: #8A7A88;
}

.tv_checkout_grid,
.tv_checkout_grid_dos,
.tv_checkout_estado_grid,
.tv_checkout_entrega_resumen,
.tv_checkout_resumen_beneficios,
.tv_checkout_metodos_pago {
  gap: 16px;
}

.tv_checkout_grid_dos,
.tv_checkout_estado_grid,
.tv_checkout_entrega_resumen,
.tv_checkout_resumen_beneficios {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tv_checkout_form_compacto label,
.tv_checkout_pago_formulario label {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
}

.tv_checkout_form_compacto label > span:first-child,
.tv_checkout_pago_formulario label > span:first-child {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #685666;
}

.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: 54px;
  padding: 15px 16px;
  border: 1px solid rgba(191, 175, 208, 0.48);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #685666;
  font-size: 0.97rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tv_checkout_form_compacto textarea,
.tv_checkout_pago_formulario textarea {
  min-height: 118px;
  resize: vertical;
}

.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.72);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(155, 126, 189, 0.14);
}

.tv_checkout_estado_grid article,
.tv_checkout_entrega_resumen article,
.tv_checkout_resumen_beneficios article,
.tv_checkout_pago_resumen_cliente article {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(191, 175, 208, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 239, 248, 0.88) 100%);
}

.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 {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

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

.tv_checkout_resumen_item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(191, 175, 208, 0.22);
  background: rgba(255, 255, 255, 0.84);
}

.tv_checkout_resumen_media .tv_producto_media,
.tv_checkout_resumen_media img {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  object-fit: contain;
  background: #FFFFFF;
}

.tv_checkout_resumen_info {
  display: grid;
  gap: 6px;
}

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

.tv_checkout_resumen_info b {
  font-size: 1.03rem;
  color: #9B7EBD;
}

.tv_checkout_totales {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(191, 175, 208, 0.24);
}

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

.tv_checkout_total_principal {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(155, 126, 189, 0.14) 0%, rgba(212, 182, 202, 0.14) 100%);
}

.tv_checkout_total_principal strong {
  font-size: 1.35rem;
  color: #8F70B4;
}

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

.tv_checkout_metodo_pago_card {
  position: relative;
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tv_checkout_metodo_pago_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(104, 86, 102, 0.10);
}

.tv_checkout_metodo_pago_card input[type='radio'] {
  position: absolute;
  inset: 14px 14px auto auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

.tv_checkout_metodo_visual {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

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

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

.tv_checkout_metodo_pago_card_activo {
  border-color: rgba(155, 126, 189, 0.46);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 240, 248, 1) 100%);
  box-shadow: 0 20px 38px rgba(155, 126, 189, 0.16);
}

.tv_checkout_metodo_pago_card_bloqueado {
  opacity: 0.64;
}

.tv_checkout_metodo_estado {
  margin-top: 2px;
  font-size: 0.76rem;
}

.tv_checkout_pasarela_info,
.tv_checkout_tarjeta_preview,
.tv_checkout_alerta_compacta,
.tv_checkout_alerta_compacta_contra,
.tv_checkout_check_label {
  border-radius: 22px;
  border: 1px solid rgba(191, 175, 208, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 239, 248, 0.88) 100%);
}

.tv_checkout_pasarela_info,
.tv_checkout_alerta_compacta,
.tv_checkout_alerta_compacta_contra {
  padding: 16px 18px;
}

.tv_checkout_tarjeta_preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px 20px;
}

.tv_checkout_tarjeta_preview strong {
  font-size: 1.25rem;
  color: #8F70B4;
}

.tv_checkout_check_label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
}

.tv_checkout_check_label input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.tv_checkout_validacion_global {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 2px;
  padding: 16px 18px;
  border: 1px solid rgba(199, 99, 116, 0.26);
  border-radius: 20px;
  background: rgba(255, 246, 247, 0.98);
  color: #8C5161;
  box-shadow: 0 16px 28px rgba(140, 81, 97, 0.08);
}

.tv_checkout_validacion_global span {
  font-size: 0.94rem;
  line-height: 1.55;
}

.tv_checkout_validacion_cerrar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border: 1px solid rgba(199, 99, 116, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #8C5161;
}

.tv_checkout_campo_invalido input,
.tv_checkout_campo_invalido textarea,
.tv_checkout_campo_invalido select,
.tv_checkout_campo_invalido {
  border-color: rgba(199, 99, 116, 0.40) !important;
}

.tv_checkout_campo_error {
  display: block;
  margin-top: 2px;
  color: #B05D74;
  font-size: 0.82rem;
  line-height: 1.45;
}

.tv_checkout_toast_info {
  border-radius: 18px;
  background: rgba(104, 86, 102, 0.96);
}

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

  .tv_checkout_panel_resumen,
  .tv_checkout_panel_pago_resumen {
    position: static;
    top: auto;
  }

  .tv_checkout_intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tv_checkout_pasos {
    justify-content: flex-start;
    max-width: none;
  }

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

@media (max-width: 780px) {
  .tv_checkout_pagina {
    padding: 18px 0 56px;
  }

  .tv_checkout_intro,
  .tv_checkout_panel,
  .tv_checkout_panel_estado,
  .tv_checkout_panel_formulario,
  .tv_checkout_panel_resumen,
  .tv_checkout_panel_pago_resumen,
  .tv_checkout_panel_pago_formulario {
    padding: 22px;
    border-radius: 24px;
  }

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

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

  .tv_checkout_resumen_media .tv_producto_media,
  .tv_checkout_resumen_media img {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

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


/* Ajustes puntuales header, buscador, breadcrumb y checkout */
.tv_header_search_wrap {
  position: sticky;
  top: 88px;
  z-index: 38;
  padding: 10px 0 0;
}

.tv_header_search_panel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 42px rgba(104, 86, 102, 0.10);
}

.tv_header_search_form {
  display: block;
}

.tv_header_search_input_wrap {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 8px 0 14px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 18px;
  background: #FFFFFF;
}

.tv_header_search_input_wrap svg {
  width: 18px;
  height: 18px;
  stroke: #8A7A88;
  stroke-width: 1.9;
  fill: none;
}

.tv_header_search_input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  color: #685666;
}

.tv_header_search_input:focus {
  outline: none;
}

.tv_header_search_submit {
  min-width: 112px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  background: linear-gradient(135deg, #9B7EBD 0%, #D4B6CA 100%);
  color: #FFFFFF;
  font-weight: 700;
}

.tv_header_search_results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tv_header_search_item,
.tv_header_search_all {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(191, 175, 208, 0.18);
  border-radius: 16px;
  background: #FFFFFF;
  text-decoration: none;
  color: #685666;
}

.tv_header_search_item:hover,
.tv_header_search_all:hover {
  border-color: rgba(155, 126, 189, 0.32);
  background: rgba(250, 247, 252, 0.96);
}

.tv_header_search_item_media {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(248, 244, 250, 0.92);
  overflow: hidden;
}

.tv_header_search_item_media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tv_header_search_item_media_placeholder {
  font-weight: 700;
  color: #9B7EBD;
}

.tv_header_search_item_copy {
  display: grid;
  gap: 2px;
}

.tv_header_search_item_copy strong,
.tv_header_search_item b,
.tv_header_search_all {
  color: #685666;
}

.tv_header_search_item_copy small,
.tv_header_search_empty {
  color: #8A7A88;
}

.tv_header_search_all {
  grid-template-columns: 1fr;
  justify-items: center;
  font-weight: 700;
}

.tv_breadcrumb_venus {
  margin-top: 22px;
}

.tv_page_catalogo .tv_home_section,
.tv_page_catalogo .tv_container,
.tv_page .tv_section.tv_shell {
  padding-top: 8px;
}

.tv_checkout_pagina {
  padding: 20px 0 56px;
}

.tv_checkout_pagina > .tv_bloque_checkout_amplio {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.tv_checkout_intro {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  margin-bottom: 18px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(104, 86, 102, 0.08);
}

.tv_checkout_intro .tv_etiqueta,
.tv_checkout_panel_header .tv_etiqueta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  background: rgba(155, 126, 189, 0.14);
  color: #8F70B4;
}

.tv_checkout_intro_texto {
  max-width: 620px;
}

.tv_checkout_intro_texto h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.tv_checkout_intro_texto p {
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tv_checkout_prefill_banner {
  margin-top: 14px;
  min-width: 0;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow: none;
}

.tv_checkout_pasos {
  gap: 8px;
  max-width: 320px;
}

.tv_checkout_paso {
  min-width: 94px;
  padding: 10px 14px;
  font-size: 0.82rem;
  box-shadow: none;
}

.tv_checkout_compacto,
.tv_checkout_pago_layout {
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 18px;
}

.tv_checkout_form_compacto,
.tv_checkout_pago_formulario {
  gap: 14px;
}

.tv_checkout_panel,
.tv_checkout_panel_estado,
.tv_checkout_panel_formulario,
.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen,
.tv_checkout_panel_pago_formulario {
  padding: 20px;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(104, 86, 102, 0.07);
}

.tv_checkout_panel::before,
.tv_checkout_panel_estado::before,
.tv_checkout_panel_formulario::before,
.tv_checkout_panel_resumen::before,
.tv_checkout_panel_pago_resumen::before,
.tv_checkout_panel_pago_formulario::before {
  height: 3px;
}

.tv_checkout_panel_header {
  margin-bottom: 14px;
}

.tv_checkout_panel_header h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.tv_checkout_grid,
.tv_checkout_grid_dos {
  gap: 14px;
}

.tv_checkout_form_compacto label,
.tv_checkout_pago_formulario label {
  gap: 6px;
}

.tv_checkout_form_compacto label > span:first-child,
.tv_checkout_pago_formulario label > span:first-child {
  font-size: 0.87rem;
}

.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: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
}

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

.tv_checkout_acciones_compactas {
  gap: 12px;
}

.tv_checkout_acciones_compactas .tv_btn {
  min-height: 48px;
}

.tv_checkout_panel_resumen,
.tv_checkout_panel_pago_resumen {
  top: 104px;
  max-height: calc(100vh - 124px);
  overflow: auto;
}

.tv_checkout_resumen_lista {
  gap: 10px;
}

.tv_checkout_resumen_item {
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
}

.tv_checkout_resumen_media .tv_producto_media,
.tv_checkout_resumen_media img {
  width: 60px;
  height: 60px;
}

.tv_checkout_resumen_info {
  gap: 2px;
}

.tv_checkout_resumen_info strong {
  font-size: 0.92rem;
}

.tv_checkout_resumen_info span,
.tv_checkout_totales span,
.tv_checkout_resumen_beneficios span,
.tv_checkout_resumen_beneficios strong,
.tv_checkout_estado_grid span,
.tv_checkout_estado_grid strong,
.tv_checkout_entrega_resumen span,
.tv_checkout_entrega_resumen strong,
.tv_checkout_metodo_textos small {
  font-size: 0.86rem;
}

.tv_checkout_totales {
  margin-top: 12px;
  gap: 6px;
}

.tv_checkout_totales div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.tv_checkout_total_principal {
  margin-top: 10px;
  padding: 12px 14px !important;
  border: 1px solid rgba(191, 175, 208, 0.26);
  border-radius: 16px;
  background: rgba(248, 244, 250, 0.86);
}

.tv_checkout_total_principal span {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8A7A88;
}

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

.tv_checkout_resumen_beneficios,
.tv_checkout_estado_grid,
.tv_checkout_entrega_resumen,
.tv_checkout_pago_resumen_cliente {
  grid-template-columns: 1fr;
  gap: 10px;
}

.tv_checkout_estado_grid article,
.tv_checkout_entrega_resumen article,
.tv_checkout_resumen_beneficios article,
.tv_checkout_pago_resumen_cliente article {
  min-height: 0;
  padding: 10px 12px;
  border-radius: 14px;
}

.tv_checkout_metodos_pago {
  gap: 10px;
}

.tv_checkout_metodo_pago_card {
  min-height: 0;
  border-radius: 16px;
}

.tv_checkout_metodo_visual {
  padding: 12px;
}

.tv_checkout_metodo_icono_media,
.tv_checkout_metodo_icono_svg {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
}

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

.tv_checkout_metodo_textos span {
  font-size: 0.92rem;
}

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

.tv_checkout_tarjeta_preview {
  padding: 12px 14px;
}

@media (max-width: 1024px) {
  .tv_header_search_wrap {
    top: 78px;
  }

  .tv_checkout_compacto,
  .tv_checkout_pago_layout {
    grid-template-columns: 1fr;
  }

  .tv_checkout_panel_resumen,
  .tv_checkout_panel_pago_resumen {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .tv_header_search_wrap {
    top: 70px;
    padding-top: 8px;
  }

  .tv_header_search_panel {
    padding: 12px;
    border-radius: 18px;
  }

  .tv_header_search_input_wrap {
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 0 12px;
  }

  .tv_header_search_submit {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 8px;
  }

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

  .tv_header_search_item b {
    grid-column: 2;
    justify-self: start;
  }

  .tv_checkout_pagina {
    padding: 14px 0 42px;
  }

  .tv_checkout_intro {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .tv_checkout_intro_texto h1 {
    font-size: 1.6rem;
  }

  .tv_checkout_pasos {
    justify-content: flex-start;
    max-width: none;
  }

  .tv_checkout_paso {
    min-width: 82px;
    padding: 9px 12px;
  }

  .tv_checkout_panel,
  .tv_checkout_panel_estado,
  .tv_checkout_panel_formulario,
  .tv_checkout_panel_resumen,
  .tv_checkout_panel_pago_resumen,
  .tv_checkout_panel_pago_formulario {
    padding: 16px;
    border-radius: 18px;
  }

  .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: 46px;
  }

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


/* 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;
  }
}


@media (max-width: 920px) {
  .tv_checkout_metodos_pago,
  .tv_checkout_metodos_pago_v24,
  .tv_checkout_metodos_pago_v24_doble,
  .tv_checkout_metodos_pago_v24_unico {
    grid-template-columns: 1fr !important;
  }

  .tv_checkout_metodo_pago_card {
    min-height: 0 !important;
    padding: 14px !important;
  }

  .tv_checkout_metodo_visual {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
  }

  .tv_checkout_metodo_textos {
    min-width: 0 !important;
  }

  .tv_checkout_metodo_textos span,
  .tv_checkout_metodo_textos small {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }
}

.tv_checkout_destino_resumen {
  background: rgba(248, 244, 251, 0.86);
}

.tv_account_profile_summary_card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 242, 250, 0.98) 100%);
}

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

.tv_account_profile_summary_item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.tv_account_profile_summary_item span {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A7A88;
}

.tv_account_profile_summary_item strong {
  color: #4F4250;
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}

.tv_account_editor_card {
  transition: opacity 0.24s ease, transform 0.24s ease, max-height 0.24s ease, margin 0.24s ease, padding 0.24s ease;
}

.tv_account_editor_card_oculto {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0;
  box-shadow: none;
}

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

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


.tv_account_header_quick_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tv_account_header_quick_actions .tv_btn {
  flex: 1 1 180px;
}


.tv_account_dashboard_tabs {
  display: grid;
  gap: 24px;
}

.tv_account_dashboard_view_input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tv_account_dashboard_actions_bar .tv_account_action_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#tv_account_view_historial:checked ~ .tv_account_dashboard_actions_bar label[for="tv_account_view_historial"],
#tv_account_view_perfil:checked ~ .tv_account_dashboard_actions_bar label[for="tv_account_view_perfil"],
#tv_account_view_clave:checked ~ .tv_account_dashboard_actions_bar label[for="tv_account_view_clave"],
#tv_account_view_direcciones:checked ~ .tv_account_dashboard_actions_bar label[for="tv_account_view_direcciones"] {
  background: #312543 !important;
  border-color: #312543 !important;
  color: #FFFFFF !important;
}

.tv_account_dashboard_tabs .tv_account_panel_view {
  display: none;
}

#tv_account_view_historial:checked ~ .tv_account_dashboard_layout .tv_account_panel_view_historial,
#tv_account_view_perfil:checked ~ .tv_account_dashboard_layout .tv_account_panel_view_perfil,
#tv_account_view_clave:checked ~ .tv_account_dashboard_layout .tv_account_panel_view_clave,
#tv_account_view_direcciones:checked ~ .tv_account_dashboard_layout .tv_account_panel_view_direcciones {
  display: block;
}

.tv_account_action_button_inline {
  min-width: 160px;
}

.tv_account_view_button_activo {
  background: #312543 !important;
  border-color: #312543 !important;
  color: #FFFFFF !important;
}

.tv_account_panel_view {
  display: none;
}

.tv_account_panel_view.tv_account_panel_view_activa {
  display: block;
}

@media (max-width: 991px) {
  .tv_account_header_quick_actions .tv_btn {
    flex-basis: calc(50% - 6px);
  }
}

@media (max-width: 640px) {
  .tv_account_header_quick_actions .tv_btn {
    flex-basis: 100%;
  }
}

.tv_account_header_quick_actions_top {
  margin-top: 22px;
  max-width: 860px;
}


.tv_account_dashboard_actions_bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 18px 0 16px;
  align-items: stretch;
}

.tv_account_dashboard_actions_bar > * {
  min-width: 0;
}

.tv_account_action_button {
  width: 100%;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  padding-left: 10px !important;
  padding-right: 10px !important;
  font-size: 0.83rem !important;
}

.tv_account_view_button_activo {
  background: #312543 !important;
  border-color: #312543 !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 24px rgba(49, 37, 67, 0.14) !important;
}

.tv_account_panel_stage {
  display: grid;
  gap: 24px;
}

.tv-account-js-ready .tv_account_panel_switchable {
  display: none;
}

.tv-account-js-ready .tv_account_panel_switchable.tv_account_panel_view_activa {
  display: block;
}

.tv_account_template_pool {
  display: none !important;
}

@media (max-width: 991px) {
  .tv_account_header_quick_actions_top {
    max-width: 100%;
  }

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

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


.tv_account_section_head h3,
.tv_account_resume_title_aux,
.tv_account_content_banner_copy h3,
.tv_account_profile_summary_item strong,
.tv_account_sidebar_summary_item strong,
.tv_account_resume_badge,
.tv_account_order_identity strong,
.tv_account_order_total {
  font-weight: 700;
}

.tv_account_section_head h3,
.tv_account_resume_title_aux,
.tv_account_content_banner_copy h3 {
  color: #312543;
  letter-spacing: 0.01em;
}

.tv_account_orders_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 20px;
  margin-top: 24px;
}

.tv_account_order_item {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(191, 175, 208, 0.28);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 244, 251, 0.98) 100%);
  box-shadow: 0 14px 30px rgba(49, 37, 67, 0.06);
}

.tv_account_order_header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  align-items: start;
  gap: 14px;
}

.tv_account_order_primary {
  display: grid;
  gap: 10px;
  min-width: 0;
}

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

.tv_account_order_identity,
.tv_account_order_total_wrap {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.tv_account_order_meta_card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(191, 175, 208, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

.tv_account_order_total_wrap {
  align-content: start;
  justify-items: start;
  text-align: left;
}

.tv_account_order_label,
.tv_account_order_meta_label,
.tv_account_order_detail span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A7A88;
}

.tv_account_order_label_total {
  text-align: left;
}

.tv_account_order_identity strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.15;
  color: #6E4FA3;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  word-break: normal;
}

.tv_account_order_total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(111, 79, 163, 0.12);
  color: #312543;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

.tv_account_order_date_row {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tv_account_order_date_row strong {
  color: #4F4250;
  font-size: 0.94rem;
  line-height: 1.45;
  word-break: break-word;
}

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

.tv_account_order_status_card,
.tv_account_order_info_item,
.tv_account_order_detail {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(191, 175, 208, 0.22);
  background: rgba(255, 255, 255, 0.90);
}

.tv_account_order_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: fit-content;
  max-width: 100%;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(191, 175, 208, 0.32);
  background: rgba(244, 239, 249, 0.94);
  color: #5B4C69;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.tv_account_order_badge_pedido {
  background: rgba(111, 79, 163, 0.10);
  border-color: rgba(111, 79, 163, 0.16);
}

.tv_account_order_badge_pago {
  background: rgba(211, 193, 235, 0.32);
  border-color: rgba(155, 126, 189, 0.18);
}

.tv_account_order_info_item strong,
.tv_account_order_detail strong {
  color: #4F4250;
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}

.tv_account_order_detail_full {
  grid-column: 1 / -1;
  background: rgba(249, 246, 252, 0.94);
}

.tv_account_order_side_actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.tv_account_order_action_button {
  min-height: 46px;
  border-radius: 999px !important;
  border: 1px solid rgba(49, 37, 67, 0.12) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  padding: 0.8rem 1.4rem !important;
  font-family: inherit !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  color: #312543 !important;
}

.tv_account_order_action_button:hover {
  background: #FFFFFF !important;
}

.tv_account_dashboard_shell .tv_home_kicker,
.tv_account_dashboard_shell h2,
.tv_account_dashboard_shell h3,
.tv_account_dashboard_shell .tv_account_section_description,
.tv_account_dashboard_shell .tv_account_resume_list strong,
.tv_account_dashboard_shell .tv_account_field label {
  font-weight: 700;
}

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

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

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

@media (max-width: 640px) {
  .tv_account_order_item {
    padding: 18px;
  }

  .tv_account_order_head,
  .tv_account_order_status_grid,
  .tv_account_order_info_grid {
    grid-template-columns: 1fr;
  }

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


/* Ajuste v157: historial con mejor uso del ancho y banner superior */
.tv_account_page .tv_account_panel_section_stack {
  gap: 22px !important;
}

.tv_account_page .tv_account_content_banner {
  order: -1;
}

.tv_account_page .tv_account_orders_card {
  width: 100% !important;
}

.tv_account_page .tv_account_orders_grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: stretch !important;
  gap: 18px !important;
}

.tv_account_page .tv_account_order_item {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 20px !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(123, 89, 181, 0.14) !important;
  box-shadow: 0 12px 26px rgba(49, 37, 67, 0.05) !important;
}

.tv_account_page .tv_account_order_header {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.45fr) minmax(180px, 1fr) minmax(160px, 0.8fr) !important;
  gap: 12px !important;
  align-items: stretch !important;
}

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

.tv_account_page .tv_account_order_primary,
.tv_account_page .tv_account_order_head {
  display: contents !important;
}

.tv_account_page .tv_account_order_meta_card,
.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(123, 89, 181, 0.12) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: none !important;
}

.tv_account_page .tv_account_order_identity strong {
  display: block !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
  color: #6E4FA3 !important;
  word-break: break-word !important;
}

.tv_account_page .tv_account_order_label,
.tv_account_page .tv_account_order_meta_label,
.tv_account_page .tv_account_order_detail span {
  display: block !important;
  margin: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(49, 37, 67, 0.55) !important;
}

.tv_account_page .tv_account_order_date_row strong,
.tv_account_page .tv_account_order_info_item strong,
.tv_account_page .tv_account_order_detail strong {
  display: block !important;
  font-size: 0.96rem !important;
  line-height: 1.45 !important;
  color: #4F4250 !important;
  word-break: break-word !important;
}

.tv_account_page .tv_account_order_total_wrap {
  align-content: center !important;
  justify-items: start !important;
}

.tv_account_page .tv_account_order_total {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: rgba(111, 79, 163, 0.12) !important;
  color: #312543 !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.tv_account_page .tv_account_order_badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 36px !important;
  max-width: 100% !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.tv_account_page .tv_account_order_detail_span2 {
  grid-column: span 2 !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  align-items: center !important;
  justify-items: start !important;
}

.tv_account_page .tv_account_order_action_button {
  min-height: 44px !important;
  padding: 0.8rem 1.35rem !important;
  border-radius: 999px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

.tv_account_orders_pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 20px !important;
}

.tv_account_orders_pagination_pages {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.tv_account_orders_pagination_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(49, 37, 67, 0.12) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #312543 !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.tv_account_orders_pagination_button:hover {
  background: #FFFFFF !important;
}

.tv_account_orders_pagination_button_active {
  border-color: rgba(111, 79, 163, 0.22) !important;
  background: rgba(111, 79, 163, 0.12) !important;
  color: #6E4FA3 !important;
}

.tv_account_orders_pagination_button_nav {
  padding: 0 16px !important;
}

.tv_account_orders_pagination_ellipsis {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  min-height: 42px !important;
  color: #6E4FA3 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

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

  .tv_account_page .tv_account_order_total_wrap {
    grid-column: 1 / -1 !important;
  }

  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_detail_span2 {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767px) {
  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_account_page .tv_account_order_side_actions_box,
  .tv_account_page .tv_account_order_action_button {
    width: 100% !important;
  }

  .tv_account_page .tv_account_order_action_button {
    justify-content: center !important;
  }
}


/* Ajuste v158: cuenta sin figuras decorativas y cards mas simetricas */
.tv_account_page .tv_account_content_banner,
.tv_account_page .tv_account_orders_card,
.tv_account_page .tv_account_profile_summary_card,
.tv_account_page .tv_account_editor_card,
.tv_account_page .tv_account_resume_card {
  background-image: none !important;
}

.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,
.tv_account_page .tv_account_profile_summary_card::before,
.tv_account_page .tv_account_profile_summary_card::after,
.tv_account_page .tv_account_editor_card::before,
.tv_account_page .tv_account_editor_card::after,
.tv_account_page .tv_account_resume_card::before,
.tv_account_page .tv_account_resume_card::after {
  content: none !important;
  display: none !important;
}

.tv_account_page .tv_account_panel_section_stack {
  gap: 20px !important;
}

.tv_account_page .tv_account_content_banner,
.tv_account_page .tv_account_orders_card,
.tv_account_page .tv_account_profile_summary_card,
.tv_account_page .tv_account_editor_card {
  width: 100% !important;
  max-width: none !important;
  border-radius: 28px !important;
}

.tv_account_page .tv_account_order_header {
  grid-template-columns: minmax(280px, 1.7fr) minmax(220px, 1fr) minmax(170px, 0.9fr) !important;
}

.tv_account_page .tv_account_order_body_grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_detail_span2 {
  grid-column: span 3 !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  justify-items: stretch !important;
}

.tv_account_page .tv_account_order_action_button {
  width: 100% !important;
  justify-content: center !important;
}

.tv_account_page .tv_account_content_banner_copy,
.tv_account_page .tv_account_section_head,
.tv_account_page .tv_account_profile_summary_card .tv_account_section_head {
  max-width: none !important;
}

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

  .tv_account_page .tv_account_order_total_wrap {
    grid-column: 1 / -1 !important;
  }

  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_detail_span2,
  .tv_account_page .tv_account_order_side_actions_box {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767px) {
  .tv_account_page .tv_account_content_banner,
  .tv_account_page .tv_account_orders_card,
  .tv_account_page .tv_account_profile_summary_card,
  .tv_account_page .tv_account_editor_card,
  .tv_account_page .tv_account_resume_card {
    border-radius: 24px !important;
  }

  .tv_account_page .tv_account_content_banner_copy h3,
  .tv_account_page .tv_account_section_head h3 {
    line-height: 1.12 !important;
  }
}


/* Ajuste v159: tipografia general, simetria movil y color de cards */
body,
body .tv_page,
body .tv_page *:not(svg):not(path):not(img) {
  font-family: var(--tv-font-base) !important;
}

.tv_home_hero_copy h1,
.tv_home_section_head h2,
.tv_home_hero_card h2,
.tv_account_dashboard_header h1,
.tv_account_section_head h3,
.tv_account_resume_title_aux,
.tv_account_content_banner_copy h3 {
  font-family: var(--tv-font-base) !important;
}

.tv_home_hero_resumen div,
.tv_home_hero_card,
.tv_account_page .tv_account_resume_card,
.tv_account_page .tv_account_content_banner,
.tv_account_page .tv_account_metric_card,
.tv_account_page .tv_account_sidebar_summary_item,
.tv_account_page .tv_account_profile_summary_item,
.tv_account_page .tv_account_editor_card,
.tv_account_page .tv_account_direction_summary_card,
.tv_account_page .tv_account_order_item {
  background: linear-gradient(180deg, rgba(229, 223, 240, 0.96) 0%, rgba(237, 231, 245, 0.96) 100%) !important;
  border-color: rgba(191, 175, 208, 0.42) !important;
}

.tv_account_page .tv_account_order_meta_card,
.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box,
.tv_account_page .tv_account_metrics div {
  background: rgba(255, 255, 255, 0.76) !important;
  border-color: rgba(191, 175, 208, 0.32) !important;
}

.tv_account_page .tv_account_content_banner_stats,
.tv_account_page .tv_account_order_side_actions {
  width: 100% !important;
}

.tv_account_page .tv_account_order_detail_full {
  grid-column: 1 / -1 !important;
}

@media (max-width: 640px) {
  .tv_account_dashboard_actions_bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_action_button {
    min-height: 54px !important;
    padding: 0 12px !important;
    font-size: 0.94rem !important;
  }
}


/* Ajuste v161: alineacion de boton comprobante en historial */
.tv_account_page .tv_account_order_side_actions_box {
  min-width: 0 !important;
  overflow: hidden !important;
}

.tv_account_page .tv_account_order_action_button {
  display: inline-flex !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
}

/* Ajuste v162: acciones compactas, resumen blanco, direcciones multiples y paginacion sin recarga */
.tv_account_action_button_inline {
  width: auto !important;
  min-width: 118px !important;
  flex: 0 0 auto !important;
}

.tv_account_page .tv_account_actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
}

.tv_account_page .tv_account_actions > .tv_btn,
.tv_account_page .tv_account_actions > label {
  width: auto !important;
}

.tv_account_page .tv_account_resume_list.tv_account_resume_list_destacada {
  display: grid !important;
  gap: 12px !important;
  margin-top: 18px !important;
}

.tv_account_page .tv_account_resume_list.tv_account_resume_list_destacada li {
  display: grid !important;
  gap: 6px !important;
  padding: 16px 18px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(191, 175, 208, 0.28) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #4F4250 !important;
}

.tv_account_page .tv_account_resume_list.tv_account_resume_list_destacada li strong,
.tv_account_page .tv_account_resume_list.tv_account_resume_list_destacada li span {
  font-size: 0.96rem !important;
  line-height: 1.5 !important;
  color: #4F4250 !important;
}

.tv_account_page .tv_account_resume_list.tv_account_resume_list_destacada li strong {
  font-weight: 700 !important;
}

.tv_account_page .tv_account_direction_list_card {
  width: 100% !important;
}

.tv_account_direction_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tv_account_direction_item {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(191, 175, 208, 0.32);
  background: rgba(255, 255, 255, 0.82);
}

.tv_account_direction_item_principal {
  border-color: rgba(111, 79, 163, 0.24);
  box-shadow: 0 12px 24px rgba(49, 37, 67, 0.05);
}

.tv_account_direction_item_head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tv_account_direction_item_head strong {
  display: block;
  color: #312543;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.tv_account_direction_item_head span,
.tv_account_direction_item p {
  color: #4F4250;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tv_account_direction_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(111, 79, 163, 0.12);
  color: #6E4FA3;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.tv_account_direction_item_actions,
.tv_account_direction_new_button {
  width: auto !important;
}

.tv_account_direction_edit_button,
.tv_account_direction_new_button {
  min-height: 40px !important;
  border-radius: 999px !important;
  padding: 0.7rem 1.2rem !important;
}

.tv_account_check_line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #4F4250;
  font-size: 0.92rem;
}

.tv_account_check_line input {
  width: 16px;
  height: 16px;
}

.tv_account_orders_pagination_button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

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

  .tv_account_page .tv_account_actions > .tv_btn,
  .tv_account_page .tv_account_actions > label,
  .tv_account_direction_new_button,
  .tv_account_direction_edit_button {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Ajuste v163: sesion cliente persistente, formulario de direcciones y resumenes */
.tv_account_page .tv_account_action_button_inline {
  min-width: 132px !important;
  max-width: 180px !important;
}

.tv_account_page .tv_account_resume_list.tv_account_resume_list_destacada li {
  background: #FFFFFF !important;
  border-color: rgba(191, 175, 208, 0.26) !important;
}

.tv_account_page .tv_account_resume_list.tv_account_resume_list_destacada li strong {
  font-size: 0.98rem !important;
}

.tv_account_page .tv_account_resume_list.tv_account_resume_list_destacada li span {
  font-size: 0.9rem !important;
}

.tv_account_page .tv_account_direction_new_button,
.tv_account_page .tv_account_direction_edit_button,
.tv_account_page #tv_account_direccion_submit {
  width: auto !important;
}

.tv_account_page .tv_account_section_head .tv_account_direction_new_button {
  align-self: center !important;
}

@media (max-width: 767px) {
  .tv_account_page .tv_account_action_button_inline {
    max-width: 100% !important;
  }
}


/* Ajuste v164: historial simetrico, paginacion real y nueva direccion estable */
.tv_account_order_item[hidden],
.tv_account_page .tv_account_order_item[hidden] {
  display: none !important;
}

.tv_account_page .tv_account_order_item {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_header,
.tv_account_page .tv_account_order_body_grid {
  display: contents !important;
}

.tv_account_page .tv_account_order_identity {
  grid-column: 1 / 6 !important;
}

.tv_account_page .tv_account_order_date_row {
  grid-column: 6 / 10 !important;
}

.tv_account_page .tv_account_order_total_wrap {
  grid-column: 10 / 13 !important;
}

.tv_account_page .tv_account_order_status_card:nth-of-type(1) {
  grid-column: 1 / 4 !important;
}

.tv_account_page .tv_account_order_status_card:nth-of-type(2) {
  grid-column: 4 / 7 !important;
}

.tv_account_page .tv_account_order_info_item:nth-of-type(1) {
  grid-column: 7 / 10 !important;
}

.tv_account_page .tv_account_order_info_item:nth-of-type(2) {
  grid-column: 10 / 13 !important;
}

.tv_account_page .tv_account_order_detail_span2 {
  grid-column: 1 / 10 !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  grid-column: 10 / 13 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

.tv_account_page .tv_account_order_meta_card,
.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box {
  min-height: 86px !important;
}

.tv_account_page .tv_account_order_detail {
  min-height: 0 !important;
}

.tv_account_page .tv_account_order_action_button {
  width: 100% !important;
  min-height: 100% !important;
}

.tv_account_page .tv_account_direction_list_card .tv_account_section_head {
  align-items: center !important;
}

.tv_account_page .tv_account_direction_new_button {
  flex: 0 0 auto !important;
  min-width: 160px !important;
}

@media (max-width: 1180px) {
  .tv_account_page .tv_account_order_item {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_identity,
  .tv_account_page .tv_account_order_date_row,
  .tv_account_page .tv_account_order_total_wrap,
  .tv_account_page .tv_account_order_status_card:nth-of-type(1),
  .tv_account_page .tv_account_order_status_card:nth-of-type(2),
  .tv_account_page .tv_account_order_info_item:nth-of-type(1),
  .tv_account_page .tv_account_order_info_item:nth-of-type(2),
  .tv_account_page .tv_account_order_detail_span2,
  .tv_account_page .tv_account_order_side_actions_box {
    grid-column: auto !important;
  }

  .tv_account_page .tv_account_order_detail_span2,
  .tv_account_page .tv_account_order_side_actions_box {
    grid-column: 1 / -1 !important;
  }

  .tv_account_page .tv_account_order_meta_card,
  .tv_account_page .tv_account_order_status_card,
  .tv_account_page .tv_account_order_info_item,
  .tv_account_page .tv_account_order_side_actions_box {
    min-height: 78px !important;
  }
}

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

  .tv_account_page .tv_account_order_identity,
  .tv_account_page .tv_account_order_date_row,
  .tv_account_page .tv_account_order_total_wrap,
  .tv_account_page .tv_account_order_status_card:nth-of-type(1),
  .tv_account_page .tv_account_order_status_card:nth-of-type(2),
  .tv_account_page .tv_account_order_info_item:nth-of-type(1),
  .tv_account_page .tv_account_order_info_item:nth-of-type(2),
  .tv_account_page .tv_account_order_detail_span2,
  .tv_account_page .tv_account_order_side_actions_box {
    grid-column: auto !important;
  }

  .tv_account_page .tv_account_order_meta_card,
  .tv_account_page .tv_account_order_status_card,
  .tv_account_page .tv_account_order_info_item,
  .tv_account_page .tv_account_order_side_actions_box {
    min-height: 0 !important;
  }

  .tv_account_page .tv_account_direction_list_card .tv_account_section_head {
    align-items: stretch !important;
  }

  .tv_account_page .tv_account_direction_new_button {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* Ajuste v165: historial compacto, simetrico y paginacion visible */
.tv_account_order_item_oculto,
.tv_account_page .tv_account_order_item_oculto {
  display: none !important;
}

.tv_account_page .tv_account_orders_grid {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.tv_account_page .tv_account_order_item {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  padding: 20px !important;
}

.tv_account_page .tv_account_order_header {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1.35fr) minmax(160px, 1fr) !important;
  align-items: stretch !important;
  gap: 14px !important;
}

.tv_account_page .tv_account_order_body_grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.tv_account_page .tv_account_order_identity,
.tv_account_page .tv_account_order_date_row,
.tv_account_page .tv_account_order_total_wrap,
.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box {
  min-width: 0 !important;
  min-height: 84px !important;
}

.tv_account_page .tv_account_order_detail_span2 {
  grid-column: 1 / 4 !important;
  min-height: 78px !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  grid-column: 4 / 5 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
}

.tv_account_page .tv_account_order_action_button {
  width: 100% !important;
  max-width: 220px !important;
  min-height: 100% !important;
  margin-left: auto !important;
}

.tv_account_page .tv_account_order_info_item strong,
.tv_account_page .tv_account_order_detail strong,
.tv_account_page .tv_account_order_date_row strong {
  font-size: 0.97rem !important;
  line-height: 1.35 !important;
}

.tv_account_page .tv_account_order_meta_label,
.tv_account_page .tv_account_order_label,
.tv_account_page .tv_account_order_detail span {
  line-height: 1.25 !important;
}

.tv_account_page .tv_account_direction_new_button {
  min-width: 170px !important;
}

@media (max-width: 1180px) {
  .tv_account_page .tv_account_order_header {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_total_wrap {
    grid-column: 1 / -1 !important;
    justify-items: start !important;
  }

  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_detail_span2,
  .tv_account_page .tv_account_order_side_actions_box {
    grid-column: 1 / -1 !important;
  }

  .tv_account_page .tv_account_order_action_button {
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_account_page .tv_account_order_total_wrap,
  .tv_account_page .tv_account_order_detail_span2,
  .tv_account_page .tv_account_order_side_actions_box {
    grid-column: auto !important;
  }
}


/* Ajuste v166: depuracion visible de cuenta */
.tv_account_debug_trace {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px dashed rgba(49, 37, 67, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.tv_account_debug_trace_oculto {
  display: none !important;
}

.tv_account_debug_trace_item {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #312543;
  word-break: break-word;
}

.tv_account_debug_trace_item_error {
  color: #8b1e3f;
}

.tv_account_debug_trace_item_warn {
  color: #8a5a11;
}

.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.tv_account_page .tv_account_order_meta_label {
  letter-spacing: 0.16em !important;
  font-size: 0.74rem !important;
}

.tv_account_page .tv_account_order_info_item strong {
  word-break: break-word !important;
}

/* Ajuste v167: historial final y fallback robusto de cuenta */
.tv_account_page .tv_account_orders_pagination a.tv_account_orders_pagination_button {
  text-decoration: none !important;
}

.tv_account_page .tv_account_orders_pagination_button_disabled {
  pointer-events: none !important;
  opacity: 0.45 !important;
}

.tv_account_page .tv_account_orders_grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.tv_account_page .tv_account_order_item {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  padding: 20px !important;
}

.tv_account_page .tv_account_order_header {
  display: grid !important;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1.15fr) minmax(160px, 0.9fr) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_body_grid {
  display: grid !important;
  grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(1) {
  grid-column: 1 / 3 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(2) {
  grid-column: 3 / 5 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(3) {
  grid-column: 5 / 8 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(4) {
  grid-column: 8 / 11 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(5) {
  grid-column: 1 / 8 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(6) {
  grid-column: 8 / 11 !important;
}

.tv_account_page .tv_account_order_meta_label,
.tv_account_page .tv_account_order_label,
.tv_account_page .tv_account_order_detail span {
  font-size: 0.68rem !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
}

.tv_account_page .tv_account_order_identity strong,
.tv_account_page .tv_account_order_date_row strong,
.tv_account_page .tv_account_order_info_item strong,
.tv_account_page .tv_account_order_detail strong {
  font-size: 0.98rem !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
}

.tv_account_page .tv_account_order_total {
  min-width: 120px !important;
}

.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box {
  min-height: 84px !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  display: flex !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_action_button {
  width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
}

.tv_account_page .tv_account_direction_new_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

@media (max-width: 1180px) {
  .tv_account_page .tv_account_order_header {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_total_wrap {
    grid-column: 1 / -1 !important;
    justify-items: start !important;
  }

  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(1),
  .tv_account_page .tv_account_order_body_grid > :nth-child(2),
  .tv_account_page .tv_account_order_body_grid > :nth-child(3),
  .tv_account_page .tv_account_order_body_grid > :nth-child(4),
  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: auto !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(1),
  .tv_account_page .tv_account_order_body_grid > :nth-child(2),
  .tv_account_page .tv_account_order_body_grid > :nth-child(3),
  .tv_account_page .tv_account_order_body_grid > :nth-child(4),
  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: auto !important;
  }
}


.tv_account_page .tv_account_order_item[hidden],
.tv_account_page .tv_account_order_item_oculto,
.tv_account_order_item[hidden],
.tv_account_order_item_oculto {
  display: none !important;
}

.tv_account_page .tv_account_order_item {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  padding: 20px !important;
}

.tv_account_page .tv_account_order_header {
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr) minmax(140px, 0.9fr) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_body_grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(1),
.tv_account_page .tv_account_order_body_grid > :nth-child(2),
.tv_account_page .tv_account_order_body_grid > :nth-child(3),
.tv_account_page .tv_account_order_body_grid > :nth-child(4) {
  grid-column: span 1 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(5) {
  grid-column: 1 / 4 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(6) {
  grid-column: 4 / 5 !important;
}

.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box {
  min-height: 86px !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.tv_account_page .tv_account_order_action_button {
  width: 100% !important;
  max-width: 190px !important;
  align-self: stretch !important;
  justify-content: center !important;
}

@media (max-width: 980px) {
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(1),
  .tv_account_page .tv_account_order_body_grid > :nth-child(2),
  .tv_account_page .tv_account_order_body_grid > :nth-child(3),
  .tv_account_page .tv_account_order_body_grid > :nth-child(4),
  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: span 1 !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(1),
  .tv_account_page .tv_account_order_body_grid > :nth-child(2),
  .tv_account_page .tv_account_order_body_grid > :nth-child(3),
  .tv_account_page .tv_account_order_body_grid > :nth-child(4),
  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: 1 / -1 !important;
  }
}

.tv_account_page .tv_account_order_header,
.tv_account_page .tv_account_order_body_grid,
.tv_account_page .tv_account_direction_item,
.tv_account_page .tv_account_direction_item_head {
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_meta_card,
.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.tv_account_page .tv_account_order_header {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.tv_account_page .tv_account_order_body_grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(1),
.tv_account_page .tv_account_order_body_grid > :nth-child(2),
.tv_account_page .tv_account_order_body_grid > :nth-child(3) {
  grid-column: span 1 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(4) {
  grid-column: 1 / 2 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(5) {
  grid-column: 2 / 4 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(6) {
  grid-column: 1 / -1 !important;
}

.tv_account_page .tv_account_order_detail strong,
.tv_account_page .tv_account_order_info_item strong,
.tv_account_page .tv_account_order_meta_card strong {
  overflow-wrap: anywhere !important;
}

.tv_account_page .tv_account_order_detail strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  min-height: auto !important;
  align-items: flex-start !important;
}

.tv_account_page .tv_account_order_action_button {
  width: auto !important;
  min-width: 180px !important;
  max-width: 100% !important;
}

.tv_account_page .tv_account_direction_item {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
}

.tv_account_page .tv_account_direction_item p {
  grid-column: 1 / -1 !important;
}

.tv_account_page .tv_account_direction_item_actions {
  justify-self: end !important;
}

@media (max-width: 980px) {
  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(1),
  .tv_account_page .tv_account_order_body_grid > :nth-child(2),
  .tv_account_page .tv_account_order_body_grid > :nth-child(3),
  .tv_account_page .tv_account_order_body_grid > :nth-child(4) {
    grid-column: span 1 !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid,
  .tv_account_page .tv_account_direction_item {
    grid-template-columns: 1fr !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(1),
  .tv_account_page .tv_account_order_body_grid > :nth-child(2),
  .tv_account_page .tv_account_order_body_grid > :nth-child(3),
  .tv_account_page .tv_account_order_body_grid > :nth-child(4),
  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: 1 / -1 !important;
  }

  .tv_account_page .tv_account_order_action_button,
  .tv_account_page .tv_account_direction_item_actions {
    width: 100% !important;
    justify-self: stretch !important;
  }
}


/* Ajuste v170: control directo de historial y nueva direccion desde la vista */
.tv_account_page .tv_account_order_item[hidden] {
  display: none !important;
}

.tv_account_page .tv_account_orders_pagination_button {
  cursor: pointer;
}

.tv_account_page .tv_account_direction_new_button {
  position: relative;
  z-index: 3;
}

/* Ajuste v171: simetria base del historial y ancho util completo */
.tv_account_page .tv_account_orders_grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

.tv_account_page .tv_account_order_item {
  max-width: none !important;
}

.tv_account_page .tv_account_order_header > *,
.tv_account_page .tv_account_order_body_grid > * {
  min-width: 0 !important;
}

.tv_account_page .tv_account_order_detail strong {
  line-height: 1.45 !important;
}


/* Ajuste v172: formulario visible de direcciones y paginador directo */
.tv_account_page .tv_account_direction_form_card {
  order: 2;
}

.tv_account_page .tv_account_direction_list_card {
  order: 3;
}

.tv_account_page .tv_account_direction_form_card .tv_account_section_head,
.tv_account_page .tv_account_direction_list_card .tv_account_section_head {
  align-items: center !important;
}

.tv_account_page .tv_account_direction_new_button {
  flex-shrink: 0 !important;
}

.tv_account_page .tv_account_order_item {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

.tv_account_page .tv_account_order_header {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.tv_account_page .tv_account_order_body_grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(1),
.tv_account_page .tv_account_order_body_grid > :nth-child(2),
.tv_account_page .tv_account_order_body_grid > :nth-child(3),
.tv_account_page .tv_account_order_body_grid > :nth-child(4) {
  grid-column: span 1 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(5) {
  grid-column: 1 / 4 !important;
}

.tv_account_page .tv_account_order_body_grid > :nth-child(6) {
  grid-column: 4 / 5 !important;
}

.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box {
  min-height: 88px !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  display: flex !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_action_button {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 980px) {
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(1),
  .tv_account_page .tv_account_order_body_grid > :nth-child(2),
  .tv_account_page .tv_account_order_body_grid > :nth-child(3),
  .tv_account_page .tv_account_order_body_grid > :nth-child(4),
  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6) {
    grid-column: 1 / -1 !important;
  }
}

.tv_account_page .tv_account_orders_grid {
  display: grid !important;
  gap: 1.5rem !important;
}

.tv_account_page .tv_account_order_item {
  display: grid !important;
  gap: 1rem !important;
  padding: 1.5rem !important;
  border-radius: 1.75rem !important;
  background: #efeaf7 !important;
  border: 1px solid rgba(125, 101, 153, 0.18) !important;
}

.tv_account_page .tv_account_order_header {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(180px, 0.9fr) !important;
  gap: 0.9rem !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_body_grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.9rem !important;
  align-items: stretch !important;
}

.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box,
.tv_account_page .tv_account_order_meta_card {
  min-height: 96px !important;
  border-radius: 1.35rem !important;
  padding: 1rem 1.1rem !important;
  background: #ffffff !important;
  border: 1px solid rgba(125, 101, 153, 0.14) !important;
}

.tv_account_page .tv_account_order_detail {
  grid-column: 1 / 4 !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  grid-column: 4 / 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.tv_account_page .tv_account_order_action_button {
  width: 100% !important;
  max-width: 220px !important;
  white-space: nowrap !important;
}

.tv_account_page .tv_account_resume_list_direccion_blanca {
  padding: 1.35rem 1.5rem !important;
  border-radius: 1.5rem !important;
  background: #ffffff !important;
  border: 1px solid rgba(125, 101, 153, 0.12) !important;
}

@media (max-width: 980px) {
  .tv_account_page .tv_account_order_header {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tv_account_page .tv_account_order_detail,
  .tv_account_page .tv_account_order_side_actions_box {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: 1fr !important;
  }

  .tv_account_page .tv_account_order_detail,
  .tv_account_page .tv_account_order_side_actions_box {
    grid-column: 1 / -1 !important;
  }
}


/* Ajuste v174: direccion unica con formulario visible y precargado */
.tv_account_page .tv_account_direccion_form_card_unica {
  background: linear-gradient(180deg, rgba(229, 223, 240, 0.96) 0%, rgba(237, 231, 245, 0.96) 100%) !important;
}

.tv_account_page #tv_account_form_direccion_cliente {
  display: grid;
  gap: 16px;
}

.tv_account_page #tv_account_form_direccion_cliente .tv_account_field {
  display: grid;
  gap: 8px;
}

.tv_account_page #tv_account_form_direccion_cliente .tv_account_field label {
  color: #4F4250 !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.tv_account_page #tv_account_form_direccion_cliente input,
.tv_account_page #tv_account_form_direccion_cliente select,
.tv_account_page #tv_account_form_direccion_cliente textarea {
  min-height: 54px;
  border: 1px solid rgba(191, 175, 208, 0.32) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  padding: 0 16px !important;
  color: #4F4250 !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

.tv_account_page #tv_account_form_direccion_cliente input::placeholder,
.tv_account_page #tv_account_form_direccion_cliente textarea::placeholder {
  color: #8A7A88 !important;
  opacity: 1;
}

.tv_account_page #tv_account_form_direccion_cliente input:focus,
.tv_account_page #tv_account_form_direccion_cliente select:focus,
.tv_account_page #tv_account_form_direccion_cliente textarea:focus {
  outline: none;
  border-color: rgba(111, 79, 163, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(111, 79, 163, 0.08) !important;
}


/* Ajuste v175: resumen lateral blanco e historial compacto */
.tv_account_page .tv_account_sidebar_summary_item {
  background: #ffffff !important;
  border: 1px solid rgba(191, 175, 208, 0.32) !important;
}

.tv_account_page .tv_account_orders_card {
  padding: 1.5rem !important;
}

.tv_account_page .tv_account_content_banner {
  padding: 1.5rem 1.75rem !important;
}

.tv_account_page .tv_account_content_banner_copy h3 {
  margin-bottom: 0.35rem !important;
  font-size: 1.9rem !important;
}

.tv_account_page .tv_account_content_banner_copy p,
.tv_account_page .tv_account_section_description {
  font-size: 0.98rem !important;
}

.tv_account_page .tv_account_orders_grid {
  gap: 1rem !important;
}

.tv_account_page .tv_account_order_item {
  padding: 1rem 1.1rem !important;
  border-radius: 1.35rem !important;
  gap: 0.8rem !important;
}

.tv_account_page .tv_account_order_header {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.05fr) minmax(160px, 0.75fr) !important;
  gap: 0.75rem !important;
}

.tv_account_page .tv_account_order_body_grid {
  gap: 0.75rem !important;
}

.tv_account_page .tv_account_order_meta_card,
.tv_account_page .tv_account_order_status_card,
.tv_account_page .tv_account_order_info_item,
.tv_account_page .tv_account_order_detail,
.tv_account_page .tv_account_order_side_actions_box {
  min-height: 72px !important;
  padding: 0.85rem 0.95rem !important;
  border-radius: 1.1rem !important;
}

.tv_account_page .tv_account_order_code,
.tv_account_page .tv_account_order_detail strong,
.tv_account_page .tv_account_order_info_item strong,
.tv_account_page .tv_account_order_status_card strong,
.tv_account_page .tv_account_order_meta_value {
  font-size: 0.98rem !important;
}

.tv_account_page .tv_account_order_meta_label,
.tv_account_page .tv_account_order_detail span,
.tv_account_page .tv_account_order_status_card span,
.tv_account_page .tv_account_order_info_item span {
  font-size: 0.72rem !important;
}

.tv_account_page .tv_account_order_side_actions_box {
  align-items: center !important;
}

.tv_account_page .tv_account_order_action_button {
  max-width: 190px !important;
  min-height: 46px !important;
  padding: 0.7rem 1rem !important;
}

@media (max-width: 980px) {
  .tv_account_page .tv_account_orders_card,
  .tv_account_page .tv_account_content_banner {
    padding: 1.25rem !important;
  }
}

/* Ajuste v176: historial responsive final y tarjeta valida en checkout */
@media (max-width: 640px) {
  .tv_account_page .tv_account_order_item {
    padding: 0.95rem !important;
    gap: 0.7rem !important;
  }

  .tv_account_page .tv_account_order_header,
  .tv_account_page .tv_account_order_body_grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }

  .tv_account_page .tv_account_order_body_grid > :nth-child(1),
  .tv_account_page .tv_account_order_body_grid > :nth-child(2),
  .tv_account_page .tv_account_order_body_grid > :nth-child(3),
  .tv_account_page .tv_account_order_body_grid > :nth-child(4),
  .tv_account_page .tv_account_order_body_grid > :nth-child(5),
  .tv_account_page .tv_account_order_body_grid > :nth-child(6),
  .tv_account_page .tv_account_order_detail,
  .tv_account_page .tv_account_order_side_actions_box,
  .tv_account_page .tv_account_order_total_wrap {
    grid-column: 1 / -1 !important;
  }

  .tv_account_page .tv_account_order_identity strong,
  .tv_account_page .tv_account_order_date_row strong,
  .tv_account_page .tv_account_order_total,
  .tv_account_page .tv_account_order_info_item strong,
  .tv_account_page .tv_account_order_detail strong {
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .tv_account_page .tv_account_order_action_button {
    width: 100% !important;
    max-width: 100% !important;
  }
}
