/*
Theme Name:   Thryv For Life
Theme URI:    https://thryvforlife.com
Description:  Salient child theme for Thryv For Life. WooCommerce storefront for the
              heavyweight sweatshirt drop. Brand type, color system, Woo overrides,
              cart drawer, sticky add-to-cart, size guide, Contact Form 7 styling.
Author:       Purple AI
Template:     salient
Version:      1.0.0
Text Domain:  thryv
*/

/* ==========================================================================
   0. FONTS
   Salient loads its own webfonts. We add Archivo + Hanken Grotesk and force
   them onto the theme's own selectors so nav/footer match the page content.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=Hanken+Grotesk:wght@300;400;500;600&display=swap');

/* ==========================================================================
   1. BRAND TOKENS  (global â€” every page and every Woo template reads these)
   ========================================================================== */
:root {
  --tv-ink:        #0C1A28;   /* near-black navy â€” text, buttons, footer */
  --tv-ink-70:     rgba(12, 26, 40, 0.68);
  --tv-ink-50:     rgba(12, 26, 40, 0.50);
  --tv-ink-30:     rgba(12, 26, 40, 0.30);
  --tv-rule:       rgba(12, 26, 40, 0.11);

  --tv-blue:       #2E5B8C;   /* Carolina-derived action blue â€” links, accents */
  --tv-blue-pale:  #A9C4DC;
  --tv-deep:       #12314F;   /* button hover, impact band */
  --tv-mist:       #E7EDF3;   /* pale blue panels */

  --tv-sand:       #F5F2ED;   /* page background */
  --tv-sand-deep:  #EDE8E0;   /* alternating section background */

  --tv-alert:      #C2603F;   /* low stock, urgency */
  --tv-go:         #8FD3A0;   /* in-stock pip, success */

  --tv-display: "Archivo", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --tv-body:    "Hanken Grotesk", -apple-system, system-ui, sans-serif;

  --tv-maxw: 1320px;
  --tv-radius: 2px;           /* the brand is square â€” keep radii tiny */
  --tv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   2. GLOBAL TYPE + RESETS (Salient overrides)
   ========================================================================== */
body,
body .container-wrap,
#header-outer,
#footer-outer {
  font-family: var(--tv-body);
  color: var(--tv-ink);
  background-color: var(--tv-sand);
}
body { font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5, h6,
.nectar-button, #header-outer #top nav > ul > li > a {
  font-family: var(--tv-display);
  letter-spacing: -0.02em;
  color: var(--tv-ink);
}
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }

a { color: var(--tv-blue); text-decoration: none; transition: color 0.2s var(--tv-ease); }
a:hover { color: var(--tv-ink); }

::selection { background: var(--tv-ink); color: var(--tv-sand); }

/* Focus visibility â€” required for accessibility, Salient hides it by default */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--tv-blue);
  outline-offset: 2px;
}

/* ==========================================================================
   3. HEADER / NAV  (Salient managed â€” we only restyle)
   ========================================================================== */
#header-outer {
  border-bottom: 1px solid var(--tv-rule);
  box-shadow: none !important;
}
#header-outer[data-transparent-header="true"]:not(.scrolled-down) {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
#header-outer #top nav > ul > li > a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}
/* THRYV wordmark spacing â€” matches the logo lockup */
#header-outer .brand a, #header-outer #logo {
  font-family: var(--tv-display);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
}
/* Cart count bubble */
#header-outer .cart-menu-wrap .cart-wrap span {
  background: var(--tv-blue) !important;
  font-family: var(--tv-display);
  font-weight: 700;
  font-size: 10px;
}

