/*
 * Smart Mining S.r.l. — Custom CSS for Flatsome Theme
 * Paste into: Appearance → Customize → Additional CSS
 * OR: child-theme style.css
 *
 * Brand palette
 *   Primary   : #3ea7ac  (teal)
 *   Primary Lt : #edf7f8
 *   Secondary  : #dd9933  (amber)
 *   Base text  : #4a4a4a
 *   White bg   : #ffffff
 *
 * Monospace accent font: 'Space Mono' (enqueued via functions.php)
 * ---------------------------------------------------------------- */

/* ═══════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES
══════════════════════════════════════════════════════ */
:root {
  --sm-primary:      #3ea7ac;
  --sm-primary-lt:   #edf7f8;
  --sm-primary-dim:  rgba(62,167,172,0.18);
  --sm-secondary:    #dd9933;
  --sm-secondary-lt: rgba(221,153,51,0.12);
  --sm-secondary-dim:rgba(221,153,51,0.35);
  --sm-base:         #4a4a4a;
  --sm-muted:        #7a8a8b;
  --sm-border:       #d8eaeb;
  --sm-border-dark:  #b5d5d7;
  --sm-surface:      #f7fbfb;
  --sm-dark:         #0f1f20;
  --sm-dark-2:       #162829;
  --sm-green:        #22a85a;
  --sm-green-dim:    rgba(34,168,90,0.12);
  --sm-mono:         'Lato', -apple-system, sans-serif;
  --sm-r:            6px;
}

/* ═══════════════════════════════════════════════════
   2. GLOBAL RESETS & TYPE
══════════════════════════════════════════════════════ */
body {
  color: var(--sm-base) !important;
  background: #fff !important;
}

/* Mono utility class */
.sm-mono {
  font-family: var(--sm-mono) !important;
  letter-spacing: 0.04em;
}

