@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap);
/* Conekta Components — shared keyframes & utility classes */

/* ── Navbar ─────────────────────────────────────────────────────────────── */

/* Nav link hover highlight */
.cnav-link:hover {
  background: rgba(0, 0, 0, 0.055) !important;
}


/* Login / secondary CTA hover */
.cnav-cta-login {
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.cnav-cta-login:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
}


/* Submenu item hover */
.cnav-submenu-item:hover {
  background: rgba(0, 0, 0, 0.045) !important;
}

/* Custom SVG icons (Font Awesome pasted as raw SVG) — Safari needs explicit
   sizing because FA SVGs ship with width/height "1em" which renders
   differently across browsers inside flex containers. */
.cnav-custom-svg svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
  fill: currentColor;
}
.cnav-custom-svg svg * {
  fill: currentColor;
}

/* ── Payment showcase: slot layouts ──────────────────────────────────────────
   Webflow projects all slotted children into a single <div slot="name">
   wrapper in light DOM. By default that wrapper is display:block, so its
   children stack vertically as block siblings. We turn the wrapper itself
   into a flex container via ::slotted() so the items lay out properly.

   IMPORTANT: this only works when the user places the slot children directly
   in the slot. An extra wrapper div added in Webflow Designer sits INSIDE
   the projected <div slot=name>, and CSS can't reach through it — items
   will stack again. */

/* Methods grid — wrapping flex row of fixed-size tiles. */
.cpay-methods-slot slot::slotted(*) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

/* Tabs row (tablet/mobile) — wrapping row of pill tabs (no horizontal scroll). */
.cpay-tabs-row slot::slotted(*) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

/* Tabs column (desktop) — vertical stack of full-width tabs. */
.cpay-tabs-column slot::slotted(*) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Mobile nav item row — applies to both the dropdown button AND the
   no-dropdown anchor, so they render identically on iOS Safari (which
   sometimes ignores inline styles on <a>). */
.cnav-item-mob-row {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 20px 24px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  background: none !important;
  border: none !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: pointer !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  letter-spacing: -0.01em !important;
}
.cnav-item-mob-row.has-drop {
  justify-content: space-between !important;
}

/* Payment chip hover */
.cnav-paychip-neutral:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}
.cnav-paychip-featured:hover {
  background: #d6e4ff !important;
  border-color: rgba(37, 99, 235, 0.28) !important;
}
.cnav-paychips-viewall:hover {
  color: #0f172a !important;
}

/* Chevron rotates when nav item is hovered */
.cnav-item-wrapper:hover .cnav-chevron {
  transform: rotate(180deg) !important;
}
.cnav-chevron {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Force nav items to lay out horizontally regardless of Webflow's slot wrapper */
.cnav-items-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
.cnav-items-row > * {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* Dropdown panel — hidden by default, shown on hover via CSS.
   --cnav-x-offset is set by JS to keep the panel inside the viewport when
   the natural centered position would push it off-screen. */
.cnav-item-dropdown {
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(-50% + var(--cnav-x-offset, 0px))) translateY(-6px) scale(0.98);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.cnav-item-wrapper:hover .cnav-item-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--cnav-x-offset, 0px))) translateY(0) scale(1);
}
/* Transparent bridge that fills the gap between the trigger and the panel,
   so the mouse never leaves the hover zone while travelling down. */
.cnav-item-dropdown::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: -40px;
  right: -40px;
  height: 16px;
}

/* ── Logo Marquee ────────────────────────────────────────────────────────── */

/* Animation is RAF-driven in JS — no CSS keyframe needed.
   will-change promotes the track to a GPU compositor layer for smooth movement. */
.clogo-marquee-track {
  will-change: transform;
}

