/*
Theme Name: True OCOP Đà Nẵng & Quảng Nam
Theme URI: https://trueocop.io.vn
Author: True OCOP Team
Author URI: https://trueocop.io.vn
Description: Hệ thống bản đồ tương tác số hóa sản phẩm OCOP & Du lịch làng nghề liên kết Đà Nẵng - Quảng Nam. Tích hợp trực tiếp hệ thống Quản lý Đặt lịch Khách tham quan và Hồ sơ Đăng ký Hợp tác xã (HTX) ngay trong WordPress Admin.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: trueocop
*/

/* ==========================================================================
   OCOP ĐÀ NẴNG MAP - STYLESHEET
   Design System & Premium Aesthetics
   ========================================================================== */

:root {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-dark: #064e3b;
  --primary-light: #d1fae5;
  --secondary: #0f766e;
  --secondary-hover: #115e59;
  --accent-red: #e11d48;
  --accent-gold: #f59e0b;
  --bg-dark: #0b1325;
  --bg-header: #0d172a;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-dark: #1e293b;
  --shadow-card: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-full: 9999px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: #f8fafc;
  color: var(--text-main);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TOP NAVIGATION BAR (Exact match to user reference screenshot)
   ========================================================================== */
.top-navbar {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-dark);
  height: 70px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  position: relative;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.live-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: #34d399;
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.brand-subtitle {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 400;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-tourist {
  background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-nav-tourist:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, #047857 0%, #115e59 100%);
}

.btn-nav-home {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-nav-home:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-nav-register {
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
  border: 1px solid #334155;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-nav-register:hover {
  background: #1e293b;
  border-color: #64748b;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   MAIN WORKSPACE & LEAFLET MAP
   ========================================================================== */
.map-workspace {
  flex: 1;
  position: relative;
  overflow: hidden;
}

#leaflet-map {
  width: 100%;
  height: 100%;
  background-color: #e6eef5;
}

/* Floating Filter Toolbar on the Map - Shifted neatly to the right of the detail card */
.floating-toolbar {
  position: absolute;
  top: 18px;
  left: 450px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.85);
  max-width: calc(100vw - 520px);
  overflow-x: auto;
  scrollbar-width: none;
}

.floating-toolbar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background: transparent;
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.filter-chip i {
  font-size: 12px;
}

.filter-chip:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.filter-chip.active {
  background: var(--bg-dark);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(11, 19, 37, 0.25);
}

.filter-divider {
  width: 1px;
  height: 22px;
  background: #e2e8f0;
  margin: 0 4px;
}

.district-select {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.district-select:hover, .district-select:focus {
  border-color: var(--primary);
  background: #ffffff;
}

/* ==========================================================================
   FLOATING DETAIL CARD (Exact layout from the user screenshot)
   ========================================================================== */
.ocop-detail-card {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 410px;
  max-width: calc(100vw - 40px);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  z-index: 850;
  border: 1px solid rgba(226, 232, 240, 0.85);
  animation: slideInCard 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 105px);
}

@keyframes slideInCard {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ocop-detail-card.closing {
  animation: slideOutCard 0.22s forwards;
}

@keyframes slideOutCard {
  to {
    opacity: 0;
    transform: translateY(15px) scale(0.96);
  }
}

/* Card Hero Media Banner */
.card-hero-media {
  position: relative;
  width: 100%;
  height: 195px;
  background-color: #1e293b;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-hero-media:hover .hero-img {
  transform: scale(1.05);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.05) 45%,
    rgba(15, 23, 42, 0.85) 100%
  );
  pointer-events: none;
}

/* Close button top right */
.card-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
  z-index: 10;
}

.card-close-btn:hover {
  background: rgba(225, 29, 72, 0.9);
  transform: rotate(90deg);
}

/* Floating Badges on top of hero image */
.hero-badges-group {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 5;
}

