/* ─────────────────────────────────────────────────────────────
   Techwish — Homepage (page-home.php) styles.
   Ported from /mockups/TW (1)/techwish-homepage-v3.jsx
   ───────────────────────────────────────────────────────────── */

/* ───── Top promo bar ─────────────────────────────────────────
   Single-line ticker — duplicated content auto-scrolls (marquee)
   when it overflows. Pauses on hover and respects
   `prefers-reduced-motion` (falls back to centred static text).
   ───────────────────────────────────────────────────────────── */
.tw-site-chrome .tw-promo-bar {
  background: var(--tw-ink);
  color: #fff;
  padding: 9px 0;
}
.tw-promo-bar__inner {
  font-family: var(--tw-mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.tw-promo-bar__marquee {
  position: relative;
  overflow: hidden;
  /* Edge fade only on mobile marquee — on desktop text is centred and
     a left/right mask would clip the mint label (e.g. "DROP CENOWY"). */
}
.tw-promo-bar__track {
  display: flex;
  width: max-content;
  gap: 0;
  /* On desktop the track is wide enough to fit twice and animates;
     animation is enabled only when content overflows — see below. */
}
.tw-promo-bar__item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 56px;             /* breathing room between loops */
  line-height: 1.4;
}
.tw-promo-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tw-mint);
  font-weight: 700;
  white-space: nowrap;
}
.tw-promo-bar__dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--tw-mint);
  box-shadow: 0 0 0 3px rgba(45, 206, 146, .22);
  flex-shrink: 0;
}
.tw-promo-bar__sep { color: var(--tw-mute-2); opacity: .6; }
.tw-promo-bar__text { white-space: nowrap; }
.tw-promo-bar__until { color: var(--tw-mute-2); white-space: nowrap; }
.tw-promo-bar__until strong { color: var(--tw-mint); }

/* Desktop — if the content fits naturally there is no need to scroll,
   we centre it. Below the breakpoint we animate the marquee instead. */
@media (min-width: 901px) {
  .tw-promo-bar__track { justify-content: center; gap: 56px; }
  /* The second (duplicate) copy stays in the DOM for screen readers
     to skip but is visually hidden so we don't show the same text
     twice when there is enough room. */
  .tw-promo-bar__item[aria-hidden="true"] { display: none; }
  .tw-promo-bar__item { padding-right: 0; }
}

/* Mobile — animate the duplicated track so all three bits of info
   read in one tidy ribbon instead of stacking into three cramped
   rows. Track is 200% wide (two copies), translates -50% over the
   duration → seamless loop. */
@media (max-width: 900px) {
  .tw-promo-bar { padding: 7px 0; font-size: 11px; }
  .tw-promo-bar__marquee {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 90%, transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 90%, transparent 100%);
  }
  .tw-promo-bar__track {
    animation: tw-promo-marquee 22s linear infinite;
  }
  .tw-promo-bar__marquee:hover .tw-promo-bar__track,
  .tw-promo-bar__marquee:focus-within .tw-promo-bar__track {
    animation-play-state: paused;
  }
}
@keyframes tw-promo-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .tw-promo-bar__track { animation: none !important; justify-content: center; }
  .tw-promo-bar__item[aria-hidden="true"] { display: none; }
}

/* ───── Section heads ─────────────────────────────────────────
   Every homepage section uses `<header class="tw-section-head">`.
   Defines a UNIFORM rhythm: same gap between eyebrow and h2,
   same margin under the head before content starts.

   For sections with extra UI in the head (e.g. categories' prev/next
   buttons), the parent stays flex-row but the eyebrow+h2 are wrapped
   in a `<div>` child that picks up the SAME column layout via the
   `.tw-section-head > div:first-child` selector — so the visual
   distance between eyebrow and h2 stays identical across sections.
   ───────────────────────────────────────────────────────────── */
.tw-section-head,
.tw-section-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tw-section-head { margin-bottom: 28px; }
.tw-section-head .tw-eyebrow { display: inline-block; }
.tw-section-head .tw-h1,
.tw-section-head .tw-h2 { margin: 0; }
/* Uniform vertical rhythm between consecutive sections. */
.tw-home > section { margin-block: 56px; }
.tw-home > section.tw-home-campaign { margin-block: 20px 28px; }
.tw-home > section.tw-home-featured { margin-block: 0 28px; }
.tw-home > section.tw-home-trust { margin-block: 0; }

