/* ==========================================================================
   Detroit Kifisia — WordPress / Breakdance glue. Loads after site.css + page CSS.
   Keeps the mockup CSS authoritative where Breakdance or WooCommerce add their own defaults.
   ========================================================================== */

/* Breakdance wraps the header template: make the wrapper sticky so the header sticks like in the mockup */
.bde-dk-header{position:sticky;top:0;z-index:60}
.bde-dk-header .header{position:relative;top:auto}
body.admin-bar .bde-dk-header{top:2rem}
@media (max-width:782px){ body.admin-bar .bde-dk-header{top:0} }

/* typography: set in Breakdance › Global Settings › Typography (body, headings H1–H6, links) — see scripts/breakdance.php */

/* footer touches full-bleed bands (map, appointment band) */
body:has(.dk-flush) .footer{margin-top:0}

/* archive: load more */
.dk-more{display:flex;justify-content:center;padding:2.75rem 0 0}

/* WooCommerce notices on checkout in the mockup style */
.woocommerce-NoticeGroup,.woocommerce-error,.woocommerce-message,.woocommerce-info{list-style:none;margin:0 auto 1.375rem;width:min(var(--wrap),100% - 3rem);padding:1rem 1.25rem;border-left:0.1875rem solid var(--red);background:var(--bone);font-size:0.8125rem}
.woocommerce-message,.woocommerce-info{border-left-color:var(--ink)}
/* checkout errors: one box only (the NoticeGroup), no focus outline; the list inside is plain */
.woocommerce-NoticeGroup .woocommerce-error,.woocommerce-NoticeGroup .woocommerce-message,.woocommerce-NoticeGroup .woocommerce-info{margin:0;width:auto;padding:0;border:0;background:none}
.woocommerce-NoticeGroup:focus,.woocommerce-error:focus,.woocommerce-NoticeGroup [tabindex]:focus{outline:none}
.woocommerce-error li{line-height:1.6}
.co-place .woocommerce-NoticeGroup{width:auto;margin:0.5rem 0 0}   /* the list of fixes, moved under Place order by dk-site.js */
.woocommerce form.checkout .blockUI.blockOverlay{background:rgba(255,255,255,.6)!important}
#order_review .co-sum{position:sticky}
.co .choice label{margin:0}

/* checkout: WooCommerce's JS hides the payment radio when there is a single gateway — the mockup shows it (and the .choice grid needs it) */
#payment .choice input[name="payment_method"]{display:block!important}

/* sale prices (not in the mockup): old price struck through, new price in the brand red, discount tag on the card */
.card__price s.was,.info__price s.was,.mbar s.was{color:var(--muted);font-weight:500;text-decoration-thickness:1px;margin-right:0.375rem}
.card__price .now,.info__price .now,.mbar .now{color:var(--red)}
.card__tag--sale{background:var(--red);color:#fff;letter-spacing:.12em}
.info__price .sale-pill{font-style:normal;font-size:0.625rem;font-weight:700;letter-spacing:.12em;background:var(--red);color:#fff;padding:0.25rem 0.4375rem 0.1875rem;margin-left:0.5rem;vertical-align:2px}

/* Woosah campaign badge next to the discount: a second tag, same height and type as .card__tag, campaign colours inline */
.card__tags{position:absolute;z-index:2;top:1rem;left:1rem;right:3.5rem;display:flex;flex-wrap:wrap;align-items:flex-start;gap:0.25rem;pointer-events:none}
.card__tags .card__tag{position:static;top:auto;left:auto;max-width:100%;box-sizing:border-box;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card__tag--badge{letter-spacing:.18em}
.info__price .sale-pill--badge{margin-left:0.25rem;text-transform:uppercase;letter-spacing:.16em;font-size:0.5625rem;padding:0.3125rem 0.5rem 0.25rem;vertical-align:2px}
@media (max-width:640px){
  .card__tags{top:0.625rem;left:0.625rem;right:2.875rem;gap:0.1875rem}
  .card__tags .card__tag{font-size:0.5rem;letter-spacing:.14em;padding:0.3125rem 0.4375rem 0.25rem}
}