/* Section eyebrow label */
.sm-eyebrow {
  font-family: var(--sm-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sm-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sm-eyebrow::before {
  display: none;
}

/* ═══════════════════════════════════════════════════
   3. TICKER / ANNOUNCEMENT BAR
══════════════════════════════════════════════════════ */
.sm-ticker-bar {
  background: #4d4d4d;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 200;
}
.sm-ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  /* No CSS @keyframes here anymore — see initTickerRaf() in calculator.js.
     Two separate attempts at a CSS-only "-50% loop" animation (first with
     a flat -50%, then with an exact measured pixel distance) both still
     showed a visible jump at the loop-restart point in careful isolated
     testing, across both Chrome and Edge — this points to the technique
     itself (any keyframe animation that "restarts" by jumping back to
     0%) being unreliable here, not a pixel-math or duration-change bug.
     A requestAnimationFrame loop instead continuously advances the
     transform's position with modulo arithmetic, so there is never a
     restart/jump at all — the position just keeps counting up and wraps
     mathematically, with nothing for the compositor to visibly "snap". */
}
.sm-ticker-bar:hover .sm-ticker-track {
  /* Hover-to-pause is now handled by initTickerRaf() reading this
     pseudo-class via :hover detection in JS (see the mouseenter/leave
     listeners), since there's no CSS animation-play-state to toggle
     anymore. This selector is kept only as a harmless no-op fallback. */
}
.sm-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sm-mono);
  font-size: 11px;
}
.sm-ticker-label { color: rgba(255,255,255,0.45); }
.sm-ticker-label-btc { color: var(--sm-secondary); } /* brand orange */
.sm-ticker-label-bch { color: var(--sm-primary); }   /* brand teal */
.sm-ticker-value { color: #fff; font-weight: 700; }
.sm-ticker-up    { color: #22d47b; }
.sm-ticker-dn    { color: #ff7070; }
.sm-ticker-sep   { color: rgba(255,255,255,0.30); font-size: 19px; }

/* ═══════════════════════════════════════════════════
   4. HERO SECTION
══════════════════════════════════════════════════════ */
.sm-hero {
  background: var(--sm-primary-lt);
  padding: 80px 0 64px;
}
.sm-hero .row {
  align-items: center;
}
.sm-hero h1 {
  font-size: clamp(32px, 4.4vw, 58px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.025em !important;
  color: var(--sm-dark) !important;
  margin-bottom: 20px !important;
}
.sm-hero h1 em {
  font-style: normal;
  color: var(--sm-secondary);
}
.sm-hero-sub {
  font-size: 17px;
  color: var(--sm-muted);
  line-height: 1.72;
  margin-bottom: 32px;
  max-width: 520px;
}
.sm-hero-sub + .sm-hero-sub {
  margin-top: -18px; /* tighter gap between two consecutive sub paragraphs than the 32px meant for the space before the next different element */
}
.sm-hero-sub strong { color: var(--sm-dark); font-weight: 600; }
.sm-hero-note {
  font-family: var(--sm-mono);
  font-size: 11px;
  color: var(--sm-muted);
  margin-top: 16px;
  letter-spacing: 0.04em;
}
.sm-hero-note a {
  color: var(--sm-primary);
  border-bottom: 1px solid var(--sm-primary-dim);
}
.sm-hero-note-arrow { color: var(--sm-secondary) !important; }

/* ── Jackpot Card ──
   White card on a light section, matching the visual language of the
   other cards on the site (.sm-feed-card, .sm-bch-price-card) — dark
   text for the big numbers, muted gray for labels, brand orange used
   selectively as the one accent color rather than as the card's base. */
.sm-jackpot-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 12px;
  padding: 36px 36px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,31,32,0.08);
}
.sm-jackpot-label {
  font-family: var(--sm-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sm-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sm-primary);
  animation: sm-pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes sm-pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(62,167,172,.7); }
  50%      { box-shadow: 0 0 0 7px rgba(62,167,172,0); }
}
.sm-jackpot-amount {
  font-family: var(--sm-mono);
  font-size: clamp(38px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--sm-secondary);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.sm-jackpot-btc {
  font-family: var(--sm-mono);
  font-size: 13px;
  color: var(--sm-muted);
  margin-bottom: 26px;
  letter-spacing: 0.04em;
}
.sm-jackpot-divider {
  height: 1px;
  background: var(--sm-border);
  margin-bottom: 22px;
}
.sm-jackpot-products-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.sm-jackpot-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.sm-jstat-label {
  font-family: var(--sm-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sm-muted);
  margin-bottom: 4px;
}
.sm-jstat-val {
  font-family: var(--sm-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--sm-dark);
}
.sm-jstat-val.sm-jstat-accent {
  color: var(--sm-secondary) !important;
  text-decoration: none !important;
  display: inline-block;
}

/* ═══════════════════════════════════════════════════
   5. TRUST BAR
══════════════════════════════════════════════════════ */
.sm-trust-bar {
  background: #ffffff;
  border-top: 1px solid var(--sm-border);
  border-bottom: 1px solid var(--sm-border);
  padding: 20px 0;
}
.sm-trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.sm-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 32px;
  border-right: 1px solid var(--sm-border-dark);
  font-size: 13px;
  color: var(--sm-base);
  font-weight: 500;
}
.sm-trust-item:last-child { border-right: none; }
.sm-trust-item strong { color: var(--sm-dark); }
.sm-trust-icon { font-size: 17px; }

/* ═══════════════════════════════════════════════════
   6. BLOCK FIND FEED
══════════════════════════════════════════════════════ */
.sm-feed-section {
  background: var(--sm-primary-lt);
  border-top: 1px solid var(--sm-border);
  border-bottom: 1px solid var(--sm-border);
  padding: 80px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.sm-feed-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.sm-feed-link {
  font-family: var(--sm-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sm-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.sm-feed-link::after { content: '→'; }
.sm-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sm-feed-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 8px;
  padding: 26px 24px 22px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.sm-feed-card:hover {
  border-color: var(--sm-primary);
  box-shadow: 0 6px 28px var(--sm-primary-dim);
}
.sm-feed-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sm-feed-hardware {
  font-family: var(--sm-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sm-primary);
  background: var(--sm-primary-lt);
  border: 1px solid var(--sm-border);
  border-radius: 3px;
  padding: 3px 9px;
}
.sm-feed-date {
  font-family: var(--sm-mono);
  font-size: 10px;
  color: var(--sm-muted);
  letter-spacing: 0.05em;
}
.sm-feed-reward-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.sm-feed-reward {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sm-mono);
  font-size: 21px;
  font-weight: 700;
  color: var(--sm-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.sm-feed-reward img { display: block; flex-shrink: 0; }
.sm-feed-eur {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}
.sm-feed-eur-amount {
  font-family: var(--sm-mono);
  font-size: 21px;
  color: var(--sm-green);
  font-weight: 700;
  line-height: 1.2;
}
.sm-feed-eur-suffix {
  font-family: var(--sm-mono);
  font-size: 10px;
  color: var(--sm-muted);
  line-height: 1.1;
}
.sm-feed-meta { display: flex; flex-direction: column; gap: 5px; }
.sm-feed-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.sm-feed-meta-k { color: var(--sm-muted); }
.sm-feed-meta-v { font-family: var(--sm-mono); color: var(--sm-base); }
.sm-feed-meta-v a {
  color: var(--sm-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--sm-primary-dim);
  transition: border-color 0.15s;
}
.sm-feed-meta-v a:hover {
  border-color: var(--sm-primary);
}
.sm-feed-proof {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--sm-border);
  font-family: var(--sm-mono);
  font-size: 10px;
  color: var(--sm-muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.sm-feed-proof::before { content: '✓'; color: var(--sm-green); flex-shrink: 0; }

/* CTA feed card */
.sm-feed-card.sm-feed-cta {
  background: var(--sm-surface);
  border-color: var(--sm-border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.sm-feed-cta-icon { font-size: 28px; }
.sm-feed-cta h4 { font-size: 16px; font-weight: 700; color: var(--sm-dark); margin: 0; }
.sm-feed-cta p  { font-size: 13px; color: var(--sm-muted); line-height: 1.6; max-width: 200px; margin: 0; }

/* ═══════════════════════════════════════════════════
   7. HOW IT WORKS
══════════════════════════════════════════════════════ */
.sm-how-section {
  background: #fff;
  padding: 96px 0;
}
.sm-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--sm-border);
  border: 1px solid var(--sm-border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 52px;
}
.sm-step-card {
  background: #fff;
  padding: 40px 34px 44px;
  position: relative;
  transition: background 0.2s;
}
.sm-step-card:hover { background: var(--sm-primary-lt); }
.sm-step-tag {
  position: absolute;
  top: 34px; right: 28px;
  font-size: 22px;
}
.sm-step-number {
  font-family: var(--sm-mono);
  font-size: 60px;
  font-weight: 700;
  color: var(--sm-border);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1px var(--sm-border-dark);
}
.sm-step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sm-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.sm-step-body {
  font-size: 14.5px;
  color: var(--sm-muted);
  line-height: 1.72;
}
.sm-step-body strong { color: var(--sm-base); }

/* ═══════════════════════════════════════════════════
   8. PRODUCT CARDS
══════════════════════════════════════════════════════ */
.sm-products-section {
  background: var(--sm-surface);
  border-top: 1px solid var(--sm-border);
  border-bottom: 1px solid var(--sm-border);
  padding: 96px 0;
}
.sm-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.sm-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.sm-product-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 8px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
  min-width: 0;
}
.sm-product-card:hover {
  border-color: var(--sm-primary);
  box-shadow: 0 8px 32px var(--sm-primary-dim);
}
.sm-product-card.sm-featured {
  border-color: var(--sm-secondary);
  box-shadow: 0 4px 20px var(--sm-secondary-dim);
  position: relative;
}
/* Break image out past the card's 24px padding so it sits 10px from
   the card border on each side (24 - 14 = 10). Clipping is handled
   by border-radius on the image wrap itself, not by overflow:hidden
   on the card, which would clip the negative-margin content. */
.sm-pc-image-link {
  display: block;
  margin-left: -40px;
  margin-right: -40px;
  margin-bottom: 10px;
  width: calc(100% + 80px);
}
.sm-pc-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.sm-pc-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
}
.sm-pc-image-primary {
  opacity: 1;
}
.sm-pc-image-hover {
  opacity: 0;
}
.sm-pc-image-wrap:hover .sm-pc-image-primary {
  opacity: 0;
}
.sm-pc-image-wrap:hover .sm-pc-image-hover {
  opacity: 1;
}
.sm-popular-badge {
  position: absolute;
  top: -1px; right: 20px;
  background: var(--sm-secondary);
  color: #fff;
  font-family: var(--sm-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px 4px;
  border-radius: 0 0 6px 6px;
}
.sm-pc-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--sm-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--sm-green);
  background: var(--sm-green-dim);
  border: 1px solid rgba(34,168,90,0.25);
  border-radius: 3px;
  padding: 3px 9px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.sm-pc-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--sm-dark);
  margin-bottom: 6px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-pc-tagline {
  font-size: 13px;
  color: var(--sm-muted);
  margin-bottom: 10px;
  line-height: 1.55;
  flex: 1;
}
.sm-pc-specs { margin-bottom: 20px; }
.sm-pc-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--sm-border);
  font-size: 12px;
}
.sm-pc-spec-row:last-child { border-bottom: none; }
.sm-pc-spec-k { color: var(--sm-muted); }
.sm-pc-spec-v { font-family: var(--sm-mono); color: var(--sm-base); font-size: 11px; }
.sm-pc-price-wrap {
  margin-bottom: 14px;
  text-align: center;
  width: 100%;
}
.sm-pc-price-wrap .custom-price-block {
  font-family: var(--sm-mono);
  display: block;
  width: 100%;
  text-align: center;
}
.sm-pc-price-wrap .price-line-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}
.sm-pc-price-wrap .price-current {
  font-size: 24px;
  font-weight: 700;
  color: var(--sm-dark);
}
.sm-pc-price-wrap .price-discount-tag {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--sm-secondary) !important;
  background: none !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}
