/* ============================================
   ABRICOTZ — Listing Portal Design System
   Font: Syne (headings) + DM Sans (body)
   Theme: Warm white + Burnt orange accent
   ============================================ */

/* https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap */

@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,600,700,800&display=swap&subset=latin-ext,vietnamese');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700,800');

/* ── CSS Variables ── */
:root {
  --primary:       #E8380D;
  --primary-dark:  #C22D08;
  --primary-light: #FFF0EC;
  --primary-mid:   #FF6B3D;

  --dark:   #141414;
  --dark2:  #1E1E1E;
  --dark3:  #2A2A2A;

  --surface:   #FFFFFF;
  --surface2:  #FAF9F7;
  --surface3:  #F3F1EE;

  --text-primary:   #141414;
  --text-secondary: #6B6B6B;
  --text-muted:     #A0A0A0;

  --border:       rgba(0,0,0,0.08);
  --border-hover: rgba(232,56,13,0.3);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);

  /* --font-head: 'Syne', sans-serif; 
  --font-body: 'DM Sans', sans-serif; */
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --nav-h: 64px;
  --transition: 0.22s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

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

ul { list-style: none; }

/* ── Utilities ── */
.text-primary-color { color: var(--primary) !important; }
.text-muted-custom  { color: var(--text-secondary) !important; }
.bg-surface2        { background: var(--surface2) !important; }
.bg-surface3        { background: var(--surface3) !important; }

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.divider {
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 14px 0 24px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,56,13,0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 9px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-dark:hover { background: var(--dark3); color: #fff; }

.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ── Navbar ── */
body.header-one {
  padding-top: 0;
}
#header_part,
#navigation {
  display: none !important;
}

.site-header-abricotz {
  position: sticky;
  top: 0;
  z-index: 1100;
  width: 100%;
}

.navbar-abricotz {
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: box-shadow var(--transition);
}
.site-header-abricotz:has(#mobile-menu.show) .navbar-abricotz,
.site-header-abricotz:has(#mobile-menu.collapsing) .navbar-abricotz {
  border-bottom-color: transparent;
}
.navbar-abricotz.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}
.navbar-brand-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}
.navbar-brand-logo span { color: var(--primary); }

.nav-link-custom {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}

/* ── Hero ── */
.hero-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(232,56,13,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(232,56,13,0.10) 0%, transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-title .accent { color: var(--primary); }

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Search Bar */
#site_search_form {
  width: 100%;
  margin: 0;
}

.search-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xl);
  max-width: 100%;
  width: 100%;
  overflow: visible;
}
.search-wrapper .search-input-group {
  flex: 1 1 0;
  min-width: 0;
  min-height: 50px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 0 16px;
  background: var(--surface2);
  border-radius: var(--radius-md);
}
.search-wrapper .search-input-group--expanded {
  flex: 1 1 auto;
  min-width: min(100%, 480px);
}
.search-wrapper .search-input-group i {
  color: var(--text-muted);
  font-size: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
}
#site_search_form .search-wrapper .search-input-group input[type="text"] {
  flex: 1 1 auto;
  border: none !important;
  background: transparent !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  width: 100%;
  min-width: 0;
  outline: none !important;
  margin: 0 !important;
  padding: 0 8px 0 0;
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  line-height: normal;
  align-self: stretch;
  box-shadow: none !important;
  border-radius: 0;
  opacity: 1;
  -webkit-appearance: none;
  appearance: none;
}
#site_search_form .search-wrapper .search-input-group input[type="text"]:focus,
#site_search_form .search-wrapper .search-input-group input[type="text"]:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.search-wrapper .search-input-group:focus-within {
  box-shadow: none;
}
.search-wrapper__submit {
  white-space: nowrap;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  min-height: 50px;
  padding-top: 0;
  padding-bottom: 0;
}
.search-wrapper .search-select {
  flex: 0 0 auto;
  width: auto;
  min-width: 140px;
  max-width: 200px;
  min-height: 50px;
  box-sizing: border-box;
  display: block;
  margin: 0;
  height: 50px;
  line-height: normal;
  box-shadow: none;
  font-weight: 400;
}
#site_search_form .search-wrapper .search-wrapper__submit {
  margin: 0;
  width: auto;
  height: 50px;
  box-shadow: none;
}
.search-wrapper .search-divider {
  display: none;
}
.search-select {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 16px;
  outline: none;
  cursor: pointer;
  min-width: 120px;
}

