/* ─────────────────────────────────────────────
   DICUKUR GLOBAL STYLES — main.css
   Layout, Navbar, Footer, Animations
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800;900&display=swap');
@import './variables.css?v=3.6';
@import './components.css?v=3.7';

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-brand-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: var(--font-primary);
  cursor: pointer;
}

/* ═══════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-brand-cream-dark);
  height: var(--navbar-height);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 36px;
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.navbar__logo-text {
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--color-brand-dark);
  letter-spacing: -0.04em;
}

.navbar__logo-text span {
  color: var(--color-brand-gold);
}

.navbar__nav,
.navbar__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.navbar__nav-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.navbar__nav-link:hover,
.navbar__nav-link.active {
  color: var(--color-brand-gold);
  background: rgba(201, 169, 110, 0.08);
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

.navbar__location-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-brand-cream);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar__location-btn:hover {
  border-color: var(--color-brand-gold);
  color: var(--color-brand-dark);
}

.navbar__location-btn svg {
  flex-shrink: 0;
  color: var(--color-brand-gold);
}

/* Mobile navbar */
.navbar__mobile-search {
  display: none;
}

@media (max-width: 767px) {
  .navbar__nav {
    display: none;
  }

  .navbar__location-btn span:last-child {
    display: none;
  }

  .navbar__location-text {
    max-width: 100px;
  }
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 0px 0px 20px 20px;
  margin: 0 0 var(--space-8);
  background: #1A1A2E;
}

@media (max-width: 767px) {
  .hero {
    height: 300px;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 8s ease;
}

.hero__bg img.loaded {
  transform: scale(1.04);
}

/* lighter overlay — top darker for text readability, fades right */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(15, 15, 26, 0.82) 0%,
      rgba(15, 15, 26, 0.45) 55%,
      rgba(15, 15, 26, 0.1) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 0;
  padding-top: var(--space-6);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201, 169, 110, 0.18);
  border: 1px solid rgba(201, 169, 110, 0.45);
  color: var(--color-brand-gold-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  width: fit-content;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: var(--font-extrabold);
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-3);
  max-width: 520px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__title em {
  font-style: normal;
  color: var(--color-brand-gold-light);
}

.hero__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.80);
  max-width: 420px;
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* ═══════════════════════════════════════════
   SEARCH SECTION (below hero)
   ═══════════════════════════════════════════ */

.search-section {
  margin-top: calc(-1 * var(--space-16));
  position: relative;
  z-index: 10;
  padding: 0 var(--container-padding);
  margin-bottom: var(--space-10);
}


.search-section .search-bar {
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════
   HOME HERO — beranda tersegmentasi. H1 statis (SEO) di
   kiri, kartu pencarian+filter menyatu di kanan, sebaris.
   Hero sendiri berbentuk kartu (sudut bawah rounded) yang
   "mengapung" di atas halaman putih. Gradiennya sama di
   semua mode (default & listing/search -- lihat showFlat()
   di home.js), .is-listing cuma dipakai buat CSS lain.
   ═══════════════════════════════════════════ */

.home-hero {
  position: relative;
  background: linear-gradient(160deg, #3C567C 0%, #1C2B46 100%);
  padding: var(--space-10) 0;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}

@media (max-width: 767px) {
  .home-hero {
    margin-bottom: 20px;
  }
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(212, 163, 89, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  /* minmax(0, 1fr) -- grid track default punya min-width:auto, jadi
     konten di dalamnya (search-bar/filter-bar) bisa memaksa track ini
     lebih lebar dari layar. minmax(0, ...) memperbaiki di level track,
     bukan di .home-hero__panel, supaya margin:0 auto/max-width panel
     tidak perlu diubah sama sekali. */
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  align-items: center;
  gap: var(--space-8);
}

.home-hero__title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
}

.home-hero__panel {
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-search__bar {
  border: none;
  box-shadow: none;
  padding: 6px 6px 6px var(--space-4);
  border-radius: 14px;
}

@media (max-width: 900px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-hero__panel {
    max-width: 480px;
    display: grid;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding: var(--space-8) 0;
    border-radius: 0 0 20px 20px;
  }
}

/* ═══════════════════════════════════════════
   SEGMENTED HOMEPAGE — 4 baris horizontal-scroll
   (nearby / pilihan / murah-atau-kota / kota),
   mirrors home_screen.dart's category rows.
   ═══════════════════════════════════════════ */

.is-hidden {
  display: none !important;
}

.segment {
  margin-bottom: var(--space-10);
}

.segment__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.segment__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-brand-dark);
  letter-spacing: -0.02em;
  margin: 0;
}

.segment__title-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-brand-cream);
  color: var(--color-brand-dark);
  font-size: var(--text-sm);
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.segment__title-link:hover {
  background: var(--color-brand-gold-light);
  transform: translateX(2px);
}

