/* Rediseño premium de la tienda (oct 2026). Solo lo carga index.html (no el admin). Va después de theme-tsl.css. */
.topbar { background: var(--bg-deep); backdrop-filter: none; }
.topbar .tabs { gap: 4px; }
.topbar .tab { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1350px) { .topbar .tab { padding-inline: 7px; font-size: 12px; } .topbar .nav-social { padding-left: 8px; margin-left: 0; gap: 6px; } }
.topbar .nav-social { border-left: 1px solid var(--border-color); margin-left: 8px; padding-left: 16px; font-size: 12px; }
.tsl-hero__wrap { gap: 32px; }
.tsl-search { box-shadow: none !important; border-radius: 16px; }
.tsl-search__hint { display: none; }
.tsl-cta__sheen { display: none; }
.lv-box { box-shadow: none; border-radius: 16px; }
.lv-box::before { display: none; }
.lv-live, .lv-live i { animation: none; box-shadow: none; }
.lv-live { font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 5px 9px; }
.lv-card { border-radius: 10px; }
.lv-card.is-enter { animation: premium-feed-in .2s ease both; }
@keyframes premium-feed-in { from { opacity: 0; } to { opacity: 1; } }
.ht-video { border-radius: 16px; }
@media (min-width: 1400px) { .topbar .tab { padding-inline: 12px; } }
@media (prefers-reduced-motion: reduce) { .lv-card.is-enter { animation: none; } }

/* Proposal 2: composition and rhythm, only in the local comparison. */
.hero.tsl-hero { padding: 56px 0 40px !important; }
.tsl-hero__wrap { max-width: 1180px; margin-inline: auto; gap: 28px; }
.tsl-hero__title { font-size: clamp(38px, 4.7vw, 64px); line-height: 1.06; letter-spacing: -.04em; }
.tsl-search { width: 100%; }
.tsl-search__bar { padding: 18px 20px; background: var(--soft); }
.tsl-search__input { background: transparent !important; font-size: 17px; }
.tsl-search:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.tsl-search__results { height: 204px; }
.tsl-search__row { min-height: 62px; padding: 12px 20px; gap: 12px; }
.tsl-search__row + .tsl-search__row { border-top: 1px solid var(--border); }
.tsl-search__name { font-size: 14px; white-space: normal; line-height: 1.4; }
.tsl-search__price { font-size: 14px; font-variant-numeric: tabular-nums; }
.tsl-search__group { animation-name: premium-search-fade; transform: none; pointer-events: none; }
@keyframes premium-search-fade { 0%, 34%, 100% { opacity: 0; } 4%, 30% { opacity: 1; } }
.tsl-search__input:focus { outline: none !important; box-shadow: none !important; border: 0 !important; }
.tsl-hero__actions .primary, .tsl-hero__actions .secondary { min-height: 46px; padding: 12px 20px; font-size: 14px; border-radius: 8px; }
.tsl-hero__note { font-size: 13px; line-height: 1.6; gap: 8px; }
.hero-trio { width: 100%; gap: 24px; margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--border); }
.ht-video { padding: 20px; align-self: start; }
.hv-frame { max-height: 260px; width: 146px; }
.hv-cap { gap: 8px; }
.hv-cap b { font-size: 18px; font-weight: 600; }
.hv-cap span { line-height: 1.6; }
.lv-box { padding: 24px; }
.lv-head { gap: 16px; margin-bottom: 16px; flex-wrap: nowrap; align-items: start; }
.lv-title { font-size: 23px; line-height: 1.25; margin-block: 10px; }
.lv-sub { font-size: 13px; }
.lv-stat { flex: 0 0 100px; padding-top: 8px; }
.lv-stat b { font-size: 26px; }
.lv-stat span { font-size: 11px; }
.lv-feed { min-height: 0; gap: 0; }
.lv-card { padding: 12px 0; border: 0; border-radius: 0; background: transparent; gap: 10px; }
.lv-card + .lv-card { border-top: 1px solid var(--border); }
.lv-logo { width: 34px; height: 34px; border-radius: 8px; }
.lv-l1 { font-size: 13px; }
.lv-who { font-size: 12px; }
.lv-l2 { font-size: 11px; gap: 4px 8px; }
.lv-foot { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; line-height: 1.5; }
#communityBanner { width: 100%; border-radius: 12px; box-shadow: none !important; background: var(--bg-card) !important; border-color: var(--border) !important; }
#communityBanner::before, #communityBanner::after { display: none; }
.tsl-pay { flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 20px; }
.tsl-pay__row { gap: 16px; }
.tsl-pay__item { border: 0; background: transparent; padding: 0; font-size: 12px; }
.tsl-pay__item img { width: 20px; height: 20px; }
.tsl-pay__note { font-size: 11px; }
@media (min-width: 1000px) {
  .tsl-hero__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; row-gap: 24px; align-items: start; }
  .tsl-hero__title { grid-column: 1; grid-row: 1; text-align: left; padding-top: 12px; }
  .tsl-search { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .tsl-hero__actions { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .tsl-hero__note { grid-column: 1; grid-row: 3; justify-content: flex-start; text-align: left; }
  .tsl-hero__sep { display: none; }
  .tsl-hero__rating { flex-basis: 100%; }
  .hero-trio, #communityBanner, .tsl-pay { grid-column: 1 / -1; }
  .hero-trio { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: 'video live'; align-items: start; }
  .ht-video { flex-direction: row; gap: 24px; align-items: center; }
  .hv-frame { width: 146px; flex: 0 0 146px; max-height: 260px; }
}
@media (max-width: 999px) {
  .tsl-hero__wrap { max-width: 740px; }
  .hero.tsl-hero { padding-top: 36px !important; }
  .tsl-search { max-width: 640px; }
  .hero-trio { grid-template-columns: 1fr; }
  .ht-video { flex-direction: row; align-items: center; gap: 24px; }
  .hv-frame { width: 96px; flex: 0 0 96px; margin: 0; }
}
@media (max-width: 600px) {
  .hero.tsl-hero { padding: 28px 0 16px !important; }
  .tsl-hero__wrap { gap: 24px; }
  .tsl-hero__title { font-size: clamp(33px, 8.7vw, 46px); line-height: 1.1; }
  .tsl-search__bar { padding: 16px; }
  .tsl-search__row { padding: 10px 14px; gap: 10px; min-height: 66px; }
  .tsl-search__results { height: 214px; }
  .tsl-search__name, .tsl-search__price { font-size: 12px; }
  .tsl-search__logo { width: 28px; height: 28px; }
  .tsl-hero__actions { width: 100%; gap: 8px; }
  .tsl-hero__actions .primary, .tsl-hero__actions .secondary { padding: 12px; font-size: 12px; }
  .tsl-hero__note { font-size: 12px; }
  .hero-trio { margin-top: 0; padding-top: 24px; gap: 16px; }
  .ht-video { padding: 14px; gap: 16px; }
  .hv-cap b { font-size: 16px; }
  .lv-box { padding: 18px; }
  .lv-head { flex-wrap: wrap; }
  .lv-title { font-size: 21px; }
  .lv-stat { display: flex; align-items: baseline; gap: 10px; flex-basis: 100%; padding: 0; }
  .lv-stat b { font-size: 22px; }
  .tsl-pay { justify-content: center; gap: 14px; padding-block: 16px; }
  .tsl-pay__row { gap: 12px 16px; }
}

/* Local proposal 3: tutorial + community balanced against verified purchases. */
#communityBanner { padding: 22px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px 14px; align-items: start; }
#communityBanner .cmb-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--accent); }
#communityBanner .cmb-top { flex-direction: column; align-items: start; gap: 6px; white-space: normal; font-size: 16px; }
#communityBanner .cmb-top b { color: var(--text-muted); font-weight: 500; font-size: 10px; letter-spacing: .12em; }
#communityBanner .cmb-main { gap: 10px; }
#communityBanner .cmb-rot { height: auto; min-height: 40px; font-size: 13px; line-height: 1.6; }
#communityBanner .cmb-line { white-space: normal; }
#communityBanner .cmb-cta { grid-column: 2; justify-self: start; background: transparent; border: 1px solid var(--border); color: var(--text); border-radius: 7px; font-size: 12px; font-weight: 500; height: 36px; }
#communityBanner .cmb-cta svg { animation: none; }
.hero-trio .ht-video { padding: 20px; gap: 22px; height: 100%; }
.hero-trio .hv-frame { width: 112px; flex: 0 0 112px; max-height: 200px; }
.hero-trio .hv-play { width: 48px; height: 48px; box-shadow: none; }
.hero-trio .hv-play svg { width: 22px; height: 22px; }
.hero-trio .hv-cap b { font-size: 18px; }
.hero-trio .hv-cap span { font-size: 13px; }
#deliveriesSection .lv-box { height: 100%; display: flex; flex-direction: column; padding: 24px; }
#deliveriesSection .lv-head { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 16px; margin-bottom: 20px; }
#deliveriesSection .lv-title { font-size: 22px; line-height: 1.3; }
#deliveriesSection .lv-stat { border-left: 1px solid var(--border); padding: 6px 0 6px 16px; text-align: left; }
#deliveriesSection .lv-stat b { font-size: 24px; margin-bottom: 5px; }
#deliveriesSection .lv-stat span { display: block; font-size: 11px; line-height: 1.4; }
#deliveriesSection .lv-live { background: transparent; color: var(--rose); padding: 0; font-size: 10px; }
#deliveriesSection .lv-live i { background: currentColor; width: 6px; height: 6px; }
#deliveriesSection .lv-feed { flex: 1; justify-content: space-evenly; }
#deliveriesSection .lv-card { padding-block: 16px; gap: 12px; align-items: center; }
#deliveriesSection .lv-logo { width: 38px; height: 38px; flex-basis: 38px; }
#deliveriesSection .lv-l1 { display: flex; flex-wrap: wrap; gap: 2px 5px; overflow: visible; font-size: 12px; line-height: 1.45; }
#deliveriesSection .lv-l1 > b:not(.lv-who) { order: -1; flex-basis: 100%; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
#deliveriesSection .lv-who { font-family: inherit !important; font-weight: 400; color: var(--muted); font-size: 12px; }
#deliveriesSection .lv-l2 { font-size: 11px; line-height: 1.5; }
#deliveriesSection .lv-badge { background: transparent; padding: 0; font-size: 11px; font-weight: 500; }
#deliveriesSection .lv-ago { font-size: 11px; }
#deliveriesSection .lv-foot { font-family: inherit !important; font-size: 11px; padding-top: 16px; margin-top: 8px; }
.tsl-pay { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 30px 20px; margin-top: 8px; border-block: 1px solid var(--border); }
.tsl-pay__cap { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--text-primary); }
.tsl-pay__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; }
.tsl-pay__item { gap: 10px; font-size: 14px; color: var(--text-primary); min-height: 36px; }
.tsl-pay__item img { width: 30px; height: 30px; border-radius: 6px; background: transparent; object-fit: contain; }
.tsl-pay__item:has(img[src$="bold.svg"]) { display: none; }
.tsl-pay__note { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.tsl-pay__note::before { content: ''; width: 24px; height: 24px; background: url('/assets/payments/bold.svg') center / contain no-repeat; }
@media (min-width: 1000px) {
  .tsl-hero__wrap { column-gap: 32px; }
  .hero-trio { display: contents; }
  .hero-trio > .ht-video { grid-column: 1; grid-row: 4; margin-top: 16px; }
  .hero-trio > #deliveriesSection { grid-column: 2; grid-row: 4 / 6; margin-top: 16px; align-self: stretch; min-width: 0; }
  #communityBanner { grid-column: 1; grid-row: 5; height: 100%; }
  #communitySection { grid-column: 1 / -1; }
  .tsl-hero__wrap { grid-template-rows: auto auto auto auto auto; }
}
@media (max-width: 999px) {
  .hero-trio { display: contents; }
  .hero-trio > .ht-video { order: 4; width: 100%; }
  #communityBanner { order: 5; }
  .hero-trio > #deliveriesSection { order: 6; width: 100%; }
  #communitySection { order: 7; }
  .tsl-pay { order: 8; }
}
@media (max-width: 600px) {
  #communityBanner { padding: 18px; gap: 12px; }
  #communityBanner .cmb-cta { width: auto; padding: 0 12px; }
  #communityBanner .cmb-cta > span { display: inline; }
  .hero-trio .ht-video { padding: 16px; gap: 16px; }
  .hero-trio .hv-frame { width: 88px; flex-basis: 88px; }
  #deliveriesSection .lv-box { padding: 18px; }
  #deliveriesSection .lv-head { grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; }
  #deliveriesSection .lv-title { font-size: 19px; }
  #deliveriesSection .lv-stat { display: block; padding-left: 12px; }
  #deliveriesSection .lv-stat b { font-size: 22px; }
  #deliveriesSection .lv-l1 > b:not(.lv-who) { font-size: 13px; }
  .tsl-pay { padding: 24px 12px; gap: 20px; }
  .tsl-pay__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 340px; gap: 18px 20px; }
  .tsl-pay__item { font-size: 13px; }
  .tsl-pay__item img { width: 28px; height: 28px; }
}
@media (min-width: 1000px) {
  .hero-trio > .ht-video { height: auto; align-self: stretch; }
}

