/* ==========================================================================
   CAHAYA INTAN WISATA — GLOBAL LUXURY PAGES & AUTH STYLESHEET
   Design Tokens: Royal Emerald, Imperial Gold, Slate Sapphire, Pearl White
   ========================================================================== */

/* --- 1. USER AUTHENTICATION MODAL (50/50 SPLIT SCREEN) --- */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-overlay.active .auth-modal-card {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.auth-modal-close:hover {
  background: #f1f5f9;
  color: #dc2626;
}

.auth-form-side {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-visual-side {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1565552645632-d725f8bfc19a?auto=format&fit=crop&w=800&q=80') center/cover;
  padding: 2.5rem 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 1.5rem;
}

.auth-tab-btn {
  flex: 1;
  padding: 0.75rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab-btn.active {
  color: #064e3b;
  border-bottom-color: #059669;
}

.btn-google-sso {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 1.25rem;
}

.btn-google-sso:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.auth-divider:not(:empty)::before { margin-right: .75em; }
.auth-divider:not(:empty)::after { margin-left: .75em; }

/* --- 2. PREMIUM CIRCULAR 3D USER AVATAR & DROPDOWN --- */
.user-profile-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.9)) !important;
  border: 2.5px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15), inset 0 1.5px 2px rgba(255, 255, 255, 0.8), 0 0 0 1px rgba(14, 165, 233, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.user-profile-btn:hover {
  transform: scale(1.08) translateY(-1px) !important;
  border-color: #38bdf8 !important; /* Luminous Blue */
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45), inset 0 1.5px 2.5px rgba(255, 255, 255, 0.95), 0 0 0 3px #0284c7 !important; /* 3D Blue Outer Rim */
}

.user-profile-btn .user-name-label,
.user-profile-btn svg {
  display: none !important;
}

.user-avatar-img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
}

.user-name-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;
  width: 260px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px -10px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.9) !important;
  padding: 0.65rem !important;
  z-index: 999999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) scale(0.98) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.user-dropdown-menu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

/* Premium Member Card in Dropdown */
.member-card-header {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}

/* Watermark Monogram Emblem */
.member-card-header::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 80px;
  height: 80px;
  background: url('../assets/icons/cahaya_intan_wisata_logo_2.png') no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

/* Tier Silver Card */
.member-card-header.tier-silver {
  background: linear-gradient(135deg, #475569 0%, #64748b 50%, #94a3b8 100%);
}

/* Tier Gold VIP Card */
.member-card-header.tier-gold {
  background: linear-gradient(135deg, #78350f 0%, #b45309 45%, #d97706 100%);
}

/* Tier Platinum Priority Card */
.member-card-header.tier-platinum {
  background: linear-gradient(135deg, #091e3e 0%, #1e3a8a 50%, #2563eb 100%);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.card-user-info {
  display: flex;
  flex-direction: column;
}

.card-user-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.card-edit-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.card-edit-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.08);
}

.card-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.card-points-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
}

.card-points-dot {
  width: 10px;
  height: 10px;
  background: #facc15;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  display: inline-block;
}

/* Dropdown Menu Items List */
.dropdown-menu-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dropdown-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.dropdown-item-link:hover {
  background: #f1f5f9;
  color: #103770;
  padding-left: 0.95rem;
}

.dropdown-item-link.logout-link {
  color: #dc2626;
  border-top: 1px solid #f1f5f9;
  margin-top: 0.25rem;
  padding-top: 0.55rem;
}

.dropdown-item-link.logout-link:hover {
  background: #fef2f2;
  color: #b91c1c;
}

/* --- 3. MY ACCOUNT & CUSTOMER DASHBOARD (my-account.html) --- */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.account-sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.account-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  color: #475569;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  cursor: pointer;
  transition: all 0.2s;
}

.account-nav-item:hover, .account-nav-item.active {
  background: #ecfdf5;
  color: #064e3b;
}

.account-content-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.booking-ticket-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.2s;
}

.booking-ticket-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.badge-status {
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-status.success { background: #dcfce7; color: #15803d; }
.badge-status.pending { background: #fef3c7; color: #b45309; }

/* --- 4. CATALOG & DETAIL LAYOUT (packages.html & package-detail.html) --- */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1.75rem;
}

.sidebar-filter-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e8edf2;
  padding: 1.25rem 1.15rem;
  position: sticky;
  top: 90px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-chip.active, .filter-chip:hover {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
}

/* Horizontal Fast Filter Scroll on Mobile */
.mobile-fast-filter-bar {
  display: none;
}

/* Mobile Filter Toggle Trigger */
.btn-mobile-filter-toggle {
  display: none;
}

/* Catalog Packages Grid */
.catalog-packages-grid,
#catalog-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Override glide-slide-card agar muat di grid packages */
.catalog-packages-grid .glide-slide-card,
#catalog-packages-grid .glide-slide-card {
  flex: unset !important;
  width: 100% !important;
  min-width: unset !important;
  max-width: unset !important;
}

@media (min-width: 1280px) {
  .catalog-packages-grid,
  #catalog-packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== LUXURY TRANSLUCENT FROSTED GLASS COVER BADGES ===== */
.card-badge-shimmer,
.glide-card-img-wrap > span:first-of-type {
  position: absolute !important;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  padding: 0.24rem 0.68rem !important;
  border-radius: 50px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  z-index: 2 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-badge-shimmer:hover,
.glide-card-img-wrap > span:first-of-type:hover {
  transform: scale(1.04);
}

.card-badge-shimmer::after,
.glide-card-img-wrap > span:first-of-type::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.08) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: glassShimmerSweep 3.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* ===== LUXURY SOLID DISCOUNT BADGE (SMOOTH REFINED BORDER) ===== */
.discount-badge-shimmer {
  position: relative;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: fit-content !important;
  align-self: flex-start !important;
  align-items: center !important;
  gap: 0.25rem !important;
  padding: 0.16rem 0.48rem !important;
  border-radius: 5px !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discount-badge-shimmer:hover {
  transform: scale(1.04);
}

.discount-badge-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 55%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 20%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.12) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: glassShimmerSweep 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes glassShimmerSweep {
  0% {
    left: -120%;
  }
  30%, 100% {
    left: 220%;
  }
}

/* Modern Travel Catalog Card (Viator/Airbnb Minimalist Luxury) */
.viator-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.viator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(6, 78, 59, 0.08);
  border-color: #cbd5e1;
}

.viator-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #f1f5f9;
}