/* Search mini bar (listing page) */
.search-mini-bar {
  background: var(--surface2);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.search-mini-bar__controls {
  --search-mini-control-h: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.search-mini-bar .search-input-group--mini {
  flex: 0 1 400px;
  min-width: 0;
  max-width: 400px;
  height: var(--search-mini-control-h);
  min-height: var(--search-mini-control-h);
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  gap: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.search-mini-bar .search-input-group--mini i {
  padding: 0 0 0 12px;
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
  background: transparent;
}
#site_search_form .search-mini-bar .search-input-group--mini input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 !important;
  padding: 0 12px 0 8px;
  box-sizing: border-box;
  height: 100% !important;
  min-height: 0 !important;
  line-height: normal;
  outline: none !important;
  align-self: stretch;
  box-shadow: none !important;
  border-radius: 0;
  opacity: 1;
  -webkit-appearance: none;
  appearance: none;
}
#site_search_form .search-mini-bar .search-input-group--mini input[type="text"]:focus,
#site_search_form .search-mini-bar .search-input-group--mini input[type="text"]:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.search-mini-bar .search-input-group--mini:focus-within {
  border-color: var(--border);
  box-shadow: none;
}
#site_search_form .search-mini-bar .sort-select {
  flex: 0 0 auto;
  width: auto;
  min-width: 140px;
  max-width: 220px;
  height: var(--search-mini-control-h) !important;
  min-height: var(--search-mini-control-h) !important;
  line-height: normal !important;
  margin: 0 !important;
  padding: 9px 12px;
  box-sizing: border-box;
  display: block;
  box-shadow: none;
  font-weight: 400;
}
.search-mini-bar .btn-primary {
  flex: 0 0 auto;
  white-space: nowrap;
  height: var(--search-mini-control-h);
  min-height: var(--search-mini-control-h);
  margin: 0;
  padding: 9px 22px;
  box-sizing: border-box;
  box-shadow: none;
}
.sort-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  outline: none;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.hero-stat { text-align: left; }
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.hero-section--slider {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-section--slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
}
.hero-section--slider .hero-grid,
.hero-section--slider .container {
  position: relative;
  z-index: 2;
}

.hero-visual { position: relative; }
.hero-visual-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  backdrop-filter: blur(12px);
}
.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
}
.hero-live-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.hero-activity-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-activity-icon { font-size: 20px; flex-shrink: 0; }
.hero-activity-title {
  font-size: 12px;
  color: #fff;
  margin: 0;
  font-weight: 600;
}
.hero-activity-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.hero-activity-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  margin-left: auto;
  flex-shrink: 0;
}
.hero-activity-badge {
  font-size: 10px;
  color: var(--primary);
  margin-left: auto;
  flex-shrink: 0;
}
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  box-shadow: var(--shadow-xl);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}
.floating-badge i { color: var(--primary); }
.floating-badge-top { top: -16px; right: 20px; }
.floating-badge-bottom { bottom: -16px; left: 20px; }