/* Local review: full-width community, text-only payment strip, mobile order. */
#communitySection { width: 100%; max-width: none; min-width: 0; justify-self: stretch; align-self: stretch; }
#communitySection .cm-compose, #communitySection .cm-list { width: 100%; max-width: none; box-sizing: border-box; }
.tsl-pay { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; width: 100%; max-width: 1180px; margin: 8px auto 0; padding: 18px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; gap: 16px 24px; box-sizing: border-box; }
.tsl-pay__cap { font-size: 0; }
.tsl-pay__cap::before { content: 'PAGA SEGURO CON'; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--text-muted); }
.tsl-pay__row { display: flex; width: auto; max-width: none; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; }
.tsl-pay__item { min-height: 24px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; transition: color .15s ease; }
.tsl-pay__item:hover { color: var(--text-primary); }
.tsl-pay__item img { display: none; }
.tsl-pay__item:has(img[src$="bold.svg"]) { display: flex; order: 4; }
.tsl-pay__item:has(img[src$="nequi.svg"]) { order: 1; }
.tsl-pay__item:has(img[src$="bancolombia.svg"]) { order: 2; }
.tsl-pay__item:has(img[src$="pse.png"]) { order: 3; }
.tsl-pay__item:has(img[src$="binance.svg"]) { order: 5; }
.tsl-pay__item:has(img[src$="breb.png"]) { order: 6; }
.tsl-pay__note { display: none; }
@media (max-width: 999px) {
  .hero-trio > #deliveriesSection { order: 5; }
  #communityBanner { order: 6; }
  .tsl-pay { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .tsl-pay { padding: 18px 16px; gap: 16px; }
  .tsl-pay__row { display: flex; gap: 16px 20px; }
  .tsl-pay__item { font-size: 12px; }
  #communitySection .cm-who { grid-template-columns: minmax(0, 1fr); }
}

/* Local polish: logos, input inset, stable live-feed slots and restrained color. */
.tsl-pay__item img { display: block; width: 23px; height: 23px; flex: 0 0 23px; object-fit: contain; border-radius: 5px; }
.tsl-pay__item { gap: 8px; }
.tsl-pay__row { gap: 16px 20px; }
#heroSearchInput.tsl-search__input { padding: 10px 14px !important; height: 44px !important; box-sizing: border-box; line-height: 24px; border-radius: 9px; }
#deliveriesSection { --feed-slot: 116px; }
#deliveriesSection .lv-box { border-color: color-mix(in srgb, #A855F7 22%, var(--border)); border-top: 2px solid color-mix(in srgb, #A855F7 55%, var(--border)); background: var(--card); }
#deliveriesSection .lv-title { color: var(--text); }
#deliveriesSection .lv-live { color: var(--rose); background: color-mix(in srgb, var(--rose) 9%, transparent); padding: 4px 7px; border-radius: 5px; }
#deliveriesSection .lv-stat b { color: #A855F7; }
#deliveriesSection .lv-badge { background: color-mix(in srgb, var(--accent) 8%, transparent); padding: 4px 6px; border-radius: 5px; }
#deliveriesSection .lv-feed,
#deliveriesSection.is-loading .lv-feed { height: calc(3 * var(--feed-slot)) !important; min-height: calc(3 * var(--feed-slot)) !important; max-height: calc(3 * var(--feed-slot)); flex: 0 0 auto; justify-content: flex-start; gap: 0; overflow: hidden; overflow-anchor: none; }
#deliveriesSection .lv-card { height: var(--feed-slot); min-height: var(--feed-slot); flex: 0 0 var(--feed-slot); box-sizing: border-box; }
#deliveriesSection .lv-main { max-height: 100%; overflow-y: auto; overflow-wrap: anywhere; }
#deliveriesSection .lv-foot { min-height: 34px; box-sizing: border-box; }
#deliveriesSection .lv-card.is-enter { animation: premium-feed-in .2s ease both; }
#deliveriesSection.is-loading .lv-feed::before { background: repeating-linear-gradient(to bottom, var(--soft) 0 calc(var(--feed-slot) - 12px), transparent calc(var(--feed-slot) - 12px) var(--feed-slot)); }
@media (max-width: 600px) {
  #deliveriesSection { --feed-slot: 144px; }
  .tsl-pay__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 16px 14px; }
  .tsl-pay__item { justify-content: flex-start; font-size: 11px; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) { #deliveriesSection .lv-card.is-enter { animation: none; } }

/* Local refinement: breathing room for product facts, neutral live-panel border. */
#deliveriesSection .lv-box { border: 1px solid var(--border) !important; }

/* Local header: original supplied artwork, cropped by CSS (source PNG unchanged). */
.topbar { background: var(--bg-deep) !important; backdrop-filter: none !important; }
.topbar .brand-mark, .mobile-menu__head .brand-mark { position: relative; display: block; width: 112px !important; height: 31.14px !important; overflow: hidden; isolation: isolate; }
.topbar .brand-mark svg, .mobile-menu__head .brand-mark svg { display: none; }
.topbar .brand-mark::before, .mobile-menu__head .brand-mark::before { content: ''; position: absolute; inset: 0; background-image: url('/assets/brand/tsl-logo.png'); background-repeat: no-repeat; background-size: 100% 100%; background-position: 0 0; mix-blend-mode: multiply; }
:root[data-theme='dark'] .topbar .brand-mark::before, :root[data-theme='dark'] .mobile-menu__head .brand-mark::before { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
:root[data-theme='dark'] .topbar .brand-mark::after, :root[data-theme='dark'] .mobile-menu__head .brand-mark::after { content: ''; position: absolute; left: 89.11%; top: 86.69%; width: 10.89%; height: 12.93%; background: #B7A697; border-radius: .25px; }
@media (min-width: 1361px) {
  .topbar { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto !important; grid-template-areas: 'brand nav alerts'; gap: 24px !important; align-items: center; padding: 20px 32px !important; }
  .topbar .brand { grid-area: brand; justify-self: start; }
  .topbar #topActions { grid-area: nav; justify-self: end; }
  .topbar .header-actions-right { grid-area: alerts; }
  .topbar .tabs { flex-wrap: nowrap; }
  .topbar .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 1360px) {
  .topbar { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto !important; grid-template-areas: 'menu brand alerts' !important; align-items: center; gap: 16px !important; padding: 14px 24px !important; }
  .topbar #topActions { display: none !important; }
  .topbar .brand { grid-area: brand; justify-self: start; justify-content: flex-start; width: auto; margin: 0; }
  .topbar .mobile-menu-toggle { grid-area: menu; display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; }
  .topbar .header-actions-right { grid-area: alerts; justify-self: end; display: flex; gap: 8px; }
}
@media (max-width: 600px) {
  .topbar { gap: 10px !important; padding: 12px !important; }
  .topbar .brand-mark { width: 88px !important; height: 24.47px !important; }
  .topbar .header-actions-right { gap: 6px; }
  .topbar .header-cart-btn { width: 38px; height: 42px; padding: 8px; }
}
.topbar .brand-mark, .mobile-menu__head .brand-mark { background: var(--bg-deep); }
@media (max-width: 1360px) { .mobile-menu { display: block !important; } }

/* Local navigation refinement: quieter type, deliberate grouping, visible active state. */
.topbar { border-bottom: 1px solid var(--border-color); }
.topbar .tabs { gap: 6px !important; align-items: center; }
.topbar .tabs > .tab { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 11px !important; font-size: 13px !important; line-height: 1.3; font-weight: 450 !important; letter-spacing: .005em; border-radius: 7px; transition: color .18s ease, background-color .18s ease; }
.topbar .tabs > .tab.active { font-weight: 600 !important; }
.topbar .tabs > .tab.active::after { content: ''; position: absolute; bottom: 3px; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #B7A697; }
.topbar .tabs > .tab:hover { background: var(--soft) !important; }
.topbar .nav-social { gap: 8px; margin-left: 14px; padding: 0 0 0 20px; border-left: 1px solid var(--border); font-size: 11px; font-weight: 400; }
.topbar .nav-social a { width: 28px; height: 36px; align-items: center; justify-content: center; }
.topbar #accountAuthTab { margin-left: 14px; border: 1px solid var(--border) !important; padding: 0 16px !important; border-radius: 8px; font-size: 12px !important; font-weight: 500 !important; color: var(--text-primary) !important; }
.topbar .header-cart-btn, .topbar .mobile-menu-toggle { box-shadow: none !important; border: 1px solid var(--border) !important; border-radius: 9px; background: transparent !important; }
.topbar .header-cart-btn:hover, .topbar .mobile-menu-toggle:hover { background: var(--soft) !important; }
.topbar #cartBtn { background: var(--soft) !important; }
.topbar button:focus-visible, .topbar a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (min-width: 1361px) {
  .topbar { padding: 16px 32px !important; gap: 28px !important; }
  .topbar #topActions { width: 100%; justify-content: center; }
  .topbar .tabs { justify-content: center; }
  .topbar .header-actions-right { gap: 8px; border-left: 1px solid var(--border); padding-left: 20px; }
}
@media (min-width: 1600px) { .topbar .tabs > .tab { font-size: 14px !important; padding-inline: 14px !important; } .topbar .tabs { gap: 10px !important; } }
.mobile-menu__panel { padding: 28px 28px 24px; width: min(420px, 92vw); box-shadow: -12px 0 40px rgba(0,0,0,.16); }
.mobile-menu__head { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.mobile-menu__close { background: transparent; border-radius: 8px; }
.mobile-menu__nav { margin-top: 18px; gap: 0; }
.mobile-menu__nav > button { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 13px 10px; font-size: 17px; line-height: 1.4; font-weight: 450; letter-spacing: -.015em; border-radius: 8px; }
.mobile-menu__nav > button::after { content: '›'; font-size: 21px; font-weight: 400; color: var(--text-muted); }
.mobile-menu__nav > button:first-child { font-size: 21px; font-weight: 600; margin-bottom: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--border); border-radius: 0; }
.mobile-menu__nav > button:hover { padding-left: 10px; color: var(--text-primary); background: var(--soft); }
.mobile-menu__nav .nav-social { border-top: 1px solid var(--border); margin-top: 16px; padding: 20px 10px; gap: 18px; font-size: 12px; }
.mobile-menu__nav .nav-social a { min-width: 32px; min-height: 36px; align-items: center; justify-content: center; }
.mobile-menu__foot { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 20px; gap: 10px; }
.mobile-menu__account, .mobile-menu__login, .mobile-menu__start { min-height: 46px; border-radius: 8px; font-size: 13px; font-weight: 500; box-shadow: none; }
.mobile-menu__nav button:focus-visible, .mobile-menu__foot button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 380px) { .mobile-menu__panel { padding: 20px; } .mobile-menu__nav > button { min-height: 46px; padding-block: 10px; } }

/* Preview live-feed: steady slots and restrained fading instead of pushing rows. */
#deliveriesSection .lv-box { padding: 26px; border-radius: 18px; }
#deliveriesSection .lv-head { gap: 20px; padding-bottom: 20px; margin-bottom: 0; border-bottom: 1px solid var(--border); }
#deliveriesSection .lv-title { font-size: 22px; letter-spacing: -.025em; margin: 12px 0 10px; }
#deliveriesSection .lv-sub { line-height: 1.65; }
#deliveriesSection .lv-stat { padding: 10px 0 10px 16px; }
#deliveriesSection .lv-stat b { font-weight: 600; font-variant-numeric: tabular-nums; }
#deliveriesSection .lv-card { padding: 16px 0; gap: 14px; }
#deliveriesSection .lv-logo { width: 42px; height: 42px; flex-basis: 42px; background: var(--soft); border-radius: 10px; padding: 5px; box-sizing: border-box; }
#deliveriesSection .lv-logo img { object-fit: contain; border-radius: 4px; }
#deliveriesSection .lv-l1 > b:not(.lv-who) { font-size: 14px; line-height: 1.4; margin-bottom: 5px; }
#deliveriesSection .lv-l2 { margin-top: 7px; gap: 4px 10px; font-size: 11px; }
#deliveriesSection .lv-side { gap: 9px; }
#deliveriesSection .lv-foot { margin-top: 0; padding-top: 14px; color: var(--text-muted); }
#deliveriesSection .lv-card.lv-fade-out { opacity: 0; transition: opacity .18s ease; }
#deliveriesSection .lv-card.lv-fade-in { animation: tsl-soft-in .28s ease both; }
@keyframes tsl-soft-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) {
  #deliveriesSection .lv-box { padding: 18px; }
  #deliveriesSection .lv-head { gap: 12px; padding-bottom: 18px; }
  #deliveriesSection .lv-title { font-size: 20px; }
  #deliveriesSection .lv-card { gap: 10px; }
  #deliveriesSection .lv-logo { width: 34px; height: 34px; flex-basis: 34px; padding: 3px; }
  #deliveriesSection .lv-l1 > b:not(.lv-who) { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { #deliveriesSection .lv-card.lv-fade-in { animation: none; } #deliveriesSection .lv-card.lv-fade-out { transition: none; } }

/* Payment strip: real HTML tiles (no bitmap) so it wraps instead of scrolling sideways on phones. */
.tsl-pay { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 20px; padding: 14px 16px 14px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.tsl-pay__cap { flex: 0 0 auto; padding-right: 20px; border-right: 1px solid var(--border); }
.tsl-pay__row { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; width: auto; max-width: none; }
.tsl-pay__row > .tsl-pay__item { display: flex; position: static; min-width: 0; min-height: 52px; justify-content: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--soft); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-primary); }
.tsl-pay__row > .tsl-pay__item img { content: normal; display: block; width: 28px; height: 28px; flex: 0 0 28px; padding: 0; border: 0; border-radius: 7px; background: transparent; object-fit: contain; }
.tsl-pay__row > .tsl-pay__item > span { position: static; width: auto; height: auto; overflow: hidden; clip-path: none; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 1100px) {
  .tsl-pay { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .tsl-pay__cap { padding: 0; border: 0; text-align: center; }
  .tsl-pay__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tsl-pay { padding: 16px 12px; }
  .tsl-pay__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tsl-pay__row > .tsl-pay__item { flex-direction: column; justify-content: center; gap: 6px; min-height: 72px; padding: 10px 4px; font-size: 11.5px; }
}

/* Live feed: cards grow with their text (no inner scroll), neutral stat color. */
#deliveriesSection .lv-feed, #deliveriesSection.is-loading .lv-feed { height: auto !important; max-height: none; min-height: calc(3 * var(--feed-slot)) !important; }
#deliveriesSection .lv-card { height: auto; }
#deliveriesSection .lv-main { max-height: none; overflow: visible; }
#deliveriesSection .lv-stat b { color: var(--text-primary); }
#deliveriesSection .lv-card + .lv-card { border-top: 1px solid var(--border); }
@media (max-width: 600px) {
  #deliveriesSection { --feed-slot: 120px; }
  #deliveriesSection .lv-ago { display: none; }
}

/* Official wordmarks for Bold, Nequi and Binance: logo replaces icon+name (name stays for screen readers). */
.tsl-pay__row > .tsl-pay__item img[src$="bold.svg"] { content: url('/assets/payments/bold-logo.png'); width: 62px; height: 22px; flex-basis: 62px; border-radius: 0; }
.tsl-pay__row > .tsl-pay__item img[src$="nequi.svg"] { content: url('/assets/payments/nequi-logo.png'); width: 68px; height: 21px; flex-basis: 68px; border-radius: 0; }
.tsl-pay__row > .tsl-pay__item img[src$="binance.svg"] { content: url('/assets/payments/binance-logo.png'); width: 100px; height: 20px; flex-basis: 100px; border-radius: 0; }
.tsl-pay__row > .tsl-pay__item:has(img[src$="bold.svg"], img[src$="nequi.svg"], img[src$="binance.svg"]) > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:root[data-theme='dark'] .tsl-pay__row > .tsl-pay__item img[src$="nequi.svg"] { filter: invert(1) hue-rotate(180deg); }
@media (max-width: 600px) {
  .tsl-pay__row > .tsl-pay__item img[src$="binance.svg"] { width: 84px; height: 17px; flex-basis: auto; }
  .tsl-pay__row > .tsl-pay__item img[src$="bold.svg"], .tsl-pay__row > .tsl-pay__item img[src$="nequi.svg"] { flex-basis: auto; }
}

/* Header v2: nav en una "píldora" centrada, pestaña activa rellena, CTA de sesión claro y redes sin texto. */
@media (min-width: 1361px) {
  .topbar .tabs { gap: 4px !important; }
  .topbar .tabs > .tab { min-height: 36px; padding: 0 14px !important; border-radius: 999px; color: var(--text-muted) !important; }
  .topbar .tabs > .tab:hover { color: var(--text-primary) !important; background: var(--soft) !important; }
  .topbar .tabs > .tab.active { color: var(--text-primary) !important; background: var(--bg-card) !important; box-shadow: 0 1px 0 color-mix(in srgb, #fff 8%, transparent) inset, 0 1px 3px rgba(0,0,0,.25); }
  .topbar .tabs > .tab.active::after { display: none; }
  .topbar .nav-social { margin-left: 6px; padding-left: 10px; gap: 2px; }
  .topbar .nav-social > span { display: none; }
  .topbar .nav-social a { width: 32px; height: 32px; border-radius: 999px; color: var(--text-muted); }
  .topbar .nav-social a:hover { color: var(--text-primary); background: var(--soft); }
  .topbar #accountAuthTab { order: 99; margin-left: 6px; min-height: 36px; padding: 0 18px !important; border: 0 !important; border-radius: 999px; background: var(--text-primary) !important; color: var(--bg-deep) !important; font-weight: 600 !important; }
  .topbar #accountAuthTab:hover { opacity: .88; }
}
.topbar .header-actions-right button { border-radius: 999px !important; }

/* Hero v2: fondo con luz suave + rejilla, etiqueta "entrega al instante", título con degradado, buscador con brillo. */
.tsl-hero { position: relative; isolation: isolate; }
.tsl-hero::before { content: ''; position: absolute; z-index: -1; inset: -120px 0 auto; height: 720px; pointer-events: none;
  background:
    radial-gradient(600px 320px at 28% 30%, color-mix(in srgb, #6366F1 24%, transparent), transparent 70%),
    radial-gradient(520px 300px at 75% 25%, color-mix(in srgb, #A855F7 18%, transparent), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--text-primary) 7%, transparent) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, color-mix(in srgb, var(--text-primary) 7%, transparent) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%); opacity: .9; }
:root:not([data-theme='dark']) .tsl-hero::before { opacity: .5; }
.tsl-hero__title::before { content: 'Entrega al instante · pago seguro'; display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-bottom: 20px; padding: 6px 12px 6px 26px; border: 1px solid var(--border); border-radius: 999px; background: radial-gradient(circle at 14px 50%, #22C55E 3.5px, transparent 4.5px), color-mix(in srgb, var(--bg-card) 70%, transparent); font-size: 12px; font-weight: 500; font-style: normal; line-height: 1.2; letter-spacing: .01em; color: var(--text-muted); }
.tsl-hero__title { display: flex; flex-direction: column; }
.tsl-hero__title > br { display: none; }
.tsl-hero__serif { background: linear-gradient(90deg, var(--text-primary) 20%, color-mix(in srgb, var(--text-primary) 55%, #A855F7)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.tsl-hero__actions a, .tsl-hero__actions button { border-radius: 999px !important; padding-inline: 22px !important; }
.tsl-search { box-shadow: 0 0 0 1px color-mix(in srgb, #fff 4%, transparent), 0 24px 60px -20px rgba(99, 102, 241, .28); border-radius: 18px; }
.tsl-search__bar:focus-within { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent); }
.tsl-search__logo img { object-fit: contain !important; background: #fff; padding: 3px; box-sizing: border-box; }
.tsl-search__row { transition: background-color .15s ease; }
.tsl-search__row:hover { background: color-mix(in srgb, var(--soft) 70%, transparent); }
@media (prefers-reduced-motion: no-preference) { .tsl-hero__title::before { animation: tsl-soft-in .5s ease both; } }
@media (max-width: 999px) { .tsl-hero__title::before { align-self: center; } }

/* v3: sin píldora, página a todo el ancho, vitrina "muro de apps" en movimiento. */
.tsl-hero__title::before { content: none !important; }
main { max-width: 1480px !important; margin-inline: auto !important; padding-inline: clamp(16px, 3vw, 48px) !important; }
.tsl-hero__wrap, .tsl-pay { max-width: none !important; }
@media (min-width: 1000px) { .tsl-hero__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important; column-gap: clamp(40px, 5vw, 96px) !important; } }
.tsl-hero__title { font-size: clamp(40px, 3.9vw, 68px) !important; line-height: 1.02 !important; }

/* v4: vitrina estática de marcas. */
.tsl-search__results { height: auto !important; }
.tsl-search__results .tsl-search__showcase { position: relative; inset: auto; }
.hw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px; }
.hw-tile { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--soft) 45%, transparent); color: var(--text-primary); text-align: left; cursor: pointer; font: inherit; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.hw-tile:hover { border-color: color-mix(in srgb, #A855F7 55%, var(--border)); background: var(--soft); transform: translateY(-1px); }
.hw-logo { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: #fff; padding: 4px; box-sizing: border-box; }
.hw-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hw-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-price { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1250px) { .hw { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hw-tile:nth-child(n+7) { display: none; } }
@media (max-width: 600px) { .hw { padding: 12px; gap: 8px; } .hw-tile { grid-template-columns: 34px minmax(0, 1fr); padding: 10px; column-gap: 10px; } .hw-logo { width: 34px; height: 34px; } .hw-name { font-size: 12.5px; } }

/* v4: tarjetas del hero-trio — juntas, minimalistas, con un acento lila arriba. */
.hero-trio > .ht-video, #communityBanner, #deliveriesSection .lv-box { position: relative; overflow: hidden; }
.hero-trio > .ht-video::before, #communityBanner::before, #deliveriesSection .lv-box::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, #A855F7 70%, transparent), color-mix(in srgb, #6366F1 70%, transparent), transparent); pointer-events: none; }
.hero-trio > .ht-video { display: flex !important; align-items: center; justify-content: flex-start !important; gap: 28px !important; padding: 24px !important; }
.hero-trio > .ht-video .hv-frame { flex: 0 0 auto; }
.hero-trio > .ht-video .hv-cap { flex: 1; max-width: 360px; }
.hero-trio > .ht-video .hv-cap > b { font-size: 20px; letter-spacing: -.01em; }
#communityBanner { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px !important; padding: 22px 24px !important; }
#communityBanner .cmb-cta { margin: 0 !important; align-self: center; border-radius: 999px; background: var(--text-primary); color: var(--bg-deep) !important; border: 0; padding: 10px 16px; font-weight: 600; }
#communityBanner .cmb-top span { font-size: 18px; }

/* Compras en vivo, minimal: sin subtítulo, filas de 2 líneas, punto en vivo que late, cifra en degradado. */
#deliveriesSection .lv-sub { display: none; }
#deliveriesSection .lv-head { padding-bottom: 16px; }
#deliveriesSection .lv-title { margin: 10px 0 0 !important; font-size: 20px !important; }
#deliveriesSection .lv-live { background: color-mix(in srgb, #EF4444 12%, transparent) !important; padding: 4px 9px !important; border-radius: 999px !important; color: #F87171 !important; }
#deliveriesSection .lv-live i { background: #EF4444 !important; animation: lv-ping 1.6s ease-out infinite !important; }
@keyframes lv-ping { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); } 100% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); } }
#deliveriesSection .lv-stat b { background: linear-gradient(90deg, #C4B5FD, #A855F7); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-size: 28px !important; }
#deliveriesSection { --feed-slot: 78px; }
#deliveriesSection .lv-card { padding: 14px 0 !important; align-items: center !important; }
#deliveriesSection .lv-logo { width: 38px !important; height: 38px !important; flex-basis: 38px !important; }
#deliveriesSection .lv-l2 > span:not(:first-child) { display: none; }
#deliveriesSection .lv-l2 { margin-top: 3px !important; opacity: .7; }
#deliveriesSection .lv-l1 > b:not(.lv-who) { margin-bottom: 2px !important; }
#deliveriesSection .lv-badge { color: #22C55E !important; background: color-mix(in srgb, #22C55E 10%, transparent) !important; border-radius: 999px !important; padding: 4px 9px !important; }
#deliveriesSection .lv-card.lv-fade-in { animation: lv-flash 1.4s ease both !important; }
@keyframes lv-flash { 0% { opacity: 0; background: color-mix(in srgb, #A855F7 12%, transparent); } 25% { opacity: 1; } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { #deliveriesSection .lv-live i, #deliveriesSection .lv-card.lv-fade-in { animation: none !important; } }
@media (max-width: 600px) {
  .hero-trio > .ht-video { gap: 18px !important; padding: 18px !important; }
  #communityBanner { grid-template-columns: auto minmax(0, 1fr); }
  #communityBanner .cmb-cta { grid-column: 1 / -1; justify-self: start; }
  #deliveriesSection .lv-stat b { font-size: 21px !important; }
}

/* v5: hero más alto, buscador bajo el título, abanico de tarjetas destacadas a la derecha. */
.tsl-search__showcase { display: none !important; }
.tsl-search { position: relative; z-index: 5; box-shadow: none; border-radius: 14px; max-width: 560px; }
.tsl-search__results { height: 0 !important; position: static; }
.tsl-search__live:not([hidden]) { position: absolute; inset: calc(100% + 8px) 0 auto 0; max-height: 320px; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 24px 60px -16px rgba(0,0,0,.6); z-index: 30; }
@media (min-width: 1000px) {
  .tsl-hero { padding-top: clamp(24px, 6vh, 72px) !important; }
  .tsl-hero__wrap { row-gap: 22px !important; grid-template-rows: 1fr repeat(4, auto) 1fr auto auto; }
  .tsl-hero__title { grid-row: 2 !important; padding-top: 0 !important; }
  .tsl-search { grid-column: 1 !important; grid-row: 3 !important; align-self: start !important; width: 100%; }
  .tsl-hero__actions { grid-row: 4 !important; }
  .tsl-hero__note { grid-row: 5 !important; align-self: start; }
  .hs { grid-column: 2; grid-row: 1 / 7; align-self: center; }
  .hero-trio > .ht-video { grid-row: 7 !important; }
  .hero-trio > #deliveriesSection { grid-row: 7 / 9 !important; }
  #communityBanner { grid-row: 8 !important; }
  .tsl-hero__wrap > .hero-trio { margin-top: 56px; }
}
.hs { position: relative; height: 540px; display: grid; place-items: center; }
.hs::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, #A855F7 28%, transparent), transparent); filter: blur(10px); pointer-events: none; }
.hs-deck { position: relative; width: min(380px, 86%); aspect-ratio: 1.45; }
.hs-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 24px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--bg-card) 92%, #A855F7), var(--bg-card) 60%); color: var(--text-primary); text-align: left; font: inherit; cursor: pointer; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s ease, filter .7s ease; will-change: transform; }
.hs-card[data-pos="0"] { transform: none; z-index: 3; }
.hs-card[data-pos="1"] { transform: translate(14%, -9%) rotate(7deg) scale(.94); z-index: 2; filter: brightness(.7); }
.hs-card[data-pos="2"] { transform: translate(-14%, -12%) rotate(-8deg) scale(.88); z-index: 1; filter: brightness(.5); }
.hs-card[data-pos="3"] { transform: translate(0, -18%) scale(.8); opacity: 0; z-index: 0; pointer-events: none; }
.hs-card[data-pos="1"], .hs-card[data-pos="2"] { pointer-events: none; }
.hs:hover .hs-card[data-pos="1"] { transform: translate(22%, -12%) rotate(10deg) scale(.94); }
.hs:hover .hs-card[data-pos="2"] { transform: translate(-22%, -15%) rotate(-11deg) scale(.88); }
.hs-top { display: flex; align-items: center; justify-content: space-between; }
.hs-logo { width: 56px; height: 56px; border-radius: 14px; background: #fff; padding: 6px; box-sizing: border-box; overflow: hidden; }
.hs-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hs-tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #C4B5FD; padding: 5px 10px; border: 1px solid color-mix(in srgb, #A855F7 40%, transparent); border-radius: 999px; }
.hs-name { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-transform: capitalize; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hs-price { display: flex; flex-direction: column; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hs-price small { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.hs-go { font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: var(--text-primary); color: var(--bg-deep); white-space: nowrap; }
@media (max-width: 999px) {
  .tsl-search { margin-inline: auto; width: 100%; }
  .hs { width: 100%; height: 340px; margin-top: 8px; }
  .hs-deck { width: min(320px, 78%); }
  .hs-name { font-size: 21px; }
  .hs-card { padding: 18px; }
  .hs-logo { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .hs-card { transition: none; } }

/* v7: columnas juntas; lista en vivo llena su tarjeta. */
@media (min-width: 1000px) { .tsl-hero__wrap { column-gap: 24px !important; } .hs { margin-left: clamp(0px, 3vw, 56px); } }
#deliveriesSection .lv-feed { flex: 1 1 auto !important; justify-content: space-evenly !important; }

/* v7: tarjetas de producto sobrias — neutras, sin colores de marca ni efectos. */
.pcard { border-radius: 16px !important; border: 1px solid var(--border) !important; background: var(--bg-card) !important; box-shadow: none !important; transition: border-color .2s ease !important; }
.pcard:hover { border-color: color-mix(in srgb, var(--text-primary) 22%, transparent) !important; }
.pcard__media { border-radius: 12px !important; margin: 8px 8px 0 !important; background: var(--soft) !important; }
.pcard__save { background: transparent !important; border: 1px solid color-mix(in srgb, #22C55E 40%, transparent) !important; color: #4ADE80 !important; border-radius: 999px !important; font-weight: 600 !important; }
.pcard__region { background: var(--bg-card) !important; border: 1px solid var(--border) !important; color: var(--text-muted) !important; border-radius: 999px !important; font-weight: 500 !important; }
.pcard__body { gap: 12px !important; }
.pcard__title { font-weight: 600 !important; letter-spacing: -.01em; }
.pcard__meta { gap: 6px !important; }
.pcard__meta .chip { border: 0 !important; background: var(--soft) !important; color: var(--text-muted) !important; border-radius: 999px !important; box-shadow: none !important; }
.pcard__meta .chip--dur { color: var(--text-primary) !important; }
.pcard__meta .chip--ok { color: #4ADE80 !important; }
.pcard__price { display: flex !important; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard__amount b { font-size: 21px !important; font-weight: 700 !important; letter-spacing: -.01em; }
.pcard__actions .btn--primary { border-radius: 999px !important; }
.pcard__actions .btn--ghost { border-radius: 999px !important; }
@media (max-width: 600px) { .pcard__amount b { font-size: 16px !important; white-space: nowrap; } .pcard__meta .chip { font-size: 10.5px !important; } }

/* v8: filas fijas para que pagos/comunidad no salten arriba antes de que cargue el abanico. */
@media (min-width: 1000px) {
  #communitySection { grid-row: 9 !important; }
  .tsl-hero__wrap > .tsl-pay { grid-row: 10 !important; }
  .tsl-hero__wrap::before { content: ""; grid-column: 2; grid-row: 1 / 7; height: 540px; pointer-events: none; }
}

/* v8: nota del hero — una sola línea discreta con dos datos, sin repetir estrellas grandes. */
.tsl-hero__note { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 14px !important; font-size: 13px !important; color: var(--text-muted) !important; }
.tsl-hero__note > span[data-i18n="heroNote"] { display: inline-flex; align-items: center; gap: 7px; }
.tsl-hero__note > span[data-i18n="heroNote"]::before { content: ''; width: 14px; height: 14px; flex: 0 0 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tsl-hero__note .tsl-hero__sep { display: inline !important; opacity: .4; }
.tsl-hero__note .tsl-hero__rating { flex-basis: auto !important; display: inline-flex; align-items: center; gap: 6px; }
.tsl-hero__note .tsl-hero__stars { font-size: 0; }
.tsl-hero__note .tsl-hero__stars::before { content: '★'; font-size: 13px; color: #FBBF24; }
.tsl-hero__note .tsl-hero__rating b { font-weight: 500; color: var(--text-muted); }

/* v8: footer — logo nuevo, columnas alineadas al ancho de la página, aviso legal limpio. */
.tsl-footer__inner { max-width: 1480px !important; padding-inline: clamp(16px, 3vw, 48px) !important; }
.tsl-foot { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) !important; gap: 40px !important; }
.foot-logo { position: relative; display: block !important; width: 112px; height: 31.14px; overflow: hidden; isolation: isolate; background: var(--bg-deep); margin-bottom: 18px !important; }
.foot-logo svg { display: none !important; }
.foot-logo::before { content: ''; position: absolute; inset: 0; background-image: url('/assets/brand/tsl-logo.png'); background-repeat: no-repeat; background-size: 100% 100%; background-position: 0 0; mix-blend-mode: multiply; }
:root[data-theme='dark'] .foot-logo::before { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
:root[data-theme='dark'] .foot-logo::after { content: ''; position: absolute; left: 89.11%; top: 86.69%; width: 10.89%; height: 12.93%; background: #B7A697; border-radius: .25px; }
.foot-desc { max-width: 300px !important; }
.foot-hours { border: 0 !important; background: transparent !important; padding: 0 !important; margin-top: 22px !important; }
.foot-hours__title { color: var(--text-muted) !important; font-weight: 500 !important; }
.foot-hours__body { color: var(--text-primary) !important; opacity: .8; }
.foot-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 48px !important; padding-top: 24px !important; }
.foot-pay__title { margin: 0 !important; }
.foot-pay .payment-logo-item { text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; font-size: 12.5px !important; border-radius: 999px !important; padding: 7px 12px !important; background: transparent !important; color: var(--text-muted) !important; }
.foot-bottom { margin-top: 24px !important; }
.foot-legal { margin: 18px 0 0 !important; padding: 14px 16px; max-width: none; text-align: left !important; font-size: 12px !important; line-height: 1.6; color: var(--text-muted) !important; opacity: .85; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--soft) 40%, transparent); }
@media (max-width: 900px) { .tsl-foot { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 28px 20px !important; } .tsl-foot .foot-brand { grid-column: 1 / -1 !important; } }
@media (max-width: 600px) { .tsl-foot { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .foot-bottom { flex-direction: column; align-items: flex-start !important; } }

/* v9: imagen de la tarjeta en vidrio — sin luz de color, textura de puntos suave, logo flotando. */
.pcard__media { background: linear-gradient(180deg, color-mix(in srgb, var(--text-primary) 6%, transparent), color-mix(in srgb, var(--text-primary) 1.5%, transparent)) !important; border: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent) !important; box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text-primary) 10%, transparent); backdrop-filter: blur(12px); }
.pcard__media::before { opacity: 1 !important; background: radial-gradient(color-mix(in srgb, var(--text-primary) 14%, transparent) 1px, transparent 1.2px) 0 0 / 14px 14px !important; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000, transparent 75%); }
.pcard__logo { position: relative; z-index: 1; box-shadow: none !important; background: transparent !important; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); transition: transform .3s ease !important; }
.pcard:hover .pcard__logo { transform: translateY(-3px); }
.pcard__save, .pcard__region { z-index: 2; backdrop-filter: blur(8px); background: color-mix(in srgb, var(--bg-card) 55%, transparent) !important; }
.pcard__price { margin-top: auto !important; }
@media (prefers-reduced-motion: reduce) { .pcard:hover .pcard__logo { transform: none; } }

/* v10: en celular el abanico va justo debajo del título (espacio reservado para que no salte al cargar). */
@media (max-width: 999px) {
  .tsl-hero__title { order: -2; }
  .hs { order: -1; height: 255px !important; margin: -6px 0 -10px !important; }
  .tsl-hero__wrap::before { content: ''; order: -1; display: block; width: 100%; height: 239px; }
  .tsl-hero__wrap:has(.hs)::before { display: none; }
}

/* v11: el degradado de "necesitas hoy?" cortaba la cola de la "y" (background-clip solo pinta la caja de línea). */
.tsl-hero__serif { display: inline-block; padding-bottom: .16em; margin-bottom: -.16em; }
/* v11: menos aire arriba en escritorio para que el hero se vea completo al abrir. */
@media (min-width: 1000px) { section.hero.tsl-hero { padding-top: 12px !important; } .tsl-hero__wrap::before, .hs { height: 460px !important; } }

/* v12: tarjetas de atrás del abanico sin contenido (solo silueta), logo más grande, menos aire, video alineado. */
.hs-card > * { transition: opacity .4s ease; }
.hs-card:not([data-pos="0"]) > * { opacity: 0; }
.hs-logo { width: 64px !important; height: 64px !important; padding: 3px !important; }
@media (min-width: 1000px) {
  .tsl-hero__wrap::before, .hs { height: 420px !important; }
  .tsl-hero__wrap > .hero-trio { margin-top: 20px !important; }
}
.hero-trio > .ht-video .hv-frame { margin: 0 !important; }
.hero-trio > .ht-video { gap: 24px !important; }

/* v13: buscador del catálogo compacto — una lupa que se abre al tocarla o si ya tiene texto (el hero ya tiene el buscador grande). */
.catalog-toolbar { align-items: center; display: flex !important; flex-wrap: nowrap !important; gap: 10px; }
.catalog-toolbar > .catalog-search { order: 2; margin-left: auto !important; margin-right: 0 !important; }
.catalog-search { width: 48px !important; min-width: 0 !important; flex: 0 0 auto !important; transition: width .3s ease; border-radius: 999px !important; overflow: hidden; }
.catalog-search:focus-within, .catalog-search:has(input:not(:placeholder-shown)) { width: 340px !important; flex: 0 1 340px !important; }
.catalog-search input { cursor: pointer; }
.catalog-search:focus-within input { cursor: text; }
.catalog-search:not(:focus-within):not(:has(input:not(:placeholder-shown))) input::placeholder { color: transparent; }

/* v13: tarjetas más limpias — solo tipo, duración y avisos de stock; fuera "Entrega inmediata", "Disponible" y estrellas (se repiten en todas). */
.pcard__meta .chip:has(svg), .pcard__meta .chip:has(.tsl-star) { display: none !important; }
.pcard__meta .chip--warn { color: #FBBF24 !important; background: color-mix(in srgb, #FBBF24 10%, transparent) !important; }
.pcard__meta .chip--off { color: #F87171 !important; background: color-mix(in srgb, #EF4444 10%, transparent) !important; }
.pcard__title { min-height: 0 !important; }
.pcard__body { gap: 10px !important; }

/* v15: fondo — grano fino tipo película (textura premium, sin puntos) + dos luces suaves lila/azul que se desplazan al bajar. */
html body::before, html body::after { display: block !important; content: '' !important; position: fixed !important; inset: 0 !important; width: auto !important; height: auto !important; z-index: 0; pointer-events: none; filter: none !important; opacity: 1 !important; border-radius: 0 !important; transform: none; }
html body::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E") 0 0 / 160px 160px !important; opacity: .05 !important; mix-blend-mode: screen; }
:root:not([data-theme='dark']) body::before { mix-blend-mode: multiply; opacity: .06 !important; }
html body::after { background: radial-gradient(42vw 34vw at 15% 18%, color-mix(in srgb, #A855F7 12%, transparent), transparent 70%), radial-gradient(38vw 32vw at 88% 78%, color-mix(in srgb, #6366F1 10%, transparent), transparent 70%) !important; }
@supports (animation-timeline: scroll()) {
  html body::after { animation: tsl-glow linear both; animation-timeline: scroll(root); }
  @keyframes tsl-glow { from { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(8vw, -10vh, 0); } to { transform: translate3d(-6vw, -18vh, 0); } }
}

/* v14: aparición al deslizar — cada bloque llega desde abajo, desenfocado y más pequeño, y se asienta; en las rejillas, uno detrás de otro. */
@supports (animation-timeline: view()) {
  .pcard, .hero-trio > *, #communityBanner, .tsl-pay, .section-head, .catalog-toolbar, .categories-section h2, .process-section h2, .process-card, .tsl-refer__panel, .tsl-faq__head, .tsl-faq__list > *, .testimonials-section > div > *, .tsl-footer .tsl-foot > *, .foot-pay, .foot-bottom, .foot-legal {
    animation: tsl-appear linear both; animation-timeline: view(); animation-range: entry 0% entry 85%;
  }
  @keyframes tsl-appear { from { opacity: 0; translate: 0 80px; scale: .92; filter: blur(10px); } 60% { filter: blur(0); } to { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); } }
  .pcard:nth-child(5n+2), .process-card:nth-child(2) { animation-range: entry 8% entry 95%; }
  .pcard:nth-child(5n+3), .process-card:nth-child(3) { animation-range: entry 16% cover 22%; }
  .pcard:nth-child(5n+4), .process-card:nth-child(4) { animation-range: entry 24% cover 26%; }
  .pcard:nth-child(5n+5) { animation-range: entry 30% cover 30%; }
}
@media (prefers-reduced-motion: reduce) { html body::after, .pcard, .hero-trio > *, #communityBanner, .tsl-pay, .section-head, .catalog-toolbar, .process-card, .tsl-refer__panel, .tsl-faq__head, .tsl-faq__list > *, .testimonials-section > div > *, .tsl-footer .tsl-foot > *, .foot-pay, .foot-bottom, .foot-legal { animation: none !important; } }

/* v16: categorías — barrido rápido de izquierda a derecha, una por una, cuando la sección entra en pantalla. */
.categories-section:not(.is-visible) .category-cards-grid > * { opacity: 0; }
.categories-section.is-visible .category-cards-grid > * { animation: tsl-sweep .5s cubic-bezier(.2,.75,.2,1) both; }
@keyframes tsl-sweep { from { opacity: 0; translate: -28px 0; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
.category-cards-grid > :nth-child(2) { animation-delay: .06s !important; }
.category-cards-grid > :nth-child(3) { animation-delay: .12s !important; }
.category-cards-grid > :nth-child(4) { animation-delay: .18s !important; }
.category-cards-grid > :nth-child(5) { animation-delay: .24s !important; }
.category-cards-grid > :nth-child(6) { animation-delay: .30s !important; }
.category-cards-grid > :nth-child(7) { animation-delay: .36s !important; }
.category-cards-grid > :nth-child(n+8) { animation-delay: .42s !important; }
@media (prefers-reduced-motion: reduce) { .categories-section .category-cards-grid > * { animation: none !important; opacity: 1 !important; } }

/* v16: buscador enfocado — sin azul: un halo lila suave alrededor y una X propia, redonda y discreta. */
#heroSearchForm, #heroSearchForm:focus-within, .catalog-search:focus-within { outline: none !important; }
#heroSearchForm *:focus, #heroSearchForm *:focus-visible, .catalog-search input:focus { outline: none !important; box-shadow: none !important; }
.tsl-search__bar:focus-within { box-shadow: none !important; }
#heroSearchForm:focus-within { border-color: color-mix(in srgb, #A855F7 45%, var(--border)) !important; box-shadow: 0 0 0 4px color-mix(in srgb, #A855F7 14%, transparent) !important; transition: box-shadow .2s ease, border-color .2s ease; }
.catalog-search:focus-within { box-shadow: 0 0 0 1px color-mix(in srgb, #A855F7 45%, transparent), 0 0 0 4px color-mix(in srgb, #A855F7 14%, transparent) !important; }
.tsl-search__input:focus { border-color: transparent !important; }
input[type='search']::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-left: 8px; border-radius: 50%; cursor: pointer; background: color-mix(in srgb, var(--text-primary) 14%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F5F6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 10px no-repeat; transition: background-color .15s ease; }
input[type='search']::-webkit-search-cancel-button:hover { background-color: color-mix(in srgb, var(--text-primary) 24%, transparent); }
:root:not([data-theme='dark']) input[type='search']::-webkit-search-cancel-button { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141416' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }

/* Abanico en celular: tarjeta un poco más alta, logo más chico y precio en una línea para que el nombre no se aplaste. */
.hs-name { flex-shrink: 0; }
.hs-price { white-space: nowrap; }
@media (max-width: 999px) {
  .hs-deck { aspect-ratio: 1.3; }
  .hs-logo { width: 46px !important; height: 46px !important; }
  .hs-price { font-size: 16px; }
  .hs-go { padding: 8px 12px; font-size: 12.5px; }
}
/* Tema claro: etiqueta legible y tarjetas de atrás sin oscurecer. */
:root:not([data-theme='dark']) .hs-tag { color: #6D28D9; border-color: color-mix(in srgb, #7C3AED 35%, transparent); }
:root:not([data-theme='dark']) .hs-card[data-pos="1"], :root:not([data-theme='dark']) .hs-card[data-pos="2"] { filter: none; }

/* Feed en vivo en celular: la fecha va en la segunda línea; no ocultarla. */
@media (max-width: 600px) { #deliveriesSection .lv-l2 > .lv-ago-m { display: inline !important; } }

/* Pedidos: pago pendiente en una sola tarjeta minimalista (estado, método, botón; pasos plegados). */
.ord-paycard { display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); margin: 4px 0 14px; }
.ord-paycard__head { display: flex; align-items: flex-start; gap: 12px; }
.ord-paycard__head > div { display: flex; flex-direction: column; gap: 3px; }
.ord-paycard__head b { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.ord-paycard__head span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.ord-paycard__dot { flex: 0 0 9px; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #F59E0B; box-shadow: 0 0 0 4px color-mix(in srgb, #F59E0B 18%, transparent); }
.ord-paycard__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; background: var(--text-primary); color: var(--bg-deep) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: opacity .15s ease; }
.ord-paycard__btn:hover { opacity: .88; }
.ord-paycard__how > summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--text-muted); text-align: center; }
.ord-paycard__how > summary::-webkit-details-marker { display: none; }
.ord-paycard__how > summary:hover { color: var(--text-primary); }
.ord-paycard__how ol, .ord-paycard__steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.ord-paycard__steps { margin-top: 0; }

/* Pedidos: Reportar, Archivar y Cancelar como botones (píldoras); la nota de correo va debajo. */
.ord-actions { gap: 10px !important; justify-content: center; }
.ord-action { display: inline-flex !important; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px !important; border: 1px solid var(--border) !important; border-radius: 999px !important; background: var(--bg-card) !important; color: var(--text-primary) !important; font-size: 13px !important; font-weight: 600 !important; transition: background-color .15s ease, border-color .15s ease; }
.ord-action:hover { background: var(--soft) !important; border-color: color-mix(in srgb, var(--text-primary) 22%, transparent) !important; }
.ord-action--help { margin-left: 0 !important; }
.ord-action--danger { color: #F87171 !important; border-color: color-mix(in srgb, #EF4444 40%, transparent) !important; }
.ord-action--danger:hover { background: color-mix(in srgb, #EF4444 10%, transparent) !important; }
.ord-actions__note { flex-basis: 100%; margin-left: 0 !important; text-align: center; }

/* Pedidos: efecto cristal suave — la tarjeta deja ver un poco el fondo (luces) difuminado; lo de adentro, vidrio más claro. */
.ord-acc { background: color-mix(in srgb, var(--bg-card) 62%, transparent) !important; -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border: 1px solid color-mix(in srgb, var(--text-primary) 9%, transparent) !important; box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent), 0 24px 48px -28px rgba(0,0,0,.7); }
.ord-paycard, .ord-acc .ord2-pay { background: color-mix(in srgb, var(--text-primary) 4%, transparent) !important; border: 1px solid color-mix(in srgb, var(--text-primary) 9%, transparent) !important; box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent); }
.ord-acc .ord-action { background: color-mix(in srgb, var(--text-primary) 5%, transparent) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ord-acc .ord-action--danger { background: color-mix(in srgb, #EF4444 8%, transparent) !important; }

/* Ventanita "Califica tu compra": fondo difuminado, tarjeta de cristal centrada, estrellas grandes. */
.rate-pop { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: rate-pop-bg .25s ease both; }
.rate-pop.is-closing { animation: rate-pop-bg .2s ease reverse both; }
.rate-pop__card { position: relative; width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 24px 20px; text-align: center; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent); background: linear-gradient(180deg, color-mix(in srgb, #A855F7 10%, var(--bg-card)), var(--bg-card) 60%); box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent), 0 40px 80px -30px rgba(0,0,0,.8); animation: rate-pop-in .35s cubic-bezier(.2,.8,.2,1) both; }
.rate-pop.is-closing .rate-pop__card { animation: rate-pop-in .2s ease reverse both; }
@keyframes rate-pop-bg { from { opacity: 0; } to { opacity: 1; } }
@keyframes rate-pop-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.rate-pop__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--text-primary) 8%, transparent); color: var(--text-primary); font-size: 22px; line-height: 1; cursor: pointer; }
.rate-pop__x:hover { background: color-mix(in srgb, var(--text-primary) 16%, transparent); }
.rate-pop__logo { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: #fff; padding: 5px; box-sizing: border-box; box-shadow: 0 12px 26px -12px rgba(0,0,0,.7); }
.rate-pop__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rate-pop__card h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; color: var(--text-primary); }
.rate-pop__sub { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); max-width: 330px; }
.rate-pop .rate-stars { display: flex; gap: 6px; margin: 4px 0; }
.rate-pop .rate-star { width: 46px; height: 46px; border: 0; background: transparent; font-size: 38px; line-height: 1; color: color-mix(in srgb, var(--text-primary) 22%, transparent); cursor: pointer; transition: transform .15s ease, color .15s ease; }
.rate-pop .rate-star:hover { transform: scale(1.12); }
.rate-pop .rate-star.on { color: #FBBF24; }
.rate-pop .rate-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rate-pop .rate-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-primary); font: inherit; font-size: 12.5px; cursor: pointer; }
.rate-pop .rate-chip.on { border-color: #FBBF24; color: #FBBF24; }
.rate-pop .rate-comment { width: 100%; box-sizing: border-box; resize: none; border-radius: 14px; }
.rate-pop .rate-submit { width: 100%; min-height: 48px; border-radius: 999px; font-weight: 600; }
.rate-pop__later { border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: 13px; cursor: pointer; min-height: 40px; }
.rate-pop__later:hover { color: var(--text-primary); }
@media (prefers-reduced-motion: reduce) { .rate-pop, .rate-pop__card { animation: none !important; } }
.rate-pop__card { gap: 12px; padding: 24px 22px 16px; }
.rate-pop .rate-comment { height: 64px; min-height: 64px; }
@media (max-height: 720px) { .rate-pop__logo { width: 48px; height: 48px; border-radius: 12px; } .rate-pop .rate-star { width: 40px; height: 40px; font-size: 32px; } .rate-pop__card h3 { font-size: 19px; } }

/* Pedido pagado/entregado: línea mínima "✓ Pagado 5:16 p. m. — ✓ Entregado 5:17 p. m.". */
.ord-tl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 12px 0 14px; font-size: 13px; color: var(--text-primary); }
.ord-tl__s { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.ord-tl__s svg { width: 15px; height: 15px; fill: none; stroke: #4ADE80; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ord-tl__t { color: var(--text-muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.ord-tl__sep { width: 22px; height: 1px; background: var(--border); }
/* Check de invitación activada: mismo trazo verde, sin círculo. */
.ord-activate .ord-ok-ic { color: #4ADE80 !important; font-weight: 700; }
/* Estado en la cabecera del pedido: punto + texto, discreto. */
.ord-row__status { font-size: 12.5px !important; font-weight: 500 !important; color: var(--text-muted) !important; gap: 6px !important; }
.ord-row__dot { width: 6px !important; height: 6px !important; box-shadow: none !important; }
/* En celular el estado baja a su propia fila: alineado con el nombre (no con el logo) y pegado a él. */
@media (max-width: 640px) { .ord-row__status { padding-left: 48px; margin-top: -6px; } }
