/* ============================================================================
 * CEXUM child theme — Elementor Theme Builder CHROME bridge (header + footer)
 *
 * PROBLEM THIS SOLVES (risk R4)
 * -----------------------------
 * The bespoke chrome lives in header.php (`.cx-site-header`) + footer.php
 * (`.cx-site-footer`), styled in style.css. Step S6 of the TB conversion
 * replaces those PHP partials with Elementor Pro Theme Builder HEADER/FOOTER
 * templates rendered at the `header` / `footer` theme locations. Those TB
 * templates emit Elementor's OWN widget DOM (`.elementor-widget-*`) inside
 * `.elementor-location-header` / `.elementor-location-footer` — NOT the
 * `.cx-site-*` markup. They therefore render UNSTYLED: a transparent surface,
 * default icon-list check-bullets, no column treatment, light-theme defaults
 * going (near-)invisible on the dark azul-noche base.
 *
 * The existing brand bridge (cexum-elementor-brand.css) is scoped under
 * `.cx-page-body .elementor` and ONLY page.php emits `.cx-page-body`, so it
 * NEVER reaches the TB locations. This stylesheet is the chrome counterpart:
 * it restyles Elementor's TB header/footer DOM to reproduce the bespoke
 * `.cx-site-header` / `.cx-site-footer` look EXACTLY, reusing the same --cx-*
 * tokens (glass masthead, dark on-brand footer, gradient CTA, eyebrow column
 * titles, clean footer nav with no bullets). Since the 2026-11 redesign
 * (MKT-WP-REDESIGN-HEADER) the header follows the canvas instead: see the
 * HEADER block.
 *
 * SCOPE — TB header + footer locations ONLY, never page bodies
 * -----------------------------------------------------------
 * Every rule is scoped under EITHER:
 *   .elementor-location-header  /  #cexum-tb-header   (the TB header)
 *   .elementor-location-footer  /  #cexum-tb-footer   (the TB footer)
 * `.cx-page-body .elementor` (interior page widgets) and front-page.php's
 * bespoke `.cx-*` home markup carry NEITHER scope, so NOTHING here leaks to
 * page bodies or interior pages. The two location wrappers are emitted by
 * elementor_theme_do_location('header'|'footer') (see header.php / footer.php),
 * which only fires when a TB template is published + assigned.
 *
 * Tokens reused from style.css (mirrors of the .cx-site-* recipes):
 *   --cx-bg / --cx-surface-1 / --cx-surface-2  (dark surfaces)
 *   --cx-glass-tint / --cx-line / --cx-line-strong  (glass + hairlines)
 *   --cx-on-dark / --cx-on-dark-muted / --cx-on-dark-subtle  (text on dark)
 *   --cx-accent-hsl (turquesa #18C9D7)  --cx-primary-hsl (azul corp. #1D5FFF)
 *   --cx-gradient-action / --cx-gradient-soft  (brand)
 *   --cx-radius* / --cx-shadow-card / --cx-shadow-lift  (depth; no halos)
 *   --cx-container / --cx-header-h / --cx-gutter / --cx-blur  (layout)
 *   --cx-button-text  (label on the gradient CTA)
 *
 * Since the 2026-11 redesign both locations follow the canvas «Cexum OTC
 * Homepage» (header `.hd`, footer `.cf`): see the HEADER and FOOTER blocks. The
 * class names of the PHP chrome (.cx-site-footer__col-title, __consent,
 * __legal-line…) are kept on the widgets as hooks.
 *
 * Hard Gates:
 *   G2 — tokenised, no !important: what a widget sets in its Style tab wins
 *        over this sheet (contract in the HEADER block).
 *   G4 — focus-visible ring preserved (turquoise 2px + 2px offset) on every
 *        interactive chrome element; never-color-alone is unaffected (chrome
 *        carries no financial green/red).
 * ========================================================================== */

/* ============================================================================
 * SHARED — text/link defaults inside both TB locations (dark surface baseline)
 * Elementor widgets ship light-theme inherited text; pin the chrome to the
 * on-dark palette so nothing goes invisible before the per-widget rules below.
 * ========================================================================== */
.elementor-location-header,
.elementor-location-footer {
  color: hsl(var(--cx-on-dark));
}

/* ============================================================================
 * ====================  HEADER  ==============================================
 * Redesign 2026-11 (MKT-WP-REDESIGN-HEADER), canvas «Cexum OTC Homepage»,
 * artboard Main, `.hd` (l.110-149) and its mobile panel (l.639-656):
 *   - a STATIC bar (no longer sticky; canvas `.hd` is position:relative):
 *     azul noche at 90 % with a 14px backdrop blur and the «Filete» bottom
 *     hairline; one row of 72px (64px at <=640, the canvas step), container
 *     1200px with 24px sides (16px at <=640, the canvas phone gutter);
 *   - the row is a GRID: logo | primary nav (centred) | actions (language,
 *     «Sign in», «Talk to sales») | burger;
 *   - at <=1100 (the canvas step; the Nav Menu breakpoint is the kit's 1024, and
 *     the band 1025-1100 is closed by the BURGER BAND block) the nav becomes the
 *     44px burger and its panel opens IN FLOW under the row (grid row 2),
 *     followed by the panel foot #cx-tb-header-mfoot, a native section with the
 *     two buttons. The bar is not sticky, so the open panel pushes the page
 *     down instead of covering it. At <=640 the two buttons leave the bar.
 *
 * CONTRACT with the widget Style tab (same as cexum-elementor-brand.css since
 * 89ffc81): the colours, type and spacing of the links, the switcher, the
 * burger and the panel are set NATIVELY on the EN/ES widgets (bound to the
 * kit's Global Colors) and must win. The rules here that style those same
 * properties sit above Elementor's widget-type defaults
 * (`.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item`,
 * `.elementor-widget-button .elementor-button`, both 0,2,0) and below its
 * per-element rules (`.elementor-NNN .elementor-element.elementor-element-ID …`:
 * 0,3,0 on the widget, 0,3,1 on a tag in it, 0,4,0 on an inner part). No
 * !important, and no id in front of a widget (MKT-WP-CHROME-CSS-BEATS-WIDGETS,
 * 2026-11-03: the ids moved inside :where(), the states into :where(:hover)).
 * They are the fallback for a header document that does not set them. What
 * lives ONLY here is what the builder has no control for: the bar surface
 * (alpha + backdrop blur), the grid and the in-flow panel, and the button
 * finish (owner decision: the button finish lives in the theme, not the kit).
 * `scripts/check_theme_widget_specificity.py` (pre-commit) holds every rule of
 * this sheet to that floor; the ones that must win are marked `(c) KEPT:`.
 * ========================================================================== */
.elementor-location-header {
  --cx-tb-header-row: 72px;
  --cx-tb-header-pad: 24px;
  /* Azul corporativo at 18 % (canvas `.hd-dd.on` / pill hover). The kit has no
   * alpha Global Color for it yet (MKT-WP-REDESIGN-KIT-CHROME-ALPHA); the EN/ES
   * widgets carry the same value, #1D5FFF2E. */
  --cx-tb-pill-active: hsl(var(--cx-primary-hsl) / 0.18);
  position: relative;
  z-index: 100;
  background: hsl(var(--cx-bg) / 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cx-hairline);
}
/* Canvas `.hd-wrap` (l.149, @media max-width:640px): 64px and a 16px gutter. The
 * canvas step is 640, not the kit's 767: from 641 to 767 the bar keeps 72px and
 * 24px (MKT-WP-REPLICA-HEADER-BURGER-1100). */
@media (max-width: 640px) {
  .elementor-location-header {
    --cx-tb-header-row: 64px;
    --cx-tb-header-pad: 16px;
  }
}

/* ---- The row: a grid, one source of height ------------------------------- */
#cexum-tb-header > .elementor-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, auto);
  grid-template-rows: var(--cx-tb-header-row) auto;
  align-items: center;
  column-gap: 24px;
  row-gap: 0;
  max-width: var(--cx-container);
  min-height: 0;
  margin-inline: auto;
  padding: 0 var(--cx-tb-header-pad);
}
@media (max-width: 1100px) {
  #cexum-tb-header > .elementor-container {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, auto) auto;
    column-gap: 10px;
  }
}
/* Elementor's column percentages and gap padding mean nothing inside the grid. */
#cexum-tb-header > .elementor-container > .elementor-column {
  width: auto;
  min-width: 0;
}
#cexum-tb-header .elementor-widget-wrap {
  padding: 0;
}
/* The widgets sit on the row's centre line, so Elementor's widget spacing
 * (`.elementor-widget:not(:last-child)`, 0,2,0) goes. 0,2,1: above that
 * default, below the widget's own Advanced > Margin (0,3,0). */