.navbar-brand-img {
  max-height: 40px;
  width: auto;
  display: block;
}
.footer-brand-img {
  max-height: 44px;
  width: auto;
  display: block;
}
#mobile-menu.mobile-menu-panel {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 1100;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
#mobile-menu.mobile-menu-panel.collapsing {
  transition: height 0.2s ease;
}
body.mobile-menu-open {
  overflow: hidden;
}
.navbar-toggler-custom.is-active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.navbar-toggler-custom.is-active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler-custom.is-active span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ── Cards ── */
.card-listing {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.card-listing:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--surface3);
  display: block;
}
.card-listing .card-thumb {
  width: 100%;
  height: 180px;
}
.card-thumb-placeholder {
  width: 100%;
  height: 180px;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.card-body-custom { padding: 16px 18px; }

.card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.badge-featured  { background: var(--primary-light); color: var(--primary); }
.badge-verified  { background: #E8F5E9; color: #2E7D32; }
.badge-new       { background: #E3F2FD; color: #1565C0; }
.badge-premium   { background: #FFF8E1; color: #E65100; }

.card-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
}
.card-meta i { font-size: 14px; }
.stars { color: #F5A623; font-size: 13px; }
.stars span { color: var(--text-secondary); margin-left: 3px; }

/* Category Cards — Popular Categories grid (index-style name + full-width image) */
.row-categories > .col {
  display: flex;
}
.row-categories > .col > a {
  display: flex;
  width: 100%;
}
.row-categories .card-category {
  flex: 1;
  width: 100%;
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  overflow: hidden;
}
.row-categories .card-category:not(.card-category--view-all) .cat-icon {
  position: relative;
 /* width: 100%;
  height: 140px;
  margin: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;*/
  background-color: var(--surface3);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}
.row-categories .card-category:not(.card-category--view-all):hover .cat-icon {
  transform: scale(1.04);
}
.row-categories .card-category:not(.card-category--view-all)::after {
  display: none;
}
.row-categories .card-category:not(.card-category--view-all) .cat-name {
  position: static;
  margin: 0;
  min-height: 2.7em;
  padding: 16px 14px 18px;
  color: var(--text-primary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.row-categories .card-category--view-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  min-height: 200px;
}
.row-categories .card-category--view-all .cat-icon {
  position: static;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
}
.row-categories .card-category--view-all .cat-name {
  position: static;
  color: var(--text-secondary);
  text-align: center;
  padding: 0;
  margin-top: 12px;
  min-height: auto;
}

.card-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.card-category::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.card-category:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.card-category:hover::before { transform: scaleX(1); }

.cat-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  /*margin: 0 auto 14px;*/
  margin: 50px auto 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
  overflow: hidden;
}
.card-category:hover .cat-icon { transform: scale(1.1); }

.cat-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cat-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Sidebar Filters ── */
.filter-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.filter-header {
  background: var(--dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-header h6 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}
.filter-body { padding: 20px; }
.filter-group { margin-bottom: 24px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.form-check-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
}
.form-check-custom input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-check-custom label {
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  flex: 1;
  display: flex;
  justify-content: space-between;
}
.form-check-custom .count {
  background: var(--surface3);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Forms ── */
.form-group-custom { margin-bottom: 20px; }
.form-label-custom {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-label-custom .req { color: var(--primary); margin-left: 2px; }

.form-control-custom {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,56,13,0.1);
}
.form-control-custom::placeholder { color: var(--text-muted); }

textarea.form-control-custom { resize: vertical; min-height: 120px; }
select.form-control-custom { cursor: pointer; }

.input-icon-wrap { position: relative; }
.input-icon-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}
.input-icon-wrap .form-control-custom { padding-left: 42px; }

/* Enquiry form (enquiry.html) */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--text-muted);
}
.step-dot.done,
.step-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.step-dot.active {
  box-shadow: 0 0 0 4px rgba(232, 56, 13, 0.2);
}
.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
}
.step-line.done {
  background: var(--primary);
}
.enquiry-modal__content {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - 3.5rem);
  overflow: hidden;
}
.enquiry-modal .modal-dialog.modal-dialog-scrollable {
  max-height: calc(100% - var(--bs-modal-margin, 1.75rem) * 2);
}
.enquiry-modal .modal-dialog.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: min(70vh, 560px);
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}
.enquiry-modal .modal-dialog.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
  width: 8px;
}
.enquiry-modal .modal-dialog.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
  background: var(--surface2);
  border-radius: 4px;
}
.enquiry-modal .modal-dialog.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.enquiry-modal .modal-dialog.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
.enquiry-modal__header {
  flex-shrink: 0;
  padding: 28px 28px 0;
}
.enquiry-modal__header .modal-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
}
.enquiry-modal__subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.enquiry-modal .modal-body {
  padding: 20px 28px 28px;
}
.enquiry-form__title {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 18px;
}
.enquiry-form__intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
#enquiryForm .form-group-custom,
#contactEnquiryForm .form-group-custom {
  margin-bottom: 0;
}
#enquiryForm .form-control-custom,
#enquiryForm select.form-control-custom,
#contactEnquiryForm .form-control-custom {
  width: 100%;
  margin: 0 !important;
  display: block;
  height: auto;
  min-height: 44px;
  line-height: normal;
  box-sizing: border-box;
  box-shadow: none;
  font-weight: 400;
}
#enquiryForm textarea.form-control-custom.enquiry-message {
  min-height: 120px;
  line-height: 1.5;
}
#enquiryForm label.error,
#contactEnquiryForm label.error {
  font-size: 12px;
  color: var(--primary);
  margin-top: 6px;
  display: block;
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-custom a { color: var(--text-muted); }
.breadcrumb-custom a:hover { color: var(--primary); }
.breadcrumb-custom .sep { color: var(--border); }
.breadcrumb-custom .current { color: var(--text-primary); font-weight: 500; }