.sm-pc-price-wrap .price-vat-label {
  font-size: 11px;
  color: var(--sm-muted);
  font-weight: 400;
}
.sm-pc-price-wrap .price-line-bottom {
  margin-top: 4px;
  font-size: 12px;
  color: var(--sm-muted);
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}
.sm-pc-price-wrap .price-rrp-label {
  font-weight: 400 !important;
}
.sm-pc-price-wrap .price-strikethrough {
  text-decoration: line-through;
}
.sm-pc-price-missing {
  font-size: 13px;
  color: var(--sm-muted);
  font-style: italic;
}

/* ── Comparison table [sm_product_comparison] ── */
.sm-compare-section {
  background: transparent;
  padding: 0;
}
.sm-compare-title {
  font-size: clamp(18px, 2.2vw, 26px) !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}
.sm-compare-table-wrap {
  overflow-x: visible;
  margin: 0;
  padding: 0;
}
/* Remove Flatsome's own row padding inside the compare section */
.sm-compare-section .row,
.sm-compare-section .row-large {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}
.sm-compare-table {
  width: 100%;
  table-layout: fixed; /* forces equal column widths regardless of content */
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 8px;
}
.sm-compare-table th,
.sm-compare-table td {
  padding: 8px 18px;
  border-bottom: 1px solid var(--sm-border);
  border-right: 1px solid var(--sm-border);
  text-align: center;
  vertical-align: middle;
}
.sm-compare-table th:last-child,
.sm-compare-table td:last-child {
  border-right: none;
}
.sm-compare-table tbody tr:last-child td {
  border-bottom: none;
}
/* Top-left "Product" header cell: same surface background as body
   row labels, no top/left outer borders, right/bottom borders to
   frame the table. text-transform reset in case Flatsome applies
   uppercase to th elements globally. */
