/* ============================================================================
   Costco97 — location term archives (from Category Page.dc.html).
   Deal cards + grid come from deals-archive.css (.c97dg-*).
   ========================================================================== */

.c97la [hidden] { display: none !important; }

/* ---- Hero ---- */
.c97la-hero { background: linear-gradient(180deg, var(--c97-blue-tint) 0%, #f7f9fc 60%, #fff 100%); padding-top: 16px; }
.c97la-hero__inner { padding-top: 36px; padding-bottom: 40px; }
.c97la-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--c97-blue); background: #fff; border: 1px solid #dbe4f0; padding: 7px 15px 7px 12px; border-radius: var(--c97-r-pill); margin-bottom: 20px; }
.c97la-back:hover { background: var(--c97-blue-tint); text-decoration: none; }
.c97la-h1 { margin: 0; font-size: 56px; line-height: 1.03; font-weight: 600; letter-spacing: -.025em; color: var(--c97-ink); }
.c97la-sub { margin: 18px 0 0; max-width: 640px; font-size: 20px; line-height: 1.5; font-weight: 300; color: #484850; }
.c97la-x97 { font-weight: 500; color: var(--c97-ink); }
.c97la-x97 span { color: var(--c97-navy); }
.c97la-stats { display: flex; gap: 44px; margin-top: 32px; flex-wrap: wrap; align-items: flex-end; }
.c97la-stat__n { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: var(--c97-blue); }
.c97la-stat__l { font-size: 13px; color: var(--c97-muted); margin-top: 2px; }
.c97la-alertbtn { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--c97-blue); border: 1px solid #cddcf0; border-radius: var(--c97-r-pill); padding: 11px 20px; font-size: 14px; font-weight: 500; cursor: pointer; margin-bottom: 2px; font-family: inherit; }
.c97la-alertbtn:hover { background: var(--c97-blue-tint); }

/* (The filter bar reuses the deals-archive controls — styles live in
   deals-archive.css: .c97dg-filterbar / -select / -status / -sortwrap.) */

/* ---- Results ---- */
.c97la-results { padding-top: 26px; padding-bottom: 20px; }
.c97la-count { font-size: 14px; color: var(--c97-muted); margin-bottom: 20px; }
.c97la-count [data-la-count] { color: var(--c97-ink); font-weight: 500; }
.c97la-empty { text-align: center; padding: 64px 20px 84px; }
.c97la-empty svg { margin: 0 auto 14px; display: block; }
.c97la-empty__t { font-size: 20px; font-weight: 600; color: var(--c97-ink); }
.c97la-empty p { margin: 8px 0 20px; font-size: 15px; color: var(--c97-muted); }
.c97la-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 38px 0 8px; }
.c97la-morebtn { background: #fff; color: var(--c97-blue); border: 1px solid #cddcf0; border-radius: var(--c97-r-pill); padding: 13px 30px; font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; }
.c97la-morebtn:hover { background: var(--c97-blue-tint); }
.c97la-morebtn:disabled { opacity: .55; cursor: default; }
.c97la-more__count { font-size: 13px; color: var(--c97-muted); }

/* ---- Post-a-deal note ---- */
.c97la-notewrap { padding-top: 20px; padding-bottom: 56px; }
.c97la-note { background: var(--c97-wash); border-radius: var(--c97-r-md); padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.c97la-note__main { max-width: 560px; }
.c97la-note__t { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--c97-ink); }
.c97la-note p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: #707070; }
.c97la-note .c97-btn { flex: none; }

/* ---- Alert modal ---- */
.c97la-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 22px; }
.c97la-modal__shade { position: absolute; inset: 0; background: rgba(20,22,28,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); cursor: pointer; }
.c97la-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: c97la-pop .28s cubic-bezier(.32,.72,0,1); }
@keyframes c97la-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.c97la-modal__x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: #f0f0f2; border: none; cursor: pointer; color: var(--c97-muted); font-size: 19px; line-height: 1; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.c97la-modal__x:hover { background: #e3e3e8; color: var(--c97-ink); }
.c97la-modal__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--c97-blue-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.c97la-modal__card h2 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.02em; color: var(--c97-ink); }
.c97la-modal__card p { margin: 8px 0 20px; font-size: 15px; line-height: 1.5; color: #707070; }
.c97la-modal__97 { color: var(--c97-navy); font-weight: 600; }
.c97la-modal__card input { width: 100%; border: 1px solid var(--c97-line); border-radius: 12px; background: #fff; padding: 13px 15px; font-size: 16px; color: var(--c97-ink); outline: none; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.c97la-modal__card input:focus { border-color: var(--c97-blue); box-shadow: 0 0 0 3px rgba(0,96,169,.12); }
.c97la-modal__btn { width: 100%; margin-top: 12px; background: var(--c97-blue); color: #fff; border: none; border-radius: var(--c97-r-pill); padding: 14px; font-size: 16px; font-weight: 500; cursor: pointer; font-family: inherit; }
.c97la-modal__btn:hover { background: var(--c97-blue-press); }
/* Coming-soon teaser state until Beehiiv can segment by location. */
.c97la-modal__card input:disabled { background: var(--c97-wash); color: var(--c97-muted); cursor: not-allowed; }
.c97la-modal__btn:disabled { opacity: .55; cursor: default; }
.c97la-modal__btn:disabled:hover { background: var(--c97-blue); }
.c97la-modal__note { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--c97-muted); text-align: center; }
.c97la-modal [data-la-alertdone] { text-align: center; padding: 8px 4px 6px; }
.c97la-modal__check { width: 56px; height: 56px; border-radius: 50%; background: #eaf6ee; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.c97la-modal [data-la-alertdone] p { margin: 8px 0 22px; }
.c97la-modal__done { background: #f0f0f2; color: var(--c97-ink); border: none; border-radius: var(--c97-r-pill); padding: 12px 26px; font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; }
.c97la-modal__done:hover { background: #e3e3e8; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.c97la-h1 { font-size: 48px; }
}
@media (max-width: 640px) {
	.c97la-h1 { font-size: 38px; }
	.c97la-stats { gap: 22px; }
}

/* Hero ad: 300x250 in the empty top-right corner, desktop only.
   Label + footprint appear only when an ad iframe actually renders. */
.c97la-hero__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.c97la-hero__main { min-width: 0; flex: 1; }
.c97la-heroad { flex: 0 0 300px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c97la-heroad .c97-adbar__label { display: none; }
.c97la-heroad:has(iframe) .c97-adbar__label { display: block; }
@media (max-width: 900px) { .c97la-heroad { display: none; } }
