/*
Theme Name: IPTV Gear Neon
Theme URI: https://iptvgear.site
Author: IPTV Gear Studio
Author URI: https://iptvgear.site
Description: A direct-response streaming theme for IPTV Gear. Built on the logo-sampled indigo → violet → magenta system with hard offset shadows, pill buttons and 24px cards. Ship-fast marketing homepage, WooCommerce ready, no jQuery, no page-builder lock-in.
Version: 1.0.5
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptvgear-neon
Tags: e-commerce, custom-menu, custom-logo, featured-images, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Brand palette — sampled from Logo.png (indigo → violet → magenta) */
  --indigo: #24349c;
  --violet: #5a2590;
  --magenta: #ad1587;
  --magenta-deep: #8f106e;

  /* Ink & surfaces */
  --ink: #1b1435;
  --ink-90: #241a48;
  --ink-2: #4d4470;
  --ink-3: #7a719c;
  --ink-4: #9a92b8;

  --paper: #fbfaff;
  --mist: #f3effc;
  --mist-2: #faf7ff;
  --line: #e6e0f4;
  --line-2: #d5c9f0;

  /* Accent roles (magenta) */
  --accent: #ad1587;
  --accent-deep: #8f106e;
  --accent-soft: #fbe7f5;
  --accent-ink: #8f106e;
  --accent-bright: #f06ad0;

  --grad: linear-gradient(92deg, var(--indigo) 0%, var(--violet) 48%, var(--magenta) 100%);

  --green: #2acc7e;
  --green-soft: #e6f9f0;
  --red: #de2e4c;
  --red-soft: #fdecef;
  --amber: #ffc200;
  --amber-soft: #fff6d9;

  /* Offset-shadow colour for hover lifts: ink on light, white on dark */
  --hover-offset: var(--ink);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 64px;

  /* Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(27, 20, 53, .16), 0 1px 4px 0 rgba(27, 20, 53, .1);
  --shadow-md: 0 12px 16px -4px rgba(27, 20, 53, .08), 0 4px 6px -2px rgba(27, 20, 53, .04);
  --shadow-lg: 0 28px 60px -28px rgba(27, 20, 53, .28);
  --shadow-hard: 8px 8px 0 0 var(--ink);
  --shadow-hard-accent: 8px 8px 0 0 var(--accent);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(56px, 8vw, 112px);

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Dark surfaces flip the hover offset so lifts stay visible */
.section--ink,
.hero,
.cta-band,
.site-footer,
.on-dark {
  --hover-offset: #fff;
}


/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv02" 1, "cv03" 1, "cv04" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video,
iframe { max-width: 100%; height: auto; display: block; }

img { border-radius: inherit; }

