
/* ── v2 layout: full-width page, nav, hero, motion ── */

.hf-page-wrap {
  width: 100%;
  max-width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.hf-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  min-width: 0;
  width: 100%;
}

.hf-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hf-nav {
  background: var(--hf-nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.hf-nav.hf-nav--scrolled {
  background: rgba(20, 14, 12, 0.97);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hf-brand-name,
.hf-brand-sub {
  color: var(--hf-nav-text);
}

.hf-brand-sub {
  opacity: 0.72;
}

.hf-brand-accent {
  background: linear-gradient(90deg, #ff8f00, #ff5252);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hf-brand-mark {
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.24);
}

.hf-navlink {
  color: rgba(245, 235, 228, 0.78);
  font-weight: 500;
}

.hf-navlink:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hf-nav-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hf-nav-auth--login {
  color: var(--hf-nav-text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hf-nav-auth--login:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hf-nav-auth--register {
  background: linear-gradient(135deg, #e65100, #b71c1c);
  color: #fff;
  box-shadow: 0 4px 16px rgba(183, 28, 28, 0.4);
}

.hf-nav-auth--register:hover {
  background: linear-gradient(135deg, #ff6d00, #c62828);
  color: #fff;
  box-shadow: 0 6px 20px rgba(183, 28, 28, 0.5);
}

.hf-nav-menu {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--hf-nav-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.hf-nav-menu:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hf-nav-customer-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hf-nav-customer-mobile:hover,
.hf-nav-customer-mobile:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 109, 0, 0.55);
  transform: scale(1.03);
}

.hf-nav-customer-mobile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

.hf-nav-actions {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
}

.hf-nav-actions-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
}

.hf-nav-actions-trail {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: 0;
}

.hf-brand-mark .hf-mi {
  font-size: 22px;
}

/* Hero v2 */
.hf-hero {
  padding: 0;
  overflow: visible;
}

.hf-hero-shell {
  width: 100%;
  overflow: visible;
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(183, 28, 28, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 20%, rgba(230, 81, 0, 0.28), transparent 50%),
    linear-gradient(145deg, #1a0f0c 0%, #2a1510 35%, #3d2018 65%, #1a100c 100%);
  border-bottom: none;
}

.hf-hero-copy {
  color: #f5ebe4;
}

.hf-hero-title {
  color: #fff;
}

.hf-hero-lead {
  color: rgba(245, 235, 228, 0.82);
}

.hf-pill-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #ffccbc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.hf-trust-item {
  color: rgba(245, 235, 228, 0.75);
}

.hf-trust-item strong {
  color: #fff;
}

.hf-trust-item .hf-mi {
  color: #ffab40;
}

.hf-hero-search {
  background: rgba(255, 250, 246, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.md-btn-filled {
  background: linear-gradient(135deg, #e65100, #b71c1c);
  box-shadow: 0 4px 16px rgba(183, 28, 28, 0.45);
}

.md-btn-filled:hover {
  background: linear-gradient(135deg, #ff6d00, #c62828);
  box-shadow: 0 6px 22px rgba(183, 28, 28, 0.55);
}

.hf-hero-visual-frame {
  aspect-ratio: 4 / 3;
  background: #2a1510;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  width: 100%;
}

.hf-hero-photo--main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hf-hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 15, 12, 0.55) 100%);
  pointer-events: none;
}

.hf-float-card {
  background: rgba(255, 250, 246, 0.96);
  border-color: rgba(183, 28, 28, 0.12);
}

.hf-float-card .hf-mi {
  background: linear-gradient(135deg, #ffccbc, #ffab91);
  color: #b71c1c;
}

.hf-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 4rem);
  overflow: visible;
}

@media (min-width: 992px) {
  .hf-hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: min(72vh, 640px);
  }
}

.hf-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hf-primary-container);
  color: #bf360c;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hf-hero-title {
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hf-hero-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 48ch;
}

.hf-hero-copy .hf-hero-lead {
  color: rgba(255, 248, 245, 0.94) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  font-weight: 450;
  line-height: 1.65;
}

.hf-hero-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  max-width: 480px;
}

.hf-hero-search-icon {
  color: var(--hf-primary);
  flex-shrink: 0;
}

.hf-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 1.5rem;
}

.hf-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--hf-muted);
}

.hf-trust-item .hf-mi {
  color: var(--hf-primary);
  font-size: 20px;
}

.hf-trust-item strong {
  color: var(--hf-text);
  font-weight: 700;
}

.hf-hero-visual {
  position: relative;
  min-height: 280px;
}

.hf-hero-visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--md-elevation-3);
  border: 1px solid var(--hf-border);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ffe0b2, #ffcc80);
}

.hf-hero-illustration {
  display: none;
}

.hf-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  object-fit: cover;
}

/* float cards: see v7 block at end of file */
.hf-float-card--legacy {
  display: none;
}

@keyframes hf-float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Motion */
.hf-animate-in {
  opacity: 0;
  transform: translateY(16px);
  animation: hf-fade-in-up 0.6s cubic-bezier(0.2, 0, 0, 1) forwards;
  animation-delay: var(--hf-delay, 0ms);
}

.hf-reveal.is-visible .hf-animate-in {
  animation-play-state: running;
}

@keyframes hf-fade-in-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Feature strip */
.hf-feature-strip {
  width: 100%;
  background: var(--hf-surface);
  border-bottom: 1px solid var(--hf-border);
  padding-block: 1.25rem;
}

.hf-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .hf-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

.hf-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--hf-radius-md);
  transition: background 0.2s ease;
}

.hf-feature-item:hover {
  background: var(--hf-surface-variant);
}

.hf-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--hf-primary-container);
  color: var(--hf-primary);
}

.hf-feature-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hf-text);
}

.hf-feature-item span:not(.hf-feature-icon) {
  font-size: 0.75rem;
  color: var(--hf-muted);
}

/* Section headers */
.hf-section-head--center {
  text-align: center;
  margin-bottom: 1.75rem;
}

.hf-section-head--center .hf-muted {
  max-width: 42ch;
  margin-inline: auto;
}

.hf-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hf-primary);
  margin-bottom: 0.5rem;
}

.hf-browse-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hf-browse-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hf-browse-area-bar {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}

.hf-browse-area-bar > .hf-mi {
  color: var(--hf-primary);
}

/* Category cards with images */
.hf-cat-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.hf-cat-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hf-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.5rem;
  box-sizing: border-box;
  transition: transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.hf-cat-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(145deg, #fb923c 0%, #ea580c 55%, #c2410c 100%);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  box-shadow:
    0 4px 14px rgba(234, 88, 12, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: help;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  pointer-events: auto;
}

.hf-cat-badge__num {
  display: block;
  font-variant-numeric: tabular-nums;
}

.hf-cat-badge.is-zero {
  background: linear-gradient(145deg, #94a3b8 0%, #64748b 100%);
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.28);
}

.hf-cat-badge.is-low:not(.is-zero) {
  background: linear-gradient(145deg, #fdba74 0%, #f97316 100%);
}

.hf-cat-badge.is-pulse {
  animation: hf-cat-badge-pulse 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hf-cat-badge-pulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.hf-cat-badge__tip {
  display: none !important;
}

.hf-cat-float-tip {
  position: fixed;
  z-index: 10050;
  max-width: min(17.5rem, calc(100vw - 1.5rem));
  padding: 0.625rem 0.8rem;
  border-radius: 0.7rem;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.16s ease;
}

.hf-cat-float-tip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hf-cat-float-tip.is-below {
  transform: translateY(-6px);
}

.hf-cat-float-tip.is-below.is-visible {
  transform: translateY(0);
}

.hf-cat-float-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: var(--hf-tip-arrow-x, 1.25rem);
  transform: translateX(-50%);
  border: 0.4rem solid transparent;
  border-top-color: #0f172a;
}

.hf-cat-float-tip.is-below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #0f172a;
}

@media (max-width: 639px) {
  .hf-cat-float-tip {
    max-width: min(16rem, calc(100vw - 1.25rem));
    padding: 0.7rem 0.85rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.75rem;
  }
}

@media (max-width: 639px) {
  .hf-cat-badge {
    top: 0.35rem;
    right: 0.35rem;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.4rem;
    font-size: 0.6875rem;
    border-width: 1.5px;
  }
}

.hf-cat-card:hover .hf-cat-thumb img {
  transform: scale(1.03);
}

.hf-cat-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hf-cat-card .hf-cat-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--hf-primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hf-cat-card {
  position: relative;
}

.hf-cat-card:hover .hf-cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 639px) {
  .hf-cat-grid {
    gap: 8px;
  }

  .hf-cat-thumb {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .hf-cat-thumb img {
    padding: 0.4rem;
  }

  .hf-cat-body {
    padding: 10px 10px 12px;
    gap: 2px;
  }

  .hf-cat-name {
    font-size: 0.8125rem;
    line-height: 1.25;
  }

  .hf-cat-meta {
    font-size: 0.6875rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hf-cat-card .hf-cat-arrow {
    display: none;
  }
}

.hf-stage-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

/* Provider detail v2 */
.hf-provider-detail {
  padding: 0;
  overflow: hidden;
}

.hf-provider-detail-banner {
  position: relative;
  height: 160px;
  background: var(--hf-surface-variant);
}

.hf-provider-detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hf-provider-detail-banner .hf-provider-detail-photo {
  position: absolute;
  left: 20px;
  bottom: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  box-shadow: var(--md-elevation-2);
}

.hf-provider-detail-head {
  padding: 52px 20px 0;
}

.hf-provider-detail-body {
  padding: 16px 20px 24px;
}

/* How it works rich */
.hf-steps-rich {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hf-step-rich {
  position: relative;
  padding: 14px 10px;
  overflow: hidden;
  text-align: center;
}

.hf-step-rich-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--hf-primary-container);
  color: var(--hf-primary);
  margin: 0 auto 8px;
}

.hf-step-rich-icon .hf-mi {
  font-size: 1.125rem !important;
}

.hf-step-rich-num {
  display: none;
}

.hf-step-rich-title {
  font-size: 0.6875rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.25;
}

.hf-step-rich-text {
  display: none;
}

@media (min-width: 768px) {
  .hf-steps-rich {
    gap: 16px;
  }

  .hf-step-rich {
    padding: 24px 20px;
    text-align: left;
  }

  .hf-step-rich-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin: 0 0 16px;
  }

  .hf-step-rich-icon .hf-mi {
    font-size: 1.5rem !important;
  }

  .hf-step-rich-num {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(230, 81, 0, 0.12);
    line-height: 1;
  }

  .hf-step-rich-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 8px;
  }

  .hf-step-rich-text {
    display: block;
    font-size: 0.875rem;
    color: var(--hf-muted);
    line-height: 1.5;
    margin: 0;
  }
}

/* Areas section */
.hf-areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 992px) {
  .hf-areas-grid { grid-template-columns: 1fr 1fr; }
}

.hf-areas-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--md-elevation-2);
  border: 1px solid var(--hf-border);
}

.hf-areas-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.hf-review-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hf-primary-container);
  color: #bf360c;
  font-size: 0.75rem;
  font-weight: 500;
}

.hf-review-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hf-review-rating .hf-mi {
  font-size: 18px;
  color: #f59e0b;
}

@media (min-width: 1280px) {
  .hf-review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* About section */
.hf-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 992px) {
  .hf-about-grid { grid-template-columns: 1fr 1fr; }
}

.hf-about-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26, 16, 12, 0.18);
  border: 1px solid var(--hf-border);
}

.hf-about-visual img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.hf-about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 12px;
}

.hf-about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--hf-text);
}

.hf-about-list .hf-mi {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffccbc, #ffab91);
  color: #b71c1c;
  flex-shrink: 0;
}