/* Announcement ticker â€” usable in header via functions.php hook */
.tv-announce {
  background: var(--tv-ink);
  color: #fff;
  text-align: center;
  padding: 11px 16px;
  font-family: var(--tv-display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

/* ==========================================================================
   4. BUTTONS  (global, incl. all WooCommerce buttons)
   ========================================================================== */
.tv-btn,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--tv-ink);
  color: #fff;
  border: 1px solid var(--tv-ink);
  border-radius: var(--tv-radius);
  padding: 17px 28px;
  font-family: var(--tv-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
  transition: background 0.2s var(--tv-ease), color 0.2s var(--tv-ease),
              border-color 0.2s var(--tv-ease), transform 0.2s var(--tv-ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wpcf7 input[type="submit"]:hover {
  background: var(--tv-deep);
  border-color: var(--tv-deep);
  color: #fff;
  transform: translateY(-1px);
}
.tv-btn-outline,
.woocommerce a.button.tv-btn-outline {
  background: transparent;
  color: var(--tv-ink);
  border-color: var(--tv-ink-30);
}
.tv-btn-outline:hover { background: transparent; border-color: var(--tv-ink); color: var(--tv-ink); }
.woocommerce a.button.disabled,
.woocommerce button.button:disabled { opacity: 0.35; transform: none; }

/* ==========================================================================
   5. WOOCOMMERCE â€” GLOBAL CHROME
   ========================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--tv-mist);
  border: 1px solid rgba(46, 91, 140, 0.2);
  border-top: none;
  border-radius: var(--tv-radius);
  color: var(--tv-ink);
  font-size: 15px;
  padding: 16px 20px 16px 20px;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }
.woocommerce-error { background: #F7EAE4; border-color: rgba(194, 96, 63, 0.3); }

/* Hide Woo's default sorting + result count â€” our shop page owns the bar */
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count { display: none; }

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
  font-size: 13.5px;
  color: var(--tv-ink-50);
  margin-bottom: 20px;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--tv-ink-50); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--tv-ink); }

/* Price typography everywhere */
.woocommerce .price,
.woocommerce span.amount {
  font-family: var(--tv-display);
  font-weight: 600;
  color: var(--tv-ink);
}

/* Star ratings in brand blue rather than Woo gold */
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before { color: var(--tv-blue); }

/* ==========================================================================
   6. WOOCOMMERCE â€” SINGLE PRODUCT
   The full PDP layout lives in the template override; these rules are the
   parts Woo injects that we cannot template away.
   ========================================================================== */
.woocommerce div.product form.cart .variations { display: none; } /* replaced by .tv-swatches / .tv-sizes */
.woocommerce div.product .woocommerce-variation-price,
.woocommerce div.product .woocommerce-variation-availability { display: none; }
.woocommerce div.product form.cart .reset_variations { display: none; }

.woocommerce div.product .quantity input.qty {
  border: 1px solid var(--tv-ink-30);
  border-radius: var(--tv-radius);
  height: 56px;
  font-family: var(--tv-display);
  font-weight: 600;
  color: var(--tv-ink);
  background: transparent;
}

/* Woo tabs â€” we use accordions instead */
.woocommerce div.product .woocommerce-tabs { display: none; }

/* Related products â€” our template renders them; hide Woo's */
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products { display: none; }