.viator-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.viator-card:hover .viator-img {
  transform: scale(1.04);
}

.viator-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
  z-index: 2;
}

.viator-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.viator-wishlist-btn svg {
  width: 18px;
  height: 18px;
}

.viator-body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.viator-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 0.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6rem;
}

.viator-highlight {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0 0 0.65rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viator-bottom-section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.viator-rating-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.viator-rating-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  line-height: 1.2;
}

.viator-review-count {
  font-size: 0.72rem;
  color: #64748b;
}

.viator-price-box {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.viator-price-label {
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1;
}

.viator-price-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: #064e3b;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.viator-price-sub {
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1;
}

.detail-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.detail-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  width: 100%;
}

.sticky-cta-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  position: sticky;
  top: 90px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  box-sizing: border-box;
  width: 100%;
}

/* 5-Photo Gallery Grid */
.gallery-5-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 0.75rem;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.gallery-5-grid > div:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.detail-facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (max-width: 992px) {
  .detail-facility-grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem;
  }
}

.detail-facility-item {
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-sizing: border-box;
  min-width: 0;
}

.detail-facility-item .facility-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.detail-facility-item .facility-content {
  min-width: 0;
  flex: 1;
}

.detail-facility-item .facility-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.15rem;
}

.detail-facility-item strong {
  font-size: 0.86rem;
  color: #0f172a;
  display: block;
  line-height: 1.3;
  word-break: break-word;
}

.detail-facility-item span.sub {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  margin-top: 0.15rem;
  word-break: break-word;
}

.detail-inc-exc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .detail-inc-exc-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
}

/* Timeline Item Card */
.timeline-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.timeline-item-card:hover {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}

.timeline-item-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.35rem 0;
  line-height: 1.35;
  word-break: break-word;
}

.timeline-item-card p {
  font-size: 0.84rem;
  color: #475569;
  margin: 0;
  line-height: 1.55;
  word-break: break-word;
}

/* Schedule Table */
.schedule-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 0.75rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 480px;
}

.schedule-table th {
  background: #f8fafc;
  padding: 0.75rem 0.85rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.schedule-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

/* Desktop & Mobile Schedule Display Switch */
.desktop-only-schedule {
  display: block;
}
.schedule-mobile-cards-list {
  display: none;
}

.schedule-mobile-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-sizing: border-box;
  width: 100%;
}
.schedule-mob-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.schedule-mob-date {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
}
.schedule-mob-airline {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 0.15rem;
  display: block;
}
.schedule-mob-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.6rem;
  gap: 0.5rem;
}
.schedule-mob-price-label {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}
.schedule-mob-price-val {
  font-size: 1.05rem;
  font-weight: 900;
  color: #064e3b;
  display: block;
}

/* Sticky Booking Bottom Bar for Mobile */
.detail-mobile-bottom-bar {
  display: none;
}

