/* ================================================================
   zycon2026.css  --  Zycon Domains buy page stylesheet
   Served from /wp-content/themes/zycon/zycon2026.css
   Fonts loaded in template: Syne (700,800) + DM Sans (300,400,500,600)
   ================================================================ */

/* --- SCOPED VARIABLES & BASE RESET ---------------------------- */
/*
 * All custom properties are declared on .page-2026-layout (the body
 * class present on every 2026 page) rather than :root.  This prevents
 * the parent WordPress theme's compiled CSS from overriding them,
 * since any :root declaration in another stylesheet would lose to a
 * more-specific selector on the element that actually uses the vars.
 *
 * The body class is set:
 *  - Perl templates (buy/search): <body class="page-2026-layout">
 *  - PHP templates (WP pages):    body_class('page-2026-layout')
 */
.page-2026-layout {
  --ink:        #0e1117;
  --bg:         #f5f3ee;
  --card:       #ffffff;
  --accent:     #c8872a;
  --accent2:    #1a3a5c;
  --muted:      #6b6b6b;
  --border:     #e0dcd4;
  --gold-light: #f5e6cc;

  /* Font variables -- change these to switch fonts site-wide.
     Update the Google Fonts <link> in the templates to match.
     Body options:    'DM Sans', 'Outfit', 'Lexend', 'Barlow'
     Heading option:  'Syne' (keep for brand consistency) */
  --font-body: 'Lexend', sans-serif;
  --font-head: 'Lexend', sans-serif;
}

.page-2026-layout *,
.page-2026-layout *::before,
.page-2026-layout *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page-2026-layout {
  font-family: var(--font-body);
  font-size: 16px;          /* override Bootstrap's 14px default */
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.page-2026-layout a { color: var(--accent2); }
.page-2026-layout a:hover { color: var(--accent); }

.page-2026-layout p { margin-bottom: 0.75rem; }
.page-2026-layout p:last-child { margin-bottom: 0; }

/* Force lining (non-descending) numerals on all headings and price displays.
   Syne uses oldstyle figures by default which causes digits like 7, 3, 9
   to sit lower than others -- this fixes it globally. */
.page-2026-layout h1,
.page-2026-layout h2,
.page-2026-layout h3,
.page-2026-layout h4,
.page-2026-layout .price-main,
.page-2026-layout .amount,
.page-2026-layout .why-num,
.page-2026-layout .trust-stat-num,
.page-2026-layout .section-title,
.page-2026-layout .domain,
.page-2026-layout .price-badge .amount {
  font-variant-numeric: lining-nums tabular-nums;
}


/* --- HEADER ---------------------------------------------------- */
.site-header {
  background: var(--accent2);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 64px;
}

.header-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.site-logo span { color: var(--accent) !important; }

.site-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btc-badge { display: flex; align-items: center; }
.btc-badge img { display: block; }

.header-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.header-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--accent); }

.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.header-search input[type=text] {
  background: transparent;
  border: none;
  padding: 0.4rem 0.75rem;
  color: #fff;
  font-size: 0.8rem;
  width: 160px;
  outline: none;
  font-family: var(--font-body);
}

.header-search input[type=text]::placeholder { color: rgba(255,255,255,0.45); }
.header-search button {
  background: var(--accent);
  border: none;
  padding: 0.4rem 0.7rem;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}