/* ── Tags ── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
}
.tag:hover, .tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Video cards ── */
.video-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition);
}
.video-card:hover { transform: translateY(-3px); }
.video-thumb-area {
  height: 140px;
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.video-thumb-area--embed {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-thumb-area--embed .iframe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-thumb-area--embed .iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-thumb-area .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: transform var(--transition);
}
.video-card:hover .play-circle { transform: scale(1.1); }
.video-info {
  padding: 12px 14px;
}
.video-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0;
}
.video-info span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}
.section-videos .section-label {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

/* ── Testimonials ── */
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-md); }
.testi-card.featured { border-color: var(--primary); background: var(--primary-light); }

.testi-stars { color: #F5A623; margin-bottom: 12px; }
.testi-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 16px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--text-muted); }

.enquiries-carousel-wrap {
  position: relative;
  padding: 0 56px 44px;
}
.enquiries-carousel .slick-list {
  margin: 0 -16px;
  overflow: hidden;
}
.enquiries-carousel .slick-track {
  display: flex;
  align-items: stretch;
}
.enquiries-carousel .slick-slide,
.enquiries-carousel .enquiries-carousel__slide {
  height: auto;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}
.enquiries-carousel__slide {
  height: 100%;
}
.enquiries-carousel .testi-card {
  height: 100%;
}
.enquiries-carousel .slick-dots {
  bottom: -28px;
  line-height: 0;
}
.enquiries-carousel .slick-dots li button:before {
  font-size: 10px;
  color: var(--primary);
  opacity: 0.35;
}
.enquiries-carousel .slick-dots li.slick-active button:before {
  opacity: 1;
}
.enquiries-carousel-wrap .enquiries-carousel__arrow.slick-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
  font-size: 16px;
  line-height: 1;
  transform: translateY(calc(-50% - 20px)) !important;
}
.enquiries-carousel-wrap .enquiries-carousel__arrow.slick-arrow:before {
  content: none !important;
  display: none !important;
}
.enquiries-carousel-wrap .enquiries-carousel__arrow.slick-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.enquiries-carousel-wrap .enquiries-carousel__arrow--prev,
.enquiries-carousel-wrap .slick-prev.enquiries-carousel__arrow {
  left: 0 !important;
  right: auto !important;
}
.enquiries-carousel-wrap .enquiries-carousel__arrow--next,
.enquiries-carousel-wrap .slick-next.enquiries-carousel__arrow {
  right: 0 !important;
  left: auto !important;
}
.enquiries-carousel-wrap .slick-prev.slick-disabled,
.enquiries-carousel-wrap .slick-next.slick-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 575.98px) {
  .enquiries-carousel-wrap {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ── CTA Band ── */
.cta-band {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 60% at 20% 50%, rgba(0,0,0,0.1) 0%, transparent 60%);
}
.cta-band * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 15px; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-white:hover { background: var(--surface2); transform: translateY(-2px); color: var(--primary); }
.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 11px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
}
.footer-brand { margin-bottom: 20px; }
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-logo-wrap .logo-icon { background: var(--primary); width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 240px; }

.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.social-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: all var(--transition);
}
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-col h6 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-contact-item i { color: var(--primary); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ── Detail Page ── */
.detail-hero {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.detail-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.info-card h5 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Submission form (submission.html) */
.form-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}
.form-section-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.form-section-head h5 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
}
#add_site_listing_form .form-group-custom {
  margin-bottom: 0;
}
#add_site_listing_form .form-control-custom,
#add_site_listing_form select.form-control-custom {
  width: 100%;
  margin: 0 !important;
  display: block;
  height: auto;
  min-height: 44px;
  line-height: normal;
  box-sizing: border-box;
  box-shadow: none;
  font-weight: 400;
}
#add_site_listing_form textarea.form-control-custom {
  min-height: 120px;
  line-height: 1.5;
}
#add_site_listing_form label.error {
  font-size: 12px;
  color: var(--primary);
  margin-top: 6px;
  display: block;
}
#add_site_listing_form select[name="portal_category"] option {
  font-size: 15px !important;
  font-weight: 400 !important;
}
#add_site_listing_form .intro-search-field .bootstrap-select .dropdown-toggle,
#add_site_listing_form .intro-search-field .bootstrap-select .dropdown-toggle .filter-option,
#add_site_listing_form .intro-search-field .bootstrap-select .dropdown-menu li a,
#add_site_listing_form .intro-search-field .bootstrap-select .dropdown-menu li a span.text,
#add_site_listing_form .intro-search-field .bootstrap-select .dropdown-menu li span {
  font-size: 15px !important;
  font-weight: 400 !important;
}
.add-listing-form__note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}

