:root[data-casalta-button-style="A1"] { --casalta-button-size:15px; --casalta-button-weight:300; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="A2"] { --casalta-button-size:16px; --casalta-button-weight:300; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="A3"] { --casalta-button-size:17px; --casalta-button-weight:300; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="B1"] { --casalta-button-size:15px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="B2"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="B3"] { --casalta-button-size:17px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="C1"] { --casalta-button-size:15px; --casalta-button-weight:500; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="C2"] { --casalta-button-size:16px; --casalta-button-weight:500; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="C3"] { --casalta-button-size:17px; --casalta-button-weight:500; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G1"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:20px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G2"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G3"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:32px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G4"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:52px; --casalta-button-pad:26px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G5"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:56px; --casalta-button-pad:30px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="M1"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="M2"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1.5px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="M3"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:2px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="M4"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:rgba(255,255,255,.72); --casalta-button-filter:saturate(180%) blur(18px); }
:root[data-casalta-button-style="T10"] { --casalta-button-size:15px; --casalta-button-weight:450; --casalta-button-tracking:0; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="T11"] { --casalta-button-size:16px; --casalta-button-weight:450; --casalta-button-tracking:0; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="T12"] { --casalta-button-size:17px; --casalta-button-weight:450; --casalta-button-tracking:0; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="T13"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-tracking:.01em; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="T14"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-tracking:.02em; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="T15"] { --casalta-button-size:16px; --casalta-button-weight:500; --casalta-button-tracking:.01em; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="T16"] { --casalta-button-size:16px; --casalta-button-weight:600; --casalta-button-tracking:0; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G6"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:16px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G7"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:52px; --casalta-button-pad:20px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G8"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:52px; --casalta-button-pad:32px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G9"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:56px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="G10"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:56px; --casalta-button-pad:36px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="M5"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="M6"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:#f4f4f2; --casalta-button-filter:none; }
:root[data-casalta-button-style="M7"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:rgba(255,255,255,.72); --casalta-button-filter:saturate(180%) blur(18px); }
:root[data-casalta-button-style="M8"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:rgba(255,255,255,.72); --casalta-button-filter:saturate(180%) blur(18px); }
:root[data-casalta-button-style="M9"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-surface:rgba(255,255,255,.72); --casalta-button-filter:saturate(180%) blur(18px); }
:root[data-casalta-button-style="M10"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-border-color:#5f5f5b; --casalta-button-surface:#fff; --casalta-button-filter:none; }
:root[data-casalta-button-style="M11"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-height:48px; --casalta-button-pad:24px; --casalta-button-border:1px; --casalta-button-border-color:rgba(23,23,22,.60); --casalta-button-surface:rgba(255,255,255,.72); --casalta-button-filter:saturate(180%) blur(18px); }

/*
 * Every button rests light with black text and a one-pixel black outline.
 * Legacy preset IDs remain valid for saved links, but the dark treatment is
 * reserved for hover, press, and explicit selected states.
 */
:root[data-casalta-button-style]:not([data-casalta-button-style="current"]):not([data-casalta-button-style="custom"]):not([data-casalta-button-style="D3"]):not([data-casalta-button-style="D5"]) {
  --casalta-button-border: 1px;
  --casalta-button-border-color: #000;
  --casalta-button-text-color: #171716;
}

:root[data-casalta-button-style="D3"] { --casalta-button-border:1px; --casalta-button-border-color:#000; --casalta-button-surface:#f4f4f2; --casalta-button-filter:none; --casalta-button-text-color:#171716; }
:root[data-casalta-button-style="D5"] { --casalta-button-border:1px; --casalta-button-border-color:#000; --casalta-button-surface:rgba(255,255,255,.72); --casalta-button-filter:saturate(180%) blur(18px); --casalta-button-text-color:#171716; }
:root[data-casalta-button-style="D6"] { --casalta-button-border:1px; --casalta-button-border-color:#000; --casalta-button-surface:transparent; --casalta-button-filter:none; --casalta-button-text-color:#171716; }

:root[data-casalta-button-style="custom"] {
  --casalta-button-size: var(--casalta-custom-size);
  --casalta-button-weight: var(--casalta-custom-weight);
  --casalta-button-tracking: var(--casalta-custom-tracking);
  --casalta-button-height: var(--casalta-custom-height);
  --casalta-button-pad: var(--casalta-custom-padding);
  --casalta-button-border: var(--casalta-custom-border);
  --casalta-button-border-color: var(--casalta-custom-border-color);
  --casalta-button-text-color: var(--casalta-custom-text-color);
  --casalta-button-surface: var(--casalta-custom-surface);
  --casalta-button-filter: var(--casalta-custom-filter);
}

:root:not([data-casalta-button-style="current"]) .site-v2.site-v18 :is(.primary-action, .secondary-action, .text-button, .filter-bar button, .view-tabs a, .news-list a) {
  -webkit-backdrop-filter: var(--casalta-button-filter);
  backdrop-filter: var(--casalta-button-filter);
  border-radius: 999px;
  font-size: var(--casalta-button-size) !important;
  font-weight: var(--casalta-button-weight) !important;
  letter-spacing: var(--casalta-button-tracking, 0) !important;
  line-height: 1;
  min-height: var(--casalta-button-height);
  padding: 0 var(--casalta-button-pad);
}

:root .site-v2.site-v18 :is(.primary-action, .secondary-action, .text-button, .filter-bar button, .view-tabs a, .news-list a) {
  background: var(--casalta-button-surface, #fff) !important;
  border-color: #000;
  border-style: solid;
  border-width: 1px;
  box-shadow: none !important;
  color: var(--casalta-button-text-color, #171716);
}

@media (hover: hover) and (pointer: fine) {
  :root .site-v2.site-v18 :is(.primary-action, .secondary-action, .text-button, .filter-bar button, .view-tabs a, .news-list a):not(:disabled):hover {
    background: #000 !important;
    border-color: #000;
    color: #fff;
  }
}

:root .site-v2.site-v18 :is(.primary-action, .secondary-action, .text-button, .filter-bar button, .view-tabs a, .news-list a):not(:disabled):is(:active, .is-active, [aria-pressed="true"], [aria-current="page"]) {
  background: #000 !important;
  border-color: #000;
  color: #fff;
}

:root .site-v2.site-v18 :is(.primary-action, .secondary-action, .text-button, .filter-bar button, .view-tabs a, .news-list a):focus-visible {
  outline: 2px solid #11110f;
  outline-offset: 3px;
}

:root .site-v2.site-v18 :is(.primary-action, .secondary-action, .text-button, .filter-bar button, .view-tabs a, .news-list a):disabled {
  background: #fff !important;
  border-color: #000;
  color: #72726e;
  cursor: not-allowed;
}

.site-footer .footer-settings {
  align-items: end;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.site-footer .footer-settings-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: flex-end;
}

.site-footer .footer-settings a,
.site-footer .footer-settings button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: #171716;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  min-height: 32px;
  padding: 4px 0;
  text-decoration: none;
}

.site-footer .footer-settings [data-button-preview-status] {
  color: #666663;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
}

@media (max-width: 560px) {
  .site-footer .footer-settings {
    align-items: start;
    justify-items: start;
  }

  .site-footer .footer-settings-row {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-transparency: reduce) {
  :root:is(
    [data-casalta-button-style="M4"],
    [data-casalta-button-style="M7"],
    [data-casalta-button-style="M8"],
    [data-casalta-button-style="M9"],
    [data-casalta-button-style="M11"],
    [data-casalta-button-style="D5"]
  ) {
    --casalta-button-surface: #fff;
    --casalta-button-filter: none;
  }

  :root[data-casalta-button-style="custom"][data-casalta-custom-material="glass"] {
    --casalta-button-surface: #fff;
    --casalta-button-filter: none;
  }
}

@media (forced-colors: active) {
  :root:not([data-casalta-button-style="current"]) .site-v2.site-v18 :is(.primary-action, .secondary-action, .text-button, .filter-bar button, .view-tabs a, .news-list a) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: ButtonFace;
    border-color: ButtonText;
    color: ButtonText;
    forced-color-adjust: auto;
  }
}
:root[data-casalta-button-style="D1"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-tracking:0; --casalta-button-height:48px; --casalta-button-pad:24px; }
:root[data-casalta-button-style="D2"] { --casalta-button-size:15px; --casalta-button-weight:500; --casalta-button-tracking:0; --casalta-button-height:48px; --casalta-button-pad:20px; }
:root[data-casalta-button-style="D3"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-tracking:.01em; --casalta-button-height:52px; --casalta-button-pad:32px; }
:root[data-casalta-button-style="D4"] { --casalta-button-size:17px; --casalta-button-weight:300; --casalta-button-tracking:.02em; --casalta-button-height:56px; --casalta-button-pad:36px; }
:root[data-casalta-button-style="D5"] { --casalta-button-size:16px; --casalta-button-weight:500; --casalta-button-tracking:.01em; --casalta-button-height:52px; --casalta-button-pad:28px; }
:root[data-casalta-button-style="D6"] { --casalta-button-size:16px; --casalta-button-weight:400; --casalta-button-tracking:0; --casalta-button-height:48px; --casalta-button-pad:24px; }
