﻿/* ============================================
   DIREKTORI BP - Stylesheet
   Color: Bendera BP (Merah, Navy, Putih, Gold)
   ============================================ */

:root {
  /* Brand Identity — Direktori BP */
  --brand-primary: #1F4E79;
  --brand-accent:  #C00000;
  --brand-light:   #F2F2F2;
  --brand-dark:    #595959;

  /* Bendera BP Colors */
  --bp-red: #C8102E;
  --bp-red-light: #E8334E;
  --bp-red-dark: #A00D24;
  --bp-navy: #002663;
  --bp-navy-light: #1A3D80;
  --bp-white: #FFFFFF;
  --bp-cream: #FAF8F3;
  --bp-gold: #D4AF37;

  /* Neutral */
  --text-dark: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: #E5E5E5;
  --bg-light: #F7F7F8;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  /* Spacing */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bp-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ NAVBAR ============ */
.navbar {
  background: var(--bp-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 22px;
}

.logo-icon { font-size: 28px; }
.logo-accent { color: var(--brand-accent); }

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-tagline {
  font-size: 10px;
  font-weight: 500;
  color: var(--brand-accent);
  letter-spacing: 0.4px;
  margin-top: 3px;
  opacity: 0.85;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

/* — Primary: warm walnut wood — */
.btn-primary {
  background: linear-gradient(180deg, #D9924A 0%, #9B5118 55%, #7A3A0C 100%);
  color: #fff;
  border: 1px solid #5C2A08;
  box-shadow:
    0 5px 0 #3D1A04,
    0 7px 18px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.20);
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #E8A45A 0%, #AA5E20 55%, #883F10 100%);
  transform: translateY(-2px);
  box-shadow:
    0 7px 0 #3D1A04,
    0 10px 22px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.20);
}
.btn-primary:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #3D1A04,
    0 2px 6px rgba(0,0,0,0.30),
    inset 0 2px 5px rgba(0,0,0,0.25);
}

/* — Ghost: outlined, wood accent on hover — */
.btn-ghost {
  background: transparent;
  color: var(--bp-navy);
  border: 2px solid rgba(0,0,0,0.15);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(217,146,74,0.10);
  border-color: #9B5118;
  color: #7A3A0C;
  transform: translateY(-1px);
}
.btn-ghost:active {
  transform: translateY(1px);
}

/* — White: pale pine / ash wood — */
.btn-white {
  background: linear-gradient(180deg, #FDE8B8 0%, #E8BC62 60%, #C9982A 100%);
  color: #5C2A08;
  border: 1px solid #A8762A;
  box-shadow:
    0 5px 0 #7A4E0A,
    0 7px 16px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(0,0,0,0.12);
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(255,255,255,0.4);
}
.btn-white:hover {
  background: linear-gradient(180deg, #FEF0CC 0%, #F0C96A 60%, #D4A030 100%);
  transform: translateY(-2px);
  box-shadow:
    0 7px 0 #7A4E0A,
    0 10px 20px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(0,0,0,0.12);
}
.btn-white:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #7A4E0A,
    0 2px 5px rgba(0,0,0,0.22),
    inset 0 2px 5px rgba(0,0,0,0.12);
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #2E6DA4 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,16,46,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
  position: relative;
}

.text-accent { color: var(--bp-red-light); }

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.search-box {
  display: flex;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto 40px;
  background: white;
  padding: 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  opacity: 0.9;
}

.stat strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--bp-red-light);
  display: block;
}

/* ============ SECTIONS ============ */
.section {
  padding: 70px 0;
}

.section-alt {
  background: white;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--bp-navy);
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
}

/* ============ CATEGORIES ============ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.category-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--bp-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--bp-navy);
}

/* ============ LISTINGS GRID ============ */
.listings-grid, .events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.listing-card, .event-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.listing-card:hover, .event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.listing-image, .event-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--bp-navy-light), var(--bp-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: white;
}

.listing-content, .event-content {
  padding: 16px 20px;
}

.listing-title, .event-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--bp-navy);
}

.listing-category, .event-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.listing-area {
  display: inline-block;
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ AREAS ============ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.area-card {
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  color: var(--bp-navy);
  font-weight: 600;
  border: 2px solid var(--border);
  transition: all 0.2s ease;
  font-size: 14px;
}

.area-card:hover {
  border-color: var(--bp-red);
  background: var(--bp-red);
  color: white;
  transform: translateY(-2px);
}

/* ============ EMPTY STATE ============ */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: var(--radius);
  border: 2px dashed var(--border);
}

