/* Editor block variants (footer, categories, announcement, top-bar header, elevated product card). Uses only the
   design tokens from ecommerce.css so every style/palette re-skins them. */

/* ---- Announcement ---- */
.ct-ann { text-align: center; font-size: .9rem; padding: 8px var(--ct-pad); line-height: 1.6; overflow: hidden; }
.ct-ann a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ct-ann-bar { background: var(--ct-accent); color: #fff; }
.ct-ann-soft { background: color-mix(in srgb, var(--ct-accent) 10%, var(--ct-surface)); color: var(--ct-text); border-bottom: 1px solid color-mix(in srgb, var(--ct-accent) 30%, var(--ct-border)); }
.ct-ann-marquee { background: var(--ct-text); color: var(--ct-bg); padding: 0; }
.ct-ann-track { display: flex; width: max-content; animation: ct-marquee 28s linear infinite; }
.ct-ann-track > * { padding: 8px 40px; white-space: nowrap; }
@keyframes ct-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ct-ann-track { animation: none; width: auto; justify-content: center; } .ct-ann-track > *:nth-child(n+2) { display: none; } }

/* ---- Header: top contact bar ---- */
.ct-topbar { background: var(--ct-text); color: var(--ct-bg); font-size: .82rem; }
.ct-topbar-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; flex-wrap: wrap; }
.ct-topbar-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.ct-topbar a { color: inherit; }
@media (max-width: 600px) { .ct-topbar-tagline { display: none; } .ct-topbar-row { justify-content: center; } }

/* ---- Footers ---- */
.ct-footer-minimal { padding: 18px 0; margin-top: 32px; }
.ct-footer-minimal-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: var(--ct-text-muted); }
.ct-footer-centered { text-align: center; }
.ct-footer-brand { font-size: 1.2rem; }
.ct-footer-contact { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ct-social-center { justify-content: center; margin-top: 10px; }
.ct-footer-rich-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.ct-footer-rich h4 { margin: 0 0 10px; font-size: .95rem; }
.ct-footer-rich a { display: block; margin: 6px 0; color: var(--ct-text-muted); }
.ct-footer-rich a:hover { color: var(--ct-accent); }
.ct-footer-copy { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--ct-border); color: var(--ct-text-muted); font-size: .85rem; }
@media (max-width: 760px) { .ct-footer-rich-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .ct-footer-rich-grid { grid-template-columns: 1fr; } }
.ct-footer-dark { background: var(--ct-text); color: var(--ct-bg); border-top: 0; }
.ct-footer-dark a { color: inherit; opacity: .85; }
.ct-footer-dark-brand { display: block; font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 900; }
.ct-footer-dark-tag { opacity: .75; }
.ct-footer-dark-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--ct-bg) 22%, transparent); }
.ct-footer-dark-row > span:first-child { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Header: centered name ---- */
@media (min-width: 901px) {
  .ct-header-centered .ct-header-row { flex-wrap: wrap; justify-content: center; row-gap: 4px; }
  .ct-header-centered .ct-brand { flex-basis: 100%; justify-content: center; text-align: center; }
  .ct-header-centered .ct-nav { justify-content: center; }
  .ct-header-centered .ct-header-actions { position: absolute; inset-inline-end: var(--ct-pad); top: 12px; }
  .ct-header-centered .ct-header-row { position: relative; }
}

/* =====================================================================================================
   Second generation of variants — token-only, work with zero data, checked at 390px and 1280px.
   ===================================================================================================== */

/* ---- Announcement ---- */
.ct-ann-gradient { background: linear-gradient(90deg, var(--ct-accent), var(--ct-accent-2)); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; }
.ct-ann-gradient svg { width: 18px; height: 18px; flex: none; }
.ct-ann-dismiss { position: relative; background: var(--ct-surface); color: var(--ct-text); border-bottom: 1px solid var(--ct-border); padding-inline: 44px; }
.ct-ann-dismiss[hidden] { display: none; }
.ct-ann-x { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ct-text-muted); cursor: pointer; }
.ct-ann-x:hover { background: var(--ct-bg); color: var(--ct-text); }
.ct-ann-x svg { width: 16px; height: 16px; }
.ct-ann-badge { background: var(--ct-text); color: var(--ct-bg); display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ct-ann-pill { background: var(--ct-accent); color: #fff; font-size: .72rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; }


/* ---- Header (shared drawer behaviour for the newer variants) ---- */
.ct-nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 9px; background: none; border: 1px solid var(--ct-border); border-radius: 10px; cursor: pointer; flex-shrink: 0; }
.ct-nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ct-text); transition: transform .2s ease, opacity .2s ease; }
.ct-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ct-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.ct-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) {
  .ct-nav-toggle { display: flex; }
  .ct-header-row, .ct-h-two-top { flex-wrap: wrap; }
  .ct-header .ct-brand { flex: 1; min-width: 0; }
  .ct-header .ct-nav { display: none; width: 100%; order: 10; flex-direction: column; gap: 2px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ct-border); }
  .ct-header .ct-nav.is-open { display: flex; }
  .ct-nav a { padding: 10px 4px; }
}

