/* Fonts are self-hosted: see assets/css/fonts.css */

/* ==========================================================================
   Tailovo design system - "Modern Warm Vet-Care"
   Loaded on every page, before pages.css / home.css / product.css.

   1.  Design tokens
   2.  Reset + base typography
   3.  Buttons, badges, chips, stars
   4.  Header (topbar, header, nav)
   5.  Panels, section headings, grids
   6.  Product card (shared by every listing)
   7.  Cart drawer (slide-out) + free-shipping progress
   8.  Quick view modal
   9.  Footer, newsletter, legal
   10. Utilities + responsive
   ========================================================================== */

/* ===== 1. Design tokens ===== */
:root {
  /* Surfaces */
  --bg-primary: #f7f4ef;
  --bg-surface: #ffffff;
  --bg-subtle: #f2ece4;
  --bg-muted: #f6f4f0;

  /* Ink */
  --text-primary: #18221f;
  --text-secondary: #5a6561;
  --text-muted: #7c8681;
  --text-on-dark: #f7f4ef;

  /* Brand */
  --brand-primary: #1e4638;
  --brand-primary-hover: #163629;
  --brand-primary-soft: #e8efeb;
  --brand-accent: #e06d3b;
  --brand-accent-hover: #c85c2f;
  --brand-accent-soft: #fbece4;

  /* Lines + stars */
  --border-color: #e6e1da;
  --border-strong: #d6cfc4;
  --star-color: #c8862a;
  --success: #2f7d5b;
  --success-soft: #e5f1ea;
  --danger: #b4453a;

  /* Layout */
  --container: 1440px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(24, 34, 31, 0.05);
  --shadow-sm: 0 1px 2px rgba(24, 34, 31, 0.04), 0 4px 14px rgba(24, 34, 31, 0.06);
  --shadow-md: 0 2px 6px rgba(24, 34, 31, 0.05), 0 14px 36px rgba(24, 34, 31, 0.1);
  --shadow-lg: 0 4px 12px rgba(24, 34, 31, 0.07), 0 28px 70px rgba(24, 34, 31, 0.16);

  /* Type */
  --font-body: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --dur: 0.24s;

  /* Legacy aliases kept so the older pages keep working unchanged. */
  --brand: var(--brand-accent);
  --brand-hover: var(--brand-accent-hover);
  --ink: var(--text-primary);
  --text: var(--text-secondary);
  --muted: var(--text-secondary);
  --line: var(--border-color);
  --bg: var(--bg-primary);
  --white: var(--bg-surface);
  --sale: var(--brand-accent);
  --star: var(--star-color);
  --footer: var(--brand-primary);
  --footer-deep: #142f26;
  --header-h: 84px;
  --nav-h: 54px;
  --top-h: 38px;
  --font: var(--font-body);
  --shadow: var(--shadow-sm);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Display type: Fraunces for the big headings, DM Sans everywhere else. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--brand-accent); color: var(--on-accent, #1e2421); }

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.tv-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  z-index: 200;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-sm);
}
a.skip:focus,
a.skip:focus-visible {
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  left: 10px;
  top: 10px;
  padding: 10px 16px;
}

.tv-menu-tools {
  display: none;
}
@media (max-width: 991px) {
  .tv-menu-tools {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    border-top: 0;
  }
}

[hidden] { display: none !important; }

.tv-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ===== 3. Buttons, badges, chips, stars ===== */
.tv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform 0.12s var(--ease), box-shadow var(--dur) var(--ease);
  text-align: center;
}

.tv-btn:hover { background: var(--brand-accent-hover); }
.tv-btn:active { transform: translateY(1px); }
.tv-btn svg { width: 17px; height: 17px; flex: none; }

.tv-btn--line {
  background: #e06d3b;
  border-color: #d6cfc400;
  color: var(--on-accent, #1e2421);
  border-radius: 0px !important;
}
.tv-btn--line:hover { background: var(--brand-accent-hover); border-color: #d6cfc400; color: #ffffff; }

.tv-btn--dark { background: var(--brand-primary); color: #fff; }
.tv-btn--dark:hover { background: var(--brand-primary-hover); }

.tv-btn--lg { min-height: 52px; padding: 0 28px; font-size: 15.5px; }

.tv-btn[disabled],
.tv-btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.tv-btn.is-added,
.tv-btn.is-loading { background: var(--success); color: #fff; }

.tv-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  display: inline-grid;
  place-items: center;
}
.tv-icon-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* Badges */
.tv-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tv-badge--sale { background: var(--brand-accent); color: var(--on-accent, #1e2421); }
.tv-badge--new { background: var(--brand-primary); color: #fff; }
.tv-badge--top {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* Chips */
.tv-chip {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tv-chip:hover { border-color: var(--brand-primary); background: var(--brand-primary-soft); }

/* Stars */
.tv-stars,
.tv-stars__marks,
.tv-review__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #FF9800;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
}

.tv-stars .kib-product-rating__svg,
.tv-stars__marks .kib-product-rating__svg,
.tv-review__stars .kib-product-rating__svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
}

.tv-stars--lg .kib-product-rating__svg,
.tv-stars--lg .tv-stars__marks .kib-product-rating__svg {
  width: 16px;
  height: 16px;
}

.tv-star-frac {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.tv-stars--lg .tv-star-frac {
  width: 16px;
  height: 16px;
}

.tv-star-frac__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

.tv-stars span:not(.tv-stars__marks):not(.tv-star-frac):not(.tv-star-frac__fill) {
  color: var(--text-muted);
  letter-spacing: 0;
  margin-left: 5px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.tv-readmore {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border-strong);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tv-readmore:hover { color: var(--brand-accent); border-color: var(--brand-accent); }

/* ===== 4. Header ===== */
.tv-topbar {
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 0;
}

.tv-topbar__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
  margin-inline: auto;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.tv-topbar__points {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: tv-topbar-marquee 55s linear infinite;
}

.tv-topbar:hover .tv-topbar__points {
  animation-play-state: paused;
}

.tv-topbar__points span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  padding-right: 56px;
  flex-shrink: 0;
}

.tv-topbar__points span::before,
.tv-topbar__points span + span::before {
  content: none !important;
  display: none !important;
}

@keyframes tv-topbar-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.tv-header {
  background: var(--brand-primary);
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 40;
  color: #fff;
}

.tv-header-main {
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
  margin-inline: auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.tv-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.tv-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.tv-logo__mark svg { stroke: var(--brand-primary); }

.tv-logo__word {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  color: #fff;
}
.tv-logo__word span { color: #fff; }

.tv-logo small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}

.tv-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  border: 0;
  background: #ffffff;
  border-radius: 999px;
  padding: 0 5px 0 0;
  box-shadow: none;
  overflow: visible;
}
.tv-search:hover {
  border: 0;
  box-shadow: none;
}
.tv-search:focus-within {
  border: 0;
  background: #ffffff;
  box-shadow: none;
}

.tv-search select {
  height: calc(100% - 14px);
  border: 0;
  border-right: 1px solid rgba(24, 34, 31, 0.1);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e4638' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding: 0 30px 0 18px;
  color: var(--text-primary);
  font-weight: 600;
  max-width: 172px;
  font-size: 13px;
  border-radius: 999px 0 0 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: color 0.18s ease;
}
.tv-search select:hover {
  color: var(--brand-primary);
}
.tv-search select:focus {
  outline: none;
}

.tv-search input {
  flex: 1;
  height: 100%;
  border: 0;
  padding: 0 16px;
  outline: none;
  min-width: 0;
  color: var(--text-primary);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}
.tv-search input::placeholder {
  color: #87928e;
  font-weight: 400;
}

.tv-search button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-accent);
  cursor: pointer;
  color: var(--on-accent, #1e2421);
  display: grid;
  place-items: center;
  box-shadow: none;
  transition: background-color 0.2s var(--ease);
}
.tv-search button:hover {
  background: var(--brand-accent-hover);
  box-shadow: none;
}
.tv-search button svg { stroke: #fff; }

.tv-header-tools { display: flex; align-items: center; gap: 4px; }

.tv-tool {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: none;
  border: 0;
  padding: 6px 10px;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur) var(--ease);
  text-align: left;
}
.tv-tool:hover { background: rgba(255, 255, 255, 0.14); }

.tv-tool__icon {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color var(--dur) var(--ease);
}
.tv-tool:hover .tv-tool__icon { border-color: transparent; }
.tv-tool__icon svg { stroke: var(--text-primary); }

.tv-tool small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.2;
}
.tv-tool b { font-weight: 600; font-size: 13.5px; color: #fff; }

.tv-tool__count {
  position: absolute;
  top: 0;
  left: 32px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 0;
  font-variant-numeric: tabular-nums;
}

.tv-tool__name { display: block; font-weight: 600; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tv-menu-toggle {
  display: none;
  border: 0;
  background: var(--bg-surface);
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.tv-menu-toggle svg { stroke: var(--text-primary); width: 18px; height: 18px; }

/* Nav */
.tv-nav {
  background: var(--brand-primary);
  border-bottom: 0;
  position: relative;
  z-index: 30;
  color: #fff;
}
.tv-nav__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--nav-h);
  gap: 8px;
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
  margin-inline: auto;
}

.tv-primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2px;
}

.tv-primary-nav a {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 13.8px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tv-primary-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.tv-primary-nav a.is-active { color: #fff; font-weight: 600; box-shadow: none; background: rgba(255, 255, 255, 0.08); }

/* Mobile blue-bar quick links: independent menu, only visible on phones */
.tv-mobile-bar { display: none; }
@media (max-width: 767px) {
  .tv-mobile-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tv-mobile-bar:empty { display: none; }
  .tv-mobile-bar::-webkit-scrollbar { display: none; }
  .tv-mobile-bar__link {
    flex: none;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  }
  .tv-mobile-bar__link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
  .tv-mobile-bar__link.is-active { color: #fff; background: rgba(255, 255, 255, 0.08); }
  .tv-lang { margin-left: 6px; }
}

/* Language pill (EN + top dropship markets, lazy Google widget) */
.tv-lang { position: relative; margin-left: auto; flex: none; }
.tv-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: background-color var(--dur) var(--ease);
}
.tv-lang__btn:hover { background: rgba(255, 255, 255, 0.08); }
.tv-lang__btn:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 2px; }
.tv-lang__btn svg { flex: none; }
.tv-lang__flag { font-size: 17px; line-height: 1; }
.tv-lang__code { letter-spacing: 0.04em; }
.tv-lang__chev { opacity: 0.8; }
.tv-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 218px;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 60;
}
.tv-lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: none;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}
.tv-lang__item:hover { background: var(--bg-muted); }
.tv-lang__item.is-active { background: var(--brand-primary-soft); color: var(--brand-primary); font-weight: 700; }
.tv-lang__item .tv-lang__flag { font-size: 18px; }
.tv-lang__tick { margin-left: auto; font-weight: 700; }
.tv-lang__note {
  margin: 4px 6px 2px;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
  font-size: 11.5px;
  color: var(--text-muted);
}
/* Hidden Google mount + kill the auto top bar */
.tv-lang-src,
#google_translate_element { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.goog-te-banner-frame,
.skiptranslate > iframe.skiptranslate,
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ===== 5. Panels + grids ===== */
.tv-section { margin-top: 28px; }

.tv-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tv-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.tv-panel__head h2 { font-size: 25px; font-weight: 700; letter-spacing: -0.35px; line-height: 1.22; margin: 0; }
.tv-panel__note { display: none !important; }
.tv-panel__tools { margin-left: auto; display: flex; gap: 6px; }

.tv-crumbs { color: var(--text-muted); font-size: 13px; margin: 20px 0; }
.tv-crumbs a:hover { color: var(--brand-primary); }
.tv-crumbs a { display: inline-block; padding: 5px 2px; }

.tv-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }

.tv-cat-tile {
  padding: 22px 12px;
  text-align: center;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}
.tv-cat-tile:hover { background: var(--bg-subtle); }
.tv-cat-tile strong { display: block; font-weight: 600; font-size: 15px; font-family: var(--font-display); }
.tv-cat-tile span { color: var(--text-muted); font-size: 12px; }

.tv-brands { display: flex; gap: 0; overflow-x: auto; }
.tv-brand {
  flex: 0 0 16.66%;
  min-width: 140px;
  height: 76px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}

.tv-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: auto;
  max-width: min(320px, calc(100vw - 40px));
  background: var(--text-primary);
  color: var(--text-on-dark);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-accent);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  z-index: 90;
  font-size: 13.5px;
  box-shadow: var(--shadow-md);
}
.tv-notice.is-on { opacity: 1; transform: none; }

.tv-empty { padding: 40px 18px; text-align: center; color: var(--text-muted); }

.tv-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: var(--brand-primary);
  color: #ffffff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.18s var(--ease), transform 0.15s var(--ease);
}
.tv-to-top[hidden] { display: none !important; }
.tv-to-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  display: block;
}
.tv-to-top:hover { background: var(--brand-accent); color: var(--on-accent, #1e2421); transform: translateY(-2px); }

/* Quantity stepper */
.tv-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface);
  flex: none;
  vertical-align: middle;
}
.tv-qty button {
  width: 38px;
  height: 42px;
  border: 0;
  background: var(--bg-muted);
  cursor: pointer;
  color: var(--text-primary);
  font-size: 15px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: background-color var(--dur) var(--ease);
}
.tv-qty button:hover { background: var(--bg-subtle); }
.tv-qty input {
  width: 46px;
  height: 42px;
  border: 0;
  text-align: center;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  flex: none;
  padding: 0;
  margin: 0;
  background: var(--bg-surface);
  -moz-appearance: textfield;
  appearance: textfield;
}
.tv-qty input::-webkit-outer-spin-button,
.tv-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ===== 6. Product card ===== */
.tv-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  min-width: 0;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.tv-product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.tv-product-card__figure {
  position: relative;
  margin: 0;
  background: var(--bg-muted);
  overflow: hidden;
}