.sm-compare-table thead tr th.sm-compare-row-label {
  background: var(--sm-surface) !important;
  border-top: none !important;
  border-left: none !important;
  border-bottom: 1px solid var(--sm-border) !important;
  border-right: 1px solid var(--sm-border) !important;
  text-transform: none !important;
}
/* NOTE: sticky thead is intentionally not implemented. position:sticky
   on any element inside overflow-x:auto does not work in any browser —
   the overflow on the scroll wrapper prevents sticky from taking effect.
   A true sticky header inside a horizontally-scrolling table requires
   JavaScript to clone/reposition the thead as a fixed overlay. */
.sm-compare-table thead th {
  background: #fff;
}
/* Reset Flatsome's text-transform:uppercase that affects th descendants */
.sm-compare-table thead th .price-vat-label,
.sm-compare-table thead th .price-rrp-label,
.sm-compare-table thead th .price-current,
.sm-compare-table thead th .price-discount-tag,
.sm-compare-table thead th .price-strikethrough {
  text-transform: none !important;
}
.sm-compare-table thead th.sm-compare-row-label {
  background: var(--sm-surface) !important;
}
.sm-compare-row-label {
  text-align: left !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--sm-base);
  white-space: nowrap;
  background: var(--sm-surface);
  position: sticky;
  left: 0;
  z-index: 1;
  width: 140px;
  padding-left: 16px !important;
  padding-right: 10px !important;
}
.sm-compare-col {
  min-width: 0;
  width: 25%; /* with table-layout:fixed, this divides the non-label space equally */
}
/* Header cells: keep as genuine table cells for layout integrity.
   The inner .sm-compare-th-inner div carries the flex behaviour
   for bottom-aligning the button. */
.sm-compare-table thead .sm-compare-col {
  padding: 10px 12px;
  vertical-align: top;
}
.sm-compare-th-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Center the chip badge explicitly within the comparison header */
.sm-compare-th-inner .sm-pc-chip {
  align-self: center;
  margin-bottom: 6px;
}
/* Product name: allow wrapping, smaller size, no caps */
.sm-compare-name {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.3;
}
/* Image: fixed identical box for all four products so varying source
   image canvas sizes don't affect rendered size differently per product */
.sm-compare-image-link {
  display: block;
  width: 100%;
  margin: 0;
}
.sm-compare-image-link .sm-pc-image-wrap {
  width: 100%;
  height: 140px;
  aspect-ratio: unset;
  border-radius: 0;
}
/* Push the buy button to the bottom of each header cell */
.sm-compare-buy {
  margin-top: 6px !important;
  width: 100%;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
.sm-compare-th-inner .sm-pc-price-wrap {
  margin-bottom: 6px;
}
.sm-compare-table tbody td:not(.sm-compare-row-label) {
  font-size: 13px;
  color: var(--sm-base);
}

/* Product buttons — reuse Flatsome .button but tint */
.sm-btn-buy {
  display: block;
  text-align: center;
  background: var(--sm-secondary) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--sm-r) !important;
  padding: 11px 16px !important;
  border: none !important;
  transition: opacity 0.15s !important;
  margin-bottom: 8px;
}
.sm-btn-buy:hover { opacity: 0.85 !important; color: #fff !important; }
.sm-btn-view {
  display: block;
  text-align: center;
  background: transparent !important;
  color: var(--sm-muted) !important;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--sm-border-dark) !important;
  border-radius: var(--sm-r) !important;
  padding: 10px 16px !important;
  transition: border-color 0.15s, color 0.15s !important;
}
.sm-btn-view:hover {
  border-color: var(--sm-primary) !important;
  color: var(--sm-primary) !important;
}