/* --- PDP components (mirrors build/product-page.html) --- */
.tv-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.tv-swatch {
  width: 40px; height: 40px; min-width: 40px; min-height: 40px;
  border-radius: 50%; padding: 0; cursor: pointer; overflow: hidden;
  background: none; border: 1px solid var(--tv-ink-30);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.tv-swatch img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.tv-swatch:hover { border-color: var(--tv-ink); }
.tv-swatch[aria-pressed="true"] { border: 1.5px solid var(--tv-ink); box-shadow: 0 0 0 2px var(--tv-sand) inset; }
.tv-swatch.is-oos { opacity: 0.3; cursor: not-allowed; }

.tv-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tv-size {
  min-height: 48px; padding: 15px 0; cursor: pointer; border-radius: var(--tv-radius);
  font-family: var(--tv-display); font-weight: 600; font-size: 14px;
  background: transparent; color: var(--tv-ink); border: 1px solid var(--tv-ink-30);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.tv-size:hover { border-color: var(--tv-ink); }
.tv-size[aria-pressed="true"] { background: var(--tv-ink); color: #fff; border-color: var(--tv-ink); }
.tv-size[disabled] { opacity: 0.32; cursor: not-allowed; text-decoration: line-through; }

.tv-fit-toggle { display: flex; gap: 6px; background: rgba(12,26,40,0.06); padding: 3px; border-radius: var(--tv-radius); margin-bottom: 10px; }
.tv-fit-toggle button {
  flex: 1; min-height: 44px; border: none; background: transparent; cursor: pointer;
  font-family: var(--tv-display); font-weight: 500; font-size: 13.5px;
  color: var(--tv-ink-70); border-radius: var(--tv-radius); transition: background 0.18s, color 0.18s;
}
.tv-fit-toggle button[aria-pressed="true"] { background: #fff; color: var(--tv-ink); }

.tv-urgency {
  display: flex; align-items: center; gap: 11px; margin-top: 22px;
  background: var(--tv-mist); border: 1px solid rgba(46,91,140,0.18);
  padding: 14px 16px; border-radius: var(--tv-radius);
  font-size: 14px; line-height: 1.45; color: var(--tv-ink-70);
}
.tv-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--tv-alert); flex: none; }

/* Sticky add-to-cart bar */
.tv-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--tv-ink); color: #fff; padding: 12px 0;
  transform: translateY(100%); transition: transform 0.3s var(--tv-ease);
  box-shadow: 0 -8px 30px rgba(12, 26, 40, 0.18);
}
.tv-sticky.is-on { transform: translateY(0); }
.tv-sticky-inner { display: flex; align-items: center; gap: 16px; max-width: var(--tv-maxw); margin: 0 auto; padding: 0 28px; }
.tv-sticky img { width: 46px; height: 58px; object-fit: cover; border-radius: var(--tv-radius); flex: none; }
.tv-sticky-txt { flex: 1; min-width: 0; }
.tv-sticky-n { font-family: var(--tv-display); font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-sticky-v { font-size: 12.5px; color: rgba(255, 255, 255, 0.62); margin-top: 2px; }
.tv-sticky button {
  background: var(--tv-sand); color: var(--tv-ink); border: none; flex: none;
  min-height: 48px; padding: 0 26px; cursor: pointer; border-radius: var(--tv-radius);
  font-family: var(--tv-display); font-weight: 600; font-size: 14.5px;
}

/* ==========================================================================
   7. CART DRAWER (slide-out)  â€” markup printed by functions.php
   ========================================================================== */
.tv-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.tv-drawer.is-open { visibility: visible; }
.tv-drawer-scrim {
  position: absolute; inset: 0; background: rgba(12, 26, 40, 0.5);
  opacity: 0; transition: opacity 0.3s var(--tv-ease);
}
.tv-drawer.is-open .tv-drawer-scrim { opacity: 1; }
.tv-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(430px, 100vw); background: var(--tv-sand);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.34s var(--tv-ease);
}
.tv-drawer.is-open .tv-drawer-panel { transform: translateX(0); }

.tv-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px; border-bottom: 1px solid var(--tv-rule);
}
.tv-drawer-head h2 { font-family: var(--tv-display); font-weight: 700; font-size: 20px; margin: 0; }
.tv-drawer-close { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--tv-ink-50); padding: 4px; }

.tv-ship-bar { padding: 18px 24px; border-bottom: 1px solid var(--tv-rule); }
.tv-ship-bar-top { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 9px; }
.tv-ship-bar-top span:last-child { color: var(--tv-ink-50); }
.tv-ship-track { height: 5px; background: rgba(12, 26, 40, 0.12); border-radius: 3px; overflow: hidden; }
.tv-ship-fill { height: 100%; background: var(--tv-blue); border-radius: 3px; transition: width 0.4s var(--tv-ease); }
.tv-ship-bar.is-free .tv-ship-fill { background: var(--tv-go); }