.tv-product-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  background: var(--bg-muted);
  position: relative;
}

/* The primary picture and the hover picture are stacked: the second one
   fades in on hover so the card feels alive without a layout shift. */
.tv-product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.42s var(--ease), transform 0.6s var(--ease);
}
.tv-product-card__media img.tv-product-card__alt { opacity: 0; }
.tv-product-card:hover .tv-product-card__media img.tv-product-card__main { opacity: 0; }
.tv-product-card:hover .tv-product-card__media img.tv-product-card__alt { opacity: 1; }
.tv-product-card:hover .tv-product-card__media img { transform: scale(1.04); }

/* Badge: top-left corner, a single quiet label. */
.tv-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  pointer-events: none;
}

/* Wishlist and compare: a small stack of round buttons in the top-right
   corner. They float above the picture and are always reachable. */
.tv-product-card__tools {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.tv-wish {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-primary);
  padding: 0;
  flex: none;
  box-shadow: var(--shadow-xs);
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tv-wish svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.tv-wish:hover { color: var(--brand-accent); transform: translateY(-1px); }
.tv-wish.is-on { background: var(--brand-accent); color: var(--on-accent, #1e2421); }
.tv-wish.is-on svg { fill: currentColor; }
.tv-wish--compare.is-on svg { fill: none !important; stroke: currentColor; }

.tv-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 16px 0;
  min-width: 0;
}

.tv-product-card__cat {
  display: none !important;
}

.tv-product-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 7px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.42;
  min-height: 41px;
  overflow-wrap: anywhere;
}
.tv-product-card__title:hover { color: var(--brand-primary); }

.tv-product-card__desc {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.45;
  margin: 0 0 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 9px 0 12px;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.tv-price del {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 13px;
}
.tv-price__save {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-accent);
  background: var(--brand-accent-soft);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

/* Buy row: one full-width button, nothing else. The quantity stepper
   lives in the quick view, the product page and the cart drawer. */
.tv-product-card__buy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 16px;
  margin-top: auto;
}

.tv-btn--cart {
  width: 100%;
  min-height: 44px;
  gap: 9px;
}
.tv-btn--cart svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}

/* Quick view: slides up from the bottom of the picture on hover. */
.tv-qv {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0;
  border-radius: 0;
  background: rgba(24, 34, 31, 0.92);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 12px;
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 3;
  min-height: 42px;
}
.tv-product-card:hover .tv-qv,
.tv-product-card:focus-within .tv-qv { opacity: 1; transform: none; }
.tv-qv:hover { background: var(--brand-primary); }

/* ===== 7. Free shipping progress ===== */
.tv-shipbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 14px;
}
.tv-shipbar__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-secondary);
}
.tv-shipbar__meta b { color: var(--text-primary); font-weight: 700; }
.tv-shipbar__track {
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 9px;
}
.tv-shipbar__fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand-accent) 0%, #ef9a4d 100%);
  transition: width 0.4s var(--ease), background-color 0.3s var(--ease);
}
.tv-shipbar.is-unlocked .tv-shipbar__fill {
  background: linear-gradient(90deg, var(--success) 0%, #46a97c 100%);
}
.tv-shipbar__meta [data-ship-message] b { color: var(--brand-accent); }
.tv-shipbar.is-unlocked .tv-shipbar__meta [data-ship-message] b { color: var(--success); }

/* ===== 8. Cart drawer ===== */
.tv-mini-cart {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.tv-mini-cart[hidden] { display: none !important; }

.tv-mini-cart__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 34, 31, 0.42);
  cursor: pointer;
  animation: tv-fade-in 0.2s var(--ease);
}

.tv-mini-cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(432px, 100%);
  height: 100%;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: tv-slide-in 0.28s var(--ease);
}

@keyframes tv-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes tv-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* The page behind the drawer must not scroll while it is open. */
body.tv-lock { overflow: hidden; }

.tv-mini-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border: 0;
  flex: none;
}

.tv-mini-cart__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tv-mini-cart__title em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.tv-mini-cart__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  flex: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tv-mini-cart__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.9; fill: none; }
.tv-mini-cart__close:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* The free-shipping progress sits right under the header, so it is the
   first thing a shopper sees when the drawer opens. */
.tv-mini-cart__ship {
  padding: 12px 14px;
  margin: 0 16px 12px;
  background: var(--bg-subtle);
  border-radius: 0;
  border: 0;
  flex: none;
}
.tv-mini-cart__ship .tv-shipbar {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.tv-mini-cart__ship .tv-shipbar__meta { font-size: 13px; }

.tv-mini-cart__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 16px;
  -webkit-overflow-scrolling: touch;
}

#mini-cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2px 0 8px;
}

.tv-cartline {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 13px;
  padding: 12px;
  border: 0;
  background: #faf8f5;
  border-radius: 0;
  align-items: start;
}
.tv-cartline__media {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  flex: none;
}
.tv-cartline__media img { width: 100%; height: 100%; object-fit: cover; }
.tv-cartline__body { min-width: 0; display: grid; gap: 4px; }
.tv-cartline__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-cartline__name:hover { color: var(--brand-primary); }
.tv-cartline__variant { color: var(--text-muted); font-size: 12px; }
.tv-cartline__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}
.tv-cartline__price { font-weight: 700; font-size: 14px; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.tv-cartline__remove {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 2px;
  justify-self: start;
}
.tv-cartline__remove:hover { color: var(--danger); }

.tv-cartline .tv-qty button { width: 30px; height: 32px; }
.tv-cartline .tv-qty input { width: 38px; height: 32px; font-size: 13px; }
.tv-cartline .tv-qty input::-webkit-outer-spin-button,
.tv-cartline .tv-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tv-cartline .tv-qty input { -moz-appearance: textfield; }

/* One-click upsell */
.tv-upsell {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 12px;
  margin: 16px 0;
}
.tv-upsell__media {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}
.tv-upsell__media img { width: 100%; height: 100%; object-fit: cover; }
.tv-upsell__copy { min-width: 0; }
.tv-upsell__kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
  display: block;
}
.tv-upsell__name { font-size: 13px; font-weight: 600; color: var(--text-primary); display: block; line-height: 1.3; }
.tv-upsell__note { font-size: 11.5px; color: var(--text-secondary); display: block; margin-top: 2px; }
.tv-upsell__add {
  border: 1px solid var(--brand-primary);
  background: var(--bg-surface);
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  min-height: 36px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.tv-upsell__add:hover { background: var(--brand-primary); color: #fff; }

.tv-couponbox { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tv-couponbox input {
  height: 42px;
  border: 1px solid var(--border-color);
  padding: 0 12px;
  min-width: 150px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  flex: 1 1 140px;
  text-transform: uppercase;
}
.tv-couponbox .tv-btn { min-height: 42px; }

.tv-mini-cart__coupon {
  font-size: 12.5px;
  color: var(--success);
  font-weight: 600;
  margin: 6px 0 0;
  min-height: 18px;
}

.tv-mini-cart__totals {
  display: grid;
  gap: 7px;
  margin: 12px 0 14px;
}
.tv-mini-cart__totals li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.tv-mini-cart__totals span:last-child { font-variant-numeric: tabular-nums; }
.tv-mini-cart__discount { color: var(--success) !important; }
.tv-mini-cart__grand {
  border: 0;
  padding: 8px 10px;
  margin-top: 4px;
  background: #ffffff;
  border-radius: 0;
  font-size: 16px !important;
  font-weight: 700;
  color: var(--text-primary) !important;
}

.tv-mini-cart__foot {
  display: grid;
  gap: 10px;
  margin: 8px 12px 12px;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: #f5f2ec;
  flex: none;
}
.tv-mini-cart__foot .tv-btn { width: 100%; }

.tv-mini-cart__empty { text-align: center; padding: 48px 12px; color: var(--text-muted); }
.tv-mini-cart__empty svg {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  stroke: var(--border-strong);
  fill: none;
  stroke-width: 1.3;
}
.tv-mini-cart__empty b {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 6px;
}
.tv-mini-cart__empty p { font-size: 13.5px; margin-bottom: 16px; }

/* ===== 9. Quick view ===== */
.tv-quickview {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 24px;
}
.tv-quickview__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 34, 31, 0.55);
  cursor: pointer;
  animation: tv-fade-in 0.2s var(--ease);
}
.tv-quickview__panel {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: min(900px, 100%);
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 0;
  animation: tv-pop-in 0.26s var(--ease);
}
@keyframes tv-pop-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.tv-quickview__media {
  background: var(--bg-muted);
  border-right: 1px solid var(--border-color);
  position: relative;
}
.tv-quickview__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.tv-quickview__body { padding: 30px 32px 32px; display: grid; gap: 13px; align-content: start; }
.tv-quickview__cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
}
.tv-quickview__body h2 { font-size: 26px; line-height: 1.2; }
.tv-quickview__body p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

.tv-quickview__points { display: grid; gap: 7px; }
.tv-quickview__points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-secondary);
}
.tv-quickview__points svg { width: 16px; height: 16px; stroke: var(--success); fill: none; stroke-width: 2.2; flex: none; }

.tv-quickview__assure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 12px 0 2px;
  border-top: 1px solid var(--border-color);
}
.tv-quickview__assure li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.tv-quickview__assure svg { width: 15px; height: 15px; stroke: var(--brand-primary); fill: none; stroke-width: 1.9; flex: none; }

.tv-quickview__buy { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.tv-quickview__buy .tv-btn { flex: 1; min-width: 0; }

.tv-quickview__full {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-primary);
  justify-self: start;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tv-quickview__full:hover { color: var(--brand-accent); border-color: var(--brand-accent); }

.tv-quickview__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  color: var(--text-primary);
  border-radius: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 0;
}
.tv-quickview__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.9; fill: none; }
.tv-quickview__close:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* ===== 10. Footer, newsletter, legal ===== */
.tv-newsletter {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-top: 40px;
}
.tv-newsletter__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
}
.tv-newsletter h2 { font-size: 24px; margin-bottom: 6px; }
.tv-newsletter p { color: var(--text-secondary); font-size: 14px; max-width: 62ch; }
.tv-newsletter form { display: flex; gap: 0; min-width: min(440px, 100%); }
.tv-newsletter input {
  flex: 1;
  height: 48px;
  border: 1px solid var(--border-color);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 14px;
  background: var(--bg-surface);
  color: var(--text-primary);
  min-width: 0;
}
.tv-newsletter button { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; height: 48px; }

.tv-footer { background: var(--brand-primary); color: rgba(247, 244, 239, 0.72); margin-top: 0; }
.tv-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 40px;
}
.tv-footer h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.tv-footer p { font-size: 13.5px; line-height: 1.7; max-width: 34ch; }
.tv-footer a {
  display: block;
  padding: 6px 0;
  color: rgba(247, 244, 239, 0.72);
  line-height: 1.5;
  font-size: 13.5px;
  transition: color var(--dur) var(--ease);
}
.tv-footer a:hover { color: #fff; }

.tv-legal { background: var(--footer-deep); color: rgba(247, 244, 239, 0.55); font-size: 12px; }
.tv-legal .tv-container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .tv-container { width: min(var(--container), calc(100% - 32px)); }
  .tv-primary-nav a { padding: 8px 10px; font-size: 14px; }
  .tv-tool__name { max-width: 76px; }
}