.header-search button:hover { background: #b57524; }


/* --- HERO ------------------------------------------------------ */
.hero {
  background: var(--accent2);
  padding: 3.5rem 5% 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* suppressed on mobile via JS-injected style tag in template2026.txt */
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 48px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  /* 900px gives a 26-char domain name room to sit on one line at 2.6rem
     without overflowing the container. Shorter domains still centre fine.
     overflow:hidden clips any extreme outlier symmetrically. */
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}
.hero-label {
  display: inline-block;
  background: rgba(200,135,42,0.18);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(200,135,42,0.3);
}
.hero h1 {
  font-family: var(--font-head);
  /* vw-based size means the font shrinks with the viewport so long domain
     names stay on one line. Max capped at 2.6rem so even a 26-char domain
     fits within the 900px hero-inner on wide screens without overflowing.
     white-space: nowrap prevents any mid-domain line break on desktop;
     the mobile breakpoint overrides both properties for narrow screens. */
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  white-space: nowrap;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Price badge in hero */
.price-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #c8872a, #e8a84a);
  border-radius: 8px;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 8px 32px rgba(200,135,42,0.35);
}
.price-badge .from {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.price-badge .amount {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: #fff;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
}
.price-badge .vat {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

/* Currency symbol sizing -- used in both hero badge and payment card */
.currency {
  font-size: 0.55em;
  vertical-align: 0.35em;
  font-weight: 700;
}


/* --- PAGE BODY LAYOUT ------------------------------------------ */
.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 5% 5rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) {
  .page-body { grid-template-columns: 1fr; }
}

/* Right column: flex column so FAQ sits naturally below sticky payment card */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


/* --- LEFT COLUMN -- shared typography -------------------------- */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}


/* --- VALUE / PROMO BANNER -------------------------------------- */
.value-banner {
  background: linear-gradient(135deg, var(--accent2) 0%, #254d72 100%);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  color: #fff;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.value-banner .icon { font-size: 2rem; flex-shrink: 0; }
.value-banner h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--accent);
}
.value-banner p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin-bottom: 0;
}
.value-banner a { color: var(--accent); }
.value-banner a:hover { color: #fff; }

.promo-banner {
  background: #fef3cd;
  border: 1px solid #f0c040;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: #7a5800;
  text-align: center;
}

/* Sale / reduced price badge */
.sale-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #b91c1c;
  border-radius: 6px;
  padding: 0.45rem 1rem;
  margin-top: 0.6rem;
  line-height: 1.25;
}
.sale-badge .sale-was {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.6);
}
.sale-badge .sale-now {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.sale-badge .sale-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* Compact variant inside payment card header */
.payment-card-header .sale-badge {
  margin-top: 0.5rem;
  padding: 0.35rem 0.85rem;
}
/* Compact variant inside sticky bar */
.sticky-buy-bar .sale-badge {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1.4;
}
/* Was and Now each on their own row -- label hidden, no space needed */
.sticky-buy-bar .sale-badge .sale-label {
  display: none;
}


/* --- DOMAIN USES SECTION --------------------------------------- */
.domain-uses-section { margin-bottom: 2.5rem; }

.uses-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0;
}
.use-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.use-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(200,135,42,0.12);
}
.use-icon {
  width: 36px;
  height: 36px;
  background: var(--gold-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.use-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.use-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}


/* --- WHY INVEST SECTION ---------------------------------------- */
.why-section { margin-bottom: 2.5rem; }

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 4px solid var(--accent2);
}
.why-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
}
.why-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.why-item-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}


/* --- ERROR / STATUS MESSAGES ----------------------------------- */
.error-message {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 2rem;
  margin-bottom: 2rem;
}
.error-message h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.error-message p { font-size: 0.9rem; color: var(--muted); }


/* --- STICKY PAYMENT CARD --------------------------------------- */
.payment-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(14,17,23,0.08);
}

.payment-card-header {
  background: var(--accent2);
  padding: 1.5rem;
  text-align: center;
  border-radius: 12px 12px 0 0;
}
.payment-card-header .domain {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.payment-card-header .price-line {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.25rem;
}
.payment-card-header .price-main {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.1;
}
.payment-card-header .price-main .currency {
  font-size: 0.55em;
  vertical-align: 0.35em;
  font-weight: 700;
}
.payment-card-header .inc-vat {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-left: 0.25rem;
  font-family: var(--font-body);
}

.payment-card-body { padding: 1.5rem; }

/* PayPal "pay later" message strip */
.paypal-message-wrap {
  margin-bottom: 1rem;
  min-height: 1.5rem;
}

/* T&C checkbox row */
.tc-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: #f9f7f3;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.tc-check input[type=checkbox] {
  margin-top: 2px;
  accent-color: var(--accent2);
  cursor: pointer;
  flex-shrink: 0;
}
.tc-check a { color: var(--accent2); text-decoration: underline; }
.tc-check a:hover { color: var(--accent); }

/* Payment method rows */
.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.pay-row {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 0.2rem 0;
}
.pay-row strong { font-weight: 600; }
.pay-row-btn { padding: 0; }
.pay-row-form { padding: 0.25rem 0; }