.badge-star-national {
  background: #ffffff;
  color: var(--accent-red);
  border: 1.5px solid var(--accent-red);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.badge-category-glass {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Body Content */
.card-content-body {
  padding: 18px 20px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.card-content-body::-webkit-scrollbar {
  width: 5px;
}

.card-content-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.card-main-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  letter-spacing: -0.3px;
}

/* Star Rating & Organization */
.card-meta-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.stars-container {
  color: var(--accent-gold);
  display: inline-flex;
  gap: 2px;
  font-size: 13px;
}

.meta-dot {
  color: #cbd5e1;
  font-weight: bold;
}

.meta-org-name {
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Address Box */
.card-address-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-icon {
  color: var(--accent-red);
  font-size: 15px;
  flex-shrink: 0;
}

.address-text {
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* Hotline */
.card-hotline-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
}

.hotline-icon {
  color: #059669;
  font-size: 14px;
}

.hotline-label {
  color: #64748b;
  font-weight: 500;
}

.hotline-number {
  color: #059669;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.hotline-number:hover {
  text-decoration: underline;
  color: #047857;
}

/* Description Section */
.card-description-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px dashed #e2e8f0;
}

.section-label-caption {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-body-text {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
}

/* Buttons Section */
.card-actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.btn-card-detail-primary {
  background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  letter-spacing: 0.3px;
  width: 100%;
}

.btn-card-detail-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #115e59 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
}

.btn-card-detail-primary:active {
  transform: translateY(0);
}

.card-secondary-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-card-booking-btn {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-booking-btn:hover {
  background: #d1fae5;
  border-color: #34d399;
  color: #047857;
  transform: translateY(-1px);
}

.btn-secondary-action,
.btn-card-navigate-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-secondary-action:hover,
.btn-card-navigate-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.btn-secondary-action i.fa-cart-shopping {
  color: #d97706;
}

.btn-secondary-action i.fa-diamond-turn-right {
  color: #2563eb;
}

/* ==========================================================================
   CUSTOM LEAFLET MAP MARKERS (Identical to reference screenshot pin)
   ========================================================================== */
.custom-ocop-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-ocop-marker:hover {
  transform: scale(1.18);
  z-index: 1000 !important;
}

.marker-pin-outer {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.marker-pin-outer.pin-magenta {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  border: 2px solid #ffffff;
}

.marker-pin-outer.pin-emerald {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border: 2px solid #ffffff;
}

.marker-pin-outer.pin-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  border: 2px solid #ffffff;
}

.marker-pin-inner {
  width: 16px;
  height: 16px;
  background-color: #ffffff;
  border-radius: 50%;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.marker-pin-inner i {
  font-size: 8px;
  color: #e11d48;
}

.marker-pulse-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 3px solid rgba(244, 63, 94, 0.7);
  animation: pulse-ring-anim 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring-anim {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Map control floating widgets (right side) */
.map-floating-controls {
  position: absolute;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 800;
}

.map-control-btn {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.map-control-btn:hover {
  background: #f8fafc;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   SIDEBAR / LIST DRAWER ("Bản Đồ Du Khách" Drawer)
   ========================================================================== */
.tourist-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tourist-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.tourist-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1200;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tourist-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 20px;
  background: var(--bg-header);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
}

.drawer-header-title {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.drawer-search-bar {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper i {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 14px;
}

.drawer-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.drawer-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.drawer-list-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-item-card {
  display: flex;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-item-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.drawer-item-thumb {
  width: 90px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.drawer-item-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.drawer-item-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.mini-badge-star {
  color: var(--accent-red);
  font-weight: 700;
  background: #ffe4e6;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.mini-badge-district {
  color: #0f766e;
  font-weight: 600;
  background: #ccfbf1;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.drawer-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 3px 0;
}

.drawer-item-address {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   INTERACTIVE MODALS
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 37, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 18px 24px;
  background: var(--bg-header);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(225, 29, 72, 0.85);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.modal-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #f1f5f9;
}

.btn-primary {
  background: var(--primary);
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Product list inside modal */
.product-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card-item {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  align-items: center;
}

.product-img {
  width: 80px;
  height: 75px;
  border-radius: 10px;
  object-fit: cover;
}

.product-details {
  flex: 1;
}

.product-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price {
  font-size: 16px;
  font-weight: 800;
  color: #059669;
}

.product-unit {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-buy-now {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-buy-now:hover {
  background: var(--primary-hover);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  animation: toastFade 0.3s ease;
  border: 1px solid #334155;
}

.toast.success i {
  color: #34d399;
}

@keyframes toastFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .floating-toolbar {
    left: 20px;
    top: 14px;
    max-width: calc(100vw - 40px);
  }
}

@media (max-width: 768px) {
  .top-navbar {
    padding: 0 14px;
    height: 64px;
  }

  .brand-title {
    font-size: 15px;
  }

  .brand-subtitle {
    display: none;
  }

  .btn-nav-tourist span,
  .btn-nav-register span {
    display: none;
  }

  .btn-nav-tourist,
  .btn-nav-register {
    padding: 8px 12px;
  }

  .floating-toolbar {
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    max-width: calc(100vw - 20px);
  }

  .filter-chip {
    padding: 5px 10px;
    font-size: 12px;
  }

  .district-select {
    display: none;
  }

  /* Bottom sheet on mobile */
  .ocop-detail-card {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 75vh;
  }

  .card-hero-media {
    height: 160px;
  }

  .map-floating-controls {
    bottom: 80px;
    right: 12px;
  }

  .btn-nav-home span {
    display: none;
  }

  .btn-nav-home {
    padding: 8px 12px;
  }
}

/* ==========================================================================
   TRUE OCOP LANDING PAGE (HERO COVER)
   ========================================================================== */
.landing-hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #070d1e;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.landing-hero-overlay.fade-out {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  visibility: hidden;
}

.landing-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.landing-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.65) saturate(1.2);
  transform: scale(1.02);
  animation: heroKenBurns 32s infinite alternate ease-in-out;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.01) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}

.landing-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center 30%, rgba(11, 19, 37, 0.5) 0%, rgba(7, 13, 30, 0.92) 80%, #070d1e 100%);
}

.landing-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3;
}

/* Landing Top Bar */
.landing-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.landing-brand-text {
  display: flex;
  flex-direction: column;
}

.landing-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #ffffff 40%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-brand-tag {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
}

.btn-landing-quick-map {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-landing-quick-map:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #34d399;
  color: #34d399;
  transform: translateX(2px);
}

/* Landing Center Container */
.landing-center-container {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  animation: floatSoft 4s ease-in-out infinite;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
}

.landing-main-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.title-brand-gradient {
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 10%, #6ee7b7 55%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.3));
}

.title-tagline {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: -0.4px;
}

.landing-lead-description {
  max-width: 680px;
  font-size: clamp(14px, 1.8vw, 16.5px);
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 34px;
}

.landing-lead-description strong {
  color: #6ee7b7;
}

/* NÚT BẮT ĐẦU HÀNH TRÌNH (HERO ACTION BUTTON) */
.landing-cta-wrapper {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-start-journey {
  position: relative;
  background: linear-gradient(135deg, #10b981 0%, #059669 45%, #0d9488 100%);
  color: #ffffff;
  border: none;
  padding: 16px 28px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  overflow: hidden;
}

.btn-start-journey::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-start-journey:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 45px rgba(16, 185, 129, 0.6), 0 0 0 2px rgba(110, 231, 183, 0.5);
}

.btn-start-journey:hover::before {
  opacity: 1;
}

.btn-start-journey:active {
  transform: translateY(0) scale(0.98);
}

.cta-icon-radar {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  flex-shrink: 0;
}

.radar-ping {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 2px solid #a7f3d0;
  animation: pingAnimation 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingAnimation {
  75%, 100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.cta-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-main-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.cta-sub-text {
  font-size: 12px;
  color: #d1fae5;
  font-weight: 500;
  margin-top: 2px;
}

.cta-arrow-circle {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.btn-start-journey:hover .cta-arrow-circle {
  transform: translateX(4px);
  background: #ffffff;
  color: #059669;
}

.landing-gps-note {
  font-size: 12.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Landing Stats Grid */
.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 820px;
}

.stat-pill-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 14px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: var(--transition);
}

.stat-pill-card:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(52, 211, 153, 0.4);
  transform: translateY(-2px);
}

.stat-pill-card i {
  font-size: 22px;
  color: #34d399;
  flex-shrink: 0;
}

.stat-pill-card strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  font-weight: 700;
}

.stat-pill-card span {
  font-size: 11.5px;
  color: #94a3b8;
}

/* Landing Footer */
.landing-footer-strip {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: #64748b;
}

.btn-landing-text-enter {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-landing-text-enter:hover {
  color: #34d399;
}

/* ==========================================================================
   SMART ROUTE NAVIGATION PANEL (CHỈ ĐƯỜNG THÔNG MINH)
   ========================================================================== */
.route-nav-panel {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  width: 380px;
  max-width: calc(100vw - 48px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 18px 20px;
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.route-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.route-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.route-dest-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.btn-route-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-route-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.route-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.route-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.route-stat-item i {
  font-size: 18px;
  color: #34d399;
}

.route-stat-value {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.route-stat-label {
  font-size: 11px;
  color: #94a3b8;
}

.route-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
}

.route-points-detail {
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 10px;
  margin-bottom: 14px;
}

.route-step-node {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-origin {
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
}

.dot-dest {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.node-text {
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.route-step-line {
  width: 2px;
  height: 14px;
  background: #475569;
  margin-left: 4px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.route-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-google-maps {
  background: #2563eb;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-google-maps:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-route-steps-toggle {
  background: rgba(51, 65, 85, 0.8);
  color: #e2e8f0;
  border: 1px solid #475569;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-route-steps-toggle:hover {
  background: #334155;
  color: #ffffff;
}

.route-steps-list {
  max-height: 160px;
  overflow-y: auto;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.route-step-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #cbd5e1;
  padding: 4px 0;
}

.route-step-item i {
  color: #38bdf8;
  margin-top: 2px;
}

/* User Location GPS Radar Marker */
.user-gps-marker {
  position: relative;
  width: 24px;
  height: 24px;
}

.user-gps-core {
  width: 16px;
  height: 16px;
  background: #2563eb;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
}

.user-gps-ripple {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.35);
  animation: userGpsPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes userGpsPing {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

@media (max-width: 768px) {
  .landing-topbar {
    padding: 16px 20px;
  }
  .landing-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .btn-start-journey {
    padding: 14px 20px;
    width: 100%;
    max-width: 340px;
  }
  .route-nav-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: 100%;
    padding: 14px;
  }
}


/* ==========================================================================
   NAVIGATION BAR: TICKET SEARCH (TRA CỨU VÉ)
   ========================================================================== */
.nav-ticket-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.ticket-search-input-inner {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: var(--radius-full);
  padding: 3px 5px 3px 12px;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ticket-search-input-inner:focus-within {
  border-color: #34d399;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.ticket-search-input-inner i.search-ico {
  color: #34d399;
  font-size: 13px;
  margin-right: 8px;
}

.ticket-search-input-inner input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13px;
  width: 170px;
  transition: width 0.3s ease;
}

.ticket-search-input-inner input:focus {
  width: 220px;
}

.ticket-search-input-inner input::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
}

.btn-ticket-search-trigger {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  color: #ffffff;
  border: none;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-ticket-search-trigger:hover {
  background: #047857;
  transform: translateY(-1px);
}

.ticket-search-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  padding: 12px;
  z-index: 1200;
  max-height: 420px;
  overflow-y: auto;
}

.ticket-dropdown-header {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
}

.ticket-dropdown-item {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  margin-bottom: 8px;
  cursor: pointer;
  background: #f8fafc;
  transition: var(--transition);
}

.ticket-dropdown-item:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
  transform: translateY(-1px);
}

.ticket-dropdown-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.ticket-code-badge {
  font-family: monospace;
  font-weight: 700;
  color: #047857;
  font-size: 12.5px;
}

.ticket-status-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
}

.ticket-status-pill.success {
  background: #dcfce7;
  color: #15803d;
}

.ticket-status-pill.pending {
  background: #fef3c7;
  color: #b45309;
}

.ticket-status-pill.cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.ticket-dropdown-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.ticket-dropdown-loc {
  font-size: 12px;
  color: #64748b;
}

/* ==========================================================================
   POPUP ĐẶT LỊCH: GIÁ VÉ & TỰ ĐỘNG TÍNH TỔNG TIỀN
   ========================================================================== */
.booking-ticket-info-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticket-info-left i {
  color: #059669;
  font-size: 18px;
}

.ticket-info-title {
  display: block;
  font-size: 11.5px;
  color: #166534;
  text-transform: uppercase;
  font-weight: 600;
}

.ticket-info-price {
  font-size: 15px;
  font-weight: 800;
  color: #047857;
}

.ticket-info-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.booking-total-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px dashed #059669;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.total-calc-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

.total-calc-label i {
  color: #059669;
}

.total-price-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
}

.total-price-highlight span {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.total-price-highlight strong {
  font-size: 18px;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.3px;
}

/* ==========================================================================
   POPUP THANH TOÁN TIỀN CỌC (MBANK + VIETQR + ĐẾM NGƯỢC 5 PHÚT)
   ========================================================================== */
.deposit-timer-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deposit-timer-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b45309;
  font-weight: 600;
}

.deposit-timer-text i {
  font-size: 16px;
  color: #d97706;
}

.timer-countdown-clock {
  font-family: monospace;
  font-size: 17px;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  padding: 2px 10px;
  border-radius: 6px;
}

.deposit-qr-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 16px;
  align-items: center;
}

.vietqr-image-wrapper {
  background: #ffffff;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.vietqr-image-wrapper img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.vietqr-image-wrapper .qr-caption {
  font-size: 10.5px;
  color: #64748b;
  margin-top: 5px;
}

.deposit-info-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deposit-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 5px;
}

.deposit-info-row .label {
  color: #64748b;
}

.deposit-info-row .value {
  font-weight: 700;
  color: #0f172a;
}

.deposit-amount-highlight {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.deposit-amount-highlight .dep-label {
  font-size: 12px;
  font-weight: 700;
  color: #065f46;
}

.deposit-amount-highlight .dep-value {
  font-size: 17px;
  font-weight: 800;
  color: #059669;
}

.deposit-actions-row {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ==========================================================================
   POPUP VÉ ONLINE (ĐẶT LỊCH THÀNH CÔNG + MÃ QR VÉ DU KHÁCH)
   ========================================================================== */
.ticket-success-wrapper {
  text-align: center;
  padding: 4px 0;
}

.ticket-success-heading {
  font-size: 24px;
  font-weight: 900;
  color: #059669;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ticket-success-sub {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 16px;
}

.online-ticket-card-pass {
  background: #ffffff;
  border: 2px solid #059669;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 15px 35px -5px rgba(5, 150, 105, 0.2);
  margin-bottom: 16px;
  text-align: left;
}

.ticket-pass-header {
  background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-pass-brand {
  font-size: 14px;
  font-weight: 800;
}

.ticket-pass-code {
  font-family: monospace;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.ticket-pass-body {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
}

.ticket-qr-container {
  background: #f8fafc;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
}

.ticket-qr-container img {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ticket-qr-container .qr-label {
  font-size: 10.5px;
  color: #059669;
  font-weight: 700;
  margin-top: 4px;
}

.ticket-data-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
}

.ticket-data-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 4px;
}

.ticket-data-item .t-label {
  color: #64748b;
}

.ticket-data-item .t-value {
  font-weight: 700;
  color: #0f172a;
}

.ticket-friendly-reminder {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12.5px;
  color: #854d0e;
  line-height: 1.55;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.ticket-friendly-reminder i {
  color: #ca8a04;
  font-size: 18px;
  margin-top: 2px;
}

/* ==========================================================================
   TRANG CHI TIẾT OCOP (FULLSCREEN MODAL / DEDICATED VIEW)
   ========================================================================== */
.ocop-detail-page-view {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background-color: #f1f5f4;
  background-image: 
    radial-gradient(circle at 10% 8%, rgba(5, 150, 105, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 90% 12%, rgba(217, 119, 6, 0.10) 0%, transparent 35%),
    radial-gradient(circle at 50% 45%, rgba(15, 118, 110, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(16, 185, 129, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #f0fdf4 35%, #f8fafc 70%, #ecfdf5 100%);
  background-attachment: fixed;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ocop-detail-page-view::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(#059669 1.5px, transparent 1.5px), radial-gradient(#047857 1.5px, #f8fafc 1.5px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: 0;
}

.ocop-detail-page-view.active {
  display: flex;
}

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.detail-page-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 23, 42, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 68px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-page-brand-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-page-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

.detail-page-nav-titles {
  display: flex;
  flex-direction: column;
}

.detail-page-nav-name {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.detail-page-nav-tag {
  color: #34d399;
  font-size: 11.5px;
  font-weight: 600;
}

.detail-page-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-detail-see-products {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.btn-detail-see-products:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-detail-booking-action {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-detail-booking-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

.btn-detail-back-map {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #334155;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-detail-back-map:hover {
  color: #ffffff;
  border-color: #64748b;
  background: #1e293b;
}

/* Detail Page Hero Banner */
.detail-page-hero-banner {
  position: relative;
  height: 380px;
  background-color: #0f172a;
  overflow: hidden;
}

.detail-page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.detail-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0f172a 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.detail-page-hero-content {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  color: #ffffff;
}

.detail-hero-badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.detail-hero-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.detail-hero-address-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #cbd5e1;
}

/* Detail Page Main Content Layout */
.detail-page-body-container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HTX SPOTLIGHT BANNER (TRÊN CAO NHẤT, NỔI BẬT TÊN HTX)
   ========================================================================== */
.detail-htx-spotlight-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 45%, #047857 85%, #059669 100%);
  border-radius: var(--radius-xl);
  padding: 26px 32px;
  color: #ffffff;
  box-shadow: 0 16px 36px -8px rgba(6, 78, 59, 0.35), 0 0 0 1px rgba(52, 211, 153, 0.25) inset;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.4s ease;
}

.detail-htx-spotlight-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.detail-htx-spotlight-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.htx-spotlight-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.htx-badge-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #a7f3d0;
}

.htx-star-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fef3c7;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.htx-spotlight-body {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.htx-seal-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #34d399;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.htx-spotlight-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.htx-caption-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.htx-spotlight-name {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.htx-meta-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.htx-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.htx-pill strong {
  color: #ffffff;
}

/* Stats Pill Bar (DỊCH XUỐNG DƯỚI, KHÔNG CÒN SÁT KHUNG TRÊN) */
.detail-stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.detail-stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.detail-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -5px rgba(5, 150, 105, 0.12);
  border-color: #a7f3d0;
}

.detail-stat-card i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.detail-stat-info .label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.detail-stat-info .value {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

/* Brand Story Card */
.detail-story-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(187, 247, 208, 0.85);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  position: relative;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.heritage-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
}

.detail-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section-title i {
  color: #059669;
}

.story-body-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: #334155;
  text-align: justify;
}

.story-quote-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-left: 4px solid #059669;
  border-radius: 0 14px 14px 0;
  padding: 18px 24px 18px 20px;
  position: relative;
  margin-top: 6px;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.04);
}

.quote-watermark-icon {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 32px;
  color: rgba(5, 150, 105, 0.12);
}

.story-quote-text {
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  font-weight: 600;
  color: #166534;
  position: relative;
  z-index: 2;
}

.story-quote-author {
  display: block;
  font-size: 12.5px;
  color: #047857;
  font-weight: 700;
  margin-top: 8px;
  font-style: normal;
}

/* ==========================================================================
   QUÁ TRÌNH HÌNH THÀNH & PHÁT TRIỂN LÀNG NGHỀ (TIMELINE ROADMAP)
   ========================================================================== */
.detail-history-timeline-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.section-subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #fde68a;
}

.section-lead-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
}

.history-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
  position: relative;
}

.history-timeline-grid::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #059669 100%);
  z-index: 1;
  border-radius: 2px;
  opacity: 0.5;
}

.timeline-step-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.timeline-badge-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.timeline-node-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
  margin-left: 8px;
  transition: var(--transition);
}

.timeline-step-item:hover .timeline-node-dot {
  transform: scale(1.2);
  border-color: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.25);
}

.timeline-year-tag {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}

.timeline-card-content {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  transition: var(--transition);
}

.timeline-step-item:hover .timeline-card-content {
  background: #ffffff;
  border-color: #a7f3d0;
  box-shadow: 0 10px 24px -4px rgba(5, 150, 105, 0.1);
  transform: translateY(-2px);
}

.timeline-step-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
}

.timeline-step-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   QUY TRÌNH SẢN XUẤT CHUẨN OCOP (STEP CARDS WITH ICONS)
   ========================================================================== */
.detail-process-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-process-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.process-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -4px rgba(5, 150, 105, 0.12);
  border-color: #34d399;
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process-step-num {
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
}

.process-step-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.process-step-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
}

.process-step-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* Products Showroom Grid (NO ACTION BUTTONS) */
.detail-products-showroom-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 30px;
}

.products-notice-bar {
  background: #f8fafc;
  border-left: 3px solid #059669;
  padding: 8px 14px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.detail-products-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.detail-product-item-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.detail-product-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.detail-prod-thumb-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #f1f5f9;
}

.detail-prod-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.detail-product-item-card:hover .detail-prod-thumb-wrap img {
  transform: scale(1.05);
}

.detail-prod-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.detail-prod-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
}

.detail-prod-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.detail-prod-unit {
  font-size: 12px;
  color: #64748b;
}

.detail-prod-price-row {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-prod-price-tag {
  font-size: 16px;
  font-weight: 800;
  color: #059669;
}

.detail-prod-price-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
}

/* Detail Experience Workshop CTA */
.detail-experience-cta-card {
  background: linear-gradient(135deg, #064e3b 0%, #0d9488 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 15px 35px -5px rgba(6, 78, 59, 0.4);
}

.detail-exp-content h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.detail-exp-content p {
  font-size: 14.5px;
  color: #a7f3d0;
  max-width: 620px;
  line-height: 1.6;
}

.btn-detail-cta-big-booking {
  background: #ffffff;
  color: #065f46;
  border: none;
  padding: 14px 26px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.btn-detail-cta-big-booking:hover {
  background: #d1fae5;
  transform: translateY(-2px);
}

/* Responsive enhancements for OCOP Detail View */
@media (max-width: 992px) {
  .history-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .history-timeline-grid::before {
    display: none;
  }
  .detail-stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .detail-htx-spotlight-card {
    padding: 20px 18px;
  }
  .htx-spotlight-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .htx-seal-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  .htx-spotlight-name {
    font-size: 19px;
  }
  .detail-stats-bar-grid {
    grid-template-columns: 1fr;
  }
  .history-timeline-grid {
    grid-template-columns: 1fr;
  }
  .detail-story-card,
  .detail-history-timeline-section,
  .detail-process-section {
    padding: 22px 18px;
  }
  .detail-process-timeline-grid {
    grid-template-columns: 1fr;
  }
}