:where(#cexum-tb-header) .elementor-widget-wrap > div.elementor-widget {
  margin-bottom: 0;
}
#cexum-tb-header > .elementor-container > .elementor-column:first-child {
  grid-column: 1;
  grid-row: 1;
}
/* The nav column dissolves, so the Nav Menu's three parts (desktop list,
 * burger, panel) become grid items of the row and can be placed one by one.
 * The wrappers are presentational divs (no role), so display:contents is
 * a11y-safe.
 * (c) KEPT at the widget's floor on purpose: Elementor Pro's own default for
 * the widget, `.elementor-widget-nav-menu:not(:has(.elementor-widget-container))
 * :not([class*=elementor-hidden-]) { display: flex }` (widget-nav-menu.min.css),
 * is already 0,3,0, so the widget rule is 0,3,1. `display` is not a widget
 * control; the one thing the editor sets that touches it, «Responsive > Hide
 * on…» (the elementor-hidden-* classes), is excluded the same way Elementor
 * excludes it, so hiding the menu from wp-admin still works. */
#cexum-tb-header .elementor-column:has(.elementor-widget-nav-menu),
#cexum-tb-header .elementor-column:has(.elementor-widget-nav-menu) > .elementor-widget-wrap,
.elementor-location-header div.elementor-widget-nav-menu:not([class*=elementor-hidden-]),
.elementor-location-header .elementor-widget-nav-menu > .elementor-widget-container {
  display: contents;
}
#cexum-tb-header .elementor-nav-menu--main {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  min-width: 0;
}
#cexum-tb-header .elementor-column:has(#cx-tb-header-cta) {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
/* The burger and the panel are inner parts of the Nav Menu (its own settings
 * reach them at 0,4,0), so the section id stays inside :where() (0,1,0 / 0,2,0;
 * MKT-WP-THEME-HIDDEN-HOOKS-BEAT-WIDGETS). Grid placement is not a widget control. */
:where(#cexum-tb-header) .elementor-menu-toggle {
  grid-column: 4;
  grid-row: 1;
}
:where(#cexum-tb-header) .elementor-nav-menu--dropdown.elementor-nav-menu__container {
  grid-column: 1 / -1;
  grid-row: 2;
}

/* ---- Actions: language, «Sign in», «Talk to sales» ------------------------ */
/* The actions column holds an INNER section (switcher + buttons); its wrappers
 * dissolve so the widgets are one flex row hugging the right edge. */
#cexum-tb-header .elementor-inner-section,
#cexum-tb-header .elementor-inner-section > .elementor-container,
#cexum-tb-header .elementor-inner-section .elementor-column,
#cexum-tb-header .elementor-inner-section .elementor-widget-wrap {
  display: contents;
}
#cexum-tb-header .elementor-column:has(#cx-tb-header-cta) > .elementor-widget-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
/* 0,2,1: above Elementor's `.elementor-widget-wrap > .elementor-element`
 * (width 100 %, 0,2,0), below a width set on the widget (Advanced, 0,3,0). */
:where(#cexum-tb-header .elementor-column:has(#cx-tb-header-cta)) .elementor-widget-wrap > div.elementor-widget {
  width: auto;
  flex: 0 0 auto;
}

/* ---- Logo (native Image widget, white PNG; height set on the widget) ------ */
.elementor-location-header .cx-site-header__logo,
.elementor-location-header .elementor-widget-theme-site-logo {
  margin: 0;
  line-height: 0;
}
.elementor-location-header .cx-site-header__logo img {
  display: block;
  width: auto;
  max-width: none;
}
/* The legacy Site Logo widget (dark lockup): white treatment, 26px tall. */
.elementor-location-header .elementor-widget-theme-site-logo img {
  display: block;
  height: 26px;
  width: auto;
  max-width: none;
  filter: brightness(0) invert(1);
}

/* ---- Primary nav: pill links (fallback of the widget's own settings) ----- */
/* No `gap` here: the space between the pills is the widget's own «Space
 * Between» (4px), which Elementor writes as a margin on the links; a theme gap
 * on top of it doubled it (8px) and no editor could take it back
 * (MKT-WP-HEADER-NAV-CRYPTO-LINK-FIT). */
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-nav-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
/* 1101-1240px (the bar is the burger from 1100 down, see BURGER BAND below): the
 * canvas's own compaction step (`.hd`, l.146, @media
 * max-width:1240px: pills 9/10px at 14px, language hidden). The menu is the
 * canvas's (Business, Exchange, About us, Contact, App: five items,
 * MKT-WP-REPLICA-HEADER-DESKTOP), so the step is the canvas's own again: the
 * tightened 9/6px at 13px that the eight items of the production menu needed
 * (MKT-WP-HEADER-NAV-CRYPTO-LINK-FIT) is gone, and so are the narrower buttons.
 * The kit has no breakpoint here (1024/767 only), so the step lives in the
 * theme. (c) KEPT above the widget on purpose: the pill padding and size are
 * set on the widget itself (0,5,0), and a widget control cannot target this
 * range, so the step uses the id; above 1240 the widget's own values apply
 * untouched. The language switcher leaves the row by the location class
 * (0,2,0; the widget never writes `display`) from 1240 down, as in the canvas;
 * the language links stay one tap away in the footer. */