/* Deep theme — sections & cards */
.hf-feature-strip {
  background: linear-gradient(180deg, #2a1814, #1f1210);
  border-bottom: none;
}

.hf-feature-item strong {
  color: #fff;
}

.hf-feature-item span:not(.hf-feature-icon) {
  color: rgba(245, 235, 228, 0.65);
}

.hf-feature-icon {
  background: rgba(255, 171, 64, 0.18);
  color: #ffab40;
}

.hf-feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hf-section {
  background: var(--hf-bg);
}

.hf-section:nth-of-type(even) {
  background: var(--hf-surface-variant);
}

.md-card {
  background: var(--hf-surface);
  border-color: rgba(26, 16, 12, 0.08);
  box-shadow: 0 4px 20px rgba(26, 16, 12, 0.08);
}

.hf-section-label {
  color: #b71c1c;
}

.hf-chip--filter.is-active {
  background: linear-gradient(135deg, #ffccbc, #ffab91);
  border-color: #b71c1c;
  color: #7f0000;
}

/* Category count badge — see .hf-cat-badge rules above cat-card block */

.hf-footer {
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(183, 28, 28, 0.25), transparent 60%),
    linear-gradient(180deg, #140e0c, #0a0605);
  margin-top: 0;
}

.hf-navlink {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.hf-navlink::after {
  display: none;
}

/* Mobile overrides v2 — float cards handled in v7 */

@media (max-width: 575.98px) {
  .hf-hero-grid {
    padding-block: 1.5rem 2rem;
  }
  .hf-hero-visual {
    min-height: 0;
  }
  .hf-feature-grid {
    grid-template-columns: 1fr;
  }
  .hf-hero-search {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .hf-hero-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hf-animate-in,
  .hf-float-card,
  .hf-provider-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── v3: nav fix, art bg, trust badges, contrast ── */

.hf-body {
  background-color: #f0e8df;
  background-image:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(255, 183, 77, 0.22), transparent 50%),
    radial-gradient(ellipse 90% 70% at 100% 10%, rgba(183, 28, 28, 0.12), transparent 45%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 138, 101, 0.15), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23b71c1c' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0zm40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

.hf-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-width: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .hf-nav-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, max-content);
    align-items: center;
  }
}

.hf-navlinks {
  display: none !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .hf-navlinks {
    display: flex !important;
  }

  .hf-nav-mobile-bar,
  .hf-nav-mobile-slider {
    display: none !important;
  }
}

.hf-navlink {
  color: #fff !important;
  font-weight: 600 !important;
  white-space: nowrap;
  opacity: 0.92;
}

.hf-navlink:hover {
  color: #fff !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.14) !important;
}

.hf-nav-mobile-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 10px;
  max-width: min(100%, 1280px);
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hf-nav-mobile-bar::-webkit-scrollbar {
  display: none;
}

.hf-nav-mobile-link {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease;
}

.hf-nav-mobile-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

.hf-nav {
  background: var(--hf-nav-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hf-nav.hf-nav--scrolled {
  background: rgba(20, 14, 12, 0.98) !important;
}

/* Hero promo badges */
.hf-hero-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hf-hero-badges {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hf-promo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hf-promo-badge .hf-mi {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8f00, #e65100);
  color: #fff;
  font-size: 20px;
}

.hf-promo-badge strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.hf-promo-badge span:not(.hf-mi) {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

/* Trust banner */
.hf-trust-banner {
  padding: 16px 0;
  background: linear-gradient(135deg, #fff8f3 0%, #ffe8dc 50%, #fff5ee 100%);
  border-block: 1px solid rgba(183, 28, 28, 0.1);
  position: relative;
  z-index: 1;
}

.hf-trust-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hf-trust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(183, 28, 28, 0.12);
  box-shadow: 0 4px 16px rgba(26, 16, 12, 0.06);
  overflow: hidden;
  text-align: center;
}

.hf-trust-card--highlight {
  background: linear-gradient(135deg, #fff5f0, #ffe8dc);
  border-color: rgba(230, 81, 0, 0.25);
  box-shadow: 0 6px 20px rgba(183, 28, 28, 0.1);
}

.hf-trust-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffccbc, #ffab91);
  color: #b71c1c;
}

.hf-trust-card-icon .hf-mi {
  font-size: 1.125rem !important;
}

.hf-trust-card--highlight .hf-trust-card-icon {
  background: linear-gradient(135deg, #e65100, #b71c1c);
  color: #fff;
}

.hf-trust-card-body {
  min-width: 0;
  width: 100%;
}

.hf-trust-card-title {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 800;
  color: #1a100c;
  line-height: 1.25;
}

.hf-trust-card-text {
  display: none;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4a372f;
}

.hf-trust-card-tag {
  position: static;
  margin-top: 2px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #e65100, #b71c1c);
  color: #fff;
}

@media (min-width: 768px) {
  .hf-trust-banner {
    padding: 28px 0;
  }

  .hf-trust-banner-grid {
    gap: 14px;
  }

  .hf-trust-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    text-align: left;
    box-shadow: 0 8px 28px rgba(26, 16, 12, 0.08);
  }

  .hf-trust-card--highlight {
    box-shadow: 0 12px 32px rgba(183, 28, 28, 0.12);
  }

  .hf-trust-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .hf-trust-card-icon .hf-mi {
    font-size: 1.5rem !important;
  }

  .hf-trust-card-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
  }

  .hf-trust-card-text {
    display: block;
  }

  .hf-trust-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    margin-top: 0;
    padding: 4px 10px;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
  }
}

/* Browse section banner */
.hf-browse-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 21 / 6;
  min-height: 120px;
  max-height: 220px;
  box-shadow: 0 12px 40px rgba(26, 16, 12, 0.15);
  border: 1px solid rgba(26, 16, 12, 0.08);
}

.hf-browse-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hf-browse-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 20%, rgba(26, 15, 12, 0.72) 100%);
}

.hf-browse-banner-label {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Text & icon contrast fixes */
.hf-h2 {
  color: #1a100c !important;
}

.hf-muted {
  color: #4a372f !important;
}

.hf-section-label {
  color: #b71c1c !important;
  font-weight: 700;
}

.hf-browse-area-label {
  color: #3d302a !important;
  font-weight: 600;
}

.hf-chip {
  color: #1a100c !important;
  background: #fff !important;
  border-color: rgba(26, 16, 12, 0.14) !important;
  font-weight: 600;
}

.hf-cat-name {
  color: #1a100c !important;
  font-weight: 700 !important;
}

.hf-cat-meta {
  color: #4a372f !important;
}

.hf-cat-thumb {
  min-height: 140px;
  background: #fff8f5;
}

.hf-cat-thumb img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.5rem;
  box-sizing: border-box;
}

.md-card {
  color: #1a100c;
}

.hf-hero-select {
  color: #1a100c !important;
  font-weight: 600;
}

.hf-hero-search-icon {
  color: #b71c1c !important;
}

.hf-browse-area-bar .hf-mi {
  color: #b71c1c !important;
}

@media (max-width: 639px) {
  .hf-browse-banner {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}

/* ── v4: auth icons, readability, English content support ── */

.material-symbols-rounded {
  font-family: "Material Symbols Rounded", sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.hf-nav-auth {
  gap: 6px;
}

.hf-nav-auth .hf-mi {
  font-size: 18px;
  line-height: 1;
}

.hf-nav-auth--login .hf-mi {
  color: #ffccbc;
}

.hf-nav-auth--register .hf-mi {
  color: #fff;
}

@media (max-width: 1023.98px) {
  .hf-nav-auth--login,
  .hf-nav-auth--register {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .hf-nav-auth--login,
  .hf-nav-auth--register {
    display: inline-flex !important;
  }
}

.hf-body {
  background-color: #faf6f2;
  background-image:
    radial-gradient(ellipse 100% 60% at 0% 0%, rgba(255, 183, 77, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(183, 28, 28, 0.08), transparent 50%);
  background-attachment: scroll;
}

.hf-main {
  background: #faf6f2;
}

.hf-section {
  background: #fffcfa !important;
  color: #1a100c;
}

.hf-section:nth-of-type(even) {
  background: #fff7f2 !important;
}

.hf-trust-banner {
  background: #fff7f2 !important;
}

.hf-muted {
  color: #2d211c !important;
  font-size: 1rem;
  line-height: 1.65;
}

.hf-h2 {
  color: #120a08 !important;
}

.hf-section-label {
  color: #9a1b0d !important;
}

.hf-step-rich-title,
.hf-step-rich-text,
.hf-review-name,
.hf-review-text,
.hf-review-city,
.hf-about-list li,
.hf-provider-detail-name,
.hf-provider-detail-bio,
.hf-provider-detail-cat,
.hf-stage-title,
.hf-stage-sub,
.hf-detail-label,
.hf-detail-value,
.hf-provider-name,
.hf-provider-meta,
.hf-trust-card-text {
  color: #2d211c !important;
}

.hf-step-rich-title,
.hf-provider-detail-name,
.hf-stage-title,
.hf-review-name,
.hf-cat-name {
  color: #120a08 !important;
}

.hf-detail-label {
  color: #5c4a42 !important;
  font-weight: 600;
}

.hf-detail-value,
.hf-detail-phone {
  color: #120a08 !important;
  font-weight: 700;
}

.hf-detail-phone {
  color: #b71c1c !important;
}

.hf-feature-item strong {
  color: #fff !important;
}

.hf-feature-item span:not(.hf-feature-icon) {
  color: rgba(255, 245, 240, 0.9) !important;
}

.hf-promo-badge strong {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hf-promo-badge span:not(.hf-mi) {
  color: rgba(255, 255, 255, 0.88) !important;
}

.hf-trust-item {
  color: rgba(255, 250, 246, 0.9) !important;
}

.hf-trust-item strong {
  color: #fff !important;
}

.hf-starval {
  color: #120a08 !important;
  font-weight: 700;
}

.hf-star--on {
  color: #e65100 !important;
}

.md-card {
  background: #ffffff !important;
  color: #1a100c !important;
  border-color: rgba(26, 16, 12, 0.1) !important;
}

.hf-chip--filter.is-active {
  background: #b71c1c !important;
  border-color: #7f0000 !important;
  color: #fff !important;
}

.hf-browse-back {
  color: #b71c1c !important;
  font-weight: 600;
}

/* ── v5: icon alignment, mobile nav slider, bottom dock ── */

.hf-icon-box {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
}

.material-symbols-rounded.hf-mi {
  font-size: 22px;
  width: 24px;
  height: 24px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  vertical-align: middle;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.hf-nav-auth,
.hf-promo-badge,
.hf-trust-item,
.hf-detail-item,
.hf-feature-item {
  align-items: center;
}

.hf-nav-auth .hf-mi {
  font-size: 20px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hf-promo-badge .hf-mi {
  width: 38px !important;
  height: 38px !important;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8f00, #e65100);
  color: #fff;
  font-size: 22px !important;
}

.hf-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hf-trust-item .hf-mi {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 20px !important;
  color: #ffb74d;
}

/* Mobile icon slider — hidden (use bottom tabs + hamburger menu instead) */
.hf-nav-mobile-slider,
.hf-nav-mobile-bar {
  display: none !important;
}

.hf-nav-mobile-slider {
  position: relative;
  padding-bottom: 12px;
}

.hf-nav-mobile-slider::before,
.hf-nav-mobile-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 12px;
  width: 28px;
  z-index: 2;
  pointer-events: none;
}

.hf-nav-mobile-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(20, 14, 12, 1), rgba(20, 14, 12, 0));
}

.hf-nav-mobile-slider::after {
  right: 0;
  background: linear-gradient(270deg, rgba(20, 14, 12, 1), rgba(20, 14, 12, 0));
}

.hf-nav-mobile-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px clamp(1rem, 4vw, 2rem) 2px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hf-nav-mobile-track::-webkit-scrollbar {
  display: none;
}

.hf-nav-mobile-chip {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 18px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hf-nav-mobile-chip:active {
  transform: scale(0.94);
}

.hf-nav-mobile-chip.is-active {
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 143, 0, 0.55), rgba(183, 28, 28, 0.45));
  border-color: rgba(255, 183, 77, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hf-nav-mobile-chip .hf-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffccbc;
}

.hf-nav-mobile-chip.is-active .hf-icon-box {
  background: linear-gradient(135deg, #ffb74d, #e65100);
  color: #fff;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.4);
}

.hf-nav-mobile-chip .hf-mi {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

.hf-nav-mobile-chip-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .hf-nav-mobile-slider {
    display: none !important;
  }
}

/* Bottom dock navigation — mobile only */
@media (min-width: 1024px) {
  .hf-bottomtabs {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 1023.98px) {
  .hf-bottomtabs {
    display: block !important;
    position: fixed !important;
    z-index: 1040 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    background: rgba(20, 14, 12, 0.98) !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35) !important;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-sizing: border-box;
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    will-change: transform, opacity;
  }

  body.hf-menu-open .hf-bottomtabs {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }

  .hf-bottomtab-indicator {
    position: absolute;
    bottom: calc(4px + env(safe-area-inset-bottom, 0px));
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffb74d, #ff6d00);
    box-shadow: 0 0 10px rgba(255, 109, 0, 0.5);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), width 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    opacity: 0;
    z-index: 3;
    pointer-events: none;
  }

  .hf-bottomtabs::before {
    display: none;
  }

  .hf-bottomtabs-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 2px;
  }

  .hf-bottomtab {
    position: relative;
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 0 2px !important;
    min-height: 52px;
    max-height: 52px;
    border: 0;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.625rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none !important;
    transition: color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    appearance: none;
    cursor: pointer;
    user-select: none;
  }

  .hf-bottomtab-icon-wrap {
    width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    transition: background 0.28s ease, box-shadow 0.28s ease, color 0.25s ease;
  }

  .hf-bottomtab .hf-mi {
    font-size: 21px !important;
    width: 21px;
    height: 21px;
    color: inherit;
  }

  .hf-bottomtab-label {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 1px;
  }

  .hf-bottomtab.is-active {
    color: #fff !important;
  }

  .hf-bottomtab.is-active .hf-bottomtab-icon-wrap {
    background: linear-gradient(145deg, #ffb74d, #e65100, #b71c1c);
    box-shadow: 0 4px 14px rgba(183, 28, 28, 0.45);
    transform: none;
    color: #fff;
  }

  .hf-bottomtab:active .hf-bottomtab-icon-wrap {
    transform: scale(0.94);
  }

  .hf-bottomtab--menu[aria-expanded="true"] {
    color: #fff !important;
  }

  .hf-bottomtab--menu[aria-expanded="true"] .hf-bottomtab-icon-wrap {
    background: linear-gradient(145deg, #ff8f00, #b71c1c);
    box-shadow: 0 4px 14px rgba(183, 28, 28, 0.4);
  }
}

@media (max-width: 380px) {
  .hf-bottomtab-icon-wrap {
    width: 32px;
    height: 28px;
  }

  .hf-bottomtab .hf-mi {
    font-size: 19px !important;
    width: 19px;
    height: 19px;
  }

  .hf-bottomtab-label {
    font-size: 0.5rem;
  }

  .hf-bottomtab {
    min-height: 48px;
    max-height: 48px;
  }
}

/* ── v6: mobile menu drawer redesign ── */
.hf-mobile-nav .hf-mobile-backdrop {
  background: rgba(8, 5, 4, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.hf-mobile-nav.is-open .hf-mobile-backdrop {
  opacity: 1;
}

.hf-mobile-nav .hf-mobile-sheet {
  width: min(92vw, 380px);
  max-width: 100%;
  height: 100dvh;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px 0 0 24px;
  background:
    radial-gradient(ellipse 120% 50% at 100% 0%, rgba(255, 143, 0, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 40% at 0% 100%, rgba(183, 28, 28, 0.18), transparent 50%),
    linear-gradient(180deg, #1a100c 0%, #140e0c 100%);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hf-mobile-nav.is-open .hf-mobile-sheet,
.hf-mobile-nav .hf-mobile-sheet.is-open {
  transform: translateX(0);
}

.hf-mobile-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  margin: calc(10px + env(safe-area-inset-top, 0px)) auto 0;
}

.hf-mobile-nav .hf-mobile-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hf-mobile-nav .hf-mobile-sheet-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hf-mobile-nav .hf-mobile-sheet-sub {
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 235, 228, 0.65);
}

.hf-mobile-nav .hf-brand-mark--mobile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: transparent;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.28);
}

.hf-mobile-nav .hf-mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.hf-mobile-nav .hf-mobile-close:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.14);
}

.hf-mobile-nav .hf-mobile-sheet-body {
  padding: 16px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  height: calc(100dvh - 120px - env(safe-area-inset-top, 0px));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.hf-mobile-nav .hf-mobile-panel-label {
  margin-bottom: 10px;
  color: rgba(255, 183, 77, 0.9);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hf-mobile-nav .hf-mobile-panel-label--actions {
  margin-top: 20px;
}

.hf-mobile-nav .hf-mobile-nav-list {
  display: grid;
  gap: 8px;
}

.hf-mobile-nav .hf-mnav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.2s ease;
}

.hf-mobile-nav .hf-mnav-item:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.1);
}

.hf-mobile-nav .hf-mnav-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 143, 0, 0.35), rgba(183, 28, 28, 0.3));
  color: #ffccbc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hf-mobile-nav .hf-mnav-copy {
  flex: 1;
  min-width: 0;
}

.hf-mobile-nav .hf-mnav-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hf-mobile-nav .hf-mnav-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: rgba(255, 235, 228, 0.55);
}