@media (max-width: 991px) {
  .tv-header-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; }
  .tv-search { grid-column: 1 / -1; order: 3; }
  .tv-tool small { display: none; }
  .tv-menu-toggle { display: inline-flex; align-items: center; }
  .tv-nav { position: relative; }
  .tv-nav__row { flex-wrap: nowrap; }
  .tv-lang__btn { padding: 7px 10px; font-size: 13px; }
  .tv-primary-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    flex-direction: column;
    align-items: stretch;
    z-index: 25;
    padding: 8px;
    box-shadow: var(--shadow-md);
  }
  .tv-primary-nav.is-open { display: flex; }
  .tv-primary-nav a { padding: 11px 14px; color: var(--text-primary); }
  .tv-primary-nav a:hover { background: var(--bg-muted); color: var(--brand-primary); }
  .tv-primary-nav a.is-active { color: var(--brand-primary); background: var(--brand-primary-soft); box-shadow: none; }
  .tv-newsletter__row { flex-direction: column; align-items: stretch; }
  .tv-newsletter form { min-width: 0; }
  .tv-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .tv-quickview__panel { grid-template-columns: minmax(0, 1fr); }
  .tv-quickview__media { border-right: 0; border-bottom: 1px solid var(--border-color); }
  .tv-quickview__body { padding: 22px 20px 24px; }
  .tv-quickview__body h2 { font-size: 22px; }
}

@media (max-width: 767px) {
  .tv-header { position: sticky; top: 0; z-index: 48; box-shadow: none; background: var(--brand-primary); }
  .tv-header-main {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: auto;
  }
  .tv-header-tools {
    grid-column: 2;
    order: 2;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .tv-search {
    grid-column: 1 / -1;
    order: 3;
    height: 42px;
  }
  .tv-search input { min-width: 0; font-size: 13.5px; }
  .tv-tool { gap: 4px; padding: 4px; }
  .tv-tool:not(#cart-open) .tv-tool__name { display: none; }
  .tv-tool__count { left: 24px; top: -2px; border: 0 !important; }
  .tv-menu-toggle { padding: 0; width: 34px; height: 34px; margin-left: 2px; justify-content: center; }
  .tv-nav__row { min-height: 46px; }
  .tv-footer a { padding: 6px 0; }
  .tv-legal .tv-container { flex-direction: column; }
  .tv-notice { left: 14px; right: 14px; bottom: 76px; max-width: none; }
  .tv-to-top { bottom: 20px; right: 14px; }
  .tv-panel__head { padding: 18px 0px; flex-wrap: wrap; gap: 6px 12px; }
  .tv-panel__head h2 { font-size: 20px; width: auto; flex: 1 1 auto; }
  .tv-mini-cart__panel { width: 100%; }
  .tv-upsell { grid-template-columns: 48px minmax(0, 1fr); }
  .tv-upsell__add { grid-column: 1 / -1; width: 100%; }
  .tv-upsell__media { width: 48px; height: 48px; }
}

@media (max-width: 479px) {
  .tv-container { width: calc(100% - 20px) !important; }
  .tv-logo__word { font-size: 20px; }
  .tv-logo small { font-size: 8.5px; letter-spacing: 0.14em; }
  .tv-logo__mark { width: 34px; height: 34px; border-radius: 9px; }
  .tv-tool__icon { width: 34px; height: 34px; }
  .tv-search select { display: none; }
  .tv-newsletter form { flex-direction: column; gap: 8px; }
  .tv-newsletter input { border-right: 1px solid var(--border-color); border-radius: var(--radius-sm); }
  .tv-newsletter button { border-radius: var(--radius-sm); width: 100%; }
}

/* ==========================================================================
   11. Tailovo TV — Mini-YouTube Video Platform & Inline Video Widgets
   ========================================================================== */

/* Nav badge for Video Hub */
.tv-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(224, 109, 59, 0.14);
  color: var(--brand-accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 5px;
  vertical-align: middle;
}
.tv-nav-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-accent);
}

/* Mini-YouTube Header Bar (Overflow-safe Grid + Shop-style Quickbar Tabs) */
.tv-yt-header {
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 20px 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.tv-yt-header > * {
  min-width: 0;
  max-width: 100%;
}

.tv-yt-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.tv-yt-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.tv-yt-brand__icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: none;
}
.tv-yt-brand__icon .tv-yt-logo-img {
  width: 38px !important;
  height: auto !important;
  display: block;
}

.tv-yt-brand__text {
  display: flex;
  align-items: center;
  min-width: 0;
}
.tv-yt-brand__text h1,
.tv-yt-brand__text h2 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.tv-yt-brand__text p {
  display: none !important;
}

/* Enlarged section titles on /videos/ without descriptions */
.tv-sectitle--lg {
  align-items: center !important;
  margin: 28px 0 16px;
}
.tv-sectitle--lg h2 {
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.tv-sectitle--lg p {
  display: none !important;
}
.tv-shorts-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  flex: none;
}
.tv-shorts-badge-icon .tv-yt-logo-img,
.tv-sec-yt-icon {
  width: 32px !important;
  height: auto !important;
  display: block;
  flex: none;
}

.tv-yt-search {
  display: flex;
  align-items: center;
  flex: 1 1 300px;
  max-width: 460px;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-muted);
  overflow: hidden;
  padding-left: 16px;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tv-yt-search:focus-within {
  border-color: var(--brand-primary);
  background: var(--bg-surface);
}
.tv-yt-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: var(--text-primary);
  min-width: 0;
}
.tv-yt-search button {
  width: 52px;
  height: 100%;
  border: 0;
  border-left: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  flex: none;
}
.tv-yt-search button:hover { background: var(--brand-primary); color: #fff; }

.tv-yt-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.tv-yt-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

/* YouTube / Blog Category Horizontal Slide Bar (Synced with Shop #tv-shop-quickbar) */
.tv-yt-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.tv-yt-header__filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.tv-yt-chips {
  display: flex !important;
  align-items: center;
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap !important;
  gap: 8px;
  overflow-x: auto !important;
  overflow-y: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-x;
  scrollbar-width: none;
  padding-bottom: 2px;
  user-select: none;
  cursor: grab;
}
.tv-yt-chips::-webkit-scrollbar { display: none; }
.tv-yt-chips.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
}

.tv-yt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto !important;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap !important;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.tv-yt-chip span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}
.tv-yt-chip:hover {
  border-color: var(--brand-primary);
  background: var(--bg-surface);
  color: var(--brand-primary);
}
.tv-yt-chip.is-on {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}
.tv-yt-chip.is-on span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.tv-yt-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  flex: 0 0 auto;
  white-space: nowrap;
}
.tv-yt-sort select {
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
}

/* Featured Spotlight Video Hero */
.tv-yt-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  background: #121a17;
  color: #fff;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
}

.tv-yt-spotlight__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #090e0c;
  overflow: hidden;
}
.tv-yt-spotlight__stage > video,
.tv-yt-spotlight__stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv-yt-spotlight__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 12, 0.2) 0%, rgba(9, 14, 12, 0.1) 50%, rgba(9, 14, 12, 0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  pointer-events: none;
}

.tv-yt-spotlight__playbtn {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 45px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s var(--ease);
}
.tv-yt-spotlight__playbtn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: transparent;
}
.tv-yt-spotlight__playbtn .tv-yt-logo-img {
  width: 64px !important;
  height: auto !important;
  display: block;
}

.tv-yt-spotlight__body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.tv-yt-spotlight__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  background: rgba(224, 109, 59, 0.2);
  border: 1px solid rgba(224, 109, 59, 0.4);
  color: #ff9c70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.tv-yt-spotlight__body h2 {
  color: #fff;
  font-size: 26px;
  line-height: 1.22;
}
.tv-yt-spotlight__body p {
  color: rgba(247, 244, 239, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.tv-yt-channel {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tv-yt-channel__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.tv-yt-channel__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tv-yt-channel__meta { display: grid; line-height: 1.3; }
.tv-yt-channel__name {
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tv-yt-verified {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
  font-size: 9px;
  font-weight: 700;
}
.tv-yt-channel__sub { font-size: 12px; opacity: 0.72; }

.tv-yt-spotlight__products {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tv-yt-miniprod {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 7px 11px 7px 7px;
  color: #fff;
  font-size: 12.5px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tv-yt-miniprod:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}
.tv-yt-miniprod img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
}
.tv-yt-miniprod b { display: block; font-size: 12.5px; line-height: 1.25; }
.tv-yt-miniprod span { color: #ff9c70; font-weight: 700; font-size: 12px; }

/* YouTube Video Card Grid */
.tv-yt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 18px;
}

.tv-yt-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tv-vcard {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.tv-vcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.tv-vcard__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #141d1a;
  overflow: hidden;
}
.tv-vcard__thumb > img,
.tv-vcard__thumb > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.tv-vcard:hover .tv-vcard__thumb > img {
  transform: scale(1.05);
}

.tv-vcard__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: 48px;
  height: 34px;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease);
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.42));
}
.tv-vcard:hover .tv-vcard__play {
  background: transparent;
  border: 0;
  transform: translate(-50%, -50%) scale(1.06);
}
.tv-vcard__play .tv-yt-logo-img {
  width: 48px !important;
  height: auto !important;
  display: block;
}

.tv-vcard__duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(12, 18, 16, 0.88);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 2px 6px;
  border-radius: 5px;
  line-height: 1.25;
}

.tv-vcard__badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(30, 70, 56, 0.92);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 6px;
}
.tv-vcard__badge--hot { background: rgba(224, 69, 59, 0.92); }

/* Hover red progress bar at bottom of thumbnail like YouTube */
.tv-vcard__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tv-vcard__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #e03b3b;
  transition: width 1.2s linear;
}
.tv-vcard:hover .tv-vcard__progress { opacity: 1; }
.tv-vcard:hover .tv-vcard__progress span { width: 65%; }

.tv-vcard__body {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  padding: 13px 14px 14px;
  flex: 1;
}

.tv-vcard__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
  margin-top: 2px;
}
.tv-vcard__avatar img { width: 100%; height: 100%; object-fit: cover; }