.segment__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.segment__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-brand-cream-dark);
  background: var(--color-white);
  color: var(--color-brand-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.segment__nav-btn svg {
  flex-shrink: 0;
}

.segment__nav-btn:hover {
  background: var(--color-brand-dark);
  color: #fff;
  border-color: var(--color-brand-dark);
}

.segment__sub {
  font-size: var(--text-xs);
  color: var(--color-gray-500);
  margin: var(--space-1) 0 0;
}

.segment-row {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

/* Biarkan slider "mentok" ke tepi layar di mobile (bukan berhenti di
   padding container), supaya kartu berikutnya terlihat mengintip.
   Nilai mengikuti breakpoint padding .container (lihat main.css atas). */
@media (max-width: 639px) {
  .segment-row {
    margin-right: calc(-1 * var(--container-padding));
    padding-right: var(--container-padding);
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .segment-row {
    margin-right: calc(-1 * var(--space-6));
    padding-right: var(--space-6);
  }
}

.segment-row::-webkit-scrollbar {
  display: none;
}

/* min-width: 0 -- flex item punya min-width:auto secara default, jadi
   nama barbershop yang panjang & tidak bisa wrap bisa memaksa card jadi
   lebih lebar dari flex-basis-nya (ketimbang di-ellipsis). */
.segment-row .barbershop-card {
  flex: 0 0 210px;
  min-width: 0;
  scroll-snap-align: start;
}

.segment-row--wide .wide-card {
  flex: 0 0 300px;
  min-width: 0;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .segment-row .barbershop-card {
    flex-basis: 260px;
  }

  .segment-row--wide .wide-card {
    flex-basis: 360px;
  }
}

/* ─── Pill badges shared by compact & wide cards ─── */

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: var(--font-bold);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pill-badge--pilihan {
  background: rgba(243, 229, 200, 0.95);
  color: var(--color-brand-gold-dark);
  backdrop-filter: blur(4px);
}

.pill-badge--diskon {
  background: var(--color-error);
  color: #fff;
}

.heart-btn {
  border: none;
  background: rgba(255, 255, 255, 0.92);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.heart-btn:active {
  transform: scale(1.2);
}

.text-muted {
  color: var(--color-gray-400) !important;
}

.badge-diskon {
  background: var(--color-error-bg);
  color: var(--color-error);
}

/* ─── Wide card — section "Dicukur Pilihan" ─── */

/* "coklat transparan" -- wide-card cuma dipakai section Pilihan, jadi
   selalu dapat wash cokelat/gold transparan buat membedakannya dari
   grid barbershop-card biasa yang polos putih. */
.wide-card {
  display: block;
  text-decoration: none;
  background: rgba(212, 163, 89, 0.12);
  border-radius: var(--radius-xl);
  padding: 10px 10px 12px;
  transition: transform var(--transition-base), background var(--transition-base);
}

.wide-card:hover {
  transform: translateY(-3px);
  background: rgba(212, 163, 89, 0.2);
}

.wide-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: var(--color-gray-200);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: box-shadow var(--transition-base);
}

.wide-card:hover .wide-card__img {
  box-shadow: 0 18px 34px -16px rgba(15, 23, 42, 0.32);
}

.wide-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-card__img .pill-badge--pilihan {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
}

.wide-card__img .pill-badge--diskon {
  position: absolute;
  top: var(--space-3);
  left: calc(var(--space-3) + 118px);
}

.wide-card__img .heart-btn {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  width: 40px;
  height: 40px;
  font-size: var(--text-base);
}

.wide-card__body {
  padding: var(--space-3) 2px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
}

.wide-card__info {
  min-width: 0;
  flex: 1;
}

.wide-card__name {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.wide-card__loc {
  font-size: var(--text-xs);
  color: var(--color-gray-500);
  margin-bottom: 6px;
}

.wide-card__price {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

.wide-card__price b {
  color: var(--color-brand-dark);
}

/* Kolom kanan -- rating & tombol Booking rata kanan, sejajar. */
.wide-card__side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.wide-card__rating {
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: var(--color-brand-gold-dark);
  white-space: nowrap;
}

.wide-card__cta {
  flex-shrink: 0;
  background: var(--color-brand-dark);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════
   BARBERSHOP GRID
   ═══════════════════════════════════════════ */

.barbershop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
}

@media (max-width: 640px) {
  .barbershop-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 380px) {
  .main-section {
    margin-top: -20px;
  }
}


/* ═══════════════════════════════════════════
   MAIN CONTENT SECTION
   ═══════════════════════════════════════════ */

/* .main-section {
  padding: var(--space-4) 0 var(--space-16);
} */

/* ═══════════════════════════════════════════
   CTA BANNER (Join as Partner) — LIGHT
   ═══════════════════════════════════════════ */

.cta-banner {
  background: linear-gradient(135deg, #FBF6EE 0%, #F5EDDF 100%);
  border: 1.5px solid rgba(201, 169, 110, 0.25);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  overflow: hidden;
  position: relative;
  margin: var(--space-16) 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.20) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.cta-banner__body {
  position: relative;
  z-index: 1;
}

.cta-banner__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand-gold);
  margin-bottom: var(--space-3);
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-extrabold);
  color: var(--color-brand-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 var(--space-3);
}

.cta-banner__desc {
  font-size: var(--text-base);
  color: var(--color-gray-600, #555);
  max-width: 420px;
  line-height: 1.6;
  margin: 0 0 var(--space-6);
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cta-banner__actions .btn-ghost {
  background: rgba(26, 26, 46, 0.08);
  color: var(--color-brand-dark);
  border: 1.5px solid rgba(26, 26, 46, 0.15);
}

.cta-banner__actions .btn-ghost:hover {
  background: rgba(26, 26, 46, 0.14);
}

.cta-banner__visual {
  font-size: 7rem;
  position: relative;
  z-index: 1;
  line-height: 1;
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 767px) {
  .cta-banner {
    padding: var(--space-8) var(--space-6);
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    justify-content: center;
  }

  .cta-banner__visual {
    display: none;
  }

  .cta-banner::before {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   FOOTER — LIGHT THEME
   ═══════════════════════════════════════════ */

.footer {
  background: #F9F6F1;
  border-top: 1px solid #EDE5D8;
  color: var(--color-gray-600, #555);
  padding: var(--space-12) 0 var(--space-6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .navbar__nav-list {
    display: none;
  }


}

.footer__brand-logo {
  margin-bottom: var(--space-3);
}

.footer__brand-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer__brand-logo-text {
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--color-brand-dark);
  letter-spacing: -0.04em;
}

.footer__brand-logo-text span {
  color: var(--color-brand-gold);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-gray-500);
  margin-bottom: var(--space-5);
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-gray-200);
  border-radius: var(--radius-md);
  color: var(--color-gray-600);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer__social-btn:hover {
  background: var(--color-brand-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--color-brand-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-brand-gold);
}

.footer__bottom {
  border-top: 1px solid #EDE5D8;
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-gray-400);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-4);
}

.footer__bottom-links a {
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--color-brand-gold);
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — DESKTOP TOPBAR
   ═══════════════════════════════════════════ */

.detail-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
}

.detail-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-4);
}

.detail-topbar__left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.detail-topbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #1F2937;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.topbar-btn:hover {
  background: #E5E7EB;
  border-color: #D1D5DB;
  color: #111827;
}

.topbar-btn-like.liked {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
}

.topbar-btn-like.liked .like-icon {
  fill: #DC2626;
  stroke: #DC2626;
}

.hero-circle-btn.liked .like-icon {
  fill: #DC2626;
  stroke: #DC2626;
  color: #DC2626;
}

.detail-topbar__logo {
  display: block;
}

.detail-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-gray-700);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.detail-topbar__back:hover {
  background: var(--color-gray-100);
  color: var(--color-brand-dark);
}

@media (max-width: 899px) {
  .detail-topbar {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — 2-COLUMN & MOBILE FLEX LAYOUT
   ═══════════════════════════════════════════ */

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  max-width: 1140px;
  margin: 0 auto;
}

/* Desktop: 2 Columns */
@media (min-width: 900px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr);
    gap: var(--space-6);
    padding: var(--space-6) var(--space-4);
    align-items: start;
  }

  .detail-col-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .detail-col-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    position: sticky;
    top: 80px;
  }

  .detail-card {
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid var(--color-gray-200);
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  }
}