.hf-mobile-nav .hf-mnav-arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 20px;
  flex-shrink: 0;
}

.hf-mobile-nav .hf-mobile-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hf-mobile-nav .hf-mobile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hf-mobile-nav .hf-mobile-action:active {
  transform: scale(0.97);
}

.hf-mobile-nav .hf-mobile-action--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hf-mobile-nav .hf-mobile-action--primary {
  background: linear-gradient(135deg, #e65100, #b71c1c);
  color: #fff;
  box-shadow: 0 6px 20px rgba(183, 28, 28, 0.45);
}

.hf-mobile-nav.is-open .hf-mnav-item {
  animation: hf-mnav-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hf-mobile-nav.is-open .hf-mnav-item:nth-child(1) { animation-delay: 0.04s; }
.hf-mobile-nav.is-open .hf-mnav-item:nth-child(2) { animation-delay: 0.08s; }
.hf-mobile-nav.is-open .hf-mnav-item:nth-child(3) { animation-delay: 0.12s; }
.hf-mobile-nav.is-open .hf-mnav-item:nth-child(4) { animation-delay: 0.16s; }

@keyframes hf-mnav-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section scroll highlight */
.hf-section-focus,
#top.hf-section-focus,
.hf-hero.hf-section-focus {
  animation: hf-section-pulse 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hf-hero.hf-section-focus {
  animation-name: hf-hero-pulse;
}

@keyframes hf-hero-pulse {
  0% {
    box-shadow: inset 0 0 0 0 rgba(255, 183, 77, 0);
  }
  40% {
    box-shadow: inset 0 0 0 4px rgba(255, 183, 77, 0.35);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(255, 183, 77, 0);
  }
}

@keyframes hf-section-pulse {
  0% {
    box-shadow: inset 0 0 0 0 rgba(230, 81, 0, 0);
  }
  35% {
    box-shadow: inset 0 0 0 3px rgba(230, 81, 0, 0.28);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(230, 81, 0, 0);
  }
}

@media (max-width: 1023.98px) {
  html {
    scroll-padding-top: calc(var(--hf-nav-offset, 72px));
  }

  .hf-body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .hf-nav-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    width: 100%;
  }

  .hf-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 11.5rem);
  }

  .hf-brand-text {
    min-width: 0;
  }

  .hf-brand-name,
  .hf-brand-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hf-navlinks {
    display: none !important;
  }

  .hf-nav-actions {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .hf-nav-actions-main {
    display: none;
  }

  .hf-nav-actions-trail {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    flex-shrink: 0;
  }

  .hf-nav-menu {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    flex-shrink: 0;
  }

  body[data-hf-customer-auth="true"] .hf-nav-menu {
    display: none !important;
  }

  body[data-hf-customer-auth="true"] .hf-nav-customer-mobile:not(.hidden) {
    display: inline-flex !important;
  }

  .hf-nav-menu .hf-mi {
    font-size: 24px;
    width: 24px;
    height: 24px;
    line-height: 1;
  }

  .hf-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
  }
}

@media (min-width: 1024px) {
  .hf-body {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 1023.98px) {
  .hf-bottomtabs.hf-bottomtabs--mobile {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
  }
}

/* ── v7: scroll anchors, hero SaaS animation, float cards ── */
html {
  scroll-behavior: auto !important;
  scroll-padding-top: 0 !important;
}

.hf-navlink,
.hf-mnav-item,
.hf-bottomtab,
.hf-footer-link {
  touch-action: manipulation;
}

.hf-hero#top,
#browse,
#about-head,
#contact-head {
  scroll-margin-top: 0;
}

.hf-section[id] {
  scroll-margin-top: 0;
}

#contact {
  scroll-margin-bottom: 0;
}

.hf-hero-copy {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.hf-hero-copy::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -20px;
  width: min(320px, 80%);
  height: 200px;
  background: radial-gradient(circle, rgba(255, 143, 0, 0.22), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hf-pill-badge {
  animation: hf-fade-in-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hf-delay, 0ms);
}

/* ── v9: hero title SaaS animation + search bar redesign ── */
.hf-hero-title--saas {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  margin: 0 0 1rem;
  overflow: visible;
}

.hf-hero-title--saas .hf-hero-title-line--2,
.hf-hero-title--saas .hf-hero-title-line:last-child {
  display: block !important;
}

.hf-hero-title-line {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@keyframes hf-title-line-in {
  from {
    opacity: 0;
    transform: translateY(110%);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hf-title-glow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 12px rgba(255, 143, 0, 0.45)); }
}

.hf-hero-title-accent {
  display: inline-block;
  color: #ffb74d;
  background: linear-gradient(105deg, #fff8e1 0%, #ffb74d 30%, #ff8f00 55%, #ff5252 80%, #ffe082 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hf-title-shimmer 4s ease-in-out infinite;
}

@supports not (background-clip: text) {
  .hf-hero-title-accent {
    color: #ffb74d;
    -webkit-text-fill-color: currentColor;
  }
}

@keyframes hf-title-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hf-hero-title-line--1 {
  animation: hf-title-line-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hf-hero-title-line--2 {
  animation: hf-title-line-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
  overflow: visible;
}

.hf-hero-title-line--accent {
  animation: hf-title-glow 3s ease-in-out 1.2s infinite;
  overflow: visible;
}

@media (max-width: 639px) {
  .hf-hero-title-line--accent {
    animation: none;
    filter: none;
  }
}

.hf-hero-copy .hf-hero-search,
.hf-hero-copy .hf-hero-search.md-card {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  padding: 8px !important;
  border-radius: 20px !important;
  background: rgba(255, 252, 250, 0.98) !important;
  border: 1px solid rgba(255, 183, 77, 0.4) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.hf-hero-search-field {
  flex: 1 1 200px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 10px 8px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f2 100%) !important;
  border: 1.5px solid rgba(183, 28, 28, 0.2) !important;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-hero-search-field:focus-within {
  border-color: rgba(230, 81, 0, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.2);
}

.hf-hero-search-icon-wrap {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffe0b2, #ffcc80);
  flex-shrink: 0;
}

.hf-hero-search-icon {
  color: #bf360c !important;
  font-size: 22px !important;
  width: 22px;
  height: 22px;
  line-height: 1;
}

.hf-hero-search-field-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
  gap: 1px;
}

.hf-hero-field-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a1b0d;
  line-height: 1.2;
}

.hf-hero-select {
  width: 100%;
  border: 0;
  background: transparent !important;
  color: #1a100c !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  line-height: 1.3;
}

.hf-hero-select-chevron-wrap {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(183, 28, 28, 0.08);
  flex-shrink: 0;
}

.hf-hero-select-chevron {
  color: #b71c1c !important;
  font-size: 24px !important;
  width: 24px;
  height: 24px;
  line-height: 1;
  pointer-events: none;
}

.hf-hero-cta {
  flex: 1 1 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8f00 0%, #e65100 45%, #b71c1c 100%) !important;
  color: #fff !important;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(183, 28, 28, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.hf-hero-cta-icon {
  font-size: 22px !important;
  width: 22px;
  height: 22px;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hf-hero-cta-text {
  line-height: 1;
}

.hf-hero-copy .md-btn-filled.hf-hero-cta {
  background: linear-gradient(135deg, #ff8f00 0%, #e65100 45%, #b71c1c 100%) !important;
  color: #fff !important;
}

@media (max-width: 575.98px) {
  .hf-hero-copy .hf-hero-search {
    flex-direction: column;
    padding: 10px !important;
    border-radius: 18px !important;
    max-width: none;
  }

  .hf-hero-search-field {
    width: 100%;
    min-height: 52px;
  }

  .hf-hero-cta {
    width: 100%;
    min-height: 50px;
  }
}

.hf-hero-select option {
  color: #1a100c;
  background: #fff;
}

.hf-hero-cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(183, 28, 28, 0.55);
  transform: translateY(-1px);
}

.hf-hero-cta:active {
  transform: translateY(0) scale(0.98);
}

.hf-animate-in {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  animation: hf-saas-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hf-delay, 0ms);
}

@keyframes hf-saas-in {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hf-hero-visual {
  position: relative;
  min-height: 0;
}

.hf-hero-visual-frame {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hf-hero-photo--main,
.hf-hero-visual-frame .hf-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hf-hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 15, 12, 0.08) 0%, transparent 42%),
    linear-gradient(0deg, rgba(26, 15, 12, 0.82) 0%, rgba(26, 15, 12, 0.2) 45%, transparent 70%);
  pointer-events: none;
}

/* hide legacy float cards */
.hf-float-cards,
.hf-hero-visual > .hf-float-card {
  display: none !important;
}

/* ── v8: hero stat dock (new design) ── */
.hf-hero-dock {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  pointer-events: none;
}

.hf-hero-stat {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 6px;
  border-radius: 16px;
  background: rgba(20, 14, 12, 0.62);
  border: 1px solid rgba(255, 183, 77, 0.32);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  animation: hf-stat-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hf-stat-delay, 0ms);
}

