/* v1.4.7 — one festival pill for every device. All selectors target only our countdown.
   The existing mobile skin still owns the design; this final small layer ensures
   uniform layout, removes any older desktop square overrides, and scopes styles. */
:root { --c7ecd-unified-forest:rgba(51,68,58,.78);--c7ecd-unified-sand:#E5C58B; }
body .chs-scene-item.c7ecd-hero-host:has(> .c7ecd-shortcode.c7ecd-unified-pill),
body .chs-scene-item.c7ecd-hero-host.c7ecd-hero-bg-enabled:has(> .c7ecd-shortcode.c7ecd-unified-pill) {
  background:transparent!important;background-image:none!important;box-shadow:none!important;
}
body .c7ecd-shortcode.c7ecd-unified-pill[data-c7-ecd="1"] {
  box-sizing:border-box!important;display:flex!important;flex-flow:column nowrap!important;
  align-items:center!important;justify-content:center!important;
  background:var(--c7ecd-unified-forest)!important;background-image:none!important;
  border:0!important;border-radius:50px!important;
  box-shadow:0 8px 25px rgba(13,26,20,.14)!important;
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
  padding:14px 16px!important;min-height:94px!important;max-width:100%!important;
  width:100%!important;height:auto!important;overflow:visible!important;
}
body .c7ecd-shortcode.c7ecd-unified-pill .c7ecd-title,
body .chakras-composer-counter.c7ecd-native.c7ecd-unified-pill .c7ecd-native-title {display:none!important;}
body .c7ecd-shortcode.c7ecd-unified-pill[data-c7-ecd="1"] .c7ecd-grid {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
  gap:clamp(8px,2vw,16px)!important;max-width:100%!important;width:100%!important;
  align-items:center!important;margin-inline:auto!important;
}
body .c7ecd-shortcode.c7ecd-unified-pill[data-c7-ecd="1"] .c7ecd-grid > .c7ecd-unit {
  background:transparent!important;background-image:none!important;border:0!important;
  box-shadow:none!important;border-radius:0!important;padding:0 1px!important;
  min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  flex-direction:column!important;gap:5px!important;
}
body .c7ecd-shortcode.c7ecd-unified-pill[data-c7-ecd="1"] .c7ecd-grid > .c7ecd-unit[data-c7-unit="seconds"],
body .chakras-composer-counter.c7ecd-unified-pill .chakras-composer-counter-grid > .chakras-composer-counter-cell[data-c7-unit="seconds"] {display:none!important;}
body .c7ecd-shortcode.c7ecd-unified-pill[data-c7-ecd="1"] :is(.c7ecd-value,.c7ecd-label),
body .chakras-composer-counter.c7ecd-native.c7ecd-unified-pill :is(.chakras-composer-counter-value,.chakras-composer-counter-caption) {
 color:var(--c7ecd-unified-sand)!important;-webkit-text-fill-color:var(--c7ecd-unified-sand)!important;
 opacity:1!important;text-shadow:none!important;
}
/* Override theme-native Counter chrome only for specifically inserted countdowns. */
body .chakras-composer-counter.c7ecd-native.c7ecd-unified-pill[data-chakras-composer-id^="c7_countdown_"] .chakras-composer-counter-grid {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 width:100%!important;max-width:min(100%,520px)!important;
 box-sizing:border-box!important;padding:14px 16px!important;min-height:94px!important;
 border:0!important;border-radius:50px!important;
 background:var(--c7ecd-unified-forest)!important;background-image:none!important;
 box-shadow:0 8px 25px rgba(13,26,20,.14)!important;
 gap:clamp(8px,2vw,16px)!important;margin-inline:auto!important;
}
body .chakras-composer-counter.c7ecd-native.c7ecd-unified-pill[data-chakras-composer-id^="c7_countdown_"] .chakras-composer-counter-grid > .chakras-composer-counter-cell {
 background:transparent!important;background-image:none!important;border:0!important;
 box-shadow:none!important;border-radius:0!important;padding:0 1px!important;
 min-width:0!important;display:flex!important;flex-direction:column!important;
 justify-content:center!important;align-items:center!important;gap:5px!important;
}
/* Keep comfortable and legible sizes when a desktop/tablet Hero layer is narrow. */
@media (min-width:801px) {
 body .c7ecd-shortcode.c7ecd-unified-pill .c7ecd-value,
 body .chakras-composer-counter.c7ecd-native.c7ecd-unified-pill .chakras-composer-counter-value {font-size:clamp(24px,2.65vw,35px)!important;}
 body .c7ecd-shortcode.c7ecd-unified-pill .c7ecd-label,
 body .chakras-composer-counter.c7ecd-native.c7ecd-unified-pill .chakras-composer-counter-caption {font-size:clamp(9px,.9vw,11px)!important;}
}

/* v1.4.7: Compact pill on all devices. Hero layer retains its saved positioning
   and full-width bounding box; only the inner countdown background is narrower.
   The extra hero-specific selectors are intentional because mobile-pill.css
   defined width:100%!important with a more specific Hero selector. */
:root { --c7ecd-pill-compact-width: 420px; }
body .c7ecd-shortcode.c7ecd-unified-pill.c7ecd-mobile-pill[data-c7-ecd="1"],
body .chs-scene-item.c7ecd-hero-host .c7ecd-shortcode.c7ecd-unified-pill.c7ecd-mobile-pill[data-c7-ecd="1"],
body .chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-shortcode.c7ecd-unified-pill.c7ecd-mobile-pill[data-c7-ecd="1"] {
  box-sizing:border-box!important;
  width:min(100%,var(--c7ecd-pill-compact-width))!important;
  max-width:min(100%,var(--c7ecd-pill-compact-width))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* Native Page Builder Counter only: keep its section width, shrink its green grid. */
body .chakras-composer-counter.c7ecd-native.c7ecd-unified-pill[data-chakras-composer-id^="c7_countdown_"] .chakras-composer-counter-grid,
body.chakras-site .site-main .chakras-composer-content .chakras-composer-counter.c7ecd-native.c7ecd-unified-pill[data-chakras-composer-id^="c7_countdown_"] .chakras-composer-counter-grid {
  box-sizing:border-box!important;
  width:min(100%,var(--c7ecd-pill-compact-width))!important;
  max-width:min(100%,var(--c7ecd-pill-compact-width))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
