/* Combos visual: todos los estilos se limitan a esta sección. */
.tfv-combos { --v-accent: #087e78; --v-aqua: #00d6ca; --v-card: var(--bg-card, #fff); --v-text: var(--text, #122a31); --v-muted: var(--text-2, #66747d); --v-border: var(--border, #e2e8eb); color: var(--v-text); display: grid; gap: 17px; padding: 0 0 28px; }
:root:not([data-theme="light"]) .tfv-combos { --v-accent: #77e6d9; }
.tfv-combos *, .tfv-combos *::before, .tfv-combos *::after { box-sizing: border-box; }
.tfv-combos button, .tfv-combos input, .tfv-combos summary { font: inherit; }
.tfv-combos button, .tfv-combos summary { cursor: pointer; }
.tfv-combos button:disabled { opacity: .5; cursor: not-allowed; }
.tfv-combos :where(button,input,summary,[tabindex]):focus-visible { outline: 3px solid var(--v-accent); outline-offset: 3px; }
.tfv-block { min-width: 0; border: 1px solid var(--v-border); border-radius: 20px; background: color-mix(in srgb, var(--v-card) 65%, transparent); padding: 19px; box-shadow: 0 4px 20px rgba(19, 60, 66, .025); }
.tfv-block-heading { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.tfv-block-icon { flex-shrink: 0; color: var(--v-aqua); display: flex; margin-top: 1px; }
.tfv-block-heading > div { flex: 1; min-width: 0; }
.tfv-block-heading h2 { font-size: 1.08rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.35; margin: 0 0 3px; }
.tfv-block-heading p { margin: 0; color: var(--v-muted); font-size: .75rem; line-height: 1.5; }
.tfv-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 1px; min-height: 36px; border: 0; background: transparent; color: var(--v-accent); font-size: .69rem !important; font-weight: 800 !important; white-space: nowrap; }
.tfv-recommendations, .tfv-quantities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tfv-recommendation { --cover-base: #e4f2ff; --cover-mid: #e4f2fff0; --pill-bg: #cee7ff; --pill-text: #245c94; position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(13, 65, 78, .07); border-radius: 16px; padding: 17px 15px 13px; background: var(--cover-base); color: #102b35; min-height: 218px; text-align: left; display: flex; flex-direction: column; box-shadow: 0 4px 12px rgba(20, 55, 75, .04); transition: transform .2s ease, box-shadow .2s ease; }
.tfv-recommendation:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(20, 55, 75, .13); }
.tfv-creadores { --cover-base: #f9e8fb; --cover-mid: #f9e8fbeb; --pill-bg: #edcdf8; --pill-text: #7931a2; }
.tfv-entretenimiento { --cover-base: #fff0e8; --cover-mid: #fff0e8eb; --pill-bg: #ffdad2; --pill-text: #a33c34; }
.tfv-negocios { --cover-base: #e1f7f2; --cover-mid: #e1f7f2ed; --pill-bg: #bcece2; --pill-text: #17695a; }
.tfv-cover { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.tfv-cover[hidden] { display: none; }
.tfv-recommendation:hover .tfv-cover { transform: scale(1.04); }
.tfv-cover-wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--cover-base) 0%, var(--cover-mid) 34%, color-mix(in srgb, var(--cover-base) 58%, transparent) 65%, transparent 100%); }
.tfv-recommendation-content { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.tfv-pill { display: inline-block; font-size: .59rem; font-weight: 800; border-radius: 20px; background: var(--pill-bg); color: var(--pill-text); padding: 5px 10px; margin-bottom: 11px; }
.tfv-recommendation h3 { max-width: 96%; margin: 0 0 5px; font-size: 1.02rem; font-weight: 800; line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 1px 7px rgba(255, 255, 255, .45); }
.tfv-recommendation p { max-width: 175px; margin: 0 0 14px; font-size: .69rem; line-height: 1.5; color: #40515a; }
.tfv-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-height: 30px; }
.tfv-logo { display: grid; place-items: center; background: #fff; border-radius: 7px; border: 1px solid #e0e7eb; width: 31px; height: 31px; flex-shrink: 0; overflow: hidden; }
.tfv-logo img { max-width: 25px; max-height: 25px; object-fit: contain; }
.tfv-logo-more { color: #52646d; background: #f7f9fa; font-size: .62rem; font-weight: 800; }
.tfv-recommendation .tfv-logos { margin-top: auto; padding-bottom: 12px; }
.tfv-recommendation-action { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 9px 8px; min-height: 35px; border-radius: 20px; background: #102c34; color: #fff; font-size: .7rem; font-weight: 800; }
.tfv-quantity-card { position: relative; padding: 15px 14px 13px; border: 1px solid var(--v-border); border-radius: 14px; background: var(--v-card); color: var(--v-text); text-align: left; min-width: 0; transition: border-color .2s, transform .2s; }
.tfv-quantity-card:hover { border-color: var(--v-accent); transform: translateY(-2px); }
.tfv-quantity-card .tfv-logos { padding-right: 10px; gap: 4px; margin-bottom: 10px; }
.tfv-quantity-card .tfv-logo { width: 27px; height: 27px; border-radius: 6px; }
.tfv-quantity-card .tfv-logo img { width: 23px; height: 23px; }
.tfv-quantity-arrow { position: absolute; right: 12px; top: 27px; color: var(--v-muted); font-size: 1.35rem; font-weight: 400; }
.tfv-quantity-card h3 { font-size: .86rem; margin: 0 0 4px; font-weight: 800; line-height: 1.4; letter-spacing: -.025em; }
.tfv-quantity-card p { font-size: .67rem; line-height: 1.5; color: var(--v-muted); margin: 0 0 9px; }
.tfv-quantity-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; align-items: baseline; font-size: .65rem; line-height: 1.5; }
.tfv-quantity-meta strong { color: var(--v-accent); font-weight: 800; }
.tfv-quantity-meta > span { color: var(--v-muted); font-size: .61rem; }
.tfv-builder { display: grid; grid-template-columns: 150px minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
.tfv-filters { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; }
.tfv-filters button { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 9px; padding: 10px 9px; color: var(--v-muted); background: transparent; font-size: .69rem; line-height: 1.4; min-height: 38px; text-align: left; }
.tfv-filters button svg { flex-shrink: 0; }
.tfv-filters button.is-active { color: #063f42; background: #4de4d8; font-weight: 800; }
.tfv-picker { min-width: 0; }
.tfv-search-label { display: block; font-size: .64rem; font-weight: 700; color: var(--v-muted); margin-bottom: 6px; }
.tfv-search { width: 100%; border: 1px solid var(--v-border); border-radius: 9px; padding: 10px 12px; background: var(--v-card); color: var(--v-text); font-size: .74rem !important; min-height: 39px; margin-bottom: 11px; }
.tfv-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tfv-platform { display: flex; align-items: center; gap: 7px; padding: 9px 8px; min-height: 61px; background: var(--v-card); border: 1px solid var(--v-border); border-radius: 10px; cursor: pointer; min-width: 0; transition: border-color .16s, background .16s; }
.tfv-platform:hover { border-color: var(--v-accent); }
.tfv-platform.is-selected { border-color: var(--v-accent); background: color-mix(in srgb, var(--v-card) 90%, var(--v-aqua)); }
.tfv-platform.is-disabled { opacity: .55; cursor: not-allowed; }
.tfv-platform-icon { display: grid; place-items: center; flex-shrink: 0; width: 31px; }
.tfv-platform-name { min-width: 0; flex: 1; }
.tfv-platform-name strong { display: block; font-size: .72rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.tfv-platform-name small { display: block; color: var(--v-muted); font-size: .63rem; line-height: 1.4; margin-top: 2px; }
.tfv-platform input { flex-shrink: 0; width: 15px; height: 15px; accent-color: #008f86; }
.tfv-show-all { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--v-border); background: var(--v-card); color: var(--v-accent); border-radius: 9px; min-height: 38px; padding: 8px; width: 100%; margin-top: 9px; font-size: .67rem !important; font-weight: 700 !important; }
.tfv-picker-note { font-size: .61rem; line-height: 1.6; color: var(--v-muted); margin: 10px 0 0; }
.tfv-summary { position: sticky; top: 92px; padding: 16px; border: 1px solid var(--v-border); border-radius: 15px; background: var(--v-card); box-shadow: 0 5px 14px rgba(10, 46, 51, .035); }
.tfv-summary h3 { margin: 0 0 4px; font-size: .9rem; font-weight: 800; letter-spacing: -.03em; }
.tfv-summary-count { margin: 0; color: var(--v-muted); font-size: .65rem; line-height: 1.5; }
.tfv-summary-empty { text-align: center; padding: 18px 5px 14px; color: var(--v-muted); }
.tfv-summary-empty > svg { color: #98aab2; margin-bottom: 5px; }
.tfv-summary-empty p { margin: 0; font-size: .66rem; line-height: 1.6; }
.tfv-summary-price { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; border-top: 1px solid var(--v-border); padding-top: 12px; margin-bottom: 12px; }
.tfv-summary-price span { font-size: .65rem; color: var(--v-muted); }
.tfv-summary-price strong { font-size: .83rem; font-weight: 800; }
.tfv-button { display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 9px; min-height: 41px; padding: 10px 12px; font-size: .7rem !important; font-weight: 800 !important; line-height: 1.4; }
.tfv-button-aqua { color: #073d40; background: #31e2d4; width: 100%; box-shadow: 0 4px 12px #00d6ca20; }
.tfv-button-aqua:hover:not(:disabled) { background: #71efe2; }
.tfv-button-dark { background: #102c34; color: #fff; }
:root:not([data-theme="light"]) .tfv-button-dark { background: #a4f3e7; color: #103c38; }
.tfv-button-outline { background: var(--v-card); color: var(--v-accent); border-color: var(--v-border); }
.tfv-summary-note, .tfv-notice { font-size: .59rem; line-height: 1.6; color: var(--v-muted); margin: 9px 0 0; text-align: center; }
.tfv-notice { padding-bottom: 9px; }
.tfv-summary ul { list-style: none; margin: 10px 0 14px; padding: 0; max-height: 230px; overflow-y: auto; }
.tfv-summary li { display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--v-border); font-size: .65rem; padding: 7px 0; }
.tfv-summary li > span:first-child { flex-shrink: 0; }
.tfv-summary li > span:nth-child(2) { flex: 1; overflow-wrap: anywhere; }
.tfv-summary li button { border: 0; background: transparent; color: var(--v-muted); font-size: 1.2rem; width: 32px; min-height: 35px; flex-shrink: 0; }
.tfv-clear { display: block; min-height: 36px; margin: 6px auto 0; color: var(--v-accent); border: 0; background: transparent; font-size: .65rem !important; }
.tfv-how { position: relative; flex-shrink: 0; max-width: 210px; }
.tfv-how summary { color: var(--v-accent); font-size: .63rem; font-weight: 700; min-height: 36px; padding: 7px 9px; border-radius: 15px; background: color-mix(in srgb, var(--v-card) 90%, var(--v-aqua)); list-style: none; display: flex; align-items: center; }
.tfv-how summary::-webkit-details-marker { display: none; }
.tfv-how[open] p { position: absolute; z-index: 5; top: 35px; right: 0; width: 260px; padding: 15px; font-size: .75rem; background: var(--v-card); color: var(--v-text); border: 1px solid var(--v-border); border-radius: 12px; box-shadow: 0 10px 30px #0002; line-height: 1.7; }
.tfv-expanded, .tfv-matches { padding-top: 22px; margin-top: 20px; border-top: 1px solid var(--v-border); }
.tfv-expanded-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.tfv-expanded h3, .tfv-matches h3 { font-size: 1.05rem; margin: 0; letter-spacing: -.025em; }
.tfv-expanded-heading button { font-size: .7rem !important; }
.tfv-expanded-heading button span { font-size: 1.3rem; margin-left: 5px; }
.tfv-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tfv-product { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--v-border); border-radius: 14px; padding: 20px; background: var(--v-card); }
.tfv-product-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; font-size: .61rem; margin-bottom: 18px; }
.tfv-product-tag { font-weight: 800; color: var(--v-accent); }
.tfv-stock { color: var(--v-muted); }
.tfv-product h4 { margin: 14px 0 8px; font-size: .94rem; line-height: 1.5; }
.tfv-product > p { color: var(--v-muted); font-size: .73rem; line-height: 1.7; margin-bottom: 17px; }
.tfv-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin-top: auto; padding: 5px 0 15px; }
.tfv-product-price strong { font-size: 1.2rem; letter-spacing: -.03em; }
.tfv-product-price span { color: var(--v-muted); font-size: .69rem; }
.tfv-matches > p { color: var(--v-muted); font-size: .74rem; line-height: 1.7; margin: 9px 0 18px; }
.tfv-empty { grid-column: 1 / -1; text-align: center; border: 1px dashed var(--v-border); border-radius: 13px; background: var(--v-card); padding: 30px 20px; }
.tfv-empty > svg { color: var(--v-accent); margin-bottom: 12px; }
.tfv-empty h4 { font-size: .94rem; margin: 0 0 8px; }
.tfv-empty p { color: var(--v-muted); font-size: .76rem; line-height: 1.7; margin-bottom: 15px; }
.tfv-empty .tfv-button { width: fit-content; margin: auto; }
.tfv-query { color: var(--v-muted); font-size: .82rem; margin: 0; }
.tfv-fine-print { text-align: center; color: var(--v-muted); font-size: .63rem; margin: 0; line-height: 1.7; }
@media (min-width: 1250px) { .tfv-platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1120px) {
  .tfv-builder { grid-template-columns: 125px minmax(0, 1fr) 220px; gap: 12px; }
  .tfv-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tfv-recommendation { padding: 14px 12px 12px; }
  .tfv-recommendation h3 { font-size: .95rem; }
  .tfv-quantity-meta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 900px) {
  .tfv-recommendations, .tfv-quantities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tfv-recommendation { min-height: 216px; }
  .tfv-builder { grid-template-columns: minmax(0, 1fr) 240px; }
  .tfv-filters { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; padding-top: 0; gap: 5px; }
  .tfv-filters button { border: 1px solid var(--v-border); font-size: .65rem; padding: 8px 10px; }
  .tfv-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tfv-combos { gap: 14px; }
  .tfv-block { border-radius: 16px; padding: 14px 12px; }
  .tfv-block-heading { gap: 8px; margin-bottom: 13px; flex-wrap: wrap; }
  .tfv-block-heading h2 { font-size: 1rem; }
  .tfv-block-heading p { font-size: .69rem; line-height: 1.6; }
  .tfv-block-icon { margin-top: 0; }
  .tfv-block-icon svg { width: 22px; }
  .tfv-block-heading > .tfv-text-button { min-height: 30px; margin: -7px 0 -2px auto; }
  .tfv-recommendations { grid-template-columns: 1fr; gap: 12px; }
  .tfv-recommendation { min-height: 218px; padding: 18px 16px 13px; }
  .tfv-recommendation h3 { font-size: 1.15rem; max-width: 85%; }
  .tfv-recommendation p { font-size: .76rem; max-width: 205px; }
  .tfv-pill { font-size: .65rem; }
  .tfv-recommendation-action { min-height: 40px; font-size: .75rem; }
  .tfv-quantities { gap: 9px; }
  .tfv-quantity-card { padding: 12px 10px; }
  .tfv-quantity-card .tfv-logo { width: 24px; height: 24px; }
  .tfv-quantity-card .tfv-logo img { width: 20px; height: 20px; }
  .tfv-quantity-card .tfv-logos { gap: 3px; padding-right: 0; }
  .tfv-quantity-card .tfv-logo:nth-child(n+4) { display: none; }
  .tfv-quantity-arrow { display: none; }
  .tfv-quantity-card h3 { font-size: .8rem; }
  .tfv-quantity-card p { font-size: .64rem; }
  .tfv-builder { grid-template-columns: 1fr; gap: 14px; }
  .tfv-filters { grid-column: auto; }
  .tfv-filters button { font-size: .65rem; min-height: 38px; }
  .tfv-summary { position: static; padding: 17px; }
  .tfv-summary h3 { font-size: 1rem; }
  .tfv-summary-price strong { font-size: 1rem; }
  .tfv-summary-count, .tfv-summary-price span { font-size: .73rem; }
  .tfv-summary-note { font-size: .66rem; }
  .tfv-platform-name strong { font-size: .7rem; }
  .tfv-platform-name small { font-size: .6rem; }
  .tfv-platform { min-height: 72px; padding: 10px 8px; }
  .tfv-platform-icon { width: 26px; }
  .tfv-platform-icon img { width: 26px; height: 26px; }
  .tfv-picker-note { font-size: .65rem; }
  .tfv-how { margin-left: auto; }
  .tfv-how summary { min-height: 34px; }
  .tfv-expanded { padding-top: 16px; }
  .tfv-expanded h3 { font-size: .92rem; }
  .tfv-products { grid-template-columns: 1fr; }
}
@media (max-width: 350px) { .tfv-platforms { grid-template-columns: 1fr; } .tfv-quantities { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tfv-combos * { transition: none; } .tfv-recommendation:hover, .tfv-recommendation:hover .tfv-cover, .tfv-quantity-card:hover { transform: none; } }