@media (min-width: 1101px) and (max-width: 1240px) {
  #cexum-tb-header .elementor-nav-menu--main .elementor-item {
    padding: 9px 10px;
    font-size: 0.875rem;
  }
}
@media (max-width: 1240px) {
  .elementor-location-header .elementor-widget-wpml-language-switcher {
    display: none;
  }
}
:where(.elementor-location-header .elementor-widget-nav-menu) .elementor-nav-menu--main .elementor-nav-menu > li {
  margin: 0;
}
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item {
  padding: 8px 14px;
  border-radius: var(--cx-radius-pill);
  font-family: var(--cx-font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  color: hsl(var(--cx-on-dark-muted));
  fill: hsl(var(--cx-on-dark-muted));
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
/* The pill: the native «Background» pointer draws it as ::before with the
 * widget's colour; a document still on another pointer gets it here.
 * States and the pointer test sit inside :where(), so these stay at 0,4,0 (the
 * base rule above) and win over it by their place in this file, while the
 * widget's own item colours (0,5,0, hover 0,6,0) and pointer settings (0,4,1)
 * win over them (MKT-WP-THEME-HIDDEN-HOOKS-BEAT-WIDGETS). */
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main:where(:not(.e--pointer-background)) .elementor-item:where(:hover, .elementor-item-active) {
  background: var(--cx-tb-pill-active);
}
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item:where(:hover, .elementor-item-active) {
  color: hsl(var(--cx-on-dark));
  fill: hsl(var(--cx-on-dark));
}
:where(.elementor-location-header .elementor-widget-nav-menu) .elementor-nav-menu--main .elementor-item::before {
  border-radius: var(--cx-radius-pill);
}
:where(.elementor-location-header) .elementor-nav-menu--main.e--pointer-underline .elementor-item::after,
:where(.elementor-location-header) .elementor-nav-menu--main.e--pointer-underline .elementor-item::before {
  display: none;
}

/* ---- Dropdown groups: Business, Exchange, About us (desktop) -------------- */
/* Canvas `.hd-dd` / `.hd-menu` (l.116-126): a chevron after the group name that
 * turns 180deg while the group is open, and a card under it, centred on the group,
 * 250px wide at least, padding 8, radius 16, a turquoise 25% border and a deep
 * shadow, with the links as a column of title (14px 700) over subtitle (12px,
 * «Texto sutil»). The group is a WP menu item (`#`), its children the pages, the
 * subtitle the item's Description (inc/chrome-nav.php wraps both in spans).
 * What the widget's Style tab sets stays the widget's: the colours of the links
 * and of their hover, and the card's «Azul Noche» (the canvas card is «Tarjeta»
 * at 98 %: a documented difference, the border and the shadow draw the card).
 * Placement: SmartMenus writes `left: 0; margin-left: 0` inline, so the centring
 * is a `translate` read from `--cx-sub-shift` (set by the script of
 * inc/chrome-nav.php when the submenu opens); without it the card stays under the
 * group's left edge. */
.elementor-location-header .elementor-nav-menu--main .sub-arrow {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 6px;
  padding: 0;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
/* The chevron is the canvas's own (`M6 9l6 6 6-6`, stroke 2.4, round caps): the
 * widget's icon is hidden and the shape is drawn as a mask in the link's colour. */
.elementor-location-header .elementor-nav-menu--main .sub-arrow svg {
  display: none;
}
.elementor-location-header .elementor-nav-menu--main .sub-arrow::after {
  content: "";
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.elementor-location-header .elementor-nav-menu--main a[aria-expanded="true"] .sub-arrow {
  transform: rotate(180deg);
}
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main ul.sub-menu {
  padding: 8px;
  border: 1px solid hsl(var(--cx-accent-hsl) / 0.25);
  border-radius: var(--cx-radius);
  box-shadow: 0 24px 48px hsl(var(--cx-shadow-deep) / 0.55);
  translate: var(--cx-sub-shift, 0px) 0;
  opacity: 1;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease, display 0.2s allow-discrete;
}
@starting-style {
  .elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main ul.sub-menu {
    opacity: 0;
    transform: translateY(6px);
  }
}
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main ul.sub-menu[style*="display: none"] {
  opacity: 0;
  transform: translateY(6px);
}
:where(.elementor-location-header .elementor-widget-nav-menu) .elementor-nav-menu--main ul.sub-menu > li {
  min-inline-size: 14.5rem; /* 250px card = 232 + padding 8 x2 + border 1 x2 */
  margin: 0 0 2px;
}
:where(.elementor-location-header .elementor-widget-nav-menu) .elementor-nav-menu--main ul.sub-menu > li:last-child {
  margin-bottom: 0;
}
:where(.elementor-location-header .elementor-widget-nav-menu) .elementor-nav-menu--main ul.sub-menu a {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: var(--cx-radius-sm);
}
/* The two spans own their type: the widget prints the dropdown type on the link
 * (17px 700, and the kit's uppercase and tracking), which the canvas card does
 * not use. */
.elementor-location-header .elementor-nav-menu--main ul.sub-menu .cx-nav-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
}
.elementor-location-header .elementor-nav-menu--main ul.sub-menu .cx-nav-desc {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  color: hsl(var(--cx-on-dark-subtle));
}
/* The group the current page belongs to wears the pill, as the canvas `.hd-dd.on`
 * does: inc/chrome-nav.php gives its link the widget's own `elementor-item-active`,
 * so the pill and the colour are the widget's active state (no rule here). */

/* ---- Language switcher (WPML widget), header AND footer ------------------ */
/* WPML's "legacy list horizontal" markup ships a padded, bordered light-theme
 * box; reset it. The link colours and type are the widget's own settings (EN/ES
 * header: «Texto atenuado» -> «Blanco Hielo», .875rem 700). The widget writes
 * its TYPE on the item (`.wpml-elementor-ls .wpml-ls-item`, 0,5,0) and its
 * COLOURS on the link (0,6,0; its own default, 0,4,0, is the kit's text colour
 * with the accent on hover). So the type fallback lives on the item, and the
 * link inherits it (WPML's `a { line-height: 1 }` included); a type or colour
 * set on the link here would stop the widget's typography from reaching it
 * (MKT-WP-CHROME-CSS-BEATS-WIDGETS). What stays on the link is what the widget
 * has no control for: the 44px target and the shape. The focus ring is the
 * chrome's (FOCUS RING block). */
.elementor-location-header .elementor-widget-wpml-language-switcher .wpml-ls-legacy-list-horizontal,
.elementor-location-footer .elementor-widget-wpml-language-switcher .wpml-ls-legacy-list-horizontal {
  margin: 0;
  padding: 0;
  border: 0;
  clear: none;
  background: transparent;
}
:where(.elementor-location-header, .elementor-location-footer) .elementor-widget-wpml-language-switcher .wpml-ls-legacy-list-horizontal > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.elementor-location-header .elementor-widget-wpml-language-switcher .wpml-ls-legacy-list-horizontal .wpml-ls-item,
.elementor-location-footer .elementor-widget-wpml-language-switcher .wpml-ls-legacy-list-horizontal .wpml-ls-item {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--cx-font-sans);
}
.elementor-location-header .elementor-widget-wpml-language-switcher .wpml-ls-legacy-list-horizontal .wpml-ls-item {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}
:where(.elementor-location-header .elementor-widget-wpml-language-switcher) .wpml-ls-legacy-list-horizontal a.wpml-ls-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  border: 0;
  border-radius: var(--cx-radius-sm);
  background: transparent;
  line-height: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.elementor-location-header .elementor-widget-wpml-language-switcher {
  margin-right: 6px;
}
/* The header shows the language CODES, `ES | FR` (canvas `.hd-lang`, l.128-129),
 * the other languages only (the widget's «Link current» is off). The link keeps
 * WPML's own accessible name («Switch to Español», it also contains the visible
 * code) and its `lang` attribute prints the code; the native name leaves the
 * render tree so it is not read twice. The footer switcher keeps the names. The
 * bar is 44px high (target size); the separator is decoration (empty alt text). */
.elementor-location-header .cx-tb-header__locale .wpml-ls-legacy-list-horizontal > ul {
  gap: 8px;
}
.elementor-location-header .cx-tb-header__locale a.wpml-ls-link {
  padding-inline: 0;
}
.elementor-location-header .cx-tb-header__locale a.wpml-ls-link::before {
  content: attr(lang);
  text-transform: uppercase;
}
.elementor-location-header .cx-tb-header__locale .wpml-ls-native {
  display: none;
}
.elementor-location-header .cx-tb-header__locale .wpml-ls-item + .wpml-ls-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.elementor-location-header .cx-tb-header__locale .wpml-ls-item + .wpml-ls-item::before {
  content: "|" / "";
  color: hsl(var(--cx-on-dark-subtle));
}
/* Phones: the language switcher leaves the row (EN/ES set «Hide on mobile»
 * natively; this keeps it for a header that does not). It stays in the footer.
 * By its class only (0,2,0, under Advanced): the widget id it also carried
 * (1,1,0) beat the widget's own settings (MKT-WP-THEME-HIDDEN-HOOKS-BEAT-WIDGETS). */
@media (max-width: 767px) {
  .elementor-location-header .cx-tb-header__locale {
    display: none;
  }
}

/* ---- Buttons: «Sign in» (text link) and «Talk to sales» (action) ---------- */
/* The finish lives here (owner decision): Elementor's Button default prints the
 * kit's Accent background and the uppercase Accent type at (0,2,0)
 * (`.elementor-widget-button .elementor-button`, post-633.css). These rules sit
 * at (0,3,0), above it, and a colour or type set on the widget (0,4,0; its hover
 * 0,5,0) still wins. Their states are written `:where(:hover)` so they stay at
 * (0,3,0) and win over the base rule by their place in this file. (Until
 * b43e3f4 the home sheet restyled every button of the page at (0,3,0) and these
 * rules carried `a.elementor-button` to beat it; that rule is gone, measured in
 * MKT-WP-CHROME-CSS-HOME-CAUSE-GONE.) */
.elementor-location-header .cx-tb-signin-w .elementor-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--cx-radius-sm);
  background: transparent;
  color: hsl(var(--cx-on-dark));
  font-family: var(--cx-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s ease;
}
.elementor-location-header .cx-tb-signin-w .elementor-button:where(:hover) {
  background: transparent;
  color: hsl(var(--cx-accent-hsl));
}
.elementor-location-header .cx-tb-header__cta-w .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Canvas `.hd-btn` (l.132): 9/16px, radius 10, 14px 600, one line of normal
   * leading (35px tall, 83px for «Sign up»). */
  padding: 9px 16px;
  border: 0;
  border-radius: var(--cx-radius-sm);
  /* --cx-gradient-action: the brand gradient with its turquoise stop deepened so
   * the white label holds 4.5:1 along the whole button. */
  background: var(--cx-gradient-action);
  color: var(--cx-button-text);
  font-family: var(--cx-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 0.15s ease, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}
.elementor-location-header .cx-tb-header__cta-w .elementor-button:where(:hover, :focus-visible) {
  background: var(--cx-gradient-action);
  color: var(--cx-button-text);
  /* The canvas hover (`.hd-btn:hover`, l.133): lift 2px and the blue halo. The halo
   * is the GLOW token (style.css, MKT-WP-REPLICA-GLOW-TOKENS) and the owner brought
   * it back on 2026-11-03 («Ponerlos como en el canvas»); the lift carries the
   * state too, so it never rests on the colour of the halo alone. `var(--cx-focus-now)` keeps the
   * inner ring of the site's focus ring under the halo on keyboard focus (style.css,
   * MKT-WP-FOCUS-RING-ON-LIGHT-BANDS). */
  transform: translateY(-2px);
  box-shadow: var(--cx-focus-now), var(--cx-glow-blue);
}
.elementor-location-header .cx-tb-header__cta-w .elementor-button:where(:active) {
  transform: translateY(1px);
}
:where(.elementor-location-header) .elementor-button :is(.elementor-button-content-wrapper, .elementor-button-text) {
  color: inherit;
}
/* A long label wraps between words instead of pushing the burger off a phone
 * (any language; the grid track of the actions is minmax(0, auto)). */
@media (max-width: 767px) {
  .elementor-location-header .cx-tb-header__cta-w .elementor-button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }
}
/* Canvas `.hd-login` and `.hd-right .hd-btn` (l.149, max-width:640px): the two
 * buttons leave the bar on phones and live in the panel foot (#cx-tb-header-mfoot,
 * which is a different section, so only the bar's pair is hidden here). The canvas
 * step is 640, the kit's «Hide on mobile» is 767, so the widgets no longer carry
 * that setting and the 641-767 range shows both, as the canvas does
 * (MKT-WP-REPLICA-HEADER-BURGER-1100). */