/* ---- Header: CTA ---- */
.ct-h-cta .ct-nav { margin-inline: auto; }
@media (max-width: 960px) { .ct-h-cta-btn { display: none; } }

/* ---- Header: floating pill ---- */
.ct-h-float { background: transparent; border-bottom: 0; padding-top: 10px; pointer-events: none; }
.ct-h-float .ct-container { pointer-events: none; }
.ct-h-float-bar { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--ct-gap); padding: 8px 20px; border-radius: 28px; background: color-mix(in srgb, var(--ct-surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--ct-border); box-shadow: var(--ct-shadow); flex-wrap: wrap; }
@media (max-width: 720px) { .ct-h-float-bar { padding: 8px 14px; border-radius: 24px; } }

/* ---- Header: dark ---- */
.ct-h-dark { background: var(--ct-text); border-bottom: 3px solid var(--ct-accent); }
.ct-h-dark .ct-brand { color: var(--ct-bg); }
.ct-h-dark .ct-nav-toggle { border-color: color-mix(in srgb, var(--ct-bg) 30%, transparent); }
.ct-h-dark .ct-nav-toggle span { background: var(--ct-bg); }
@media (min-width: 721px) { .ct-h-dark .ct-nav a { color: var(--ct-bg); opacity: .88; } .ct-h-dark .ct-nav a:hover { opacity: 1; box-shadow: 0 2px 0 var(--ct-accent); } }
@media (max-width: 720px) { .ct-h-dark .ct-nav { border-top-color: color-mix(in srgb, var(--ct-bg) 25%, transparent); } .ct-h-dark .ct-nav a { color: var(--ct-bg); } }

/* ---- Header: two rows ---- */
.ct-h-two-top { display: flex; align-items: center; justify-content: space-between; gap: var(--ct-gap); padding-block: 14px; padding-top: max(14px, env(safe-area-inset-top)); }
.ct-h-two-contact { display: flex; gap: 20px; margin-inline-start: auto; font-size: .9rem; color: var(--ct-text-muted); flex-wrap: wrap; }
.ct-h-two-contact a { color: inherit; }
.ct-h-two-strip { background: var(--ct-bg); border-top: 1px solid var(--ct-border); }
.ct-h-two-strip .ct-nav { gap: 6px; }
.ct-h-two-strip .ct-nav a { padding: 11px 14px; font-size: .94rem; border-bottom: 3px solid transparent; }
.ct-h-two-strip .ct-nav a:hover { border-bottom-color: var(--ct-accent); }
@media (max-width: 720px) { .ct-h-two-contact { display: none; } .ct-h-two-top { padding-block: 10px; } .ct-h-two-strip .ct-container { padding-block: 0; } .ct-h-two-strip .ct-nav { margin-top: 0; padding-block: 8px; border-top: 0; } .ct-h-two-strip .ct-nav a { border-bottom: 0; padding: 10px 6px; } }