.hf-hero-stat-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #ffb74d 0%, #ff8f00 45%, #e65100 100%);
  color: #fff;
  font-size: 19px !important;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.45);
}

.hf-hero-stat-text {
  min-width: 0;
  width: 100%;
}

.hf-hero-stat-text strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hf-hero-stat-text span {
  display: block;
  margin-top: 2px;
  font-size: 0.5625rem;
  font-weight: 500;
  color: rgba(255, 235, 228, 0.78);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes hf-stat-pop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hf-stat-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (min-width: 992px) {
  .hf-hero-visual {
    min-height: 360px;
  }

  .hf-hero-dock {
    inset: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    gap: 0;
  }

  .hf-hero-stat {
    position: absolute;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    max-width: 190px;
    padding: 12px 14px;
    text-align: left;
    border-radius: 18px;
    animation: hf-stat-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--hf-stat-delay, 0ms);
  }

  .hf-hero-stat-icon {
    width: 40px;
    height: 40px;
    font-size: 22px !important;
    border-radius: 12px;
  }

  .hf-hero-stat-text strong {
    font-size: 0.8125rem;
  }

  .hf-hero-stat-text span {
    font-size: 0.6875rem;
    white-space: normal;
  }

  .hf-hero-stat--1 { top: 7%; left: 3%; }
  .hf-hero-stat--2 { top: 38%; right: 3%; left: auto; }
  .hf-hero-stat--3 { bottom: 7%; left: 5%; top: auto; }
}

@media (max-width: 991.98px) {
  .hf-hero-visual:has(> .hf-float-cards) {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .hf-hero-grid {
    padding-block: 1.25rem 1.5rem;
  }

  .hf-hero-dock {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 6px;
  }

  .hf-hero-stat {
    padding: 8px 4px;
    border-radius: 13px;
    gap: 5px;
  }

  .hf-hero-stat-icon {
    width: 28px;
    height: 28px;
    font-size: 16px !important;
    border-radius: 9px;
  }

  .hf-hero-stat-text strong {
    font-size: 0.625rem;
  }

  .hf-hero-stat-text span {
    font-size: 0.5rem;
  }
}

@media (max-width: 380px) {
  .hf-hero-stat-text span {
    display: none;
  }

  .hf-hero-stat {
    padding: 7px 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hf-bottomtabs,
  .hf-mobile-nav .hf-mobile-sheet,
  .hf-mobile-nav .hf-mobile-backdrop {
    transition: none !important;
  }

  .hf-mobile-nav.is-open .hf-mnav-item {
    animation: none !important;
  }

  .hf-bottomtab-indicator,
  .hf-bottomtab-icon-wrap,
  .hf-nav-mobile-chip,
  .hf-hero-title-accent,
  .hf-hero-stat,
  .hf-float-card,
  .hf-animate-in,
  .hf-hero-bar-panel,
  .hf-hero-bar-chevron .hf-mi {
    animation: none !important;
    transition: none !important;
    filter: none !important;
  }

  .hf-hero-bar-field.is-open .hf-hero-bar-panel,
  .hf-hero-bar-picker.is-open .hf-hero-bar-panel {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .hf-hero-bar-field.is-open .hf-hero-bar-chevron .hf-mi,
  .hf-hero-bar-picker.is-open .hf-hero-bar-chevron .hf-mi {
    transform: rotate(180deg);
  }

  .hf-section-focus,
  #top.hf-section-focus {
    animation: none;
  }
}

/* ── v10: hero search bar (hf-hero-bar) + mobile title fix ── */
.hf-hero-actions {
  width: 100%;
  max-width: 540px;
  position: relative;
  z-index: 30;
  overflow: visible;
}

.hf-hero-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 31;
  overflow: visible;
}

.hf-hero-bar-picker {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 32;
}

.hf-hero-bar-field {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 0;
  min-height: 54px;
  padding: 0 10px 0 8px;
  margin: 0;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid rgba(230, 81, 0, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  cursor: default;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: visible;
}

.hf-hero-bar-picker.is-open .hf-hero-bar-field {
  border-color: #e65100;
  box-shadow: 0 0 0 4px rgba(255, 143, 0, 0.16);
}

.hf-hero-bar-field:focus-within {
  border-color: #e65100;
  box-shadow: 0 0 0 4px rgba(255, 143, 0, 0.2);
}

.hf-hero-bar-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe0b2, #ffab40);
  flex-shrink: 0;
}

.hf-hero-bar-icon .hf-mi {
  font-size: 22px !important;
  width: 22px;
  height: 22px;
  color: #bf360c !important;
  line-height: 1;
}

.hf-hero-bar-control {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 6px;
  gap: 2px;
}

.hf-hero-bar-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a1b0d;
  line-height: 1;
}

.hf-hero-bar-select {
  width: 100%;
  border: 0;
  background: transparent !important;
  color: #1a100c !important;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: default;
  outline: none;
  line-height: 1.25;
}

.hf-hero-bar-select--native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hf-hero-bar-value {
  display: block;
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a100c;
  line-height: 1.25;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hf-hero-bar-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px;
  max-height: min(320px, 58vh);
  background: #ffffff;
  border: 2px solid rgba(230, 81, 0, 0.28);
  border-radius: 16px;
  box-shadow:
    0 4px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 40px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(26, 16, 12, 0.06);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transform-origin: top center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.hf-hero-bar-panel.is-flip-up {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(6px);
  transform-origin: bottom center;
}

.hf-hero-bar-picker.is-open .hf-hero-bar-panel {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.hf-hero-bar-picker.is-open .hf-hero-bar-panel.is-flip-up {
  transform: translateY(0);
}

.hf-hero-bar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #fff7f2;
  border: 1.5px solid rgba(230, 81, 0, 0.2);
}

.hf-hero-bar-search:focus-within {
  border-color: #e65100;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.16);
}

.hf-hero-bar-search-icon {
  font-size: 18px !important;
  width: 18px;
  height: 18px;
  color: #bf360c !important;
  flex-shrink: 0;
}

.hf-hero-bar-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #1a100c;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0;
  outline: none;
}

.hf-hero-bar-search-input::placeholder {
  color: rgba(26, 16, 12, 0.45);
  font-weight: 500;
}

.hf-hero-bar-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.hf-hero-bar-list {
  position: static;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: min(220px, 42vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.hf-hero-bar-list::-webkit-scrollbar {
  width: 6px;
}

.hf-hero-bar-list::-webkit-scrollbar-thumb {
  background: rgba(183, 28, 28, 0.25);
  border-radius: 999px;
}

.hf-hero-bar-picker.is-open {
  z-index: 1200;
}

html.hf-area-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.hf-area-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (max-width: 639px) {
  body.hf-area-open {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    touch-action: none;
  }

  body.hf-area-open .hf-hero-bar-list {
    touch-action: pan-y;
    overscroll-behavior: contain;
  }
}

.hf-hero-bar-option {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a100c;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #ffffff;
}

.hf-hero-bar-option[hidden] {
  display: none !important;
}

.hf-hero-bar-empty {
  margin: 0;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(26, 16, 12, 0.55);
  background: #fff;
}

.hf-hero-bar-option:hover {
  background: rgba(255, 143, 0, 0.12);
  color: #bf360c;
}

.hf-hero-bar-option.is-active,
.hf-hero-bar-option[aria-selected="true"] {
  background: rgba(230, 81, 0, 0.14);
  color: #bf360c;
  font-weight: 700;
}

.hf-hero-bar-chevron {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(183, 28, 28, 0.1);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hf-hero-bar-chevron .hf-mi {
  font-size: 22px !important;
  width: 22px;
  height: 22px;
  color: #b71c1c !important;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.hf-hero-bar-chevron:hover {
  background: rgba(183, 28, 28, 0.18);
}

.hf-hero-bar-chevron:active {
  transform: scale(0.94);
}

.hf-hero-bar-chevron:focus-visible {
  outline: 2px solid #e65100;
  outline-offset: 2px;
}

.hf-hero-bar-picker.is-open .hf-hero-bar-chevron {
  background: rgba(183, 28, 28, 0.2);
}

.hf-hero-bar-picker.is-open .hf-hero-bar-chevron .hf-mi {
  transform: rotate(180deg);
}

.hf-hero-bar-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff8f00, #e65100, #b71c1c) !important;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(183, 28, 28, 0.4);
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hf-hero-bar-btn-icon {
  font-size: 20px !important;
  width: 20px;
  height: 20px;
  color: #fff !important;
  flex-shrink: 0;
}

.hf-hero-bar-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.hf-hero-bar-btn:active {
  transform: scale(0.98);
}

.hf-hero-bar-select option {
  color: #1a100c;
  background: #fff;
}

@media (max-width: 639px) {
  .hf-hero-title--saas {
    overflow: visible;
  }

  .hf-hero-title--saas .hf-hero-title-line--2 {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hf-hero-title-line {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .hf-hero-actions,
  .hf-hero-bar {
    max-width: none;
  }

  .hf-hero-bar {
    flex-direction: column;
    gap: 8px;
  }

  .hf-hero-bar-picker {
    width: 100%;
  }

  .hf-hero-bar-field {
    width: 100%;
    min-height: 52px;
  }

  .hf-hero-bar-panel {
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px;
    border-radius: 14px;
  }

  .hf-hero-bar-btn {
    width: 100%;
    min-height: 50px;
    font-size: 0.9375rem;
  }

  .hf-hero-bar-select {
    font-size: 16px;
  }

  .hf-hero-bar-value {
    font-size: 16px;
  }

  .hf-hero-bar-search {
    min-height: 44px;
    padding: 0 10px;
  }

  .hf-hero-bar-search-input {
    font-size: 16px;
  }

  .hf-hero-bar-list {
    max-height: min(200px, 38vh);
  }

  .hf-hero-bar-option {
    padding: 12px 10px;
    font-size: 0.9375rem;
  }

  .hf-hero-bar-chevron {
    width: 36px;
    height: 36px;
  }

  /* v11: promo badges — single compact row on mobile */
  .hf-hero-badges {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 1rem;
  }

  .hf-promo-badge {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 4px;
    padding: 7px 4px;
    border-radius: 10px;
    min-width: 0;
  }

  .hf-promo-badge .hf-mi {
    width: 24px;
    height: 24px;
    font-size: 14px;
    border-radius: 7px;
  }

  .hf-promo-badge strong {
    font-size: clamp(0.5rem, 2.6vw, 0.625rem);
    line-height: 1.15;
    word-break: break-word;
  }

  .hf-promo-badge span:not(.hf-mi) {
    display: none;
  }

  /* v12: feature strip — single compact row on mobile */
  .hf-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px;
  }

  .hf-feature-item {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 4px;
    padding: 7px 3px;
    min-width: 0;
  }

  .hf-feature-icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
    border-radius: 7px;
  }

  .hf-feature-icon .hf-mi {
    font-size: 14px !important;
    width: 14px;
    height: 14px;
  }

  .hf-feature-item strong {
    font-size: clamp(0.5rem, 2.4vw, 0.625rem);
    line-height: 1.15;
    word-break: break-word;
  }

  .hf-feature-item span:not(.hf-feature-icon) {
    display: none;
  }
}

@media (min-width: 640px) {
  .hf-hero-bar-picker.is-open .hf-hero-bar-panel {
    box-shadow:
      0 4px 0 rgba(255, 255, 255, 0.95) inset,
      0 20px 48px rgba(0, 0, 0, 0.24),
      0 0 0 1px rgba(26, 16, 12, 0.06);
  }

  .hf-hero-bar-list {
    max-height: min(260px, 50vh);
  }
}

/* ── v13: contact section ── */
.hf-contact {
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
  border-top: 1px solid rgba(183, 28, 28, 0.08);
  padding-block: clamp(2rem, 5vw, 3rem);
}

.hf-contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hf-contact-head {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.hf-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hf-contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.hf-contact-info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(183, 28, 28, 0.1);
  box-shadow: 0 4px 16px rgba(26, 16, 12, 0.05);
}

.hf-contact-info-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe0b2, #ffab40);
  color: #bf360c;
  font-size: 20px;
  flex-shrink: 0;
}

.hf-contact-info-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a100c;
  margin-bottom: 2px;
}

.hf-contact-info-card span,
.hf-contact-info-card a {
  display: block;
  font-size: 0.8125rem;
  color: #4a372f;
  text-decoration: none;
}

.hf-contact-info-card a:hover {
  color: #b71c1c;
}

.hf-contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(183, 28, 28, 0.12);
  box-shadow: 0 8px 28px rgba(26, 16, 12, 0.08);
}