@media (max-width: 640px) {
  :where(#cexum-tb-header) .elementor-widget-button:is(.cx-tb-signin-w, .cx-tb-header__cta-w) {
    display: none;
  }
}

/* ---- BURGER BAND, 1025-1100 (MKT-WP-REPLICA-HEADER-BURGER-1100) ------------ */
/* Canvas `.hd` (l.147): `@media (max-width:1100px){.hd-links{display:none}
 * .hd-burger{display:flex}}`, and `(min-width:1101px){.hd-mnav{display:none}}`.
 * Decision of the orchestrator (2026-11-04, owner's mandate «Todo igual al
 * canvas»): the replica does the same. The Nav Menu widget only knows the kit's
 * breakpoints (Dropdown > Breakpoint = tablet means <=1024: its stylesheet hides
 * the burger and the panel from 1025 up and the desktop list below it), and the
 * kit's 1024 / 767 are the only steps (REGLAS). The widget's script does not
 * look at the viewport (toggle, aria-expanded, keyboard and Escape work at any
 * width), so the band is closed here with the three parts of the widget the
 * stylesheet hides or shows by breakpoint: the desktop list leaves, the burger
 * and the panel come back. `display` is not a control of the widget, and the
 * location class keeps this above the widget's own defaults (0,2,0) and below its
 * per-element settings. Above 1100 the widget's own rules are untouched. */
@media (min-width: 1025px) and (max-width: 1100px) {
  .elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main {
    display: none;
  }
  .elementor-location-header .elementor-widget-nav-menu .elementor-menu-toggle {
    display: flex;
  }
  .elementor-location-header .elementor-widget-nav-menu nav.elementor-nav-menu--dropdown {
    display: block;
  }
  /* (c) KEPT above the widget on purpose, the one !important of the chrome: the
   * widget's «Distance from menu» is responsive (10px on desktop for the card
   * under a group, 0 from the tablet step down, where the panel is in flow) and
   * Elementor writes it with !important at (0,5,0), so the desktop 10px would
   * open a 10px gap above the panel in this band (measured, header 83px instead
   * of 73px). Only an !important of higher specificity can give back the tablet
   * value in a range the kit does not have. */
  #cexum-tb-header .elementor-widget-nav-menu nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    margin-top: 0 !important;
  }
  /* (c) KEPT above the widget, same reason: its «Dropdown > Padding» is responsive
   * too (desktop 10px 14px for the card's links, tablet 16px 0 for the panel's
   * rows, which is the canvas's `.hd-mnav summary` 16px 0, l.139), written at
   * (0,4,1). Measured in this band without the rule: rows 47px instead of 59px and
   * the text 14px further in than at 1024. At 1,2,2 the panel keeps the metrics of
   * the canvas whatever the desktop value is. */
  #cexum-tb-header .elementor-widget-nav-menu nav.elementor-nav-menu--dropdown a {
    padding: 16px 0;
  }
}

/* ---- Burger (Nav Menu toggle), <=1100 -------------------------------------- */
/* 44px square, radius 10, «Filete fuerte» border (the builder sets the width
 * and radius; it has no border-colour control, so the colour lives here). */
.elementor-location-header .elementor-widget-nav-menu .elementor-menu-toggle {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--cx-hairline-strong);
  border-radius: var(--cx-radius-sm);
  background: transparent;
  color: hsl(var(--cx-on-dark));
}
/* The glyph follows the toggle's colour; the widget's own icon colour
 * (`{{WRAPPER}} div.elementor-menu-toggle svg`, 0,4,2) still wins. */
.elementor-location-header :where(.elementor-widget-nav-menu) .elementor-menu-toggle svg,
.elementor-location-header :where(.elementor-widget-nav-menu) .elementor-menu-toggle i {
  fill: currentColor;
  color: currentColor;
}

/* ---- The panel (Nav Menu dropdown), in flow under the row ----------------- */
/* Full-bleed: it cancels the row padding and re-adds it inside, so its top
 * hairline runs edge to edge (canvas `.hd-mnav`).
 * The panel and its links are inner parts of the Nav Menu: its own Dropdown
 * settings land at 0,4,0 on the panel and 0,4,1 on the links (hover/active/focus
 * 0,5,1). These fallbacks keep the location inside :where() and their states in
 * :where() too, so they sit at 0,3,1 (the closed state at 0,3,2, to beat the
 * open panel): above Elementor Pro's own defaults (`.elementor-nav-menu--dropdown
 * .elementor-item:hover`, 0,3,0; `.elementor-nav-menu--stretch …`, 0,3,0), below
 * the widget (MKT-WP-THEME-HIDDEN-HOOKS-BEAT-WIDGETS). */
:where(.elementor-location-header) .elementor-widget-nav-menu nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
  position: static;
  margin: 0 calc(-1 * var(--cx-tb-header-pad));
  padding: 8px var(--cx-tb-header-pad) 0;
  border: 0;
  border-top: 1px solid var(--cx-hairline);
  border-radius: 0;
  box-shadow: none;
  background: hsl(var(--cx-bg));
}
:where(.elementor-location-header) div.elementor-widget-nav-menu .elementor-menu-toggle:where(:not(.elementor-active)) + nav.elementor-nav-menu__container {
  border-top-width: 0;
  padding-top: 0;
}
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-nav-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: 0;
}
:where(.elementor-location-header .elementor-widget-nav-menu) .elementor-nav-menu--dropdown .elementor-nav-menu > li {
  margin: 0;
  border-bottom: 1px solid var(--cx-hairline);
}
:where(.elementor-location-header) .elementor-widget-nav-menu .elementor-nav-menu--dropdown a.elementor-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 16px 12px;
  border-radius: var(--cx-radius-sm);
  font-family: var(--cx-font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
  color: hsl(var(--cx-on-dark));
  background: transparent;
  text-decoration: none;
}
:where(.elementor-location-header) .elementor-widget-nav-menu .elementor-nav-menu--dropdown a.elementor-item:where(:hover, .elementor-item-active) {
  background: var(--cx-tb-pill-active);
  color: hsl(var(--cx-on-dark));
}
/* Elementor gives the panel's links tabindex="0" while it is open: the `[tabindex]` ring of style.css (0,4,0,
 * Hello Elementor 3.5's weight) outranks this rule and draws from the ring tokens, so the inset offset also
 * goes in `--cx-focus-ring-offset` (MKT-WP-FOCUS-RING-HELLO-3-5-2). */
:where(.elementor-location-header) .elementor-widget-nav-menu .elementor-nav-menu--dropdown a.elementor-item:where(:focus-visible) {
  --cx-focus-ring-offset: -2px;
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: -2px;
}

/* ---- Panel groups: «+» / «–» and the child pills (canvas `.hd-mnav`) -------- */
/* Canvas l.136-143: each group is an accordion whose row ends in a turquoise «+»
 * (22px, regular weight) that becomes «–» while it is open, and whose children are
 * 10/14px pills on «Azul profundo» at 50 % with a 10px radius, 6px apart, no
 * subtitle (the subtitle is for the desktop card). The widget's own settings keep
 * what they set (colours, the 16px vertical padding of every row); what is here
 * is what it has no control for. `nav.elementor-nav-menu--dropdown` is the panel
 * itself (the desktop card is a `ul`), so none of this reaches the desktop bar.
 * The symbols are decoration (empty alt text): the state is `aria-expanded`, which
 * SmartMenus keeps on the group link. */
.elementor-location-header nav.elementor-nav-menu--dropdown .sub-arrow {
  display: inline-flex;
  align-items: center;
  margin-inline-start: auto;
  padding: 0;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1;
  color: hsl(var(--cx-accent-hsl));
}
.elementor-location-header nav.elementor-nav-menu--dropdown .sub-arrow svg {
  display: none;
}
.elementor-location-header nav.elementor-nav-menu--dropdown .sub-arrow::after {
  content: "+" / "";
}
.elementor-location-header nav.elementor-nav-menu--dropdown a[aria-expanded="true"] .sub-arrow::after {
  content: "\2013" / "";
}
/* (c) KEPT: a group row that is open carries no fill in the canvas (`.hd-mnav
 * summary` has no state style), but the widget paints the «hover» fill of the
 * dropdown on `a.highlighted` too (SmartMenus' class for an open group), so every
 * open row turned into a blue slab. Only the open, not-hovered row is cleared, so
 * the fill still answers the pointer; the colour is the widget's, set in its
 * Dropdown > Hover tab (0,4,1). */
.elementor-location-header nav.elementor-nav-menu--dropdown > .elementor-nav-menu > li > a.highlighted:not(:hover) {
  background-color: transparent;
}
:where(.elementor-location-header .elementor-widget-nav-menu) nav.elementor-nav-menu--dropdown ul.sub-menu {
  padding: 0;
}
:where(.elementor-location-header .elementor-widget-nav-menu) nav.elementor-nav-menu--dropdown ul.sub-menu > li {
  margin: 0 0 6px;
  border-radius: var(--cx-radius-sm);
  background: color-mix(in srgb, var(--cx-azul-profundo) 50%, transparent);
}
/* The widget pads every row 16px (a heading row of the canvas: 16px 0); a child
 * pill is 10px high on each side, so its text box gives back 6px above and below
 * (the 20px line leaves 8px, and 16 + 8 + 16 = 40px, the pill of the canvas). */