/* ---- Hero: split ---- */
.ct-hs { padding: 64px 0; background: linear-gradient(120deg, color-mix(in srgb, var(--ct-accent) 9%, var(--ct-surface)), var(--ct-bg)); border-bottom: 1px solid var(--ct-border); }
.ct-hs-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.ct-hs-eyebrow { display: inline-block; font-size: .85rem; font-weight: 800; color: var(--ct-accent); margin-bottom: 8px; }
.ct-hs-text h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.25; margin: 0 0 12px; }
.ct-hs-sub { font-size: 1.1rem; color: var(--ct-text-muted); max-width: 46ch; margin: 0 0 1.4em; }
.ct-hs-visual { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--ct-radius) + 8px); overflow: hidden; background: linear-gradient(135deg, var(--ct-accent), color-mix(in srgb, var(--ct-accent) 50%, #000)); box-shadow: var(--ct-shadow); display: grid; place-items: center; }
.ct-hs-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-hs-shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.ct-hs-shape-a { width: 60%; aspect-ratio: 1; top: -15%; inset-inline-end: -10%; }
.ct-hs-shape-b { width: 40%; aspect-ratio: 1; bottom: -14%; inset-inline-start: 6%; }
.ct-hs-mark { position: relative; font-size: 8rem; font-weight: 900; color: rgba(255,255,255,.4); }
.ct-hs-stats { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 14px; width: 100%; padding: 22px; color: #fff; text-align: center; }
.ct-hs-stats strong { display: block; font-size: 2rem; line-height: 1.1; color: #fff; }
.ct-hs-stats span { font-size: .85rem; opacity: .9; }
@media (max-width: 760px) { .ct-hs { padding: 30px 0 34px; } .ct-hs-grid { grid-template-columns: 1fr; gap: 22px; } .ct-hs-visual { aspect-ratio: 16 / 9; } .ct-hs-mark { font-size: 5rem; } .ct-hs-stats strong { font-size: 1.5rem; } }

/* ---- Hero: editorial ---- */
.ct-hed { padding: 76px 0 40px; background: var(--ct-bg); }
.ct-hed h1 { font-size: clamp(2.4rem, 8vw, 5.2rem); line-height: 1.12; margin: 0; max-width: 16ch; }
.ct-hed-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; border-top: 2px solid var(--ct-text); }
.ct-hed-foot p { margin: 0; max-width: 42ch; color: var(--ct-text-muted); font-size: 1.05rem; }
.ct-hed-link { font-weight: 800; color: var(--ct-text); font-size: 1.05rem; padding: 10px 0; border-bottom: 2px solid var(--ct-accent); }
.ct-hed-link:hover { color: var(--ct-accent); text-decoration: none; }
@media (max-width: 600px) { .ct-hed { padding: 40px 0 28px; } .ct-hed-foot { flex-direction: column; align-items: flex-start; margin-top: 22px; } }

/* ---- Hero: contact cards ---- */
.ct-hcc { padding: 64px 0 46px; text-align: center; background: radial-gradient(900px 340px at 50% 0, color-mix(in srgb, var(--ct-accent) 14%, transparent), transparent 70%), var(--ct-bg); border-bottom: 1px solid var(--ct-border); }
.ct-hcc h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 8px; }
.ct-hcc-sub { color: var(--ct-text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 1.4em; }
.ct-hcc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; max-width: 820px; margin: 30px auto 0; text-align: start; }
.ct-hcc-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--ct-radius); background: var(--ct-surface); border: 1px solid var(--ct-border); color: var(--ct-text); min-width: 0; overflow-wrap: anywhere; }
a.ct-hcc-card:hover { border-color: var(--ct-accent); text-decoration: none; }
.ct-hcc-card small { color: var(--ct-text-muted); font-weight: 700; }
@media (max-width: 600px) { .ct-hcc { padding: 34px 0 28px; } .ct-hcc-cards { margin-top: 22px; } }

/* ---- Footer: CTA banner ---- */
.ct-f-banner { margin-top: 40px; background: linear-gradient(135deg, var(--ct-accent), color-mix(in srgb, var(--ct-accent) 55%, #000)); color: #fff; }
.ct-f-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 34px; }
.ct-f-banner-inner strong { display: block; font-size: clamp(1.3rem, 3.4vw, 1.9rem); color: #fff; }
.ct-f-banner-inner span { opacity: .9; }
.ct-f-banner-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 28px; border-radius: 999px; background: #fff; color: var(--ct-accent); font-weight: 800; }
.ct-f-banner-btn:hover { text-decoration: none; }
.ct-f-banner-foot { margin-top: 0; padding: 22px 0 14px; }
.ct-f-banner-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.ct-f-banner-links { display: flex; gap: 18px; flex-wrap: wrap; }
.ct-f-banner-links a { color: var(--ct-text-muted); font-weight: 600; }
@media (max-width: 600px) { .ct-f-banner-btn { width: 100%; justify-content: center; } .ct-f-banner-inner { padding-block: 26px; } }
/* ---- Hero: bold ---- */
.ct-hbold { position: relative; overflow: hidden; padding: 84px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--ct-accent), color-mix(in srgb, var(--ct-accent) 55%, #000)); }
.ct-hbold-orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 70%); }
.ct-hbold-orb-a { width: 380px; height: 380px; top: -140px; inset-inline-start: -100px; }
.ct-hbold-orb-b { width: 300px; height: 300px; bottom: -120px; inset-inline-end: -60px; opacity: .6; }
.ct-hbold-inner { position: relative; }
.ct-hbold h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.2; margin: 0 0 12px; }
.ct-hbold-sub { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 560px; margin: 0 auto 1.6em; }
.ct-hbold-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ct-hbold-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 28px; border-radius: 999px; background: #fff; color: var(--ct-accent); font-weight: 800; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.ct-hbold-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ct-hbold-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); box-shadow: none; }
@media (max-width: 600px) { .ct-hbold { padding: 48px 0; } .ct-hbold-btn { width: 100%; justify-content: center; } .ct-hbold-actions { padding-inline: 8px; } }


/* ---- Footers ---- */
.ct-f-cards { background: var(--ct-bg); }
.ct-f-cards-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.ct-f-cards-head strong { font-size: 1.3rem; }
.ct-f-cards-head span { color: var(--ct-text-muted); }
.ct-f-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.ct-f-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--ct-radius); background: var(--ct-surface); border: 1px solid var(--ct-border); color: var(--ct-text); min-width: 0; overflow-wrap: anywhere; }
a.ct-f-card:hover { border-color: var(--ct-accent); text-decoration: none; }
.ct-f-card small { color: var(--ct-text-muted); font-weight: 700; }
.ct-social-links { display: flex; gap: 14px; flex-wrap: wrap; }

