/* Homes for rent — /homes-for-rent/ and /homes-for-rent/<home>. Scoped under .hfr. */

.hfr {
  --hfr-teal: #093847;
  --hfr-teal-600: #0f4c5f;
  --hfr-green: #599404;
  --hfr-green-700: #477703;
  --hfr-mint: #eef6e4;
  --hfr-cream: #fbf7f0;
  --hfr-sun: #f4b740;
  --hfr-ink: #1d2b31;
  --hfr-muted: #5b6b72;
  --hfr-line: #e7e2d7;
  --hfr-card: #ffffff;
  --hfr-radius: 18px;
  --hfr-shadow: 0 10px 30px rgba(9, 56, 71, .08);
  --hfr-shadow-lg: 0 18px 44px rgba(9, 56, 71, .14);
  background: var(--hfr-cream);
  color: var(--hfr-ink);
}
.hfr .text-primary { color: var(--hfr-green) !important; }
.hfr .btn-primary { background: var(--hfr-green); border-color: var(--hfr-green); color: #fff; }
.hfr .btn-primary:hover, .hfr .btn-primary:focus { background: var(--hfr-green-700); border-color: var(--hfr-green-700); color: #fff; }
.hfr .btn-outline-primary { color: var(--hfr-teal); border-color: var(--hfr-teal); background: transparent; }
.hfr .btn-outline-primary:hover, .hfr .btn-outline-primary:focus { background: var(--hfr-teal); border-color: var(--hfr-teal); color: #fff; }
.hfr a:focus-visible, .hfr button:focus-visible, .hfr select:focus-visible { outline: 3px solid var(--hfr-sun); outline-offset: 2px; }

.hfr-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--hfr-mint); color: var(--hfr-green-700);
  font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hfr-eyebrow i { font-size: 1rem; }

/* ---------- Hero ---------- */
.hfr-hero { padding: 4.5rem 0 2rem; background: linear-gradient(180deg, #fff 0%, var(--hfr-cream) 100%); }
.hfr-hero-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; font-weight: 700; color: var(--hfr-teal); margin-bottom: 1.25rem; letter-spacing: -.01em; }
.hfr-hero-lead { font-size: 1.2rem; line-height: 1.6; color: var(--hfr-muted); margin-bottom: 2rem; max-width: 34rem; }
.hfr-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hfr-trust li { display: flex; align-items: center; gap: .4rem; color: var(--hfr-teal); font-weight: 600; font-size: .95rem; }
.hfr-trust i { color: var(--hfr-green); font-size: 1.2rem; }
.hfr-hero-photo { position: relative; }
.hfr-hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 35% 40%; border-radius: 28px; box-shadow: var(--hfr-shadow-lg); display: block; }
.hfr-hero-chip {
  position: absolute; left: -1.25rem; bottom: 1.75rem;
  display: flex; align-items: center; gap: .8rem;
  background: #fff; border-radius: 16px; padding: .9rem 1.2rem; box-shadow: var(--hfr-shadow-lg);
  color: var(--hfr-teal); font-weight: 600; line-height: 1.2; font-size: .95rem;
}
.hfr-hero-chip-num { font-size: 2rem; font-weight: 700; color: var(--hfr-green); }
@media (max-width: 991.98px) {
  .hfr-hero { padding: 2.75rem 0 2.5rem; }
  .hfr-hero-chip { left: 1rem; bottom: 1rem; }
}

/* ---------- Toolbar ---------- */
.hfr-results { padding: 2rem 0 4.5rem; }
.hfr-toolbar {
  position: relative; z-index: 20;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: .9rem; align-items: end;
  background: #fff; border: 1px solid var(--hfr-line); border-radius: var(--hfr-radius);
  padding: 1rem 1.1rem; box-shadow: var(--hfr-shadow);
}
.hfr-field label { display: block; font-size: .78rem; font-weight: 700; color: var(--hfr-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.hfr-field .form-select { border-radius: 12px; border-color: var(--hfr-line); font-weight: 600; color: var(--hfr-ink); min-height: 46px; }
.hfr-view { display: flex; background: var(--hfr-cream); border-radius: 12px; padding: 4px; }
.hfr-view-btn {
  display: inline-flex; align-items: center; gap: .35rem; border: 0; background: transparent;
  padding: .55rem .9rem; border-radius: 9px; font-weight: 700; color: var(--hfr-muted); min-height: 38px;
}
.hfr-view-btn i { font-size: 1.1rem; }
.hfr-view-btn.is-active { background: #fff; color: var(--hfr-teal); box-shadow: 0 2px 8px rgba(9, 56, 71, .12); }
@media (max-width: 991.98px) {
  .hfr-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hfr-view { grid-column: 1 / -1; justify-content: stretch; }
  .hfr-view-btn { flex: 1; justify-content: center; }
}
.hfr-count { margin: 1.5rem .25rem 1.1rem; color: var(--hfr-muted); font-size: 1rem; }
.hfr-count strong { color: var(--hfr-teal); }

/* ---------- Cards ---------- */
.hfr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.hfr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .hfr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .hfr-grid, .hfr-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }

.hfr-card {
  position: relative; background: var(--hfr-card); border-radius: var(--hfr-radius); overflow: hidden;
  box-shadow: var(--hfr-shadow); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.hfr-card:hover { transform: translateY(-4px); box-shadow: var(--hfr-shadow-lg); }
.hfr-card[hidden] { display: none; }
.hfr-card-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #e9ece6; overflow: hidden; }
.hfr-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hfr-card:hover .hfr-card-photo img { transform: scale(1.04); }
.hfr-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #b4bcb5; }
.hfr-badges { position: absolute; top: .8rem; left: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.hfr-badge {
  display: inline-flex; align-items: center; gap: .25rem; border-radius: 999px; padding: .3rem .7rem;
  font-size: .78rem; font-weight: 700; line-height: 1.2; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.hfr-badge-voucher { background: #fff; color: var(--hfr-green-700); }
.hfr-badge-voucher i { font-size: .95rem; }
.hfr-badge-new { background: var(--hfr-sun); color: #3b2a00; }
.hfr-photo-count {
  position: absolute; right: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .25rem;
  background: rgba(9, 56, 71, .78); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .25rem .6rem;
}
.hfr-card-body { padding: 1.1rem 1.25rem 1.3rem; }
.hfr-card-rent { font-size: 1.6rem; font-weight: 700; color: var(--hfr-teal); line-height: 1.1; margin-bottom: .45rem; }
.hfr-card-rent span { font-size: .95rem; font-weight: 600; color: var(--hfr-muted); margin-left: .15rem; }
.hfr-facts { list-style: none; padding: 0; margin: 0 0 .7rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--hfr-ink); font-weight: 600; font-size: .95rem; }
.hfr-facts li { display: inline-flex; align-items: center; gap: .3rem; }
.hfr-facts i { color: var(--hfr-green); font-size: 1.15rem; }
.hfr-card-factline { color: var(--hfr-ink); font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.hfr-card-addr { font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; line-height: 1.3; }
.hfr-card-addr a { color: var(--hfr-ink); }
.hfr-card-addr a:hover { color: var(--hfr-green-700); }
.hfr-card-city { color: var(--hfr-muted); font-size: .92rem; display: flex; align-items: center; gap: .25rem; }

/* ---------- Map ---------- */
.hfr-map-wrap { margin-bottom: 1.6rem; }
.hfr-map { height: 560px; border-radius: var(--hfr-radius); overflow: hidden; box-shadow: var(--hfr-shadow); background: #e9ece6; z-index: 1; }
.hfr-map-sm { height: 320px; }
@media (max-width: 767.98px) { .hfr-map { height: 440px; } .hfr-map-sm { height: 260px; } }
.hfr-pin {
  background: var(--hfr-teal); color: #fff; font-weight: 700; font-size: 13px; line-height: 1;
  padding: 7px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
  border: 2px solid #fff; transform: translate(-50%, -50%); display: inline-block; font-family: inherit;
}
.hfr-pin:hover, .hfr-pin.is-active { background: var(--hfr-green); }
.hfr-pin-icon { background: none !important; border: 0 !important; }
.hfr-pop { width: 220px; font-family: inherit; }
.hfr-pop img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; margin-bottom: .5rem; display: block; }
.hfr-pop-rent { font-weight: 700; color: var(--hfr-teal); font-size: 1.15rem; }
.hfr-pop-addr { font-weight: 700; color: var(--hfr-ink); }
.hfr-pop-meta { color: var(--hfr-muted); font-size: .85rem; margin-bottom: .45rem; }
.hfr-pop a.hfr-pop-link { color: var(--hfr-green-700); font-weight: 700; }
.hfr .leaflet-popup-content-wrapper { border-radius: 14px; }

/* ---------- Empty / no match ---------- */
.hfr-empty, .hfr-nomatch {
  text-align: center; background: #fff; border-radius: var(--hfr-radius); box-shadow: var(--hfr-shadow);
  padding: 3.5rem 1.5rem; max-width: 720px; margin: 0 auto;
}
.hfr-empty p, .hfr-nomatch p { color: var(--hfr-muted); font-size: 1.08rem; max-width: 30rem; margin-left: auto; margin-right: auto; }
.hfr-empty-icon {
  width: 76px; height: 76px; border-radius: 50%; background: var(--hfr-mint); color: var(--hfr-green-700);
  display: inline-flex; align-items: center; justify-content: center; font-size: 2.2rem; margin-bottom: 1.25rem;
}
.hfr-nomatch[hidden] { display: none; }

/* ---------- Voucher guide ---------- */
.hfr-voucher { background: #fff; padding: 5rem 0; }
.hfr-section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--hfr-teal); font-weight: 700; margin-bottom: 1rem; }
.hfr-section-lead { font-size: 1.15rem; color: var(--hfr-muted); line-height: 1.6; margin: 0; }
.hfr-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; counter-reset: none; }
.hfr-steps li { position: relative; background: var(--hfr-cream); border-radius: var(--hfr-radius); padding: 1.6rem 1.3rem 1.4rem; }
.hfr-steps h3 { font-size: 1.08rem; color: var(--hfr-teal); margin: .9rem 0 .5rem; font-weight: 700; }
.hfr-steps p { color: var(--hfr-muted); font-size: .97rem; line-height: 1.55; margin: 0; }
.hfr-step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--hfr-green); color: #fff; font-weight: 700; font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 1199.98px) { .hfr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .hfr-steps { grid-template-columns: minmax(0, 1fr); } .hfr-voucher { padding: 3.5rem 0; } }

.hfr-faq .accordion-item { border: 1px solid var(--hfr-line); border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden; background: #fff; }
.hfr-faq .accordion-button { font-weight: 700; color: var(--hfr-teal); font-size: 1.05rem; padding: 1.1rem 1.25rem; background: #fff; box-shadow: none; }
.hfr-faq .accordion-button:not(.collapsed) { background: var(--hfr-mint); color: var(--hfr-teal); }
.hfr-faq .accordion-body { color: var(--hfr-ink); font-size: 1rem; line-height: 1.65; padding: 1rem 1.25rem 1.25rem; }

/* ---------- Fair housing ---------- */
.hfr-fair { background: var(--hfr-cream); padding: 2.5rem 0; border-top: 1px solid var(--hfr-line); }
.hfr-fair-inner { display: flex; gap: 1.25rem; align-items: flex-start; max-width: 900px; margin: 0 auto; }
.hfr-fair .h5 { color: var(--hfr-teal); }
.hfr-fair p { color: var(--hfr-muted); font-size: .93rem; line-height: 1.6; }
.hfr-eho { flex: 0 0 52px; width: 52px; height: 52px; color: var(--hfr-teal); }

/* ---------- Single home ---------- */
.hfr-home { padding: 2rem 0 4.5rem; }
.hfr-crumb a { display: inline-flex; align-items: center; gap: .3rem; color: var(--hfr-teal); font-weight: 700; }
.hfr-crumb a:hover { color: var(--hfr-green-700); }
.hfr-home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin: 1.25rem 0 1.5rem; }
.hfr-home-badges { display: flex; gap: .4rem; margin-bottom: .6rem; }
.hfr-home-badges .hfr-badge-voucher { background: var(--hfr-mint); box-shadow: none; }
.hfr-home-badges .hfr-badge-new { box-shadow: none; }
.hfr-home-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--hfr-teal); font-weight: 700; margin: 0 0 .3rem; line-height: 1.15; }
.hfr-home-city { color: var(--hfr-muted); font-size: 1.1rem; display: flex; align-items: center; gap: .3rem; }
.hfr-home-price { text-align: right; }
.hfr-home-rent { font-size: 2.4rem; font-weight: 700; color: var(--hfr-teal); line-height: 1; margin-bottom: .55rem; }
.hfr-home-rent span { font-size: 1.05rem; color: var(--hfr-muted); font-weight: 600; margin-left: .15rem; }
.hfr-facts-lg { justify-content: flex-end; font-size: 1.02rem; margin: 0; }
@media (max-width: 767.98px) {
  .hfr-home-head { align-items: flex-start; }
  .hfr-home-price { text-align: left; }
  .hfr-facts-lg { justify-content: flex-start; }
}

.hfr-gallery { margin-bottom: .5rem; }
.hfr-gallery .swiper-main, .hfr-gallery > .swiper:not(.swiper-thumbs) { border-radius: var(--hfr-radius); overflow: hidden; }
.hfr-slide { position: relative; display: block; aspect-ratio: 16 / 10; background: #1d2b31; cursor: zoom-in; overflow: hidden; }
.hfr-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hfr-gallery .swiper-thumbs { margin-top: 10px; }
.hfr-gallery .swiper-thumbs .swiper-slide { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; opacity: .55; cursor: pointer; transition: opacity .2s; }
.hfr-gallery .swiper-thumbs .swiper-slide-thumb-active, .hfr-gallery .swiper-thumbs .swiper-slide:hover { opacity: 1; }
.hfr-gallery .swiper-thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hfr-gallery-empty {
  aspect-ratio: 16 / 7; border-radius: var(--hfr-radius); background: #e9ece6; color: var(--hfr-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; font-weight: 600;
}
.hfr-gallery-empty i { font-size: 2.6rem; }

.hfr-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.hfr-chip {
  display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid var(--hfr-line);
  border-radius: 999px; padding: .45rem .9rem; font-weight: 600; color: var(--hfr-ink); font-size: .95rem;
}
.hfr-chip i { color: var(--hfr-green); font-size: 1.1rem; }
.hfr-chip-hl { background: var(--hfr-mint); border-color: transparent; }

.hfr-block { margin-bottom: 2.5rem; }
.hfr-block-title { font-size: 1.45rem; color: var(--hfr-teal); font-weight: 700; margin-bottom: 1rem; }
.hfr-prose p { font-size: 1.06rem; line-height: 1.75; color: var(--hfr-ink); margin-bottom: 1rem; }
.hfr-prose p:last-child { margin-bottom: 0; }

.hfr-callout {
  display: flex; gap: 1.1rem; align-items: flex-start; background: var(--hfr-mint); border-radius: var(--hfr-radius);
  padding: 1.4rem 1.5rem; margin-bottom: 2.5rem;
}
.hfr-callout .h5 { color: var(--hfr-teal); }
.hfr-callout p { color: var(--hfr-ink); }
.hfr-callout-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--hfr-green-700);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.hfr-link { color: var(--hfr-green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hfr-link:hover { color: var(--hfr-teal); }

.hfr-costs { background: #fff; border-radius: var(--hfr-radius); padding: 1.4rem 1.5rem; border: 1px solid var(--hfr-line); }
.hfr-costs dl { margin: 0; }
.hfr-costs dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--hfr-line); }
.hfr-costs dt { font-weight: 600; color: var(--hfr-ink); }
.hfr-costs dt small { color: var(--hfr-muted); font-weight: 500; }
.hfr-costs dd { margin: 0; font-weight: 700; color: var(--hfr-teal); white-space: nowrap; }
.hfr-costs .hfr-costs-total { border-bottom: 0; }
.hfr-costs .hfr-costs-total dt, .hfr-costs .hfr-costs-total dd { font-size: 1.1rem; color: var(--hfr-teal); }
.hfr-costs-sub { font-size: 1rem; font-weight: 700; color: var(--hfr-teal); margin: 1.1rem 0 .5rem; }
.hfr-fee-list { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--hfr-ink); }
.hfr-fee-list li { margin-bottom: .25rem; }
.hfr-fine { font-size: .88rem; color: var(--hfr-muted); margin: 0; }

.hfr-side {
  position: sticky; top: 6rem; background: #fff; border-radius: var(--hfr-radius); box-shadow: var(--hfr-shadow-lg);
  padding: 1.6rem 1.5rem;
}
.hfr-side-rent { font-size: 2.1rem; font-weight: 700; color: var(--hfr-teal); line-height: 1; }
.hfr-side-rent span { font-size: 1rem; color: var(--hfr-muted); font-weight: 600; margin-left: .15rem; }
.hfr-side-total { color: var(--hfr-muted); font-size: .92rem; margin-top: .45rem; }
.hfr-side-note { color: var(--hfr-muted); font-size: .9rem; margin: .8rem 0 0; text-align: center; }
.hfr-side-pending {
  margin-top: 1.25rem; background: var(--hfr-cream); border-radius: 12px; padding: .9rem 1rem; color: var(--hfr-ink);
  display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; font-size: .95rem;
}
.hfr-side-pending i { color: var(--hfr-green); font-size: 1.2rem; }
.hfr-side-list { list-style: none; padding: 1.2rem 0 0; margin: 1.3rem 0 0; border-top: 1px solid var(--hfr-line); }
.hfr-side-list li { display: flex; align-items: center; gap: .5rem; color: var(--hfr-ink); font-weight: 600; font-size: .95rem; margin-bottom: .55rem; }
.hfr-side-list li:last-child { margin-bottom: 0; }
.hfr-side-list i { color: var(--hfr-green); font-size: 1.2rem; }

.hfr-subhead { font-size: 1.6rem; color: var(--hfr-teal); font-weight: 700; margin-bottom: 1.4rem; }

.hfr-mobile-bar { display: none; }
@media (max-width: 991.98px) {
  .hfr-side { position: static; }
  .hfr-mobile-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    background: #fff; border-top: 1px solid var(--hfr-line); box-shadow: 0 -6px 20px rgba(9, 56, 71, .1);
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  }
  .hfr-mobile-bar strong { font-size: 1.35rem; color: var(--hfr-teal); }
  .hfr-mobile-bar span { color: var(--hfr-muted); font-weight: 600; }
  .hfr-mobile-bar small { display: block; color: var(--hfr-muted); font-size: .82rem; }
  .hfr-mobile-bar .btn { white-space: nowrap; }
  .hfr-home { padding-bottom: 7rem; }
  body:has(.hfr-mobile-bar) .progress-wrap { bottom: 6rem; }
}

/* Map: "Show all homes" control; clicking the map zooms in, so show a zoom cursor */
.hfr-map.leaflet-container { cursor: zoom-in; }
.hfr-map .leaflet-marker-icon, .hfr-map .leaflet-popup { cursor: pointer; }
.hfr-map-all {
  display: inline-flex; align-items: center; gap: .35rem; border: 0; border-radius: 999px;
  background: #fff; color: var(--hfr-teal); font-weight: 700; font-size: .85rem; padding: .5rem .9rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18); font-family: inherit;
}
.hfr-map-all:hover { background: var(--hfr-teal); color: #fff; }
.hfr-map-all i { font-size: 1rem; }

/* Map clusters (zoomed out): "8 homes · from $1,195" */
.hfr-cluster {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: var(--hfr-green); color: #fff; border: 3px solid #fff; border-radius: 999px;
  padding: 7px 13px; line-height: 1.1; white-space: nowrap; font-family: inherit; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28); transform: translate(-50%, -50%);
}
.hfr-cluster b { font-size: 14px; font-weight: 700; }
.hfr-cluster small { font-size: 11px; font-weight: 600; opacity: .92; }
.hfr-cluster:hover { background: var(--hfr-teal); }

/* ---------- Cookie notice (added by page_scripts/track-*.js, appended to <body>) ----------
   Brand-teal card so it stands out on the cream pages without dimming or blocking the page.
   Accept and Decline are the same size; Accept is solid white, Decline is outlined. */
.hfr-cookie {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 1040; max-width: 420px;
  background: #093847; color: #fff; border-radius: 16px; padding: 1.05rem 1.15rem;
  box-shadow: 0 18px 48px rgba(9, 56, 71, .45), 0 2px 6px rgba(0, 0, 0, .18);
  font-size: .92rem; line-height: 1.5;
  animation: hfr-cookie-in .45s cubic-bezier(.2, .8, .2, 1) both;
}
.hfr-cookie[hidden] { display: none; }
@keyframes hfr-cookie-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hfr-cookie { animation: none; } }
.hfr-cookie-text { margin: 0 0 .85rem; color: rgba(255, 255, 255, .92); }
.hfr-cookie-text strong { color: #fff; }
.hfr-cookie-text a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.hfr-cookie-text a:hover { color: #d8eaef; }
.hfr-cookie-actions { display: flex; gap: .6rem; }
.hfr-cookie-btn {
  flex: 1; min-height: 42px; border-radius: 999px; font-weight: 700; font-size: .92rem; font-family: inherit; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .85); background: transparent; color: #fff;
}
.hfr-cookie-btn:hover { background: rgba(255, 255, 255, .12); }
.hfr-cookie-yes { background: #fff; border-color: #fff; color: #093847; }
.hfr-cookie-yes:hover { background: #d8eaef; border-color: #d8eaef; }
.hfr-cookie-btn:focus-visible, .hfr-cookie-text a:focus-visible { outline: 3px solid #f4b740; outline-offset: 2px; }
@media (max-width: 575.98px) {
  /* Phones: a compact strip — text on top, two short buttons, about a fifth of the screen */
  .hfr-cookie { left: .5rem; right: .5rem; bottom: .5rem; max-width: none; padding: .7rem .85rem; border-radius: 14px; font-size: .84rem; line-height: 1.4; }
  .hfr-cookie-text { margin-bottom: .55rem; }
  .hfr-cookie-actions { gap: .5rem; }
  .hfr-cookie-btn { min-height: 36px; font-size: .85rem; border-width: 1.5px; }
}
@media (max-width: 991.98px) {
  body:has(.hfr-mobile-bar) .hfr-cookie { bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
}