.tv-vcard__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tv-vcard__title {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.38;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-vcard__title:hover { color: var(--brand-primary); }

.tv-vcard__channel {
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tv-vcard__meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tv-vcard__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.tv-vcard__shopchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.tv-vcard__shopchip:hover {
  background: var(--brand-primary);
  color: #fff;
}

.tv-vcard__quickbtn {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
}
.tv-vcard__quickbtn:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

/* YouTube Shorts Shelf (9:16 Vertical Cards) */
.tv-shorts-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.tv-short {
  position: relative;
  aspect-ratio: 9 / 15.5;
  border-radius: 14px;
  overflow: hidden;
  background: #141d1a;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  isolation: isolate;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tv-short:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tv-short > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.55s var(--ease);
}
.tv-short:hover > img { transform: scale(1.06); }
.tv-short::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.86) 100%);
}
.tv-short__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(224, 59, 59, 0.92);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tv-short__play {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 23px;
  background: transparent;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
.tv-short__play .tv-yt-logo-img {
  width: 32px !important;
  height: auto !important;
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: block;
}
.tv-short h3 {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.32;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-short span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   12. YouTube Watch Page (pages/video-detail.html)
   ========================================================================== */

.tv-watch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.tv-watch.is-theater {
  grid-template-columns: minmax(0, 1fr);
}

.tv-watch__main {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.tv-watch__player-box {
  position: relative;
  background: #0b110f;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none;
}

.tv-watch__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.tv-watch__stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv-watch__chapters-bar,
.tv-sub-btn {
  display: none !important;
}

.tv-watch__header {
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 20px 22px;
  display: grid;
  gap: 14px;
}

.tv-watch__title {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.tv-watch__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.tv-watch__creator {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tv-sub-btn {
  border: 0;
  background: var(--text-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
}
.tv-sub-btn:hover { background: var(--brand-primary); }
.tv-sub-btn.is-subscribed {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.tv-watch__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tv-yt-act {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-muted);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tv-yt-act svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.tv-yt-act:hover { background: var(--bg-subtle); border-color: var(--border-strong); }
.tv-yt-act.is-on {
  background: var(--brand-accent-soft);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

/* YouTube Shopping Shelf inside Watch Page */
.tv-watch__shop {
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 18px 20px;
}

.tv-watch__shop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tv-watch__shop-head h2 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-watch__shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.tv-watch-prod {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 0;
  border-radius: 0;
  padding: 10px;
  background: var(--bg-primary);
  min-width: 0;
}
.tv-watch-prod img {
  width: 68px;
  height: 68px;
  border-radius: 0;
  object-fit: cover;
  background: #fff;
}
.tv-watch-prod__info { min-width: 0; display: grid; gap: 3px; }
.tv-watch-prod__info a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-watch-prod__info a:hover { color: var(--brand-primary); }
.tv-watch-prod__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-accent);
}
.tv-watch-prod__actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.tv-watch-prod__actions .tv-btn {
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
}

/* YouTube Description Box */
.tv-watch__desc {
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 18px 22px;
  font-size: 14px;
  color: var(--text-primary);
  display: grid;
  gap: 10px;
}
.tv-watch__desc-meta {
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tv-watch__desc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tv-watch__desc-tags a {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 13px;
}

/* YouTube Comments Section */
.tv-watch__comments {
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 20px 22px;
  display: grid;
  gap: 18px;
}

.tv-watch__comments .tv-comment-form {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.tv-watch__comments .tv-comment-form__fields {
  display: grid;
  gap: 10px;
}
.tv-watch__comments .tv-comment-form__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tv-watch__comments .tv-comment-form input,
.tv-watch__comments .tv-comment-form textarea {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--bg-primary);
  width: 100%;
}

.tv-watch__comments .tv-comment-list {
  display: grid;
  gap: 16px;
}
.tv-watch__comments .tv-comment-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}
.tv-watch__comments .tv-comment-item:last-child { border-bottom: 0; padding-bottom: 0; }
.tv-comment-item__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}
.tv-comment-item__head b { color: var(--text-primary); }
.tv-comment-item__head span { color: var(--text-muted); font-size: 12px; }
.tv-comment-pinned {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  padding: 2px 8px;
  border-radius: 999px;
}
.tv-comment-item__text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 5px 0 8px;
}
.tv-comment-item__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.tv-comment-like {
  border: 0;
  background: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
}
.tv-comment-like:hover { background: var(--bg-subtle); color: var(--brand-primary); }

/* Right Sidebar: Up Next Queue */
.tv-watch__side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.tv-upnext-list {
  display: grid;
  gap: 10px;
}

.tv-upnext {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.tv-upnext:hover,
.tv-upnext.is-playing {
  background: var(--brand-primary-soft);
  transform: translateX(2px);
}
.tv-upnext__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: #141d1a;
}
.tv-upnext__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tv-upnext__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.tv-upnext__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-upnext__meta {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Global Video Quick-Watch Modal */
.tv-vmodal {
  position: fixed;
  inset: 0;
  z-index: 98;
  display: grid;
  place-items: center;
  padding: 20px;
}
.tv-vmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 16, 0.78);
  backdrop-filter: blur(4px);
  border: 0;
}
.tv-vmodal__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #121a17;
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  z-index: 2;
  animation: tv-pop-in 0.24s var(--ease);
}
.tv-vmodal__stage {
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tv-vmodal__stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.tv-vmodal__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #17221e;
}
.tv-vmodal__body h3 { color: #fff; font-size: 20px; line-height: 1.25; }
.tv-vmodal__body p { color: rgba(255, 255, 255, 0.78); font-size: 13.5px; line-height: 1.6; }
.tv-vmodal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 5;
}

/* ==========================================================================
   13. Editorial Blog & News Hub (pages/blog.html & pages/blog-post.html)
   ========================================================================== */

.tv-blog-hero {
  display: none !important;
}

.tv-blog-hero__media {
  position: relative;
  min-height: 340px;
  background: #122820;
}
.tv-blog-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-blog-hero__body {
  padding: 36px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.tv-blog-hero__body h1 {
  color: #fff;
  font-size: 32px;
  line-height: 1.16;
}
.tv-blog-hero__body p {
  color: rgba(247, 244, 239, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.tv-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.tv-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tv-bcard {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.tv-bcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tv-bcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-muted);
  overflow: hidden;
  display: block;
}
.tv-bcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.tv-bcard:hover .tv-bcard__media img { transform: scale(1.05); }

.tv-bcard__badges {
  display: none !important;
}
.tv-bcard__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.tv-bcard__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.tv-bcard__title {
  font-size: 18.5px;
  line-height: 1.3;
  color: var(--text-primary);
}
.tv-bcard__title a:hover { color: var(--brand-primary); }
.tv-bcard__excerpt {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-bcard__foot {
  display: none !important;
}

.tv-blog-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 96px;
  border: 0 !important;
  border-radius: 0 !important;
}

.tv-sidebox {
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 20px;
  display: grid;
  gap: 14px;
}
.tv-sidebox h3 {
  font-size: 17px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.tv-trend-list {
  display: grid;
  gap: 12px;
}
.tv-trend-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.tv-trend-item__num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.tv-trend-item a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  display: block;
}
.tv-trend-item a:hover { color: var(--brand-accent); }
.tv-trend-item small {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Blog Post Detail Layout */
.tv-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.tv-post-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}

.tv-post-header {
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 32px 36px;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  min-width: 0;
}
.tv-post-header h1 {
  font-size: 36px;
  line-height: 1.15;
  max-width: 26ch;
}
.tv-post-header__lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 68ch;
  line-height: 1.6;
}
.tv-post-authorbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.tv-post-body {
  background: var(--bg-surface);
  border: 0 !important;
  border-radius: 0 !important;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.tv-post-body h2 {
  font-size: 24px;
  margin-top: 12px;
}
.tv-post-body h3 {
  font-size: 19px;
  margin-top: 8px;
}
.tv-post-body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.tv-post-body ul,
.tv-post-body ol {
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}
.tv-post-body ul { list-style: disc; }
.tv-post-body ol { list-style: decimal; }

.tv-vet-callout {
  background: var(--brand-primary-soft);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  display: grid;
  gap: 6px;
}
.tv-vet-callout b {
  color: var(--brand-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive for Video Hub, Watch Page & Blog */
@media (max-width: 1199px) {
  .tv-yt-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tv-shorts-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tv-shorts-row .tv-short:nth-child(5) { display: none; }
}

@media (max-width: 991px) {
  .tv-yt-spotlight,
  .tv-blog-hero,
  .tv-watch,
  .tv-blog-layout,
  .tv-post-layout,
  .tv-vmodal__panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-watch__side,
  .tv-blog-side {
    position: static;
  }
  .tv-yt-grid,
  .tv-yt-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tv-shorts-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tv-shorts-row .tv-short:nth-child(4) { display: none; }
}

@media (max-width: 767px) {
  .tv-yt-header {
    padding: 14px;
    gap: 12px;
    margin-bottom: 16px;
  }
  .tv-yt-brand__text h1,
  .tv-yt-brand__text h2 {
    font-size: 22px;
  }
  .tv-sectitle--lg {
    margin: 22px 0 12px;
  }
  .tv-sectitle--lg h2 {
    font-size: 20px !important;
  }
  .tv-yt-search {
    max-width: none !important;
    width: 100%;
    flex: 1 1 100%;
    height: 40px;
  }
  .tv-yt-header__bar,
  .tv-yt-header__filterbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }
  .tv-yt-chips {
    width: 100%;
    flex: 1 1 auto;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 2px;
  }
  .tv-yt-chip {
    flex: 0 0 auto !important;
    height: 36px;
    padding: 0 12px;
    font-size: 12.5px;
  }
  .tv-yt-sort {
    width: 100%;
    justify-content: space-between;
  }
  .tv-yt-sort select {
    flex: 1;
    height: 36px;
  }
  .tv-yt-spotlight__body,
  .tv-post-header,
  .tv-post-body {
    padding: 18px 10px;
    gap: 10px;
  }
  #comments.tv-comments {
    padding: 20px 10px;
    gap: 18px;
  }
  .tv-yt-spotlight__body h2,
  .tv-post-header h1 {
    font-size: 21px;
    line-height: 1.24;
  }
  .tv-post-header__lead {
    font-size: 13.5px;
    line-height: 1.55;
  }
  .tv-yt-grid,
  .tv-yt-grid--4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .tv-blog-grid,
  .tv-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .tv-bcard__body {
    padding: 12px;
    gap: 6px;
  }
  .tv-bcard__meta {
    font-size: 10.5px;
    gap: 4px;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tv-bcard__meta span {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .tv-bcard__title {
    font-size: 14px;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tv-bcard__excerpt {
    font-size: 12px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }
  .tv-bcard__badges {
    display: none !important;
  }
  .tv-blog-layout,
  .tv-post-layout {
    gap: 18px;
  }
  .tv-sidebox {
    padding: 16px 10px;
  }
  .tv-shorts-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tv-shorts-row .tv-short:nth-child(3) { display: none; }
  .tv-watch__header,
  .tv-watch__shop,
  .tv-watch__comments {
    padding: 16px;
  }
  .tv-watch__title { font-size: 18px; }
  .tv-upnext { grid-template-columns: 130px minmax(0, 1fr); }
}

/* Touch devices: the hover-only actions must stay reachable. */
@media (hover: none) {
  .tv-qv { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *:not(.tv-topbar__points),
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   14. Unified Global Refinements (Soft Radius, Centered Topbar, Mobile Header
       Fix, Hover-Only Card Tools/QuickView, Dropship Footer, 2-Column Mobile)
   ========================================================================== */

:root {
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-pill: 999px;
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}

/* 14.1 Single-Row Circular Marquee Topbar */
.tv-topbar {
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tv-topbar__row {
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
  margin-inline: auto;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.tv-topbar__points {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center;
  gap: 0 !important;
  width: max-content;
  margin: 0 !important;
  white-space: nowrap;
  will-change: transform;
  animation: tv-topbar-marquee 55s linear infinite;
}

.tv-topbar:hover .tv-topbar__points {
  animation-play-state: paused;
}

.tv-topbar__points span {
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
  padding-right: 56px;
  gap: 0;
  flex-shrink: 0;
}

.tv-topbar__points span::before,
.tv-topbar__points span + span::before {
  content: none !important;
  display: none !important;
}

.tv-topbar__mail {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 14.2 Lighter Corner Rounding Across Components */
.tv-logo__mark {
  border-radius: 6px !important;
}

.tv-panel,
.tv-quickview__panel,
.tv-vmodal__panel {
  border-radius: var(--radius-lg) !important;
}

.tv-blog-hero,
.tv-yt-header,
.tv-yt-spotlight,
.tv-post-header,
.tv-post-body,
.tv-blog-side,
.tv-blog-side .tv-sidebox,
.tv-sidebox,
.tv-pagehero,
.tv-page-head,
.tv-watch__player-box,
.tv-watch__header,
.tv-watch__shop,
.tv-watch__desc,
.tv-watch__comments,
.tv-watch__side,
.tv-upnext {
  border: 0 !important;
  border-radius: 0 !important;
}

.tv-product-card,
.tv-vcard,
.tv-bcard,
.tv-shipbar,
.tv-upsell {
  border-radius: var(--radius) !important;
}

.tv-btn,
.tv-qty,
.tv-icon-btn,
.tv-menu-toggle {
  border-radius: var(--radius-sm);
}

.tv-search {
  border-radius: 999px !important;
}

/* 14.3 Unified Product Card: Hover-Only Wishlist, Compare & Quick View on Desktop; Always Visible on Mobile */
.tv-product-card__tools {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 4;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-6px) !important;
  pointer-events: none !important;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.tv-product-card:hover .tv-product-card__tools,
.tv-product-card:focus-within .tv-product-card__tools {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

@media (max-width: 767px), (hover: none) {
  .tv-product-card__tools {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

.tv-wish {
  width: 34px;
  height: 34px;
  border-radius: 6px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-primary);
  padding: 0;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease);
}

.tv-wish:hover {
  color: var(--brand-accent);
  transform: translateY(-1px);
}

.tv-wish.is-on {
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
}

.tv-wish--compare.is-on svg {
  fill: none !important;
  stroke: currentColor;
}

.tv-qv {
  position: absolute;
  left: 8px !important;
  right: 8px !important;
  bottom: 8px !important;
  border: 0;
  border-radius: var(--radius-sm) !important;
  background: rgba(24, 34, 31, 0.92);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 10px 12px !important;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0 !important;
  visibility: hidden;
  transform: translateY(10px) !important;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s, background-color 0.2s !important;
  z-index: 4;
  min-height: 38px !important;
}

.tv-product-card:hover .tv-qv,
.tv-product-card:focus-within .tv-qv {
  opacity: 1 !important;
  visibility: visible;
  transform: translateY(0) !important;
  pointer-events: auto;
}

.tv-qv:hover {
  background: var(--brand-accent) !important;
}

/* Override any touch-device rule that forced Quick View or tools visible */
@media (hover: none) {
  .tv-qv {
    opacity: 0 !important;
    visibility: hidden;
    transform: translateY(10px) !important;
    pointer-events: none;
  }
  .tv-product-card:hover .tv-qv,
  .tv-product-card:active .tv-qv,
  .tv-product-card:focus-within .tv-qv {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(0) !important;
    pointer-events: auto;
  }
}

/* 14.4 Enhanced Dropship Footer (Brand, Email, Socials, We Accept) */
.tv-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
}

.tv-footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 340px;
  min-width: 0;
  margin-top: 2px;
}

.tv-footer__newsletter-title {
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 600;
  line-height: 1.45;
  color: #fff !important;
  max-width: none !important;
}

.tv-footer__newsletter-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.tv-footer__newsletter-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 38px;
  border: 0;
  background: transparent;
  padding: 0 11px;
  color: var(--text-primary);
  font-size: 13.5px;
  outline: none;
}

.tv-footer__newsletter-form input[type="email"]::placeholder {
  color: #87928e;
}

.tv-footer__newsletter-form button {
  flex: 0 0 auto;
  min-height: 38px;
  height: 38px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px !important;
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
  border: 0;
  white-space: nowrap;
}

.tv-footer__newsletter-form button:hover {
  background: var(--brand-accent-hover);
}

.tv-footer__follow-label {
  margin: 4px 0 0 !important;
  font-size: 14px !important;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 0.01em;
  max-width: none !important;
}

.tv-footer__logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 24px !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tv-footer__logo b {
  color: var(--brand-accent);
  font-weight: 600;
}

.tv-footer__contact {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tv-footer__contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(247, 244, 239, 0.85);
  max-width: none;
}

.tv-footer__contact a {
  display: inline !important;
  padding: 0 !important;
  color: #fff !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tv-footer__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  max-width: 100%;
}

.tv-footer__socials a {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0 !important;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #fff;
  display: inline-grid !important;
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tv-footer__socials a:hover {
  background: #fff;
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}

.tv-footer__socials svg {
  display: block;
}

.tv-footer__logo-img-wrap {
  display: inline-block !important;
  padding: 0 !important;
  line-height: 0;
  max-width: 200px;
}

.tv-footer__logo-img {
  width: auto !important;
  max-width: 200px;
  max-height: 56px;
  height: auto;
  display: block;
}

.tv-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
  padding: 16px 0;
}

.tv-footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tv-footer__accept {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tv-footer__accept-label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(247, 244, 239, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tv-pay-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tv-pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  min-height: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Plain-text fallback badge when no brand SVG matches. */
.tv-pay-badge.tv-pay-pill {
  color: #1a2b4a !important;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 4px 8px !important;
}

.tv-pay-badge svg {
  display: block;
  width: 38px;
  height: 24px;
}

.tv-footer__policies {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tv-footer__policies a {
  display: inline !important;
  padding: 0 !important;
  font-size: 12.5px !important;
  color: rgba(247, 244, 239, 0.72);
}

/* 14.5 Mobile Header & 2-Column Mobile Grid Fixes */
@media (max-width: 767px) {
  .tv-topbar {
    min-height: 32px;
    padding: 4px 0;
    font-size: 11.5px;
  }
  .tv-topbar__points {
    justify-content: flex-start !important;
    animation-duration: 45s;
  }
  .tv-topbar__points span {
    display: inline-flex !important;
    padding-right: 40px;
  }

  /* Prevent right overflow on mobile header & search */
  .tv-header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 100%;
    max-width: 100%;
  }

  .tv-logo {
    min-width: 0;
    gap: 8px;
  }

  .tv-logo__mark {
    width: 34px;
    height: 34px;
  }

  .tv-logo__word {
    font-size: 20px;
  }

  .tv-logo small {
    font-size: 8px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .tv-header-tools {
    grid-column: 2;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px !important;
    min-width: 0;
    flex-shrink: 0;
  }

  /* Hide Compare icon in mobile top bar (available inside menu) so tools never overflow */
  .tv-tool--compare {
    display: none !important;
  }

  .tv-tool {
    padding: 2px !important;
    gap: 0 !important;
  }

  .tv-tool:not(#cart-open) .tv-tool__text,
  .tv-tool:not(#cart-open) small,
  .tv-tool:not(#cart-open) .tv-tool__name {
    display: none !important;
  }

  .tv-tool__icon {
    width: 32px;
    height: 32px;
    background: #ffffff !important;
    border: 0 !important;
  }

  .tv-tool__count {
    left: 18px;
    top: -3px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    border: 0 !important;
  }

  .tv-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #ffffff !important;
    margin-left: 2px;
    flex-shrink: 0;
  }

  .tv-menu-toggle svg {
    width: 17px !important;
    height: 17px !important;
  }

  .tv-search {
    grid-column: 1 / -1 !important;
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    padding: 0 4px 0 4px;
    display: flex;
    overflow: visible;
  }

  .tv-search select {
    display: none !important;
  }

  .tv-search input {
    flex: 1 1 auto;
    min-width: 0 !important;
    width: 100%;
    padding: 0 14px !important;
    font-size: 13.5px !important;
  }

  .tv-search button {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
  }

  /* Enforce 2 columns on mobile for Videos, Articles, Stories, and Products */
  .tv-yt-grid,
  .tv-yt-grid--4,
  .tv-blog-grid,
  .tv-story-grid,
  .tv-articlegrid,
  .tv-product-grid:not(.tv-grid-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  /* Compact video cards and blog cards to fit 2 columns cleanly on phones */
  .tv-vcard__body {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 10px !important;
    gap: 6px !important;
  }
  .tv-vcard__avatar {
    display: none !important;
  }
  .tv-vcard__title {
    font-size: 12.5px !important;
    line-height: 1.32 !important;
  }
  .tv-vcard__channel,
  .tv-vcard__meta {
    font-size: 11px !important;
  }
  .tv-vcard__foot {
    padding-top: 6px !important;
    gap: 4px !important;
  }
  .tv-vcard__shopchip,
  .tv-vcard__quickbtn {
    font-size: 10.5px !important;
    padding: 2px 6px !important;
  }

  .tv-bcard__body,
  .tv-story div,
  .tv-article__body {
    padding: 10px !important;
    gap: 6px !important;
  }
  .tv-bcard__title,
  .tv-story h2,
  .tv-article__body h3 {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
  }
  .tv-bcard__excerpt,
  .tv-article__body p {
    font-size: 11.5px !important;
    -webkit-line-clamp: 2 !important;
  }
}


/* ===== Global US Typography, SVG Sizing Safeguard & Kicker Removal ===== */
svg:not([width]):not(.tv-404__art svg) {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tv-kicker,
.tv-hero-slide__kicker,
.tv-bundle__kicker,
.tv-flash__kicker,
.tv-pagehero__kicker,
.tv-about-kicker,
.tv-yt-spotlight__kicker,
.tv-eyebrow,
.tv-upsell__kicker {
  display: none !important;
}


/* ==========================================================================
   14. Unified Grid, Card & Mobile Compactness Overrides
   - Ensures header & topbar stay 100% inside .tv-container on all phones
   - Synchronizes .tv-product-card, .tv-compare, and #row-related (.tv-scroller)
   - Prioritizes 4 columns on desktop and 2 compact columns on mobile
   ========================================================================== */

html, body {
  max-width: 100%;
  overflow-x: clip;
}

/* Style .tv-compare identically to .tv-wish so every product card tool button matches */
.tv-compare {
  width: 34px;
  height: 34px;
  border-radius: 6px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-primary);
  padding: 0;
  flex: none;
  box-shadow: var(--shadow-xs);
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tv-compare svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.tv-compare:hover { color: var(--brand-accent); transform: translateY(-1px); }
.tv-compare.is-on { background: var(--brand-accent); color: var(--on-accent, #1e2421); }
.tv-compare.is-on svg { fill: none !important; stroke: currentColor; }

/* Related products & product grids: 4 columns on desktop */
.tv-scroller,
#row-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}

.tv-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Ensure every product card across shop, category, home, and related has identical structure & spacing */
.tv-product-card .tv-product-card__media {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-muted);
}
.tv-product-card .tv-product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tv-product-card .tv-product-card__buy {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 16px 16px;
  margin-top: auto;
}
.tv-product-card .tv-product-card__buy .tv-btn {
  width: 100%;
  min-height: 42px;
  font-size: 13.5px;
}

/* Mobile & Tablet Header Containment + Multi-Column Compactness */
@media (max-width: 991px) {
  .tv-topbar__row,
  .tv-header-main,
  .tv-nav__row {
    width: min(var(--container), calc(100% - 28px));
    max-width: 100%;
    margin-inline: auto;
  }

  .tv-nav__row {
    position: relative;
    justify-content: flex-start;
    align-items: center;
  }

  /* Open mobile menu stays neatly inside the container as a 2-column grid */
  .tv-primary-nav.is-open {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    left: 12px;
    right: 12px;
    width: auto;
    padding: 10px;
  }
  .tv-primary-nav.is-open a {
    padding: 9px 11px;
    font-size: 13.5px;
    background: var(--bg-muted);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
  }
  .tv-primary-nav.is-open .tv-menu-tools {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 0 0;
    margin-top: 4px;
  }

  .tv-product-grid,
  .tv-scroller,
  #row-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 767px) {
  body {
    background: #ffffff !important;
  }
  /* Strict container alignment on phones */
  .tv-container,
  .tv-topbar__row,
  .tv-header-main,
  .tv-nav__row {
    width: calc(100% - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-inline: auto !important;
    box-sizing: border-box;
  }

  /* Single-row circular marquee on mobile */
  .tv-topbar { min-height: 32px; font-size: 11.5px; }
  .tv-topbar__row { min-width: 0; overflow: hidden; }
  .tv-topbar__points { width: max-content !important; justify-content: flex-start !important; }
  .tv-topbar__points span,
  .tv-topbar__points span:first-child {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    display: inline-flex !important;
  }

  /* Fit logo + tools + menu button 100% inside .tv-container without horizontal overflow */
  .tv-header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    min-height: auto;
    width: 100%;
  }
  .tv-logo { min-width: 0; gap: 8px; }
  .tv-logo__mark { width: 34px; height: 34px; border-radius: 9px; }
  .tv-logo__word { font-size: 20px; }
  .tv-logo small { font-size: 8px; letter-spacing: 0.12em; margin-top: 2px; }

  /* Show all 4 header icons (Account, Wishlist, Compare, Cart) + Menu button cleanly inside .tv-container on mobile */
  .tv-header-tools a[href*="wishlist.html"],
  .tv-header-tools a[href*="compare.html"] {
    display: inline-flex !important;
  }
  .tv-header-tools {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }
  .tv-logo { min-width: 0; gap: 6px; }
  .tv-logo__mark { width: 30px; height: 30px; border-radius: 8px; }
  .tv-logo__mark svg { width: 17px; height: 17px; }
  .tv-logo__word { font-size: 18.5px; }
  .tv-logo small { font-size: 7px; letter-spacing: 0.1em; margin-top: 1px; }
  .tv-header-tools {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 2px !important;
    flex-shrink: 0;
  }
  .tv-tool {
    display: inline-flex !important;
    padding: 2px !important;
    gap: 0 !important;
  }
  .tv-tool__icon {
    width: 35px !important;
    height: 35px !important;
    background: #ffffff !important;
    border: 0 !important;
  }
  .tv-tool__icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .tv-tool__count {
    left: 17px !important;
    top: -3px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 3px !important;
    font-size: 9.5px !important;
    border: 0 !important;
  }
  #cart-open {
    gap: 6px !important;
    padding: 2px 4px 2px 2px !important;
  }
  #cart-open > span:last-child {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
  }
  #cart-open small {
    display: block !important;
    font-size: 9.5px !important;
    line-height: 1.15 !important;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
  }
  #cart-open .tv-tool__name {
    display: block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #fff;
    max-width: none !important;
    white-space: nowrap;
  }
  .tv-menu-toggle {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #ffffff !important;
    margin-left: 2px !important;
    justify-content: center;
  }
  .tv-menu-toggle svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Search bar sits cleanly as row 2 inside .tv-container */
  .tv-search {
    grid-column: 1 / -1;
    width: 100%;
    height: 42px;
  }
  .tv-search select { max-width: 118px; font-size: 12px; padding: 0 24px 0 12px; }
  .tv-search input { font-size: 13.5px; padding: 0 12px; }
  .tv-search button { width: 34px; height: 34px; flex: 0 0 34px; }

  /* Nav bar inside container */
  .tv-nav__row { min-height: 42px; width: 100%; }

  /* Compact 2-column product cards on mobile */
  .tv-product-grid:not(.tv-grid-list),
  .tv-scroller,
  #row-related {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .tv-scroller,
  #row-related {
    padding: 12px !important;
  }
  .tv-product-card__body { padding: 10px 11px 0 !important; }
  .tv-product-card__title { font-size: 13px !important; min-height: 36px !important; margin: 3px 0 5px !important; }
  .tv-product-card__desc { font-size: 11.5px !important; -webkit-line-clamp: 1 !important; margin-bottom: 4px !important; }
  .tv-price { font-size: 15.5px !important; margin: 6px 0 9px !important; gap: 5px !important; }
  .tv-price del { font-size: 11.5px !important; }
  .tv-price__save { font-size: 10px !important; padding: 1px 6px !important; }
  .tv-product-card .tv-product-card__buy { padding: 0 11px 11px !important; }
  .tv-product-card .tv-product-card__buy .tv-btn { min-height: 38px !important; font-size: 12.5px !important; padding: 0 8px !important; }
  .tv-wish, .tv-compare { width: 30px; height: 30px; }

  /* Eliminate space-wasting 1-column grids on mobile -> use 2 columns */
  .tv-yt-grid,
  .tv-blog-grid,
  .tv-values3,
  .tv-steps4,
  .tv-stats4,
  .tv-story-grid,
  .tv-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .tv-watch__shop-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  .tv-watch-prod {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }
  .tv-watch-prod img {
    width: 64px !important;
    height: 64px !important;
  }
  .tv-watch-prod__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tv-watch-prod__actions .tv-btn {
    flex: 1 1 auto;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
  .tv-values3 > :nth-child(3),
  .tv-story-grid > :nth-child(3),
  .tv-grid-3 > :nth-child(3) {
    grid-column: 1 / -1;
  }

  /* Compact Video & Blog cards in 2-column mobile mode */
  .tv-vcard__body,
  .tv-bcard__body {
    padding: 10px 11px 12px;
    gap: 6px;
  }
  .tv-vcard__avatar { width: 26px; height: 26px; font-size: 10px; }
  .tv-vcard__title,
  .tv-bcard__title { font-size: 13px; line-height: 1.3; }
  .tv-bcard__excerpt { -webkit-line-clamp: 2; font-size: 12px; }
  .tv-vcard__shop { padding: 6px 8px; }
  .tv-vcard__shop img { width: 28px; height: 28px; }
  .tv-vcard__shop-info b { font-size: 11px; }

  /* Compact 2-column footer on mobile */
  .tv-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 16px !important;
    padding: 28px 0 24px !important;
  }
  .tv-footer-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .tv-footer h3 { font-size: 14px; margin-bottom: 8px; }
  .tv-footer a { padding: 4px 0; font-size: 12.5px; }

  /* Footer newsletter & Follow us icons inside mobile column without right overflow */
  .tv-footer__newsletter {
    max-width: 100%;
    gap: 6px;
  }
  .tv-footer__newsletter-title {
    font-size: 12.5px !important;
    line-height: 1.4;
  }
  .tv-footer__newsletter-form {
    flex-direction: column;
    gap: 6px;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .tv-footer__newsletter-form input[type="email"] {
    height: 36px;
    background: #ffffff;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 12.5px;
  }
  .tv-footer__newsletter-form button {
    width: 100%;
    min-height: 34px;
    height: 34px;
    font-size: 12.5px;
    padding: 0 10px;
    border-radius: 6px !important;
  }
  .tv-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
  }
  .tv-footer__socials a {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }
  .tv-footer__socials svg {
    width: 17px;
    height: 17px;
  }

  /* Compact newsletter on mobile */
  .tv-newsletter { margin-top: 24px; }
  .tv-newsletter__row { padding: 20px 0; gap: 12px; }
  .tv-newsletter h2 { font-size: 19px; }
  .tv-newsletter form {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
  }
  .tv-newsletter input {
    height: 42px;
    border-right: 0 !important;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  }
  .tv-newsletter button {
    height: 42px;
    width: auto !important;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
    padding: 0 16px;
  }
}

/* ==========================================================================
   Pre-Footer "JOIN THE PACK" Banner & Brand Help Bar
   ========================================================================== */
.tv-pack-section {
  width: 100%;
  margin-top: 32px;
  background-color: var(--brand-primary);
  color: var(--text-primary);
}

.tv-pack-banner {
  position: relative;
  width: 100%;
  min-height: 470px;
  background-color: var(--brand-primary);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 56px 0;
}

.tv-pack-banner__inner {
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.tv-pack-banner__card {
  background: var(--bg-primary);
  width: min(460px, 100%);
  padding: 48px 42px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tv-pack-banner__kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.tv-pack-banner__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.tv-pack-banner__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 10px;
  margin-top: 8px;
}

.tv-pack-banner__form input[type="email"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.tv-pack-banner__form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.tv-pack-banner__form input[type="email"]:focus {
  border-color: var(--brand-primary);
  background: var(--bg-surface);
}

.tv-pack-banner__btn {
  height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.15s ease;
}

.tv-pack-banner__btn:hover {
  background: var(--brand-accent);
  color: var(--on-accent, #1e2421);
}

.tv-pack-banner__btn:active {
  transform: scale(0.98);
}

.tv-pack-helpbar {
  width: 100%;
  background: var(--footer-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
}

.tv-pack-helpbar__inner {
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.tv-pack-helpbar strong {
  color: #ffffff;
  font-size: 16.5px;
  font-weight: 700;
}

.tv-pack-helpbar a {
  color: var(--brand-accent);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.tv-pack-helpbar a:hover {
  color: #ffffff;
}

@media (max-width: 1199px) {
  .tv-pack-banner__inner,
  .tv-pack-helpbar__inner {
    width: min(var(--container), calc(100% - 32px));
  }
}

@media (max-width: 991px) {
  .tv-pack-banner__inner,
  .tv-pack-helpbar__inner {
    width: min(var(--container), calc(100% - 28px));
  }
}

@media (max-width: 767px) {
  .tv-pack-section {
    margin-top: 20px;
  }
  .tv-pack-banner {
    min-height: 360px;
    padding: 24px 0;
    background-position: 68% center;
  }
  .tv-pack-banner__inner,
  .tv-pack-helpbar__inner {
    width: calc(100% - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }
  .tv-pack-banner__card {
    width: 100%;
    padding: 26px 20px;
    background: rgba(250, 248, 245, 0.96);
    gap: 12px;
  }
  .tv-pack-banner__form {
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 8px;
    margin-top: 6px;
  }
  .tv-pack-banner__form input[type="email"],
  .tv-pack-banner__btn {
    height: 42px;
  }
  .tv-pack-helpbar {
    padding: 14px 0;
  }
  .tv-pack-helpbar strong {
    font-size: 15.5px;
  }
  .tv-pack-helpbar a {
    font-size: 14px;
  }
}

/* ==========================================================================
   17. Chewy-Style Product Card Layout (.tv-product-card)
   - Sequence: Title -> By [Brand Logo] -> Score + Compact Stars + Count ->
     #bd2748 Price (no Save badge) -> New Customer Promo Voucher ->
     Outlined Red-Orange "Add to Cart" Button
   ========================================================================== */

.tv-product-card .tv-price__save {
  display: none !important;
}

.tv-product-card .tv-product-card__desc {
  display: none !important;
}

.tv-product-card .tv-product-card__body {
  padding: 13px 14px 10px !important;
  display: flex;
  flex-direction: column;
  gap: 6px !important;
  flex: 1 1 auto;
}

.tv-product-card .tv-product-card__title {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.42 !important;
  color: #18221f !important;
  margin: 0 0 2px !important;
  min-height: 41px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv-product-card .tv-product-card__title:hover {
  color: var(--brand-primary) !important;
  text-decoration: underline;
}

/* Row 2: By [Brand Logo] */
.tv-product-card__byline {
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  font-size: 12px;
  color: var(--brand-primary);
  line-height: 1.25;
  min-height: 16px;
  margin: 0;
}

.tv-product-card__byline > span {
  color: var(--brand-primary) !important;
  font-weight: 600;
}

.tv-product-card__brandlogo {
  height: 12.5px !important;
  width: auto !important;
  max-width: 64px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle;
  transform: translateY(-0.5px);
}

.tv-product-card__brandtext {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: -0.02em;
  color: var(--brand-primary);
}

.tv-product-card__brandtext em {
  font-style: normal;
  color: var(--brand-accent);
}

/* Row 3: Rating Score + Smaller Stars on Desktop + Review Count */
.tv-product-card .tv-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4.5px !important;
  margin: 1px 0 0 !important;
  line-height: 1 !important;
}

.tv-product-card .tv-stars__score {
  font-size: 13px;
  font-weight: 700;
  color: #18221f;
  font-variant-numeric: tabular-nums;
}

.tv-product-card .tv-stars__marks {
  display: inline-flex !important;
  align-items: center !important;
  gap: 1.5px !important;
}

.tv-product-card .tv-stars__marks .kib-product-rating__svg,
.tv-product-card .tv-stars__marks .tv-star-frac {
  width: 13px !important;
  height: 13px !important;
}

.tv-product-card .tv-stars__count {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
  margin-left: 1px !important;
  font-variant-numeric: tabular-nums;
}

/* Row 4: Price in #bd2748 + Strikethrough Old Price */
.tv-product-card .tv-price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
}

.tv-product-card .tv-price > span:first-child {
  color: #bd2748 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.tv-product-card .tv-price del {
  color: #7c8681 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
}

/* Row 5: New Customers Promo Voucher */
.tv-product-card__promo {
  display: flex;
  align-items: flex-start;
  gap: 5.5px;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.38;
  color: #4b5563;
}

.tv-product-card__promo svg,
.tv-product-card__promo .chirp-badge__icon--promotion {
  width: 14px !important;
  height: 14px !important;
  color: #bd2748 !important;
  fill: #bd2748 !important;
  flex-shrink: 0;
  margin-top: 1px;
}

.tv-product-card__promo span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Row 6: Brand-Green Sharp-Corner "Add to Cart" Button at Bottom */
.tv-product-card:not(.tv-product-card--flash) .tv-product-card__buy:not(.tv-product-card__buy--flash) {
  position: static !important;
  padding: 6px 14px 14px !important;
  margin-top: auto !important;
  width: 100% !important;
  display: flex !important;
}

.tv-product-card .tv-product-card__buy .tv-btn--cart {
  width: 100% !important;
  min-height: 35px !important;
  height: 35px !important;
  padding: 0 12px !important;
  gap: 6px !important;
  background: var(--brand-primary) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.tv-product-card .tv-product-card__buy .tv-btn--cart svg {
  width: 15px !important;
  height: 15px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2 !important;
  flex-shrink: 0;
}

.tv-product-card .tv-product-card__buy .tv-btn--cart:hover {
  background: var(--brand-primary-hover) !important;
  color: #ffffff !important;
}

.tv-product-card .tv-product-card__buy .tv-btn--cart:active {
  transform: scale(0.98);
}

.tv-product-card .tv-product-card__buy .tv-btn--cart.is-added {
  background: var(--success) !important;
  color: #ffffff !important;
}

/* Horizontal List View (.tv-grid-list) alignment & compact button row */
@media (min-width: 768px) {
  .tv-grid-list .tv-product-card {
    display: grid !important;
    grid-template-columns: 204px auto minmax(0, 1fr) !important;
    grid-template-rows: 1fr auto !important;
    align-items: stretch !important;
  }

  .tv-grid-list .tv-product-card__figure {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    min-height: 196px !important;
  }

  .tv-grid-list .tv-product-card__body {
    grid-column: 2 / -1 !important;
    grid-row: 1 !important;
    padding: 16px 20px 10px !important;
    gap: 6.5px !important;
    justify-content: center;
  }

  .tv-grid-list .tv-product-card .tv-product-card__title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    min-height: 0 !important;
    margin-bottom: 2px !important;
  }

  .tv-grid-list .tv-product-card:not(.tv-product-card--flash) .tv-product-card__buy:not(.tv-product-card__buy--flash) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: auto !important;
    max-width: none !important;
    margin-top: 0 !important;
    padding: 4px 10px 16px 20px !important;
    align-items: center !important;
  }

  .tv-grid-list .tv-product-card .tv-product-card__buy .tv-btn--cart {
    width: auto !important;
    min-width: 170px !important;
    padding: 0 18px !important;
  }

  .tv-grid-list .tv-product-card__actions {
    grid-column: 3 !important;
    grid-row: 2 !important;
    align-self: center !important;
    padding: 4px 20px 16px 0 !important;
    gap: 8px !important;
  }

  .tv-grid-list .tv-product-card__actions .tv-ov,
  .tv-grid-list .tv-product-card__actions .tv-wish,
  .tv-grid-list .tv-product-card__actions .tv-compare {
    height: 35px !important;
    min-height: 35px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
  }

  .tv-grid-list .tv-product-card__actions .tv-wish,
  .tv-grid-list .tv-product-card__actions .tv-compare {
    width: 35px !important;
  }
}

@media (max-width: 767px) {
  .tv-product-card .tv-product-card__body {
    padding: 10px 11px 8px !important;
    gap: 5px !important;
  }

  .tv-product-card .tv-product-card__title {
    font-size: 13.5px !important;
    line-height: 1.38 !important;
    min-height: 37px !important;
  }

  .tv-grid-list .tv-product-card .tv-product-card__title {
    min-height: 0 !important;
  }

  .tv-product-card__byline {
    font-size: 11px;
    min-height: 15px;
    gap: 4px;
  }

  .tv-product-card__brandlogo {
    height: 11px !important;
    max-width: 56px !important;
  }

  .tv-product-card .tv-stars__score {
    font-size: 11.5px;
  }

  .tv-product-card .tv-stars__marks .kib-product-rating__svg,
  .tv-product-card .tv-stars__marks .tv-star-frac {
    width: 12px !important;
    height: 12px !important;
  }

  .tv-product-card .tv-stars__count {
    font-size: 11px !important;
  }

  .tv-product-card .tv-price > span:first-child {
    font-size: 17px !important;
  }

  .tv-product-card .tv-price del {
    font-size: 11.5px !important;
  }

  .tv-product-card__promo {
    font-size: 11px;
    line-height: 1.35;
    gap: 4.5px;
  }

  .tv-product-card__promo svg,
  .tv-product-card__promo .chirp-badge__icon--promotion {
    width: 13px !important;
    height: 13px !important;
  }

  .tv-product-card:not(.tv-product-card--flash) .tv-product-card__buy:not(.tv-product-card__buy--flash) {
    padding: 5px 11px 11px !important;
  }

  .tv-product-card .tv-product-card__buy .tv-btn--cart {
    min-height: 32px !important;
    height: 32px !important;
    font-size: 12.5px !important;
    border-radius: 0 !important;
    border: 0 !important;
  }

  .tv-product-card .tv-product-card__buy .tv-btn--cart svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* ==========================================================================
   18. Synchronized Compact Stepper (.tv-qty) & Mini-Cart Panel Overhaul
   ========================================================================== */
.tv-qty,
.tv-qty--compact,
.tv-cart-table .tv-qty,
.tv-cartline .tv-qty {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  height: 28px !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  background: transparent !important;
  padding: 0 !important;
  gap: 2px !important;
  overflow: visible !important;
}

.tv-qty button,
.tv-qty--compact button,
.tv-cart-table .tv-qty button,
.tv-cartline .tv-qty button {
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: #f2f4f7 !important;
  color: #191919 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

.tv-qty button:hover,
.tv-qty--compact button:hover,
.tv-cart-table .tv-qty button:hover,
.tv-cartline .tv-qty button:hover {
  background: #e2e7ec !important;
}

.tv-qty input,
.tv-qty--compact input,
.tv-cart-table .tv-qty input,
.tv-cartline .tv-qty input {
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 26px !important;
  min-height: 26px !important;
  line-height: 26px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #191919 !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.tv-qty input::-webkit-outer-spin-button,
.tv-qty input::-webkit-inner-spin-button,
.tv-qty--compact input::-webkit-outer-spin-button,
.tv-qty--compact input::-webkit-inner-spin-button,
.tv-cart-table .tv-qty input::-webkit-outer-spin-button,
.tv-cart-table .tv-qty input::-webkit-inner-spin-button,
.tv-cartline .tv-qty input::-webkit-outer-spin-button,
.tv-cartline .tv-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
  display: none !important;
}

/* Compact Slide-Out Mini-Cart Drawer (.tv-mini-cart__panel) separated via soft blocks without border-bottom */
.tv-mini-cart__head {
  padding: 14px 16px 10px !important;
  gap: 10px !important;
  border: 0 !important;
}

.tv-mini-cart__title {
  font-size: 17px !important;
  gap: 8px !important;
}

.tv-mini-cart__close {
  width: 32px !important;
  height: 32px !important;
  border: 0 !important;
  background: var(--bg-muted) !important;
}

.tv-mini-cart__ship {
  margin: 0 16px 10px !important;
  padding: 10px 12px !important;
  background: #f5f2ec !important;
  border-radius: 0 !important;
  border: 0 !important;
}

.tv-mini-cart__ship .tv-shipbar__meta {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.tv-mini-cart__ship .tv-shipbar__track {
  height: 5px !important;
  margin-top: 5px !important;
}

.tv-mini-cart__body {
  padding: 0 16px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

#mini-cart-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 2px 0 8px !important;
}

.tv-cartline {
  grid-template-columns: 60px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  border: 0 !important;
  background: #faf8f5 !important;
  border-radius: 0 !important;
  align-items: center !important;
}

.tv-cartline__media {
  display: block !important;
  width: 60px !important;
  height: 60px !important;
  aspect-ratio: 1 / 1 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: var(--bg-muted) !important;
  flex-shrink: 0 !important;
}

.tv-cartline__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.tv-cartline__body {
  gap: 2px !important;
}

.tv-cartline__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.tv-cartline__name {
  font-size: 13px !important;
  line-height: 1.3 !important;
  -webkit-line-clamp: 1 !important;
  flex: 1 1 auto;
}

.tv-cartline__variant {
  font-size: 11.5px !important;
  line-height: 1.2 !important;
}

.tv-cartline__row {
  margin-top: 3px !important;
  gap: 8px !important;
}

.tv-cartline__price {
  font-size: 13.5px !important;
}

.tv-cartline__remove {
  font-size: 11.5px !important;
  padding: 0 !important;
  flex-shrink: 0;
  text-decoration: none !important;
  color: var(--text-muted) !important;
}
.tv-cartline__remove:hover {
  color: var(--danger) !important;
  text-decoration: underline !important;
}

.tv-upsell {
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  gap: 9px !important;
  padding: 8px 10px !important;
  margin: 10px 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
}

.tv-upsell__media {
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
}

.tv-upsell__name {
  font-size: 12px !important;
  line-height: 1.25 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.tv-upsell__note {
  font-size: 11px !important;
  margin-top: 1px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.tv-upsell__add {
  grid-column: auto !important;
  width: auto !important;
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 10px !important;
  font-size: 11.5px !important;
}

.tv-mini-cart__foot {
  gap: 8px !important;
  margin: 6px 12px 12px !important;
  padding: 12px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f5f2ec !important;
}

.tv-mini-cart__foot .tv-couponbox,
.tv-couponbox--drawer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
}

.tv-mini-cart__foot .tv-couponbox input,
.tv-couponbox--drawer input {
  height: 34px !important;
  min-height: 34px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  padding: 0 10px !important;
  font-size: 12.5px !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

.tv-mini-cart__foot .tv-couponbox .tv-btn,
.tv-couponbox--drawer .tv-btn {
  height: 34px !important;
  min-height: 34px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  padding: 0 14px !important;
  font-size: 12.5px !important;
  border-radius: 0 !important;
}

.tv-mini-cart__coupon {
  margin: 0 !important;
  min-height: 0 !important;
  font-size: 11.5px !important;
}
.tv-mini-cart__coupon:empty {
  display: none !important;
}

.tv-mini-cart__totals {
  gap: 5px !important;
  margin: 2px 0 4px !important;
}

.tv-mini-cart__totals li {
  font-size: 12.5px !important;
}

.tv-mini-cart__grand {
  border: 0 !important;
  padding: 7px 10px !important;
  margin-top: 4px !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  font-size: 15px !important;
}

.tv-mini-cart__actions {
  display: grid !important;
  grid-template-columns: 1fr 1.25fr !important;
  gap: 8px !important;
}

.tv-mini-cart__actions .tv-btn {
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  width: 100% !important;
}

/* ==========================================================================
   19. Minimalist Border Cleanup, True Off-Canvas Mobile Side Navigation
       & Synchronized Header Account Dropdown / Mega Menu
   ========================================================================== */

/* 19.1 Remove unnecessary decorative borders across cards & layout blocks
   (Preserves input/select/textarea borders, focus states, status badges & .tv-product-card__buy) */
.tv-product-card,
.tv-vcard,
.tv-bcard,
.tv-cat-tile,
.tv-brand,
.tv-quickview__media,
.tv-quickview__assure,
.tv-newsletter,
.tv-pack-banner__card,
.tv-watch__comments .tv-comment-item,
.tv-sidebox h3,
.tv-post-authorbar,
.tv-yt-header__filterbar {
  border: 0 !important;
}

.tv-product-card,
.tv-vcard,
.tv-bcard {
  box-shadow: 0 2px 10px rgba(24, 34, 31, 0.05);
}

/* 19.2 Primary Navigation Links Wrapper (Desktop vs Mobile Off-Canvas) */
.tv-primary-nav__head,
.tv-menu-tools {
  display: none !important;
}

.tv-primary-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2px;
}

.tv-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1305 !important;
  background: rgba(17, 24, 39, 0.56);
  backdrop-filter: blur(2px);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.22, 0.68, 0.32, 1);
}

.tv-nav-backdrop.is-on {
  opacity: 1;
}

body.tv-nav-lock {
  overflow: hidden !important;
}

body.tv-nav-lock .tv-header {
  z-index: 20 !important;
}

body.tv-nav-lock .tv-nav,
.tv-nav:has(.tv-primary-nav.is-open) {
  z-index: 1300 !important;
}

@media (max-width: 991px) {
  .tv-nav {
    z-index: auto !important;
  }

  #tv-primary-nav,
  .tv-primary-nav,
  .tv-primary-nav.is-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: auto !important;
    width: 72vw !important;
    max-width: 320px !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 1310 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 14px 0 40px rgba(17, 24, 39, 0.24) !important;
    transform: translateX(-100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.28s cubic-bezier(0.22, 0.68, 0.32, 1), visibility 0.28s !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  #tv-primary-nav.is-open,
  .tv-primary-nav.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .tv-primary-nav__head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--brand-primary);
    color: #ffffff;
    flex: none;
  }

  .tv-primary-nav__head .tv-primary-nav__brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .tv-primary-nav__logo-img {
    max-height: 36px !important;
    width: auto !important;
    max-width: 175px !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  .tv-primary-nav__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    display: inline-grid;
    place-items: center;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.16s ease;
  }

  .tv-primary-nav__close:hover {
    background: rgba(255, 255, 255, 0.26);
  }

  .tv-primary-nav__links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 14px 12px 24px !important;
    flex: 1 1 auto;
  }

  .tv-primary-nav__links a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 46px !important;
    padding: 11px 14px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #18221f !important;
    background: transparent !important;
    border-radius: 8px !important;
    border: 0 !important;
    white-space: normal !important;
  }

  .tv-primary-nav__links a:hover {
    background: #f5f2ec !important;
    color: var(--brand-primary) !important;
  }

  .tv-primary-nav__links a.is-active {
    background: var(--brand-primary-soft) !important;
    color: var(--brand-primary) !important;
    font-weight: 700 !important;
  }
}

/* 19.2b Multi-level primary menu (inc/menus.php + assets/js/ui.js).
   Desktop: dropdown under the green bar, level 3 flies out to the side.
   Phone drawer: accordion opened by the arrow button next to each link. */
.tv-navitem { position: relative; display: inline-flex; align-items: center; }
.tv-subnav { list-style: none; margin: 0; padding: 0; }
.tv-navitem__toggle {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 30px;
  margin-left: -6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}
.tv-navitem__toggle svg { fill: none; stroke: currentColor; stroke-width: 2.2; display: block; transition: transform var(--dur) var(--ease); }
.tv-navitem__toggle:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

@media (min-width: 992px) {
  .tv-primary-nav .tv-navitem > .tv-navitem__link { padding-right: 8px; }
  .tv-navitem:hover > .tv-navitem__toggle,
  .tv-navitem.is-open > .tv-navitem__toggle { color: #fff; }
  .tv-navitem:hover > .tv-navitem__toggle svg,
  .tv-navitem.is-open > .tv-navitem__toggle svg { transform: rotate(180deg); }

  .tv-subnav {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    min-width: 230px;
    padding: 6px 0;
    background: #fff;
    border-top: 2px solid #e06d3b;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0s linear 0.16s;
  }
  .tv-navitem:hover > .tv-subnav,
  .tv-navitem:focus-within > .tv-subnav,
  .tv-navitem.is-open > .tv-subnav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .tv-subnav > li { display: block; }
  .tv-primary-nav .tv-subnav a {
    display: flex;
    padding: 9px 18px;
    color: var(--text-primary);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 0;
    background: none;
  }
  .tv-primary-nav .tv-subnav a:hover { background: var(--bg-subtle); color: var(--brand-primary); }
  .tv-primary-nav .tv-subnav a.is-active { color: #e06d3b; background: none; font-weight: 600; }

  /* Level 2 item with its own children: arrow points right, list flies out. */
  .tv-subnav .tv-navitem { display: flex; width: 100%; }
  .tv-subnav .tv-navitem > .tv-navitem__link { flex: 1; padding-right: 8px; }
  .tv-subnav .tv-navitem__toggle { width: 34px; height: auto; align-self: stretch; margin: 0; color: var(--text-muted); }
  .tv-subnav .tv-navitem__toggle svg,
  .tv-subnav .tv-navitem:hover > .tv-navitem__toggle svg,
  .tv-subnav .tv-navitem.is-open > .tv-navitem__toggle svg { transform: rotate(-90deg); }
  .tv-subnav .tv-navitem:hover,
  .tv-subnav .tv-navitem.is-open { background: var(--bg-subtle); }
  .tv-primary-nav .tv-subnav .tv-navitem > .tv-navitem__link:hover { background: none; }
  .tv-subnav .tv-navitem:hover > .tv-navitem__toggle { color: var(--brand-primary); }
  .tv-subnav--l2 { top: -8px; left: 100%; border-top: 0; border-left: 2px solid #e06d3b; }
  .tv-navitem.is-flip > .tv-subnav--l2 { left: auto; right: 100%; border-left: 0; border-right: 2px solid #e06d3b; }
}

@media (max-width: 991px) {
  /* A long (expanded) menu must scroll inside the drawer, not wrap into a second column. */
  #tv-primary-nav,
  .tv-primary-nav { flex-wrap: nowrap !important; }
  .tv-primary-nav__links { flex: 0 0 auto !important; }
  .tv-primary-nav__links .tv-navitem {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
  }
  .tv-primary-nav__links .tv-navitem__toggle {
    width: 46px;
    height: 46px;
    margin: 0;
    color: var(--text-primary);
    border-radius: 8px;
  }
  .tv-primary-nav__links .tv-navitem__toggle:hover { background: #f5f2ec; }
  .tv-primary-nav__links .tv-navitem__toggle:focus-visible { outline-color: var(--brand-primary); }
  .tv-primary-nav__links .tv-navitem.is-open > .tv-navitem__toggle svg { transform: rotate(180deg); }
  .tv-primary-nav__links .tv-subnav {
    display: none;
    grid-column: 1 / -1;
    margin: 2px 0 6px 14px;
    padding-left: 8px;
    border-left: 2px solid var(--border-color);
  }
  .tv-primary-nav__links .tv-navitem.is-open > .tv-subnav { display: block; }
  .tv-primary-nav__links .tv-subnav a {
    min-height: 40px !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
  }
  .tv-primary-nav__links .tv-subnav a.is-active { color: var(--brand-primary) !important; background: var(--brand-primary-soft) !important; }
  .tv-primary-nav__links .tv-subnav .tv-navitem__toggle { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-subnav, .tv-navitem__toggle svg { transition: none; }
}

/* 19.3 Header Account Tool & Synchronized Account Dropdown / Mega Menu */
.tv-tool-account {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tv-tool--account .tv-tool__name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv-tool__chev {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.82;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.tv-tool-account.is-open .tv-tool__chev {
  transform: rotate(180deg);
}

.tv-account-dropdown {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 264px;
  background: #ffffff;
  color: #18221f;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.18), 0 2px 10px rgba(17, 24, 39, 0.08);
  padding: 8px;
  z-index: 96;
}

.tv-tool-account.is-open .tv-account-dropdown,
.tv-account-dropdown.is-open:not([hidden]) {
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: tv-acc-drop-in 0.18s cubic-bezier(0.22, 0.68, 0.32, 1);
}

.tv-account-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

@keyframes tv-acc-drop-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tv-account-dropdown__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #f6f4f0;
  border-radius: 8px;
}

.tv-account-dropdown__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tv-account-dropdown__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tv-account-dropdown__meta strong {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-account-dropdown__meta small,
.tv-account-dropdown__meta span {
  display: block !important;
  font-size: 11.5px !important;
  color: #6b7280 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-account-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-account-dropdown__item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.8px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tv-account-dropdown__item svg {
  width: 17px !important;
  height: 17px !important;
  color: #4b5563;
  flex-shrink: 0;
}

.tv-account-dropdown__item:hover {
  background: #f5f2ec;
  color: var(--brand-primary);
}

.tv-account-dropdown__item:hover svg {
  color: var(--brand-primary);
}

.tv-account-dropdown__foot {
  margin-top: 6px;
  padding-top: 6px;
  background: transparent;
}

.tv-account-dropdown__item--logout {
  color: #b4453a;
  background: #fff8f7;
}

.tv-account-dropdown__item--logout svg {
  color: #b4453a;
}

.tv-account-dropdown__item--logout:hover {
  background: #fef2f2;
  color: #991b1b;
}

.tv-account-dropdown__item--logout:hover svg {
  color: #991b1b;
}

@media (max-width: 767px) {
  .tv-tool__chev {
    display: none !important;
  }

  .tv-account-dropdown {
    position: fixed;
    top: 56px;
    right: 10px;
    left: auto;
    width: min(276px, calc(100vw - 20px));
    z-index: 108;
  }
}

/* 19.4 Pre-Footer "JOIN THE PACK" Card Zero Border-Radius Override */
.tv-pack-banner__card {
  border-radius: 0px !important;
}
.tv-pack-banner__form input[type="email"],
.tv-pack-banner__btn {
  border-radius: 0px !important;
}







/* Currency pill: same look as the language pill, sitting just before it. */
.tv-cur + .tv-lang { margin-left: 4px; }
.tv-cur__sym { min-width: 30px; font-weight: 700; color: var(--brand-primary); }
.tv-co-curnote { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }

/* Terracotta fills carry Deep Charcoal labels: white on #e06d3b is only 3.3:1 (brand guide, accessibility). */
:root { --on-accent: #1e2421; }
.tv-topbar, .tv-topbar a, .tv-topbar__points span { color: var(--on-accent); }
.tv-topbar__points span::before, .tv-topbar__points span + span::before { background: var(--on-accent); }

/* Links written inside content: blog posts, category text, product descriptions,
   video descriptions and editor pages. theme.css loads on every page, so the
   rule reaches all of them; buttons inside content keep their own look. */
.tv-prose a:not(.tv-btn),
.tv-entry a:not(.tv-btn),
.tv-post-body__content a:not(.tv-btn),
.tv-watch__desc-content a:not(.tv-btn),
.tv-shop-content__inner a:not(.tv-btn),
.tv-article__read a:not(.tv-btn) {
  color: #e06d3b;
  box-shadow: inset 0 -1px 0 #1d4638;
  font-weight: 500;
}

/* ===== Table of contents (assets/js/toc.js) =====
   Quiet editorial index on a soft panel: hairline rules, small-caps
   label, numbered sections with accent-colored titles. Used in category
   guides, product descriptions and posts. */
.tv-toc {
  margin: 0 0 28px;
  border-top: 1px solid var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 0 22px;
  background: var(--bg-subtle);
  font-family: var(--font-body);
}
.tv-toc details > summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.tv-toc details > summary::-webkit-details-marker { display: none; }
.tv-toc__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.tv-toc__meta { font-size: 12px; color: var(--text-muted); }
.tv-toc__chev {
  margin-left: auto;
  align-self: center;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  transition: transform var(--dur) var(--ease);
}
.tv-toc details[open] .tv-toc__chev { transform: rotate(180deg); }
.tv-toc summary:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.tv-prose .tv-toc ol,
.tv-toc ol { list-style: none; margin: 0; padding: 0; }
.tv-prose .tv-toc li,
.tv-toc li { margin: 0; padding: 0; }
.tv-prose .tv-toc li::before,
.tv-prose .tv-toc li::marker { content: none; }
.tv-toc__list { padding: 0 0 16px !important; }
.tv-toc__list--cols { columns: 2; column-gap: 40px; }
.tv-toc__list > li { break-inside: avoid; }
.tv-toc .tv-toc__list a:not(.tv-btn) {
  display: flex;
  gap: 14px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.45;
  color: #e06d3b;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  background: none;
  transition: color var(--dur) var(--ease);
}
.tv-toc__num {
  flex: 0 0 auto;
  min-width: 18px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.tv-toc .tv-toc__sub { padding-left: 32px !important; margin: -2px 0 4px; }
.tv-toc .tv-toc__list .tv-toc__sub a:not(.tv-btn) { font-size: 13px; padding: 4px 0; color: var(--text-muted); }
.tv-toc .tv-toc__list a:not(.tv-btn):hover { color: #c85c2f; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tv-toc .tv-toc__list a:not(.tv-btn).is-active { color: var(--brand-primary); font-weight: 500; }
.tv-toc a.is-active .tv-toc__num { color: var(--brand-primary); }
@media (max-width: 767px) {
  .tv-toc { margin-bottom: 22px; padding: 0 16px; }
  .tv-toc__list--cols { columns: 1; }
  .tv-toc .tv-toc__list a:not(.tv-btn) { padding: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tv-toc__chev { transition: none; }
}

/* Floating "Contents" button (assets/js/toc.js): appears once the reader
   has scrolled past the inline contents list, sits above the back-to-top
   button, shows reading progress, and opens the same list. */
.tv-tocfab__btn {
  position: fixed;
  right: 20px;
  bottom: 72px;
  z-index: 46;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #e06d3b;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s, background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.tv-tocfab.is-on .tv-tocfab__btn {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.tv-tocfab__btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; display: block; }
.tv-tocfab__btn:hover,
.tv-tocfab.is-open .tv-tocfab__btn { background: #e06d3b; color: #fff; }
.tv-tocfab__btn:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.tv-tocfab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(224, 109, 59, 0.18); }
.tv-tocfab__bar > span { display: block; height: 100%; background: #e06d3b; transform: scaleX(0); transform-origin: left; transition: transform 0.12s linear; }
.tv-tocfab.is-open .tv-tocfab__bar > span,
.tv-tocfab__btn:hover .tv-tocfab__bar > span { background: #fff; }

.tv-tocfab__panel {
  position: fixed;
  right: 72px;
  bottom: 20px;
  z-index: 47;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 104px));
  max-height: min(70vh, 560px);
  background: var(--bg-subtle);
  border-top: 1px solid var(--text-primary);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
  animation: tv-tocfab-in 0.18s var(--ease);
}
.tv-tocfab__panel[hidden] { display: none; }
.tv-tocfab__head { display: flex; align-items: baseline; gap: 12px; padding: 14px 18px 10px; }
.tv-tocfab__close {
  margin-left: auto;
  align-self: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tv-tocfab__close:hover { color: var(--text-primary); }
.tv-toc.tv-tocfab__nav {
  margin: 0;
  padding: 0 18px 6px;
  border: 0;
  background: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.tv-tocfab__shade { display: none; }
@keyframes tv-tocfab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .tv-tocfab__btn { right: 14px; }
  .tv-tocfab__shade:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 46;
    background: rgba(15, 22, 20, 0.45);
  }
  .tv-tocfab__panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 72vh;
    padding-bottom: env(safe-area-inset-bottom);
    animation-name: tv-tocfab-up;
  }
  .tv-tocfab__head { padding: 16px 16px 10px; }
  .tv-toc.tv-tocfab__nav { padding: 0 16px 10px; }
  @keyframes tv-tocfab-up { from { transform: translateY(100%); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .tv-tocfab__btn, .tv-tocfab__bar > span { transition: none; }
  .tv-tocfab__panel { animation: none; }
}