/* ═══════════════════════════════════════════════════
   9. BCH SECTION
══════════════════════════════════════════════════════ */
.sm-bch-section {
  background: var(--sm-surface);
  padding: 80px 0;
  border-top: 1px solid var(--sm-border);
  border-bottom: 1px solid var(--sm-border);
}
.sm-bch-section .sm-eyebrow {
  color: var(--sm-primary);
}
.sm-bch-section .sm-eyebrow::before {
  background: var(--sm-primary);
}
.sm-bch-section h2 em { color: var(--sm-secondary); font-style: normal; }
.sm-bch-body { color: var(--sm-base); font-size: 16px; line-height: 1.72; margin-bottom: 32px; }
.sm-bch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sm-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid rgba(62,167,172,0.3);
  border-radius: 3px;
  padding: 6px 14px;
  color: var(--sm-primary);
  margin-bottom: 20px;
}
.sm-bch-reasons { display: flex; flex-direction: column; gap: 18px; }
.sm-bch-reason { display: flex; gap: 14px; align-items: flex-start; }
.sm-bch-reason-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(62,167,172,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.sm-bch-reason-text { font-size: 14px; color: var(--sm-muted); line-height: 1.65; }
.sm-bch-reason-text strong { color: var(--sm-dark); display: block; margin-bottom: 2px; font-weight: 600; }
.sm-bch-price-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 10px;
  padding: 32px;
}
/* Mirrors the hero's .sm-jackpot-* pattern (live dot, big amount, per-block
   line, divider), recolored for a white card on a light section rather
   than the hero's dark card. */