/* Mobile: Pure CSS reordering */
@media (max-width: 899px) {
  .detail-layout {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .detail-col-left,
  .detail-col-right {
    display: contents;
  }

  #section-hero {
    order: 1;
  }

  #detail-info-card {
    order: 2;
    border-radius: 24px 24px 0 0 !important;
    margin-top: -24px !important;
    position: relative;
    z-index: 10;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    border-top: none;
  }

  #section-fasilitas {
    order: 3;
  }

  #section-gallery {
    order: 4;
  }

  #section-layanan {
    order: 5;
  }

  #section-kapster {
    order: 6;
  }

  #section-map {
    order: 7;
  }

  #section-deskripsi {
    order: 8;
  }

  #section-reviews {
    order: 9;
  }

  .detail-card {
    background: var(--color-white);
    padding: 20px 16px;
    border-bottom: 1px solid var(--color-gray-100);
    border-radius: 0;
  }
}

/* Mobile-only helper */
.detail-mobile-only {
  display: flex;
}

@media (min-width: 900px) {
  .detail-mobile-only {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════
   HERO CAROUSEL & FLOATING CIRCLE BUTTONS
   ═══════════════════════════════════════════ */

.detail-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--color-brand-dark);
  border-radius: 16px;
}

@media (max-width: 899px) {
  .detail-hero {
    height: 480px;
    border-radius: 0;
  }
}