.empty-state p {
  font-size: 18px;
  margin-bottom: 8px;
}

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

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--brand-accent) 0%, #a00000 100%);
  color: white;
  padding: 70px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--brand-primary);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 22px;
  margin-bottom: 12px;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--bp-red-light);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.footer a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer a:hover { opacity: 1; color: var(--bp-red-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

.footer-bottom p { color: white; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-actions .btn-ghost { display: none; }
  .hero { padding: 60px 0 40px; }
  .search-box { flex-direction: column; }
  .search-box input { width: 100%; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 24px; }
  .section { padding: 50px 0; }
}

/* ============================================================
   LISTING DETAIL PAGE
   ============================================================ */

/* === LOADING SKELETON === */
#listingLoading { animation: skelPulse 1.6s ease-in-out infinite; }

@keyframes skelPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.skeleton-hero {
  width: 100%;
  height: 300px;
  background: var(--bg-light);
}

.skeleton-line {
  background: var(--bg-light);
  border-radius: 6px;
  margin-bottom: 14px;
}

.skeleton-breadcrumb { height: 14px; width: 45%; margin-top: 32px; }
.skeleton-title       { height: 40px; width: 70%; }
.skeleton-chips       { height: 32px; width: 55%; }
.skeleton-medium      { height: 14px; width: 65%; }
.skeleton-long        { height: 14px; width: 90%; }

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: skelPulse 1.5s ease-in-out infinite;
}
.skeleton-card-img {
  width: 100%; height: 160px;
  background: var(--bg-light);
}
.skeleton-card-body { padding: 12px; }
.skeleton-card-title { height: 16px; background: var(--bg-light); border-radius: 4px; margin-bottom: 8px; width: 75%; }
.skeleton-card-sub   { height: 12px; background: var(--bg-light); border-radius: 4px; width: 50%; }

/* === NOT FOUND STATE === */
.state-center {
  max-width: 480px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.state-icon  { font-size: 72px; margin-bottom: 20px; }
.state-title { font-size: 26px; font-weight: 800; color: var(--bp-navy); margin-bottom: 12px; }
.state-desc  { color: var(--text-muted); margin-bottom: 32px; font-size: 16px; line-height: 1.6; }

/* === LISTING BODY — wraps all content cards === */
.listing-body {
  max-width: 820px;
  padding-top: 20px;
  padding-bottom: 72px;
}

/* === HERO — gradient fallback === */
.listing-hero-gradient {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--bp-navy) 0%, var(--bp-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cat-icon {
  font-size: 96px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
}

/* === CAROUSEL === */
.carousel { width: 100%; background: #000; }

.carousel-main {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.carousel-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--bp-red) transparent;
}

.carousel-thumb {
  width: 64px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.carousel-thumb.active,
.carousel-thumb:hover { opacity: 1; border-color: var(--bp-red); }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--bp-red); }

/* === LISTING HEADER CARD === */
.listing-header {
  background: var(--bp-white);
  border-radius: var(--radius);
  padding: 24px 28px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 0;
}

.listing-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.listing-name {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 800;
  color: var(--bp-navy);
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.badge-premium {
  background: linear-gradient(135deg, var(--bp-gold) 0%, #F0D060 100%);
  color: #5a3e00;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 6px;
  flex-shrink: 0;
}

.quick-info { display: flex; gap: 8px; flex-wrap: wrap; }

.quick-chip {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* === LISTING SECTIONS — card style === */
.listing-section {
  background: var(--bp-white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.listing-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bp-navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === DESCRIPTION === */
.listing-description {
  color: var(--text-dark);
  line-height: 1.85;
  font-size: 15px;
}

/* === CONTACT BUTTONS (3-col grid) === */
.contact-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 8px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  user-select: none;
}

.contact-btn-icon { font-size: 28px; line-height: 1; }

.contact-wa {
  background: linear-gradient(180deg, #2ecc71 0%, #25D366 55%, #1aab52 100%);
  color: #fff;
  border-color: #148f3a;
  box-shadow: 0 4px 0 #0f6b2b, 0 6px 14px rgba(37,211,102,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}
.contact-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #0f6b2b, 0 9px 18px rgba(37,211,102,0.35), inset 0 1px 0 rgba(255,255,255,0.25); }
.contact-wa:active { transform: translateY(3px); box-shadow: 0 1px 0 #0f6b2b, inset 0 2px 4px rgba(0,0,0,0.15); }

.contact-phone {
  background: linear-gradient(180deg, #c8842a 0%, #9a5818 55%, #6e3a0a 100%);
  color: #fff;
  border-color: #4e2508;
  box-shadow: 0 4px 0 #3d1a04, 0 6px 12px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.22);
}
.contact-phone:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #3d1a04, 0 9px 16px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.22); }
.contact-phone:active { transform: translateY(3px); box-shadow: 0 1px 0 #3d1a04, inset 0 2px 4px rgba(0,0,0,0.2); }

.contact-web {
  background: var(--bg-light);
  color: var(--bp-navy);
  border-color: var(--border);
  box-shadow: 0 2px 0 rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08);
}
.contact-web:hover { background: var(--bp-navy); color: #fff; border-color: var(--bp-navy); transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,0.2), 0 6px 12px rgba(0,0,0,0.15); }
.contact-web:active { transform: translateY(2px); box-shadow: none; }

/* === SOCIAL ICONS === */
.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.2s;
  color: var(--text-dark);
}
.social-icon:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.social-fb { color: #1877F2; }
.social-fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }

.social-ig { color: #E1306C; }
.social-ig:hover { background: #E1306C; color: #fff; border-color: #E1306C; }

.social-tt { color: #010101; }
.social-tt:hover { background: #010101; color: #fff; border-color: #010101; }

/* === LOCATION === */
.location-address-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.location-pin     { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.location-address { color: var(--text-dark); font-size: 15px; line-height: 1.6; margin: 0; }

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bp-red);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-maps:hover { background: var(--bp-red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.map-embed { width: 100%; overflow: hidden; border-radius: var(--radius); }

/* === BRANCHES === */
.branches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }

/* === OPERATING HOURS === */
.hours-grid { display: flex; flex-direction: column; gap: 3px; }

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid transparent;
}
.hours-row:nth-child(odd) { background: var(--bg-light); }

.hours-today {
  background: rgba(200,16,46,0.06) !important;
  border-color: rgba(200,16,46,0.2) !important;
  border-left: 3px solid var(--bp-red) !important;
}

.hours-day {
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.today-badge {
  font-size: 11px;
  background: var(--bp-red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

.hours-time   { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hours-closed { color: #dc3545; font-weight: 600; }

/* === TAGS === */
.tags-container { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-pill {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--bp-navy);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-transform: capitalize;
  text-decoration: none;
  display: inline-block;
}
.tag-pill-link:hover {
  background: var(--bp-navy);
  color: #fff;
  border-color: var(--bp-navy);
  cursor: pointer;
}

/* === FOOTER INFO === */
.listing-footer-info {
  background: var(--bp-white);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.last-updated { font-size: 13px; color: var(--text-muted); }

.report-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s;
}
.report-link:hover { color: var(--bp-red); }

/* === STICKY MOBILE CTA — controlled by JS, hidden desktop === */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bp-white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  gap: 12px;
  z-index: 90;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}

.cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s;
}
.cta-btn:hover { opacity: 0.88; }

.cta-whatsapp { background: #25D366; color: #fff; }
.cta-call     { background: var(--bp-navy); color: #fff; }

/* Force-hide sticky CTA on desktop regardless of JS inline style */
@media (min-width: 769px) {
  .sticky-cta { display: none !important; }
  .listing-page { padding-bottom: 0 !important; }
}

/* === REPORT MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-box {
  background: var(--bp-white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 { font-size: 18px; font-weight: 700; color: var(--bp-navy); }

.modal-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--bg-light); color: var(--text-dark); }

.modal-body { padding: 24px; }
.modal-intro { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }

.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
  background: var(--bp-white);
}
.form-select:focus,
.form-textarea:focus { border-color: var(--bp-red); }
.form-textarea { resize: vertical; min-height: 96px; }

.report-msg {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 14px;
}
.report-msg-success { background: #d4edda; color: #155724; }
.report-msg-error   { background: #f8d7da; color: #721c24; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .carousel-main        { height: 240px; }
  .listing-hero-gradient { height: 240px; }
  .hero-cat-icon        { font-size: 72px; }
  .listing-section      { padding: 20px 18px; }
  .listing-header       { padding: 20px 18px 16px; }
  .contact-btns         { grid-template-columns: 1fr 1fr; }
  .listing-body         { padding-top: 12px; }
}

/* ============================================
   BROWSE (kategori / area) + SEARCH
   ============================================ */

/* ── Browse hero ────────────────────────────── */
.browse-hero {
  background: linear-gradient(135deg, var(--bp-navy) 0%, var(--bp-navy-light) 100%);
  color: white;
  padding: 52px 0 40px;
  text-align: center;
}
.browse-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.browse-hero-icon  { font-size: 56px; line-height: 1; }
.browse-hero-title { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; }
.browse-hero-sub   { font-size: 15px; color: rgba(255,255,255,0.75); max-width: 420px; }

/* ── Browse content wrapper ─────────────────── */
.browse-content { padding: 28px 20px 60px; }

/* ── Filter bar ─────────────────────────────── */
.browse-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.filter-select {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-dark);
  background: white;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  min-width: 140px;
}
.filter-select:focus { border-color: var(--bp-red); }
.result-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

/* ── Skeleton loading ───────────────────────── */
.browse-loading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  animation: skelPulse 1.6s ease-in-out infinite;
}
.skel-card {
  height: 260px;
  background: linear-gradient(90deg, #e8e8e8 25%, #f0f0f0 50%, #e8e8e8 75%);
  background-size: 400% 100%;
  border-radius: var(--radius);
  animation: skelShimmer 1.6s ease-in-out infinite;
}
@keyframes skelShimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ── Listings grid ──────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ── Listing card ───────────────────────────── */
.listing-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.15s;
}
.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.listing-card.listing-premium {
  border-color: var(--bp-gold);
  box-shadow: 0 2px 8px rgba(212,175,55,0.18);
}
.listing-card-photo {
  position: relative;
  height: 160px;
  background: var(--bg-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-card-icon {
  font-size: 52px;
  opacity: 0.55;
}
.badge-prem {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--bp-gold);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.badge-branch {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: #1F4E79;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}
.listing-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.listing-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
}
.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.lc-cat, .lc-area, .lc-price { display: flex; align-items: center; gap: 3px; }
.lc-price {
  background: var(--bg-light);
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--bp-navy);
  font-weight: 600;
}
.listing-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 2px;
}
.listing-card-desc mark {
  background: rgba(200,16,46,0.12);
  color: var(--bp-red-dark);
  border-radius: 2px;
  padding: 0 1px;
}
.listing-card-title mark {
  background: rgba(200,16,46,0.12);
  color: var(--bp-red-dark);
  border-radius: 2px;
  padding: 0 1px;
}

/* ── Browse empty state ─────────────────────── */
.browse-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.browse-empty-icon { font-size: 52px; margin-bottom: 14px; }
.browse-empty h3   { font-size: 20px; color: var(--text-dark); margin-bottom: 8px; }
.browse-empty p    { font-size: 14.5px; max-width: 380px; margin: 0 auto; }

/* ── Pagination ─────────────────────────────── */
.browse-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 32px 0 8px;
  flex-wrap: wrap;
}
.pg-btn {
  padding: 7px 14px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.15s;
}
.pg-btn:hover:not(:disabled) { border-color: var(--bp-red); color: var(--bp-red); }
.pg-btn.active  { background: var(--bp-red); color: white; border-color: var(--bp-red); font-weight: 700; }
.pg-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Not found state ────────────────────────── */
.state-center {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.state-icon  { font-size: 64px; margin-bottom: 16px; }
.state-title { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.state-desc  { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }

/* ── Search hero ────────────────────────────── */
.search-hero {
  background: linear-gradient(135deg, var(--bp-navy) 0%, var(--bp-navy-light) 100%);
  color: white;
  padding: 48px 0 44px;
}
.search-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.search-hero-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; }

.search-form-big {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  gap: 8px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.sfb-icon  { font-size: 20px; opacity: 0.5; flex-shrink: 0; }
.sfb-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-dark);
  background: transparent;
  min-width: 0;
}
.sfb-btn {
  background: var(--bp-red);
  color: white;
  border: none;
  border-radius: 40px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sfb-btn:hover { background: var(--bp-red-dark); }

/* ── Search result header ───────────────────── */
.search-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 0;
  flex-wrap: wrap;
}
.srh-label { font-size: 15px; color: var(--text-dark); }
.srh-count { font-size: 13px; color: var(--text-muted); margin-left: 10px; }
.srh-left  { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }

/* ── Search main content ────────────────────── */
.search-main { padding: 20px 20px 60px; }

/* ── Search empty / initial ─────────────────── */
.search-empty {
  text-align: center;
  padding: 60px 20px;
}
.search-empty h2  { font-size: 22px; font-weight: 800; margin-bottom: 10px; color: var(--text-dark); }
.search-empty p   { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }

/* ── Category pills ─────────────────────────── */
.cat-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  font-size: 13.5px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}
.cat-pill:hover {
  border-color: var(--bp-red);
  color: var(--bp-red);
  background: rgba(200,16,46,0.04);
}

/* ── All-categories landing grid (/kategori) ── */
.categories-landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

/* ── Browse responsive ──────────────────────── */
@media (max-width: 600px) {
  .browse-hero-title      { font-size: 24px; }
  .browse-hero-icon       { font-size: 44px; }
  .browse-filters         { gap: 8px; }
  .filter-select          { min-width: 0; flex: 1 1 130px; }
  .result-count           { margin-left: 0; width: 100%; text-align: right; }
  .search-form-big        { padding: 5px 5px 5px 14px; }
  .sfb-input              { font-size: 15px; }
  .search-result-header   { flex-direction: column; align-items: flex-start; }
  .listings-grid          { grid-template-columns: 1fr 1fr; gap: 12px; }
  .listing-card-photo     { height: 130px; }
  .categories-landing-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
}

@media (max-width: 420px) {
  .contact-btns { grid-template-columns: 1fr; }
}

/* ============================================
   PUBLIC FORM STYLES (cadangan, profil, etc.)
   ============================================ */
.f-label      { display: block; font-size: 13px; font-weight: 600; color: var(--bp-navy); margin-bottom: 6px; }
.f-label .req { color: var(--bp-red); margin-left: 2px; }

.f-input, .f-select, .f-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.15s;
  outline: none;
  box-sizing: border-box;
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--bp-navy); }
.f-input.invalid, .f-select.invalid { border-color: var(--bp-red); background: #FFF5F5; }
.f-textarea { min-height: 88px; resize: vertical; }
.f-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; display: block; }

/* ============================================
   AUTH PAGES (login / daftar)
   ============================================ */
.auth-page {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg-light);
}
.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
}
.auth-logo      { text-align: center; margin-bottom: 24px; }
.auth-logo-text { font-size: 22px; font-weight: 800; color: var(--bp-navy); }
.auth-title     { font-size: 22px; font-weight: 800; color: var(--text-dark); text-align: center; margin-bottom: 6px; }
.auth-sub       { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 28px; }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 13px; }
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.auth-form-group   { margin-bottom: 16px; }
.auth-form-label   { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }

.auth-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
  background: white;
}
.auth-input:focus { border-color: var(--bp-navy); }

.auth-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  user-select: none;
}
.auth-btn-primary {
  background: linear-gradient(180deg, #c8842a 0%, #9a5818 55%, #6e3a0a 100%);
  color: white;
  border: 1px solid #4e2508;
  box-shadow: 0 5px 0 #3d1a04, 0 7px 16px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.28);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.auth-btn-primary:hover {
  background: linear-gradient(180deg, #d89030 0%, #a86020 55%, #7a4010 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #3d1a04, 0 10px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.28);
}
.auth-btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #3d1a04, inset 0 2px 4px rgba(0,0,0,0.25);
}
.auth-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.auth-btn-google  { background: white; color: #333; border: 1.5px solid var(--border); font-weight: 600; box-shadow: 0 2px 4px rgba(0,0,0,0.08); }
.auth-btn-google:hover { background: var(--bg-light); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.12); }
.auth-btn-google:active { transform: translateY(1px); box-shadow: none; }

.auth-error {
  font-size: 13px;
  color: var(--bp-red);
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(200,16,46,0.06);
  border-radius: var(--radius-sm);
  display: none;
  line-height: 1.5;
}
.auth-footer     { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--text-muted); }
.auth-footer a   { color: var(--bp-red); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; border-radius: var(--radius); }
}

/* ============================================
   EVENT PAGES
   ============================================ */
.event-hero {
  height: 340px;
  background: linear-gradient(135deg, var(--bp-navy) 0%, var(--bp-navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.event-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.event-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  color: white;
}
.event-hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.event-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.ev-upcoming { background: rgba(59,130,246,0.25); color: #93c5fd; }
.ev-ongoing  { background: rgba(220,38,38,0.25);  color: #fca5a5; }
.ev-past     { background: rgba(100,100,100,0.3);  color: #d1d5db; }

.event-body { max-width: 820px; margin: 0 auto; padding: 0 20px 60px; }
.event-section {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 24px 28px;
  margin-top: 16px;
}
.event-section-title { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

/* Event card for event-list page */
.event-card-lg {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  transition: box-shadow 0.2s, transform 0.15s;
}
.event-card-lg:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-card-lg-photo { width: 180px; flex-shrink: 0; background: var(--bg-light); overflow: hidden; position: relative; }
.event-card-lg-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-card-lg-icon { font-size: 52px; display: flex; align-items: center; justify-content: center; height: 100%; opacity: 0.5; }
.event-card-lg-body { padding: 20px; flex: 1; min-width: 0; }
.event-card-lg-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.event-card-lg-meta  { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.event-card-lg-desc  { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 540px) {
  .event-card-lg { flex-direction: column; }
  .event-card-lg-photo { width: 100%; height: 160px; }
  .event-hero { height: 260px; }
  .event-hero-title { font-size: 22px; }
  .event-hero-overlay { padding: 20px; }
}

/* ============================================
   DASHBOARD LISTING CARDS (owner view)
   ============================================ */
.dash-listing-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.dash-listing-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}
.dash-listing-icon img { width: 100%; height: 100%; object-fit: cover; }
.dash-listing-info  { flex: 1; min-width: 0; }
.dash-listing-name  { font-size: 15px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-listing-meta  { font-size: 12.5px; color: var(--text-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.dash-listing-acts  { display: flex; gap: 8px; flex-shrink: 0; }
.dash-act-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dash-act-btn:hover { background: var(--bg-light); }
.dash-act-edit { border-color: var(--bp-navy); color: var(--bp-navy); }
.dash-act-edit:hover { background: var(--bp-navy); color: white; }
.dash-act-view { border-color: var(--bp-red); color: var(--bp-red); }
.dash-act-view:hover { background: var(--bp-red); color: white; }

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.dash-stat-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  text-align: center;
}
.dash-stat-num   { font-size: 32px; font-weight: 800; color: var(--bp-navy); line-height: 1; }
.dash-stat-label { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }

@media (max-width: 600px) {
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
  .dash-listing-acts { flex-direction: column; }
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-light);
}
.page-404-inner { max-width: 520px; }
.page-404-num   { font-size: 96px; font-weight: 800; color: var(--bp-red); line-height: 1; opacity: 0.15; }
.page-404-icon  { font-size: 64px; margin-bottom: 16px; }
.page-404-title { font-size: 28px; font-weight: 800; color: var(--bp-navy); margin-bottom: 12px; }
.page-404-desc  { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }


/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-bar { background: white; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { display: flex; align-items: center; gap: 6px; padding: 10px 20px; font-size: 13px; }
.bc-link { color: var(--text-muted); text-decoration: none; }
.bc-link:hover { color: var(--bp-red); }
.bc-sep { color: var(--border); }
.bc-current { color: var(--text-dark); font-weight: 600; }

/* ============================================
   EVENTS FAB (mobile floating action button)
   ============================================ */
.events-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bp-red);
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(200,16,46,0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.events-fab:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(200,16,46,0.45); }
@media (min-width: 769px) { .events-fab { display: none; } }

/* ============================================
   BACK BUTTON / BACK LINK
   ============================================ */
.bc-back { font-weight: 600; color: var(--text-dark); }
.bc-back:hover { color: var(--bp-red); }
@media (max-width: 640px) { .breadcrumb-inner { min-height: 44px; align-items: center; } }

/* ============================================================
   DAFTAR KEDAI — 3-Step Wizard
   ============================================================ */

/* ── Step indicator ─────────────────────────── */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.wz-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.wz-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: var(--border);
  color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all 0.25s;
}

.wz-step.active .wz-num  { background: var(--bp-navy); color: white; border-color: var(--bp-navy); }
.wz-step.done   .wz-num  { background: #16a34a; color: white; border-color: #16a34a; }

.wz-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.wz-step.active .wz-label { color: var(--bp-navy); }
.wz-step.done   .wz-label { color: #16a34a; }

.wz-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 16px;
  max-width: 80px;
  transition: background 0.25s;
}

/* ── Step panels ────────────────────────────── */
.step-panel { display: none; }
.step-panel.active { display: block; }

/* ── Wizard navigation ──────────────────────── */
.wizard-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.wizard-nav .btn { flex: 1; padding: 14px; font-size: 15px; text-align: center; }

/* ── 2-column form row ──────────────────────── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── Radio pills (service mode) ─────────────── */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  background: white;
  transition: all 0.18s;
  user-select: none;
}
.radio-pill:has(input:checked) {
  border-color: var(--bp-navy);
  background: rgba(0,38,99,0.05);
  color: var(--bp-navy);
  font-weight: 600;
}
.radio-pill input[type="radio"] { width: 16px; height: 16px; accent-color: var(--bp-navy); }

/* ── Check pill grid (payment methods) ─────── */
.check-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 8px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  background: white;
  transition: all 0.15s;
  user-select: none;
}
.check-pill:has(input:checked) {
  border-color: var(--bp-red);
  background: rgba(200,16,46,0.05);
  color: var(--bp-red);
  font-weight: 600;
}
.check-pill input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--bp-red); flex-shrink: 0; }

/* ── Operating hours table ──────────────────── */
.hours-table-wrap { overflow-x: auto; }

.hours-input-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 480px;
}

.hours-input-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  background: var(--bg-light);
}

.hours-row-input td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.hours-row-input.day-closed { opacity: 0.45; background: var(--bg-light); }
.hours-row-input.day-24 .hrs-times { opacity: 0.3; }

.hrs-day { font-weight: 600; color: var(--bp-navy); min-width: 68px; }

.hrs-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.hrs-toggle input { width: 15px; height: 15px; accent-color: var(--bp-red); }

.hrs-times { display: flex; align-items: center; gap: 6px; }

.hrs-time-input {
  padding: 6px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-dark);
  background: white;
  width: 96px;
}
.hrs-time-input:focus { outline: none; border-color: var(--bp-navy); }
.hrs-sep { color: var(--text-muted); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .check-pill-grid { grid-template-columns: 1fr 1fr; }
  .wizard-nav { flex-direction: column; }
}

/* ============================================
   B2: SEARCH UPGRADES
   ============================================ */

/* Keyword highlight */
mark.hl {
  background: #FEF08A;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

/* Filter chips bar */
.search-filter-bar {
  padding: 10px 20px 4px;
}
.sfb-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bp-navy);
  color: #fff;
  border-radius: 20px;
  padding: 4px 10px 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.fc-label { line-height: 1; }
.fc-remove {
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s;
}
.fc-remove:hover { background: rgba(255,255,255,0.45); }

/* Navbar compact search */
.nav-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  overflow: hidden;
  transition: background 0.2s;
}
.nav-search-form:focus-within {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
.nav-search-input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  padding: 7px 4px 7px 14px;
  width: 160px;
  font-family: inherit;
}
.nav-search-input::placeholder { color: rgba(255,255,255,0.55); }
.nav-search-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 7px 12px 7px 6px;
  font-size: 15px;
  line-height: 1;
}
.nav-search-btn:hover { color: #fff; }

@media (max-width: 768px) {
  .nav-search-form { display: none; }
}

/* ============================================
   380px MOBILE — Extra safety
   ============================================ */
@media (max-width: 400px) {
  /* Nav */
  .logo { font-size: 18px; gap: 6px; }
  .logo-icon { font-size: 22px; }
  .logo-tagline { display: none; }
  .btn { padding: 9px 14px; font-size: 13px; }
  .btn-large { padding: 12px 20px; font-size: 14px; }
  .nav-container { padding: 12px 16px; }

  /* Grids: force single-column at 380px */
  .listings-grid, .events-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 20px; }
  .areas-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .categories-landing-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-hero { padding: 40px 16px 32px; }

  /* Event */
  .event-card-lg { flex-direction: column; }
  .event-card-lg-photo { width: 100%; height: 140px; }

  /* Search */
  .search-hero-inner { padding: 0 4px; }
  .sfb-input { font-size: 14px; }

  /* Auth */
  .auth-card { padding: 24px 16px; }

  /* Wizard */
  .wizard-steps { flex-wrap: wrap; gap: 8px; }

  /* Container padding */
  .container { padding: 0 16px; }
  .browse-content { padding: 16px 16px 48px; }
  .event-body { padding: 0 16px 48px; }
  .listing-body { padding-bottom: 48px; }
  .listing-section, .listing-header { padding: 16px 14px; }

  /* 404 */
  .page-404-num  { font-size: 72px; }
  .page-404-icon { font-size: 48px; }
  .page-404-title { font-size: 22px; }
}

/* ============ SEARCH SUGGEST ============ */
.suggest-box {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 200;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}
.sg-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-dark);
  transition: background 0.12s;
}
.sg-item:hover { background: #f0f6ff; }
.sg-icon { font-size: 16px; flex-shrink: 0; }
.sg-text mark.hl { background: #fef08a; border-radius: 3px; }
.sg-tag .sg-icon { font-size: 13px; }

/* ============ TAG CHIPS IN SEARCH CARDS ============ */
.card-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: 6px;
}
.tag-search-chip {
  padding: 3px 9px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 12px;
  font-size: 11px; font-weight: 600;
  color: #0369A1;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  text-decoration: none;
}
.tag-search-chip:hover { background: #0369A1; color: #fff; border-color: #0369A1; }

/* Dark mode overrides */
body.dark-mode .suggest-box { background: #1C2B3A; border-color: #2E3A4E; }
body.dark-mode .sg-item { color: var(--text-dark); }
body.dark-mode .sg-item:hover { background: #1A2336; }

/* ============ ACCESSIBILITY — FOCUS & KEYBOARD NAV ============ */

/* Visible focus ring for keyboard navigation (WCAG AA) */
:focus-visible {
  outline: 3px solid #005FCC;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* Screen-reader only utility */
.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;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 6px;
  padding: 8px 16px;
  background: var(--bp-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* Smooth transitions on interactive elements */
a, button, .btn, .listing-card, .category-card, .area-card,
.cat-card, .event-card, .tindakan-item, .quick-btn {
  transition-property: background-color, color, border-color, box-shadow, transform, opacity;
  transition-duration: 0.18s;
  transition-timing-function: ease;
}

/* Consistent hover lift for cards */
.listing-card:hover,
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Hover underline for nav/footer links */
.navbar a:hover, .footer a:hover { text-decoration: underline; }

/* ============================================================
   WOOD THEME — Kayu Minimal 3D (Public pages only)
   Guard: :not(.dark-mode) :not(:has(.admin-layout))
   Accent navy + red kekal — wood = background + cards + btns
   ============================================================ */

:root {
  --wood-bg:        #ece0cf;
  --wood-panel:     #d8c9b0;
  --wood-btn:       #c8975a;
  --wood-btn-dark:  #a0723d;
  --wood-btn-light: #dab070;
  --wood-border:    #b0883a;
  --wood-text:      #3d2817;
}

/* ── Body: warm kayu + urat halus (garis mendatar, ~3% opacity) ── */
body:not(.dark-mode):not(:has(.admin-layout)) {
  background-color: var(--wood-bg);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 32px,
      rgba(139,90,43,0.08) 32px,
      rgba(139,90,43,0.08) 33px
    );
  background-attachment: fixed;
}

/* ── Navbar: kayu cerah ── */
body:not(.dark-mode):not(:has(.admin-layout)) .navbar {
  background: linear-gradient(180deg, #f5e8d0 0%, #ecdec6 100%);
  border-bottom: 2px solid var(--wood-border);
}

/* ── Section alt ── */
body:not(.dark-mode):not(:has(.admin-layout)) .section-alt {
  background: rgba(216,201,176,0.55);
}

/* ── .btn base: 3D kayu jelas timbul ── */
body:not(.dark-mode):not(:has(.admin-layout)) .btn {
  background: linear-gradient(180deg,
    var(--wood-btn-light) 0%,
    var(--wood-btn)       50%,
    var(--wood-btn-dark)  100%
  );
  color: #3d2817;
  border: 1.5px solid var(--wood-border);
  border-radius: 10px;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.44),
    0 4px 0 #7a5530,
    0 6px 10px rgba(0,0,0,0.26);
  text-shadow: 0 1px 0 rgba(255,255,255,0.28);
}
body:not(.dark-mode):not(:has(.admin-layout)) .btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #e8bb80 0%, #d4a060 50%, #b07840 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.46),
    0 6px 0 #7a5530,
    0 8px 14px rgba(0,0,0,0.28);
}
body:not(.dark-mode):not(:has(.admin-layout)) .btn:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 3px 5px rgba(100,60,20,0.28),
    0 1px 0 #7a5530;
}

/* .btn-primary: walnut gelap — lebih tebal & kaya ── */
body:not(.dark-mode):not(:has(.admin-layout)) .btn-primary {
  background: linear-gradient(180deg, #c8842a 0%, #9a5818 55%, #6e3a0a 100%);
  color: #fff;
  border-color: #4e2508;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 5px 0 #3d1a04,
    0 7px 16px rgba(0,0,0,0.38);
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  letter-spacing: 0.3px;
}
body:not(.dark-mode):not(:has(.admin-layout)) .btn-primary:hover {
  background: linear-gradient(180deg, #d89030 0%, #a86020 55%, #7a4010 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 7px 0 #3d1a04,
    0 10px 20px rgba(0,0,0,0.42);
}
body:not(.dark-mode):not(:has(.admin-layout)) .btn-primary:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 3px 5px rgba(0,0,0,0.30),
    0 1px 0 #3d1a04;
}

/* .btn-ghost: transparent kayu ── */
body:not(.dark-mode):not(:has(.admin-layout)) .btn-ghost {
  background: transparent;
  color: var(--wood-text);
  border: 1px solid var(--wood-border);
  box-shadow: none;
  text-shadow: none;
}
body:not(.dark-mode):not(:has(.admin-layout)) .btn-ghost:hover {
  background: rgba(200,151,90,0.15);
  border-color: #9a5818;
  color: #6e3a0a;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
body:not(.dark-mode):not(:has(.admin-layout)) .btn-ghost:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* .btn-white: putih (dalam CTA section background gelap) ── */
body:not(.dark-mode):not(:has(.admin-layout)) .btn-white {
  background: #fff;
  color: var(--bp-red);
  border-color: rgba(255,255,255,0.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 3px 0 rgba(0,0,0,0.18),
    0 4px 12px rgba(0,0,0,0.12);
  text-shadow: none;
}
body:not(.dark-mode):not(:has(.admin-layout)) .btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    0 5px 0 rgba(0,0,0,0.14),
    0 6px 20px rgba(0,0,0,0.13);
}

/* ── Listing + Event cards ── */
body:not(.dark-mode):not(:has(.admin-layout)) .listing-card,
body:not(.dark-mode):not(:has(.admin-layout)) .event-card,
body:not(.dark-mode):not(:has(.admin-layout)) .event-card-lg {
  background: var(--wood-panel);
  border: 1.5px solid var(--wood-border);
  box-shadow:
    0 3px 0 rgba(100,60,20,0.22),
    0 5px 12px rgba(100,60,20,0.14);
}
body:not(.dark-mode):not(:has(.admin-layout)) .listing-card:hover,
body:not(.dark-mode):not(:has(.admin-layout)) .event-card:hover,
body:not(.dark-mode):not(:has(.admin-layout)) .event-card-lg:hover {
  box-shadow:
    0 6px 0 rgba(100,60,20,0.22),
    0 10px 24px rgba(100,60,20,0.18);
}

/* ── Category cards ── */
body:not(.dark-mode):not(:has(.admin-layout)) .category-card {
  background: var(--wood-panel);
  border-color: var(--wood-border);
  box-shadow:
    0 2px 0 rgba(139,90,43,0.12),
    0 3px 8px rgba(139,90,43,0.07);
}
body:not(.dark-mode):not(:has(.admin-layout)) .category-card:hover {
  border-color: var(--bp-red);
  box-shadow:
    0 4px 0 rgba(200,16,46,0.18),
    0 5px 14px rgba(200,16,46,0.1);
}

/* ── Area cards ── */
body:not(.dark-mode):not(:has(.admin-layout)) .area-card {
  background: var(--wood-panel);
  border-color: var(--wood-border);
}

/* ── Listing detail panels ── */
body:not(.dark-mode):not(:has(.admin-layout)) .listing-header,
body:not(.dark-mode):not(:has(.admin-layout)) .listing-section,
body:not(.dark-mode):not(:has(.admin-layout)) .event-section,
body:not(.dark-mode):not(:has(.admin-layout)) .listing-footer-info {
  background: var(--wood-panel);
  border-color: var(--wood-border);
  box-shadow:
    0 2px 0 rgba(139,90,43,0.1),
    0 3px 8px rgba(139,90,43,0.06);
}

/* ── Breadcrumb bar ── */
body:not(.dark-mode):not(:has(.admin-layout)) .breadcrumb-bar {
  background: rgba(225,208,182,0.96);
  border-bottom: 1.5px solid var(--wood-border);
}

/* ── Form inputs (public pages) ── */
body:not(.dark-mode):not(:has(.admin-layout)) .filter-select,
body:not(.dark-mode):not(:has(.admin-layout)) .f-input,
body:not(.dark-mode):not(:has(.admin-layout)) .f-select,
body:not(.dark-mode):not(:has(.admin-layout)) .f-textarea,
body:not(.dark-mode):not(:has(.admin-layout)) .form-select,
body:not(.dark-mode):not(:has(.admin-layout)) .form-textarea {
  background: #f5eadb;
  border-color: var(--wood-border);
  border-width: 1.5px;
}
body:not(.dark-mode):not(:has(.admin-layout)) .filter-select:focus,
body:not(.dark-mode):not(:has(.admin-layout)) .f-input:focus,
body:not(.dark-mode):not(:has(.admin-layout)) .f-select:focus,
body:not(.dark-mode):not(:has(.admin-layout)) .f-textarea:focus {
  border-color: var(--wood-btn-dark);
}

/* ── Pagination ── */
body:not(.dark-mode):not(:has(.admin-layout)) .pg-btn {
  background: var(--wood-panel);
  border-color: var(--wood-border);
  color: var(--wood-text);
}
body:not(.dark-mode):not(:has(.admin-layout)) .pg-btn:hover:not(:disabled) {
  border-color: var(--bp-red);
  color: var(--bp-red);
}

/* ── Skeleton cards ── */
body:not(.dark-mode):not(:has(.admin-layout)) .skeleton-card {
  background: var(--wood-panel);
  border-color: var(--wood-border);
}
body:not(.dark-mode):not(:has(.admin-layout)) .skeleton-card-img,
body:not(.dark-mode):not(:has(.admin-layout)) .skeleton-card-title,
body:not(.dark-mode):not(:has(.admin-layout)) .skeleton-card-sub {
  background: rgba(201,168,124,0.32);
}
body:not(.dark-mode):not(:has(.admin-layout)) .skel-card {
  background: linear-gradient(90deg, #ece0cf 25%, #f0e8d8 50%, #ece0cf 75%);
  background-size: 400% 100%;
}

/* ── Empty state ── */
body:not(.dark-mode):not(:has(.admin-layout)) .empty-state {
  background: var(--wood-panel);
  border-color: var(--wood-border);
}

/* ── Auth page ── */
body:not(.dark-mode):not(:has(.admin-layout)) .auth-page {
  background: var(--wood-bg);
}
body:not(.dark-mode):not(:has(.admin-layout)) .auth-card {
  background: #f0e4ce;
  border: 1.5px solid var(--wood-border);
  box-shadow:
    0 4px 0 rgba(100,60,20,0.22),
    0 8px 28px rgba(100,60,20,0.14);
}

/* ── 404 page ── */
body:not(.dark-mode):not(:has(.admin-layout)) .page-404 {
  background: var(--wood-bg);
}

/* ── Modal ── */
body:not(.dark-mode):not(:has(.admin-layout)) .modal-box {
  background: #fdf6ed;
  border-color: var(--wood-border);
}

/* ── Suggest box ── */
body:not(.dark-mode):not(:has(.admin-layout)) .suggest-box {
  background: #fdf6ed;
  border-color: var(--wood-border);
}
body:not(.dark-mode):not(:has(.admin-layout)) .sg-item:hover {
  background: rgba(212,165,116,0.2);
}

/* ── Cat pill (search initial) ── */
body:not(.dark-mode):not(:has(.admin-layout)) .cat-pill {
  background: var(--wood-panel);
  border-color: var(--wood-border);
  color: var(--wood-text);
}

/* ── Search form big ── */
body:not(.dark-mode):not(:has(.admin-layout)) .search-form-big {
  background: #fdf6ed;
}

/* ── Chip / tag pills ── */
body:not(.dark-mode):not(:has(.admin-layout)) .quick-chip,
body:not(.dark-mode):not(:has(.admin-layout)) .tag-pill {
  background: rgba(236,224,207,0.85);
  border-color: var(--wood-border);
  color: var(--wood-text);
}
body:not(.dark-mode):not(:has(.admin-layout)) .listing-area {
  background: rgba(236,224,207,0.85);
  color: var(--wood-text);
}

/* ── Listing card photo placeholder ── */
body:not(.dark-mode):not(:has(.admin-layout)) .listing-card-photo {
  background: linear-gradient(135deg, #e3c39a 0%, #d4a574 100%);
}
body:not(.dark-mode):not(:has(.admin-layout)) .listing-image,
body:not(.dark-mode):not(:has(.admin-layout)) .event-image {
  background: linear-gradient(135deg, #d4a574 0%, #c49060 100%);
}

/* ── Hours rows ── */
body:not(.dark-mode):not(:has(.admin-layout)) .hours-row:nth-child(odd) {
  background: rgba(245,237,225,0.72);
}

/* ── Radio / check pills (daftar wizard) ── */
body:not(.dark-mode):not(:has(.admin-layout)) .radio-pill,
body:not(.dark-mode):not(:has(.admin-layout)) .check-pill {
  background: var(--wood-panel);
  border-color: var(--wood-border);
}

/* ── Form wrapper panels (cadangan, profil, etc.) ── */
body:not(.dark-mode):not(:has(.admin-layout)) #formWrap {
  background: var(--wood-panel);
  border-color: var(--wood-border);
}

/* ── Announcement cards (pengumuman) ── */
body:not(.dark-mode):not(:has(.admin-layout)) .ann-card {
  background: var(--wood-panel);
}
body:not(.dark-mode):not(:has(.admin-layout)) .ann-card.jenis-penting {
  background: #fdf6e3;
}

/* ── Logo Besi 3D — metallic steel/gold (semua page) ── */
.logo-text {
  background: linear-gradient(180deg,
    #f2f2f2 0%,
    #d8d8d8 22%,
    #9a9a9a 52%,
    #c8c8c8 78%,
    #eeeeee 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.5))
    drop-shadow(0 2px 3px rgba(0,0,0,0.18));
}
.logo-accent {
  background: linear-gradient(180deg,
    #ffe066 0%,
    #f0b800 28%,
    #c88800 62%,
    #f5d050 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.dark-mode .logo-text {
  background: linear-gradient(180deg,
    #ffffff 0%,
    #e0e0e0 22%,
    #adadad 52%,
    #d8d8d8 78%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.35))
    drop-shadow(0 2px 4px rgba(0,0,0,0.45));
}
body.dark-mode .logo-accent {
  background: linear-gradient(180deg,
    #ffe680 0%,
    #f5c200 28%,
    #d49800 62%,
    #ffe060 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   DARK MODE — Complete Override
   Toggled via body.dark-mode class (js/dark-mode.js)
   Default: light mode. Saved in localStorage key 'dmMode'.
   ============================================================ */

/* Toggle button — light mode */
.dark-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: var(--text-dark);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.dark-toggle:hover { background: var(--bg-light); border-color: #aaa; }

/* Toggle button — dark mode */
body.dark-mode .dark-toggle {
  color: #E8EAF0;
  border-color: #3A4A60;
  background: #1C2B3A;
}
body.dark-mode .dark-toggle:hover { background: #243249; border-color: #4A5E7A; }

/* ── CSS variable overrides ── */
body.dark-mode {
  --text-dark:       #E8EAF0;
  --text-muted:      #9AA5B4;
  --border:          #2E3A4E;
  --bg-light:        #1A2336;
  --bg-card:         #1C2B3A;
  --bp-cream:        #0F1824;
  --bp-white:        #1C2B3A;

  background: var(--bp-cream);
  color: var(--text-dark);
}

/* ── Root layout ── */
body.dark-mode .navbar {
  background: #17243A;
  border-bottom-color: #2E3A4E;
}

/* Nav links & logo in dark mode */
body.dark-mode .logo { color: var(--text-dark); }
body.dark-mode .nav-link,
body.dark-mode .navbar a { color: var(--text-dark); }

/* ── Sections ── */
body.dark-mode .section-alt,
body.dark-mode .section-white { background: #162030; }

body.dark-mode .section-title,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
  color: var(--text-dark);
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode li,
body.dark-mode label { color: var(--text-dark); }

body.dark-mode .section-subtitle,
body.dark-mode .text-muted { color: var(--text-muted); }

/* ── Hero ── */
body.dark-mode .hero {
  background: linear-gradient(135deg, #080F1C 0%, #0D1E36 100%);
}

/* ── Cards ── */
body.dark-mode .listing-card,
body.dark-mode .event-card,
body.dark-mode .event-card-lg,
body.dark-mode .category-card,
body.dark-mode .area-card,
body.dark-mode .listing-header,
body.dark-mode .listing-section,
body.dark-mode .event-section,
body.dark-mode .listing-footer-info,
body.dark-mode .stat-card,
body.dark-mode .dash-stat-card,
body.dark-mode .dash-listing-card,
body.dark-mode .form-section,
body.dark-mode .modal-box,
body.dark-mode .admin-card,
body.dark-mode .ann-card,
body.dark-mode .kedai-section,
body.dark-mode .info-card {
  background: #1C2B3A;
  border-color: #2E3A4E;
  color: var(--text-dark);
}

/* Text inside cards */
body.dark-mode .listing-title,
body.dark-mode .event-title,
body.dark-mode .category-name,
body.dark-mode .listing-category,
body.dark-mode .event-meta,
body.dark-mode .listing-area,
body.dark-mode .card-title,
body.dark-mode .card-name { color: var(--text-dark); }

body.dark-mode .listing-card p,
body.dark-mode .event-card p,
body.dark-mode .category-card p { color: var(--text-muted); }

/* Area cards */
body.dark-mode .area-card { color: var(--text-dark); border-color: #2E3A4E; }
body.dark-mode .area-card:hover { background: #243249; color: var(--text-dark); border-color: #4A6080; }

/* ── Forms & Inputs ── */
body.dark-mode .search-box,
body.dark-mode .search-form-big { background: #1C2B3A; border-color: #2E3A4E; }

body.dark-mode .search-box input,
body.dark-mode .search-form-big input,
body.dark-mode .sfb-input,
body.dark-mode .f-input,
body.dark-mode .f-select,
body.dark-mode .f-textarea,
body.dark-mode .filter-select,
body.dark-mode .form-select,
body.dark-mode .form-textarea,
body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="tel"],
body.dark-mode input[type="number"],
body.dark-mode input[type="password"],
body.dark-mode select,
body.dark-mode textarea {
  background: #1A2336;
  border-color: #2E3A4E;
  color: var(--text-dark);
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder { color: var(--text-muted); }

body.dark-mode .f-label,
body.dark-mode .form-label,
body.dark-mode label { color: var(--text-dark); }

/* ── Buttons ── */
body.dark-mode .btn-ghost {
  color: var(--text-dark);
  border-color: #3A4A60;
}
body.dark-mode .btn-ghost:hover { background: #1A2336; color: var(--text-dark); }

/* ── Footer ── */
body.dark-mode .footer {
  background: #080F1C;
  border-top-color: #2E3A4E;
}
body.dark-mode .footer *,
body.dark-mode .footer p,
body.dark-mode .footer li,
body.dark-mode .footer a { color: #C8D4E0; }
body.dark-mode .footer a:hover { color: #fff; }
body.dark-mode .footer h4 { color: var(--bp-red-light); }

/* ── Breadcrumbs ── */
body.dark-mode .breadcrumb,
body.dark-mode .breadcrumb a,
body.dark-mode .bc-current,
body.dark-mode .bc-back,
body.dark-mode .breadcrumb-bar { color: var(--text-muted); }
body.dark-mode .breadcrumb a:hover { color: var(--bp-red-light); }

/* ── Chips & Badges ── */
body.dark-mode .badge,
body.dark-mode .quick-chip,
body.dark-mode .cat-pill,
body.dark-mode .tag-pill,
body.dark-mode .lc-area,
body.dark-mode .listing-area {
  background: #1A2336;
  border-color: #2E3A4E;
  color: var(--text-muted);
}

/* ── Empty state ── */
body.dark-mode .empty-state,
body.dark-mode .state-center { background: #1C2B3A; border-color: #2E3A4E; }
body.dark-mode .state-title,
body.dark-mode .page-404-title { color: var(--text-dark); }
body.dark-mode .state-desc { color: var(--text-muted); }

/* ── Auth / Login ── */
body.dark-mode .auth-page { background: #0F1824; }
body.dark-mode .auth-card { background: #1C2B3A; border-color: #2E3A4E; }
body.dark-mode .auth-logo-text,
body.dark-mode .auth-title { color: var(--text-dark); }
body.dark-mode .auth-input { background: #1A2336; border-color: #2E3A4E; color: var(--text-dark); }

/* ── Search page ── */
body.dark-mode .search-result-header,
body.dark-mode .srh-label,
body.dark-mode .srh-count,
body.dark-mode .result-label { color: var(--text-dark); }
body.dark-mode .search-hero { background: linear-gradient(135deg, #080F1C, #0D1E36); }

/* ── Pagination ── */
body.dark-mode .pg-btn { background: #1C2B3A; border-color: #2E3A4E; color: var(--text-dark); }
body.dark-mode .pg-btn:hover:not(:disabled) { background: #243249; }
body.dark-mode .pg-btn.active { background: var(--bp-red); color: white; border-color: var(--bp-red); }

/* ── Suggest box ── */
body.dark-mode .suggest-box { background: #1C2B3A; border-color: #2E3A4E; }
body.dark-mode .sg-item { color: var(--text-dark); }
body.dark-mode .sg-item:hover { background: #1A2336; }

/* ── Skeletons ── */
body.dark-mode .skel-card,
body.dark-mode .skeleton-card { background: #1C2B3A; border-color: #2E3A4E; }
body.dark-mode .skel-card::after,
body.dark-mode .skeleton-card-img,
body.dark-mode .skeleton-card-title,
body.dark-mode .skeleton-card-sub,
body.dark-mode .skeleton-line { background: #243249; }

/* ── Listing detail ── */
body.dark-mode .contact-web { background: #1A2336; color: var(--text-dark); border-color: #2E3A4E; }
body.dark-mode .contact-web:hover { background: #243249; }
body.dark-mode .hours-row:nth-child(odd) { background: #1A2336; }
body.dark-mode .hrs-day { color: var(--text-dark); }

/* ── Admin / Dashboard (keep dark even in dark mode) ── */
body.dark-mode .admin-sidebar { background: #0A111E; border-right-color: #2E3A4E; }
body.dark-mode .admin-topbar { background: #17243A; border-bottom-color: #2E3A4E; }
body.dark-mode .dash-act-edit { color: var(--text-dark); border-color: #3A4A60; }
body.dark-mode .dash-stat-num { color: var(--text-dark); }

/* ── Scrollbar ── */
body.dark-mode ::-webkit-scrollbar-track { background: #0F1824; }
body.dark-mode ::-webkit-scrollbar-thumb { background: #2E3A4E; }
