/*
Theme Name: Tourism Service
Theme URI: https://tourismservice.com
Author: Tourism Service Team
Description: Multi-company ferry & boat ticket booking for Preah Sihanouk. ABA PayWay gateway (Visa, Mastercard, ABA Pay, KHQR). 5-step booking with company selection, VIP add-ons, instant e-tickets, booking reports. Demo data included.
Version: 3.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seavoyage
Tags: booking, travel, ferry, tourism, woocommerce
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  /* Primary palette — clean maritime blue */
  --ocean:      #0B3D91;      /* rich maritime blue — main brand */
  --deep:       #07285E;      /* darkest blue — for footers, depth */
  --sky:        #2B7CE8;      /* medium blue — accents, links */
  --aqua:       #00B8C4;      /* teal accent — highlights */
  --sand:       #FFF8F2;      /* warm off-white */
  --gold:       #F59E0B;      /* warm amber — CTAs, highlights */
  --white:      #ffffff;
  --text:       #111827;      /* near-black — primary text */
  --muted:      #6B7280;      /* medium gray — secondary text */
  --light:      #F8FAFC;      /* site background — cool near-white */
  --border:     #E5E7EB;      /* subtle border */
  --success:    #059669;
  --danger:     #DC2626;
  --radius:     12px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'DM Sans', -apple-system, sans-serif;
  line-height: 1.2;
  color: var(--text);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1rem; color: var(--muted); font-size: 0.95rem; }
p:last-child { margin-bottom: 0; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5%, 60px);
}

.section { padding: clamp(56px, 7vw, 108px) 0; }
.section-sm { padding: clamp(36px, 4vw, 64px) 0; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--muted); }
.text-sky { color: var(--sky); }

.bg-light { background: var(--light); }
.bg-ocean { background: var(--ocean); }
.bg-deep { background: var(--deep); }
.bg-white { background: var(--white); }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sky);
  margin-bottom: 10px;
  background: rgba(43,124,232,0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

.section-header { margin-bottom: clamp(36px, 5vw, 56px); }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin-left: auto; margin-right: auto; }

.section-desc {
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 540px;
  margin-top: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ocean);
  color: var(--white);
}
.btn-primary:hover { background: var(--sky); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(11,61,145,0.25); color: var(--white); }

.btn-secondary {
  background: var(--white);
  color: var(--ocean);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--ocean); color: var(--ocean); background: rgba(11,61,145,0.03); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #D97706; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(245,158,11,0.3); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }

.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; border-radius: 8px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--light); }

/* ============================================
   BADGES & TAGS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.badge-sky { background: rgba(43,124,232,0.1); color: var(--sky); }
.badge-gold { background: rgba(232,169,77,0.15); color: #b5730f; }
.badge-green { background: rgba(39,174,96,0.12); color: var(--success); }
.badge-ocean { background: rgba(10,61,98,0.1); color: var(--ocean); }

/* ============================================
   FORMS
   ============================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.form-control {
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(11,61,145,0.08);
}
.form-control::placeholder { color: #aab8c4; }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b8394' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================
   NAVIGATION
   ============================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

/* Logo -------------------------------------------------- */
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 8px;
}

/* Custom logo image (uploaded via Appearance > Customize) */
.site-logo img,
.site-logo .custom-logo {
  height: 52px !important;
  width: auto !important;
  max-width: 160px;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

/* Fallback logo mark (icon only) */
.logo-mark {
  width: 40px; height: 40px;
  background: var(--ocean);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.logo-wordmark-name {
  font-family: 'Sora', 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ocean);
  display: block;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.logo-wordmark-tagline {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  white-space: nowrap;
}

/* Divider between logo and nav */
.header-inner::after {
  content: none;
}
.header-logo-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* Primary Navigation ------------------------------------ */
#primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
#primary-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#primary-nav ul li a {
  display: block;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a {
  color: var(--ocean);
  background: rgba(11,61,145,0.06);
}
#primary-nav ul li.current-menu-item a {
  font-weight: 600;
  color: var(--ocean);
}

/* Header Actions ---------------------------------------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-phone {
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.header-phone:hover { color: var(--ocean); }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
}
.mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 80px;
  background: linear-gradient(160deg, #F0F6FF 0%, #EAF2FF 40%, #F8FAFC 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 40%, rgba(11,61,145,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 60%, rgba(43,124,232,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(11,61,145,0.18);
  border-radius: 50%;
  animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.5; }
  100% { transform: translateY(-80px) rotate(180deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  background: rgba(11,61,145,0.08);
  border: 1px solid rgba(11,61,145,0.16);
  color: var(--ocean);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  animation: fade-up 0.8s ease both;
}

.hero-title {
  color: var(--text);
  margin-bottom: 18px;
  animation: fade-up 0.8s 0.1s ease both;
  letter-spacing: -0.03em;
}
.hero-title span { color: var(--ocean); }

.hero-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 44px;
  animation: fade-up 0.8s 0.2s ease both;
  line-height: 1.7;
}

/* BOOKING WIDGET v5 -- reference design */
.sv-widget {
  background: transparent;
  padding: 0;
  width: 100%;
  max-width: 1100px;
  animation: fade-up 0.7s 0.3s ease both;
}

/* ---- Trip type tabs: white text on hero ---- */
.sv-widget__tabs {
  display: inline-flex;
  gap: 0;
  margin-bottom: 16px;
  padding: 0 4px;
}
.sv-widget__tab {
  padding: 8px 20px;
  border: none;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
  position: relative;
  letter-spacing: 0.01em;
}
.sv-widget__tab::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ocean);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.2s;
}
.sv-widget__tab.active {
  color: var(--ocean);
  font-weight: 700;
}
.sv-widget__tab.active::after { width: 65%; }
.sv-widget__tab:not(.active):hover { color: var(--text); }

/* ---- Main white card ---- */
.sv-widget__main {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: visible;
}

/* == Row 1: From | To ==================================== */
.sv-widget__route-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1.5px solid #f0f2f5;
  position: relative;
}