.detail-hero__slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
}

.detail-hero__slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.detail-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile translucent circle buttons over hero */
.hero-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-800);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-circle-btn:active {
  transform: scale(0.92);
  background: #ffffff;
}

/* ═══════════════════════════════════════════
   MOBILE STICKY DETAIL NAV
   Fixed over the hero at rest; on scroll a white
   background slides down smoothly and the
   barbershop name appears next to the back button.
   ═══════════════════════════════════════════ */

.mobile-detail-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 60px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-detail-nav__bg {
  position: absolute;
  inset: 0;
  background: var(--color-white);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .08);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
}

.mobile-detail-nav.is-scrolled .mobile-detail-nav__bg {
  transform: translateY(0);
}

.mobile-detail-nav__title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.mobile-detail-nav.is-scrolled .mobile-detail-nav__title {
  opacity: 1;
  transform: translateY(0);
}

.mobile-detail-nav .hero-circle-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   INFO PANEL & STATUS ROW
   ═══════════════════════════════════════════ */

.detail-name {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  color: var(--color-brand-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}

/* Chips Row under Title (Distance, Open/Closed status, Clickable Hours Chip) */
.detail-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  margin-top: 20px;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
  color: var(--color-gray-700);
}

.chip-distance {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #B45309;
}

.chip-status.is-open {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}

.chip-status.is-closed {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #B91C1C;
}

