/* Verifier Shop: product cards, the in-article row, /deals/. Built on the --tv-* tokens of verifier-2026. */

/* Without verifier-2026 (or inside the editor): the light tokens, so the cards still look right */
body:not(.tv-2026) .tvshop-scope, .tvshop-scope .tvshop-scope {
  --tv-surface: #FFFFFF; --tv-bg: #F5F6FA; --tv-line: #DFE3EE; --tv-text: #0A1030; --tv-body: #1E2645; --tv-muted: #4F5878;
  --tv-link: #2F44C8; --tv-cyan: #22E1F7; --tv-navy: #0A1030; --tv-chip-bg: #E7EAF4; --tv-positive: #1E9E5E; --tv-caution: #B07A00;
  --tv-cut-sm: 8px; --tv-cut-md: 10px; --tv-font: "Heebo", system-ui, sans-serif;
}
body:not(.tv-2026) .tvshop-scope { font-family: var(--tv-font); }
.tvshop-scope a, .tvshop-scope a:hover { text-decoration: none; }
.tvshop-scope *, .tvshop-scope *::before, .tvshop-scope *::after { box-sizing: border-box; }
.tvax__h2 { font-size: 22px; line-height: 1.2; font-weight: 700; color: var(--tv-text); margin: 8px 0 -6px; }
.tvax__more { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.tvax-edit-note { margin: 10px 0 0; padding: 10px 12px; background: #FCF3E1; color: #6B4600; font: 600 13px/1.5 Heebo, system-ui, sans-serif; }
.tvaxbtn { margin: 24px 0; }
.tvaxbtn .tvax-card__btn { display: inline-flex; padding: 0 22px; }
.entry-content a.tvax-card, .entry-content a.tvaxone, .entry-content .tvaxbtn a { text-decoration: none !important; border: 0 !important; box-shadow: none !important; }
a.tvaxone, a.tvaxone * { color: inherit; }
.tvaxone { margin: 28px 0; text-decoration: none; }
.tvaxone .tvax-card__btn, .tvaxbtn .tvax-card__btn { color: var(--tv-navy) !important; }
.tvaxone .tvax-card__old, .tvaxone .tvax-card__m { color: var(--tv-muted) !important; }
.tvaxone .tvax-card__ship { color: var(--tv-positive) !important; }
.tvaxone .tvax-card__old { text-decoration: line-through !important; }

.tvax { padding-bottom: 56px; }
.tvax__h1 { font-size: 28px; line-height: 1.15; font-weight: 700; color: var(--tv-text); }
.tvax__sub { font-size: 15px; line-height: 1.5; color: var(--tv-muted); margin-top: 6px !important; }
.tvax__note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--tv-muted); }
.tvax__note svg { flex-shrink: 0; margin-top: 2px; }
.tvax__body { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 20px; }
.tvax__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tvax__count { font-size: 14px; color: var(--tv-muted); }
.tvax__count b { color: var(--tv-text); }
.tvax__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tvax__more { align-self: center; min-height: 48px; padding: 0 28px; border: 2px solid var(--tv-text); background: transparent; color: var(--tv-text); font: 700 15px var(--tv-font); cursor: pointer; }

/* Product card */
.tvax-card { display: flex; flex-direction: column; background: var(--tv-surface); color: var(--tv-text); clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-md) 100%, 0 calc(100% - var(--tv-cut-md))); }
.tvax-card__img { position: relative; aspect-ratio: 1 / 1; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.tvax-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tvax-card__off { position: absolute; top: 8px; right: 8px; padding: 3px 7px 3px 9px; background: var(--tv-navy); color: #FFFFFF; font-size: 13px; font-weight: 800; direction: ltr; clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-sm) 100%, 0 calc(100% - var(--tv-cut-sm))); }
.tvax-card__b { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 14px; }
.tvax-card__t { font-size: 14px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.tvax-card__p { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tvax-card__now { font-size: 22px; line-height: 1; font-weight: 800; letter-spacing: -0.3px; }
.tvax-card__old { font-size: 13px; color: var(--tv-muted); }
.tvax-card__m { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--tv-muted); }
.tvax-card__m svg { color: var(--tv-caution); }
.tvax-card__ship { font-size: 12px; font-weight: 700; color: var(--tv-positive); }
.tvax-card__btn { margin-top: auto; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--tv-cyan); color: var(--tv-navy); font-size: 14px; font-weight: 700; clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-sm) 100%, 0 calc(100% - var(--tv-cut-sm))); }
.tvax-card__b > .tvax-card__btn { margin-top: 8px; }

