/* ============================================================================
   Warehouse Clearance Deals — location term archives (from Category Page.dc.html).
   Deal cards + grid come from deals-archive.css (.wcddg-*).
   ========================================================================== */

.wcdla [hidden] { display: none !important; }

/* ---- Hero ---- */
.wcdla-hero { background: linear-gradient(180deg, var(--wcd-primary-tint) 0%, #faf8f6 60%, #fff 100%); padding-top: 16px; }
.wcdla-hero__inner { padding-top: 36px; padding-bottom: 40px; }
.wcdla-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--wcd-primary); background: #fff; border: 1px solid var(--wcd-primary-tint-2); padding: 7px 15px 7px 12px; border-radius: var(--wcd-r-pill); margin-bottom: 20px; }
.wcdla-back:hover { background: var(--wcd-primary-tint); text-decoration: none; }
.wcdla-h1 { margin: 0; font-size: 56px; line-height: 1.03; font-weight: 600; letter-spacing: -.025em; color: var(--wcd-ink); }
.wcdla-sub { margin: 18px 0 0; max-width: 640px; font-size: 20px; line-height: 1.5; font-weight: 300; color: #484850; }
.wcdla-x97 { font-weight: 500; color: var(--wcd-ink); }
.wcdla-x97 span { color: var(--wcd-navy); }
.wcdla-stats { display: flex; gap: 44px; margin-top: 32px; flex-wrap: wrap; align-items: flex-end; }
.wcdla-stat__n { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: var(--wcd-primary); }
.wcdla-stat__l { font-size: 13px; color: var(--wcd-muted); margin-top: 2px; }
.wcdla-alertbtn { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--wcd-primary); border: 1px solid var(--wcd-primary-tint-2); border-radius: var(--wcd-r-pill); padding: 11px 20px; font-size: 14px; font-weight: 500; cursor: pointer; margin-bottom: 2px; font-family: inherit; }
.wcdla-alertbtn:hover { background: var(--wcd-primary-tint); }

/* (The filter bar reuses the deals-archive controls — styles live in
   deals-archive.css: .wcddg-filterbar / -select / -status / -sortwrap.) */

/* ---- Results ---- */
.wcdla-results { padding-top: 26px; padding-bottom: 20px; }
.wcdla-count { font-size: 14px; color: var(--wcd-muted); margin-bottom: 20px; }
.wcdla-count [data-la-count] { color: var(--wcd-ink); font-weight: 500; }
.wcdla-empty { text-align: center; padding: 64px 20px 84px; }
.wcdla-empty svg { margin: 0 auto 14px; display: block; }
.wcdla-empty__t { font-size: 20px; font-weight: 600; color: var(--wcd-ink); }
.wcdla-empty p { margin: 8px 0 20px; font-size: 15px; color: var(--wcd-muted); }
.wcdla-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 38px 0 8px; }
.wcdla-morebtn { background: #fff; color: var(--wcd-primary); border: 1px solid var(--wcd-primary-tint-2); border-radius: var(--wcd-r-pill); padding: 13px 30px; font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; }
.wcdla-morebtn:hover { background: var(--wcd-primary-tint); }
.wcdla-morebtn:disabled { opacity: .55; cursor: default; }
.wcdla-more__count { font-size: 13px; color: var(--wcd-muted); }

/* ---- Post-a-deal note ---- */
.wcdla-notewrap { padding-top: 20px; padding-bottom: 56px; }
.wcdla-note { background: var(--wcd-wash); border-radius: var(--wcd-r-md); padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wcdla-note__main { max-width: 560px; }
.wcdla-note__t { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--wcd-ink); }
.wcdla-note p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: #707070; }
.wcdla-note .wcd-btn { flex: none; }

/* ---- Alert modal ---- */
.wcdla-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 22px; }
.wcdla-modal__shade { position: absolute; inset: 0; background: rgba(20,22,28,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); cursor: pointer; }
.wcdla-modal__card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); padding: 32px 30px 26px; animation: wcdla-pop .28s cubic-bezier(.32,.72,0,1); }
@keyframes wcdla-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.wcdla-modal__x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: #f0f0f2; border: none; cursor: pointer; color: var(--wcd-muted); font-size: 19px; line-height: 1; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.wcdla-modal__x:hover { background: #e3e3e8; color: var(--wcd-ink); }
.wcdla-modal__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--wcd-primary-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.wcdla-modal__card h2 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.02em; color: var(--wcd-ink); }
.wcdla-modal__card p { margin: 8px 0 20px; font-size: 15px; line-height: 1.5; color: #707070; }
.wcdla-modal__97 { color: var(--wcd-navy); font-weight: 600; }
.wcdla-modal__card input { width: 100%; border: 1px solid var(--wcd-line); border-radius: 12px; background: #fff; padding: 13px 15px; font-size: 16px; color: var(--wcd-ink); outline: none; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.wcdla-modal__card input:focus { border-color: var(--wcd-primary); box-shadow: 0 0 0 3px rgba(232,89,12,.12); }
.wcdla-modal__btn { width: 100%; margin-top: 12px; background: var(--wcd-primary); color: #fff; border: none; border-radius: var(--wcd-r-pill); padding: 14px; font-size: 16px; font-weight: 500; cursor: pointer; font-family: inherit; }
.wcdla-modal__btn:hover { background: var(--wcd-primary-dark); }
/* Coming-soon teaser state until Beehiiv can segment by location. */
.wcdla-modal__card input:disabled { background: var(--wcd-wash); color: var(--wcd-muted); cursor: not-allowed; }
.wcdla-modal__btn:disabled { opacity: .55; cursor: default; }
.wcdla-modal__btn:disabled:hover { background: var(--wcd-primary); }
.wcdla-modal__note { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--wcd-muted); text-align: center; }
.wcdla-modal [data-la-alertdone] { text-align: center; padding: 8px 4px 6px; }
.wcdla-modal__check { width: 56px; height: 56px; border-radius: 50%; background: #eaf6ee; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.wcdla-modal [data-la-alertdone] p { margin: 8px 0 22px; }
.wcdla-modal__done { background: #f0f0f2; color: var(--wcd-ink); border: none; border-radius: var(--wcd-r-pill); padding: 12px 26px; font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; }
.wcdla-modal__done:hover { background: #e3e3e8; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.wcdla-h1 { font-size: 48px; }
}
@media (max-width: 640px) {
	.wcdla-h1 { font-size: 38px; }
	.wcdla-stats { gap: 22px; }
}

/* Hero ad: 300x250 in the empty top-right corner, desktop only.
   Label + footprint appear only when an ad iframe actually renders. */
.wcdla-hero__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.wcdla-hero__main { min-width: 0; flex: 1; }
.wcdla-heroad { flex: 0 0 300px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wcdla-heroad .wcd-adbar__label { display: none; }
.wcdla-heroad:has(iframe) .wcd-adbar__label { display: block; }
@media (max-width: 900px) { .wcdla-heroad { display: none; } }