.sv-widget__port {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  min-width: 0;
}
.sv-widget__port--from {
  border-right: 1.5px solid #f0f2f5;
}
.sv-widget__port-icon {
  color: #64748b;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.sv-widget__port-inner { flex: 1; min-width: 0; }
.sv-widget__port-select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 400;
  color: #94a3b8;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.sv-widget__port-select:focus { outline: none; }
.sv-widget__port-select.has-value {
  color: #1e293b;
  font-weight: 500;
}

/* Swap button -- centered on the From/To divider */
.sv-widget__swap-col {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.sv-widget__swap {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.sv-widget__swap:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  color: #fff;
}

/* == Row 2: date cells + passenger cells ================= */
.sv-widget__row2 {
  display: flex;
  align-items: stretch;
  padding: 14px 16px 16px;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Every pill cell */
.sv-widget__cell {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  padding: 10px 18px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.sv-widget__cell:hover         { border-color: #94a3b8; }
.sv-widget__cell:focus-within  { border-color: #64748b; box-shadow: 0 0 0 3px rgba(100,116,139,0.1); }

/* Date cells grow to fill available space */
.sv-widget__cell--date   { flex: 1 1 170px; min-width: 0; }
.sv-widget__cell--return { flex: 1 1 170px; min-width: 0; }

/* Return cell dimmed when one-way; lights up when round trip */
.sv-widget__cell--return {
  opacity: 0.6;
  cursor: default;
}
.sv-widget--roundtrip .sv-widget__cell--return {
  opacity: 1;
  cursor: pointer;
  border-color: #64748b;
}

.sv-widget__cell-icon { color: #64748b; flex-shrink: 0; display: flex; align-items: center; }
.sv-widget__cell-body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }

.sv-widget__cell-label {
  font-size: 0.68rem;
  color: #94a3b8;
  white-space: nowrap;
}

/* Depart date: label on top, bold date below */
.sv-widget__date-input {
  border: none; outline: none;
  font-size: 0.95rem; font-weight: 700;
  color: #1e293b;
  background: transparent; font-family: inherit;
  width: 100%; cursor: pointer; padding: 0;
}
/* Return date: italic placeholder style */
.sv-widget__return-input {
  font-weight: 400; color: #94a3b8;
}
.sv-widget__return-input:disabled {
  -webkit-text-fill-color: #94a3b8;
  opacity: 1;
}
.sv-widget--roundtrip .sv-widget__return-input {
  font-weight: 700; color: #1e293b;
}

/* Shake + red highlight when required */
.sv-widget__cell--return.required {
  border-color: #ef4444;
  animation: sv-shake 0.35s ease;
}
@keyframes sv-shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

/* == Passenger cells ===================================== */
.sv-widget__cell--pax { gap: 10px; }
.sv-widget__cell-icon--pax { color: #475569; }
.sv-widget__pax-name {
  font-size: 0.95rem; font-weight: 700; color: #1e293b; line-height: 1.2;
}
.sv-widget__pax-age {
  font-size: 0.68rem; color: #94a3b8; line-height: 1;
}

/* Adult stepper: [grey circle -] [1] [pink circle +] */
.sv-widget__stepper {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0;
}
.sv-widget__step-btn {
  width: 30px; height: 30px;
  border-radius: 50%; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s; flex-shrink: 0;
}
/* Dec (minus/trash) = grey */
.sv-widget__step-dec {
  background: #e2e8f0; color: #475569;
}
.sv-widget__step-dec:hover:not(:disabled) { background: #cbd5e1; }
/* Inc (plus) = pink-red */
.sv-widget__step-inc {
  background: #fde8e8; color: #c0392b;
}
.sv-widget__step-inc:hover { background: #fbd0d0; }
.sv-widget__step-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.sv-widget__step-val {
  min-width: 26px; text-align: center;
  font-size: 1rem; font-weight: 700; color: #1e293b;
}

/* Child "+ Add" pink pill */
.sv-widget__add-child {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px;
  border: none; border-radius: 100px;
  background: #fde8e8; color: #c0392b;
  font-size: 0.88rem; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background 0.15s; white-space: nowrap;
  flex-shrink: 0;
}
.sv-widget__add-child:hover { background: #fbd0d0; }

/* == Search button ======================================= */
.sv-widget__search-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.sv-widget__search-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 52px;
  border: none;
  border-radius: 100px;
  background: var(--ocean);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(11,61,145,0.28);
  transition: background 0.18s, box-shadow 0.18s, transform 0.1s;
}
.sv-widget__search-btn:hover {
  background: var(--sky);
  box-shadow: 0 8px 28px rgba(11,61,145,0.35);
}
.sv-widget__search-btn:active { transform: scale(0.98); }

/* == Company chips ======================================= */
.sv-widget__companies {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.sv-widget__companies-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--muted); margin-bottom: 8px;
}
.sv-widget__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sv-widget__chips .company-filter-btn {
  background: rgba(11,61,145,0.06); border-color: rgba(11,61,145,0.15); color: var(--ocean);
}
.sv-widget__chips .company-filter-btn.active {
  background: var(--ocean); color: #fff; border-color: var(--ocean);
}

/* == Legacy aliases ====================================== */
.booking-widget { display: contents; }
.booking-grid   { display: contents; }

/* Add-ons in widget */
.widget-addons { margin-bottom: 16px; }
.widget-addons-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.widget-addon-list { display: flex; gap: 10px; flex-wrap: wrap; }
.widget-addon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
  flex: 1;
  min-width: 150px;
}
.widget-addon-item:hover { border-color: var(--sky); }
.widget-addon-item.selected { border-color: var(--sky); background: rgba(26,158,206,0.05); }
.widget-addon-item input { display: none; }
.widget-addon-emoji { font-size: 1.2rem; }
.widget-addon-text .name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.widget-addon-text .price { font-size: 0.75rem; color: var(--sky); font-weight: 700; }
.widget-addon-check {
  margin-left: auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.widget-addon-item.selected .widget-addon-check {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--white);
}

.search-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--ocean), var(--sky));
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,158,206,0.4); }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 44px;
  animation: fade-up 0.8s 0.5s ease both;
  padding: 20px 28px;
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  border: 1px solid rgba(11,61,145,0.08);
  backdrop-filter: blur(8px);
}
.hero-stat { text-align: center; }
.hero-stat + .hero-stat {
  padding-left: clamp(32px, 5vw, 64px);
  border-left: 1px solid rgba(11,61,145,0.12);
}
.hero-stat-num {
  font-family: 'Sora', 'DM Sans', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--ocean);
  display: block;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

/* Waves */
.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.wave-layer {
  position: absolute;
  bottom: 0; left: -50%;
  width: 200%; height: 140px;
  background: var(--light);
  border-radius: 50% 50% 0 0;
  animation: wave-sway 10s ease-in-out infinite;
}
.wave-layer:nth-child(1) { opacity: 0.6; animation-duration: 8s; }
.wave-layer:nth-child(2) { opacity: 0.4; animation-duration: 11s; animation-delay: -4s; }
.wave-layer:nth-child(3) { opacity: 0.3; height: 100px; animation-duration: 14s; animation-delay: -7s; }
.wave-solid { position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: var(--light); clip-path: ellipse(55% 100% at 50% 100%); }

@keyframes wave-sway {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-4%) scaleY(1.08); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1.5px solid var(--border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11,61,145,0.15);
}

.service-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}
.service-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.45));
}
.service-img-emoji {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
}

.service-card-body { padding: 24px; }
.service-card-body h3 { margin-bottom: 8px; color: var(--text); font-size: 1.1rem; font-weight: 700; }
.service-card-body p { font-size: 0.9rem; margin-bottom: 16px; }
.service-price { font-size: 1.15rem; font-weight: 700; color: var(--gold); }
.service-price small { font-size: 0.8rem; color: var(--muted); font-weight: 400; }

/* ============================================
   VIP SECTION
   ============================================ */
.vip-section { background: #F0F6FF; }

.vip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.vip-section h2 { color: var(--text); }
.vip-section .section-desc { color: var(--muted); }

.vip-features-list { list-style: none; margin: 32px 0; display: flex; flex-direction: column; gap: 14px; }
.vip-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.vip-feature-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 1rem;
}

.vip-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 420px;
}
.vip-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border: 1.5px solid var(--border);
}
.vip-img:first-child { grid-row: span 2; }
.vip-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============================================
   ROUTES SECTION
   ============================================ */
.routes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.route-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.route-card:hover {
  border-color: rgba(11,61,145,0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.route-img {
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}
.route-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.route-departure-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--ocean);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.route-body { padding: 22px; }

.route-path {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.route-city {
  font-family: 'Sora', 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.route-arrow { color: var(--sky); font-size: 1.1rem; }

.route-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.route-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
}

.route-amenities {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.route-amenity {
  background: rgba(11,61,145,0.06);
  color: var(--ocean);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(11,61,145,0.1);
}

.route-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.route-price {
  font-family: 'Sora', 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ocean);
  letter-spacing: -0.02em;
}
.route-price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-connector {
  position: absolute;
  top: 32px;
  left: calc(33.33% - 20px);
  right: calc(33.33% - 20px);
  height: 1.5px;
  background: var(--border);
}

.step-card { text-align: center; }
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--ocean);
  font-family: 'Sora', 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p { font-size: 0.9rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--white); }