/* ───── CAMPAIGN SLIDER (promo / actions) ───── */
.tw-home-campaign__stage {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--tw-line-soft);
  background: #fff;
  box-shadow: 0 10px 32px -24px rgba(11, 15, 13, 0.18);
}
.tw-home-campaign__viewport {
  position: relative;
  min-height: 280px;
  max-height: 320px;
}
.tw-home-campaign__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--tw-ease), visibility .35s;
}
.tw-home-campaign__slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  inset: auto;
}
.tw-home-campaign__slide--mint {
  background: linear-gradient(135deg, var(--tw-mint-050) 0%, #fff 58%);
}
.tw-home-campaign__slide--ink {
  background: linear-gradient(135deg, #0b0f0d 0%, #1a2420 100%);
  color: #fff;
}
.tw-home-campaign__slide--ink .tw-home-campaign__title { color: #fff; }
.tw-home-campaign__slide--ink .tw-home-campaign__subtitle { color: rgba(255,255,255,.78); }
.tw-home-campaign__slide--ink .tw-home-campaign__badge {
  background: rgba(255,255,255,.12);
  color: var(--tw-mint);
}
.tw-home-campaign__slide--neutral {
  background: linear-gradient(135deg, var(--tw-paper-2) 0%, #fff 70%);
}
.tw-home-campaign__slide--no-img {
  grid-template-columns: 1fr;
}
.tw-home-campaign__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.tw-home-campaign__slide-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px 32px;
  max-width: 520px;
}
.tw-home-campaign__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--tw-ink);
  color: var(--tw-mint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tw-home-campaign__title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.tw-home-campaign__subtitle {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--tw-ink-2);
  max-width: 42ch;
}
.tw-home-campaign__cta { align-self: flex-start; margin-top: 6px; }
.tw-home-campaign__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--tw-line-soft);
  background: #fff;
}
.tw-home-campaign__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.tw-home-campaign__tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tw-mute);
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .15s ease, color .15s ease;
}
.tw-home-campaign__tab:hover { color: var(--tw-ink); background: var(--tw-paper-2); }
.tw-home-campaign__tab.is-active {
  color: var(--tw-ink);
  background: var(--tw-mint-050);
  box-shadow: inset 0 0 0 1px var(--tw-mint-100, #d4f5e8);
}
.tw-home-campaign__nav {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.tw-home-campaign__nav-btn {
  appearance: none;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--tw-line-soft);
  background: #fff;
  color: var(--tw-ink);
  cursor: pointer;
  font: inherit;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .15s ease, color .15s ease;
}
.tw-home-campaign__nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  pointer-events: none;
}
.tw-home-campaign__nav-icon--pause {
  width: 16px;
  height: 16px;
}
.tw-home-campaign__nav-btn:hover {
  border-color: var(--tw-mint);
  color: var(--tw-mint-600);
}
.tw-home-campaign__nav-btn[aria-pressed="true"] {
  background: var(--tw-mint-050);
  border-color: var(--tw-mint);
  color: var(--tw-mint-600);
}
@media (max-width: 900px) {
  .tw-home-campaign__viewport { min-height: 0; max-height: none; }
  .tw-home-campaign__slide {
    grid-template-columns: 1fr;
    position: relative;
    inset: auto;
    display: none;
  }
  .tw-home-campaign__slide.is-active { display: grid; }
  .tw-home-campaign__slide-img {
    max-height: 160px;
    order: -1;
  }
  .tw-home-campaign__slide-inner { padding: 18px 18px 20px; }
  .tw-home-campaign__title { font-size: 22px; }
  .tw-home-campaign__bar { flex-direction: column; align-items: stretch; }
  .tw-home-campaign__tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tw-home-campaign__nav { justify-content: flex-end; }
}

/* ───── FEATURED PRODUCTS ───── */
.tw-home { padding-bottom: 64px; }
.tw-home-featured {
  padding-block: 4px 0;
}
.tw-home-featured__head {
  margin-bottom: 20px;
}
.tw-home-featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 100%;
}
@media (max-width: 960px) {
  .tw-home-featured__grid {
    grid-template-columns: 1fr;
  }
}