.hf-contact-field {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7f2;
  border: 1.5px solid rgba(230, 81, 0, 0.18);
  cursor: text;
}

.hf-contact-field:focus-within {
  border-color: #e65100;
  box-shadow: 0 0 0 3px rgba(255, 143, 0, 0.14);
  background: #fff;
}

.hf-contact-field-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffe0b2, #ffab40);
  color: #bf360c;
  font-size: 20px;
  margin-top: 2px;
}

.hf-contact-field-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hf-contact-field-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a1b0d;
}

.hf-contact-input,
.hf-contact-textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: #1a100c;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0;
  outline: none;
  resize: vertical;
  min-height: 24px;
}

.hf-contact-textarea {
  min-height: 88px;
  line-height: 1.45;
}

.hf-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8f00, #e65100, #b71c1c);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(183, 28, 28, 0.35);
}

.hf-contact-submit .hf-mi {
  font-size: 20px;
  color: #fff;
}

.hf-contact-feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.hf-contact-feedback.is-success {
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
}

.hf-contact-feedback.is-error {
  background: rgba(183, 28, 28, 0.1);
  color: #b71c1c;
}

@media (min-width: 768px) {
  .hf-contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 1.25rem;
    align-items: start;
  }

  .hf-contact-head {
    text-align: left;
    margin-inline: 0;
  }
}

@media (max-width: 639px) {
  .hf-contact-input,
  .hf-contact-textarea {
    font-size: 16px;
  }
}

/* ── Auth v2: login / register (page + overlay) ── */
body.hf-auth-open {
  overflow: hidden;
}

.hf-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.hf-auth-overlay:not(.hidden) {
  pointer-events: auto;
}

.hf-auth-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.hf-auth-overlay.is-open .hf-auth-overlay-backdrop {
  opacity: 1;
}

.hf-auth-overlay-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  max-height: min(92dvh, 760px);
  background: #f8fafc;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -16px 56px rgba(2, 6, 23, 0.2);
  transform: translateY(105%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hf-auth-overlay.is-open .hf-auth-overlay-sheet {
  transform: translateY(0);
}

.hf-auth-overlay-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.25rem;
  flex-shrink: 0;
}

.hf-auth-overlay-toolbar-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 900;
  color: #0f172a;
}

.hf-auth-overlay-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.07);
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hf-auth-overlay-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
}

.hf-auth2-page {
  padding: 0.35rem 0 1.25rem;
}

.hf-auth2-page-wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
}

.hf-auth2-layout,
.hf-auth2--page {
  width: 100%;
}

.hf-auth2--page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: #fff;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.12);
}

.hf-auth2-aside {
  display: none;
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hf-auth2-aside-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hf-auth2-aside-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.72) 70%, rgba(15, 23, 42, 0.9) 100%),
    linear-gradient(135deg, rgba(249, 115, 22, 0.32), rgba(239, 68, 68, 0.2));
}

.hf-auth2-aside-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 2.25rem;
  color: #fff;
}

.hf-auth2-aside-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hf-auth2-aside-title {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
}

.hf-auth2-aside-text {
  margin: 0.75rem 0 0;
  max-width: 36ch;
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hf-auth2-aside-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.hf-auth2-aside-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.hf-auth2-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hf-auth2-hero {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  flex-shrink: 0;
  isolation: isolate;
  border-radius: 16px;
}

.hf-auth2-hero--overlay {
  min-height: 118px;
  margin: 0 0.85rem 0.65rem;
}

.hf-auth2-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hf-auth2-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hf-auth-hero-img-zoom 14s ease-in-out infinite alternate;
}

.hf-auth2-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(15, 23, 42, 0.88) 0%, rgba(124, 45, 18, 0.72) 42%, rgba(234, 88, 12, 0.55) 100%);
  background-size: 220% 220%;
  animation: hf-auth-hero-gradient 10s ease infinite;
}

.hf-auth2-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 14% 28%, rgba(255, 255, 255, 0.28) 0, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 88% 10%, rgba(251, 146, 60, 0.35) 0, rgba(251, 146, 60, 0) 40%);
  pointer-events: none;
}

.hf-auth2-hero__glow {
  position: absolute;
  top: -35%;
  right: -10%;
  width: 72%;
  height: 130%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.45) 0%, rgba(251, 146, 60, 0) 68%);
  animation: hf-auth-hero-glow 6s ease-in-out infinite;
  pointer-events: none;
}

.hf-auth2-hero__art-icon {
  position: absolute;
  right: 0.2rem;
  bottom: -0.85rem;
  display: grid;
  place-items: center;
  width: clamp(4rem, 18vw, 5.5rem);
  height: clamp(4rem, 18vw, 5.5rem);
  font-size: clamp(3.5rem, 15vw, 4.75rem) !important;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  transform: rotate(-12deg);
  animation: hf-auth-hero-icon-float 5.5s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

.hf-auth2-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.1rem;
  min-height: inherit;
}

.hf-auth2-hero.is-entering .hf-auth2-hero-content {
  animation: hf-auth-hero-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hf-auth2-hero--overlay .hf-auth2-hero-content {
  padding: 0.95rem 0.9rem;
  align-items: center;
}

.hf-auth2-hero-badge-wrap {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(145deg, #fb923c 0%, #ea580c 55%, #c2410c 100%);
  box-shadow:
    0 10px 26px rgba(234, 88, 12, 0.35),
    0 0 0 3px rgba(255, 255, 255, 0.22);
}

.hf-auth2-hero--overlay .hf-auth2-hero-badge-wrap {
  padding: 2px;
}

.hf-auth2-hero-badge {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #f97316, #ea580c);
  font-size: 1.35rem !important;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hf-auth2-hero--overlay .hf-auth2-hero-badge {
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1.2rem !important;
}

.hf-auth2-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  min-width: 0;
}

.hf-auth2-hero-kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 237, 213, 0.92);
}

.hf-auth2-hero-title {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
}

.hf-auth2-hero--overlay .hf-auth2-hero-title {
  font-size: 0.9375rem;
  line-height: 1.3;
}

.hf-auth2-hero-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.hf-auth2-hero--overlay .hf-auth2-hero-sub {
  display: none;
}

@keyframes hf-auth-hero-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes hf-auth-hero-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes hf-auth-hero-icon-float {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-4px); }
}

@keyframes hf-auth-hero-img-zoom {
  0% { transform: scale(1.06); }
  100% { transform: scale(1.12); }
}

@keyframes hf-auth-hero-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hf-auth2-hero-img,
  .hf-auth2-hero-overlay,
  .hf-auth2-hero__glow,
  .hf-auth2-hero__art-icon,
  .hf-auth2-hero.is-entering .hf-auth2-hero-content {
    animation: none;
  }
}

.hf-auth2-card {
  padding: 0 1rem 1.15rem;
  flex: 1;
  min-height: 0;
}

.hf-auth2--overlay .hf-auth2-card {
  padding: 0 0.85rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.hf-auth2-tabs {
  position: relative;
  display: flex;
  align-items: stretch;
  width: calc(100% - 1.7rem);
  max-width: 100%;
  margin: 0 0.85rem 0.75rem;
  gap: 0;
  padding: 0.22rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.08);
  box-sizing: border-box;
  flex-shrink: 0;
}

.hf-auth2--page .hf-auth2-tabs {
  width: auto;
  margin: 0 1rem 0.85rem;
}

.hf-auth2-tabs-indicator {
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  height: calc(100% - 0.44rem);
  width: calc(50% - 0.22rem);
  border-radius: 0.72rem;
  background: #fff;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.16);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.hf-auth2-tabs[data-active="register"] .hf-auth2-tabs-indicator {
  transform: translateX(100%);
}

.hf-auth2-tab {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  border-radius: 0.72rem;
  padding: 0.62rem 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #64748b;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  line-height: 1;
}

.hf-auth2-tab .hf-mi {
  font-size: 1.05rem;
  flex-shrink: 0;
}

.hf-auth2-tab.is-active {
  color: #0f172a;
  background: transparent;
  box-shadow: none;
}

.hf-auth2--overlay .hf-auth2-panel-head {
  margin-bottom: 0.65rem;
}

.hf-auth2--overlay .hf-auth2-panel-title {
  font-size: 1.125rem;
}

.hf-auth2--overlay .hf-auth2-panel-sub {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.hf-auth2--overlay .hf-auth2-form {
  gap: 0.65rem;
}

.hf-auth2--overlay .hf-auth2-field-wrap {
  padding: 0.62rem 0.75rem;
}

.hf-auth2--overlay .hf-auth2-submit {
  margin-top: 0.35rem;
  padding: 0.82rem 1rem;
  position: sticky;
  bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  z-index: 4;
}

.hf-auth2-panel-head {
  margin-bottom: 0.85rem;
}

.hf-auth2-panel-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}

.hf-auth2-panel-sub {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.45;
}

.hf-auth2-form {
  display: grid;
  gap: 0.8rem;
}

.hf-auth2-field {
  display: grid;
  gap: 0.35rem;
}

.hf-auth2-field-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hf-auth2-field-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-auth2-field-wrap:focus-within {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.hf-auth2-field-icon {
  flex-shrink: 0;
  color: #64748b;
  font-size: 1.15rem;
}

.hf-auth2-input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}

.hf-auth2-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.hf-auth2-field-wrap--password {
  position: relative;
}

.hf-auth2-field-wrap--password .hf-auth2-input {
  padding-right: 0.25rem;
}

.hf-auth2-password-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.hf-auth2-password-toggle:hover {
  color: #ea580c;
  background: rgba(249, 115, 22, 0.08);
}

.hf-auth2-password-toggle .hf-mi {
  font-size: 1.15rem;
}

.hf-auth2-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.15rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748b;
}

.hf-auth2-remember input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.hf-auth2-remember-box {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  border-radius: 0.3rem;
  border: 1.5px solid rgba(15, 23, 42, 0.18);
  background: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-auth2-remember-box::after {
  content: "";
  width: 0.35rem;
  height: 0.6rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  margin-top: -0.12rem;
  transition: transform 0.15s ease;
}

.hf-auth2-remember input:checked + .hf-auth2-remember-box {
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.24);
}

.hf-auth2-remember input:checked + .hf-auth2-remember-box::after {
  transform: rotate(45deg) scale(1);
}

.hf-auth2-remember input:focus-visible + .hf-auth2-remember-box {
  outline: 2px solid rgba(249, 115, 22, 0.45);
  outline-offset: 2px;
}

.hf-auth2-submit {
  margin-top: 0.15rem;
  width: 100%;
  border: 0;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.28);
}

.hf-auth2-submit--register {
  background: linear-gradient(135deg, #ef4444, #db2777);
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.24);
}

.hf-auth2-switch {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
}

.hf-auth2-switch a {
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}