.chip-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.chip-hours {
  cursor: pointer;
  background: #F3F4F6;
  border-color: #E5E7EB;
  color: #374151;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}

.chip-hours:hover {
  background: #E5E7EB;
  border-color: #D1D5DB;
}

.hours-chevron {
  color: var(--color-gray-400);
  margin-left: 2px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.chip-hours[aria-expanded="true"] .hours-chevron {
  transform: rotate(180deg);
}

/* Address row: pin+address link next to the WhatsApp icon button */
.detail-address-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.detail-address-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.detail-address-link:hover {
  color: #D97706;
}

.detail-address-link address {
  cursor: pointer;
}

/* WhatsApp icon-only button (next to address) */
.wa-icon-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.wa-icon-btn:hover {
  background: #E5E7EB;
}

.wa-icon-btn:active {
  transform: scale(0.94);
}

/* Facilities Grid — Mobile: 1 Line Horizontal Slider | Desktop: Multi-line Wrap */
.facilities-grid {
  display: flex;
  gap: 10px;
}

@media (max-width: 899px) {
  .facilities-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 16px;
  }

  .facilities-grid::-webkit-scrollbar {
    display: none;
  }

  div#layanan-list {
    margin-top: 16px;
  }

  div#kapster-grid {
    margin-top: 16px;
  }

  .map-wrapper {
    margin-top: 16px;
  }

  .facility-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (min-width: 900px) {
  .facilities-grid {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .facility-pill {
    flex-shrink: 1;
  }
}

.facility-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-700);
}

.facility-pill__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — CAPSTER GRID
   ═══════════════════════════════════════════ */

.capster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-3);
}

@media (max-width: 480px) {
  .capster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  ul.navbar__nav-list {
    display: none;
   
}
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — MAP
   ═══════════════════════════════════════════ */

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  margin-bottom: var(--space-3);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}

/* ═══════════════════════════════════════════
   JAM OPERASIONAL MODAL
   ═══════════════════════════════════════════ */

/* Overlay */
.hours-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 500;
  backdrop-filter: blur(2px);
}

.hours-overlay.active {
  display: block;
}

/* Modal base */
.hours-modal {
  position: fixed;
  z-index: 501;
  background: var(--color-white);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
  opacity: 0;
  pointer-events: none;
}

.hours-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════
   REVIEWS & RATING SECTION
   ═══════════════════════════════════════════ */

.reviews-summary-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 16px;
  margin-bottom: 20px;
}

.summary-score {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-num {
  font-size: 32px;
  font-weight: 800;
  color: #B45309;
  line-height: 1;
}

.score-stars {
  font-size: 20px;
  color: #F59E0B;
  letter-spacing: 2px;
}

.score-total {
  font-size: 13px;
  color: #92400E;
  font-weight: 500;
}

.reviews-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-card__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #F3F4F6;
}

.review-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 2px;
}

.review-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 99px;
}

.review-card__stars {
  color: #F59E0B;
  font-size: 14px;
}

.review-card__comment {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.review-card__capster {
  font-size: 12px;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  padding: 8px 12px;
  border-radius: 8px;
  color: #4B5563;
  margin-top: 4px;
}

/* ─── AIRBNB STYLE HORIZONTAL SLIDER REVIEWS ─── */
.reviews-slider-wrapper {
  position: relative;
  margin-left: -4px;
  margin-right: -4px;
}

.reviews-slider-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 16px 4px;
  scrollbar-width: none;
  /* Firefox */
}

.reviews-slider-list::-webkit-scrollbar {
  display: none;
  /* Chrome / Safari */
}

.airbnb-review-card {
  min-width: 280px;
  max-width: 320px;
  width: 82vw;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.airbnb-review-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.airbnb-review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.airbnb-review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #F3F4F6;
  flex-shrink: 0;
}

.airbnb-review-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.airbnb-review-card__date {
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
  margin-top: 2px;
}