.testimonials-section h2 { color: var(--text); }
.testimonials-section .section-label { color: var(--sky); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.testimonial-stars { color: var(--gold); font-size: 0.82rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-text {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--ocean);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--text); font-size: 0.88rem; }
.testimonial-location { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--ocean);
  padding: clamp(60px, 8vw, 100px) 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='white' opacity='0.15'/%3E%3C/svg%3E");
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.88); font-size: 1.05rem; max-width: 480px; margin: 0 auto 36px; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   BOOKING MODAL
   ============================================ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.active { display: flex; animation: fade-in 0.25s ease; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* -- Widget inline alert (validation before modal opens) -- */
.sv-widget-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 13px 16px;
  background: #fff;
  border: 1.5px solid #fca5a5;
  border-left: 4px solid #ef4444;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(239,68,68,0.15);
  animation: sv-alert-in 0.22s cubic-bezier(0.4,0,0.2,1);
  color: #991b1b;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}
@keyframes sv-alert-in {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
.sv-widget-alert svg { flex-shrink:0; margin-top:1px; color:#ef4444; }
.sv-widget-alert span { flex:1; }
.sv-widget-alert__close {
  flex-shrink:0; width:24px; height:24px;
  border:none; background:transparent; cursor:pointer;
  color:#94a3b8; border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  transition:color 0.15s, background 0.15s;
}
.sv-widget-alert__close:hover { color:#ef4444; background:#fee2e2; }

/* Shake + red border on invalid field */
.sv-field-error {
  border-color: #ef4444 !important;
  animation: sv-shake 0.4s ease;
}
@keyframes sv-shake {
  0%,100% { transform:translateX(0); }
  20%      { transform:translateX(-7px); }
  40%      { transform:translateX(7px); }
  60%      { transform:translateX(-5px); }
  80%      { transform:translateX(5px); }
}

/* ============================================================
   BOOKING MODAL -- rb- system (RedBus-style flow v5)
   Screen A: Results  B: Details  C: Review  D: PayWay  E: Success
   ============================================================ */

/* Overlay */
.rb-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  align-items: flex-start;
  justify-content: center;
}
.rb-modal.active { display: flex; }

/* Panel */
.rb-modal__inner {
  background: #fff;
  width: 100%;
  max-width: 560px;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: rb-slide-up 0.3s cubic-bezier(0.4,0,0.2,1);
}
@media (min-width: 640px) {
  .rb-modal {
    padding: 20px 16px;
    align-items: flex-start;
  }
  .rb-modal__inner {
    min-height: auto;
    max-height: calc(100vh - 40px);
    border-radius: 18px;
    overflow: visible;
  }
  .rb-results-body { padding: 12px 14px 20px; gap: 10px; }
}
@keyframes rb-slide-up {
  from { opacity:0; transform: translateY(32px); }
  to   { opacity:1; transform: translateY(0); }
}

/* Screens */
.rb-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  overflow: visible;     /* never clip -- scroll lives on .rb-results-body */
}
@media (min-width: 640px) {
  /* Screen fills inner panel height; results body scrolls inside */
  .rb-screen { height: 100%; max-height: calc(100vh - 40px); }
}
.rb-screen--success {
  align-items: center;
  text-align: center;
  padding: 32px 24px 40px;
  overflow-y: auto;
}

/* ---- Shared: header bar ---- */
.rb-results-header,
.rb-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.rb-form-header__title {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

/* Back button */
.rb-back-btn, .rb-close-x {
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.rb-back-btn:hover, .rb-close-x:hover { background: #e2e8f0; color: #1e293b; }
.rb-close-x--top {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 20;
}

/* -- SCREEN A: RESULTS ------------------------------------- */
.rb-results-header {
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 16px;
}
.rb-results-header__top {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.rb-results-header__route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  flex: 1;
}
.rb-results-header__port { }
.rb-results-header__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #64748b;
  padding-left: 48px;
  margin-top: 2px;
}
.rb-results-header__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
  display: inline-block;
}

/* Leg tabs (round trip only) */
.rb-leg-tabs {
  display: flex;
  gap: 0;
  padding: 0 16px;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
  flex-shrink: 0;
}
.rb-leg-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 20px;
  border: none; background: transparent;
  font-size: 0.88rem; font-weight: 600; font-family: inherit;
  color: #64748b; cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.rb-leg-tab.active { color: #c0392b; border-bottom-color: #c0392b; }

/* Results list */
.rb-results-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: visible;     /* let expanded cards breathe */
  padding: 12px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  /* Ensure the scroll container itself is tall enough */
  min-height: 0;
}
.rb-no-results {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
}

/* -- Operator card: compact list row + expand panel --- */
.rb-op-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #e8edf3;
  overflow: visible;   /* must NOT clip -- detail panel expands below card */
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.rb-op-card:hover         { border-color: #c0392b; box-shadow: 0 2px 16px rgba(192,57,43,0.08); }
.rb-op-card--open         { border-color: #c0392b; box-shadow: 0 4px 20px rgba(192,57,43,0.12); }

/* Summary row -- always visible, matches screenshot */
.rb-op-card__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 13px;  /* match card; clips to radius when detail is closed */
}
.rb-op-card--open .rb-op-card__summary {
  border-radius: 13px 13px 0 0;
}
.rb-op-card__logo-wrap { flex-shrink: 0; }
.rb-op-logo {
  width: 52px; height: 52px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #f0f2f5;
  display: block;
}
.rb-op-logo--init {
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #fff;
}
.rb-op-card__info { flex: 1; min-width: 0; }
.rb-op-card__name {
  font-size: 1rem; font-weight: 700; color: #1e293b;
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  line-height: 1.3;
}
.rb-op-badge {
  font-size: 0.62rem; font-weight: 700; color: #fff;
  padding: 3px 9px; border-radius: 20px; white-space: nowrap;
}
.rb-op-card__dur {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.82rem; color: #64748b; margin-top: 5px;
}
.rb-op-card__price-wrap {
  text-align: right; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-end;
}
.rb-op-card__price-from { font-size: 0.68rem; color: #94a3b8; line-height: 1; }
.rb-op-card__price-num  { font-size: 1.35rem; font-weight: 800; color: #c0392b; line-height: 1.1; }
.rb-op-card__price-per  { font-size: 0.68rem; color: #94a3b8; }

/* Expand chevron button */
.rb-op-card__expand-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid #e2e8f0; background: #f8fafc;
  color: #64748b; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.rb-op-card__expand-btn svg { transition: transform 0.25s; }
.rb-op-card--open .rb-op-card__expand-btn { background: #c0392b; border-color: #c0392b; color: #fff; }
.rb-op-card--open .rb-op-card__expand-btn svg { transform: rotate(180deg); }

/* Detail panel -- collapsed by default, expands smoothly */
.rb-op-card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  border-top: 0 solid #f5f7fa;
  /* Contain the border-radius visually without clipping */
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 13px;
}
.rb-op-card--open .rb-op-card__detail {
  border-top-width: 1px;
  overflow: visible;    /* once open, allow content to scroll into view */
}

/* Time slots inside detail */
.rb-op-card__slots { padding: 14px 18px 10px; }
.rb-op-card__slots-group { }
.rb-op-card__slots-group + .rb-op-card__slots-divider { height: 1px; background: #f0f2f5; margin: 10px 0; }
.rb-op-card__slots-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #94a3b8; margin-bottom: 8px;
}
.rb-op-card__slots-label--ret { color: #16a34a; }
.rb-op-card__slots-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Book row inside detail */
.rb-op-card__book-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 14px;
  border-top: 1px solid #f5f7fa;
  background: #fafbfc;
  gap: 12px; flex-wrap: wrap;
}
.rb-op-card__book-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rb-op-card__book-pax  { font-size: 0.78rem; color: #64748b; }
.rb-op-card__book-right{ display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.rb-op-card__book-total{ display: flex; flex-direction: column; align-items: flex-end; }
.rb-op-card__price-label{ font-size: 0.62rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.rb-op-card__total-num  { font-size: 1.05rem; font-weight: 800; color: #1e293b; }

/* Time slots */
.rb-op-card__slots {
  padding: 0 16px 12px;
  border-top: 1px solid #f5f7fa;
}
.rb-op-card__slots-row-wrap {
  display: flex; flex-direction: column; gap: 0;
}
.rb-op-card__slots-group { padding-top: 10px; }
.rb-op-card__slots-divider {
  height: 1px; background: #f0f2f5; margin: 10px 0 0;
}
.rb-op-card__slots-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #94a3b8; margin-bottom: 8px;
}
.rb-op-card__slots-label--ret { color: #16a34a; }
.rb-op-card__slots-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
/* Base slot */
.rb-slot {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 8px 14px;
  border: 1.5px solid #e2e8f0; border-radius: 10px;
  background: #fff; cursor: pointer;
  transition: all 0.15s; font-family: inherit;
}
.rb-slot__time { font-size: 0.88rem; font-weight: 700; color: #1e293b; }
.rb-slot__seats { font-size: 0.68rem; color: #64748b; }
.rb-slot__seats--low { color: #f59e0b; font-weight: 700; }
/* Departure slot selected (red) */
.rb-slot--dep:hover { border-color: #c0392b; background: #fff8f8; }
.rb-slot--dep.rb-slot--sel { border-color: #c0392b; background: #fff8f8; }
.rb-slot--dep.rb-slot--sel .rb-slot__time { color: #c0392b; }
/* Return slot selected (green) */
.rb-slot--ret:hover { border-color: #16a34a; background: #f0fdf4; }
.rb-slot--ret.rb-slot--sel-ret { border-color: #16a34a; background: #f0fdf4; }
.rb-slot--ret.rb-slot--sel-ret .rb-slot__time { color: #16a34a; }

/* Card footer */
/* Trip type badge (inside book row) */
.rb-op-card__trip-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 2px 8px; border-radius: 20px;
}
.rb-op-card__trip-badge--ow { background: #dbeafe; color: #1d4ed8; }
.rb-op-card__trip-badge--rt { background: #dcfce7; color: #16a34a; }

/* Book Now button */
.rb-book-btn {
  padding: 10px 22px;
  border: none; border-radius: 8px;
  background: #c0392b; color: #fff;
  font-size: 0.9rem; font-weight: 700; font-family: inherit;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.rb-book-btn:hover  { background: #a93226; }
.rb-book-btn:active { transform: scale(0.97); }

/* -- SCREEN B: PASSENGER DETAILS --------------------------- */
.rb-sticky-summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #f0f2f5;
  gap: 10px;
  flex-shrink: 0;
}
.rb-sticky-summary__left { min-width: 0; }
.rb-sticky-summary__route {
  font-size: 0.88rem; font-weight: 700; color: #1e293b;
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rb-sticky-summary__detail {
  font-size: 0.75rem; color: #64748b;
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rb-sticky-summary__price {
  font-size: 1rem; font-weight: 800; color: #c0392b; flex-shrink: 0;
}

.rb-form-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rb-form-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid #f0f2f5;
  background: #fff;
  gap: 12px;
  flex-shrink: 0;
}
.rb-footer-total { display: flex; flex-direction: column; }
.rb-footer-total__label { font-size: 0.72rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.06em; }
.rb-footer-total__amount { font-size: 1.2rem; font-weight: 800; color: #1e293b; }

/* CTA button */
.rb-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: none; border-radius: 10px;
  background: #c0392b; color: #fff;
  font-size: 0.97rem; font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.rb-cta-btn:hover { background: #a93226; }
.rb-cta-btn:active { transform: scale(0.98); }
.rb-cta-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.rb-cta-btn--pay { background: #1a56db; }
.rb-cta-btn--pay:hover { background: #1440b3; }
.rb-btn-full { width: 100%; justify-content: center; }
.rb-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border: 1.5px solid #e2e8f0; border-radius: 10px;
  background: #fff; color: #475569;
  font-size: 0.9rem; font-weight: 600; font-family: inherit;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.rb-btn-secondary:hover { border-color: #94a3b8; background: #f8fafc; }

/* Form sections */
.rb-section { background: #fff; border-radius: 12px; border: 1.5px solid #f0f2f5; padding: 16px; }
.rb-section__title {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #64748b; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.rb-section__badge {
  font-size: 0.68rem; background: #dcfce7; color: #16a34a;
  padding: 2px 8px; border-radius: 20px; font-weight: 700;
  text-transform: none; letter-spacing: 0;
}

/* Form fields */
.rb-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.rb-field:last-child { margin-bottom: 0; }
.rb-field-row { display: flex; gap: 12px; }
.rb-field-row .rb-field { flex: 1; }
.rb-label { font-size: 0.8rem; font-weight: 600; color: #475569; }
.rb-required { color: #ef4444; }
.rb-input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #e2e8f0; border-radius: 8px;
  font-size: 0.95rem; font-family: inherit; color: #1e293b;
  background: #fff; outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.rb-input:focus { border-color: #c0392b; }
.rb-textarea { resize: vertical; min-height: 68px; }
.rb-field-hint { font-size: 0.72rem; color: #94a3b8; }

/* Add-on cards */
.rb-addons-grid { display: flex; flex-direction: column; gap: 8px; }
.rb-addon-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0; border-radius: 10px;
  background: #fff; transition: border-color 0.15s, background 0.15s;
}
.rb-addon-card--active { border-color: #c0392b; background: #fff8f8; }
.rb-addon-card__emoji { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.rb-addon-card__body { flex: 1; min-width: 0; }
.rb-addon-card__name { font-size: 0.9rem; font-weight: 700; color: #1e293b; }
.rb-addon-card__desc { font-size: 0.75rem; color: #64748b; }
.rb-addon-card__price { font-size: 0.78rem; color: #c0392b; font-weight: 700; margin-top: 2px; }
.rb-addon-stepper {
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.rb-addon-dec, .rb-addon-inc {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #e2e8f0;
  background: #fff; color: #475569; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.rb-addon-inc { border-color: #c0392b; color: #c0392b; }
.rb-addon-inc:hover { background: #c0392b; color: #fff; }
.rb-addon-dec:hover:not(:disabled) { border-color: #94a3b8; background: #f8fafc; }
.rb-addon-dec:disabled { opacity: 0.35; cursor: not-allowed; }
.rb-addon-qty { min-width: 24px; text-align: center; font-size: 0.95rem; font-weight: 700; color: #1e293b; }

/* Privacy note */
.rb-privacy-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: #94a3b8;
  padding: 10px 0;
}

/* -- SCREEN C: REVIEW & PAY -------------------------------- */

/* Ticket card */
.rb-ticket-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}
.rb-ticket-card__operator {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #f0f2f5;
  font-size: 0.9rem;
}
.rb-ticket-card__route {
  display: flex; align-items: center;
  padding: 18px 16px;
  gap: 8px;
}
.rb-ticket-card__port { flex: 1; }
.rb-ticket-card__port--right { text-align: right; }
.rb-ticket-card__port-time { font-size: 1.5rem; font-weight: 800; color: #1e293b; line-height: 1; }
.rb-ticket-card__port-name { font-size: 0.8rem; color: #64748b; margin-top: 4px; font-weight: 600; }

.rb-ticket-card__mid {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.rb-ticket-card__duration { font-size: 0.72rem; color: #94a3b8; }
.rb-ticket-card__line {
  display: flex; align-items: center; gap: 4px; width: 100%;
}
.rb-ticket-card__dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.rb-ticket-card__dot--dep { background: #c0392b; }
.rb-ticket-card__dot--arr { background: #1a56db; }
.rb-ticket-card__track { flex: 1; height: 1.5px; background: #e2e8f0; }
.rb-ticket-card__ferry { color: #64748b; flex-shrink: 0; }
.rb-ticket-card__type-badge {
  font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 20px;
}
.rb-ticket-card__type-badge--ow { background: #dbeafe; color: #1d4ed8; }
.rb-ticket-card__type-badge--rt { background: #dcfce7; color: #16a34a; }

.rb-ticket-card__divider {
  margin: 0 16px;
  border-top: 1.5px dashed #e2e8f0;
  position: relative;
}
.rb-ticket-card__divider::before,
.rb-ticket-card__divider::after {
  content: '';
  position: absolute;
  top: -8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}
.rb-ticket-card__divider::before { left: -24px; }
.rb-ticket-card__divider::after  { right: -24px; }

.rb-ticket-card__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 14px 16px;
  gap: 12px;
}
.rb-ticket-card__meta-item { display: flex; flex-direction: column; gap: 2px; }
.rb-ticket-card__meta-label { font-size: 0.68rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.06em; }
.rb-ticket-card__meta-val   { font-size: 0.88rem; font-weight: 700; color: #1e293b; word-break: break-word; }

.rb-ticket-card__return {
  padding: 14px 16px;
  border-top: 1.5px dashed #e2e8f0;
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
}
.rb-ticket-card__return-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #16a34a; margin-bottom: 10px;
}
.rb-ticket-card__return-route {
  display: flex; align-items: center; gap: 8px;
}
.rb-ticket-card__return-col {
  display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.rb-ticket-card__return-col--right { text-align: right; align-items: flex-end; }
.rb-ticket-card__return-time {
  font-size: 1.3rem; font-weight: 800; color: #1e293b; line-height: 1;
}
.rb-ticket-card__return-port { font-size: 0.75rem; color: #64748b; font-weight: 600; }
.rb-ticket-card__return-arrow { flex-shrink: 0; }
.rb-ticket-card__return-date {
  font-size: 0.78rem; color: #16a34a; font-weight: 600;
  margin-top: 8px;
}

/* Important info note on ticket */
.rb-ticket-card__info-note {
  padding: 14px 16px;
  border-top: 1px solid #f0f2f5;
  background: #fffbeb;
}
.rb-ticket-card__info-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; color: #92400e;
  margin-bottom: 10px;
}
.rb-ticket-card__info-list {
  margin: 0; padding: 0 0 0 16px;
  display: flex; flex-direction: column; gap: 5px;
}
.rb-ticket-card__info-list li {
  font-size: 0.78rem; color: #78350f; line-height: 1.4;
}
.rb-ticket-card__info-list li strong { color: #92400e; }


/* Price breakdown card */
.rb-price-card {
  background: #fff; border: 1.5px solid #f0f2f5; border-radius: 12px; padding: 14px 16px;
}
.rb-price-card__title {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #64748b; margin-bottom: 12px;
}
.rb-price-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.88rem; color: #1e293b; padding: 5px 0;
}
.rb-price-card__divider { border-top: 1px solid #f0f2f5; margin: 10px 0; }
.rb-price-card__total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 800; color: #1e293b;
}

/* Payment methods */
.rb-pm-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1.5px solid #e2e8f0; border-radius: 12px; overflow: hidden;
}
.rb-pm-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  cursor: pointer; background: #fff;
  border-bottom: 1px solid #f0f2f5;
  transition: background 0.12s;
  user-select: none;
}
.rb-pm-item:last-child { border-bottom: none; }
.rb-pm-item:hover { background: #fafbfc; }
.rb-pm-radio { display: none; }
.rb-pm-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #cbd5e1; flex-shrink: 0;
  transition: all 0.15s; position: relative;
}
.rb-pm-item:has(.rb-pm-radio:checked) { background: #fff8f8; }
.rb-pm-item:has(.rb-pm-radio:checked) .rb-pm-check {
  border-color: #c0392b; background: #c0392b;
  box-shadow: inset 0 0 0 3px #fff;
}
.rb-pm-body { flex: 1; min-width: 0; }
.rb-pm-name { font-size: 0.92rem; font-weight: 700; color: #1e293b; display: block; }
.rb-pm-desc { font-size: 0.75rem; color: #64748b; }
.rb-pm-logo {
  font-size: 0.72rem; font-weight: 900; padding: 4px 10px;
  border-radius: 6px; flex-shrink: 0; letter-spacing: 0.05em;
}
.rb-pm-logo--khqr { background: #002B9A; color: #fff; }
.rb-pm-logo--khqr em { font-style: normal; color: #E8192C; }
.rb-pm-logo--booth { background: #16a34a; color: #fff; }
.rb-pm-logos { display: flex; gap: 4px; flex-shrink: 0; }

/* Error banner */
.rb-error {
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px;
  color: #dc2626; font-size: 0.85rem; font-weight: 600;
  padding: 10px 14px; margin: 0 16px;
  display: flex; align-items: center; gap: 8px;
}

/* -- SCREEN E: SUCCESS ------------------------------------- */
.rb-success-icon { margin-bottom: 16px; }
.rb-success-title {
  font-size: 1.4rem; font-weight: 800; color: #1e293b; margin: 0 0 8px;
}
.rb-success-sub { font-size: 0.9rem; color: #64748b; margin: 0 0 24px; }
.rb-success-ref {
  font-size: 1.8rem; font-weight: 900; color: #c0392b;
  font-family: monospace; letter-spacing: 0.08em;
  background: #fff8f8; border: 2px dashed #fecaca;
  padding: 12px 24px; border-radius: 12px; margin-bottom: 20px;
}
.rb-success-company {
  background: #f8fafc; border-radius: 12px; padding: 14px 16px;
  width: 100%; text-align: left; margin-bottom: 16px;
}
.rb-success-company__label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #94a3b8; margin-bottom: 4px;
}
.rb-success-company__name { font-size: 1rem; font-weight: 700; color: #1e293b; }
.rb-success-company__contact { font-size: 0.8rem; color: #64748b; margin-top: 4px; }
.rb-success-note {
  font-size: 0.85rem; color: #475569; line-height: 1.6;
  background: #f0f9ff; border-radius: 10px; padding: 12px 16px;
  text-align: left; width: 100%; margin-bottom: 20px;
}
.rb-success-actions {
  display: flex; flex-direction: column; gap: 10px; width: 100%; margin-bottom: 16px;
}
.rb-success-payment-note {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: #94a3b8;
}
.rb-booth-banner {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fefce8; border: 1.5px solid #fde68a;
  border-radius: 10px; padding: 12px 14px; margin-bottom: 16px;
  text-align: left; font-size: 0.85rem; color: #92400e;
  width: 100%;
}
.rb-booth-banner strong { display: block; font-weight: 700; margin-bottom: 2px; }

/* ---- Modal responsive: small laptop (max-height) ---- */
@media (max-height: 750px) and (min-width: 640px) {
  .rb-modal { padding: 6px 16px; }
  .rb-modal__inner { max-height: calc(100vh - 12px); }
  .rb-results-header, .rb-form-header { padding: 10px 14px; }
  .rb-results-body { padding: 8px 12px 16px; gap: 8px; }
  .rb-op-card__summary { padding: 12px 14px; }
  .rb-op-card__slots { padding: 10px 14px 8px; }
  .rb-op-card__book-row { padding: 10px 14px 12px; }
  .rb-form-body { padding: 12px; gap: 12px; }
  .rb-form-footer { padding: 10px 14px; }
  .rb-ticket-card__route { padding: 12px 14px; }
  .rb-ticket-card__meta { padding: 10px 14px; gap: 10px; }
  .rb-price-card { padding: 10px 14px; }
  .rb-section { padding: 12px; }
  .rb-cta-btn { padding: 10px 20px; }
}

/* ---- Mobile: operator card ---- */
@media (max-width: 480px) {
  .rb-op-card__top { flex-wrap: wrap; }
  .rb-op-card__price { width: 100%; text-align: left; display: flex; align-items: center; gap: 6px; }
  .rb-op-card__price-from { font-size: 0.75rem; }
  .rb-field-row { flex-direction: column; gap: 8px; }
  .rb-ticket-card__route { padding: 14px 12px; }
  .rb-ticket-card__port-time { font-size: 1.2rem; }
}



.booking-modal {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  animation: slide-up 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: thin;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 28px 0;
  margin-bottom: 24px;
}
.modal-header h2 { font-size: 1.5rem; color: var(--ocean); }
.modal-close-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  border: none;
}
.modal-close-btn:hover { background: var(--border); color: var(--text); }

.modal-body { padding: 0 28px 28px; }

/* Progress Steps */
.booking-progress {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.progress-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: all var(--transition);
}
.progress-step.active .progress-step-num,
.progress-step.done .progress-step-num {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--white);
}
.progress-step-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.progress-step.active .progress-step-label { color: var(--sky); }
.progress-connector { flex: 1; height: 1px; background: var(--border); margin: 0 8px; }
.progress-connector.done { background: var(--sky); }

/* Modal Steps */
.modal-step { display: none; }
.modal-step.active { display: block; }

.modal-section {
  background: var(--light);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.modal-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Route Summary */
.route-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ocean);
}
.route-summary-sep { color: var(--sky); font-size: 1.2rem; }
.route-summary-time { margin-left: auto; font-size: 0.82rem; color: var(--muted); font-weight: 400; font-family: 'DM Sans', sans-serif; }

/* Time Slots */
.time-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.time-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.time-slot:hover { border-color: var(--sky); }
.time-slot.selected { border-color: var(--sky); background: rgba(26,158,206,0.05); }
.time-slot input { display: none; }
.slot-time { font-weight: 700; color: var(--ocean); font-size: 0.95rem; }
.slot-label { font-size: 0.75rem; color: var(--muted); }
.slot-seats { margin-left: auto; font-size: 0.72rem; color: var(--success); font-weight: 600; }
.slot-seats.limited { color: var(--danger); }

/* Add-on cards in modal */
.addon-options { display: flex; flex-direction: column; gap: 10px; }
.addon-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition);
  background: var(--white);
}
.addon-option.selected {
  border-color: var(--sky);
  background: rgba(26,158,206,0.04);
}
.addon-option-emoji { font-size: 1.5rem; flex-shrink: 0; }
.addon-option-info { flex: 1; min-width: 0; }
.addon-option-name { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.addon-option-desc { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* Qty wrap: price label above, stepper below */
.addon-qty-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.addon-option-price {
  font-weight: 700;
  color: var(--sky);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* +/- stepper */
.addon-qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.addon-qty-btn {
  width: 30px; height: 30px;
  background: var(--light);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ocean);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.addon-qty-btn:hover:not(:disabled) { background: #dbeafe; color: var(--sky); }
.addon-qty-btn:disabled { color: #cbd5e1; cursor: not-allowed; background: var(--light); }
.addon-qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ocean);
  padding: 0 4px;
  user-select: none;
}
.addon-option.selected .addon-qty-stepper { border-color: var(--sky); }
.addon-option.selected .addon-qty-val { color: var(--sky); }

/* Trip type tabs */
.trip-type-tabs {
  display: flex;
  gap: 10px;
}
.trip-type-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
  position: relative;
}
.trip-type-tab:hover { border-color: var(--sky); }
.trip-type-tab.active {
  border-color: var(--sky);
  background: rgba(26,158,206,0.06);
}
.trip-type-icon {
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ocean);
}
.trip-type-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.trip-type-tab.active .trip-type-icon,
.trip-type-tab.active .trip-type-label { color: var(--sky); }
.trip-type-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  background: var(--sky);
  padding: 1px 6px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Passenger form */
.passenger-form { display: flex; flex-direction: column; gap: 14px; }

/* Price Summary */
.price-breakdown {
  background: var(--ocean);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.price-item:last-child { margin-bottom: 0; }
.price-divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 12px 0; }
.price-total { font-size: 1.1rem; font-weight: 700; color: var(--white); }

/* Payment section */
.payment-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.payment-method {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.payment-method:hover, .payment-method.selected { border-color: var(--sky); background: rgba(26,158,206,0.04); }
.payment-method-icon { font-size: 1.4rem; display: block; margin-bottom: 4px; }
.payment-method-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); }

/* Booking nav buttons */
.modal-footer {
  padding: 0 28px 28px;
  display: flex;
  gap: 12px;
}

/* Success Screen */
.booking-success {
  display: none;
  text-align: center;
  padding: 40px 28px;
}
.success-icon-wrap {
  width: 80px; height: 80px;
  background: rgba(39,174,96,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}
.booking-success h3 { font-size: 1.6rem; color: var(--ocean); margin-bottom: 12px; }
.booking-success p { color: var(--muted); margin-bottom: 24px; }
.ticket-reference {
  background: var(--light);
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 14px 22px;
  margin-bottom: 22px;
  display: inline-block;
}
.ticket-reference-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.ticket-reference-code { font-family: 'Sora', 'DM Sans', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--ocean); letter-spacing: 0.06em; }

/* ============================================
   FOOTER
   ============================================ */
#site-footer { background: var(--deep); border-top: 1px solid rgba(255,255,255,0.06); }

.footer-main { padding: clamp(48px, 6vw, 72px) 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.86rem;
  line-height: 1.7;
  margin: 14px 0 22px;
}

.footer-contact-links { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.84rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact-link:hover { color: rgba(255,255,255,0.9); }
.footer-contact-icon { font-size: 0.88rem; flex-shrink: 0; }

.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul li a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.84rem;
  margin-bottom: 9px;
  transition: color var(--transition);
  padding: 2px 0;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }

.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   ADMIN PANEL STYLES
   ============================================ */
.admin-wrap { min-height: 100vh; background: #f1f5f9; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .booking-grid { grid-template-columns: 1fr 1fr; }
  .sv-widget { max-width: 100%; }
  .sv-widget__row2 { flex-wrap: wrap; }
  .sv-widget__cell--date, .sv-widget__cell--return { flex: 1 1 140px; }
  .vip-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #primary-nav, .header-phone { display: none; }
  .mobile-toggle { display: flex; }
  .booking-grid { grid-template-columns: 1fr; }
  .sv-widget { max-width: 100%; }
  .sv-widget__route-row { flex-direction: column; }
  .sv-widget__port--from { border-right: none; border-bottom: 1.5px solid #f0f2f5; }
  .sv-widget__swap-col { position: static; transform: none; display: flex; justify-content: center; padding: 6px 0; border-bottom: 1.5px solid #f0f2f5; }
  .sv-widget__row2 { flex-wrap: wrap; gap: 8px; }
  .sv-widget__cell--date, .sv-widget__cell--return, .sv-widget__cell--pax { flex: 1 1 calc(50% - 4px); }
  .sv-widget__cell--child { flex: 1 1 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-connector { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .routes-header { flex-direction: column; align-items: flex-start; }
  .time-slots { grid-template-columns: 1fr; }
  .modal-footer { flex-direction: column; }
  .vip-images { height: auto; grid-template-rows: auto; }
  .vip-img:first-child { grid-row: span 1; height: 200px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hero-stat { min-width: 80px; }
  .widget-addon-list { flex-direction: column; }
  .widget-addon-item { min-width: auto; }
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 20px;
  animation: slide-down 0.25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
#mobile-menu.open { display: block; }
#mobile-menu ul { list-style: none; }
#mobile-menu ul li a {
  display: block;
  padding: 11px 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
#mobile-menu ul li a:hover { color: var(--ocean); }
#mobile-menu .btn { margin-top: 14px; width: 100%; justify-content: center; }

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Print styles */
@media print {
  #site-header, #site-footer, .booking-widget, .modal-backdrop { display: none !important; }
}

/* ============================================
   MULTI-COMPANY BOOKING -- v2.0
   ============================================ */

/* -- Company badge on route cards -- */
.route-company-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.route-company-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.route-company-name { color: inherit; }
.route-company-badge {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* -- Company selector cards (modal step 1) -- */
.company-select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.company-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.company-option::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--company-color, var(--ocean));
  opacity: 0;
  transition: opacity 0.2s;
}
.company-option:hover {
  border-color: var(--company-color, var(--ocean));
  background: #f8fbff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.company-option.selected {
  border-color: var(--company-color, var(--ocean));
  background: #f0f8ff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--company-color, var(--ocean)) 15%, transparent);
}
.company-option.selected::before { opacity: 1; }

.company-option-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
}
.company-option-info { flex: 1; min-width: 0; }
.company-option-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.company-option-desc {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-option-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.company-option-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--company-color, var(--ocean));
}
.company-option-duration {
  font-size: 0.75rem;
  color: var(--muted);
}
.company-badge-pill {
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--company-color, var(--ocean));
  color: white;
  white-space: nowrap;
}
.company-option-check {
  width: 22px; height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
  transition: all 0.2s;
}
.company-option.selected .company-option-check {
  background: var(--company-color, var(--ocean));
  border-color: var(--company-color, var(--ocean));
}

/* -- Progress step for company -- */
.booking-progress .progress-step[data-step="1"] .progress-step-label { font-size: 0.68rem; }

/* -- Company summary in modal steps -- */
.company-summary-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--light);
  font-size: 0.83rem;
  margin-bottom: 14px;
}
.company-summary-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.company-summary-name { font-weight: 700; color: var(--dark); }
.company-summary-price { margin-left: auto; font-weight: 600; color: var(--ocean); }

/* -- Routes page: company filter & grouping -- */
.company-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.company-filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: white;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted);
}
.company-filter-btn:hover,
.company-filter-btn.active {
  border-color: var(--ocean);
  color: var(--ocean);
  background: #f0f8ff;
}
.company-filter-btn.active {
  background: var(--ocean);
  color: white;
}

/* -- Route card: "compare" label when same route, multiple companies -- */
.route-card-compare-note {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.04em;
}

/* -- No-company notice on widget -- */
.widget-no-match {
  padding: 16px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #795548;
  text-align: center;
  display: none;
}

/* -- Selected company badge in step summary -- */
#modal-company-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  margin-top: 6px;
}

/* -- Route card pricing when price varies -- */
.route-price-from { font-size: 0.7rem; color: var(--muted); display: block; margin-bottom: 1px; }


/* ============================================================
   ABA PAYWAY -- v3.0
   ============================================================ */

/* PayWay button */
#step5PayWayBtn {
  background: linear-gradient(135deg, #c8102e, #a00020) !important;
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
#step5PayWayBtn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,16,46,0.35); }
#step5PayWayBtn:active { transform: translateY(0); }
#step5PayWayBtn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* PayWay iframe container */
#payway-iframe {
  border: none;
  border-radius: 12px;
  background: #f8fafc;
  min-height: 460px;
}

/* Loading dots animation */
.loading-dots { animation: pulse-opacity 1.2s ease infinite; }
@keyframes pulse-opacity { 0%,100%{opacity:0.5} 50%{opacity:1} }

/* PayWay screen header */
#bookingPayWay .modal-header {
  border-bottom: 1px solid var(--border);
}

/* Company select -- multi-company */
.company-select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.company-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  position: relative;
}
.company-option::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--company-color, var(--ocean));
  border-radius: 14px 0 0 14px;
  opacity: 0;
  transition: opacity 0.2s;
}
.company-option:hover { border-color: var(--company-color, var(--ocean)); background: #f8fbff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.company-option.selected { border-color: var(--company-color, var(--ocean)); background: #f0f8ff; }
.company-option.selected::before { opacity: 1; }
.company-option-logo {
  width: 44px; height: 44px; border-radius: 10px; object-fit: contain;
  background: var(--light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: white;
}
.company-option-info { flex: 1; min-width: 0; }
.company-option-name  { font-weight: 700; font-size: 0.95rem; color: var(--dark); margin-bottom: 2px; }
.company-option-desc  { font-size: 0.78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-option-meta  { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.company-option-price { font-size: 1.1rem; font-weight: 800; }
.company-option-duration { font-size: 0.75rem; color: var(--muted); }
.company-option-check {
  width: 22px; height: 22px; border: 2px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: white; flex-shrink: 0; transition: all 0.2s;
}
.company-option.selected .company-option-check {
  background: var(--company-color, var(--ocean));
  border-color: var(--company-color, var(--ocean));
}
.company-badge-pill {
  font-size: 0.68rem; padding: 2px 8px; border-radius: 20px;
  font-weight: 700; color: white; white-space: nowrap;
  display: inline-block; margin-top: 4px;
}

/* Company summary bar in steps 2-4 */
.company-summary-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--light); font-size: 0.83rem; margin-bottom: 14px;
}
.company-summary-dot  { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.company-summary-name { font-weight: 700; color: var(--dark); }
.company-summary-price{ font-weight: 600; color: var(--ocean); }

/* Route card company branding */
.route-company-bar { display:flex;align-items:center;gap:8px;padding:8px 16px 0;font-size:0.78rem;font-weight:600;color:var(--muted); }
.route-company-dot  { width:8px;height:8px;border-radius:50%;flex-shrink:0; }
.route-company-badge{ margin-left:auto;font-size:0.7rem;padding:2px 7px;border-radius:20px;font-weight:700; }
.route-price-from   { font-size:0.7rem;color:var(--muted);display:block;margin-bottom:1px; }

/* Company filter bar (routes page) */
.company-filter-bar { display:flex;gap:8px;flex-wrap:wrap;align-items:center; }
.company-filter-btn {
  padding:6px 14px;border-radius:20px;border:2px solid var(--border);
  background:white;font-size:0.82rem;font-weight:600;cursor:pointer;transition:all 0.2s;color:var(--muted);
}
.company-filter-btn:hover { border-color:var(--ocean);color:var(--ocean);background:#f0f8ff; }
.company-filter-btn.active { background:var(--ocean);color:white;border-color:var(--ocean); }
.route-card-compare-note {
  position:absolute;top:10px;left:10px;background:rgba(0,0,0,0.55);color:white;
  font-size:0.7rem;font-weight:700;padding:3px 8px;border-radius:6px;backdrop-filter:blur(4px);
}

/* Responsive adjustments */
@media (max-width:480px) {
  .company-option { flex-wrap:wrap; gap:10px; }
  .company-option-meta { flex-direction:row; align-items:center; }
  #payway-iframe { min-height:380px; }
}

/* ============================================================
   PAYMENT -- STEP 5
   ============================================================ */

/* -- List container */
.pm-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 4px;
}

/* -- Each row */
.pm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid #e2e8f0;
  background: white;
  user-select: none;
}
.pm-item:last-child { border-bottom: none; }
.pm-item:hover { background: #f8fafc; }
.pm-item:has(.pm-radio-input:checked) { background: #f0f7ff; }

/* Booth option subtle tint */
.pm-item--booth:has(.pm-radio-input:checked) { background: #f0fdf4; }

/* Hidden native radio */
.pm-radio-input { display: none; }

/* Custom radio circle */
.pm-check {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.12s;
}
.pm-item:has(.pm-radio-input:checked) .pm-check {
  border-color: #0d6efd;
}
.pm-item:has(.pm-radio-input:checked) .pm-check::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: #0d6efd;
  border-radius: 50%;
}
.pm-item--booth:has(.pm-radio-input:checked) .pm-check {
  border-color: #15803d;
}
.pm-item--booth:has(.pm-radio-input:checked) .pm-check::after {
  background: #15803d;
}

/* Text block */
.pm-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.pm-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}
.pm-item-desc {
  font-size: 0.73rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* Logo group */
.pm-item-logos {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.pm-item-logos svg {
  height: 22px;
  width: auto;
  display: block;
  border-radius: 3px;
}

/* Divider + privacy */
.pm-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 18px 0 14px;
}
.pm-privacy {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 18px;
}
.pm-privacy a {
  color: var(--sky);
  text-decoration: none;
}
.pm-privacy a:hover { text-decoration: underline; }

/* Place Order button */
.pm-place-order {
  background: #16a34a !important;
  color: white !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 16px !important;
  border-radius: 8px !important;
  justify-content: center !important;
  letter-spacing: 0.01em !important;
  transition: background 0.15s !important;
}
.pm-place-order:hover { background: #15803d !important; }
.pm-place-order:disabled {
  background: #86efac !important;
  cursor: not-allowed !important;
}

/* Legacy pm-logo classes kept for compatibility */
.pm-logos { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.pm-logo  { font-size: 0.62rem; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.pm-logo--visa  { background: #1a1f71; color: white; font-style: italic; }
.pm-logo--khqr  { background: #004990; color: white; }



/* ============================================================
   BLOG — BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 0;
  margin-bottom: 20px;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb-item { display: flex; align-items: center; }
.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sky);
  transition: color var(--transition);
}
.breadcrumb-link:hover { color: var(--ocean); }
.breadcrumb-sep {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.5;
  user-select: none;
}
.breadcrumb-current {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Light breadcrumb (on dark hero) */
.breadcrumb--light .breadcrumb-link { color: rgba(255,255,255,0.85); }
.breadcrumb--light .breadcrumb-link:hover { color: #fff; }
.breadcrumb--light .breadcrumb-sep { color: rgba(255,255,255,0.4); }
.breadcrumb--light .breadcrumb-current { color: rgba(255,255,255,0.6); }

/* ============================================================
   BLOG — SHARED META ELEMENTS
   ============================================================ */
.post-meta-date,
.post-read-time {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.post-meta-dot {
  color: var(--muted);
  opacity: 0.4;
  font-size: 0.7rem;
  user-select: none;
}

/* Category Badges */
.post-cat-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(43,124,232,0.1);
  color: var(--sky);
  transition: background var(--transition), color var(--transition);
}
.post-cat-badge:hover { background: var(--sky); color: #fff; }
.post-cat-badge--featured { background: rgba(43,124,232,0.15); }
.post-cat-badge--overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ocean);
  color: #fff;
  z-index: 2;
}
.post-cat-badge--hero {
  background: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
}
.post-cat-badge--hero:hover { background: rgba(255,255,255,0.3); color: #fff; }

/* Author mini */
.post-author-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.post-author-avatar--sm { width: 28px; height: 28px; }
.post-author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.post-author-name:hover { color: var(--sky); }
.post-author-name--sm { font-size: 0.76rem; }
.post-author-mini--hero .post-author-name--hero {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.post-author-mini--hero .post-author-name--hero:hover { color: var(--gold); }


/* ============================================================
   BLOG ARCHIVE — HERO BANNER
   ============================================================ */
.blog-hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep) 0%, var(--ocean) 60%, var(--sky) 100%);
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}
/* Animated wave shapes */
.blog-hero-ocean { position: absolute; inset: 0; pointer-events: none; }
.blog-hero-wave {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}
.blog-hero-wave--1 {
  width: 120%;
  height: 320px;
  bottom: -160px;
  left: -10%;
  background: #fff;
  animation: waveFloat 8s ease-in-out infinite;
}
.blog-hero-wave--2 {
  width: 100%;
  height: 240px;
  bottom: -100px;
  left: -5%;
  background: var(--aqua);
  opacity: 0.12;
  animation: waveFloat 10s ease-in-out infinite reverse;
}
.blog-hero-wave--3 {
  width: 80%;
  height: 180px;
  bottom: -60px;
  right: 0;
  background: var(--gold);
  opacity: 0.06;
  animation: waveFloat 12s ease-in-out infinite;
}
@keyframes waveFloat {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-20px) scaleX(1.03); }
}
.blog-hero-inner { position: relative; z-index: 1; }
.blog-hero-content { margin-top: 12px; }
.blog-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin: 8px 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.blog-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   BLOG ARCHIVE — LAYOUT
   ============================================================ */
.blog-layout { background: var(--light); }
.blog-layout-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

/* ============================================================
   BLOG ARCHIVE — FEATURED POST
   ============================================================ */
.blog-post-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-post-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-post-featured-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.blog-post-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-post-featured:hover .blog-post-featured-img { transform: scale(1.04); }
.blog-post-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(11,61,145,0.12));
}
.blog-post-no-img {
  background: linear-gradient(135deg, var(--ocean), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-post-featured-body {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.blog-post-featured-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.blog-post-featured-title a { color: var(--text); transition: color var(--transition); }
.blog-post-featured-title a:hover { color: var(--sky); }
.blog-post-featured-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.blog-post-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* ============================================================
   BLOG ARCHIVE — POST GRID
   ============================================================ */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Blog card */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}
.blog-card-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-no-img {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--sky) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: rgba(255,255,255,0.5);
}
.blog-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}
.blog-card-title a { color: var(--text); transition: color var(--transition); }
.blog-card-title a:hover { color: var(--sky); }
.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-card-read-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sky);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition), gap var(--transition);
}
.blog-card-read-link:hover { color: var(--ocean); gap: 8px; }

/* Related posts grid (3 col) */
.blog-posts-grid--related { grid-template-columns: repeat(3, 1fr); }


/* ============================================================
   BLOG ARCHIVE — PAGINATION
   ============================================================ */
.blog-pagination { margin-top: 48px; }
.blog-pagination-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.blog-page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-page-number:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.blog-page-number.current { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.blog-page-number.dots { border: none; background: none; }

/* No posts state */
.blog-no-posts {
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.blog-no-posts-icon { font-size: 3rem; margin-bottom: 20px; }
.blog-no-posts h2 { margin-bottom: 12px; }
.blog-no-posts p { margin-bottom: 28px; }

/* ============================================================
   BLOG — SIDEBAR
   ============================================================ */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.sidebar-widget-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ocean);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

/* Search */
.sidebar-search {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition);
}
.sidebar-search:focus-within { border-color: var(--sky); }
.sidebar-search-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-family: inherit;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  min-width: 0;
}
.sidebar-search-btn {
  padding: 10px 14px;
  background: var(--ocean);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.sidebar-search-btn:hover { background: var(--sky); }

/* Categories */
.sidebar-cat-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-cat-item {}
.sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.sidebar-cat-link:hover { background: var(--light); color: var(--sky); }
.sidebar-cat-item--active .sidebar-cat-link { background: rgba(43,124,232,0.09); color: var(--sky); font-weight: 700; }
.sidebar-cat-count {
  font-size: 0.72rem;
  background: var(--light);
  border-radius: 100px;
  padding: 2px 8px;
  color: var(--muted);
  font-weight: 600;
}
.sidebar-cat-item--active .sidebar-cat-count { background: rgba(43,124,232,0.15); color: var(--sky); }

/* Recent Posts */
.sidebar-recent-list { display: flex; flex-direction: column; gap: 14px; }
.sidebar-recent-item {}
.sidebar-recent-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: opacity var(--transition);
}
.sidebar-recent-link:hover { opacity: 0.8; }
.sidebar-recent-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light);
}
.sidebar-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-recent-no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--ocean), var(--sky));
}
.sidebar-recent-info { display: flex; flex-direction: column; gap: 4px; }
.sidebar-recent-title {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-recent-date { font-size: 0.74rem; color: var(--muted); }

/* Tag Cloud */
.sidebar-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--light);
  color: var(--muted);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.sidebar-tag:hover,
.sidebar-tag--active { background: var(--ocean); color: #fff; border-color: var(--ocean); }

/* Sidebar CTA */
.sidebar-cta-widget {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--sky) 100%) !important;
  border: none !important;
  text-align: center;
}
.sidebar-cta-icon { font-size: 2.4rem; margin-bottom: 10px; display: block; }
.sidebar-cta-widget h4 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.sidebar-cta-widget p { color: rgba(255,255,255,0.8); font-size: 0.83rem; margin-bottom: 16px; }
.sidebar-cta-widget .btn-primary { background: #fff; color: var(--ocean); }
.sidebar-cta-widget .btn-primary:hover { background: var(--gold); color: var(--deep); }

/* Post info sidebar widget */
.sidebar-post-info { display: flex; flex-direction: column; gap: 14px; }
.sidebar-post-info-row { display: flex; align-items: flex-start; gap: 12px; }
.sidebar-post-info-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.sidebar-post-info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  font-weight: 600;
}
.sidebar-post-info-row strong { font-size: 0.84rem; color: var(--text); }
.sidebar-post-info-row strong a { color: var(--sky); transition: color var(--transition); }
.sidebar-post-info-row strong a:hover { color: var(--ocean); }

/* TOC */
.sidebar-toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-link {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
  padding: 5px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all var(--transition);
  font-weight: 500;
}
.toc-link--sub { padding-left: 20px; font-weight: 400; color: var(--muted); }
.toc-link:hover { background: var(--light); color: var(--sky); border-left-color: var(--sky); }


/* ============================================================
   SINGLE POST — HERO
   ============================================================ */
.post-hero {
  position: relative;
  min-height: clamp(340px, 50vw, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.post-hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-no-img {
  background: linear-gradient(135deg, var(--deep) 0%, var(--ocean) 50%, var(--sky) 100%);
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 40, 94, 0.90) 0%,
    rgba(7, 40, 94, 0.55) 40%,
    rgba(7, 40, 94, 0.15) 100%
  );
}
.post-hero-content-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.post-hero-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.post-hero-title {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  max-width: 800px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.post-hero-meta { margin-top: 0; }
.post-hero-meta-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}


/* ============================================================
   SINGLE POST — LAYOUT
   ============================================================ */
.post-layout { background: var(--light); }
.post-layout-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

/* ============================================================
   SINGLE POST — ARTICLE CONTENT
   ============================================================ */
.post-article { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.post-content {
  padding: clamp(28px, 4vw, 48px);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.post-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2em 0 0.6em;
  color: var(--ocean);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}
.post-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.6em 0 0.5em;
  color: var(--text);
}
.post-content p { margin-bottom: 1.25rem; line-height: 1.8; color: var(--muted); }
.post-content a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--ocean); }
.post-content ul, .post-content ol { padding-left: 1.5em; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: 0.4em; color: var(--muted); line-height: 1.7; }
.post-content blockquote {
  border-left: 4px solid var(--sky);
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  background: rgba(43,124,232,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ocean);
}
.post-content blockquote p { color: var(--ocean); margin: 0; }
.post-content img {
  border-radius: var(--radius);
  margin: 1.5rem auto;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--shadow);
}
.post-content figure { margin: 2rem 0; }
.post-content figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.post-content th {
  background: var(--ocean);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  text-align: left;
}
.post-content td {
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.post-content tr:nth-child(even) td { background: var(--light); }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.post-content code {
  background: var(--light);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--ocean);
  font-family: 'Courier New', monospace;
}
.post-content pre {
  background: var(--deep);
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}
.post-content pre code { background: none; color: inherit; padding: 0; }

/* Tags */
.post-tags {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.post-tags-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 4px;
  flex-shrink: 0;
}
.post-tags-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Share bar */
.post-share {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.post-share-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  flex-shrink: 0;
}
.post-share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.post-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  color: #fff;
}
.post-share-btn--fb { background: #1877f2; }
.post-share-btn--fb:hover { background: #1461d6; }
.post-share-btn--tw { background: #000; }
.post-share-btn--tw:hover { background: #333; }
.post-share-btn--wa { background: #25d366; }
.post-share-btn--wa:hover { background: #1da851; }

/* Post Navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px clamp(20px, 3vw, 36px);
  background: var(--white);
  transition: background var(--transition);
}
.post-nav-link:hover { background: var(--light); }
.post-nav-link--next { text-align: right; }
.post-nav-link--empty { background: var(--light); }
.post-nav-dir {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sky);
}
.post-nav-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Author Box */
.post-author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 48px);
  background: var(--light);
  border-top: 1px solid var(--border);
}
.post-author-box-avatar { flex-shrink: 0; }
.post-author-box-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.post-author-box-info { display: flex; flex-direction: column; gap: 6px; }
.post-author-box-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}
.post-author-box-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ocean);
  transition: color var(--transition);
}
.post-author-box-name:hover { color: var(--sky); }
.post-author-box-bio { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.65; }
.post-author-box-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sky);
  transition: color var(--transition);
  width: fit-content;
}
.post-author-box-more:hover { color: var(--ocean); }

/* Comments */
.post-comments-wrap {
  padding: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--border);
}
.post-comments-wrap .comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.post-comments-wrap .comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.post-comments-wrap .comment-author b { font-size: 0.9rem; }
.post-comments-wrap .comment-content p { font-size: 0.88rem; }
.post-comments-wrap .comment-form label { font-size: 0.82rem; font-weight: 600; display: block; margin-bottom: 5px; }
.post-comments-wrap .comment-form input,
.post-comments-wrap .comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color var(--transition);
  outline: none;
  margin-bottom: 12px;
}
.post-comments-wrap .comment-form input:focus,
.post-comments-wrap .comment-form textarea:focus { border-color: var(--sky); }
.post-comments-wrap .comment-form textarea { resize: vertical; min-height: 120px; }
.post-comments-wrap .comment-form #submit {
  background: var(--ocean);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}
.post-comments-wrap .comment-form #submit:hover { background: var(--sky); }

/* ============================================================
   RELATED POSTS SECTION
   ============================================================ */
.related-posts { background: var(--white); border-top: 1px solid var(--border); }

/* ============================================================
   RESPONSIVE — BLOG
   ============================================================ */
@media (max-width: 1024px) {
  .blog-layout-inner,
  .post-layout-inner { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-posts-grid--related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-post-featured { grid-template-columns: 1fr; }
  .blog-post-featured-img-wrap { aspect-ratio: 16/9; }
  .blog-posts-grid { grid-template-columns: 1fr; }
  .blog-posts-grid--related { grid-template-columns: 1fr; }
  .post-hero { min-height: 280px; }
  .post-hero-title { font-size: 1.5rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link--next { text-align: left; }
  .post-author-box { flex-direction: column; }
  .post-share { flex-direction: column; align-items: flex-start; }
  .breadcrumb-current { max-width: 160px; }
}

@media (max-width: 480px) {
  .blog-posts-grid--related { grid-template-columns: 1fr; }
  .post-share-btns { gap: 8px; }
  .post-share-btn { font-size: 0.72rem; padding: 6px 10px; }
}