.hf-auth2-switch a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .hf-auth-overlay {
    align-items: center;
    padding: 1.25rem;
  }

  .hf-auth-overlay-sheet {
    max-width: 460px;
    border-radius: 24px;
    max-height: min(90vh, 720px);
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  }

  .hf-auth-overlay.is-open .hf-auth-overlay-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .hf-auth2--overlay .hf-auth2-hero {
    display: none;
  }

  .hf-auth2-hero-title {
    font-size: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .hf-auth2-page-wrap {
    padding-inline: 2rem;
  }

  .hf-auth2--page {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: min(680px, calc(100vh - 180px));
    border-radius: 32px;
  }

  .hf-auth2-aside {
    display: flex;
  }

  .hf-auth2--page .hf-auth2-hero {
    display: none;
  }

  .hf-auth2--page .hf-auth2-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.98));
  }

  .hf-auth2--page .hf-auth2-card {
    padding: 0 2rem 2rem;
  }

  .hf-auth2--page .hf-auth2-tabs {
    margin: 0 2rem 1rem;
  }

  .hf-auth2--page .hf-auth2-panel-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 639px) {
  .hf-auth2-input {
    font-size: 16px;
  }

  .hf-auth-overlay-sheet {
    height: min(94dvh, 100%);
    max-height: 94dvh;
  }

  .hf-auth-overlay-scroll {
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }

  .hf-auth2-hero--page {
    border-radius: 0;
  }

  .hf-auth2--page .hf-auth2-tabs {
    width: auto;
    margin-inline: 0.85rem;
  }

  .hf-auth2--page .hf-auth2-card {
    padding-inline: 0.85rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .hf-auth2-page {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hf-auth2--overlay .hf-auth2-hero--overlay {
    min-height: 96px;
    margin-bottom: 0.5rem;
  }

  .hf-auth2--overlay .hf-auth2-hero-kicker {
    display: none;
  }

  .hf-auth2--overlay .hf-auth2-panel-sub {
    display: none;
  }

  .hf-auth2--overlay .hf-auth2-panel-head {
    margin-bottom: 0.5rem;
  }

  .hf-auth2--overlay .hf-auth2-panel-title {
    font-size: 1rem;
  }

  .hf-auth2--overlay .hf-auth2-form {
    gap: 0.55rem;
  }

  .hf-auth2--overlay .hf-auth2-field-wrap {
    padding: 0.55rem 0.7rem;
  }

  .hf-auth2--overlay .hf-auth2-field-label {
    font-size: 0.625rem;
  }

  .hf-auth2--overlay .hf-auth2-card {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hf-auth2--overlay .hf-auth2-tabs {
    width: calc(100% - 1.7rem);
    margin-bottom: 0.55rem;
  }

  .hf-auth2-tab {
    padding: 0.58rem 0.25rem;
    font-size: 0.78rem;
    gap: 0.22rem;
  }

  .hf-auth2-tab .hf-mi {
    font-size: 0.9rem;
  }

  body.hf-auth-open .hf-bottomtabs {
    opacity: 0;
    pointer-events: none;
  }
}

/* Browse + hero area filters — grouped city / sub-area */
.hf-browse-area-bar {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.hf-browse-area-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
}

.hf-browse-area-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.hf-browse-area-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #ffe0b2, #ffab40);
  color: #bf360c;
  font-size: 1.35rem !important;
}

.hf-browse-area-brand-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.hf-browse-area-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.hf-browse-area-current {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hf-browse-area-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(230, 81, 0, 0.22);
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.hf-browse-area-toggle .hf-mi {
  font-size: 1.05rem !important;
}

.hf-browse-area-panel {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.75rem 0.95rem 0.95rem;
  display: grid;
  gap: 0.75rem;
}

.hf-browse-area-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.hf-browse-area-search:focus-within {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
  background: #fff;
}

.hf-browse-area-search .hf-mi {
  color: #64748b;
  font-size: 1.15rem !important;
  flex-shrink: 0;
}

.hf-browse-area-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.hf-browse-area-search-input::placeholder {
  color: #94a3b8;
}

.hf-browse-area-groups {
  display: grid;
  gap: 0.75rem;
  max-height: min(42vh, 320px);
  overflow-y: auto;
  padding-right: 0.15rem;
  -webkit-overflow-scrolling: touch;
}

.hf-browse-area-group-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}

.hf-browse-area-group-head .hf-mi {
  font-size: 1rem !important;
  color: #ea580c;
}

.hf-chips--area-group {
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hf-chip--city {
  background: #fff7ed !important;
  border-color: rgba(249, 115, 22, 0.25) !important;
}

.hf-chip--sub {
  font-size: 0.75rem;
}

.hf-browse-area-empty {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

.hf-browse-area-empty.hidden,
.hf-browse-area-group.hidden {
  display: none;
}

.hf-hero-bar-group {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hf-hero-bar-group-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
}

.hf-hero-bar-group-label .hf-mi {
  font-size: 0.95rem !important;
  color: #ea580c;
}

.hf-hero-bar-group-items {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem;
}

.hf-hero-bar-option--area,
.hf-hero-bar-option--sub {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.55rem;
  row-gap: 0.05rem;
  padding: 0.65rem 0.85rem;
}

.hf-hero-bar-option--area {
  grid-template-columns: 1fr;
}

.hf-hero-bar-option-pin {
  grid-row: 1 / 3;
  font-size: 1rem !important;
  color: #94a3b8;
}

.hf-hero-bar-option-main {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.hf-hero-bar-option-sub {
  grid-column: 2;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
}

.hf-hero-bar-option--area .hf-hero-bar-option-sub {
  grid-column: 1;
}

@media (min-width: 768px) {
  .hf-browse-area-toggle {
    display: none;
  }

  .hf-browse-area-panel {
    display: grid !important;
  }

  .hf-browse-area-groups {
    max-height: min(36vh, 280px);
  }
}

@media (max-width: 767px) {
  .hf-browse-area-bar:not(.is-open) .hf-browse-area-panel {
    display: none;
  }

  .hf-browse-area-bar.is-open .hf-browse-area-toggle {
    background: #ffedd5;
    border-color: #fb923c;
  }

  .hf-browse-area-top {
    padding: 0.75rem 0.85rem;
  }

  .hf-browse-area-groups {
    max-height: 50vh;
  }
}

.hf-browse-stage--providers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hf-browse-stage--providers .hf-stage-header {
  margin-bottom: 0.85rem;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(239, 68, 68, 0.06)),
    #fff;
  border: 1px solid rgba(249, 115, 22, 0.12);
}

.hf-browse-stage--providers .hf-stage-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #ea580c;
  font-size: 1.45rem !important;
}

.hf-provider-list-wrap {
  min-width: 0;
}

.hf-provider-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .hf-provider-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 1100px) {
  .hf-provider-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hf-provider-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  text-align: left;
  animation: hf-slide-in 0.42s cubic-bezier(0.2, 0, 0, 1) both;
  animation-delay: var(--hf-delay, 0ms);
}

.hf-provider-card__media {
  position: relative;
  flex-shrink: 0;
}

.hf-provider-photo {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.hf-provider-photo--gender {
  object-fit: contain;
  padding: 0.4rem;
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border-color: rgba(234, 88, 12, 0.18);
}

.hf-provider-gender {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  width: fit-content;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
}

.hf-provider-gender .hf-mi {
  font-size: 0.875rem !important;
  width: 0.875rem;
  height: 0.875rem;
}

.hf-provider-gender--male {
  color: #1d4ed8;
  background: #eff6ff;
}

.hf-provider-gender--female {
  color: #be185d;
  background: #fdf2f8;
}

.hf-provider-rating-badge {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  min-width: 2.35rem;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: #14532d;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 2px 8px rgba(20, 83, 45, 0.28);
}

.hf-provider-rating-badge--new {
  background: #1e3a5f;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.28);
}

.hf-starval--muted {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hf-muted, #64748b);
}

.hf-provider-info {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.hf-provider-name {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.hf-provider-verified {
  display: inline-grid;
  place-items: center;
  color: #2563eb;
}

.hf-provider-verified .hf-mi {
  font-size: 1rem !important;
}

.hf-provider-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
}

.hf-provider-areas {
  font-size: 0.6875rem;
  font-weight: 650;
  color: #94a3b8;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hf-provider-chevron {
  color: #cbd5e1;
  font-size: 1.35rem !important;
  transition: transform 0.18s ease, color 0.18s ease;
}

.hf-provider-card:hover .hf-provider-chevron,
.hf-provider-card:focus-visible .hf-provider-chevron {
  color: #ea580c;
  transform: translateX(2px);
}

.hf-provider-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 2rem 1.25rem;
  text-align: center;
}

.hf-provider-empty .hf-mi {
  font-size: 2rem !important;
  color: #94a3b8;
}

.hf-provider-empty strong {
  font-size: 1rem;
  color: #0f172a;
}

.hf-provider-empty p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

@media (max-width: 639px) {
  .hf-browse-area-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .hf-provider-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0.75rem;
    gap: 0.7rem;
  }

  .hf-provider-photo {
    width: 3.5rem;
    height: 3.5rem;
  }

  .hf-provider-name {
    font-size: 0.875rem;
  }

  .hf-browse-stage--providers .hf-stage-header {
    padding: 0.85rem 0.9rem;
  }

  .hf-browse-stage--providers .hf-stage-title {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .hf-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

/* Auth register photo */
.hf-auth2-photo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(249, 115, 22, 0.35);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.9), rgba(255, 255, 255, 0.95));
}

.hf-auth2-photo-preview {
  position: relative;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fed7aa, #fdba74);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.hf-auth2-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hf-auth2-photo-fallback {
  font-size: 1.75rem !important;
  color: #c2410c;
}

.hf-auth2-photo-copy {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.hf-auth2-optional {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.45);
}

.hf-auth2-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hf-auth2-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: #fff;
  color: #c2410c;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hf-auth2-photo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.14);
}

.hf-auth2-photo-btn--ghost {
  border-color: rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.72);
}

.hf-auth2-field-wrap--textarea {
  align-items: flex-start;
}

.hf-auth2-field-wrap--textarea .hf-auth2-field-icon {
  margin-top: 0.65rem;
}

.hf-auth2-textarea {
  min-height: 4.5rem;
  resize: vertical;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.hf-auth2-submit.is-loading {
  pointer-events: none;
  opacity: 0.82;
}

.hf-auth2-submit.is-loading::after {
  content: '';
  width: 1rem;
  height: 1rem;
  margin-left: 0.45rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: hf-auth-spin 0.7s linear infinite;
}

@keyframes hf-auth-spin {
  to { transform: rotate(360deg); }
}

/* Customer auth UI */
.hf-nav-auth-group {
  align-items: center;
  gap: 0.45rem;
}

.hf-nav-auth-group--desktop,
.hf-nav-customer--desktop {
  display: none !important;
}

.hf-auth-desktop-hidden {
  display: none !important;
}

@media (min-width: 1024px) {
  .hf-nav-auth-group--desktop:not(.hf-auth-desktop-hidden) {
    display: inline-flex !important;
  }

  .hf-nav-customer--desktop:not(.hf-auth-desktop-hidden) {
    display: inline-flex !important;
  }
}

.hf-nav-customer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.28rem 0.2rem 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  max-width: min(100%, 18.5rem);
  flex-shrink: 1;
  min-width: 0;
}

.hf-nav-customer-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 0.35rem;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.hf-nav-customer-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.hf-nav-customer-avatar {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.hf-nav-customer-name {
  flex: 1;
  min-width: 0;
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  color: rgba(15, 23, 42, 0.9);
}

.hf-nav-customer-logout,
.hf-mobile-customer-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hf-nav-customer-logout {
  flex-shrink: 0;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.18s ease, transform 0.18s ease;
}

.hf-nav-customer-logout:hover {
  background: rgba(239, 68, 68, 0.14);
}

.hf-nav-customer-logout .hf-mi {
  font-size: 1rem !important;
}

.hf-mobile-customer {
  display: grid;
  gap: 0.65rem;
}

.hf-mobile-customer-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(249, 115, 22, 0.18);
}

.hf-mobile-customer-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.18);
}

.hf-mobile-customer-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.hf-mobile-customer-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.92);
}

.hf-mobile-customer-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.55);
}

.hf-mobile-customer-logout {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 800;
}

.hf-nav-customer-profile,
.hf-mobile-customer-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hf-nav-customer-profile {
  flex-shrink: 0;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.18s ease, transform 0.18s ease;
}

.hf-nav-customer-profile:hover {
  background: rgba(37, 99, 235, 0.14);
}

.hf-nav-customer-profile .hf-mi {
  font-size: 1rem !important;
}