.airbnb-review-card__stars {
  color: #F59E0B;
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.airbnb-review-card__comment {
  font-size: 13px;
  color: #374151;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}

.airbnb-review-card__more-btn {
  background: none;
  border: none;
  color: #111827;
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  text-align: left;
}

.airbnb-review-card__more-btn:hover {
  color: #C5A574;
}

.reviews-bottom-action {
  margin-top: 16px;
  text-align: center;
}

.btn-airbnb-reviews {
  width: 100%;
  background: #FFFFFF;
  color: #111827;
  border: 1.5px solid #111827;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-airbnb-reviews:hover {
  background: #F9FAFB;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Full vertical list in bottom sheet */
.reviews-full-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviews-full-vertical-card {
  padding: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  background: #FFFFFF;
}

/* Review Modal & Steps */
.review-modal {
  max-width: 460px;
}

.review-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gray-200);
  color: var(--color-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  transition: all 0.2s;
}

.step-dot.active {
  background: var(--color-brand-gold);
  color: #ffffff;
}

.step-line {
  height: 2px;
  width: 40px;
  background: var(--color-gray-200);
  transition: background 0.2s;
}

.step-line.active {
  background: var(--color-brand-gold);
}

.review-step-subtitle {
  font-size: 14px;
  color: var(--color-gray-700);
  text-align: center;
  margin-bottom: 12px;
}

.star-rating-select {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 38px;
  color: var(--color-gray-300);
  cursor: pointer;
  margin: 16px 0;
  user-select: none;
}

.star-rating-select span {
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-select span:hover,
.star-rating-select span.selected {
  color: #F59E0B;
  transform: scale(1.18);
}

.review-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-gray-300);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.review-textarea:focus {
  border-color: var(--color-brand-gold);
}

.google-sign-in-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background: #FFFFFF;
  border: 1.5px solid #DADCE0;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: #3C4043;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.google-sign-in-btn:hover {
  background: #F8F9FA;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.google-account-modal {
  max-width: 420px;
}

.google-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.google-account-item:hover {
  background: #F8F9FA;
  border-color: #DADCE0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.google-account-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.google-account-info {
  display: flex;
  flex-direction: column;
}

.google-account-name {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
}

.google-account-email {
  font-size: 12px;
  color: #6B7280;
}

/* MOBILE: bottom sheet */
@media (max-width: 767px) {
  .hours-modal {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    transform: translateY(100%);
    max-height: 85vh;
    overflow-y: auto;
  }

  .hours-modal.active {
    transform: translateY(0);
  }
}

/* DESKTOP: centered popup */
@media (min-width: 768px) {
  .hours-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -44%) scale(.95);
    width: 420px;
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    max-height: 80vh;
    overflow-y: auto;
  }

  .hours-modal.active {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Handle (mobile only) */
.hours-modal__handle {
  width: 40px;
  height: 4px;
  background: var(--color-gray-300);
  border-radius: 99px;
  margin: var(--space-3) auto var(--space-1);
}

@media (min-width: 768px) {
  .hours-modal__handle {
    display: none;
  }
}

.hours-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5) var(--space-3);
  border-bottom: 1px solid var(--color-gray-100);
}

.hours-modal__title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--color-brand-dark);
}

.hours-modal__body {
  padding: var(--space-4) var(--space-5) var(--space-6);
}

/* Each day row inside modal */
.hours-day-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-gray-50);
  font-size: var(--text-sm);
}

.hours-day-row:last-child {
  border-bottom: none;
}

.hours-day-row.today {
  font-weight: var(--font-semibold);
  color: var(--color-brand-dark);
}

.hours-day-row .day-name {
  color: var(--color-gray-700);
  min-width: 100px;
}

.hours-day-row .day-time {
  color: var(--color-gray-600);
}

.hours-day-row.today .day-name {
  color: var(--color-brand-gold);
}

.hours-day-row .day-closed {
  color: var(--color-gray-400);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   KLAIM OUTLET FAB & MODALS
   ═══════════════════════════════════════════ */

.claim-outlet-fab {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--color-brand-dark);
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: transform .2s ease;
}

.claim-outlet-fab:active {
  transform: scale(.96);
}

.claim-outlet-fab__icon {
  font-size: 16px;
}

@media (min-width: 768px) {
  .claim-outlet-fab {
    right: 32px;
    bottom: 32px;
    padding: 14px 22px;
    font-size: 14px;
  }
}