a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 4.2vw, 3.5rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.375rem); letter-spacing: -.02em; }
h4 { font-size: 1.0625rem; letter-spacing: -.015em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

code, kbd, pre, samp { font-family: var(--font-mono); font-size: .9em; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  z-index: 9999;
  width: auto; height: auto;
  padding: 12px 20px;
  margin: 0;
  clip: auto;
  background: var(--ink);
  color: #fff;
  border-radius: var(--pill);
  font-weight: 600;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow {
  width: 100%;
  max-width: var(--wrap-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--mist { background: var(--mist); }
.section--mist-2 { background: var(--mist-2); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2,
.section--ink h3 { color: #fff; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--flush-b { padding-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--ink .eyebrow { color: var(--accent-bright); }

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  color: var(--ink-3);
  font-size: 1.125rem;
  margin-bottom: 0;
}
.section--ink .section-head p { color: rgba(255, 255, 255, .72); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 56px;
  padding: 0 30px;
  border: 2px solid var(--btn-bd);
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.btn:hover {
  color: var(--btn-fg);
  background: var(--ink-90);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--hover-offset);
}

.btn:active { transform: translate(0, 0); box-shadow: none; }

.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  box-shadow: 6px 6px 0 0 var(--hover-offset);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
}
.btn--ghost:hover {
  background: var(--mist);
  color: var(--ink);
  box-shadow: 6px 6px 0 0 var(--line-2);
}

.section--ink .btn--ghost,
.hero .btn--ghost,
.on-dark .btn--ghost {
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .35);
}
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover,
.on-dark .btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: 6px 6px 0 0 rgba(255, 255, 255, .18);
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: #fff;
}
.btn--white:hover { background: var(--mist); color: var(--ink); box-shadow: 6px 6px 0 0 var(--accent); }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; border-width: 2px; }
.btn--lg { min-height: 64px; padding: 0 38px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .18s var(--ease); }
.link-arrow:hover { color: var(--accent-deep); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.03em;
  text-decoration: none;
  color: var(--ink);
}
.brand img { max-height: 38px; width: auto; border-radius: 6px; }

.brand__logo {
  max-height: 40px;
  width: auto;
  height: auto;
  border-radius: 4px;
}

/* The wordmark is a magenta→indigo gradient; on the dark footer it becomes a
   clean white lockup instead of disappearing into the background. */
.brand__logo--mono {
  filter: brightness(0) invert(1);
  opacity: .94;
}

.site-footer .brand__logo--mono { max-height: 32px; }

/* WordPress core custom logo output */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.custom-logo {
  max-height: 42px;
  width: auto;
  border-radius: 6px;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  flex-shrink: 0;
}

.main-nav { margin-left: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li { margin: 0; }

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--pill);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.main-nav a:hover { background: var(--mist); color: var(--ink); }

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  background: var(--ink);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-login {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0 6px;
}
.header-login:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    inset: 76px 0 auto;
    margin: 0;
    padding: 12px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { min-height: 48px; padding: 0 16px; font-size: 1rem; }
  .main-nav .current-menu-item > a { background: var(--mist); color: var(--ink); }
  .header-login { display: none; }
}

@media (max-width: 520px) {
  .header-cta { display: none; }
  .header-in { min-height: 68px; }
  .main-nav { inset-block-start: 68px; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 92px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 120%;
  background:
    radial-gradient(48% 52% at 15% 0%, rgba(173, 21, 135, .30), transparent 70%),
    radial-gradient(42% 48% at 88% 10%, rgba(90, 37, 144, .22), transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { color: #fff; margin-bottom: .55em; }
.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
  position: relative;
  white-space: nowrap;
}

.hero-lede {
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .76);
  margin-bottom: 1.75rem;
}

.hero .btn-row { margin-bottom: 1.5rem; }

.hero-live {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .05);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .82);
}

.hero-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(42, 204, 126, .18);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .875rem;
  color: rgba(255, 255, 255, .62);
}
.hero-trust li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.hero-trust svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent-bright); }

/* EPG mock card */
.epg-card {
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-hard-accent);
  overflow: hidden;
  transform: rotate(-.6deg);
}

.epg-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.epg-card__head strong { color: var(--ink); }
.epg-card__clock { color: var(--accent-deep); }

.epg-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.epg-row:last-child { border-bottom: 0; }

.epg-row__time {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-3);
}
.epg-row__title { font-weight: 700; font-size: .9375rem; letter-spacing: -.01em; }
.epg-row__sub { font-size: .8125rem; color: var(--ink-3); }

.epg-tag {
  padding: 3px 9px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--mist);
  color: var(--ink-2);
}
.epg-tag--live { background: var(--red-soft); color: var(--red); }
.epg-tag--accent { background: var(--accent-soft); color: var(--accent-ink); }
.epg-tag--ok { background: var(--green-soft); color: #16794a; }

.epg-card__foot {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 12px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .05em;
}
.epg-card__foot .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .epg-card { transform: none; box-shadow: var(--shadow-hard); }
  .hero-lede { max-width: none; }
}

/* ==========================================================================
   7. Stats
   ========================================================================== */

.stats {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.stat {
  background: var(--paper);
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px);
  text-align: center;
}

.stat__num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
}
.stat__num sup {
  font-size: .45em;
  color: var(--accent-deep);
  top: -.55em;
  position: relative;
  margin-left: 1px;
}
.stat__label {
  display: block;
  margin-top: .55rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   8. Cards
   ========================================================================== */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.card--hover:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  border-color: var(--ink);
}

.card--flush { padding: 0; overflow: hidden; }

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.card__icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: .35rem; }
.card p { color: var(--ink-3); font-size: .9688rem; margin-bottom: 0; }

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-link:hover { color: inherit; }
.card-link h3 { transition: color .16s var(--ease); }
.card-link:hover h3 { color: var(--accent-deep); }