.hf-mobile-customer-profile {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 800;
}

.hf-nav-customer--desktop .hf-nav-customer-name {
  max-width: 7.5rem;
}

/* Customer profile modal */
html.hf-cust-profile-open {
  scrollbar-gutter: stable;
}

.hf-cust-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.hf-cust-profile-modal:not(.hidden) {
  visibility: visible;
}

.hf-cust-profile-modal:not(.hidden):not(.is-open) {
  opacity: 0;
  pointer-events: none;
}

.hf-cust-profile-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hf-cust-profile-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hf-cust-profile-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: min(92dvh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 0;
  transform: translateY(1.25rem);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.hf-cust-profile-modal.is-open .hf-cust-profile-dialog {
  transform: translateY(0);
}

.hf-cust-profile-modal .hf-cust-profile-sheet {
  width: 100%;
  height: min(94dvh, 760px);
  max-height: min(94dvh, 760px);
  border-radius: 1.25rem 1.25rem 0 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
}

@media (min-width: 640px) {
  .hf-cust-profile-modal {
    align-items: center;
    padding: 1.5rem;
  }

  .hf-cust-profile-dialog {
    max-height: min(88dvh, 760px);
    justify-content: center;
  }

  .hf-cust-profile-modal .hf-cust-profile-sheet {
    border-radius: 1.25rem;
    height: min(88dvh, 760px);
    max-height: min(88dvh, 760px);
  }

  .hf-cust-profile-dialog {
    transform: translateY(0.75rem) scale(0.985);
  }

  .hf-cust-profile-modal.is-open .hf-cust-profile-dialog {
    transform: translateY(0) scale(1);
  }
}

#hfCustomerProfileForm,
.hf-cust-profile-form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
}

.hf-cust-profile-scroll {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 115, 22, 0.45) transparent;
}

/* Fallback when cached old markup has no scroll wrapper */
#hfCustomerProfileForm > .hf-cust-profile-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 115, 22, 0.45) transparent;
}

.hf-cust-profile-scroll::-webkit-scrollbar {
  width: 6px;
}

.hf-cust-profile-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.4);
}

.hf-cust-profile-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.62);
}

.hf-cust-profile-loading-icon {
  font-size: 2rem !important;
  color: #f97316;
  animation: hf-cust-profile-spin 0.9s linear infinite;
}

@keyframes hf-cust-profile-spin {
  to { transform: rotate(360deg); }
}

.hf-cust-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.12);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.95), #fff);
  flex-shrink: 0;
}

.hf-cust-profile-head-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.hf-cust-profile-head-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  font-size: 1.45rem !important;
}

.hf-cust-profile-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.92);
  line-height: 1.25;
}

.hf-cust-profile-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.55);
  line-height: 1.35;
}

.hf-cust-profile-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  color: rgba(15, 23, 42, 0.7);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hf-cust-profile-close:hover {
  background: rgba(249, 115, 22, 0.06);
  border-color: rgba(249, 115, 22, 0.18);
}

.hf-cust-profile-close .hf-mi {
  font-size: 1.25rem !important;
}

.hf-cust-profile-alerts {
  padding: 0.75rem 1.1rem 0;
}

.hf-cust-profile-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.hf-cust-profile-alert .hf-mi {
  flex-shrink: 0;
  font-size: 1.15rem !important;
  margin-top: 0.05rem;
}

.hf-cust-profile-alert--success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.hf-cust-profile-alert--error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.hf-cust-profile-body {
  padding: 0.85rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.9rem;
}

.hf-cust-profile-photo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(249, 115, 22, 0.16);
}

.hf-cust-profile-photo-preview {
  position: relative;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(249, 115, 22, 0.08);
  display: grid;
  place-items: center;
  border: 2px solid rgba(249, 115, 22, 0.14);
}

.hf-cust-profile-photo-preview.has-image .hf-cust-profile-photo-fallback {
  display: none;
}

.hf-cust-profile-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hf-cust-profile-photo-fallback {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ea580c;
}

.hf-cust-profile-photo-copy {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.hf-cust-profile-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hf-cust-profile-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  background: rgba(249, 115, 22, 0.08);
  color: #c2410c;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hf-cust-profile-photo-btn .hf-mi {
  font-size: 1.05rem !important;
}

.hf-cust-profile-photo-btn--ghost {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.16);
  color: #dc2626;
}

.hf-cust-profile-field {
  display: grid;
  gap: 0.4rem;
}

.hf-cust-profile-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
}

.hf-cust-profile-control {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hf-cust-profile-control:focus-within:not(.hf-cust-profile-control--readonly) {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.hf-cust-profile-control--readonly {
  background: rgba(15, 23, 42, 0.03);
}

.hf-cust-profile-control--password {
  padding-right: 0.35rem;
}

.hf-cust-profile-control.is-invalid,
.hf-cust-profile-control--readonly.is-invalid {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(254, 242, 242, 0.65);
}

.hf-cust-profile-control-icon {
  flex-shrink: 0;
  width: 1.35rem;
  font-size: 1.2rem !important;
  color: #ea580c;
  text-align: center;
}

.hf-cust-profile-input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.9);
  outline: none;
  min-width: 0;
}

.hf-cust-profile-input.is-invalid {
  color: #b91c1c;
}

.hf-cust-profile-control--readonly .hf-cust-profile-input {
  color: rgba(15, 23, 42, 0.62);
}

.hf-cust-profile-hint,
.hf-cust-profile-error {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

.hf-cust-profile-hint {
  color: rgba(15, 23, 42, 0.5);
}

.hf-cust-profile-error {
  color: #b91c1c;
}

.hf-cust-profile-visibility {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.05);
  color: rgba(15, 23, 42, 0.62);
  cursor: pointer;
}

.hf-cust-profile-visibility .hf-mi {
  font-size: 1.1rem !important;
}

.hf-cust-profile-password-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 247, 237, 0.55);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hf-cust-profile-password-toggle:hover {
  border-color: rgba(249, 115, 22, 0.2);
  background: rgba(255, 247, 237, 0.85);
}

.hf-cust-profile-password-toggle-icon {
  flex-shrink: 0;
  font-size: 1.2rem !important;
  color: #ea580c;
}

.hf-cust-profile-password-toggle-copy {
  display: grid;
  gap: 0.12rem;
  flex: 1;
  min-width: 0;
}

.hf-cust-profile-password-toggle-copy strong {
  font-size: 0.875rem;
  color: rgba(15, 23, 42, 0.88);
}

.hf-cust-profile-password-toggle-copy small {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.52);
}

.hf-cust-profile-password-chevron {
  flex-shrink: 0;
  transition: transform 0.18s ease;
  color: rgba(15, 23, 42, 0.45);
}

#hfCustomerProfilePasswordToggle[aria-expanded="true"] .hf-cust-profile-password-chevron {
  transform: rotate(180deg);
}

.hf-cust-profile-password--accordion .hf-cust-profile-password-collapse {
  overflow: hidden;
}

.hf-cust-profile-password-collapse > .hf-cust-profile-password-collapse-body {
  display: grid;
  gap: 0.75rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  padding: 0;
  pointer-events: none;
  transition:
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.28s ease,
    padding 0.28s ease;
}

.hf-cust-profile-password--accordion.is-expanded .hf-cust-profile-password-collapse > .hf-cust-profile-password-collapse-body {
  max-height: 20rem;
  opacity: 1;
  transform: translateY(0);
  padding-top: 0.65rem;
  pointer-events: auto;
}

.hf-cust-profile-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.85rem 1.1rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(249, 115, 22, 0.1);
  background: rgba(255, 251, 245, 0.98);
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}

.hf-cust-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.6rem 1.05rem;
  border-radius: 12px;
  border: 0;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.hf-cust-profile-btn .hf-mi {
  font-size: 1.1rem !important;
}

.hf-cust-profile-btn--ghost {
  background: #fff;
  color: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.hf-cust-profile-btn--primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

.hf-cust-profile-btn--primary.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.hf-cust-profile-modal .hf-gender-option input:checked + .hf-gender-option-box {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.08);
  color: #c2410c;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.12);
}

@media (max-width: 639px) {
  .hf-cust-profile-dialog {
    max-height: min(94dvh, 760px);
  }

  .hf-cust-profile-modal .hf-cust-profile-sheet {
    height: min(94dvh, 760px);
    max-height: min(94dvh, 760px);
  }

  .hf-cust-profile-head {
    padding: 0.95rem 1rem 0.8rem;
  }

  .hf-cust-profile-title {
    font-size: 1.05rem;
  }

  .hf-cust-profile-body {
    padding: 0.75rem 1rem 1rem;
    gap: 0.85rem;
  }

  .hf-cust-profile-foot {
    flex-direction: column-reverse;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hf-cust-profile-btn {
    width: 100%;
    min-height: 3rem;
    font-size: 0.9375rem;
  }

  .hf-cust-profile-photo-preview {
    width: 4rem;
    height: 4rem;
  }

  .hf-cust-profile-control {
    padding: 0.7rem 0.75rem;
  }

  .hf-cust-profile-input {
    font-size: 1rem;
  }
}

.hf-gender-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.hf-gender-option {
  position: relative;
  cursor: pointer;
}

.hf-gender-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hf-gender-option-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.hf-gender-option-box .hf-mi {
  font-size: 1.1rem !important;
}

.hf-gender-option input:checked + .hf-gender-option-box {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.hf-gender-options.is-invalid .hf-gender-option-box {
  border-color: rgba(239, 68, 68, 0.45);
}

.hf-gender-options--modal {
  margin-top: 0.15rem;
}

[data-hf-auth-guest-mobile].hidden,
[data-hf-auth-customer-mobile].hidden,
[data-hf-auth-guest-mobile][hidden],
[data-hf-auth-customer-mobile][hidden] {
  display: none !important;
}

/* Custom alert dialog */
.hf-alert {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.hf-alert.is-open {
  opacity: 1;
}

.hf-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.hf-alert-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 1.25rem 1.15rem 1rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.hf-alert.is-open .hf-alert-sheet {
  transform: translateY(0) scale(1);
}

.hf-alert-icon-wrap {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #dbeafe, #bfdbfe);
  color: #2563eb;
  transform: scale(0.88);
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.hf-alert.is-open .hf-alert-icon-wrap {
  transform: scale(1);
}

.hf-alert-icon-wrap--error {
  background: linear-gradient(145deg, #fee2e2, #fecaca);
  color: #dc2626;
}

.hf-alert-icon-wrap--success {
  background: linear-gradient(145deg, #dcfce7, #bbf7d0);
  color: #16a34a;
}

.hf-alert-icon-wrap--info {
  background: linear-gradient(145deg, #dbeafe, #bfdbfe);
  color: #2563eb;
}

.hf-alert-icon-wrap--warning {
  background: linear-gradient(145deg, #ffedd5, #fed7aa);
  color: #ea580c;
}

.hf-alert-icon {
  font-size: 1.6rem !important;
}

.hf-alert-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
}

.hf-alert-message {
  margin-top: 0.45rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.68);
}

.hf-alert-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hf-alert-btn {
  flex: 1;
  min-height: 2.75rem;
  border-radius: 14px;
  border: 0;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
}

.hf-alert-btn--ghost {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.72);
}

.hf-alert-btn--primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

/* Home nav notifications (UI only) */
.hf-nav-notif {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  z-index: 2;
  overflow: visible;
}

.hf-nav-notif.hidden {
  display: none !important;
}

.hf-nav-notif-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  overflow: visible;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-nav-notif-btn:hover,
.hf-nav-notif-btn[aria-expanded="true"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 183, 77, 0.55);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.hf-nav-notif-btn__icon {
  font-size: 1.22rem !important;
  line-height: 1;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.hf-nav-notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6d00, #e53935);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  border: 2px solid #140e0c;
  box-shadow: 0 2px 10px rgba(229, 57, 53, 0.5);
  pointer-events: none;
  z-index: 3;
  box-sizing: border-box;
}

.hf-notif-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1475;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.hf-notif-backdrop:not(.hidden) {
  opacity: 1;
}

.hf-notif-backdrop.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .hf-notif-backdrop:not(.hidden) {
    background: transparent;
    backdrop-filter: none;
  }
}

.hf-notif-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1485;
  --hf-notif-arrow-x: 18px;
  width: min(22.5rem, calc(100vw - 1.25rem));
  max-height: min(32rem, calc(100vh - 5rem));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
  transition:
    opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.hf-notif-panel::before {
  content: '';
  position: absolute;
  top: -5px;
  left: var(--hf-notif-arrow-x);
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, rgba(255, 204, 188, 0.55), #fff 55%);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
  z-index: 1;
}

.hf-notif-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hf-notif-panel.hidden {
  display: none !important;
}

.hf-notif-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem 0.7rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(135deg, rgba(255, 204, 188, 0.28), rgba(255, 255, 255, 0.92));
}

.hf-notif-panel__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1a100c;
}

.hf-notif-panel__sub {
  margin: 0.18rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
}

.hf-notif-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.hf-notif-panel__close:hover {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}

.hf-notif-panel__close .hf-mi {
  font-size: 1.05rem !important;
}

.hf-notif-panel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.hf-notif-panel__tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
}

.hf-notif-tab {
  border: 0;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: default;
}

.hf-notif-tab.is-active {
  background: #fff;
  color: #c2410c;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.hf-notif-panel__mark {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  cursor: not-allowed;
}

.hf-notif-panel__list {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.35rem;
}

.hf-notif-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.62rem 0.65rem;
  border-radius: 0.8rem;
  transition: background 0.15s ease;
}