/* In-article block */
.tvaxin { margin: 32px 0; padding: 18px 0 0; border-top: 3px solid var(--tv-text); }
.tvaxin__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tvaxin__t { font-size: 20px !important; line-height: 1.2; font-weight: 700; color: var(--tv-text); margin: 0 !important; }
.tvaxin__k { font-size: 12px; font-weight: 700; color: var(--tv-muted); }
.tvaxin__row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.tvaxin__row .tvax-card { flex-shrink: 0; width: 168px; }
.tvaxin__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--tv-muted); }
.tvaxin__foot a { color: var(--tv-link); font-weight: 700; }
.entry-content .tvaxin p { margin: 0; }

/* States */
.tvax-skel { display: flex; flex-direction: column; background: var(--tv-surface); }
.tvax-skel i { display: block; background: var(--tv-chip-bg); }
.tvax-empty { padding: 28px 16px; background: var(--tv-surface); display: flex; flex-direction: column; gap: 12px; }
.tvax-empty__t { font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--tv-text); }
.tvax-empty p { font-size: 15px; line-height: 1.5; color: var(--tv-body); }
.tvax-state-label { font-size: 13px; font-weight: 700; color: var(--tv-muted); padding: 24px 16px 10px; }

@media (min-width: 1025px) {
  .tvax__h1 { font-size: 40px; }
  .tvax__sub { font-size: 17px; }
  .tvax__body { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 0; gap: 24px; }
  .tvax__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .tvax-card__b { padding: 14px 16px 16px; gap: 8px; }
  .tvax-card__t { font-size: 16px; }
  .tvax-card__now { font-size: 26px; }
  .tvax-card__m, .tvax-card__ship { font-size: 13px; }
  .tvaxin__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 14px; }
  .tvaxin__row .tvax-card { width: auto; }
  .tvaxin__t { font-size: 22px !important; }
}