/* ==========================================================================
   9. Pricing
   ========================================================================== */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.plan--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-hard-accent);
}
.plan--featured:hover { transform: translateY(-3px); }

.plan__badge {
  position: absolute;
  top: -13px;
  left: clamp(22px, 2.4vw, 28px);
  padding: 5px 13px;
  border-radius: var(--pill);
  background: var(--accent);
  color: #fff;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.plan__term {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.plan--featured .plan__term { color: var(--accent-bright); }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: .25rem;
}
.plan__amount {
  font-size: clamp(2.25rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}
.plan__per { font-size: .9375rem; font-weight: 600; color: var(--ink-3); }
.plan--featured .plan__per { color: rgba(255, 255, 255, .6); }

.plan__billed {
  font-size: .8125rem;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}
.plan--featured .plan__billed { color: rgba(255, 255, 255, .62); }

.plan__save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--green-soft);
  color: #16794a;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .02em;
  vertical-align: middle;
}

.plan__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: .9063rem;
  flex-grow: 1;
}
.plan__list li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin-bottom: .55rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.plan--featured .plan__list li { color: rgba(255, 255, 255, .8); }

.plan__list svg {
  width: 15px;
  height: 15px;
  margin-top: .22em;
  flex-shrink: 0;
  color: var(--accent-deep);
}
.plan--featured .plan__list svg { color: var(--accent-bright); }

.plan .btn {
  margin-top: auto;
  padding-inline: 16px;
  font-size: .9375rem;
  white-space: nowrap;
}

.plans-note {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--ink-3);
  text-align: center;
}
.plans-note a { font-weight: 600; }

@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan--featured { order: -1; }
}

/* ==========================================================================
   10. Comparison table
   ========================================================================== */

.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .9375rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.cmp th,
.cmp td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.cmp thead th {
  background: var(--mist);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cmp thead th:nth-child(2) {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td { border-bottom: 0; }

.cmp tbody th {
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
}

.cmp td:first-of-type { font-weight: 600; }
.cmp .yes { color: #0f8552; font-weight: 700; }
.cmp .no { color: var(--ink-4); }

.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-wrap .cmp { min-width: 620px; }

/* ==========================================================================
   11. Steps
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
}

.step__meta {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: .4rem;
}

.step h3 { margin-bottom: .3rem; }
.step p { color: var(--ink-3); font-size: .9375rem; margin-bottom: 0; }

@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   12. Testimonials
   ========================================================================== */

.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  height: 100%;
}

.stars { display: flex; gap: 2px; color: var(--amber); }
.stars svg { width: 17px; height: 17px; }

.quote p {
  font-size: 1rem;
  line-height: 1.58;
  color: var(--ink-2);
  margin: 0;
  flex-grow: 1;
}

.quote footer {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .875rem;
  font-weight: 800;
  flex-shrink: 0;
}

.quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.2;
}
.quote small { color: var(--ink-3); font-size: .8125rem; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.5rem;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--paper);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.rating-badge strong { color: var(--ink); }

/* ==========================================================================
   13. FAQ
   ========================================================================== */

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  transition: color .16s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-2);
  transition: transform .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: rotate(180deg);
}

.faq-item__body {
  padding: 0 0 24px;
  max-width: 70ch;
  color: var(--ink-3);
  font-size: .9688rem;
  line-height: 1.65;
}
.faq-item__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   14. CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 88px);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 120%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(173, 21, 135, .28), transparent 70%);
  pointer-events: none;
}

.cta-band > .wrap { position: relative; }

.cta-band h2 { color: #fff; }

.cta-band p {
  max-width: 60ch;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, .74);
  font-size: 1.0625rem;
}

.cta-band .btn-row { justify-content: center; }

.cta-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.cta-chips li {
  margin: 0;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--pill);
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .68);
  padding-block: clamp(44px, 6vw, 72px) 0;
  font-size: .9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p {
  max-width: 34ch;
  color: rgba(255, 255, 255, .6);
  font-size: .9375rem;
  margin-bottom: 1.25rem;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pay-row li {
  margin: 0;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .8);
}