.hf-notif-item:hover {
  background: rgba(249, 115, 22, 0.06);
}

.hf-notif-item--unread {
  background: rgba(255, 247, 237, 0.85);
}

.hf-notif-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  flex-shrink: 0;
}

.hf-notif-item__icon .hf-mi {
  font-size: 1.05rem !important;
}

.hf-notif-item__icon--call {
  background: rgba(249, 115, 22, 0.14);
  color: #ea580c;
}

.hf-notif-item__icon--area {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.hf-notif-item__icon--offer {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.hf-notif-item__icon--info {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.hf-notif-item__copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.hf-notif-item__title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #1a100c;
  line-height: 1.25;
}

.hf-notif-item__text {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
}

.hf-notif-item__time {
  font-size: 0.6rem;
  font-weight: 700;
  color: #94a3b8;
}

.hf-notif-item__dot {
  position: absolute;
  top: 0.85rem;
  right: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 0 2px #fff;
}

.hf-notif-panel__foot {
  padding: 0.55rem 0.75rem 0.7rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.hf-notif-panel__foot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 2.35rem;
  border: 1px dashed rgba(249, 115, 22, 0.28);
  border-radius: 0.75rem;
  background: rgba(249, 115, 22, 0.06);
  color: #c2410c;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: not-allowed;
}

.hf-notif-panel__foot-btn .hf-mi {
  font-size: 0.95rem !important;
}

@media (max-width: 767px) {
  .hf-notif-panel {
    max-height: min(28rem, calc(100vh - 5.5rem - env(safe-area-inset-bottom, 0px)));
  }

  body[data-hf-customer-auth="true"] .hf-nav-inner .hf-brand {
    max-width: calc(100% - 11.5rem);
  }

  body[data-hf-customer-auth="false"] .hf-nav-inner .hf-brand {
    max-width: calc(100% - 7.5rem);
  }

  .hf-nav-actions {
    flex: 0 0 auto;
    min-width: 0;
  }

  .hf-nav-actions-trail {
    gap: 0.25rem;
  }

  #hfNav .hf-lang--nav {
    flex-shrink: 0;
  }

  .hf-nav-notif-badge {
    top: -6px;
    right: -6px;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.32rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 1024px) {
  #hfNav .hf-nav-actions-cluster {
    gap: 0.35rem;
  }

  .hf-nav-actions-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hf-notif-panel {
    transition: none;
  }
}

.hf-notif-all-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2400;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.hf-notif-all-backdrop.is-open,
.hf-notif-all-backdrop:not(.hidden) {
  opacity: 1;
}

.hf-notif-all-modal {
  position: fixed;
  inset: 0;
  z-index: 2410;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0;
  pointer-events: none;
}

.hf-notif-all-modal.is-open {
  pointer-events: auto;
}

.hf-notif-all-modal.hidden {
  display: none;
}

.hf-notif-all-modal__sheet {
  width: min(100%, 640px);
  max-height: min(88vh, 760px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  border-radius: 1.1rem 1.1rem 0 0;
  background: #fff;
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.18);
  transform: translateY(100%);
  transition: transform 0.24s ease;
}

.hf-notif-all-modal.is-open .hf-notif-all-modal__sheet {
  transform: translateY(0);
}

.hf-notif-all-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.65rem;
}

.hf-notif-all-modal__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.hf-notif-all-modal__sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.hf-notif-all-modal__close {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  cursor: pointer;
}

.hf-notif-all-modal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0 1rem 0.75rem;
}

.hf-notif-all-modal__tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
}

.hf-notif-all-tab {
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.hf-notif-all-tab.is-active {
  background: #fff;
  color: #ea580c;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hf-notif-all-modal__actions {
  display: inline-flex;
  gap: 0.45rem;
}

.hf-notif-all-action {
  border: 0;
  background: transparent;
  color: #ea580c;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.hf-notif-all-action--danger {
  color: #dc2626;
}

.hf-notif-all-modal__list {
  overflow: auto;
  padding: 0 0.75rem 1rem;
}

.hf-notif-all-modal__list .hf-notif-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem;
  border-radius: 0.85rem;
  margin-bottom: 0.45rem;
  background: rgba(15, 23, 42, 0.03);
}

.hf-notif-all-item__actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hf-notif-all-item__btn {
  border: 0;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.hf-notif-all-item__btn--danger {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.hf-notif-all-empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: #64748b;
}

@media (min-width: 768px) {
  .hf-notif-all-modal {
    align-items: center;
    padding: 1.5rem;
  }

  .hf-notif-all-modal__sheet {
    border-radius: 1.1rem;
    max-height: min(82vh, 760px);
  }
}

/* Legal pages (Privacy, Terms) */
.hf-legal-page {
  padding: 1.25rem 0 2.5rem;
  background: linear-gradient(180deg, #fff7f4 0%, #fff 28%);
}

.hf-legal-wrap {
  max-width: 52rem;
}

.hf-legal-head {
  margin-bottom: 1.25rem;
}

.hf-legal-intro {
  margin: 0.65rem 0 0;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.hf-legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 700;
}

.hf-legal-meta .hf-mi {
  font-size: 1rem;
}

.hf-legal-card {
  margin-top: 0.85rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.hf-legal-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
}

.hf-legal-card h3 {
  margin: 1rem 0 0.45rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e293b;
}

.hf-legal-card p {
  margin: 0 0 0.75rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.65;
}

.hf-legal-card p:last-child {
  margin-bottom: 0;
}

.hf-legal-list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.65;
}

.hf-legal-list li + li {
  margin-top: 0.35rem;
}

.hf-legal-card a {
  color: #ea580c;
  font-weight: 700;
  text-decoration: none;
}

.hf-legal-card a:hover {
  text-decoration: underline;
}

.hf-legal-card--contact {
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.06), #fff 55%);
  border-color: rgba(249, 115, 22, 0.14);
}

.hf-legal-contact-grid {
  display: grid;
  gap: 0.65rem;
}

.hf-legal-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: inherit;
  text-decoration: none;
}

a.hf-legal-contact-item:hover {
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.08);
}

.hf-legal-contact-item .hf-mi {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}

.hf-legal-contact-item strong {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.78rem;
  color: #64748b;
}

.hf-legal-contact-item span span,
.hf-legal-contact-item > span:last-child {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .hf-legal-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Register — account type + provider fields */
.hf-auth2-field--select {
  margin-bottom: 0.15rem;
}

.hf-auth2-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-auth2-select-wrap:focus-within {
  border-color: rgba(234, 88, 12, 0.45);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.hf-auth2-select-wrap .hf-auth2-field-icon {
  margin-left: 0.85rem;
  color: #ea580c;
  font-size: 1.15rem !important;
}

.hf-auth2-select {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.75rem 2.4rem 0.75rem 0.55rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  color: #0f172a;
  cursor: pointer;
}

.hf-auth2-select-chevron {
  position: absolute;
  right: 0.75rem;
  pointer-events: none;
  color: #64748b;
  font-size: 1.25rem !important;
}

.hf-reg-provider {
  display: grid;
  gap: 0.85rem;
}

.hf-reg-provider-section {
  padding: 0.85rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
  border: 1px solid rgba(251, 146, 60, 0.25);
}

.hf-reg-provider-section--accordion .hf-reg-provider-head {
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
  border-radius: 0.65rem;
  transition: background 0.2s ease;
}

.hf-reg-provider-section--accordion .hf-reg-provider-head:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hf-reg-provider-section--accordion .hf-reg-provider-head:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.45);
  outline-offset: 2px;
}

.hf-reg-provider-chevron {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #64748b;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.hf-reg-provider-section--accordion.is-expanded .hf-reg-provider-chevron {
  transform: rotate(180deg);
  color: #ea580c;
}

.hf-reg-provider-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

.hf-reg-provider-section--accordion.is-expanded .hf-reg-provider-collapse {
  grid-template-rows: 1fr;
}

.hf-reg-provider-collapse > .hf-reg-provider-collapse-body {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.hf-reg-provider-section--accordion.is-expanded .hf-reg-provider-collapse > .hf-reg-provider-collapse-body {
  opacity: 1;
  transform: translateY(0);
  padding-top: 0.75rem;
}

.hf-reg-provider-head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.hf-reg-provider-head .hf-mi {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  font-size: 1.15rem !important;
  flex-shrink: 0;
}

.hf-reg-provider-head strong {
  display: block;
  font-size: 0.875rem;
  color: #9a3412;
}

.hf-reg-provider-head p {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
}

.hf-reg-provider-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
  gap: 0.45rem;
}

.hf-reg-provider-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.55rem;
  padding: 0 0.65rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  font-weight: 650;
  color: #334155;
  cursor: pointer;
}

.hf-reg-provider-check input {
  accent-color: #ea580c;
  flex-shrink: 0;
}

.hf-reg-provider-check .hf-mi {
  color: #94a3b8;
  font-size: 1rem !important;
}

.hf-reg-provider-empty,
.hf-reg-provider-loading {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 650;
  color: #64748b;
}

.hf-reg-area-block {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  margin-bottom: 0.55rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hf-reg-area-block-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hf-reg-area-block-head strong {
  flex: 1 1 auto;
  font-size: 0.8125rem;
  color: #334155;
}

.hf-reg-area-block-head .hf-mi {
  color: #ea580c;
}

.hf-reg-loc-panel {
  padding: 0.65rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(251, 146, 60, 0.22);
  background: #fff;
  max-height: min(24rem, 52vh);
  overflow: hidden;
}

.hf-reg-loc-panel .hf-loc-grid {
  overflow-y: auto;
  max-height: min(16rem, 38vh);
  padding-right: 0.15rem;
}

.hf-reg-loc-panel .hf-loc-search-count {
  display: none;
}

.hf-reg-area-summary {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
}

.hf-reg-area-contact {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  border: 1px dashed rgba(234, 88, 12, 0.28);
  display: grid;
  gap: 0.65rem;
}

.hf-reg-area-contact p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.45;
}

.hf-reg-area-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0 0.85rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.22);
}

.hf-reg-area-contact-btn .hf-mi {
  font-size: 1.05rem !important;
}

.hf-reg-loc-pick.is-active .hf-loc-check {
  opacity: 1;
}

@media (min-width: 640px) {
  .hf-reg-loc-panel .hf-loc-search-count {
    display: inline-flex;
  }

  .hf-reg-loc-panel .hf-loc-grid {
    max-height: min(18rem, 42vh);
  }
}

@media (max-width: 639px) {
  .hf-reg-loc-panel {
    max-height: none;
  }

  .hf-reg-loc-panel .hf-loc-grid {
    max-height: none;
  }

  .hf-reg-loc-panel .hf-loc-search-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.hf-reg-area-remove {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #fef2f2;
  color: #dc2626;
  cursor: pointer;
  padding: 0;
}

.hf-reg-provider-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.65rem;
  border: 1px dashed rgba(234, 88, 12, 0.35);
  border-radius: 0.85rem;
  background: rgba(255, 247, 237, 0.65);
  color: #c2410c;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.hf-reg-provider-add:hover {
  background: #fff7ed;
}

@media (max-width: 639px) {
  .hf-reg-provider-checks {
    grid-template-columns: 1fr;
  }
}