/* Lead card — neutral frame (no mint border / full-card link outline). */
.tw-home-featured__lead {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--tw-line-soft);
  box-shadow: 0 10px 28px -22px rgba(11, 15, 13, 0.14);
  overflow: hidden;
  transition: box-shadow var(--tw-dur-fast) var(--tw-ease), border-color var(--tw-dur-fast) var(--tw-ease);
}
.tw-home-featured__lead:hover {
  border-color: var(--tw-line);
  box-shadow: 0 14px 36px -18px rgba(11, 15, 13, 0.16);
}
.tw-home-featured__lead--empty {
  grid-template-columns: 1fr;
  padding: 32px 28px;
  background: linear-gradient(180deg, #fff 0%, var(--tw-mint-050) 100%);
}
.tw-home-featured__media {
  display: block;
  background: var(--tw-paper-2);
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
.tw-home-featured__media:focus-visible {
  outline: 2px solid var(--tw-ink);
  outline-offset: -2px;
}
.tw-home-featured__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
.tw-home-featured__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px 24px;
  min-width: 0;
}
.tw-home-featured__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.tw-home-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tw-dur-fast) var(--tw-ease);
}
.tw-home-featured__title a:hover {
  color: var(--tw-mint-600);
}
.tw-home-featured__lede {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--tw-ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tw-home-featured__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 8px;
}
.tw-home-featured__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: var(--tw-mono);
  font-weight: 600;
}
.tw-home-featured__amount .woocommerce-Price-amount {
  font-size: 19px;
  font-weight: 700;
  color: var(--tw-mint-600);
}
.tw-home-featured__price del { display: none !important; }
.tw-home-featured__price ins {
  text-decoration: none;
  color: var(--tw-mint-600);
  font-weight: 700;
}
.tw-home-featured__price .tw-product-tile__omnibus { flex-basis: 100%; }

/* Side cards */
.tw-home-featured__aside {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 0;
}
.tw-home-featured__card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid var(--tw-line-soft);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--tw-dur-fast) var(--tw-ease), box-shadow var(--tw-dur-fast) var(--tw-ease);
}
.tw-home-featured__card:hover {
  border-color: var(--tw-line);
  box-shadow: 0 8px 22px -16px rgba(11, 15, 13, 0.12);
}
.tw-home-featured__card:focus-visible {
  outline: 2px solid var(--tw-ink);
  outline-offset: 2px;
}
.tw-home-featured__card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tw-paper-2);
  padding: 10px;
  min-height: 0;
}
.tw-home-featured__card-media img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.tw-home-featured__card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px 14px 4px;
  min-width: 0;
}
.tw-home-featured__card-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--tw-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tw-home-featured__card-price {
  margin-top: auto;
  font-family: var(--tw-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--tw-ink);
}
.tw-home-featured__card-price .woocommerce-Price-amount {
  color: inherit;
}