/* Inside articles: the article's link style (colour, underline) must not reach the card */
body.tv-2026.single-post .entry-content a.tvax-card,
body.tv-2026.single-post .entry-content a.tvax-card * { color: inherit !important; text-decoration: none !important; border-bottom: 0 !important; box-shadow: none !important; background-image: none; }
body.tv-2026.single-post .entry-content a.tvax-card { color: var(--tv-text) !important; }
body.tv-2026.single-post .entry-content a.tvax-card .tvax-card__old, body.tv-2026.single-post .entry-content a.tvax-card .tvax-card__m { color: var(--tv-muted) !important; }
body.tv-2026.single-post .entry-content a.tvax-card .tvax-card__ship { color: var(--tv-positive) !important; }
body.tv-2026.single-post .entry-content a.tvax-card .tvax-card__btn { color: var(--tv-navy) !important; }
body.tv-2026.single-post .entry-content a.tvax-card .tvax-card__off { color: #FFFFFF !important; }
body.tv-2026.single-post .entry-content a.tvax-card .tvax-card__old { text-decoration: line-through !important; }
@media (min-width: 1025px) { .tvax-card__img { aspect-ratio: 4 / 3; } }
.tvaxin .tvax-card__img { aspect-ratio: 4 / 3; }
body.tv-2026.single-post .entry-content a.tvax-card .tvax-card__m svg, body.tv-2026.single-post .entry-content a.tvax-card .tvax-card__m svg * { color: var(--tv-caution) !important; }
.tvaxin__k { white-space: nowrap; }

/* Home: products in the existing deals row */
.tvdeals__row .tvax-card { flex-shrink: 0; width: 170px; }
@media (min-width: 1025px) { .tvdeals__row .tvax-card { width: auto; } .tvdeals__row .tvax-card__img { aspect-ratio: 4 / 3; } }
.tvdeals__row .tvax-card__t { font-size: 14px; }

/* Horizontal card for a single pasted product (in articles) */
.tvaxone { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: var(--tv-surface, #fff); color: var(--tv-text, #0A1030); clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-md, 10px) 100%, 0 calc(100% - var(--tv-cut-md, 10px))); border: 1px solid var(--tv-line, #DFE3EE); }
.tvaxone__img { background: #fff; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--tv-line, #DFE3EE); }
.tvaxone__img img { width: 100%; height: 100%; max-height: 200px; object-fit: contain; display: block; }
.tvaxone__b { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.tvaxone__k { font-size: 12px; font-weight: 700; color: var(--tv-muted, #4F5878); }
.tvaxone__t { font-size: 18px; line-height: 1.3; font-weight: 700; }
.tvaxone__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tvaxone .tvax-card__btn { margin: 4px 0 0; padding: 0 22px; align-self: flex-start; }
.tvdeals > .tvax__note { max-width: 1200px; margin: 16px auto 0; padding: 0 16px; }
@media (min-width: 1025px) { .tvdeals > .tvax__note { padding: 0; } }

@media (max-width: 600px) {
  .tvaxone { grid-template-columns: 110px minmax(0, 1fr); }
  .tvaxone__b { padding: 12px 14px; gap: 6px; }
  .tvaxone__t { font-size: 15px; }
}

/* Article link styles must not reach the wide card */
body.tv-2026.single-post .entry-content a.tvaxone, body.tv-2026.single-post .entry-content a.tvaxone * { color: var(--tv-text) !important; text-decoration: none !important; }
body.tv-2026.single-post .entry-content a.tvaxone .tvaxone__k, body.tv-2026.single-post .entry-content a.tvaxone .tvax-card__m { color: var(--tv-muted) !important; }
body.tv-2026.single-post .entry-content a.tvaxone .tvax-card__old { color: var(--tv-muted) !important; text-decoration: line-through !important; }
body.tv-2026.single-post .entry-content a.tvaxone .tvax-card__ship { color: var(--tv-positive) !important; }
body.tv-2026.single-post .entry-content a.tvaxone .tvax-card__btn, body.tv-2026.single-post .entry-content .tvaxbtn a { color: var(--tv-navy) !important; }
body.tv-2026.single-post .entry-content a.tvaxone .tvax-card__m svg, body.tv-2026.single-post .entry-content a.tvaxone .tvax-card__m svg * { color: var(--tv-caution) !important; }
/* Narrow cards: the meta line wraps between items, never inside one */
.tvax-card__m { flex-wrap: wrap; row-gap: 2px; }
.tvax-card__m > span { white-space: nowrap; }

/* Loading: the brand band runs along the bottom of the search panel; results dim. No pulsing, no glow. */
.tvsearch__panel { position: relative; }
.tvax-load { position: absolute; inset: auto 0 0 0; height: 3px; overflow: hidden; pointer-events: none; }
.tvax.is-loading .tvax-load::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: var(--tv-band, linear-gradient(90deg, #CC26FA, #9A3FFB, #5A70FD, #0DB4FE, #00EEFD)); animation: tvax-run 1.1s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes tvax-run { from { right: -40%; } to { right: 100%; } }
.tvax.is-loading .tvax__body { opacity: .35; pointer-events: none; transition: opacity .2s; }
.tvax.is-loading .tvsearch__go { opacity: .8; cursor: progress; }
.tvax-wait { margin: 0; font-size: 14px; color: var(--tv-muted); min-height: 0; }
.tvax-wait:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .tvax.is-loading .tvax-load::before { animation: none; right: 0; width: 100%; }
}

/* 0.2.1: seller coupon on a card, brand chips on /deals/ */
.tvax-card__cpn { display: inline-flex; align-self: flex-start; align-items: stretch; font-size: 12px; line-height: 1; border: 1.5px dashed var(--tv-link); color: var(--tv-link); }
.tvax-card__cpn > * { padding: 4px 7px; }
.tvax-card__cpk { background: var(--tv-link); color: #FFFFFF; font-weight: 700; }
.tvax-card__cpn bdi { font-weight: 700; letter-spacing: .02em; }
.tvaxone .tvax-card__cpn { border-color: var(--tv-link) !important; color: var(--tv-link) !important; }
.tvshop-brands { align-items: center; }
.tvshop-brands__k { font-size: 13px; font-weight: 700; color: var(--tv-muted); margin-inline-end: 2px; }

/* ---------- 0.3.0: "דילים היום" strip under the home hero ---------- */
.tvdtop { max-width: 1200px; margin: 24px auto 0; padding: 0 16px; }
.tvdtop__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.tvdtop__t { margin: 0; white-space: nowrap; font-size: 20px; line-height: 1.2; font-weight: 700; color: var(--tv-text); }
.tvdtop__sub { font-size: 13px; color: var(--tv-muted); }
.tvdtop__more { margin-inline-start: auto; font-size: 14px; font-weight: 700; color: var(--tv-link) !important; white-space: nowrap; text-decoration: none !important; }
.tvdtop__row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.tvdtop__row::-webkit-scrollbar { display: none; }
.tvdtop__note { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--tv-muted); }
.tvdmini { position: relative; flex: 0 0 264px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 108px; padding: 10px 12px 10px 10px;
  background: var(--tv-surface); text-decoration: none !important; clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-md) 100%, 0 calc(100% - var(--tv-cut-md))); }
.tvdmini__img { position: relative; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; overflow: hidden; }
.tvdmini__img img { width: 100%; height: 100%; object-fit: contain; }
.tvdmini__off { position: absolute; top: 0; right: 0; padding: 3px 6px; background: #22E1F7; color: #0A1030; font-size: 12px; font-weight: 700; line-height: 1.2; direction: ltr; }
.tvdmini__b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tvdmini__t { font-size: 14px; line-height: 1.35; font-weight: 500; color: var(--tv-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tvdmini__p { display: flex; align-items: baseline; gap: 8px; }
.tvdmini__now { font-size: 17px; font-weight: 800; color: var(--tv-text); font-variant-numeric: tabular-nums; }
.tvdmini__old { font-size: 12px; color: var(--tv-muted); }
@media (max-width: 600px) { .tvdtop__head { flex-wrap: wrap; row-gap: 2px; } .tvdtop__sub { order: 3; flex-basis: 100%; } }
@media (min-width: 1025px) {
  .tvdtop { width: min(1200px, calc(100% - 64px)); padding: 0; margin-top: 32px; }
  .tvdtop__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; overflow: visible; }
}

/* ---------- 0.3.0: the block in the middle of an article ---------- */
.entry-content .tvdctx { position: relative; margin: 32px 0 !important; padding: 20px 22px 28px; background: var(--tv-surface);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-lg) 100%, 0 calc(100% - var(--tv-cut-lg))); }
.tvdctx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--tv-band-h, 6px); background: var(--tv-band); }
.tvdctx a, .tvdctx a * { text-decoration: none !important; border-bottom: 0 !important; box-shadow: none !important; }
.tvdctx__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tvdctx__k { display: block; font-size: 13px; font-weight: 700; color: var(--tv-link); line-height: 1.3; }
.entry-content .tvdctx__t { margin: 4px 0 0 !important; font-size: 20px !important; line-height: 1.25; font-weight: 700; color: var(--tv-text); }
.tvdctx__ad { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--tv-muted); line-height: 1.3; padding-top: 2px; }
.tvdrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--tv-line); }
.tvdctx__head + .tvdrow { border-top: 0; }
.tvdrow__img { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; overflow: hidden; }
.tvdrow__img img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; }
.tvdrow__b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tvdrow__t { font-size: 15px; line-height: 1.35; font-weight: 500; color: var(--tv-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tvdrow__m { font-size: 12px; line-height: 1.4; color: var(--tv-muted); }
.tvdrow__ship { color: var(--tv-positive); font-weight: 700; }
.tvdrow__p { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.tvdrow__now { font-size: 18px; line-height: 1.1; font-weight: 800; color: var(--tv-text); font-variant-numeric: tabular-nums; }
.tvdrow__old { font-size: 12px; color: var(--tv-muted); }
.tvdrow__off { padding: 2px 6px; background: #22E1F7; color: #0A1030; font-size: 12px; font-weight: 700; line-height: 1.3; direction: ltr; }
.tvdctx__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--tv-line); font-size: 13px; color: var(--tv-muted); line-height: 1.4; }
.tvdctx__foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--tv-link) !important; font-weight: 700; }
@media (max-width: 600px) { .entry-content .tvdctx { padding: 16px 16px 24px; } .tvdrow { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; } .tvdrow__img { width: 64px; height: 64px; } }