/* Contact page (contact.html) */
.contact-form-card {
  border-radius: var(--radius-xl);
  padding: 36px;
}
.contact-form-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 18px;
}
.contact-form-card__intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
#contact .form-group-custom {
  margin-bottom: 0;
}
#contact .form-control-custom {
  width: 100%;
  margin: 0 !important;
  display: block;
  height: auto;
  min-height: 44px;
  line-height: normal;
  box-sizing: border-box;
  box-shadow: none;
  font-weight: 400;
}
#contact textarea.form-control-custom,
#contact textarea.contact-element {
  width: 100% !important;
  min-height: 120px !important;
  height: auto !important;
  line-height: 1.5 !important;
  padding: 10px 16px !important;
  border: 1.5px solid var(--border) !important;
  background: var(--surface) !important;
  color: var(--text-primary) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  font-weight: 400 !important;
  resize: vertical;
}
#contact {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}
.contact-info-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}
.contact-info-card__title {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}
.contact-info-card__subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.contact-item:last-child {
  border-bottom: none;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(232, 56, 13, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}
.contact-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.contact-value a {
  color: var(--primary);
}
.contact-map-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding-top: 42%;
  background: var(--surface3);
}
.contact-map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-info-card .d-flex.gap-2.mt-4 {
  margin-top: 16px !important;
}
.contact-faq-section {
  border-top: 1px solid var(--border);
}
.contact-faq__title {
  font-family: var(--font-head);
  font-weight: 700;
}
.contact-faq__intro {
  font-size: 14px;
  color: var(--text-secondary);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  user-select: none;
  transition: background var(--transition);
}
.faq-question:hover {
  background: var(--surface2);
}
.faq-question i {
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--primary);
}
.faq-question.open i {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-answer a {
  color: var(--primary);
}
@media (max-width: 576px) {
  .contact-form-card {
    padding: 22px 18px;
  }
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}
.info-row i { color: var(--primary); font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.info-row span { color: var(--text-secondary); }
.info-row a { color: var(--primary); }

/* Sticky Enquiry Box */
.sticky-enquiry {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.enquiry-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.enquiry-box-head {
  background: var(--dark);
  padding: 16px 20px;
}
.enquiry-box-head h5 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.enquiry-box-body { padding: 20px; }

/* Site detail page (site-detail.html) */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 300px;
}
.gallery-main {
  grid-row: span 2;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--surface3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main--logo img {
  object-fit: contain;
  padding: 24px;
  background: #fff;
}
.gallery-thumb {
  background: var(--surface3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb:first-of-type { border-radius: 0 var(--radius-lg) 0 0; }
.gallery-thumb:last-of-type  { border-radius: 0 0 var(--radius-lg) 0; }
.gallery-grid--single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 280px;
}
.gallery-grid--single .gallery-main {
  grid-row: span 1;
  border-radius: var(--radius-lg);
}
.detail-header {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
}
.detail-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}
.detail-logo {
  max-width: 120px;
  max-height: 64px;
  object-fit: contain;
}
.detail-sections .detail-section {
  margin-bottom: 24px;
}
.detail-sections .detail-section:last-child {
  margin-bottom: 0;
}
.detail-sections .info-card {
  margin-bottom: 0;
}
.detail-sections .map-placeholder {
  margin-top: 16px;
}
.detail-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.detail-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.detail-contact-item i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.share-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface2);
  border-radius: var(--radius-md);
  margin-bottom: 0;
}
.share-strip span { font-size: 13px; color: var(--text-secondary); margin-right: 4px; }
.share-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--surface);
}
.share-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--dark);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,56,13,0.15) 0%, transparent 60%);
}
.page-hero .content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.55); font-size: 14px; margin: 0; }
.page-hero .breadcrumb-custom a { color: rgba(255,255,255,0.55); }
.page-hero .breadcrumb-custom a:hover { color: #fff; }
.page-hero .breadcrumb-custom .sep { color: rgba(255,255,255,0.3); }
.page-hero .breadcrumb-custom .current { color: #fff; font-weight: 500; }

/* ── Policy Page ── */
.policy-content h2 { font-size: 20px; margin: 32px 0 12px; }
.policy-content h3 { font-size: 16px; margin: 20px 0 8px; color: var(--text-secondary); font-weight: 600; }
.policy-content p  { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.policy-content ul { margin: 0 0 14px 20px; }
.policy-content ul li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; list-style: disc; }
.policy-toc {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.policy-toc h6 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 14px; }
.policy-toc ul li { margin-bottom: 8px; }
.policy-toc ul li a { font-size: 13px; color: var(--text-secondary); }
.policy-toc ul li a:hover { color: var(--primary); }
.policy-toc ul li a.active { color: var(--primary); font-weight: 600; }

/* ── Pagination ── */
.pagination-custom {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
}
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-secondary);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Alert / Toast ── */
.alert-custom {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  border: 1px solid transparent;
}
.alert-success { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.alert-error   { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert-info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }

/* ── Map Placeholder ── */
.map-placeholder {
  background: var(--surface3);
  border-radius: var(--radius-lg);
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
.map-placeholder i { font-size: 32px; color: var(--primary); }

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

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 6px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 48px; margin-bottom: 12px; display: block; }
.empty-state p { font-size: 15px; }

/* ── Hamburger / Mobile Nav ── */
.navbar-toggler-custom {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.navbar-toggler-custom span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
}
@media (min-width: 768px) {
  .desktop-flex {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    width: 100%;
  }

  .desktop-flex .reveal {
    margin: 0 auto;          /* centers the text block */
    text-align: center;      /* keeps label/title centered inside */
  }

  .desktop-flex .btn-ghost {
    position: absolute;
    right: 0;
    bottom: 0;               /* aligns with flex-end */
  }
/* ── Responsive ── */
@media (max-width: 991px) {
  .section { padding: 48px 0; }
  .hero-section { padding: 56px 0 72px; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 767px) {
  .section { padding: 40px 0; }
  .hero-section {
    padding: 44px 0 60px;
    overflow: visible;
  }
  .search-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }
  .search-wrapper .search-input-group--expanded {
    grid-column: 1 / -1;
    flex: none;
    min-width: 0;
    width: 100%;
  }
  .search-wrapper .search-select {
    grid-column: 1;
    flex: none;
    min-width: 0;
    max-width: none;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface2);
    padding: 10px 12px;
  }
  .search-wrapper__submit {
    grid-column: 2;
    flex: none;
    align-self: stretch;
  }
  .search-mini-bar__controls {
    --search-mini-control-h: 50px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }
  .search-mini-bar .search-input-group--mini {
    grid-column: 1 / -1;
    flex: none;
    max-width: none;
    width: 100%;
    height: var(--search-mini-control-h);
    min-height: var(--search-mini-control-h);
  }
  #site_search_form .search-mini-bar .search-input-group--mini input[type="text"] {
    height: 100% !important;
    min-height: var(--search-mini-control-h) !important;
    font-size: 14px;
  }
  #site_search_form .search-mini-bar .sort-select {
    grid-column: 1;
    flex: none;
    min-width: 0;
    max-width: none;
    width: 100%;
    height: var(--search-mini-control-h) !important;
    min-height: var(--search-mini-control-h) !important;
    border-radius: var(--radius-md);
    background: #fff;
  }
  .search-mini-bar .btn-primary {
    grid-column: 2;
    flex: none;
    align-self: stretch;
    height: var(--search-mini-control-h);
    min-height: var(--search-mini-control-h);
  }
  .gallery-grid { height: 200px; }
  .gallery-grid--single { height: 220px; }
  .hero-stats { gap: 16px; }
  .hero-stat strong { font-size: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .filter-sidebar { margin-bottom: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 16px 24px; }
  .cta-band { padding: 44px 0; }
}