.ct-f-accent { background: linear-gradient(135deg, var(--ct-accent), color-mix(in srgb, var(--ct-accent) 55%, #000)); color: #fff; border-top: 0; padding: 48px 0 36px; }
.ct-f-accent p, .ct-f-accent a { color: inherit; }
.ct-f-accent-inner { display: grid; gap: 18px; text-align: center; justify-items: center; }
.ct-f-accent-brand { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 900; color: #fff; }
.ct-f-accent-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }
.ct-f-accent-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: #fff; color: var(--ct-accent) !important; font-weight: 800; max-width: 100%; }
.ct-f-accent-btn:hover { text-decoration: none; }
.ct-f-accent-btn-ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.7); }
.ct-f-accent-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center; font-size: .92rem; opacity: .92; }
.ct-f-accent .ct-social-links a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .ct-f-accent-btn { width: 100%; } }

.ct-f-two { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.ct-f-two-brand { background: var(--ct-accent); color: #fff; display: flex; align-items: center; }
.ct-f-two-brand strong { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; color: #fff; }
.ct-f-two-brand p { color: rgba(255,255,255,.88); margin: 6px 0 0; }
.ct-f-two-info { background: var(--ct-surface); border-top: 1px solid var(--ct-border); }
.ct-f-two-info p { margin: 0 0 12px; display: flex; flex-direction: column; }
.ct-f-two-info small { color: var(--ct-text-muted); font-weight: 700; }
.ct-f-two-pad { padding: 36px max(20px, calc((100vw - 1080px) / 2)); width: 100%; }
.ct-f-two-brand .ct-f-two-pad { padding-inline-end: 24px; }
.ct-f-two-info .ct-f-two-pad { padding-inline-start: 24px; }
@media (max-width: 720px) { .ct-f-two { grid-template-columns: 1fr; } .ct-f-two-pad, .ct-f-two-brand .ct-f-two-pad, .ct-f-two-info .ct-f-two-pad { padding: 26px 20px; } }


/* =====================================================================================================
   Block options (Raymon.AdminUI.BlockOptionCatalog). The layout puts data-o-<block>-<option> on <html> for every
   option that differs from its default; most options are therefore pure CSS.
   ===================================================================================================== */
html[data-o-header-sticky="0"] .ct-header { position: static; }
html[data-o-header-density="compact"] .ct-header-row, html[data-o-header-density="compact"] .ct-h-float-bar, html[data-o-header-density="compact"] .ct-h-two-top { padding-block: 5px; }
html[data-o-header-density="airy"] .ct-header-row, html[data-o-header-density="airy"] .ct-h-float-bar, html[data-o-header-density="airy"] .ct-h-two-top { padding-block: 24px; }
html[data-o-hero-height="compact"] :is(.ct-hero, .ct-hs, .ct-hbold, .ct-hed, .ct-hcc) { padding-block: 30px; }
html[data-o-hero-height="tall"] :is(.ct-hero, .ct-hs, .ct-hbold, .ct-hed, .ct-hcc) { padding-block: 120px; }
@media (max-width: 720px) {
  html[data-o-hero-height="tall"] :is(.ct-hero, .ct-hs, .ct-hbold, .ct-hed, .ct-hcc) { padding-block: 72px; }
  html[data-o-hero-height="compact"] :is(.ct-hero, .ct-hs, .ct-hbold, .ct-hed, .ct-hcc) { padding-block: 20px; }
}
html[data-o-hero-height="compact"] .ct-hero-cinematic { min-height: 26vh; }
html[data-o-hero-height="tall"] .ct-hero-cinematic { min-height: 72vh; }
html[data-o-footer-showsocial="0"] :is(.ct-social-links, .ct-f-social-btns) { display: none; }
.ct-totop { position: fixed; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 55; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--ct-accent); color: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,.55); }
.ct-totop:hover { text-decoration: none; filter: brightness(1.08); }
.ct-totop svg { width: 22px; height: 22px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html[data-o-announcement-speed="slow"] .ct-ann-track { animation-duration: 52s; }
html[data-o-announcement-speed="fast"] .ct-ann-track { animation-duration: 15s; }

/* phones: brand and hamburger share one row (the base rule stacks them) */
@media (max-width: 960px) { .ct-h-cta .ct-header-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; } }