.footer-col h4 {
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a {
  color: rgba(255, 255, 255, .68);
  text-decoration: none;
  font-size: .9375rem;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

.disclaimer {
  padding-bottom: 28px;
  font-size: .75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .38);
  max-width: 90ch;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   16. Content (posts & pages)
   ========================================================================== */

.page-hero {
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: var(--mist-2);
}
.page-hero h1 { margin-bottom: .35em; }
.page-hero__lede {
  max-width: 68ch;
  font-size: 1.125rem;
  color: var(--ink-3);
  margin: 0;
}
.page-hero .eyebrow { margin-bottom: .75rem; }

/* Listing pages keep a modest title so the grid leads the page */
.page-hero--compact {
  padding-block: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 30px);
}
.page-hero--compact h1 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.12;
  margin-bottom: 0;
}

.breadcrumbs {
  font-size: .8125rem;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-deep); text-decoration: underline; }

.entry-content {
  max-width: 780px;
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 64px);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.entry-content > * + * { margin-top: 1.15em; }

.entry-content h2 {
  margin-top: 2.2em;
  margin-bottom: .5em;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.entry-content h3 {
  margin-top: 1.8em;
  margin-bottom: .4em;
  font-size: 1.25rem;
}

.entry-content h4 {
  margin-top: 1.5em;
  font-size: 1.0625rem;
}

.entry-content a { color: var(--accent-ink); font-weight: 600; }
.entry-content a:hover { color: var(--accent-deep); }

.entry-content blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--mist);
  color: var(--ink);
  font-size: 1.0625rem;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .5em; }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: .9375rem;
}
.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.entry-content th { background: var(--mist); font-weight: 700; color: var(--ink); }

.entry-content img { border-radius: var(--r-md); }

/* Legacy button markup that appears inline inside prose */
.entry-content .btn,
.entry-content .btn-primary {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  margin: 0 .35em .5em 0;
  border: 2px solid var(--ink);
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.entry-content .btn:hover,
.entry-content .btn-primary:hover { color: #fff; background: var(--ink-90); }
.entry-content .btn-ghost {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}
.entry-content .btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption {
  margin-top: .6em;
  font-size: .8125rem;
  color: var(--ink-3);
  text-align: center;
}

.entry-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--mist);
  color: var(--ink);
  font-size: .875em;
}
.entry-content pre {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #e9edee;
  overflow-x: auto;
  font-size: .875rem;
  line-height: 1.6;
}
.entry-content pre code { padding: 0; background: none; color: inherit; }

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--ink-3);
}

/* Comments */
.comments-area {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 6vw, 80px);
}
.comments-title,
.comment-reply-title {
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}
.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.comment-list .comment-body {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.comment-list .children {
  list-style: none;
  margin: 0 0 0 1.5rem;
  padding: 0;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: .9375rem;
}
.comment-author img { border-radius: 50%; }
.comment-metadata {
  font-size: .75rem;
  color: var(--ink-4);
  margin-bottom: .5rem;
}
.comment-metadata a { color: inherit; text-decoration: none; }
.comment-content { font-size: .9375rem; color: var(--ink-2); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: .35rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent-deep);
  outline: 2px solid var(--accent-soft);
}
.comment-form .submit {
  min-height: 52px;
  padding: 0 30px;
  border: 2px solid var(--ink);
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.comment-form .submit:hover { background: var(--ink-90); }

/* Post cards on archives */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 940px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.post-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  border-color: var(--ink);
  color: inherit;
}

.post-card__media {
  aspect-ratio: 16 / 9;
  background: var(--mist);
  overflow: hidden;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .4s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.04); }

.post-card__body { padding: 20px 22px 24px; }

.post-card__cat {
  display: inline-block;
  margin-bottom: .6rem;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.post-card h2,
.post-card h3 { font-size: 1.0625rem; margin-bottom: .4rem; line-height: 1.3; }
.post-card p { font-size: .875rem; color: var(--ink-3); margin-bottom: .75rem; }
.post-card time { font-size: .75rem; color: var(--ink-4); }

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 48px);
}
.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--paper);
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.pagination .current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pagination .dots { border-color: transparent; }