.elementor-location-header nav.elementor-nav-menu--dropdown ul.sub-menu .cx-nav-title {
  display: block;
  margin-block: -6px;
  padding-inline: 14px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}
.elementor-location-header nav.elementor-nav-menu--dropdown ul.sub-menu .cx-nav-desc {
  display: none;
}

/* ---- Panel foot: the two buttons (#cx-tb-header-mfoot) -------------------- */
/* Shown only while the burger panel is open (<=1024). In the editor it stays
 * visible so it can be edited (Elementor marks it «hidden on desktop»). */
#cx-tb-header-mfoot {
  display: none;
  /* A generic section rule pads it 40px top and bottom (measured, 158px foot for
   * a 40px row of buttons); the panel spacing is the container padding below. */
  padding: 0;
  background: hsl(var(--cx-bg));
}
@media (max-width: 1100px) {
  .elementor-location-header:has(.elementor-menu-toggle.elementor-active) #cx-tb-header-mfoot {
    display: block;
  }
}
.elementor-editor-active #cx-tb-header-mfoot {
  display: block;
}
#cx-tb-header-mfoot > .elementor-container {
  max-width: var(--cx-container);
  margin-inline: auto;
  padding: 18px var(--cx-tb-header-pad) 20px;
}
#cx-tb-header-mfoot .elementor-widget-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0;
}
/* 0,2,1: above Elementor's widget width and spacing (0,2,0), below the
 * widget's own Advanced settings (0,3,0). */
:where(#cx-tb-header-mfoot) .elementor-widget-wrap > div.elementor-widget {
  width: auto;
  margin: 0;
}

/* ============================================================================
 * ====================  FOOTER  ==============================================
 * Redesign 2026-11 (MKT-WP-REDESIGN-FOOTER), canvas «Cexum OTC Homepage»,
 * artboard Main, `.cf` (l.561-583, markup l.1083-1099), keeping production's
 * tagline, socials and legal line, and, since MKT-WP-REPLICA-FOOTER (2026-11-04),
 * the canvas's four columns (Business, Exchange, About us, Legal; only published
 * pages):
 *   - «Banda profunda» surface (#0B1E3D), 56/40px (44/32px at <=767), 1140px wide;
 *   - top: brand stack (260px; the lockup logo 16px tall, tagline .875rem/1.55,
 *     17px socials 18px apart) + four link columns (titles 11px 700); 2-up at <=1024
 *     (the kit tablet breakpoint; the canvas steps at 1000px);
 *   - bottom row 52px below, «Filete» top hairline: language tabs, «Cookie
 *     preferences», legal line (13px, as in production: counsel's small print is
 *     not reduced to the canvas's 11.5px).
 * The newsletter band that opens this same document keeps its own rules
 * (style.css, MKT-WP-REDESIGN-NEWSLETTER-BAND): everything here is scoped to
 * #cexum-tb-footer.
 *
 * CONTRACT with the widget Style tab (as in the HEADER block): colours, type
 * and spacing are set NATIVELY on the EN/ES widgets and win. Every rule here
 * that reaches a widget is written with :where() around the ids, so it stays
 * below Elementor's per-element rules; it is the fallback for a footer
 * document that does not set them. That holds for the widgets the theme knows
 * by its own class names too (.cx-site-footer__logo, __blurb, __col-title,
 * __consent, __legal-line are the WIDGETS' CSS classes): no id in front of them
 * (MKT-WP-CHROME-CSS-BEATS-WIDGETS). What lives only here: the grid and the
 * bottom row, the list spacing, and the CURRENT language tab, which the WPML
 * widget has no control for.
 * ========================================================================== */
.elementor-location-footer {
  --cx-tb-footer-pad: 24px;
  /* Canvas `.cf-wrap` (l.562): 1140px, not the site's 1200 (MKT-WP-REPLICA-FOOTER). */
  --cx-tb-footer-max: 71.25rem;
}
@media (max-width: 767px) {
  .elementor-location-footer {
    --cx-tb-footer-pad: 16px;
  }
}
.elementor-location-footer :where(#cexum-tb-footer) {
  padding: 56px 0 40px;
  background: hsl(var(--cx-surface-1));
  border: 0;
}
@media (max-width: 767px) {
  .elementor-location-footer :where(#cexum-tb-footer) {
    padding: 44px 0 32px;
  }
}

/* ---- Containers: one 1140px column with the gutter; no Elementor layers --- */
#cexum-tb-footer > .elementor-container {
  max-width: var(--cx-tb-footer-max);
  margin-inline: auto;
  padding: 0 var(--cx-tb-footer-pad);
}
#cexum-tb-footer > .elementor-container > .elementor-column {
  width: 100%;
  max-width: 100%;
}
#cexum-tb-footer .elementor-widget-wrap {
  padding: 0;
}
#cexum-tb-footer .elementor-inner-section {
  padding: 0;
  margin: 0;
}
#cexum-tb-footer .elementor-inner-section > .elementor-container {
  max-width: none;
  margin: 0;
  padding: 0;
}
/* Elementor writes each column's width (14 %, 20 %…) per element at (0,3,0);
 * inside the grid the track decides, so the width goes back to auto. */
#cexum-tb-footer .elementor-inner-section > .elementor-container > .elementor-column {
  width: auto;
  max-width: none;
  min-width: 0;
}
/* Vertical rhythm is the grid's and the rules below; the kit's 20px widget
 * spacing would double it. 0,2,1: above Elementor's widget spacing
 * (`.elementor-widget:not(:last-child)`, 0,2,0), below the widget's own
 * Advanced > Margin (0,3,0). */
:where(#cexum-tb-footer) .elementor-widget-wrap > div.elementor-widget {
  margin-block-end: 0;
}

/* ---- Top: brand (260px) + four columns ------------------------------------ */
/* Canvas `.cf-top` / `.cf-cols` (l.563, 569): a 260px brand block, 40px, then four
 * 24px-apart columns (180px each in 1140). The brand track is 276px: the block is
 * 260px wide (its own 16px right padding) and the 24px track gap makes the 40px. */