/* --- 5. RATING BREAKDOWN (reviews.html) --- */
.aggregate-rating-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.rating-bar-track {
  flex: 1;
  height: 10px;
  background: #e2e8f0;
  border-radius: 50px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #d97706;
  border-radius: 50px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .auth-modal-card { grid-template-columns: 1fr; max-width: 440px; }
  .auth-visual-side { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .layout-with-sidebar { grid-template-columns: 1fr; gap: 1.5rem; }
  
  /* Package Detail Mobile & Tablet Full Responsiveness */
  body.detail-page {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.detail-page main.container {
    padding-inline: 0.85rem !important;
    padding-top: 1rem !important;
    padding-bottom: 100px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .detail-main-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .detail-main-layout > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #detail-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  #detail-destination {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .detail-card-box {
    padding: 1.15rem 1rem !important;
    border-radius: 14px !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .detail-card-box h2 {
    font-size: 1.02rem !important;
    line-height: 1.35 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .detail-card-box p {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .gallery-5-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: 210px !important;
    border-radius: 14px !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .gallery-5-grid > div:first-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 / -1 !important;
  }
  .gallery-5-grid > div:not(:first-child) {
    display: none !important;
  }

  /* 1-COLUMN FULL WIDTH FACILITIES FOR ZERO WORD BREAKING */
  .detail-facility-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .detail-facility-item {
    padding: 0.85rem 1rem !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px !important;
  }

  .detail-facility-item strong {
    font-size: 0.86rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    color: #0f172a !important;
  }

  .detail-facility-item span.sub {
    font-size: 0.76rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    color: #64748b !important;
  }

  .detail-inc-exc-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .inc-box, .exc-box {
    padding: 0.85rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
  }

  .inc-list div, .exc-list div {
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* Schedule Matrix Responsive Switch: Strictly Show Mobile Card, Strictly Hide Table */
  .desktop-only-schedule {
    display: none !important;
  }
  .schedule-mobile-cards-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
  }

  .timeline-item-card {
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .timeline-item-card h4 {
    font-size: 0.92rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  .timeline-item-card p {
    font-size: 0.8rem !important;
    line-height: 1.55 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  .sticky-cta-box {
    position: static !important;
    top: auto !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
  }

  .sidebar-filter-card { position: static; margin-bottom: 1.5rem; }
  .aggregate-rating-grid { grid-template-columns: 1fr; }
  
  .catalog-packages-grid,
  #catalog-packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }

  /* Sticky Bottom Booking Bar for Mobile */
  body.detail-page .mobile-bottom-nav {
    display: none !important;
  }

  .detail-mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1) !important;
    padding: 0.65rem 1rem calc(env(safe-area-inset-bottom, 0px) + 0.65rem) 1rem !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 768px) {
  .catalog-packages-grid,
  #catalog-packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }

  /* Package Card Mobile Responsive - glide-slide-card */
  .glide-slide-card {
    border-radius: 12px !important;
  }

  .glide-card-img-wrap {
    height: 140px !important;
  }

  .glide-slide-card .glide-card-img {
    height: 140px !important;
  }

  /* Badge top-left mobile */
  .glide-card-img-wrap span[style*="position:absolute"][style*="top:0.75rem"][style*="left:0.75rem"] {
    top: 0.5rem !important;
    left: 0.5rem !important;
    padding: 0.15rem 0.45rem !important;
    font-size: 0.58rem !important;
    border-radius: 50px !important;
  }

  /* Wishlist button mobile */
  .glide-slide-card .wishlist-btn {
    top: 0.5rem !important;
    right: 0.5rem !important;
    width: 30px !important;
    height: 30px !important;
  }

  .glide-slide-card .wishlist-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Duration badge bottom-right mobile */
  .glide-card-img-wrap span[style*="position:absolute"][style*="bottom"] {
    bottom: 0.4rem !important;
    right: 0.4rem !important;
    padding: 0.12rem 0.35rem !important;
    font-size: 0.62rem !important;
    border-radius: 4px !important;
  }

  /* Card body padding mobile */
  .glide-slide-card > div[style*="padding:0.75rem"] {
    padding: 0.55rem 0.6rem !important;
  }

  /* Title mobile */
  .glide-slide-card h3 {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.3rem !important;
    min-height: 1.95rem !important;
  }

  /* Location label mobile */
  .glide-slide-card span[style*="text-transform:uppercase"] {
    font-size: 0.62rem !important;
    margin-bottom: 0.4rem !important;
  }

  /* Icons in location/details */
  .glide-slide-card svg {
    width: 11px !important;
    height: 11px !important;
  }

  /* Details (date, duration, seats) mobile */
  .glide-slide-card > div > div[style*="font-size:0.75rem"] {
    font-size: 0.68rem !important;
    gap: 0.2rem !important;
    margin-bottom: 0.4rem !important;
  }

  /* Star rating mobile */
  .glide-slide-card span[style*="color:#f59e0b"],
  .glide-slide-card span[style*="color:#d1d5db"] {
    font-size: 0.72rem !important;
  }

  /* Rating text mobile */
  .glide-slide-card span[style*="font-size:0.72rem"][style*="color:#64748b"] {
    font-size: 0.62rem !important;
  }

  /* Discount badge mobile */
  .glide-slide-card .discount-badge-shimmer,
  .glide-slide-card div[style*="display:inline-block"][style*="Diskon"] {
    padding: 0.18rem 0.45rem !important;
    font-size: 0.62rem !important;
    border-radius: 4px !important;
    margin-bottom: 0.3rem !important;
  }

  /* "Starting from" text mobile */
  .glide-slide-card div[style*="Starting from"] {
    font-size: 0.62rem !important;
    margin-bottom: 0.1rem !important;
  }

  /* Price mobile */
  .glide-slide-card span[data-price-idr] {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
  }

  /* Original price strikethrough mobile */
  .glide-slide-card span[style*="text-decoration:line-through"] {
    font-size: 0.72rem !important;
  }

  /* Border-top section mobile */
  .glide-slide-card > div > div[style*="border-top"] {
    padding-top: 0.4rem !important;
  }

  /* ===== OLD VIATOR CARD STYLES (FALLBACK) ===== */
  .viator-card {
    border-radius: 14px !important;
    border-color: #edf2f7 !important;
  }

  .viator-img-wrap {
    height: 120px !important;
  }

  .viator-badge {
    top: 6px !important;
    left: 6px !important;
    padding: 0.18rem 0.42rem !important;
    font-size: 0.58rem !important;
    border-radius: 4px !important;
  }

  .viator-wishlist-btn {
    top: 6px !important;
    right: 6px !important;
    width: 26px !important;
    height: 26px !important;
  }

  .viator-wishlist-btn svg {
    width: 13px !important;
    height: 13px !important;
  }

  .viator-body {
    padding: 0.55rem 0.55rem 0.65rem !important;
  }

  .viator-title {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.2rem !important;
    min-height: 1.9rem !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .viator-highlight {
    font-size: 0.62rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.4rem !important;
  }

  .viator-bottom-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding-top: 0.45rem !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: auto !important;
  }

  .viator-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
  }

  .viator-rating-pill {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    color: #047857 !important;
    background: #ecfdf5 !important;
    padding: 0.12rem 0.35rem !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
  }

  .viator-review-count {
    font-size: 0.60rem !important;
    color: #64748b !important;
  }

  .viator-price-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.08rem !important;
  }

  .viator-price-label {
    font-size: 0.58rem !important;
    color: #64748b !important;
    line-height: 1 !important;
    display: block !important;
  }

  .viator-price-main {
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    color: #064e3b !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    display: block !important;
    letter-spacing: -0.01em !important;
  }

  .viator-price-sub {
    font-size: 0.54rem !important;
    color: #94a3b8 !important;
    line-height: 1 !important;
    display: block !important;
  }
  /* Catalog Mobile Hero & Fast Category Bar */
  .catalog-hero-title {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }

  /* Hero banner mobile adjustments */
  div[style*="background: linear-gradient(135deg, #064e3b, #0f172a)"] {
    padding: 1.5rem 0 !important;
  }

  div[style*="background: linear-gradient(135deg, #064e3b, #0f172a)"] h1 {
    font-size: 1.5rem !important;
    margin-bottom: 0.4rem !important;
  }

  div[style*="background: linear-gradient(135deg, #064e3b, #0f172a)"] p {
    font-size: 0.82rem !important;
  }

  .mobile-fast-filter-bar {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
  }
  .mobile-fast-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .mobile-fast-filter-bar .filter-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
  }

  .btn-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
  }

  /* Search bar & sorting header mobile */
  div[style*="background: #ffffff"][style*="border: 1px solid #e2e8f0"][style*="display: flex"] {
    padding: 0.7rem 0.85rem !important;
    margin-bottom: 1rem !important;
  }

  #catalog-search-input {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.8rem 0.5rem 2rem !important;
  }

  #catalog-sort-select {
    padding: 0.45rem 0.7rem !important;
    font-size: 0.76rem !important;
  }

  /* Catalog Sidebar collapsible on mobile */
  .sidebar-filter-card {
    display: none;
  }
  .sidebar-filter-card.mobile-open {
    display: block;
    margin-bottom: 1.25rem;
    animation: fadeIn 0.25s ease;
  }

  /* Toast notification mobile adjustments */
  #wishlist-toast {
    max-width: 92% !important;
    padding: 0.45rem 0.75rem 0.45rem 0.65rem !important;
    bottom: 82px !important;
  }
}