.pay-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fafaf8;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  text-align: left;
}
.pay-btn:hover {
  border-color: var(--accent);
  background: var(--gold-light);
}
.pay-btn.primary {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}
.pay-btn.primary:hover { background: #254d72; border-color: #254d72; }
.pay-arrow { color: var(--accent); font-size: 0.9rem; }

/* Expandable payment detail panels */
/* T&C hint shown next to PayPal label when checkbox not yet ticked */
.tc-hint {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-left: 0.6rem;
  vertical-align: middle;
  display: block;  
}

/* Gold submit button replacing the old green submit.jpg image */
.form-submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.4rem;
  transition: background 0.2s;
}
.form-submit-btn:hover { background: #b57524; }

/* Offer form submit -- navy base, gold hover */
.offer-submit-btn {
  background: var(--accent2);
  font-size: 0.95rem;
  padding: 0.65rem 2rem;
  width: 100%;
  max-width: 280px;
  letter-spacing: 0.02em;
}
.offer-submit-btn:hover { background: var(--accent); }

/* Amount + currency select on one row, currency sized to content only */
.offer-amount-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.offer-amount-field {
  width: 110px !important;
  max-width: 110px !important;
  flex: 0 0 auto;
}
.offer-currency-select {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto;
}
/* Textarea for offer note -- full width up to card width */
.offer-note-field {
  width: 100% !important;
  max-width: 100% !important;
  resize: vertical;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink);
  padding: 0.4rem 0.6rem;
}

.pay-detail-panel {
  background: #f9f7f3;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.pay-detail-panel p { margin-bottom: 0.6rem; }
.pay-detail-panel strong { color: var(--ink); }

/* Crypto address table */
.crypto-table { margin: 0.5rem 0 1rem; font-size: 0.82rem; }
.crypto-table td { padding: 0.2rem 0.5rem 0.2rem 0; vertical-align: top; }
.crypto-table td:first-child { white-space: nowrap; color: var(--ink); }

/* Webform inside payment panels -- preserves existing search.pl styling */
.webform .box { margin-bottom: 0.6rem; }
.webform label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.webform input.field,
.webform select {
  width: 100%;
  max-width: 280px;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink);
}
.webform input.field:focus,
.webform select:focus {
  outline: none;
  border-color: var(--accent2);
}
.webform .right { text-align: left; margin-top: 0.5rem; }

/* T&C / price warning paragraphs below payment card */
.tandc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.price-warning strong { color: var(--ink); }