.tv-drawer-body { flex: 1; overflow-y: auto; padding: 4px 24px 24px; }
.tv-drawer-line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--tv-rule); }
.tv-drawer-line img { width: 68px; height: 85px; object-fit: cover; border-radius: var(--tv-radius); flex: none; }
.tv-drawer-line-name { font-family: var(--tv-display); font-weight: 600; font-size: 15px; }
.tv-drawer-line-var { font-size: 13px; color: var(--tv-ink-50); margin-top: 3px; }
.tv-drawer-line-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.tv-qty { display: inline-flex; align-items: center; border: 1px solid var(--tv-ink-30); border-radius: var(--tv-radius); }
.tv-qty button { background: none; border: none; width: 34px; height: 34px; cursor: pointer; font-size: 15px; color: var(--tv-ink); }
.tv-qty span { min-width: 26px; text-align: center; font-size: 14px; }
.tv-drawer-line-price { font-family: var(--tv-display); font-weight: 600; }

.tv-upsell {
  display: flex; gap: 12px; align-items: center; margin-top: 18px;
  background: var(--tv-mist); border: 1px solid rgba(46, 91, 140, 0.18);
  padding: 14px; border-radius: var(--tv-radius);
}
.tv-upsell img { width: 44px; height: 55px; object-fit: cover; border-radius: var(--tv-radius); flex: none; }
.tv-upsell-t { font-family: var(--tv-display); font-weight: 600; font-size: 13.5px; }
.tv-upsell-d { font-size: 12.5px; color: var(--tv-ink-70); margin-top: 2px; line-height: 1.4; }
.tv-upsell-add { margin-left: auto; background: none; border: none; font-size: 22px; color: var(--tv-blue); cursor: pointer; padding: 0 6px; }

.tv-drawer-foot { border-top: 1px solid var(--tv-rule); padding: 20px 24px 24px; background: var(--tv-sand); }
.tv-drawer-sub { display: flex; justify-content: space-between; font-family: var(--tv-display); font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.tv-drawer-foot .tv-btn { width: 100%; }
.tv-drawer-fine { text-align: center; font-size: 12.5px; color: var(--tv-ink-50); margin-top: 12px; }
.tv-drawer-empty { text-align: center; padding: 60px 20px; color: var(--tv-ink-50); }

body.tv-noscroll { overflow: hidden; }

/* ==========================================================================
   8. SIZE GUIDE MODAL
   ========================================================================== */
.tv-modal { position: fixed; inset: 0; z-index: 1010; display: none; }
.tv-modal[open] { display: block; }
.tv-modal-scrim { position: absolute; inset: 0; background: rgba(12, 26, 40, 0.55); }
.tv-modal-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px)); max-height: 86vh; overflow: auto;
  background: var(--tv-sand); border-radius: 4px; padding: 30px 28px;
}
.tv-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--tv-ink-50); }
.tv-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14.5px; }
.tv-table th {
  text-align: left; font-family: var(--tv-display); font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; color: var(--tv-ink-50); padding: 10px 0; border-bottom: 1px solid var(--tv-rule);
}
.tv-table td { padding: 11px 0; border-bottom: 1px solid var(--tv-rule); color: var(--tv-ink-70); }
.tv-table td:first-child { font-family: var(--tv-display); font-weight: 600; color: var(--tv-ink); }
.tv-finder { background: var(--tv-mist); border: 1px solid rgba(46, 91, 140, 0.18); padding: 18px; margin-top: 22px; border-radius: var(--tv-radius); }
.tv-finder-row { display: flex; gap: 10px; margin-top: 12px; }
.tv-finder input { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--tv-ink-30); padding: 13px; font-family: var(--tv-body); font-size: 15px; border-radius: var(--tv-radius); }
.tv-finder button { width: 100%; margin-top: 9px; min-height: 48px; background: var(--tv-blue); color: #fff; border: none; cursor: pointer; border-radius: var(--tv-radius); font-family: var(--tv-display); font-weight: 600; font-size: 14.5px; }
.tv-finder-out { margin-top: 12px; font-size: 14.5px; font-family: var(--tv-display); font-weight: 600; }

/* ==========================================================================
   9. CART + CHECKOUT PAGES
   ========================================================================== */
.woocommerce table.shop_table {
  border: 1px solid var(--tv-rule);
  border-radius: var(--tv-radius);
  font-size: 15px;
}
.woocommerce table.shop_table th {
  font-family: var(--tv-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--tv-ink-50);
}
.woocommerce-checkout #payment { background: var(--tv-sand-deep); border-radius: var(--tv-radius); }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: var(--tv-radius); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  border: 1px solid var(--tv-ink-30);
  border-radius: var(--tv-radius);
  padding: 14px;
  height: auto;
  font-family: var(--tv-body);
  font-size: 15.5px;   /* >=16px effective on iOS avoids zoom-on-focus */
  background: #fff;
  color: var(--tv-ink);
}
.woocommerce form .form-row label {
  font-family: var(--tv-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tv-ink-70);
}
.woocommerce-checkout .tv-checkout-assure {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center;
  font-size: 13px; color: var(--tv-ink-50); padding: 18px 0 0;
}