#footer-columns > .elementor-container {
  display: grid;
  grid-template-columns: minmax(0, 276px) repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
  align-items: start;
}
#footer-columns .cx-site-footer__brand {
  padding-right: 16px; /* 24px track gap + 16 = the canvas's 40px after the brand */
}
@media (max-width: 1024px) {
  #footer-columns > .elementor-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #footer-columns .cx-site-footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

/* ---- Brand stack: logo, tagline, socials --------------------------------- */
/* The logo is an Image widget: its alignment (0,3,0) and its image size
 * (`{{WRAPPER}} img`, 0,3,1) are the widget's; these sit one class above
 * Elementor's Image defaults (`.elementor-widget-image { text-align: center }`,
 * `.elementor img`, 0,1,0 / 0,1,1). */
.elementor-location-footer .cx-site-footer__logo,
.elementor-location-footer .cx-site-footer__logo .elementor-widget-container {
  line-height: 0;
  text-align: left;
}
/* The canvas lockup (`.cf-logo`, l.564) sits 12px in from the block's edge: the
 * image is cropped tight, so the margin is its optical alignment with the text. */
.elementor-location-footer .cx-site-footer__logo img {
  display: block;
  width: auto;
  max-width: none;
  margin-left: 12px;
}
.elementor-location-footer .cx-site-footer__blurb {
  margin-top: 18px;
}
.elementor-location-footer :where(#cexum-tb-footer) .cx-site-footer__blurb {
  font-size: 0.875rem;
  line-height: 1.55;
  color: hsl(var(--cx-on-dark-footer));
}
/* A Text Editor widget styles its WRAPPER and its paragraphs inherit it, so
 * nothing here sets their type or colour (that would stop the widget's own
 * from reaching the text). Only the reset's paragraph margin goes. */
.elementor-location-footer :where(#cexum-tb-footer) .elementor-widget-text-editor p {
  margin: 0;
}
.elementor-location-footer .cx-site-footer__social {
  margin-top: 16px;
}.elementor-location-footer :where(#cexum-tb-footer) .elementor-social-icon {
  background-color: transparent;
}
.elementor-location-footer :where(#cexum-tb-footer) .elementor-social-icon i,
.elementor-location-footer :where(#cexum-tb-footer) .elementor-social-icon svg {
  color: hsl(var(--cx-on-dark-footer));
  fill: hsl(var(--cx-on-dark-footer));
  transition: color 0.15s ease, fill 0.15s ease;
}
.elementor-location-footer :where(#cexum-tb-footer) .elementor-social-icon:hover i,
.elementor-location-footer :where(#cexum-tb-footer) .elementor-social-icon:hover svg {
  color: hsl(var(--cx-accent-hsl));
  fill: hsl(var(--cx-accent-hsl));
}

/* ---- Column titles (heading widgets) ------------------------------------- */
/* 0,2,1 like the spacing reset above, so it wins by its place in the file and
 * stays below the widget's own Advanced > Margin (0,3,0). */
:where(#cexum-tb-footer) .elementor-widget-wrap > div.cx-site-footer__col-title {
  margin-block-end: 20px; /* canvas: 10px under the title + the 10px link gap */
}
.elementor-location-footer :where(#cexum-tb-footer) .cx-site-footer__col-title .elementor-heading-title {
  margin: 0;
  font-family: var(--cx-font-sans);
  font-size: 0.6875rem; /* canvas `.cf-h`, 11px (MKT-WP-REPLICA-FOOTER); kit twin cxftit */
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: hsl(var(--cx-accent-hsl));
}

/* ---- Link lists (icon-list widgets): no bullets, 10px apart -------------- */
/* Only the lists in the «Default» (stacked) layout: a list the editor sets to
 * «Inline» keeps Elementor's row and its own «Space between» (Elementor pulls
 * the row out by half the gap, -8px, and pads each item back in, +8px, at
 * 0,3,0 / 0,4,0, so the first item stays on the column edge). 0,2,0, with the
 * later place in the file over Elementor's `.elementor-widget
 * .elementor-icon-list-items` (0,2,0). */
:where(.elementor-location-footer .elementor-widget-icon-list) .elementor-icon-list-items:not(.elementor-inline-items) {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.elementor-location-footer .elementor-widget-icon-list .elementor-icon-list-item {
  margin: 0;
  padding: 0;
  border: 0;
}
.elementor-location-footer .elementor-widget-icon-list .elementor-icon-list-icon {
  display: none;
}
.elementor-location-footer :where(#cexum-tb-footer) .elementor-icon-list-item > a,
.elementor-location-footer :where(#cexum-tb-footer) span.elementor-icon-list-text {
  padding: 0;
  font-family: var(--cx-font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2; /* canvas `.cf-col a`: normal leading, 17px a row; kit twin cxflnk */
  color: hsl(var(--cx-on-dark-footer));
  text-decoration: none;
  transition: color 0.15s ease;
}
/* Hover at the same weight as the rule above (0,3,1 / 0,2,1), winning by its
 * place; the widget's own hover colour (0,5,0) wins over both. */
.elementor-location-footer :where(#cexum-tb-footer) .elementor-icon-list-item > a:hover,
.elementor-location-footer :where(#cexum-tb-footer .elementor-icon-list-item > a:hover) span.elementor-icon-list-text {
  color: hsl(var(--cx-on-dark));
}

/* ---- Bottom row: language tabs | cookie link | legal line ---------------- */
#cexum-tb-footer #footer-bottom {
  margin-top: 52px; /* canvas `.cf-bot` (l.574) */
  padding-top: 30px;
  border-top: 1px solid var(--cx-hairline);
}
#footer-bottom > .elementor-container {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 20px;
  align-items: center;
}
@media (max-width: 1024px) {
  #footer-bottom > .elementor-container {
    grid-template-columns: auto auto;
    justify-content: start;
  }
  #footer-bottom .elementor-column:has(#cexum-tb-footer-legal) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  #footer-bottom > .elementor-container {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }
}
/* The PHP footer's class names frame a full-width strip in style.css (0,1,0);
 * inside the row the widgets sit flush. They are the widgets' own CSS classes,
 * so 0,2,0: below the widget's Advanced > Margin / Padding (0,3,0). */
.elementor-location-footer :is(.cx-site-footer__consent, .cx-site-footer__legal-line) {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Language tabs (WPML widget, every language with the current one marked).
 * As in the header: the type fallback on the item (the widget writes it there,
 * 0,5,0), the shape on the link; the link colours are the widget's. */
.elementor-location-footer :where(#cexum-tb-footer) .elementor-widget-wpml-language-switcher .wpml-ls-item {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
}
:where(.elementor-location-footer .elementor-widget-wpml-language-switcher) .wpml-ls-legacy-list-horizontal a.wpml-ls-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 10px;
  border: 0;
  border-radius: 0.5rem; /* canvas `.cf-lang a` (l.576): 9/10px, radius 8 */
  background: transparent;
  line-height: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
/* The CURRENT language: azul suave at 12 % behind blanco hielo.
 * (c) KEPT above the widget on purpose: WPML's widget has no control for the
 * current language, and its link colour (0,6,0, «Texto atenuado» on the EN/ES
 * footer) would paint the current tab like the others; so the tab lives here
 * at id level. Never colour alone: the tab is also a filled shape. 12 % of
 * #6E9BFF is the canvas's `.cf-lang a.on` (l.577) and the kit Global `cxsb12`
 * «Azul suave 12 %» (MKT-WP-REPLICA-FOOTER; before it was the corporate blue at
 * 12 %, `cxpb12`), so the fill is editable there. */
#cexum-tb-footer .elementor-widget-wpml-language-switcher .wpml-ls-current-language > a.wpml-ls-link {
  background: var(--e-global-color-cxsb12);
  color: hsl(var(--cx-on-dark));
}

/* «Cookie preferences» (Icon List item to #cookie-preferences; functions.php
 * bridges the click to Complianz). */
.elementor-location-footer :where(#cexum-tb-footer) .cx-site-footer__consent .elementor-icon-list-item > a,
.elementor-location-footer :where(#cexum-tb-footer) .cx-site-footer__consent span.elementor-icon-list-text {
  font-size: 0.75rem; /* canvas `.cf-cookie` (l.579), 12px */
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
/* No align-items here (MKT-WP-THEME-VAR-PAINTED-PROPS-SET-VARIABLE): the Icon List paints it from its
 * «Vertical alignment» setting (`align-items: var(--icon-vertical-align, center)`, 0,2,1), and its
 * default is the `center` this rule used to repeat at 0,3,1, above the setting. */
.elementor-location-footer :where(#cexum-tb-footer) .cx-site-footer__consent .elementor-icon-list-item > a {
  display: inline-flex;
  min-height: 24px;
}
/* This list is «Inline»: its item sits on the language tabs' line because
 * Elementor's -8px on the list and +8px on the item cancel out (the link-list
 * rule above leaves inline lists alone). Until 2026-11-03 the theme zeroed
 * the list margin, which left the item 8px in (measured at 390px), and then
 * zeroed the item margin at id level over the widget (1,2,0). */

/* Legal line (text-editor #cexum-tb-footer-legal): 13px, «Texto sutil». */
.elementor-location-footer :where(#cexum-tb-footer-legal) {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-subtle));
}
.elementor-location-footer :where(#cexum-tb-footer-legal) a {
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================================
 * ====================  DOCK  ================================================
 * Canvas «Cexum OTC Homepage», artboard Main, `.dk` (l.159-172, markup l.1101-1102):
 * the quick-access pill «Ready to trade?» + «Log in» + «Sign up», fixed at the
 * bottom of every page (MKT-WP-REPLICA-DOCK, 2026-11-04). It is an Elementor Pro
 * POPUP (documents «CEXUM Dock» EN / «CEXUM Dock (ES)», condition include/general,
 * trigger On Page Load after 0.3 s, no overlay, no close button, entrance
 * slideInUp 0.6 s: all native settings of the popup). Marketing edits the texts
 * and links in wp-admin; what lives here is what the popup has no control for:
 *   - the pill SURFACE: Azul profundo at 92 % with a 14px blur, the turquoise
 *     35 % border, the deep shadow and the 999 radius (the popup's own
 *     background and border controls take a solid Global Color, no alpha, and a
 *     value saved there (0,3,0) would beat this sheet);
 *   - the row (`.cx-dock__row`: dot, text and the two buttons on one line, 10px
 *     apart) and the 20px / safe-area distance to the bottom edge;
 *   - the phone step (canvas l.172, <=640): 12px to each edge, the text and the
 *     dot leave, the two buttons share the row. The popup's Width is
 *     `var(--cx-dock-w, fit-content)`, so the step is one variable;
 *   - the hide-while-the-wheel-is-pinned rule (motion-module.md §11: the wheel
 *     puts `cx-wheel-pinned` on its root), the 96px of air under the footer
 *     (`.dk-space`, l.160). The page has no pause button any more (owner 2026-11-09,
 *     MKT-WP-MOTION-NO-AUTOPLAY-NO-PAUSE-BUTTONS), so the row reserves no slot for one.
 * `cx-pulse-dot` on the dot is the FLOAT-PULSE piece's halo (it plays two pulses when the
 * dot comes on screen, and only with `html.cx-motion`, i.e. never with reduced motion). The popup's own entrance is
 * switched off under `prefers-reduced-motion` and on phones (canvas `animation:none`).
 * ========================================================================== */
.elementor-popup-modal.cx-dock {
  --cx-dock-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 640px) {
  .elementor-popup-modal.cx-dock {
    /* 12px to each edge, border included (the popup's width is the inside of it). */
    --cx-dock-w: calc(100vw - 26px);
  }
}
/* The pill. The wrapper is a full-screen flex box that ignores the pointer; the
 * pill itself takes it back (Elementor's own e-popup rule). */
.elementor-popup-modal.cx-dock .dialog-widget-content {
  margin-bottom: var(--cx-dock-bottom);
  border: 1px solid hsl(var(--cx-accent-hsl) / 0.35);
  border-radius: var(--cx-radius-pill);
  background: color-mix(in srgb, var(--cx-azul-profundo) 92%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px hsl(var(--cx-shadow-deep) / 0.6);
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}
.elementor-popup-modal.cx-dock .dialog-message {
  overflow: visible;
}
/* The row: one section, one column, widgets on a line. The kit's widget spacing
 * (20px) is ADDED by Elementor to the bottom margin of every widget, including the
 * ones that set their own Margin natively (`margin: 0 7px calc(var(--kit-widget-spacing)
 * + 0px)`), so on this line it is 0. The kit sets it on each widget
 * (`.elementor-widget:not(:last-child)`, post-5.css, 0,2,0), so it is reset there. */
:where(.elementor-popup-modal.cx-dock .cx-dock__row) .elementor-widget:not(:last-child) {
  --kit-widget-spacing: 0px;
}
.elementor-popup-modal.cx-dock .cx-dock__row > .elementor-container {
  max-width: none;
  min-height: 0;
  padding: 0;
}
.elementor-popup-modal.cx-dock .cx-dock__row .elementor-column {
  width: 100%;
}
.elementor-popup-modal.cx-dock .cx-dock__row .elementor-widget-wrap {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
}
/* 0,2,1: above Elementor's widget width and spacing (0,2,0), below the widget's
 * own Advanced settings (0,3,0). */
:where(.elementor-popup-modal.cx-dock .cx-dock__row) .elementor-widget-wrap > div.elementor-widget {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}
/* The dot: 8px green, a 22px halo (canvas `.dk-dot`, green at 18 %) drawn as an
 * outline, and the pulse the FLOAT-PULSE piece adds on top. Decoration: the widget
 * is an empty Spacer, so there is nothing to announce. The widget's size and its 7px
 * side margin (the halo's reach) are its own native Advanced settings (Width 8px,
 * Margin 0 7px: the row's rule above would beat any theme value for them), so what
 * is here is the look only. */
:where(.elementor-popup-modal.cx-dock) .cx-dock__dot {
  border-radius: 50%;
  background: hsl(var(--cx-success-hsl));
  outline: 7px solid hsl(var(--cx-success-hsl) / 0.18);
}
/* The text (canvas `.dk-t`: 14px 600; its 6px more before the buttons is the widget's
 * own Margin). The scopes sit inside :where() so what the widget's own Style tab sets
 * (0,3,0 on the widget, 0,4,0 on its title) is never out-specified. */
:where(.elementor-popup-modal.cx-dock) .elementor-widget-heading.cx-dock__title .elementor-heading-title {
  font-family: var(--cx-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  color: hsl(var(--cx-on-dark));
}
/* The two buttons (canvas `.dk-b`: 10/20px, pill, 14px 600). At 0,3,0: above
 * Elementor's Button default (`.elementor-widget-button .elementor-button`, 0,2,0)
 * and below what a widget sets in its own Style tab (0,4,0; its hover 0,5,0). Their
 * states are `:where(:hover, :focus-visible)`, so they stay at 0,3,0 and win over the
 * base rule by their place in this file. */
:where(.elementor-popup-modal.cx-dock) .elementor-widget-button:is(.cx-dock__ghost, .cx-dock__cta) .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--cx-radius-pill);
  font-family: var(--cx-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
:where(.elementor-popup-modal.cx-dock) .elementor-widget-button.cx-dock__ghost .elementor-button {
  border-color: var(--cx-hairline-strong);
  background: transparent;
  color: hsl(var(--cx-on-dark));
}
:where(.elementor-popup-modal.cx-dock) .elementor-widget-button.cx-dock__ghost .elementor-button:where(:hover, :focus-visible) {
  border-color: hsl(var(--cx-accent-hsl));
  background: hsl(var(--cx-accent-hsl) / 0.1);
  color: hsl(var(--cx-on-dark));
}
:where(.elementor-popup-modal.cx-dock) .elementor-widget-button.cx-dock__cta .elementor-button {
  background: var(--cx-gradient-action);
  color: var(--cx-button-text);
}
:where(.elementor-popup-modal.cx-dock) .elementor-widget-button.cx-dock__cta .elementor-button:where(:hover, :focus-visible) {
  background: var(--cx-gradient-action);
  color: var(--cx-button-text);
  transform: translateY(-2px);
  box-shadow: var(--cx-focus-now), var(--cx-glow-blue);
}
:where(.elementor-popup-modal.cx-dock) .elementor-button :is(.elementor-button-content-wrapper, .elementor-button-text) {
  color: inherit;
}
.elementor-popup-modal.cx-dock a:focus-visible {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
}
/* WCAG 2.2 · 2.4.11 Focus Not Obscured (MKT-WP-REPLICA-HOME-RF-DOCK-FOCUS-OBSCURED): the
 * pill covers the bottom of the viewport, so a control focused with Tab must scroll to
 * above it. `--cx-dock-clear` (pill height + its 20px/safe-area distance to the edge + 16px
 * of air) is published on <html> by inc/cx-dock.php and is absent while the bar is closed
 * or removed; the pinned wheel hides the bar, so nothing has to be cleared for it then.
 * The assistant's launcher is the other fixed piece over the bottom edge:
 * `--cx-assistant-clear` is set by cx-assistant.css while the assistant is on the page, and
 * the padding is the larger of the two. */
html {
  scroll-padding-bottom: max(var(--cx-dock-clear, 0px), var(--cx-assistant-clear, 0px));
}
html:has(.cx-wheel-pinned) {
  scroll-padding-bottom: var(--cx-assistant-clear, 0px);
}
/* The wheel is pinned on screen: the dock steps aside (and cannot be reached). */
html:has(.cx-wheel-pinned) .elementor-popup-modal.cx-dock {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.elementor-popup-modal.cx-dock {
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
/* 96px of air under the footer so the pill never covers its last line (canvas
 * `.dk-space`, l.160). Keyed on the popup's own printed settings, so it exists
 * only while the dock does. */
body:has([data-elementor-type="popup"][data-elementor-settings*="cx-dock"]) .elementor-location-footer {
  margin-bottom: 96px;
}
@media (max-width: 640px) {
  /* Canvas l.172: the text and the dot leave, the two buttons share the row. */
  :where(.elementor-popup-modal.cx-dock) .elementor-widget:is(.cx-dock__dot, .cx-dock__title) {
    display: none;
  }
  .elementor-popup-modal.cx-dock .cx-dock__row .elementor-widget-wrap {
    justify-content: stretch;
  }
  :where(.elementor-popup-modal.cx-dock .cx-dock__row) .elementor-widget-wrap > div.cx-dock__ghost,
  :where(.elementor-popup-modal.cx-dock .cx-dock__row) .elementor-widget-wrap > div.cx-dock__cta {
    flex: 1 1 0;
  }
  :where(.elementor-popup-modal.cx-dock) .elementor-widget-button:is(.cx-dock__ghost, .cx-dock__cta) .elementor-button {
    width: 100%;
  }
  .elementor-popup-modal.cx-dock .dialog-widget-content {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .elementor-popup-modal.cx-dock .dialog-widget-content {
    animation: none;
  }
  .elementor-popup-modal.cx-dock {
    transition: none;
  }
  :where(.elementor-popup-modal.cx-dock) .elementor-widget-button:is(.cx-dock__ghost, .cx-dock__cta) .elementor-button {
    transition: none;
  }
  :where(.elementor-popup-modal.cx-dock) .elementor-widget-button.cx-dock__cta .elementor-button:where(:hover, :focus-visible) {
    transform: none;
  }
}

/* ============================================================================
 * FOCUS RING — preserve the brand a11y ring inside the chrome (G4)
 * Turquoise 2px + 2px offset on every interactive chrome element, matching the
 * global :focus-visible in style.css. Elementor sometimes sets outline:none on
 * its items; restore a visible alternative.
 * ========================================================================== */
.elementor-location-header a:focus-visible,
.elementor-location-header button:focus-visible,
.elementor-location-header .elementor-menu-toggle:focus-visible,
.elementor-location-footer a:focus-visible,
.elementor-location-footer button:focus-visible {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
  border-radius: var(--cx-radius-sm);
}

/* ============================================================================
 * CONSENT BANNER — Complianz, with the finish of the canvas' consent panel
 * (MKT-WP-REDESIGN-COOKIE-BANNER, 2026-11-04; canvas artboard Cookies,
 * `ckInit` l.517-551, common to every artboard).
 * Styles only: Complianz keeps its markup, its texts, its categories, its
 * buttons and its scripts (no canvas categories, no localStorage script). The
 * banner's own sheet (uploads/complianz/css/banner-1-optin.css) prints AFTER
 * this one and reaches 0,6,1, so every rule here is scoped by the container id
 * (#cmplz-cookiebanner-container, 1,x,y). Values (canvas): a card of 520 px at
 * most, centred 28 px above the bottom edge (16 px of page padding + 12), 26 px
 * padding, radius 22, the "Tarjeta" surface (the canvas' #0F2347 is no token;
 * the task names Tarjeta), a 16 % hairline and the panel's deep shadow; title
 * 20 / 700 with a 36 px round close; text 14 px / 1.55 in "Texto atenuado";
 * rows split by an 8 % rule; 46 x 26 switches (off #3A4E6B, on Verde
 * Confirmación) whose state is also written next to them ("On" / "Off");
 * "Always active" in Verde Confirmación with a check; Accept on the site's
 * primary finish, the other three on the outline one (15 / 700, radius 12,
 * 13 / 16 padding, 140 px basis); entrance `ckIn` 0.3 s. Not carried over: the
 * canvas' dimmed backdrop, which belongs to its modal panel opened from the
 * footer; on the first-visit banner it would dim the whole site until the
 * visitor chooses.
 * ========================================================================== */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  top: auto;
  right: auto;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  min-width: 0;
  max-width: 520px;
  max-height: calc(100vh - 56px);
  padding: 26px;
  grid-gap: 0;
  border: 1px solid color-mix(in srgb, var(--cx-gris-soporte) 16%, transparent);
  border-radius: 22px;
  background: hsl(var(--cx-surface-card));
  box-shadow: 0 30px 80px hsl(var(--cx-shadow-deep) / 0.45);
  color: hsl(var(--cx-on-dark));
  font-family: var(--cx-font-sans);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show,
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show:hover {
  box-shadow: 0 30px 80px hsl(var(--cx-shadow-deep) / 0.45);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show {
  animation: cx-consent-in 0.3s ease-out;
}
@keyframes cx-consent-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-logo {
  display: none;
}
/* Complianz hides the title at 425 px and below; the canvas card keeps it. */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-title {
  display: block;
  grid-column: 1;
  justify-self: start;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: hsl(var(--cx-on-dark));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close:hover {
  display: grid;
  place-items: center;
  grid-column: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cx-blanco) 8%, transparent);
  color: hsl(var(--cx-on-dark));
  font-size: 1rem;
  line-height: 1;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close:hover {
  background: color-mix(in srgb, var(--cx-blanco) 14%, transparent);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close svg {
  width: 14px;
  height: 14px;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body {
  min-width: 0;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message {
  width: auto;
  margin: 8px 0 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: hsl(var(--cx-on-dark-muted));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message a {
  color: hsl(var(--cx-accent-hsl));
  text-decoration: underline;
}
/* Rows (.ck-r): no grey box, an 8 % rule above each, 14 px tall padding. */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories {
  width: auto;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category {
  margin: 0;
  border-top: 1px solid color-mix(in srgb, var(--cx-blanco) 8%, transparent);
  background: transparent;
}
/* !important only to answer Complianz's own `grid-template-columns: 1fr
 * !important` at 425 px and below, which stacks title, switch and arrow. */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header {
  grid-template-columns: minmax(0, 1fr) auto 18px !important;
  gap: 16px;
  padding: 14px 0;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: hsl(var(--cx-on-dark));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--cx-verde-confirmacion);
}
/* Its checkbox is hidden by Complianz (display: none); the empty flex box that
 * wraps it pushed the label onto a second line. */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active .cmplz-banner-checkbox {
  display: none;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active::before {
  content: "\2713\00a0";
  content: "\2713\00a0" / "";
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-toggle {
  color: hsl(var(--cx-on-dark-muted));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-toggle svg {
  fill: currentColor;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description {
  padding: 0 0 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--cx-on-dark-muted));
}
/* The switch (.ck-sw): Complianz draws it on the label's ::before (track) and
 * ::after (knob) over an invisible checkbox; both grow to 46 x 26 / 20. The
 * state is also text, before the switch ("On" / "Off"; "Sí" / "No"), hidden
 * from assistive technology (the checkbox already says it). Only the switches
 * that are direct children of a row's header: the always-on category keeps its
 * hidden checkbox inside "Always active". */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox {
  gap: 10px;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox::before {
  content: "Off";
  content: "Off" / "";
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--cx-on-dark-muted));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox:has(input:checked)::before {
  content: "On";
  content: "On" / "";
  color: var(--cx-verde-confirmacion);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner:lang(es) .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox::before {
  content: "No";
  content: "No" / "";
}
#cmplz-cookiebanner-container .cmplz-cookiebanner:lang(es) .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox:has(input:checked)::before {
  content: "Sí";
  content: "Sí" / "";
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox input.cmplz-consent-checkbox {
  top: 50%;
  right: 0;
  left: auto;
  width: 46px;
  height: 26px;
  margin: -13px 0 0;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox .cmplz-label {
  display: block;
  width: 46px;
  height: 26px;
  padding: 0;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox .cmplz-label::before {
  top: 0;
  left: 0;
  width: 46px;
  height: 26px;
  padding: 0;
  border-radius: 999px;
  background-color: var(--cx-text-muted);
  transition: background-color 0.25s;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox .cmplz-label::after {
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cx-blanco);
  transition: left 0.25s;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox input.cmplz-consent-checkbox:checked + .cmplz-label::before {
  padding: 0;
  background-color: var(--cx-verde-confirmacion);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox input.cmplz-consent-checkbox:checked + .cmplz-label::after {
  left: 23px;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox input.cmplz-consent-checkbox:focus + .cmplz-label::before {
  box-shadow: none;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox input.cmplz-consent-checkbox:focus-visible + .cmplz-label::before {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
}
/* Buttons (.ck-b): wrap on a 140 px basis, 10 px apart. */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
  flex: 1 1 140px;
  width: auto;
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid hsl(var(--cx-on-dark-muted) / 0.28);
  border-radius: var(--cx-radius-btn);
  background: transparent;
  color: hsl(var(--cx-on-dark));
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:hover {
  border-color: hsl(var(--cx-on-dark-muted) / 0.5);
  background: hsl(var(--cx-on-dark) / 0.06);
  color: hsl(var(--cx-on-dark));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover {
  border-color: transparent;
  background: var(--cx-gradient-action);
  color: var(--cx-button-text);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover {
  filter: brightness(1.06);
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents {
  margin-top: 14px;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links .cmplz-link {
  font-size: 0.8125rem;
  color: hsl(var(--cx-accent-hsl));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links .cmplz-link:hover {
  color: hsl(var(--cx-on-dark));
}
#cmplz-cookiebanner-container .cmplz-cookiebanner :is(.cmplz-close, .cmplz-btn, .cmplz-link, .cmplz-category-toggle, .cmplz-message a):focus-visible {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show {
    animation: none;
  }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox .cmplz-label::before,
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox .cmplz-label::after,
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    transition: none;
  }
}
/* The consent tab Complianz leaves on the bottom edge (`button.cmplz-manage-consent`: 15 px showing, desktop only,
 * the plugin hides it under 769 px). Focused from the keyboard it slid to `bottom: 0`, so its focus ring (2 px +
 * 2 px offset) ran under the edge of the screen: ring and 5 px of the tab cut (home, 1440 x 900,
 * MKT-WP-REPLICA-HOME-RF-FOCUS-PARTIAL-OVERLAPS). From the keyboard it comes up 8 px instead; the pointer keeps the
 * plugin's own slide. */
#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent:focus-visible {
  bottom: var(--cx-space-8);
  animation: none;
}

/* ============================================================================
 * REDUCED MOTION — honour the user preference inside the chrome
 * ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .elementor-location-header .cx-tb-header__cta-w .elementor-button:where(:hover, :focus-visible, :active) {
    transform: none;
  }
  .elementor-location-header .cx-tb-header__cta-w .elementor-button,
  .elementor-location-header .cx-tb-signin-w .elementor-button,
  .elementor-location-header .elementor-nav-menu--dropdown.elementor-nav-menu__container,
  .elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--main ul.sub-menu,
  .elementor-location-header .elementor-nav-menu--main .sub-arrow,
  .elementor-location-header .elementor-widget-nav-menu .elementor-item,
  .elementor-location-header .elementor-widget-nav-menu .elementor-item::before,
  .elementor-location-footer .elementor-icon-list-item > a,
  .elementor-location-footer .elementor-social-icon i,
  .elementor-location-footer .elementor-social-icon svg {
    transition: none;
  }
}