/* Trust pills */
.trust-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.trust-pill {
  background: #f0f4f8;
  border-radius: 2rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Links below payment card */
.card-links {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.card-links a   { color: var(--accent2); text-decoration: none; }
.card-links a:hover { color: var(--accent); text-decoration: underline; }


/* --- FOOTER ---------------------------------------------------- */
.site-footer {
  background: var(--accent2);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 1.5rem 5%;
  font-size: 0.8rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.tc-short { display: none; }

/* --- ANIMATIONS ------------------------------------------------ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * {
  animation: fadeUp 0.55s ease both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.35s; }


/* --- RESPONSIVE ------------------------------------------------ */
@media (max-width: 600px) {
  .site-header { padding: 0.5rem 4%; gap: 0.4rem; min-height: 0; }
  .btc-badge { display: none; }        /* too cramped on small screens */
  .header-nav ul { gap: 0.6rem; }
  .header-nav a { font-size: 0.78rem; }
  /* search box fills its wrapped row; input fills the box minus the button */
  .header-search { width: 100%; box-sizing: border-box; }
  .header-search input[type=text] { width: 1px; flex: 1 1 auto; padding: 0.3rem 0.5rem; }
  .header-search button { padding: 0.3rem 0.55rem; }
  /* tighten search hero vertical space on mobile */
  .search-hero { padding: 0.5rem 4% 0.75rem; }
  .search-hero h1 { font-size: clamp(1.4rem, 5vw, 1.8rem); margin-bottom: 0.2rem; }
  /* cancel desktop nowrap; allow wrap for narrow screens */
  .hero h1 { font-size: clamp(0.95rem, 4.8vw, 2.6rem); white-space: normal; overflow-wrap: break-word; }
  .hero { padding: 2.5rem 4% 3rem; }
  .page-body { padding: 2rem 4% 3rem; gap: 2rem; }
  .payment-card { position: static; }  /* redundant - sticky removed, kept for safety */
  .value-banner { flex-direction: column; text-align: center; }
  .trust-row { gap: 0.35rem; }
  .tc-long  { display: none; }
  .tc-short { display: inline; }
  /* Scale down payment card domain and body h2 for long domain names */
  .payment-card-header .domain {
    font-size: clamp(0.9rem, 4.5vw, 1.5rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .section-title {
    font-size: clamp(1.1rem, 4.5vw, 1.7rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* ================================================================
   MOBILE STICKY BUY BAR
   -- Only shown below 860px (single-column layout).
   -- Hidden by default on desktop; IntersectionObserver hides it
      once the payment card scrolls into view.
   ================================================================ */
.sticky-buy-bar {
  display: none; /* desktop: off */
}

@media (max-width: 860px) {
  .sticky-buy-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--accent2, #1a3a5c);
    color: #fff;
    padding: 0.7rem 1rem 0.8rem;
    box-shadow: 0 -3px 12px rgba(0,0,0,0.22);
    transition: transform 0.25s ease, opacity 0.25s ease;
    gap: 0.75rem;
  }
  .sticky-buy-bar--hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  .sticky-buy-price {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
  }
  .sticky-buy-label {
    font-size: 0.7rem;
    opacity: 0.8;
    white-space: nowrap;
  }
  .sticky-buy-amount {
    font-family: var(--font-head, sans-serif);
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .sticky-buy-currency {
    font-size: 0.85rem;
    vertical-align: super;
    line-height: 0;
  }
  .sticky-buy-vat {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.75;
  }
  .sticky-buy-btn {
    flex-shrink: 0;
    background: var(--accent, #c8872a);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.1rem;
    font-family: var(--font-head, sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
  }
  .sticky-buy-btn:hover,
  .sticky-buy-btn:focus {
    background: #b07020;
    outline: 2px solid #fff;
  }
}

/* ================================================================
   SEARCH PAGE STYLES
   ================================================================ */

/* --- SEARCH HERO ----------------------------------------------- */
.search-hero {
  background: var(--accent2);
  padding: 2.5rem 5% 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.search-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
/* JS adds search-hero::after{display:none} via injected style tag on mobile */
.search-hero-inner { max-width: 760px; margin: 0 auto; }
/* short tagline hidden by default; swapped in at 600px breakpoint */
.search-hero-sub-short { display: none; }
.search-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.5rem;
}
.search-hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 0;
}
.search-hero .promo-banner {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* --- SEARCH PAGE BODY ------------------------------------------ */
.search-page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 5% 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- FILTER CARD ----------------------------------------------- */
.search-filter-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(14,17,23,0.05);
}
.search-filter-form { width: 100%; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
}
.filter-row-top {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.filter-group > label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.filter-group-keyword { flex: 1 1 200px; }
.filter-group-price   { width: 90px; flex-shrink: 0; }
.filter-group-length  { width: 100px; flex-shrink: 0; }
.filter-group-checks  { flex: 1 1 280px; }
.filter-group-submit  { margin-left: auto; }

.filter-group input[type=text],
.filter-group select {
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--ink);
  background: #fafaf8;
  width: 100%;
}
.filter-group input[type=text]:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--accent2);
  background: #fff;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 2.25rem;
  flex-wrap: nowrap;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  color: var(--ink);
}
.radio-label input { accent-color: var(--accent2); cursor: pointer; }

.checks-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  height: 2.25rem;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  color: var(--ink);
}
.inline-check input { accent-color: var(--accent2); cursor: pointer; }

.search-submit-btn {
  height: 2.25rem;
  padding: 0 1.4rem;
  background: var(--accent2);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.search-submit-btn:hover { background: #254d72; }



/* --- RESULTS SECTION ------------------------------------------- */
.results-section { display: flex; flex-direction: column; gap: 1rem; }

.results-summary { font-size: 0.83rem; }
.result-count { color: var(--muted); }
.result-count-max { color: var(--accent); font-weight: 500; }
.no-results { color: var(--muted); font-style: italic; }

/* Results table wrapper */
.results-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(14,17,23,0.04);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.results-table thead tr {
  background: var(--accent2);
}
.results-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
}
.results-table th.col-price,
.results-table th.col-lease,
.results-table th.col-action { text-align: right; }

.result-row {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.result-row:last-child { border-bottom: none; }
.result-row:hover { background: #faf8f4; }

.results-table td {
  padding: 0.7rem 1rem;
  vertical-align: middle;
  border: none;
}

/* Domain name cell */
.result-domain { font-weight: 600; }
.domain-link {
  color: var(--accent2);
  text-decoration: none;
  font-size: 0.92rem;
}
.domain-link:hover { color: var(--accent); text-decoration: underline; }
.admin-id { font-size: 0.72rem; color: var(--muted); margin-left: 0.4rem; }

/* Price cell */
.result-price { text-align: right; white-space: nowrap; }

/* Lease cell */
.result-lease-col { text-align: right; white-space: nowrap; }
.result-lease {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.lease-price { font-size: 0.8rem; color: var(--muted); }

/* Action cell */
.result-action { text-align: right; white-space: nowrap; }

/* Action / lease buttons */
.result-btn {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.result-btn-buy {
  background: var(--accent);
  color: #fff;
}

.result-btn-offer {
  background: var(--accent2);
  color: #fff;
}
.result-btn-offer:hover { background: #254d72; color: #fff; }

.result-btn-enquiry {
  background: #f0f4f8;
  color: var(--muted);
  border: 1px solid var(--border);
}
.result-btn-enquiry:hover { background: var(--border); color: var(--ink); }

.result-btn-lease {
  background: transparent;
  color: var(--accent2);
  border: 1px solid var(--accent2);
}
.result-btn-lease:hover { background: var(--accent2); color: #fff; }

/* Status row colouring (subtle left border) */
.status-available  { border-left: 3px solid var(--accent); }
.status-offer      { border-left: 3px solid #f0c040; }
.status-offer-only { border-left: 3px solid var(--accent2); }
.status-enquiry    { border-left: 3px solid var(--border); opacity: 0.75; }

/* No results panel */
.no-results-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.no-results-panel a { color: var(--accent2); }

/* --- SEARCH RESULTS PAGER -------------------------------------- */
.results-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 0 0.5rem;
}
.pager-btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  border: 1px solid var(--accent2);
  background: #fff;
  color: var(--accent2);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.pager-btn:hover {
  background: var(--accent2);
  color: #fff;
}
.pager-disabled {
  border-color: var(--border);
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}
.pager-page {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

/* --- SEARCH PAGE RESPONSIVE ------------------------------------ */
@media (max-width: 700px) {
  .search-page-body { padding: 1.5rem 4% 3rem; gap: 1.25rem; }
  .search-filter-card { padding: 0; }

  /* Toggle button: visible only on mobile */
  .filter-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    background: none;
    border: none;
    padding: 0 1.25rem;
    margin: 0;
    height: 2.5rem;
    line-height: 1;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent2);
    cursor: pointer;
    text-align: left;
    border-radius: 10px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
  }
  .filter-toggle:hover { background: rgba(26,58,92,0.04); }
  .filter-toggle-icon {
    font-size: 0.7rem;
    color: var(--muted);
    transition: transform 0.2s;
    flex-shrink: 0;
  }
  .filter-toggle[aria-expanded="true"] .filter-toggle-icon {
    transform: rotate(180deg);
  }

  /* Panel padding when open -- display toggled entirely by JS */
  .search-filter-inner {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--border);
  }

  /* Stack every filter row as a single column */
  .filter-row,
  .filter-row-top {
    flex-direction: column;
    align-items: stretch;
  }

  /* Remove the row-top bottom border/margin when stacked */
  .filter-row-top {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  /* All filter groups take full width */
  .filter-group,
  .filter-group-keyword,
  .filter-group-price,
  .filter-group-length,
  .filter-group-checks,
  .filter-group-submit {
    width: 100%;
    flex: none;
    margin-left: 0;
  }

  /* Radio group: let it wrap naturally at full width */
  .radio-group {
    height: auto;
    flex-wrap: wrap;
  }

  /* Submit button full width */
  .search-submit-btn { width: 100%; }

  /* Collapse lease column on mobile -- show inline with price */
  .results-table th.col-lease,
  .results-table td.result-lease-col { display: none; }

  .results-table td { padding: 0.6rem 0.65rem; }
  .result-btn { padding: 0.3rem 0.6rem; font-size: 0.75rem; }
}

/* filter-toggle hidden above mobile breakpoint */
@media (min-width: 701px) {
  .filter-toggle { display: none; }
  /* also ensure search-hero-sub-short stays hidden on desktop
     as a fallback in case JS has not yet run */
  .search-hero-sub-short { display: none; }
}




/* ================================================================
   STATIC WORDPRESS PAGES  (page-2026.php template)
   ================================================================ */

/* --- PAGE HERO (breadcrumb + title bar) ----------------------- */
.page-hero {
  background: var(--accent2);
  padding: 2rem 5% 2.75rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 36px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }

.breadcrumb {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  line-height: 1.15;
  margin: 0;
}


/* --- STATIC PAGE BODY ------------------------------------------ */
.static-page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 5% 5rem;
}

.page-content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.0rem 2.5rem;
  box-shadow: 0 2px 16px rgba(14,17,23,0.05);
}

@media (max-width: 600px) {
  .static-page-body { padding: 1.5rem 4% 3rem; }
  .page-content-card { padding: 1.5rem 1.25rem; }
}


/* --- WORDPRESS CONTENT TYPOGRAPHY ----------------------------- */
/* Scoped to .page-content so it doesn't bleed into other elements */

.page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-content h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 2rem 0 0.6rem;
  line-height: 1.2;
}
.page-content h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 1.5rem 0 0.4rem;
}
.page-content h4 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: 1.25rem 0 0.3rem;
}

.page-content p {
  margin-bottom: 1rem;
}
.page-content p:last-child { margin-bottom: 0; }

.page-content a {
  color: var(--accent2);
  text-decoration: underline;
}
.page-content a:hover { color: var(--accent); }

.page-content ul,
.page-content ol {
  margin: 0.5rem 0 1rem 1.5rem;
  padding: 0;
}
.page-content li { margin-bottom: 0.35rem; }

.page-content blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.25rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--gold-light);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--muted);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin: 1rem 0;
}
.page-content th {
  background: var(--accent2);
  color: #fff;
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.page-content td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.page-content tr:last-child td { border-bottom: none; }
.page-content tr:hover td { background: #faf8f4; }

/* FAQ accordion-style -- works with WP heading + paragraph structure */
.page-content h3 + p,
.page-content h4 + p {
  margin-top: 0;
}

/* Horizontal rule */
.page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* WordPress-generated image alignment classes */
.page-content img { max-width: 100%; height: auto; border-radius: 6px; }
.page-content .alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.page-content .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.page-content .aligncenter { display: block; margin: 1rem auto; }

/* Gutenberg block styles */
.page-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.page-content .wp-block-quote {
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1.25rem;
  background: var(--gold-light);
  border-radius: 0 6px 6px 0;
  margin: 1.25rem 0;
}
.page-content .wp-block-columns { gap: 2rem; }

/* Contact form styling (Contact Form 7 / WPForms) */
.page-content .wpcf7-form input[type=text],
.page-content .wpcf7-form input[type=email],
.page-content .wpcf7-form textarea,
.page-content .wpforms-field input,
.page-content .wpforms-field textarea {
  width: 100%;
  max-width: 480px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: #fafaf8;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.page-content .wpcf7-form input[type=text]:focus,
.page-content .wpcf7-form input[type=email]:focus,
.page-content .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--accent2);
  background: #fff;
}
.page-content .wpcf7-form input[type=submit],
.page-content .wpcf7-submit,
.page-content .wpforms-submit {
  background: var(--accent2);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.page-content .wpcf7-form input[type=submit]:hover,
.page-content .wpcf7-submit:hover { background: #254d72; }

/* Page pagination (for <!--nextpage--> split pages) */
.page-pagination {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}
.page-pagination a {
  color: var(--accent2);
  margin: 0 0.3rem;
}

/* Active nav link */
.header-nav a.nav-current {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}


/* ================================================================
   HOMEPAGE  (page-home.php template)
   ================================================================ */

/* --- HOME HERO ------------------------------------------------- */
.home-hero {
  background: var(--accent2);
  padding: 5rem 5% 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Decorative radial glow behind the search bar */
.home-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(200,135,42,0.18) 0%, transparent 70%);
  pointer-events: none;
}
/* Ellipse cutout into trust strip */
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 52px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.home-hero-inner {
  position: relative;   /* above ::before */
  max-width: 720px;
  margin: 0 auto;
}

.home-hero-label {
  display: inline-block;
  background: rgba(200,135,42,0.18);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(200,135,42,0.3);
}

.home-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.home-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.home-hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Search bar */
.home-search-form { margin-bottom: 1.25rem; }

.home-search-bar {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.home-search-bar input[type=text] {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  outline: none;
  min-width: 0;
}
.home-search-bar input[type=text]::placeholder {
  color: #aaa;
}
.home-search-bar button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 1rem 1.75rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: 0.03em;
}
.home-search-bar button:hover { background: #b57524; }

/* Quick-filter pills */
.home-quick-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.quick-links-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-right: 0.25rem;
}
.quick-pill {
  background: rgba(255,255,255,0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.quick-pill:hover {
  background: var(--accent);
  color: #ffffff !important;
  border-color: var(--accent);
}

/* --- TRUST STRIP ----------------------------------------------- */
.trust-strip {
  background: var(--bg);
  padding: 2.5rem 5%;
}
.trust-strip-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 3rem;
  text-align: center;
}
.trust-stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: 0.3rem;
  font-variant-numeric: lining-nums;
}
.trust-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* --- OPTIONAL EXTRA CONTENT (WP editor) ----------------------- */
.home-extra-content {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 5%;
}
.home-extra-inner {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}
.home-extra-inner h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.home-extra-inner p { margin-bottom: 1rem; }
.home-extra-inner a { color: var(--accent2); }

/* --- HOMEPAGE ANIMATIONS --------------------------------------- */
.home-hero-inner > * {
  animation: fadeUp 0.55s ease both;
}
.home-hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.home-hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.home-hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.home-hero-inner > *:nth-child(4) { animation-delay: 0.35s; }
.home-hero-inner > *:nth-child(5) { animation-delay: 0.42s; }

/* --- HOMEPAGE RESPONSIVE --------------------------------------- */
@media (max-width: 600px) {
  .home-hero { padding: 3.5rem 4% 4.5rem; }
  .home-search-bar button { padding: 1rem 1.1rem; font-size: 0.88rem; }
  .trust-stat { padding: 0.5rem 1.5rem; }
  .trust-divider { display: none; }
}

/* --- LEGACY CONTENT (lease/offer pages via template2026pp.txt) ----------- */
/* The old custom_form() outputs table-based HTML into [CONTENT].
   These rules make it look reasonable inside the new card without
   touching any Perl code. */
.legacy-content table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.legacy-content td, .legacy-content th { padding: 0.5rem 0.75rem; vertical-align: top; border: 0; }
.legacy-content h1 { font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); margin-bottom: 1rem; font-variant-numeric: lining-nums; }
.legacy-content h2 { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); margin: 1.25rem 0 0.5rem; }
.legacy-content p  { font-size: 1rem; line-height: 1.7; margin-bottom: 0.75rem; color: var(--ink); }
.legacy-content input[type=text],
.legacy-content input[type=email],
.legacy-content select,
.legacy-content textarea {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  background: #fafaf8;
  max-width: 100%;
}
.legacy-content input[type=text]:focus,
.legacy-content input[type=email]:focus,
.legacy-content select:focus {
  outline: none;
  border-color: var(--accent2);
  background: #fff;
}
.legacy-content input[type=image] { cursor: pointer; }
.legacy-content .webform .box { margin-bottom: 0.6rem; }
.legacy-content .webform label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 0.2rem; }
.legacy-content a { color: var(--accent2); }
.legacy-content a:hover { color: var(--accent); }
.legacy-content strong { color: var(--ink); }
.legacy-content .tandc { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin-top: 1rem; }

.page-2026-layout .result-btn-offer {
    background-color: #c8872a;   /* warm gold */
    color: var(--accent2);
    text-decoration: none;
}

.page-2026-layout .result-btn-offer:hover,
.page-2026-layout .result-btn-offer:visited {
    background-color: #a86f1e;
    color: #ffffff;
    text-decoration: none;
}
.page-2026-layout .result-btn-buy:hover { background: #b57524; color: #fff; }

/* -- Lease page --------------------------------------- */
.page-2026-layout .lease-page {
    /* no max-width -- card padding governs the width */
}

/* Vertical dl layout for lease terms in the payment card */
.lease-terms-dl {
    margin: 0 0 1.25rem 0;
    padding: 0;
}
.lease-terms-dl dt {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.2rem;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}
.lease-terms-dl dt:first-child { margin-top: 0; }
.lease-terms-dl dd {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.5;
}
/* Standalone heading matching lease-terms-dl dt style.
   Used for sections outside the dl (e.g. "Buy Now Instead"). */
.lease-term-heading {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.2rem;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}
/* "Prefer to own X outright?" paragraph -- matches lease-terms-dl dd style. */
.lease-outright-text {
    margin: 0 0 1.25rem 0;
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.5;
}
.lease-outright-text a { color: var(--accent2); }
.lease-outright-text a:hover { color: var(--accent); }

/* Checkbox row: tick + "I have read and accept:" on one line,
   T&C links indented on the next */
.lease-checkbox-wrap {
    margin-bottom: 1.25rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.lease-checkbox-wrap .lease-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.35rem;
}
.lease-checkbox-wrap .lease-checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    accent-color: #c8872a;
    width: 16px;
    height: 16px;
}
.lease-checkbox-links {
    font-size: 0.85rem;
    color: #444;
    padding-left: 1.6rem;  /* indent to align under label text */
    line-height: 1.7;
}
.lease-checkbox-links a { color: var(--accent2); }
.lease-checkbox-links a:hover { color: var(--accent); }

.page-2026-layout .lease-terms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-2026-layout .lease-terms-table th,
.page-2026-layout .lease-terms-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #dde3ea;
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}

.page-2026-layout .lease-terms-table th {
    color: #1a3a5c;
    background-color: transparent;
    font-weight: 600;
    white-space: nowrap;
    width: 160px;
}

.page-2026-layout .lease-subscribe {
    background: #f4f7fa;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.page-2026-layout .lease-subscribe-label {
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 1.25rem;
}

.page-2026-layout .lease-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 1.25rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-2026-layout .lease-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #c8872a;
    width: 16px;
    height: 16px;
}

.page-2026-layout .lease-tandc {
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #dde3ea;
    padding-top: 1rem;
    margin-top: 1.5rem;
}
.page-2026-layout .uses-disclaimer {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 1rem;
    line-height: 1.5;
}

/* --- FAQ COMPONENT -------------------------------------------- */
/* Shared by buy page (left col) and lease page (right col).      */
/* Exact rules from template2026.txt inline style block.          */
.faq-section {
  margin-top: 1.25rem;
}
.faq-heading {
  font-size: 1.05rem;
  color: var(--navy, #1a3a5c);
  margin: 0.4rem 0 0.75rem;
}
.faq-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-card {
  background: #fff;
  border: 1px solid #dde3eb;
  border-radius: 6px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  gap: 0.5rem;
  user-select: none;
  -webkit-user-select: none;
}
.faq-q:hover {
  background: #f4f7fb;
}
.faq-q-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a3a5c;
  line-height: 1.3;
}
.faq-icon {
  font-size: 1.1rem;
  color: #c8872a;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.faq-a {
  display: none;
  padding: 0.55rem 0.85rem 0.75rem;
  font-size: 0.82rem;
  color: #444;
  line-height: 1.55;
  border-top: 1px solid #eef0f3;
  background: #fafbfd;
}



/* Wrapping section - sits in the left column between domain-uses  */
/* and why-section, one block per matched type, all stacked.       */

.domain-type-section {
  margin-bottom: 2.5rem;
}

/* Individual blurb block - one per matched type code.             */
/* Styled as a card with a left accent stripe, echoing .why-item   */
/* but with more breathing room for the longer prose body.         */
.domain-type-blurb {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.domain-type-blurb:last-child {
  margin-bottom: 0;
}
.domain-type-blurb:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(200,135,42,0.1);
}

/* The section-label class is already defined globally (gold caps   */
/* micro-text) - reuse it here. Just ensure margin is right.       */
.domain-type-blurb .section-label {
  margin-bottom: 0.4rem;
}

/* Headline inside each type blurb - smaller than section-title    */
/* so it doesn't compete with the main page h2 headings.           */
.type-headline {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-variant-numeric: lining-nums tabular-nums;
}

/* Body prose - matches .use-desc / .why-item-text scale but       */
/* slightly larger since these are multi-sentence paragraphs.       */
.type-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}
.type-body p {
  margin-bottom: 0.6rem;
}
.type-body p:last-child {
  margin-bottom: 0;
}

/* --- DOMAIN TYPE BLURBS: RESPONSIVE ---------------------------- */
@media (max-width: 600px) {
  .domain-type-blurb {
    padding: 1rem 1.1rem;
  }
  .type-headline {
    font-size: 1.05rem;
  }
}