/* -------------------------------------------------------------------------
   Legacy pages: the previous theme generated the <h1> from the page title.
   This band reproduces that heading (and the H1 those pages depend on)
   without disturbing the full-bleed hero that follows it.
   ------------------------------------------------------------------------- */

.iptv-legacy .legacy-title {
  background: var(--mist-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(20px, 3vw, 32px);
}

.iptv-legacy .legacy-title .wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.iptv-legacy .legacy-title h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
  color: var(--ink);
}

/* Pages whose content has no section wrappers of its own get the container the
   previous theme supplied. */
.iptv-legacy .legacy-body {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(32px, 4.5vw, 60px) var(--gutter) clamp(48px, 6vw, 80px);
}

.iptv-legacy .legacy-body > .eyebrow:first-child { margin-top: 0; }

.iptv-legacy .legacy-body h2 {
  margin-top: 2em;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.15;
}
.iptv-legacy .legacy-body h2:first-child { margin-top: 0; }

.iptv-legacy .legacy-body h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.iptv-legacy .legacy-body p,
.iptv-legacy .legacy-body li {
  color: var(--ink-2);
}

.iptv-legacy .legacy-body ul {
  margin: 1em 0 1.4em;
  padding-left: 1.3em;
}

@media (max-width: 760px) {
  /* Legacy content carries its grids as inline styles, which no stylesheet
     media query can reach without !important. Collapse them all to one column. */
  .iptv-legacy .legacy-body [style*="display:grid"],
  .iptv-legacy .legacy-body [style*="display: grid"],
  .iptv-legacy .legacy-body [style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .iptv-legacy .legacy-body {
    padding-inline: 20px;
  }
}

/* ==========================================================================
   17. WooCommerce (when activated)
   ========================================================================== */

.woocommerce .products ul,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
@media (max-width: 1000px) {
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); }
}

.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 0 20px;
  overflow: hidden;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.woocommerce ul.products li.product:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  border-color: var(--ink);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  margin: 0 0 16px;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 20px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.woocommerce ul.products li.product .price {
  padding: 0 20px;
  margin: .35rem 0 .9rem;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.woocommerce ul.products li.product .price del { color: var(--ink-4); font-weight: 500; font-size: .8em; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.woocommerce ul.products li.product .button {
  margin: auto 20px 0;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
  transition: background-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.woocommerce ul.products li.product .button:hover {
  background: var(--ink-90);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--accent);
}

.woocommerce span.onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-height: 0;
  min-width: 0;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--accent);
  color: #fff;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.6;
}

.woocommerce .single-product div.product .summary .price {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.woocommerce .single-product div.product .summary .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  min-height: 56px;
  padding: 0 32px;
  border: 2px solid var(--ink);
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.woocommerce .single-product div.product .summary .single_add_to_cart_button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--ink-90);
  color: #fff;
  box-shadow: 6px 6px 0 0 var(--accent);
}

.woocommerce .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.woocommerce .woocommerce-tabs ul.tabs li {
  margin: 0 6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.woocommerce .woocommerce-tabs ul.tabs li a {
  padding: 12px 4px;
  color: var(--ink-3);
  font-weight: 600;
}
.woocommerce .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }
.woocommerce .woocommerce-tabs ul.tabs::before,
.woocommerce .woocommerce-tabs ul.tabs li::before,
.woocommerce .woocommerce-tabs ul.tabs li::after { display: none; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 0;
  border-left: 4px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--mist);
  color: var(--ink-2);
  padding: 14px 18px;
}

.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.woocommerce table.shop_table th { background: var(--mist); }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .coupon .input-text {
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-family: inherit;
  font-size: 1rem;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--accent-deep);
  outline: 2px solid var(--accent-soft);
}

/* ==========================================================================
   18. Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .8125rem;
  font-weight: 600;
}

.prose-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
}
.prose-link-list li { margin: 0; }
.prose-link-list li::after { content: "·"; margin-left: 4px; color: var(--line-2); }
.prose-link-list li:last-child::after { content: ""; }
.prose-link-list a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.prose-link-list a:hover { color: var(--accent-deep); text-decoration: underline; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .hero-live, .btn { display: none !important; }
  body { color: #000; }
  .entry-content { max-width: none; }
}
