/* DesignFlux Promotions. Uses the theme's tokens when present, with matching fallbacks. */
:root {
  --dfp-ink: var(--df-ink, #0b0b0d);
  --dfp-text: var(--df-text, #1c1c21);
  --dfp-muted: var(--df-muted, #5a5a66);
  --dfp-border: var(--df-border, #e8e8ec);
  --dfp-brand: var(--df-brand, #fa5324);
  --dfp-brand-text: var(--df-brand-text, #c2410c);
  --dfp-brand-soft: var(--df-brand-soft, #fff1ec);
  --dfp-ring: var(--df-brand-ring, rgba(250, 83, 36, .35));
  --dfp-font: var(--df-font, 'Plus Jakarta Sans', Arial, sans-serif);
  --dfp-radius: var(--df-radius, 14px);
  --dfp-radius-lg: var(--df-radius-lg, 22px);
  --dfp-shadow: var(--df-shadow-lg, 0 2px 4px rgba(16,16,24,.04), 0 24px 60px -18px rgba(16,16,24,.22));
  --dfp-ease: var(--df-ease, cubic-bezier(.22, 1, .36, 1));
}
.dfp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Shared pieces ---------- */
.dfp-pill { display: inline-flex; align-items: center; margin: 0; padding: 3px 10px; border-radius: 99px; background: var(--dfp-brand-text); color: #fff; font: 700 .75rem/1.4 var(--dfp-font); letter-spacing: .02em; white-space: nowrap; }
.dfp-pill--soft { background: var(--dfp-brand-soft); color: var(--dfp-brand-text); }
.dfp-cd { font-variant-numeric: tabular-nums; }
.dfp-cd-left:not(:empty)::before { content: " · "; }
.dfp-price { margin: 0; font: 500 .9375rem/1.4 var(--dfp-font); color: var(--dfp-muted); }
.dfp-price strong { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; color: var(--dfp-ink); font-variant-numeric: tabular-nums; }
.dfp-price s { margin-left: 4px; color: var(--dfp-muted); }
.dfp-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font: 500 .875rem/1.4 var(--dfp-font); color: var(--dfp-muted); }
.dfp-code code { padding: 4px 10px; border: 1.5px dashed var(--dfp-brand); border-radius: 8px; background: var(--dfp-brand-soft); color: var(--dfp-brand-text); font: 700 .875rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.dfp-copy { min-height: 32px; padding: 4px 12px; border: 1px solid var(--dfp-border); border-radius: 8px; background: #fff; color: var(--dfp-ink); font: 600 .8125rem/1 var(--dfp-font); cursor: pointer; touch-action: manipulation; transition: background-color .15s, border-color .15s; }
.dfp-copy:hover { border-color: var(--dfp-ink); }
.dfp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; padding: 12px 22px; border-radius: 12px; background: var(--dfp-ink); color: #fff !important; font: 700 1rem/1.2 var(--dfp-font); text-decoration: none !important; cursor: pointer; touch-action: manipulation; transition: transform .15s var(--dfp-ease), background-color .15s; }
.dfp-btn:hover { background: #26262c; }
.dfp-btn:active { transform: scale(.98); }
.dfp-icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; touch-action: manipulation; transition: background-color .15s; }
.dfp-icon-btn:hover { background: rgba(127, 127, 127, .16); }
.dfp-bar :focus-visible, .dfp-pop :focus-visible, .dfp-ad :focus-visible, .dfp-price-promo :focus-visible { outline: 2px solid var(--dfp-brand); outline-offset: 2px; box-shadow: 0 0 0 4px var(--dfp-ring); }

/* ---------- Notice bar ---------- */
.dfp-bar-off .dfp-bar { display: none; }
.dfp-bar { position: relative; z-index: 41; font: 500 .9375rem/1.4 var(--dfp-font); }
.dfp-bar--ink { background: var(--dfp-ink); color: #fff; }
.dfp-bar--brand { background: var(--dfp-brand-text); color: #fff; }
.dfp-bar--soft { background: var(--dfp-brand-soft); color: var(--dfp-ink); }
.dfp-bar--brand .dfp-pill { background: #fff; color: var(--dfp-brand-text); }
.dfp-bar-in { display: flex; align-items: center; gap: 8px; max-width: 1160px; margin: 0 auto; padding: 6px 12px 6px 24px; }
/* All messages share one grid cell, so the bar is always as tall as the longest one: rotating never shifts the page. */
.dfp-bar-track { flex: 1 1 auto; display: grid; min-width: 0; }
.dfp-bar-item { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin: 0; padding: 4px 0; text-align: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--dfp-ease), visibility 0s .35s; }
.dfp-bar-item.is-on { opacity: 1; visibility: visible; transition: opacity .35s var(--dfp-ease); }
.dfp-bar-msg { font-weight: 600; }
.dfp-bar .dfp-cd { opacity: .8; font-size: .875rem; }
.dfp-bar-link { display: inline-flex; align-items: center; min-height: 32px; color: inherit !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.dfp-bar-link:hover { text-decoration-thickness: 2.5px; }
.dfp-bar-actions { display: flex; flex: 0 0 auto; gap: 2px; }
.dfp-i-play, .dfp-bar.is-paused .dfp-i-pause { display: none; }
.dfp-bar.is-paused .dfp-i-play { display: inline-grid; }
@media (max-width: 640px) {
  /* Phones: one compact, flowing line (pill + message + link). The countdown stays in the pricing box and popup. */
  .dfp-bar { font-size: .8125rem; }
  .dfp-bar-in { padding: 4px 4px 4px 16px; gap: 2px; }
  .dfp-bar-item { display: block; padding: 6px 0; text-align: left; line-height: 1.45; }
  .dfp-bar-item > * { vertical-align: middle; }
  .dfp-bar .dfp-pill { margin-right: 6px; padding: 2px 8px; font-size: .6875rem; }
  .dfp-bar .dfp-cd { display: none; }
  .dfp-bar-link { display: inline; min-height: 0; margin-left: 6px; white-space: nowrap; }
  .dfp-bar [data-dfp-next] { display: none; }
  .dfp-icon-btn { width: 32px; height: 32px; }
}

/* ---------- Pricing box ---------- */
.dfp-price-promo { display: grid; gap: 10px; margin: 0 0 18px; padding: 16px 18px; border: 1.5px solid var(--dfp-brand); border-radius: var(--dfp-radius); background: var(--dfp-brand-soft); font-family: var(--dfp-font); }
.dfp-price-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0; font-size: .8125rem; font-weight: 600; color: var(--dfp-brand-text); }
.dfp-price-head { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: var(--dfp-ink); }
.dfp-price-promo .dfp-code { color: var(--dfp-text); }
.dfp-price-promo .dfp-copy { background: #fff; }

/* ---------- Exit popup ---------- */
.dfp-pop { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: transparent; color: var(--dfp-text); overflow: visible; }
.dfp-pop::backdrop { background: rgba(11, 11, 13, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dfp-pop[open] { animation: dfp-in .24s var(--dfp-ease); }
.dfp-pop[open]::backdrop { animation: dfp-fade .24s ease-out; }
.dfp-pop-card { position: relative; max-height: calc(100dvh - 32px); overflow: auto; border-radius: 24px; background: #fff; box-shadow: var(--dfp-shadow); font-family: var(--dfp-font); }
.dfp-pop-x { position: absolute; top: 10px; right: 10px; z-index: 1; margin: 0; }
.dfp-pop-x .dfp-icon-btn { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .9); color: var(--dfp-ink); }
.dfp-pop-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.dfp-pop-body { display: grid; justify-items: start; gap: 14px; padding: 32px 28px 24px; }
.dfp-pop-title { margin: 0; padding-right: 32px; font: 800 clamp(1.5rem, 4.6vw, 1.875rem)/1.15 var(--dfp-font); letter-spacing: -.03em; color: var(--dfp-ink); text-wrap: balance; }
.dfp-pop-text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--dfp-muted); }
.dfp-pop .dfp-btn { width: 100%; margin-top: 4px; }
.dfp-pop form { margin: 0; }
.dfp-nothanks { min-height: 44px; padding: 8px 12px; border: 0; background: none; color: var(--dfp-muted); font: 600 .9375rem/1.2 var(--dfp-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: center; }
.dfp-pop-body > form:last-of-type { justify-self: center; }
.dfp-pop .dfp-cd { justify-self: center; font-size: .8125rem; color: var(--dfp-muted); }
html:has(.dfp-pop[open]) { overflow: hidden; }
@keyframes dfp-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes dfp-fade { from { opacity: 0; } }
@media (max-width: 560px) {
  .dfp-pop { width: 100vw; max-width: 100vw; margin: auto 0 0; }
  .dfp-pop-card { border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .dfp-pop-body { padding: 28px 20px 20px; }
  .dfp-pop[open] { animation-name: dfp-up; }
  @keyframes dfp-up { from { transform: translateY(40px); opacity: 0; } }
}

/* ---------- Blog ads ---------- */
.dfp-ad { margin: 2.25em 0 !important; font-family: var(--dfp-font); }
.dfp-ad * { margin-top: 0; }
.dfp-ad-label { margin: 0 0 8px !important; font-size: .75rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dfp-muted); }
.dfp-ad--image img { display: block; width: 100%; height: auto; border-radius: var(--dfp-radius-lg); }
.dfp-ad--image a { display: block; text-decoration: none !important; }
.dfp-ad--offer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 24px 26px; border: 1px solid var(--dfp-border); border-radius: var(--dfp-radius-lg); background: linear-gradient(135deg, #fff 0%, var(--dfp-brand-soft) 100%); }
.dfp-ad-body { display: grid; justify-items: start; gap: 8px; flex: 1 1 300px; }
.dfp-ad-title { margin: 0 !important; font-size: 1.25rem !important; font-weight: 800; line-height: 1.3 !important; letter-spacing: -.02em; color: var(--dfp-ink); }
.dfp-ad-text { margin: 0 !important; font-size: .9375rem !important; line-height: 1.55 !important; color: var(--dfp-muted); }
.dfp-ad-side { display: grid; justify-items: start; gap: 10px; flex: 0 1 220px; }
.dfp-ad-side .dfp-cd { font-size: .8125rem; color: var(--dfp-muted); }
.dfp-ad .dfp-price strong { font-size: 1.5rem; }
.dfp-ad .dfp-code { margin: 4px 0 0 !important; }
.dfp-blog-slot { max-width: 1160px; margin: 40px auto 8px; padding: 0 24px; }
.dfp-blog-slot.df-container { max-width: calc(var(--df-container, 1160px) + var(--df-gutter, 24px) * 2); padding-inline: var(--df-gutter, 24px); } /* match the theme's container */
.dfp-blog-slot .dfp-ad { margin: 0 !important; }
@media (max-width: 640px) { .dfp-blog-slot { padding: 0 16px; } .dfp-ad--offer { padding: 20px; } .dfp-ad-side { flex-basis: 100%; } .dfp-ad-side .dfp-btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .dfp-bar-item, .dfp-bar-item.is-on { transition: none; }
  .dfp-pop[open], .dfp-pop[open]::backdrop { animation: none; }
  .dfp-btn:active { transform: none; }
}

/* Hello Elementor's reset styles every <button> (pink border, pink hover). Neutralise it for our controls. */
.dfp-bar button.dfp-icon-btn, .dfp-pop button.dfp-icon-btn, .dfp-pop button.dfp-nothanks { border: 0 !important; background-color: transparent !important; color: inherit !important; }
.dfp-pop .dfp-pop-x button.dfp-icon-btn { background-color: rgba(255, 255, 255, .9) !important; color: var(--dfp-ink) !important; }
.dfp-pop button.dfp-nothanks { color: var(--dfp-muted) !important; }
.dfp-bar button.dfp-icon-btn:hover, .dfp-bar button.dfp-icon-btn:focus-visible { background-color: rgba(127, 127, 127, .2) !important; }
.dfp-pop .dfp-pop-x button.dfp-icon-btn:hover { background-color: #f1f1f4 !important; }
.dfp-pop button.dfp-nothanks:hover { color: var(--dfp-ink) !important; }
button.dfp-copy, button.dfp-copy:hover, button.dfp-copy:focus { border: 1px solid var(--dfp-border) !important; background-color: #fff !important; color: var(--dfp-ink) !important; }
button.dfp-copy:hover { border-color: var(--dfp-ink) !important; }