.sm-bch-block-label {
  font-family: var(--sm-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sm-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-bch-block-amount {
  font-family: var(--sm-mono);
  font-size: clamp(38px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--sm-primary);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.sm-bch-block-reward {
  font-family: var(--sm-mono);
  font-size: 13px;
  color: var(--sm-muted);
  margin-bottom: 26px;
  letter-spacing: 0.04em;
}
.sm-bch-block-divider {
  height: 1px;
  background: var(--sm-border);
  margin-bottom: 22px;
}
.sm-bch-why-label {
  font-family: var(--sm-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sm-muted);
  margin-bottom: 12px;
}
.sm-bch-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-bch-pill {
  font-size: 12px;
  background: var(--sm-primary-lt);
  border: 1px solid var(--sm-border);
  border-radius: 100px;
  padding: 5px 14px;
  color: var(--sm-base);
}

/* ═══════════════════════════════════════════════════
   10. SOCIAL PROOF
══════════════════════════════════════════════════════ */
.sm-proof-section { background: #fff; padding: 96px 0; }
.sm-proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--sm-border);
  border: 1px solid var(--sm-border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 52px;
  margin-bottom: 56px;
}
.sm-proof-stat {
  background: #fff;
  padding: 36px 24px;
  text-align: center;
  transition: background 0.2s;
}
.sm-proof-stat:hover { background: var(--sm-primary-lt); }
.sm-proof-stat-num {
  font-family: var(--sm-mono);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--sm-secondary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1;
}
.sm-proof-stat-label {
  font-size: 13px;
  color: var(--sm-muted);
  line-height: 1.5;
}
.sm-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sm-tcard {
  background: var(--sm-surface);
  border: 1px solid var(--sm-border);
  border-radius: 8px;
  padding: 28px 26px;
  transition: box-shadow 0.2s;
}
.sm-tcard:hover { box-shadow: 0 6px 24px var(--sm-primary-dim); }
.sm-tcard-quote {
  font-size: 14.5px;
  color: var(--sm-base);
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: italic;
  border-left: 2px solid var(--sm-primary);
  padding-left: 16px;
}
.sm-tcard-author { display: flex; align-items: center; gap: 12px; }
.sm-tcard-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sm-primary-lt);
  border: 1px solid var(--sm-border-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sm-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--sm-primary);
  flex-shrink: 0;
}
.sm-tcard-name { font-size: 13px; font-weight: 700; color: var(--sm-dark); margin-bottom: 2px; }
.sm-tcard-meta { font-size: 11px; color: var(--sm-muted); font-family: var(--sm-mono); letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════════════
   11. NEWSLETTER SECTION
══════════════════════════════════════════════════════ */
.sm-newsletter-section {
  background: var(--sm-primary);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sm-newsletter-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.sm-newsletter-section .sm-eyebrow {
  color: rgba(255,255,255,0.7);
  justify-content: center;
}
.sm-newsletter-section .sm-eyebrow::before { background: rgba(255,255,255,0.5); }
.sm-newsletter-section h2 { color: #fff !important; }
.sm-newsletter-section h2 em { color: var(--sm-secondary); font-style: normal; }
.sm-newsletter-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 32px;
}
.sm-newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.sm-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--sm-r);
  padding: 13px 18px;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.15s;
  font-family: var(--sm-mono);
}
.sm-newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.sm-newsletter-input:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.16); }
.sm-newsletter-btn {
  background: var(--sm-secondary) !important;
  color: #fff !important;
  font-family: var(--sm-mono) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: var(--sm-r) !important;
  padding: 13px 22px !important;
  cursor: pointer;
  transition: opacity 0.15s !important;
  white-space: nowrap;
}
.sm-newsletter-btn:hover { opacity: 0.85 !important; }
.sm-newsletter-note {
  font-family: var(--sm-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════
   12. UTILITY OVERRIDES
══════════════════════════════════════════════════════ */

/* Section heading shared style */
.sm-section-heading {
  font-size: clamp(26px, 3.2vw, 40px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.12 !important;
  color: var(--sm-dark) !important;
  margin-bottom: 12px !important;
}
.sm-section-heading em { font-style: normal; color: var(--sm-primary); }
.sm-section-sub {
  font-size: 16px;
  color: var(--sm-muted);
  line-height: 1.7;
  max-width: 540px;
}

/* Flatsome .button override for primary teal */
.button.primary,
.button.color-primary,
a.button.primary {
  background-color: var(--sm-primary) !important;
  color: #fff !important;
}
.button.primary:hover,
a.button.primary:hover {
  background-color: #339fa4 !important;
}

/* Flatsome .button override for secondary amber */
.button.secondary,
a.button.secondary {
  background-color: var(--sm-secondary) !important;
  color: #fff !important;
}
.button.secondary:hover,
a.button.secondary:hover {
  background-color: #c4862b !important;
}

/* Flatsome UX Builder section helpers */
.sm-pad-y-xl { padding-top: 96px !important; padding-bottom: 96px !important; }
.sm-pad-y-lg { padding-top: 72px !important; padding-bottom: 72px !important; }
.sm-pad-y-md { padding-top: 56px !important; padding-bottom: 56px !important; }
.sm-bg-surface  { background: var(--sm-surface) !important; }
.sm-bg-dark     { background: var(--sm-dark) !important; }
.sm-bg-primary  { background: var(--sm-primary) !important; }
.sm-bg-primary-lt { background: var(--sm-primary-lt) !important; }
.sm-text-white  { color: #fff !important; }
.sm-text-muted  { color: var(--sm-muted) !important; }
.sm-text-primary { color: var(--sm-primary) !important; }
.sm-text-secondary { color: var(--sm-secondary) !important; }

/* ═══════════════════════════════════════════════════
   12. WOOCOMMERCE — HIDE CHECKOUT PAGE TITLE
   Hides the full title wrapper (which contains the
   "Shopping Cart > Checkout > Order Complete"
   breadcrumb) so no residual spacing remains.
══════════════════════════════════════════════════════ */

.checkout-page-title {
  display: none !important;
}


/* ═══════════════════════════════════════════════════
   13. WOOCOMMERCE — MY ACCOUNT NAVIGATION (TRANSLATED)
   Force the navigation sidebar to show on WPML-
   translated My Account pages where Flatsome hides it.
══════════════════════════════════════════════════════ */

.woocommerce-MyAccount-navigation {
  display: block !important;
}
.woocommerce-MyAccount-navigation ul {
  display: block !important;
}
.woocommerce-MyAccount-navigation li {
  display: block !important;
}


/* ═══════════════════════════════════════════════════
   14. RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sm-products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sm-feed-grid          { grid-template-columns: 1fr; }
  .sm-steps-grid         { grid-template-columns: 1fr; }
  .sm-products-grid      { grid-template-columns: 1fr; }
  .sm-proof-stats        { grid-template-columns: 1fr 1fr; }
  .sm-testimonials       { grid-template-columns: 1fr; }
  .sm-trust-inner        { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 24px; }
  .sm-trust-item         { border-right: none; padding: 4px 0; }
  .sm-newsletter-form    { flex-direction: column; }
  .sm-bch-block-amount   { font-size: 32px; }
  /* Reduce product card image height on mobile */
  .sm-pc-image-wrap      { aspect-ratio: 4 / 3; }
  /* Add explicit side padding on mobile for sections where Flatsome's
     row-large padding is not applied */
  .sm-feed-section .row,
  .sm-how-section .row { padding-left: 20px; padding-right: 20px; }
  /* Comparison table mobile: side padding applied directly to our own
     wrapper class (not via .row which Flatsome overrides), plus
     min-width on columns so they stay wide enough to read comfortably.
     Product columns sized at ~120px so ~2 are visible at once on a
     375px screen (375 - 40px section padding - 110px label = ~225px
     for 2 columns). */
  .sm-compare-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* Reduce image height on mobile — 200px is too tall for narrow columns */
  .sm-compare-image-link .sm-pc-image-wrap {
    height: 110px;
  }
  /* Remove vertical padding from header cells on mobile to further
     reduce the space around images */
  .sm-compare-table thead .sm-compare-col {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .sm-compare-table {
    table-layout: auto;
  }
  .sm-compare-table-wrap {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sm-compare-row-label {
    min-width: 110px;
    width: 110px;
  }
  .sm-compare-col {
    min-width: 130px;
  }
  /* Swipe hint text only — the ::after white gradient fade has been
     removed as it rendered as a persistent white band over the
     second product column rather than scrolling with the table */
  .sm-compare-table-wrap::before {
    content: '← swipe to compare →';
    display: block;
    text-align: center;
    font-family: var(--sm-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--sm-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .sm-proof-stats        { grid-template-columns: 1fr; }
  .sm-jackpot-stats      { grid-template-columns: 1fr; }
  .sm-jackpot-amount     { font-size: 36px; }
}

/* ── Checkout billing fields: explicit grid placement ── */
.woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    column-gap: 4%;
    row-gap: 0;
}

.woocommerce-billing-fields__field-wrapper > .form-row {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    clear: none !important;
    min-width: 0; /* prevent grid blowout */
}

/* Select2 must respect its grid cell, not its inline 600px */
.woocommerce-billing-fields__field-wrapper .select2-container {
    width: 100% !important;
}

/* Hidden meta field — don't let it occupy a cell */
#billing_customer_type_field { display: none !important; }

/* Explicit placement (immune to plugin DOM reordering) */
#billing_country_field      { grid-column: 1;      grid-row: 1; }
#billing_invoice_type_field { grid-column: 2;      grid-row: 1; }
#billing_cf_field           { grid-column: 1;      grid-row: 2; }
#billing_PEC_field          { grid-column: 2;      grid-row: 2; }
#billing_first_name_field   { grid-column: 1;      grid-row: 3; }
#billing_last_name_field    { grid-column: 2;      grid-row: 3; }
#billing_company_field      { grid-column: 1;      grid-row: 4; }
#billing_address_1_field    { grid-column: 1;      grid-row: 5; }
#billing_address_2_field    { grid-column: 2;      grid-row: 5; }
#billing_postcode_field     { grid-column: 1;      grid-row: 6; }
#billing_city_field         { grid-column: 2;      grid-row: 6; }
#billing_state_field        { grid-column: 1;      grid-row: 7; }
#billing_email_field        { grid-column: 1;      grid-row: 8; }
#billing_phone_field        { grid-column: 2;      grid-row: 8; }

/* Mobile: single column, same logical order as desktop */
@media (max-width: 549px) {
    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
    #billing_country_field      { grid-column: 1; grid-row: 1; }
    #billing_invoice_type_field { grid-column: 1; grid-row: 2; }
    #billing_cf_field           { grid-column: 1; grid-row: 3; }
    #billing_PEC_field          { grid-column: 1; grid-row: 4; }
    #billing_first_name_field   { grid-column: 1; grid-row: 5; }
    #billing_last_name_field    { grid-column: 1; grid-row: 6; }
    #billing_company_field      { grid-column: 1; grid-row: 7; }
    #billing_address_1_field    { grid-column: 1; grid-row: 8; }
    #billing_address_2_field    { grid-column: 1; grid-row: 9; }
    #billing_postcode_field     { grid-column: 1; grid-row: 10; }
    #billing_city_field         { grid-column: 1; grid-row: 11; }
    #billing_state_field        { grid-column: 1; grid-row: 12; }
    #billing_email_field        { grid-column: 1; grid-row: 13; }
    #billing_phone_field        { grid-column: 1; grid-row: 14; }
}

#sm-customer-type-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4%;
    margin-bottom: 12px;
}
#sm-customer-type-row .sm-toggle-title {
    grid-column: 1 / -1;
    font-weight: 600;
    margin-bottom: 8px;
}
#sm-customer-type-row .sm-toggle-opt {
    cursor: pointer;
    margin: 0;
}
#sm-customer-type-row .sm-toggle-opt:nth-of-type(2) { grid-column: 1; }
#sm-customer-type-row .sm-toggle-opt:nth-of-type(3) { grid-column: 2; }

/* ── Checkout shipping fields: explicit grid placement ── */
.woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    column-gap: 4%;
    row-gap: 0;
}

.woocommerce-shipping-fields__field-wrapper > .form-row {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    clear: none !important;
    min-width: 0;
}

.woocommerce-shipping-fields__field-wrapper .select2-container {
    width: 100% !important;
}

/* Desktop placement */
#shipping_first_name_field { grid-column: 1; grid-row: 1; }
#shipping_last_name_field  { grid-column: 2; grid-row: 1; }
#shipping_country_field    { grid-column: 1; grid-row: 2; }
#shipping_company_field    { grid-column: 2; grid-row: 2; }
#shipping_address_1_field  { grid-column: 1; grid-row: 3; }
#shipping_address_2_field  { grid-column: 2; grid-row: 3; }
#shipping_postcode_field   { grid-column: 1; grid-row: 4; }
#shipping_city_field       { grid-column: 2; grid-row: 4; }
#shipping_state_field      { grid-column: 1; grid-row: 5; }
#shipping_phone_field      { grid-column: 2; grid-row: 5; }

/* Mobile: single column, same logical order */
@media (max-width: 549px) {
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
    #shipping_first_name_field { grid-column: 1; grid-row: 1; }
    #shipping_last_name_field  { grid-column: 1; grid-row: 2; }
    #shipping_country_field    { grid-column: 1; grid-row: 3; }
    #shipping_company_field    { grid-column: 1; grid-row: 4; }
    #shipping_address_1_field  { grid-column: 1; grid-row: 5; }
    #shipping_address_2_field  { grid-column: 1; grid-row: 6; }
    #shipping_postcode_field   { grid-column: 1; grid-row: 7; }
    #shipping_city_field       { grid-column: 1; grid-row: 8; }
    #shipping_state_field      { grid-column: 1; grid-row: 9; }
    #shipping_phone_field      { grid-column: 1; grid-row: 10; }
}


/* === sm-spec12-mobile-narrow-v10 : Manual pages section 1.2 spec table. On mobile shrink first + value columns to content, single line. Moved out of inline page CSS 2026-07-24 so page-content edits can't drop it. Scoped to #m1 .sm-tsticky which exists only on the manual pages. === */
@media (max-width:768px){
  #m1 .sm-tsticky table.custom-flatsome-table{min-width:0!important;width:auto!important;}
  #m1 .sm-tsticky table.custom-flatsome-table td,
  #m1 .sm-tsticky table.custom-flatsome-table th{white-space:nowrap!important;}
}


/* sm-compare-buy-bottomalign-v1 : product-overview — bottom-align View Product buttons 2026-07-24 */
.sm-compare-table thead .sm-compare-col{height:100%;}
.sm-compare-th-inner{height:100%;}
.sm-compare-th-inner .sm-compare-buy{margin-top:auto !important;}


/* sm-cmplz-button-text-v1 : Complianz cookie banner — smaller button label text 2026-08-05.
   Complianz declares --cmplz_button_font_size (15px) on :root in its generated banner CSS,
   which is enqueued AFTER this file. An ID selector out-specifies :root, so this override
   wins on specificity and needs no !important. The plugin keeps its own
   @media (max-height:400px) emergency zoom for very short viewports — left untouched. */
#cmplz-cookiebanner-container,
#cmplz-manage-consent {
  --cmplz_button_font_size: 13px;
}


/* sm-cmplz-banner-border-v1 : Complianz cookie banner — thin amber border on the banner box 2026-08-05.
   Complianz already stores the border COLOUR as #dd9933; only --cmplz_banner_border_width was
   0px on all sides, so nothing rendered. Both vars are declared on :root in the generated
   banner CSS (which loads after this file), so an ID selector is used to out-specify it. */
#cmplz-cookiebanner-container,
#cmplz-manage-consent {
  --cmplz_banner_border_width: 1px;
  --cmplz_banner_border_color: #dd9933;
}