@media (max-width: 900px) {
  .tw-home-featured__lead {
    grid-template-columns: 1fr;
  }
  .tw-home-featured__media img {
    min-height: 0;
    max-height: min(48vw, 220px);
  }
  .tw-home-featured__copy {
    padding: 16px 18px 18px;
  }
  .tw-home-featured__title {
    font-size: clamp(20px, 5.5vw, 26px);
  }
  .tw-home-featured__lede {
    -webkit-line-clamp: 2;
  }
  .tw-home-featured__aside {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }
  .tw-home-featured__card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
@media (max-width: 540px) {
  .tw-home-featured__card {
    grid-template-columns: 1fr;
  }
  .tw-home-featured__card-media {
    min-height: 140px;
  }
}

/* ───── TRUST STRIP (visual frame — layout is in the marquee block below) ───── */
.tw-home-trust {
  border-top: 1px solid var(--tw-line-soft);
  border-bottom: 1px solid var(--tw-line-soft);
  padding: 16px 0;
  margin-top: 8px;
}

/* ───── 02 · CATEGORIES — horizontal scroll-rail (mockup v3) ─────
   Each card: full-width media on top with a mint icon badge,
   then name + short description + product count beneath. Uses
   native CSS scroll-snap so swipe on touch feels intentional;
   prev/next buttons advance one card on click.
   ───────────────────────────────────────────────────────────── */
/* Use `padding-block: 0` (not the `padding` shorthand) — the shorthand
   would zero out the horizontal `padding: 0 var(--tw-container-pad)` that
   `.tw-container` ships, leaving the section title flush with the viewport
   edge on mobile. The uniform-rhythm margin lives on the parent
   `.tw-home > section` rule, so all we need here is no extra vertical pad. */
.tw-home-cats { padding-block: 0; }
.tw-home-cats__head {
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}
.tw-home-cats__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.tw-home-cats__nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--tw-line, #DDE3E0);
  background: #ffffff;
  color: var(--tw-ink, #0B0F0D);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color var(--tw-dur-fast, .15s) ease,
              background var(--tw-dur-fast, .15s) ease,
              color var(--tw-dur-fast, .15s) ease;
}
.tw-home-cats__nav-btn:hover {
  border-color: var(--tw-mint, #2DCE92);
  background: var(--tw-mint-050, #F1FAF5);
  color: var(--tw-mint-600, #1FB37C);
}
.tw-home-cats__nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tw-home-cats__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  padding: 4px 4px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.tw-home-cats__rail::-webkit-scrollbar { display: none; }

.tw-home-cat {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--tw-line-soft, #ECEFED);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--tw-ink, #0B0F0D);
  transition: border-color var(--tw-dur-fast, .15s) ease,
              transform var(--tw-dur-fast, .15s) ease,
              box-shadow var(--tw-dur-fast, .15s) ease;
}
.tw-home-cat:hover {
  border-color: var(--tw-mint, #2DCE92);
  transform: translateY(-3px);
  box-shadow: var(--tw-shadow-hover, 0 14px 28px rgba(11,15,13,.08));
}

/* — MEDIA — */
.tw-home-cat__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f1faf5 0%, #e6f5ed 100%);
  overflow: hidden;
}
.tw-home-cat__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tw-home-cat:hover .tw-home-cat__media img {
  transform: scale(1.04);
}
/* Mint icon badge — bottom-left over the media */
.tw-home-cat__icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(11,15,13,.10);
  z-index: 1;
}
.tw-home-cat__glyph {
  font-family: var(--tw-display, "Space Grotesk", sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--tw-mint-600, #1FB37C);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* — BODY — */
.tw-home-cat__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
  flex: 1 1 auto;
}
.tw-home-cat__name {
  display: block;
  font-family: var(--tw-display, "Space Grotesk", sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.tw-home-cat__desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--tw-mute, #6B7470);
  /* clamp to 2 lines so all cards align vertically */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tw-home-cat__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--tw-mint-600, #1FB37C);
}
.tw-home-cat:hover .tw-home-cat__count { color: var(--tw-mint, #2DCE92); }
.tw-home-cat__count .tw-arrow {
  /* Inherit current color (mint) so the arrow matches the label. */
  background-color: currentColor;
}

@media (max-width: 720px) {
  .tw-home-cats__rail { grid-auto-columns: 220px; }
  .tw-home-cats__head { flex-direction: column; align-items: flex-start; }
  .tw-home-cats__nav { display: none; }   /* swipe-only on mobile */
}

/* ───── TRENDING — reuses Woo tile styles ───── */
.tw-home-trending { padding-block: 0; }
.tw-home-trending__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .tw-home-trending__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .tw-home-trending__grid { grid-template-columns: 1fr; } }

/* ───── TOOLS STRIP ───── */
.tw-home-tools { padding-block: 0; }
.tw-home-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .tw-home-tools__grid { grid-template-columns: 1fr; } }

.tw-home-tool {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--tw-line-soft);
  border-radius: var(--tw-radius-lg);
  text-decoration: none;
  color: var(--tw-ink);
  position: relative;
  overflow: hidden;
  transition: all var(--tw-dur-fast) var(--tw-ease);
}
.tw-home-tool::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(100deg, transparent 0 22px, rgba(45,206,146,.08) 22px 24px);
  mask-image: linear-gradient(135deg, transparent 50%, #000 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--tw-dur-fast) ease;
}
.tw-home-tool:hover {
  border-color: var(--tw-mint);
  box-shadow: var(--tw-shadow-hover);
}
.tw-home-tool:hover::before { opacity: 1; }
.tw-home-tool .tw-h3 {
  margin: 6px 0 4px;
  line-height: 1.25;       /* override Salient's default line-height: 1 */
}
.tw-home-tool p {
  color: var(--tw-ink-2);
  font-size: 14px;
  line-height: 1.5;        /* Salient sometimes resets <p> to 1; force readable rhythm */
  margin: 0 0 16px;
}
.tw-home-tool .tw-btn { align-self: flex-start; margin-top: auto; }

/* ─────────────────────────────────────────────────────────────
   04 · REVIEWS — "Co o tych produktach mówi internet"
   Dark cards for internal Techwish content, light for external media.
   Echoes the v3 mockup's "Co o tych produktach mówi internet" strip.
   ───────────────────────────────────────────────────────────── */
.tw-home-reviews__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tw-home-review {
  list-style: none;
  margin: 0; padding: 0;
}
.tw-home-review__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 20px 22px;
  border-radius: var(--tw-radius-lg, 16px);
  text-decoration: none;
  color: var(--tw-ink, #0B0F0D);
  background: #ffffff;
  border: 1px solid var(--tw-line-soft, #ECEFED);
  transition: box-shadow var(--tw-dur-fast, .15s) ease, transform var(--tw-dur-fast, .15s) ease;
}
.tw-home-review__link:hover {
  box-shadow: var(--tw-shadow-hover, 0 12px 28px rgba(11,15,13,.08));
  transform: translateY(-2px);
}
/* Dark card variant — used for:
   - Techwish-internal reviews (always dark, video-card feel)
   - External reviews whose source logo is white/light and would
     be invisible on the default white card (admin checks
     "Logo na ciemnym tle?" on the review post).
   The selector is `.is-dark`, applied alongside `.is-internal`
   for Techwish content so we keep one styling source. */
.tw-home-review.is-dark .tw-home-review__link {
  background: #0B0F0D;
  color: #ffffff;
  border-color: rgba(255,255,255,.08);
}
.tw-home-review.is-dark .tw-home-review__quote { color: rgba(255,255,255,.92); }
.tw-home-review.is-dark .tw-home-review__product { color: rgba(255,255,255,.6); }
.tw-home-review.is-dark .tw-home-review__source { color: rgba(255,255,255,.55); }
/* Mint pill stays mint for Techwish-internal; external reviews get a
   neutral mint outline so the "Media" tag doesn't read as "Techwish". */
.tw-home-review.is-internal .tw-home-review__tag {
  background: var(--tw-mint, #2DCE92);
  color: #062319;
}
.tw-home-review.is-dark:not(.is-internal) .tw-home-review__tag {
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.18);
}

.tw-home-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}
.tw-home-review__logo {
  max-height: 26px;
  max-width: 120px;
  object-fit: contain;
}
.tw-home-review__source {
  font-family: var(--tw-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tw-mute, #6B7470);
  font-weight: 600;
}
.tw-home-review__tag {
  font-family: var(--tw-mono, monospace);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--tw-mint-050, #F1FAF5);
  color: var(--tw-mint-600, #1FB37C);
}
.tw-home-review__quote {
  font-family: var(--tw-display, "Space Grotesk", sans-serif);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.005em;
  color: inherit;
  /* clamp long quotes to keep card height even */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tw-home-review__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(11,15,13, .12);
}
.tw-home-review.is-dark .tw-home-review__foot { border-top-color: rgba(255,255,255,.12); }
.tw-home-review__product {
  font-size: 12px;
  font-weight: 500;
  color: var(--tw-mute, #6B7470);
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tw-home-review__rating {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tw-mint-600, #1FB37C);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.tw-home-review.is-dark .tw-home-review__rating { color: var(--tw-mint, #2DCE92); }

@media (max-width: 1100px) {
  .tw-home-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tw-home-reviews__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   05 · BRANDS — logo wall ("Marki, którym ufamy")
   ───────────────────────────────────────────────────────────── */
.tw-home-brands__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.tw-home-brand { list-style: none; margin: 0; padding: 0; }
.tw-home-brand__link {
  display: grid;
  place-items: center;
  height: 64px;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--tw-mute, #6B7470);
  background: transparent;
  border: 1px solid transparent;
  transition: filter var(--tw-dur-fast, .15s) ease,
              border-color var(--tw-dur-fast, .15s) ease,
              background var(--tw-dur-fast, .15s) ease;
  filter: grayscale(1);
  opacity: 0.7;
}
a.tw-home-brand__link:hover {
  filter: none;
  opacity: 1;
  border-color: var(--tw-line-soft, #ECEFED);
  background: #ffffff;
}
.tw-home-brand__link img {
  max-height: 38px;
  max-width: 100%;
  object-fit: contain;
}
.tw-home-brand__name {
  font-family: var(--tw-display, "Space Grotesk", sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
@media (max-width: 1100px) { .tw-home-brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .tw-home-brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ─────────────────────────────────────────────────────────────
   06 · NEWSLETTER — "Drop list. Co tydzień."
   Mint card, centred copy, inline email form.
   ───────────────────────────────────────────────────────────── */
/* Vertical rhythm comes from the uniform `.tw-home > section { margin-block }`
   rule at the top of the file. No per-section overrides here — keeps all
   eyebrows at the same distance from the prior section's content. */
.tw-home-newsletter__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 48px;
  border-radius: var(--tw-radius-lg, 18px);
  background:
    radial-gradient(120% 80% at 0% 50%, rgba(45,206,146,.18), transparent 55%),
    linear-gradient(135deg, #0B0F0D 0%, #142019 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.tw-home-newsletter__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(100deg,
    transparent 0 18px,
    rgba(45,206,146,.08) 18px 20px);
  pointer-events: none;
  opacity: .8;
}
.tw-home-newsletter__copy { position: relative; }
.tw-home-newsletter__copy .tw-h2 {
  color: #ffffff;
  margin: 8px 0 10px;
}
.tw-home-newsletter__lede {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin: 0;
  max-width: 44ch;
}
.tw-home-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  position: relative;
}
.tw-home-newsletter__form input[type=email] {
  flex: 1 1 220px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #ffffff;
  font-family: var(--tw-display, "Space Grotesk", sans-serif);
  font-size: 14px;
  outline: none;
  transition: border-color var(--tw-dur-fast, .15s) ease, background var(--tw-dur-fast, .15s) ease;
}
.tw-home-newsletter__form input[type=email]::placeholder { color: rgba(255,255,255,.45); }
.tw-home-newsletter__form input[type=email]:focus {
  border-color: var(--tw-mint, #2DCE92);
  background: rgba(255,255,255,.10);
}
.tw-home-newsletter__form button {
  flex-shrink: 0;
}
.tw-home-newsletter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: 100%;
}
.tw-home-newsletter__row input[type=email] {
  flex: 1 1 220px;
}
/* RODO consent — required checkbox + long legal copy. */
.tw-home-newsletter__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
}
.tw-home-newsletter__consent input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  transition: background var(--tw-dur-fast, .15s) ease,
              border-color var(--tw-dur-fast, .15s) ease;
  position: relative;
  flex-shrink: 0;
}
.tw-home-newsletter__consent input[type=checkbox]:hover {
  border-color: var(--tw-mint, #2DCE92);
}
.tw-home-newsletter__consent input[type=checkbox]:checked {
  background: var(--tw-mint, #2DCE92);
  border-color: var(--tw-mint, #2DCE92);
}
.tw-home-newsletter__consent input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: no-repeat center / contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23062319' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8l3 3 7-7'/></svg>");
}
.tw-home-newsletter__consent input[type=checkbox]:focus-visible {
  outline: 2px solid var(--tw-mint, #2DCE92);
  outline-offset: 2px;
}
.tw-home-newsletter__consent-text {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.78);
}
.tw-home-newsletter__small {
  flex-basis: 100%;
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  margin: 8px 0 0;
  letter-spacing: 0;
}
.tw-home-newsletter__small a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tw-home-newsletter__small a:hover { color: var(--tw-mint, #2DCE92); }

.tw-screen-reader {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 900px) {
  .tw-home-newsletter__card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 24px;
  }
}

/* ─────────────────────────────────────────────────────────────
   TRUST STRIP MARQUEE — auto-scrolling logo carousel under hero.
   Tw_home_trust contains a pinned eyebrow + an infinite marquee with
   brand names/logos. Track is doubled in PHP so the keyframes loop
   without a gap. Pauses on hover for usability.
   ───────────────────────────────────────────────────────────── */
.tw-home-trust__inner {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.tw-home-trust__label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--tw-mute, #6B7470);
}
.tw-home-trust__marquee {
  position: relative;
  overflow: hidden;
  /* Soft fade-out at both edges so the loop feels seamless. */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%);
          mask-image: linear-gradient(90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%);
}
.tw-home-trust__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tw-marquee 38s linear infinite;
  will-change: transform;
}
.tw-home-trust__marquee:hover .tw-home-trust__track {
  animation-play-state: paused;
}
@keyframes tw-marquee {
  /* Doubled list: scrolling exactly 50% = back to first occurrence of
     the duplicated row, giving a seamless loop. */
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tw-home-trust__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  /* Logo containers stay the same width so the rhythm is consistent
     whether you upload a logo or fall back to text. */
  min-width: 140px;
  padding: 0 8px;
  color: var(--tw-mute-2, #98A09B);
  text-decoration: none;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter var(--tw-dur-fast, .15s) ease,
              opacity var(--tw-dur-fast, .15s) ease,
              color   var(--tw-dur-fast, .15s) ease;
  flex-shrink: 0;
}
.tw-home-trust__brand:hover {
  filter: none;
  opacity: 1;
  color: var(--tw-ink, #0B0F0D);
}
.tw-home-trust__brand img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.tw-home-trust__brand-name {
  font-family: var(--tw-display, "Space Grotesk", sans-serif);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .tw-home-trust__track { animation: none; }
}
@media (max-width: 720px) {
  .tw-home-trust__inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .tw-home-trust__label { font-size: 11px; }
  .tw-home-trust__brand { min-width: 110px; height: 48px; }
  .tw-home-trust__brand img { max-height: 28px; }
  .tw-home-trust__track { gap: 36px; animation-duration: 28s; }
}

/* ─────────────────────────────────────────────────────────────
   01 · HOT PROMO STRIP — large banner left, 3 sale cards right.
   Echoes v3 mockup's "Oszczędzasz tu i teraz" promo block.
   ───────────────────────────────────────────────────────────── */
.tw-home-promo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1000px) {
  .tw-home-promo__grid { grid-template-columns: 1fr; }
}
/* No hot-promo hero: the side column is the only content, so render it full
   width as a normal card grid (no 1.5fr empty column collapsing it). */
.tw-home-promo__grid--no-hero { grid-template-columns: 1fr; }
.tw-home-promo__grid--no-hero .tw-home-promo__side {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  align-items: start;
}
.tw-home-promo__grid--no-hero .tw-home-promo__card { flex: none; }

/* ── HERO PROMO ── */
.tw-home-promo__hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #f4faf6 0%, #e6f5ed 100%);
  color: var(--tw-ink, #0B0F0D);
  text-decoration: none;
  display: flex;
  min-height: 380px;
  transition: transform var(--tw-dur-fast, .15s) ease,
              box-shadow var(--tw-dur-fast, .15s) ease;
}
.tw-home-promo__hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--tw-shadow-hover, 0 12px 28px rgba(11,15,13,.08));
}
.tw-home-promo__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.tw-home-promo__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 45%, rgba(255,255,255,0.45) 80%, rgba(255,255,255,0.1) 100%);
  pointer-events: none;
}
.tw-home-promo__hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 36px;
  max-width: 60%;
}
.tw-home-promo__hero-title {
  margin: 4px 0;
  font-size: 32px;
  line-height: 1.15;
}
.tw-home-promo__hero-lede {
  font-size: 14px;
  line-height: 1.5;
  color: var(--tw-ink-2, #2A2F2C);
  margin: 0;
  max-width: 40ch;
}
.tw-home-promo__hero-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: var(--tw-mono, monospace);
  line-height: 1.2;
  margin: 4px 0;
}
.tw-home-promo__hero-price {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--tw-mint-600, #1FB37C);
}
.tw-home-promo__hero-save {
  font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--tw-mint-600, #1FB37C); background: var(--tw-mint-100, #DFF6EC);
  padding: 5px 10px; border-radius: 999px;
}
/* Unify: no strikethrough anywhere on the homepage price displays. */
.tw-home-promo__hero-prices del,
.tw-home-promo__card-price del,
.tw-home-featured__price del,
.tw-home-featured__card-price del,
.tw-home-trending__grid del { display: none !important; }
.tw-home-promo__hero-cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* ── meta: stock bar + countdown ── */
.tw-home-promo__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed rgba(11,15,13, .12);
}
.tw-home-promo__stock {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.tw-home-promo__stock-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(11,15,13, .08);
  overflow: hidden;
}
.tw-home-promo__stock-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--tw-mint, #2DCE92), var(--tw-mint-600, #1FB37C));
  border-radius: 999px;
  transition: width .3s ease;
}
.tw-home-promo__stock-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tw-mute, #6B7470);
  text-transform: uppercase;
}
.tw-home-promo__countdown {
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.tw-home-promo__countdown-label {
  display: block;
  text-transform: uppercase;
  color: var(--tw-mute, #6B7470);
  font-weight: 500;
  font-size: 10px;
  margin-bottom: 2px;
}
.tw-home-promo__countdown-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink, #0B0F0D);
  letter-spacing: 0.04em;
}
.tw-home-promo__countdown.is-urgent .tw-home-promo__countdown-value {
  color: #D54040;
}
.tw-home-promo__countdown.is-expired .tw-home-promo__countdown-value {
  color: var(--tw-mute, #6B7470);
}

/* ── SIDE CARDS ── */
.tw-home-promo__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tw-home-promo__card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--tw-line-soft, #ECEFED);
  text-decoration: none;
  color: var(--tw-ink, #0B0F0D);
  transition: border-color var(--tw-dur-fast, .15s) ease,
              box-shadow var(--tw-dur-fast, .15s) ease;
  flex: 0 0 auto;
}
/* Cards keep their natural height (image is 96px). The side column may be
   shorter than the hero — that's fine; the "view all" link is pushed to the
   bottom via margin-top:auto so it never overlaps a card. (Previously cards
   used flex:1 1 0 to fill the hero height, which overflowed and overlaid the
   "view all" pill — see the reported bug.) */
.tw-home-promo__card:hover {
  border-color: var(--tw-mint, #2DCE92);
  box-shadow: var(--tw-shadow-hover, 0 12px 28px rgba(11,15,13,.06));
}
.tw-home-promo__card-media {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--tw-paper-2, #F4F7F5);
  display: grid;
  place-items: center;
}
.tw-home-promo__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tw-home-promo__card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tw-home-promo__card-title {
  margin: 2px 0 4px;
  font-family: var(--tw-display, "Space Grotesk", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: inherit;
  /* clamp to 2 lines for consistent card height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Same treatment as category tiles: mint price + small "−XX zł" pill +
   tiny Omnibus line, all wrapping. No strikethrough. */
.tw-home-promo__card-price {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  font-family: var(--tw-mono, monospace);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}
.tw-home-promo__card-amount {
  font-weight: 700;
  color: var(--tw-mint-600, #1FB37C);
  white-space: nowrap;
}
.tw-home-promo__card-amount .woocommerce-Price-amount {
  font-size: 14px; font-weight: 700; color: inherit;
}
.tw-home-promo__card-price del { display: none !important; }
.tw-home-promo__card-price ins { text-decoration: none; color: var(--tw-mint-600, #1FB37C); }

/* ── "View all" link (in the section header, top-right) ── */
.tw-home-promo__head {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tw-home-promo__viewall {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--tw-line, #DDE3E0);
  background: #fff;
  color: var(--tw-ink, #0B0F0D);
  text-decoration: none;
  font-family: var(--tw-display, "Space Grotesk", sans-serif);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: border-color var(--tw-dur-fast, .15s) ease,
              background var(--tw-dur-fast, .15s) ease,
              color var(--tw-dur-fast, .15s) ease;
}
.tw-home-promo__viewall:hover {
  border-color: var(--tw-ink, #0B0F0D);
  background: var(--tw-ink, #0B0F0D);
  color: #fff;
}
.tw-home-promo__viewall-label { display: inline-block; }
/* Chevron arrow (corner-border style, matches .tw-btn arrows) that slides on
   hover. The button text/arrow share currentColor so it inverts cleanly. */
.tw-home-promo__viewall .tw-arrow {
  width: 8px; height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  background: none;
  transition: transform var(--tw-dur-fast, .15s) ease;
}
.tw-home-promo__viewall:hover .tw-arrow {
  transform: rotate(45deg) translate(1px, -1px);
}
@media (max-width: 540px) {
  .tw-home-promo__head { align-items: flex-start; }
}

@media (max-width: 540px) {
  .tw-home-promo__hero { min-height: 320px; }
  .tw-home-promo__hero-body { max-width: 100%; padding: 24px 22px; }
  .tw-home-promo__hero-title { font-size: 26px; }
  .tw-home-promo__hero-price { font-size: 22px; }
  .tw-home-promo__meta { grid-template-columns: 1fr; gap: 10px; }
  .tw-home-promo__countdown { text-align: left; }
}