/* ==========================================================================
   10. CONTACT FORM 7  (newsletter + contact page)
   Markup in build/contact-form-7.html
   ========================================================================== */
.wpcf7 { font-family: var(--tv-body); }
.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  border: 1px solid rgba(46, 91, 140, 0.25);
  background: var(--tv-mist);
  border-radius: var(--tv-radius);
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--tv-ink);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { background: #F7EAE4; border-color: rgba(194, 96, 63, 0.35); }
.wpcf7-not-valid-tip { color: var(--tv-alert); font-size: 13px; margin-top: 6px; }

.tv-field { display: flex; flex-direction: column; gap: 7px; }
.tv-field > label {
  font-family: var(--tv-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--tv-ink-70);
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--tv-ink-30);
  border-radius: var(--tv-radius);
  padding: 15px 16px;
  font-family: var(--tv-body);
  font-size: 16px;      /* keep at 16px â€” prevents iOS zoom on focus */
  color: var(--tv-ink);
  transition: border-color 0.2s var(--tv-ease);
}
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: var(--tv-ink-50); }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--tv-ink); outline: none; }
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input[type="submit"] { width: 100%; min-height: 54px; }
.wpcf7 .wpcf7-spinner { display: block; margin: 10px auto 0; }

/* Inline newsletter (email + phone + button on one row at desktop) */
.tv-signup-form { display: flex; flex-direction: column; gap: 10px; }
.tv-signup-row { display: flex; gap: 10px; }
.tv-signup-row > * { flex: 1; min-width: 0; }
.tv-signup-form .tv-signup-submit { flex: 0 0 auto; }
.tv-signup-form input[type="submit"] { width: auto; padding: 0 30px; }
.tv-consent { font-size: 12px; line-height: 1.5; color: var(--tv-ink-50); }
.tv-consent a { color: var(--tv-ink-50); text-decoration: underline; }

/* Contact page two-column form */
.tv-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tv-contact-grid .tv-field-full { grid-column: 1 / -1; }

/* ==========================================================================
   11. FOOTER  (markup in build/footer-widget.html, pasted into Footer Area 1)
   ========================================================================== */
#footer-outer, #footer-outer #copyright {
  background: var(--tv-ink) !important;
  color: rgba(255, 255, 255, 0.72);
  border: none;
}
#footer-outer a, #footer-outer #copyright a { color: rgba(255, 255, 255, 0.72); }
#footer-outer a:hover, #footer-outer #copyright a:hover { color: #fff; }
#footer-outer .widget h4 { color: #fff; }
#footer-outer #copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; }

/* ==========================================================================
   12. UTILITIES
   ========================================================================== */
.tv-visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tv-stars { color: var(--tv-blue); letter-spacing: 0.06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */
@media (max-width: 782px) {
  body { font-size: 16px; }
  .tv-sticky-inner { padding: 0 18px; gap: 12px; }
  .tv-sticky button { padding: 0 18px; font-size: 13.5px; }
  .tv-drawer-panel { width: 100vw; }
  .tv-signup-row { flex-direction: column; }
  .tv-signup-form input[type="submit"] { width: 100%; }
  .tv-contact-grid { grid-template-columns: 1fr; }
  .tv-sizes { grid-template-columns: repeat(4, 1fr); }
  /* keep the sticky bar clear of the fixed footer bar on iOS */
  body.single-product { padding-bottom: env(safe-area-inset-bottom); }
}