/* Each duplicated set sits side-by-side */
.clogo-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Size every logo image using the CSS var set on the wrapper */
.clogo-marquee-wrapper img {
  height: var(--clogo-h, 28px);
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* ── Checkout Bento — unified levers + live preview surfaces ──────────────── */
.cbento-scroll { scrollbar-width: thin; scrollbar-color: #CBD5E1 transparent; }
.cbento-scroll::-webkit-scrollbar { width: 6px; }
.cbento-scroll::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
.cbento-scroll::-webkit-scrollbar-track { background: transparent; }

/* Top grid: unified control card (left) + preview surfaces (right).
   align-items:start so the left card is only as tall as its content (not
   stretched), which lets it stick to the top while the surfaces scroll. */
.cbento-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
/* Left control card sticks to the top as the taller right column scrolls. */
.cbento-levers {
  position: sticky;
  top: var(--cbento-sticky-top, 24px);
  align-self: start;
}
/* Right column stacks the wide desktop on top, then a mobile + stack row. */
.cbento-surfaces {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-content: start;
}
.cbento-surfaces-row {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.cbento-surfaces-stack {
  display: grid;
  grid-template-rows: auto auto;
  gap: 18px;
  min-width: 0;
}
.cbento-name-input {
  font-size: 13px; font-weight: 600; color: #171D4D;
  border: 1px solid #E2E8F0; border-radius: 8px; height: 34px; padding: 0 10px;
  width: 100%; outline: none; box-sizing: border-box;
  transition: border-color 160ms, box-shadow 160ms; font-family: inherit;
}
.cbento-name-input:focus {
  border-color: var(--cbento-accent);
  box-shadow: 0 0 0 3px var(--cbento-accent-tint);
}

@media (max-width: 1024px) {
  .cbento-grid { grid-template-columns: 1fr; }
  .cbento-surfaces-row { grid-template-columns: 1fr; }
  /* Stacked layout: don't pin the card over the surfaces. */
  .cbento-levers { position: static; }
}

/* ── Platform Bento — framed hairline layout (.cpb-*) ─────────────────────── */
/* One continuous frame: horizontal outer lines only (the page provides the
   full-bleed verticals), transparent bg, #C1C1C2 dividers between cells. */
.cpb-frame {
  position: relative;
  background: transparent;
  border-top: 1px solid #C1C1C2;
  border-bottom: 1px solid #C1C1C2;
}

/* Pillar strip — the first band right under the frame's top line. */
.cpb-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cpb-pillar { padding: 16px 26px; min-width: 0; border-left: 1px solid #C1C1C2; }
.cpb-pillar:first-child { border-left: 0; }
@media (max-width: 980px) {
  .cpb-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpb-pillar { padding: 14px 22px; }
  .cpb-pillar:nth-child(odd) { border-left: 0; }
  .cpb-pillar:nth-child(even) { border-left: 1px solid #C1C1C2; }
  .cpb-pillar:nth-child(n+3) { border-top: 1px solid #C1C1C2; }
}
@media (max-width: 560px) {
  .cpb-pillars { grid-template-columns: minmax(0, 1fr); }
  .cpb-pillar { border-left: 0 !important; }
  .cpb-pillar:nth-child(n+2) { border-top: 1px solid #C1C1C2; }
}

/* Bento rows: wide/narrow cells with a hairline between; row B mirrors the
   ratio so the composition alternates. */
.cpb-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border-top: 1px solid #C1C1C2;
}
.cpb-row-b { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.cpb-cell {
  --cpb-pad: 30px;
  padding: var(--cpb-pad);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cpb-cell + .cpb-cell { border-left: 1px solid #C1C1C2; }
@media (max-width: 920px) {
  .cpb-row { grid-template-columns: minmax(0, 1fr); }
  .cpb-cell { --cpb-pad: 22px; }
  .cpb-cell + .cpb-cell { border-left: 0; border-top: 1px solid #C1C1C2; }
  /* Stacked cards no longer need to match heights — let them size to content
     so nothing clips (fixed height is a desktop-only, side-by-side concern). */
  .cpb-illo { height: auto !important; }
}

/* Feature chips: one line at full width, wrap only once the row stacks. */
.cpb-chips { flex-wrap: wrap; }

/* Smart-routing diagram: the winning route carries a flowing dash. */
@keyframes cpb-dash {
  to { stroke-dashoffset: -64; }
}
.cpb-flow { animation: cpb-dash 2.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .cpb-flow { animation: none !important; } }

/* Coverage logo cloud: brand tiles drift gently like the hero constellation. */
@keyframes cpb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.cpb-tile { animation: cpb-float 5.5s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .cpb-tile { animation: none !important; } }

/* Logo grid: exactly 6 per row on desktop (12 tiles -> 6+6), fewer as it narrows.
   Fixed 6 columns (not auto-fill) so the count is guaranteed; tiles cap at 84px
   and center in their column, so a wider Cobertura just spaces them out more. */
.cpb-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  justify-items: center;
}
@media (max-width: 680px) { .cpb-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cpb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Narrow screens: tighten the cloud; hide the FraudCard timestamp. */
@media (max-width: 600px) {
  .cpb-cloud { padding: 18px 12px 20px !important; }
  .cpb-time { display: none; }
}

/* ── Platform Sections — full-width themed bands, no bento (.cps-*) ────────── */
/* One hairline frame; each section = copy | illustration, alternating sides.
   Reuses the .cpb-tiles logo grid and the cpb-dash/cpb-float keyframes. */
.cps-frame {
  position: relative;
  background: transparent;
  border-top: 1px solid #C1C1C2;
  border-bottom: 1px solid #C1C1C2;
}
.cps-sec {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  border-top: 1px solid #C1C1C2;
}
.cps-sec:first-child { border-top: 0; }
.cps-copy { padding: 52px 46px 54px 36px; min-width: 0; }
.cps-media {
  padding: 52px 36px 54px 46px;
  min-width: 0;
  border-left: 1px solid #C1C1C2;
  display: flex;
  align-items: center;
}
/* alternate: illustration on the left */
.cps-sec-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.cps-sec-rev .cps-copy { order: 2; padding: 52px 36px 54px 46px; }
.cps-sec-rev .cps-media { order: 1; border-left: 0; border-right: 1px solid #C1C1C2; padding: 52px 46px 54px 36px; }

/* sub-features: 2-up grid inside the copy column */
.cps-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 26px;
}

@media (max-width: 920px) {
  .cps-sec, .cps-sec-rev { grid-template-columns: minmax(0, 1fr); }
  .cps-copy, .cps-sec-rev .cps-copy { order: 1; padding: 30px 22px 6px; }
  .cps-media, .cps-sec-rev .cps-media { order: 2; border-left: 0; border-right: 0; padding: 24px 22px 34px; }
}
@media (max-width: 600px) {
  .cps-feats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ── Checkout Tabs — platform (lvl 1) -> integration (lvl 2) -> live example ─ */
.ctabs-right { min-width: 0; }

/* Two-column header: platform toggle + its copy (left) sit beside the
   forms-of-integration tabs + the active form's blurb (right). Saves the
   vertical space that the old fully-stacked header used to eat. */
.ctabs-head {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 22px;
}
.ctabs-head-left, .ctabs-head-right { min-width: 0; }
.ctabs-platform-copy { margin-top: 16px; }

.ctabs-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: #94A3B8; margin-bottom: 10px;
}

/* Level 1 — platform segmented control */
.ctabs-platforms {
  display: inline-flex; gap: 4px; padding: 5px;
  border-radius: 14px; background: #F1F4FA; border: 1px solid #E7EBF3;
}
.ctabs-platform-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700;
  transition: background 220ms, color 220ms, box-shadow 220ms;
}

/* Level 2 — forms of integration */
.ctabs-forms-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: #94A3B8; margin-bottom: 10px;
}
.ctabs-tabrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ctabs-form-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 13px;
  transition: color 200ms, box-shadow 200ms, border-color 200ms;
}
/* Integration info — mirrors the platform title/subtitle styling (left column) */
.ctabs-int-copy { margin-top: 4px; }
.ctabs-learn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: gap 180ms;
}
.ctabs-learn:hover { gap: 9px; }

/* Live example stage — re-keyed per change so the entrance replays */
@keyframes ctabs-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ctabs-stage { min-height: 460px; animation: ctabs-in 0.34s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) { .ctabs-stage { animation: none !important; } }

/* Stack the two header columns once they get cramped. */
@media (max-width: 760px) {
  .ctabs-head { grid-template-columns: 1fr; gap: 18px; }
  .ctabs-platform-copy { margin-top: 14px; }
}
@media (max-width: 560px) {
  .ctabs-platforms { display: flex; }
  .ctabs-platform-btn { flex: 1; justify-content: center; padding: 10px 12px; }
}

/* Plugins surface — prominent e-commerce platform logo cards */
.cplug-eyebrow {
  text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #94A3B8; margin-bottom: 13px;
}
/* One full-width row of 6 (drops to 3, then 2 on smaller widths) — the cards
   stretch to fill the row instead of piling up in a narrow centred block.
   Fixed column counts that divide 6 evenly avoid an orphan card on its own row. */
.cplug-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 0 0 18px;
}
@media (max-width: 920px) { .cplug-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .cplug-row { grid-template-columns: repeat(2, 1fr); } }
.cplug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 16px; }
.cplug-card {
  min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 10px; border-radius: 13px; border: 1px solid #E7EBF3; background: #fff;
  box-shadow: 0 12px 30px -18px rgba(23,29,77,0.45);
  transition: transform 200ms, box-shadow 200ms;
}
.cplug-card:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -18px rgba(23,29,77,0.5); }

/* ── Checkout Tabs Minimal — framed hairline layout (.ctm-*) ─────────────── */
.ctm-frame {
  position: relative;
  background: transparent; /* the page background shows through */
  /* horizontal lines only — the page provides its own full-bleed verticals */
  border-top: 1px solid #C1C1C2;
  border-bottom: 1px solid #C1C1C2;
}
/* Grid frame: panel head + tabs share the top hairline. */
.ctm-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-areas:
    "phead tabs"
    "pbody stage";
}
.ctm-phead { grid-area: phead; height: 56px; border-right: 1px solid #C1C1C2; border-bottom: 1px solid #C1C1C2; box-sizing: border-box; }
.ctm-tabs  { grid-area: tabs; border-bottom: 1px solid #C1C1C2; display: flex; align-items: stretch; min-width: 0; }
.ctm-pbody { grid-area: pbody; border-right: 1px solid #C1C1C2; }
/* Desktop: the panel content follows the scroll (sticks within the grid cell,
   so it stops at the component's bottom edge). Mobile keeps normal flow. */
@media (min-width: 1021px) {
  .ctm-pbody-sticky { position: sticky; top: var(--ctm-sticky-top, 96px); }
}
.ctm-stage { grid-area: stage; min-width: 0; }
.ctm-tabs-fill { flex: 1; }

.ctm-tab {
  display: inline-flex; align-items: center; gap: 9px;
  height: 55px; padding: 0 26px;
  border: 0; border-right: 1px solid #C1C1C2;
  background: transparent; cursor: pointer; font-family: inherit;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: #7A8098;
  transition: background 180ms, color 180ms, box-shadow 180ms;
}
.ctm-tab:hover { background: rgba(23, 29, 77, 0.03); color: #171D4D; }
.ctm-tab[data-active="true"] {
  color: #171D4D;
  background: repeating-linear-gradient(45deg, rgba(23, 29, 77, 0.07) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 -2px 0 #2C4CF5;
}

/* Mobile personalization: the side panel is hidden <=1020px; a small trigger
   in the tabs row opens a popover fixed at the TOP of the screen instead.
   No backdrop/scrim on purpose — the checkout stays visible underneath. */
.ctm-ptrigger {
  display: none; align-items: center; gap: 7px;
  padding: 0 14px; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: #7A8098; white-space: nowrap;
  transition: background 180ms, color 180ms, box-shadow 180ms;
}
.ctm-ptrigger:hover { background: rgba(23, 29, 77, 0.03); color: #171D4D; }
.ctm-ptrigger[data-active="true"] {
  color: #171D4D;
  background: repeating-linear-gradient(45deg, rgba(23, 29, 77, 0.07) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 -2px 0 #2C4CF5;
}
.ctm-popover {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 12px; right: 12px;
  margin: 0 auto; max-width: 560px;
  z-index: 9999;
  background: #fff;
  border: 1px solid #C1C1C2; border-radius: 16px;
  box-shadow: 0 30px 70px -28px rgba(23, 29, 77, 0.45), 0 10px 24px -16px rgba(23, 29, 77, 0.2);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  animation: ctm-pop-drop 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes ctm-pop-drop {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .ctm-popover { animation: none !important; } }
/* desktop always uses the side panel — never the popover */
@media (min-width: 1021px) { .ctm-popover { display: none; } }
/* icon-only trigger on narrow phones (three items share the tabs row) */
@media (max-width: 539px) { .ctm-ptrigger-label { display: none; } }

/* Mobile stage: web-checkout | native-SDK view tabs — vertical rail beside the
   phone on desktop, horizontal row above it on narrow screens. */
.ctm-mstage { display: flex; align-items: center; justify-content: center; gap: 22px; }
.ctm-vtabs { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.ctm-vtab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid transparent; border-radius: 10px;
  background: transparent; cursor: pointer; font-family: inherit;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #7A8098; white-space: nowrap;
  transition: background 180ms, color 180ms, border-color 180ms;
}
.ctm-vtab:hover { background: rgba(23, 29, 77, 0.03); color: #171D4D; }
.ctm-vtab[data-active="true"] {
  color: #171D4D; border-color: #C1C1C2;
  background: repeating-linear-gradient(45deg, rgba(23, 29, 77, 0.07) 0 1px, transparent 1px 7px);
}
@media (max-width: 700px) {
  .ctm-mstage { flex-direction: column; gap: 12px; }
  .ctm-vtabs { flex-direction: row; justify-content: center; }
}

/* Inner phone scroll — no visible scrollbar (it would look odd in the mockup). */
.ctm-noscroll { scrollbar-width: none; -ms-overflow-style: none; }
.ctm-noscroll::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Personalization rows — hairline-separated list, no cards. */
.ctm-mrow { transition: background 160ms; }
.ctm-mrow:hover { background: rgba(23, 29, 77, 0.025); }
.ctm-mrow + .ctm-mrow { border-top: 1px solid #C1C1C2; }
.ctm-mrow-filler { display: none; }

.ctm-hex {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px;
  border: 1px solid #E4E4EE; border-radius: 10px; background: #F7F8FC;
  font-family: inherit; font-size: 13px; font-weight: 600; color: #171D4D;
  outline: none; box-sizing: border-box;
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}
.ctm-hex:focus { border-color: #2C4CF5; background: #fff; box-shadow: 0 0 0 3px rgba(44, 76, 245, 0.12); }

.ctm-stage-pad { padding: 34px 40px 40px; }

/* Live preview: order summary | embedded checkout. */
.ctm-preview-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.ctm-preview-left { border-right: 1px solid #E9EBF3; }

/* Surface scaling lives in the TSX (Scaled wrapper: transform + measured
   footprint, driven by useMediaQuery). Do NOT scale these with CSS zoom:
   iOS Safari re-inflates zoomed text to a legibility floor (~13px) and
   -webkit-text-size-adjust cannot disable it — boxes shrink, texts don't. */

@keyframes ctm-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ctm-anim { animation: ctm-in 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) { .ctm-anim { animation: none !important; } }

@media (max-width: 1020px) {
  .ctm-grid {
    grid-template-columns: 1fr;
    /* the personalization panel collapses into the popover on mobile —
       only the tabs row + stage remain in the frame */
    grid-template-areas: "tabs" "stage";
  }
  /* !important: .ctm-phead carries an inline display:flex */
  .ctm-phead, .ctm-pbody { display: none !important; }
  .ctm-tabs-fill { display: none; }
  .ctm-tab { flex: 1; justify-content: center; padding: 0 12px; }
  /* the Mobile tab's own border-right separates it from the trigger */
  .ctm-ptrigger { display: inline-flex; }
  .ctm-stage-pad { padding: 26px 22px 32px; }

  /* Compact personalization content (lives in the popover <=1020px): methods
     in TWO columns (slim rows, no brand logos) and the color section on a
     single line (swatches + hex input).
     !important where an inline style must be overridden. */
  .ctm-slabel { padding: 14px 16px 8px !important; }
  /* minmax(0,...) — with plain 1fr, Safari sizes the columns from the rows'
     min-content ("Pago Directo BBVA" nowrap) and the toggles clip past the
     popover edge on iPhones. The tighter row metrics let that longest label
     fit whole in a ~390px-wide popover column. */
  .ctm-mlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ctm-mrow { padding: 8px 10px !important; gap: 6px !important; }
  .ctm-mrow + .ctm-mrow { border-top: 0; }
  .ctm-mrow:nth-child(n+3) { border-top: 1px solid #C1C1C2; }
  .ctm-mrow:nth-child(even) { border-left: 1px solid #C1C1C2; }
  .ctm-mlabel { font-size: 11px !important; }
  /* !important: the switch carries inline sizes */
  .ctm-toggle { width: 32px !important; height: 18px !important; }
  .ctm-toggle > span { width: 14px !important; height: 14px !important; }
  .ctm-mlogos { display: none !important; }
  /* the odd-count ghost cell completes the grid lines (see TSX comment) */
  .ctm-mrow-filler { display: block; border-top: 1px solid #C1C1C2; border-left: 1px solid #C1C1C2; }
  .ctm-colors { display: flex; align-items: center; gap: 14px; padding: 0 16px 16px !important; }
  .ctm-swatches { gap: 9px !important; }
  .ctm-swatches button { width: 29px !important; height: 29px !important; }
  .ctm-hexlabel { display: none; }
  .ctm-hexrow { flex: 1; min-width: 0; }
  .ctm-hexswatch { display: none; }
  .ctm-hex { height: 36px; }
}

/* ── Integration illustrations (.cil-*) ──────────────────────────────────── */
/* Soft blinking caret at the end of the code sample (scales with font-size). */
.cil-caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: #C7D0E8;
  border-radius: 1.5px;
  animation: cil-blink 1.1s steps(1) infinite;
}
@keyframes cil-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cil-caret { animation: none !important; } }

/* ── Payment Hub — orbiting methods constellation ────────────────────────── */
@keyframes cph-drift {
  0%, 100% { transform: translate3d(-50%, -50%, 0); }
  50%       { transform: translate3d(-50%, calc(-50% - 8px), 0); }
}
@keyframes cph-ring-pulse {
  0%   { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0;   }
}
/* Each node is absolutely centered on its orbit point (translate -50%,-50%),
   so the drift keyframe carries that base transform with it. */
.cph-node {
  animation: cph-drift 6s ease-in-out infinite;
}
.cph-ring {
  animation: cph-ring-pulse 3.2s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .cph-node { animation: none !important; transform: translate(-50%, -50%) !important; }
  .cph-ring { animation: none !important; }
}

/* ── Shared ──────────────────────────────────────────────────────────────── */
@keyframes ccs-pop-in {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Checkout Showcase — floating cards */
@keyframes ccs-drift {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.ccs-floating-card {
  animation-name: ccs-drift;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Checkout scroll (used by ConektaCheckout) */
.ccs-checkout-scroll {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}
.ccs-checkout-scroll::-webkit-scrollbar       { width: 6px; }
.ccs-checkout-scroll::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
.ccs-checkout-scroll::-webkit-scrollbar-track { background: transparent; }

/* Bundle Showcase — animations */
@keyframes cbs-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cbs-tile-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bundle Showcase — horizontal tab row (tablet + mobile) */
.cbs-tab-row {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cbs-tab-row::-webkit-scrollbar { display: none; }

/* ── ConektaIndustrias — shell layout helpers ── */
/* Mobile grid: each Webflow slot wrapper fills its grid cell */
.cind-tabs-grid > * { width: 100%; min-width: 0; }
/* Desktop column: each child stretches full width */
.cind-tabs-col > * { width: 100%; }

/* ── ConektaIndustrias — panel entrance animation ── */
@keyframes cind-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cind-panel {
  animation: cind-in 0.32s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Mobile full-screen overlay entrance */
@keyframes cnav-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cnav-mob-overlay {
  animation: cnav-overlay-in 0.2s ease both;
}

/* ── ConektaCasos — progress bar fill ── */
@keyframes ccaso-fill {
  from { width: 0%; }
  to   { width: 100%; }
}
.ccaso-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3d62ea, #00c2ff);
  border-radius: 999px;
  animation-name: ccaso-fill;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

/* ── ConektaCasos — panel entrance animation ── */
@keyframes ccaso-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ccaso-panel {
  animation: ccaso-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* ── ConektaCasos — visual area keyframes ── */
@keyframes ccaso-blob {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.7; }
  50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 1;   }
}
@keyframes ccaso-logo-in {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ccaso-float-in {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── ConektaCasos — tab row slot children ── */
.ccaso-tabs-row > * { flex-shrink: 0; }

/* ── Bundle Showcase — category nav button ── */
/* Bundle Showcase — category nav button */
.cbs-cat-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #CBD5E1;
  background: transparent;
  border: 1px solid transparent;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  font-family: Inter, -apple-system, sans-serif;
}
.cbs-cat-button[data-active="true"] {
  background: linear-gradient(135deg, rgba(44,76,245,0.18), rgba(125,240,255,0.06));
  border-color: rgba(125, 240, 255, 0.35);
  color: #FFFFFF;
  font-weight: 600;
}