/* The "Manage consent" tab sits in #cmplz-manage-consent, OUTSIDE
   .cmplz-cookiebanner .cmplz-buttons — so the plugin never applies
   --cmplz_button_font_size to it and it inherits the theme button size.
   Set it explicitly; 11px matches the banner body text. */
#cmplz-manage-consent .cmplz-manage-consent {
  font-size: 11px;
}

/* sm-cmplz-mobile-tab-v1 : "Manage consent" tab — match the desktop behaviour on mobile.
   Complianz forces the tab fully open below 768px (animation: mc_slideIn 0s) because touch
   devices have no :hover. This restores the desktop "peek" (mc_slideOut -> bottom:-35px, so
   ~15px of the 50px tab shows) and expands it on tap via :focus / :active.
   Specificity: the plugin mobile rule is (1,1,0); the `html` prefix makes ours (1,2,0). */
@media (max-width: 768px) {
  html #cmplz-manage-consent .cmplz-manage-consent {
    animation: mc_slideOut 0.5s forwards;
  }
  html #cmplz-manage-consent .cmplz-manage-consent:hover,
  html #cmplz-manage-consent .cmplz-manage-consent:focus,
  html #cmplz-manage-consent .cmplz-manage-consent:active,
  /* set by section 25 JS on first tap (iOS Safari does not reliably give
     a <button> :focus on tap, so the class is the dependable trigger) */
  html #cmplz-manage-consent .cmplz-manage-consent.sm-mc-open {
    animation: mc_slideIn 0.5s forwards;
    /* the plugin's :active rule sets `border: none`, which would drop the amber
       hairline mid-tap; restore it so the border does not flicker on touch */
    border-style: solid;
    border-width: var(--cmplz_banner_border_width);
    border-color: var(--cmplz_banner_border_color);
  }
}


/* sm360-viewer-v1 : vanilla 360 spin viewer (functions.php section 26) 2026-08-05 */
.sm360{position:relative;display:block;width:100%;max-width:100%;margin:0 auto;
  touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none;outline:none;}
.sm360.is-dragging{cursor:grabbing;}
.sm360:focus-visible{outline:2px solid var(--sm-teal,#3ea7ac);outline-offset:3px;}
.sm360-img{display:block;width:100%;height:auto;pointer-events:none;-webkit-user-drag:none;}
.sm360-hint{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);
  font-size:11px;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:20px;
  background:rgba(0,0,0,.55);color:#fff;pointer-events:none;white-space:nowrap;
  opacity:0;transition:opacity .3s ease;}
.sm360.is-ready .sm360-hint{opacity:1;}
.sm360.is-touched .sm360-hint{opacity:0;}
@media (prefers-reduced-motion: reduce){.sm360-hint{transition:none;}}

/* sm360 v3: frames are blitted to a canvas (ctx.drawImage on an already-decoded
   image is synchronous — no decode, no rasterization, so no white flash) */
.sm360-canvas{display:block;width:100%;height:auto;}
.sm360.is-ready .sm360-img{display:none;}