/* ===== EXTRA SMALL MOBILE (< 480px) ===== */
@media (max-width: 480px) {
  /* Single column for very small screens */
  .catalog-packages-grid,
  #catalog-packages-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  /* Make cards slightly larger in single column */
  .glide-card-img-wrap {
    height: 180px !important;
  }

  .glide-slide-card .glide-card-img {
    height: 180px !important;
  }

  .glide-slide-card h3 {
    font-size: 0.9rem !important;
    min-height: 2.3rem !important;
  }

  .glide-slide-card span[data-price-idr] {
    font-size: 1.05rem !important;
  }

  /* Hero adjustments for very small screens */
  div[style*="background: linear-gradient(135deg, #064e3b, #0f172a)"] h1 {
    font-size: 1.3rem !important;
  }

  div[style*="background: linear-gradient(135deg, #064e3b, #0f172a)"] p {
    font-size: 0.78rem !important;
  }

  /* Search input full width */
  #catalog-search-input {
    min-width: 100% !important;
  }
}

  .mob-bottom-price-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    justify-content: center;
  }
  .mob-bottom-price-label {
    font-size: 0.62rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.02em;
  }
  .mob-bottom-price-val {
    font-size: clamp(0.86rem, 3.6vw, 1.05rem);
    font-weight: 900;
    color: #064e3b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
  }

  .mob-bottom-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .btn-mob-booking {
    background: linear-gradient(135deg, #064e3b, #047857);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(6, 78, 59, 0.25);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.15s ease, background 0.15s ease;
  }
  .btn-mob-booking:active {
    transform: scale(0.96);
  }

/* ==========================================================================
   4. MOBILE APP-GRADE ACCOUNT HUB STYLES (my-account.html on Mobile)
   ========================================================================== */
.mob-account-hub {
  display: none;
}

.mob-back-to-hub-bar {
  display: none;
}

@media (max-width: 767px) {
  /* Hide standard website header, hamburger menu & footer on mobile account page for full-bleed native app experience */
  body.account-page .top-utility-bar,
  body.account-page .main-header,
  body.account-page #main-header,
  body.account-page .site-header,
  body.account-page .mobile-drawer,
  body.account-page .drawer-overlay,
  body.account-page .main-footer {
    display: none !important;
  }

  body.account-page {
    background: #f8fafc !important;
  }

  .dashboard-container {
    padding: 0 !important;
    max-width: 100% !important;
  }

  /* CRITICAL: HIDE DESKTOP OVERVIEW BANNER ON MOBILE */
  .desk-overview-banner {
    display: none !important;
  }

  /* Default hide desktop dashboard layout on mobile, but allow JS to toggle when opening a tab */
  .desktop-account-layout {
    display: none;
    padding: calc(env(safe-area-inset-top, 0px) + 0.5rem) 1rem 100px 1rem;
    background: #f8fafc;
    min-height: 100vh;
  }

  .desktop-account-layout .account-sidebar-card {
    display: none !important;
  }

  .desktop-account-layout .account-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .desktop-account-layout .account-content-card {
    border-radius: 18px;
    padding: 1.15rem 1rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }  /* Sticky Minimalist App Back Navigation Bar */
  .mob-back-to-hub-bar {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(248, 250, 252, 0.96);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0 0.5rem 0;
  }

  .mob-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.76rem;
    background: #ffffff;
    padding: 0.32rem 0.8rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .mob-back-btn:hover,
  .mob-back-btn:active {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
  }

  /* Sleek & Minimalist Account Tab Pane Headers */
  .account-pane-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .account-pane-header h2 {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em;
  }

  .account-pane-header .btn,
  .account-pane-header a.btn {
    width: auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    box-sizing: border-box;
    box-shadow: none !important;
  }

  /* Booking Ticket Card (Refined & Compact) */
  .booking-ticket-card {
    padding: 0.9rem !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    margin-bottom: 0.75rem !important;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.65rem !important;
  }

  .booking-ticket-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .booking-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .booking-code-pill {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.02em;
  }

  .booking-package-title {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    color: #064e3b !important;
    margin: 0.1rem 0 0.25rem 0 !important;
    line-height: 1.3 !important;
  }

  .booking-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 0.25rem !important;
    font-size: 0.78rem !important;
    color: #475569;
  }

  .booking-ticket-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.65rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.65rem !important;
  }

  .booking-price-block {
    display: flex;
    flex-direction: column;
  }

  .booking-price-label {
    font-size: 0.7rem;
    color: #64748b;
  }

  .booking-price-val {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    color: #064e3b !important;
  }

  .booking-ticket-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem !important;
    width: 100%;
  }

  .booking-ticket-actions .btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
  } }

  /* Two Column Grid collapse on Mobile */
  .responsive-two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .responsive-form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .mob-account-hub {
    display: block;
    padding-bottom: 90px;
    background: #f8fafc;
    min-height: 100vh;
  }

  /* 1. Header Gradient Banner Full to Top */
  .mob-acc-header {
    background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
    padding: calc(env(safe-area-inset-top, 0px) + 2rem) 1.25rem 2.85rem 1.25rem;
    color: #ffffff;
    border-radius: 0 0 24px 24px;
    position: relative;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.25);
  }

  .mob-acc-user-row {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .mob-acc-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  }

  .mob-acc-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.2rem 0;
    color: #ffffff;
  }

  .mob-acc-edit-link {
    font-size: 0.78rem;
    color: #e0f2fe;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
  }

  /* 2. Rewards Floating Card - 3D FLIP CONTAINER */
  .mob-card-flip-container {
    perspective: 1000px;
    margin: -1.85rem 1rem 1.35rem 1rem;
    z-index: 2;
    position: relative;
    cursor: pointer;
  }

  .mob-card-flipper {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mob-card-flip-container.flipped .mob-card-flipper {
    transform: rotateY(180deg);
  }

  .mob-rewards-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    margin: 0 !important;
  }

  .mob-card-front {
    transform: rotateY(0deg);
  }

  .mob-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .mob-flip-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    color: #fde68a;
    opacity: 0.88;
    margin-top: 0.65rem;
    font-weight: 600;
  }

  /* Barcode & VIP Pass */
  .mob-barcode-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(251, 191, 36, 0.4);
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    text-align: center;
    margin: 0.2rem 0;
  }

  .mob-barcode-number {
    font-family: monospace;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: #fef3c7;
    margin-top: 0.2rem;
    font-weight: 700;
  }

  /* Referral Box */
  .mob-referral-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
  }

  .mob-ref-label {
    display: block;
    font-size: 0.62rem;
    color: #fde68a;
    font-weight: 600;
  }

  .mob-ref-code {
    font-size: 0.88rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
  }

  .mob-ref-actions {
    display: flex;
    gap: 0.4rem;
  }

  .btn-ref-copy,
  .btn-ref-share {
    padding: 0.32rem 0.65rem;
    font-size: 0.70rem;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
  }

  .btn-ref-copy {
    background: #fbbf24;
    color: #1e1503;
  }

  .btn-ref-share {
    background: #10b981;
    color: #ffffff;
  }

  /* Watermark CIW Monogram Emblem */
  .mob-rewards-card::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -12px;
    width: 110px;
    height: 110px;
    background: url('../assets/icons/cahaya_intan_wisata_logo_2.png') no-repeat center / contain;
    opacity: 0.15;
    pointer-events: none;
    filter: brightness(0) invert(1);
  }

  /* TIER GOLD VIP (ROYAL GOLD METALLIC & GLOWING ACCENTS) */
  .mob-rewards-card,
  .mob-rewards-card.tier-gold {
    background: linear-gradient(135deg, #1c1305 0%, #3d2403 35%, #6e4204 70%, #925806 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.45);
    box-shadow: 0 14px 32px rgba(180, 83, 9, 0.38), 0 2px 8px rgba(0, 0, 0, 0.35);
  }

  .mob-rewards-card.tier-gold .mob-rewards-title,
  .mob-rewards-card .mob-rewards-title {
    color: #fef08a;
    font-size: 0.92rem;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
  }

  .mob-rewards-card.tier-gold .mob-rewards-badge,
  .mob-rewards-card .mob-rewards-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1e1503;
    font-weight: 900;
    font-size: 0.70rem;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    border: 1px solid #fef08a;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  }

  .mob-rewards-card.tier-gold .mob-progress-label,
  .mob-rewards-card .mob-progress-label {
    color: #fef3c7;
    font-size: 0.74rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.35rem;
  }

  .mob-rewards-card.tier-gold .mob-progress-track,
  .mob-rewards-card .mob-progress-track {
    height: 6px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.95rem;
  }

  .mob-rewards-card.tier-gold .mob-progress-bar,
  .mob-rewards-card .mob-progress-bar {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, #fbbf24 0%, #ffffff 100%);
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
  }

  /* Frosted Glass Stat Pills for Gold Card */
  .mob-rewards-card.tier-gold .mob-rewards-stats,
  .mob-rewards-card .mob-rewards-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    padding-top: 0.85rem;
  }

  .mob-rewards-card.tier-gold .mob-stat-pill,
  .mob-rewards-card .mob-stat-pill {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mob-rewards-card.tier-gold .mob-stat-pill:active,
  .mob-rewards-card .mob-stat-pill:active {
    background: rgba(255, 255, 255, 0.15);
  }

  .mob-rewards-card.tier-gold .mob-stat-val,
  .mob-rewards-card .mob-stat-val {
    font-size: 0.95rem;
    font-weight: 900;
    color: #ffffff;
    display: block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }

  .mob-rewards-card.tier-gold .mob-stat-sub,
  .mob-rewards-card .mob-stat-sub {
    font-size: 0.68rem;
    color: #fde68a;
    font-weight: 700;
  }

  .mob-rewards-card.tier-gold .mob-stat-pill svg path,
  .mob-rewards-card .mob-stat-pill svg path {
    fill: #fbbf24;
  }

  /* TIER PLATINUM VIP */
  .mob-rewards-card.tier-platinum {
    background: linear-gradient(135deg, #091e3e 0%, #1e3a8a 50%, #2563eb 100%);
    border: 1.5px solid rgba(147, 197, 253, 0.45);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.38);
  }
  .mob-rewards-card.tier-platinum .mob-rewards-title { color: #e0f2fe; }
  .mob-rewards-card.tier-platinum .mob-rewards-badge { background: #60a5fa; color: #0f172a; border: 1px solid #bfdbfe; }
  .mob-rewards-card.tier-platinum .mob-progress-label { color: #bfdbfe; }
  .mob-rewards-card.tier-platinum .mob-progress-track { background: rgba(0,0,0,0.4); border-color: rgba(147,197,253,0.25); }
  .mob-rewards-card.tier-platinum .mob-progress-bar { background: linear-gradient(90deg, #60a5fa, #ffffff); }
  .mob-rewards-card.tier-platinum .mob-rewards-stats { border-top-color: rgba(147, 197, 253, 0.2); }
  .mob-rewards-card.tier-platinum .mob-stat-pill { background: rgba(255, 255, 255, 0.08); border-color: rgba(147, 197, 253, 0.3); }
  .mob-rewards-card.tier-platinum .mob-stat-val { color: #ffffff; }
  .mob-rewards-card.tier-platinum .mob-stat-sub { color: #93c5fd; }
  .mob-rewards-card.tier-platinum .mob-stat-pill svg path { fill: #93c5fd; }

  /* TIER BRONZE */
  .mob-rewards-card.tier-bronze {
    background: linear-gradient(135deg, #3b1e08 0%, #78350f 50%, #b45309 100%);
    border: 1.5px solid rgba(251, 146, 60, 0.45);
    box-shadow: 0 14px 32px rgba(120, 53, 15, 0.38);
  }
  .mob-rewards-card.tier-bronze .mob-rewards-title { color: #ffedd5; }
  .mob-rewards-card.tier-bronze .mob-rewards-badge { background: #fdba74; color: #431407; border: 1px solid #fed7aa; }
  .mob-rewards-card.tier-bronze .mob-progress-label { color: #fed7aa; }
  .mob-rewards-card.tier-bronze .mob-progress-track { background: rgba(0,0,0,0.4); border-color: rgba(251,146,60,0.25); }
  .mob-rewards-card.tier-bronze .mob-progress-bar { background: linear-gradient(90deg, #fb923c, #ffffff); }
  .mob-rewards-card.tier-bronze .mob-rewards-stats { border-top-color: rgba(251, 146, 60, 0.2); }
  .mob-rewards-card.tier-bronze .mob-stat-pill { background: rgba(255, 255, 255, 0.08); border-color: rgba(251, 146, 60, 0.3); }
  .mob-rewards-card.tier-bronze .mob-stat-val { color: #ffffff; }
  .mob-rewards-card.tier-bronze .mob-stat-sub { color: #fdba74; }
  .mob-rewards-card.tier-bronze .mob-stat-pill svg path { fill: #fdba74; }

  /* TIER SILVER */
  .mob-rewards-card.tier-silver {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    border: 1.5px solid rgba(203, 213, 225, 0.45);
    box-shadow: 0 14px 32px rgba(51, 65, 85, 0.38);
  }
  .mob-rewards-card.tier-silver .mob-rewards-title { color: #f8fafc; }
  .mob-rewards-card.tier-silver .mob-rewards-badge { background: #e2e8f0; color: #0f172a; border: 1px solid #ffffff; }
  .mob-rewards-card.tier-silver .mob-progress-label { color: #cbd5e1; }
  .mob-rewards-card.tier-silver .mob-progress-track { background: rgba(0,0,0,0.4); border-color: rgba(203,213,225,0.25); }
  .mob-rewards-card.tier-silver .mob-progress-bar { background: linear-gradient(90deg, #cbd5e1, #ffffff); }
  .mob-rewards-card.tier-silver .mob-rewards-stats { border-top-color: rgba(203, 213, 225, 0.2); }
  .mob-rewards-card.tier-silver .mob-stat-pill { background: rgba(255, 255, 255, 0.08); border-color: rgba(203, 213, 225, 0.3); }
  .mob-rewards-card.tier-silver .mob-stat-val { color: #ffffff; }
  .mob-rewards-card.tier-silver .mob-stat-sub { color: #cbd5e1; }
  .mob-rewards-card.tier-silver .mob-stat-pill svg path { fill: #cbd5e1; }

  .mob-rewards-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
  }

  /* 3. Grouped Menu Sections */
  .mob-acc-section {
    margin-bottom: 1.25rem;
    padding-inline: 1rem;
  }

  .mob-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-inline: 0.25rem;
  }

  .mob-section-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
  }

  .mob-section-link {
    font-size: 0.76rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
  }

  .mob-menu-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    overflow: hidden;
  }

  .mob-menu-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
    cursor: pointer;
  }

  .mob-menu-item:last-child {
    border-bottom: none;
  }

  .mob-menu-item:active {
    background: #f8fafc;
  }

  .mob-menu-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1e40af;
  }

  .mob-menu-content {
    flex: 1;
    min-width: 0;
  }

  .mob-menu-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.12rem;
  }

  .mob-menu-sub {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mob-menu-arrow {
    color: #cbd5e1;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .badge-tag-new {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 50px;
  }

  .mob-menu-item.danger .mob-menu-icon,
  .mob-menu-item.danger .mob-menu-label {
    color: #dc2626;
  }

/* ==========================================================================
   CAHAYA INTAN WISATA — LUXURY FLOATING CATEGORY BAR & SIDEBAR ACCORDION
   ========================================================================== */

/* 1. Floating Pill Category Bar */
.catalog-floating-bar-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.catalog-floating-bar-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.catalog-floating-category-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: 50px;
  padding: 0.35rem 0.5rem;
  box-shadow: 0 16px 36px -8px rgba(9, 30, 62, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

.floating-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.floating-cat-btn .cat-btn-icon {
  font-size: 1rem;
}

.floating-cat-btn:hover {
  background: #f1f5f9;
  color: #064e3b;
  transform: translateY(-2px);
}

.floating-cat-btn.active {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #fbbf24;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.35);
  transform: translateY(-2px);
}

/* 2. Hero Info Cards & Search Shortcuts */
.hero-info-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.7) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
}

.hero-shortcut-chip {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-shortcut-chip:hover {
  background: #fbbf24;
  color: #091e3e;
  border-color: #fbbf24;
  transform: translateY(-1px);
}

/* 3. Modern Minimalist Accordion Sidebar Filter */
.sidebar-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1.25rem;
}

.filter-accordion-item {
  border: none;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  border-radius: 0;
  transition: all 0.2s ease;
}

.filter-accordion-item:last-child {
  border-bottom: none;
}

.accordion-header-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  text-align: left;
  transition: color 0.15s ease;
  border-radius: 6px;
}

.accordion-header-btn:hover {
  background: transparent;
  color: #064e3b;
}

.filter-accordion-item.open .accordion-header-btn {
  background: transparent;
  color: #064e3b;
  border-bottom: none;
}

.acc-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.acc-count {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
  background: #f1f5f9;
  padding: 1px 7px;
  border-radius: 12px;
  margin-right: 0.35rem;
  transition: all 0.2s ease;
}

.filter-accordion-item.open .acc-count {
  background: #ecfdf5;
  color: #065f46;
}

.acc-arrow {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #94a3b8;
  flex-shrink: 0;
}

.filter-accordion-item.open .acc-arrow {
  transform: rotate(180deg);
  color: #064e3b;
}

.accordion-content {
  display: none;
  padding: 0.15rem 0.25rem 0.65rem 0.25rem;
  background: transparent;
}

.accordion-content.open {
  display: block;
}

.subcat-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.subcat-group-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.4rem 0.15rem 0.4rem;
}

.subcat-btn {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.subcat-btn:hover {
  background: #f8fafc;
  color: #064e3b;
}

.subcat-btn.active {
  background: #f0fdf4 !important;
  color: #064e3b !important;
  font-weight: 700 !important;
}

/* Modern Minimalist Checkbox (Square with Rounded Corner + Clean Checkmark) */
.subcat-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  min-width: 15px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  margin-right: 0.55rem;
  transition: all 0.15s ease;
  box-sizing: border-box;
  position: relative;
  font-size: 0;
}

.subcat-btn:hover .subcat-bullet {
  border-color: #064e3b;
}

.subcat-btn.active .subcat-bullet {
  border-color: #064e3b;
  background: #064e3b;
  box-shadow: 0 1px 3px rgba(6, 78, 59, 0.2);
}

.subcat-btn.active .subcat-bullet::after {
  content: '';
  display: block;
  width: 3.5px;
  height: 6.5px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -0.5px);
}

.subcat-text {
  flex: 1;
}

.subcat-num {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

.subcat-btn.active .subcat-num {
  color: #065f46;
  font-weight: 700;
}

/* Sleek Minimalist Budget Presets & Custom Range Slider */
.budget-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.budget-preset-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.45rem 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
}

.budget-preset-btn:hover {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
  transform: translateY(-1px);
}

.budget-preset-btn.active {
  background: #065f46;
  color: #ffffff;
  border-color: #065f46;
  box-shadow: 0 2px 6px rgba(6, 95, 70, 0.25);
}

/* Custom Range Slider */
.custom-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #10b981 0%, #065f46 100%);
  outline: none;
  margin: 0.4rem 0;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #065f46;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #ecfdf5;
}

.custom-range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #065f46;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.custom-range-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  background: #ecfdf5;
}

/* 4. Pure Minimalist Wishlist Heart Icon (No Circular Border) */
.wishlist-btn {
  position: absolute !important;
  top: 0.65rem !important;
  right: 0.65rem !important;
  width: 32px !important;
  height: 32px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 5 !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0 !important;
}

.wishlist-btn:hover {
  transform: scale(1.18) !important;
  background: transparent !important;
}

.wishlist-btn svg {
  width: 24px !important;
  height: 24px !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)) !important;
  transition: all 0.25s ease !important;
  pointer-events: none;
}

.wishlist-btn:active {
  transform: scale(0.9) !important;
}

/* 5. Mobile Filter Drawer & Backdrop Overlay */
.sidebar-filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-filter-backdrop.mobile-open {
  display: block;
  opacity: 1;
}

.mobile-filter-apply-bar {
  display: none;
}

.mobile-filter-close {
  display: none;
}

/* 6. Catalog Control Bar (Search, Filter, Sort) */
.catalog-control-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.catalog-search-wrap {
  flex: 1;
  position: relative;
}

.catalog-search-wrap input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.3rem;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.catalog-search-wrap input:focus {
  border-color: #064e3b;
}

.catalog-search-wrap svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.catalog-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.catalog-sort-select {
  padding: 0.55rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  cursor: pointer;
  outline: none;
}

/* 7. Refined CIW Package Card Component */
.glide-slide-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glide-slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.1);
  border-color: #cbd5e1;
}

.glide-card-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #0f172a;
}

.glide-slide-card .glide-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.glide-slide-card:hover .glide-card-img {
  transform: scale(1.05);
}

.card-duration-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.ciw-card-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ciw-card-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
}

.ciw-card-loc {
  font-size: 0.68rem;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.ciw-card-meta {
  font-size: 0.75rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.ciw-card-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ciw-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.5rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.rating-num {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.price-box {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-height: 2.6rem;
  justify-content: flex-end;
}

.price-label {
  font-size: 0.68rem;
  color: #64748b;
}

.price-values {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.orig-price {
  font-size: 0.72rem;
  color: #94a3b8;
  text-decoration: line-through;
  line-height: 1.1;
}

.final-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #064e3b;
  line-height: 1.2;
}

/* 8. Comprehensive Mobile Responsiveness Optimization */
@media (max-width: 991px) {
  .layout-with-sidebar {
    display: block !important;
  }

  /* Mobile Filter Toggle Button in Catalog Header */
  .btn-mobile-filter-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 8px;
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(6, 78, 59, 0.25);
    transition: all 0.2s ease;
    box-sizing: border-box;
  }

  .btn-mobile-filter-toggle:active {
    transform: scale(0.97);
  }

  /* Off-Canvas Slide-In Drawer for Sidebar Filter */
  .sidebar-filter-card {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 86% !important;
    max-width: 360px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 100000 !important;
    border-radius: 0 20px 20px 0 !important;
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.35) !important;
    border: none !important;
    border-right: 2px solid #fbbf24 !important;
    padding: 1.25rem !important;
    transform: translateX(-105%) !important;
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1) !important;
    background: #ffffff !important;
  }

  .sidebar-filter-card.mobile-open {
    transform: translateX(0) !important;
  }

  .mobile-filter-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
  }

  .mobile-filter-apply-bar {
    display: block !important;
    position: sticky;
    bottom: -1.25rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding: 0.85rem 1.25rem calc(env(safe-area-inset-bottom, 0px) + 0.85rem) 1.25rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 5;
  }

  .btn-apply-mobile-filter {
    width: 100%;
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: #fbbf24;
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.3);
  }
}

/* --- CATALOG HERO FULL-BLEED TRANSPARENT HEADER --- */
body.home-page .catalog-hero-wrapper,
body.transparent-header-page .catalog-hero-wrapper {
  margin-top: -116px;
  padding-top: 10.5rem !important;
}

@media (max-width: 768px) {
  body.home-page .catalog-hero-wrapper,
  body.transparent-header-page .catalog-hero-wrapper {
    margin-top: -106px;
    padding-top: 8.5rem !important;
  }

  .catalog-hero-wrapper {
    padding: 2rem 0 2.5rem 0 !important;
  }

  .catalog-hero-title {
    font-size: 1.55rem !important;
    line-height: 1.3 !important;
  }

  .hero-info-cards-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }

  .hero-info-card {
    padding: 0.65rem 0.75rem !important;
  }

  .hero-info-card div[style*="font-size: 1.15rem"] {
    font-size: 0.95rem !important;
  }

  .catalog-floating-bar-container {
    margin-top: -1.25rem !important;
    margin-bottom: 1rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .catalog-floating-category-bar {
    width: max-content !important;
    justify-content: flex-start !important;
    padding: 0.25rem 0.35rem !important;
  }

  .floating-cat-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.76rem !important;
  }

  /* Compact Control Bar on Mobile */
  .catalog-control-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    padding: 0.6rem 0.75rem !important;
    border-radius: 12px !important;
  }

  .catalog-search-wrap input {
    padding: 0.45rem 0.75rem 0.45rem 2.1rem !important;
    font-size: 0.8rem !important;
  }

  .catalog-actions-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .btn-mobile-filter-toggle {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.45rem 0.6rem !important;
    font-size: 0.76rem !important;
  }

  .catalog-sort-select {
    width: 100% !important;
    padding: 0.45rem 0.5rem !important;
    font-size: 0.76rem !important;
  }

  /* Compact 2-Column Grid on Mobile */
  .catalog-packages-grid,
  #catalog-packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }

  .glide-slide-card {
    border-radius: 12px !important;
  }

  .glide-card-img-wrap {
    height: 135px !important;
  }

  .glide-slide-card .glide-card-img {
    height: 135px !important;
  }

  /* Category badge on top-left of image */
  .card-badge-shimmer {
    top: 0.45rem !important;
    left: 0.45rem !important;
    padding: 0.15rem 0.42rem !important;
    font-size: 0.58rem !important;
    border-radius: 50px !important;
  }

  /* Wishlist button top-right */
  .glide-slide-card .wishlist-btn {
    top: 0.35rem !important;
    right: 0.35rem !important;
    width: 26px !important;
    height: 26px !important;
    background: transparent !important;
    border: none !important;
  }

  .glide-slide-card .wishlist-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Duration badge bottom-right */
  .card-duration-badge {
    bottom: 0.35rem !important;
    right: 0.35rem !important;
    padding: 0.12rem 0.35rem !important;
    font-size: 0.6rem !important;
    border-radius: 4px !important;
  }

  .ciw-card-body {
    padding: 0.5rem 0.55rem !important;
  }

  .ciw-card-title {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    min-height: 1.95rem !important;
    margin-bottom: 0.2rem !important;
  }

  .ciw-card-loc {
    font-size: 0.6rem !important;
    margin-bottom: 0.3rem !important;
  }

  .ciw-card-meta {
    font-size: 0.66rem !important;
    gap: 0.15rem !important;
    margin-bottom: 0.35rem !important;
  }

  .ciw-card-meta svg {
    width: 11px !important;
    height: 11px !important;
  }

  .rating-row span {
    font-size: 0.66rem !important;
  }

  .rating-num {
    font-size: 0.6rem !important;
  }

  .price-box {
    min-height: 2rem !important;
  }

  .price-label {
    font-size: 0.58rem !important;
  }

  .orig-price {
    font-size: 0.64rem !important;
  }

  .final-price {
    font-size: 0.92rem !important;
  }
}

/* Ultra-compact screen safety (< 360px: iPhone SE, Galaxy Fold cover) */
@media (max-width: 359px) {
  .catalog-packages-grid,
  #catalog-packages-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-info-cards-wrapper {
    grid-template-columns: 1fr !important;
  }
}