.claim-intro-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-gray-50);
}

.claim-intro-benefit:last-of-type {
  border-bottom: none;
}

.claim-intro-benefit__icon {
  font-size: 18px;
  flex-shrink: 0;
}

.claim-intro-benefit p {
  font-size: 13px;
  color: var(--color-gray-700);
  line-height: 1.5;
  margin: 0;
}

.claim-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-600);
  margin: 14px 0 6px;
}

.claim-field-label:first-child {
  margin-top: 0;
}

.claim-field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-gray-800);
  background: #fff;
}

.claim-field-input:read-only {
  background: var(--color-gray-50);
  color: var(--color-gray-500);
}

.claim-field-input:focus {
  outline: none;
  border-color: var(--color-brand-gold);
}

.claim-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.claim-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 13px;
  color: var(--color-gray-700);
  cursor: pointer;
}

.claim-radio-option input {
  accent-color: var(--color-brand-gold);
}

.claim-success-state {
  text-align: center;
  padding: 24px 8px;
}

.claim-success-state__icon {
  font-size: 44px;
  margin-bottom: 10px;
}

.claim-success-state h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-dark);
  margin: 0 0 6px;
}

.claim-success-state p {
  font-size: 13px;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   ANIMATIONS (Entry)
   ═══════════════════════════════════════════ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.anim-fade-up {
  animation: fadeInUp 0.5s var(--transition-slow) both;
}

.anim-fade-up-1 {
  animation-delay: 0.05s;
}

.anim-fade-up-2 {
  animation-delay: 0.10s;
}

.anim-fade-up-3 {
  animation-delay: 0.15s;
}

.anim-fade-up-4 {
  animation-delay: 0.20s;
}

.anim-fade {
  animation: fadeIn 0.4s ease both;
}

.anim-scale {
  animation: scaleIn 0.35s ease both;
}

/* Stagger children */
.stagger-children>* {
  animation: fadeInUp 0.45s ease both;
}

.stagger-children>*:nth-child(1) {
  animation-delay: 0.05s;
}

.stagger-children>*:nth-child(2) {
  animation-delay: 0.10s;
}

.stagger-children>*:nth-child(3) {
  animation-delay: 0.15s;
}

.stagger-children>*:nth-child(4) {
  animation-delay: 0.20s;
}

.stagger-children>*:nth-child(5) {
  animation-delay: 0.25s;
}

.stagger-children>*:nth-child(6) {
  animation-delay: 0.30s;
}

.stagger-children>*:nth-child(7) {
  animation-delay: 0.35s;
}

.stagger-children>*:nth-child(8) {
  animation-delay: 0.40s;
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-gold {
  color: var(--color-brand-gold);
}

.text-muted {
  color: var(--color-gray-500);
}

.text-center {
  text-align: center;
}

.fw-bold {
  font-weight: var(--font-bold);
}

.fw-semibold {
  font-weight: var(--font-semibold);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════ */


 .filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 4px 4px;
}

h3.detail-section-title {
    margin-bottom: 16px;
}

main#page-main {
    background: #F7F7F7;
}


/* Opsional: Menghilangkan scrollbar di Chrome/Safari */
.filter-bar::-webkit-scrollbar {
  display: none;
}

/* Pastikan item tombol di dalamnya tidak mengkerut */
.filter-bar>* {
  flex-shrink: 0;
  white-space: nowrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 9px 16px;
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  background: var(--color-brand-cream);
  color: var(--color-brand-dark);
}

.filter-chip.active {
  background: var(--color-brand-dark);
  color: #fff;
}

/* Mode listing (lihat-semua/search) -- tombol filter aktif ikut
   gradien biru hero, bukan navy solid seperti mode beranda. */
.home-hero.is-listing .filter-chip.active {
  background: linear-gradient(135deg, #3C567C, #1C2B46);
  color: #fff;
}

/* Pagination dots for hero */
.hero-dots {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 3;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-base);
}

.hero-dot.active {
  background: var(--color-white);
  width: 20px;
}