.tbe-public,
.tbe-public * {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  box-sizing: border-box;
}

.tbe-public {
  --tbe-primary: #0a4d33;
  --tbe-primary-dark: #063825;
  --tbe-primary-light: #e8f5ef;
  --tbe-accent: #1a7a52;
  --tbe-text: #14201a;
  --tbe-text-muted: #5c6b63;
  --tbe-border: #e2ebe6;
  --tbe-surface: #ffffff;
  --tbe-surface-muted: #f5f9f7;
  --tbe-radius: 14px;
  --tbe-shadow: 0 14px 40px rgba(10, 77, 51, 0.08);
  --tbe-gold: #c9a227;
  color: var(--tbe-text);
  line-height: 1.7;
}

body.tbe-modal-open {
  overflow: hidden;
}

/* Theme isolation on tour pages */
body.tbe-public .tbe-single-tour {
  width: 100%;
}

body.tbe-public .tbe-single-tour article,
body.tbe-public .tbe-single-tour aside,
body.tbe-public .tbe-single-tour section {
  margin: 0;
  float: none;
}

body.tbe-public .tbe-single-tour img {
  max-width: 100%;
  height: auto;
}

body.tbe-public .tbe-single-tour a.tbe-btn {
  text-decoration: none;
}

.tbe-archive {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.tbe-archive__header {
  margin-bottom: 28px;
  text-align: center;
}

.tbe-archive__title {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
}

.tbe-archive__lead {
  margin: 0;
  color: #6b7280;
}

.tbe-catalog__grid {
  display: grid;
  gap: 20px;
}

.tbe-catalog__grid--1 { grid-template-columns: 1fr; }
.tbe-catalog__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tbe-catalog__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tbe-catalog__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .tbe-catalog__grid--3,
  .tbe-catalog__grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .tbe-catalog__grid--2,
  .tbe-catalog__grid--3,
  .tbe-catalog__grid--4 {
    grid-template-columns: 1fr;
  }
}

.tbe-tour-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tbe-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.tbe-tour-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}

.tbe-tour-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tbe-tour-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: #9ca3af;
  font-weight: 600;
}

.tbe-tour-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ef4444;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.tbe-tour-card__body {
  padding: 18px;
}

.tbe-tour-card__destination {
  display: inline-block;
  margin-bottom: 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
}

.tbe-tour-card__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.5;
}

.tbe-tour-card__title a {
  color: inherit;
  text-decoration: none;
}

.tbe-tour-card__meta {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #6b7280;
  font-size: 13px;
}

.tbe-tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tbe-tour-card__price {
  font-size: 1rem;
  color: #111827;
}

.tbe-single-tour {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 56px;
}

/* Breadcrumb */
.tbe-single__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--tbe-text-muted);
}

.tbe-single__breadcrumb a {
  color: var(--tbe-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tbe-single__breadcrumb a:hover {
  color: var(--tbe-primary-dark);
  text-decoration: underline;
}

.tbe-single__breadcrumb-sep {
  color: #d1d5db;
  user-select: none;
}

.tbe-single__breadcrumb-current {
  color: var(--tbe-text);
  font-weight: 500;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero */
.tbe-single__hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #0ea5e9 100%);
  min-height: 200px;
}

.tbe-single__hero--has-image {
  min-height: 320px;
}

.tbe-single__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tbe-single__hero--has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.45) 45%,
    rgba(15, 23, 42, 0.15) 100%
  );
  pointer-events: none;
}

.tbe-single__hero-content {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  color: #fff;
}

@media (min-width: 768px) {
  .tbe-single__hero-content {
    padding: 48px 40px;
  }

  .tbe-single__hero--has-image {
    min-height: 400px;
  }

  .tbe-single__hero--has-image .tbe-single__hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
  }
}

.tbe-single__destination {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.tbe-single__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.tbe-single__hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.tbe-single__hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tbe-single__hero-meta svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.tbe-single__hero-meta--available {
  color: #86efac;
  font-weight: 600;
}

.tbe-single__hero-meta--soldout {
  color: #fca5a5;
  font-weight: 600;
}

/* Layout */
.tbe-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 960px) {
  .tbe-single__layout {
    grid-template-columns: 1fr;
  }

  .tbe-single__sidebar {
    order: -1;
  }
}

/* Sections */
.tbe-single__section {
  margin-bottom: 36px;
}

.tbe-single__section:last-child {
  margin-bottom: 0;
}

.tbe-single__section-title {
  margin: 20px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tbe-primary-light);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tbe-text);
}

/* Fact cards */
.tbe-single__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.tbe-fact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--tbe-surface);
  border: 1px solid var(--tbe-border);
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tbe-fact-card:hover {
  border-color: #b7d9c8;
  box-shadow: 0 4px 16px rgba(10, 77, 51, 0.08);
}

.tbe-fact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--tbe-primary-light);
  color: var(--tbe-primary);
  border-radius: 12px;
}

.tbe-fact-card__label {
  display: block;
  color: var(--tbe-text-muted);
  font-size: 12px;
  margin-bottom: 2px;
  font-weight: 700;
}

.tbe-fact-card__value {
  display: block;
  font-size: 14px;
  color: var(--tbe-text);
  line-height: 1.4;
}

/* Prose content */
.tbe-prose {
  background: var(--tbe-surface);
  border: 1px solid var(--tbe-border);
  border-radius: var(--tbe-radius);
  padding: 24px 28px;
}

.tbe-prose p {
  margin: 0 0 1em;
}

.tbe-prose p:last-child {
  margin-bottom: 0;
}

.tbe-prose h2,
.tbe-prose h3,
.tbe-prose h4 {
  margin: 1.5em 0 0.6em;
  line-height: 1.4;
  color: var(--tbe-text);
}

.tbe-prose h2:first-child,
.tbe-prose h3:first-child,
.tbe-prose h4:first-child {
  margin-top: 0;
}

.tbe-prose ul,
.tbe-prose ol {
  margin: 0 0 1em;
  padding-right: 1.4em;
}

.tbe-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1em 0;
}

.tbe-prose a {
  color: var(--tbe-primary);
}

.tbe-prose blockquote {
  margin: 1em 0;
  padding: 12px 18px;
  border-right: 4px solid var(--tbe-primary);
  background: var(--tbe-surface-muted);
  border-radius: 0 8px 8px 0;
  color: var(--tbe-text-muted);
}

.tbe-single__content {
  margin-bottom: 0;
}

.tbe-single__services {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .tbe-single__services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tbe-box {
  border-radius: var(--tbe-radius);
  padding: 20px 22px;
  height: 100%;
}

.tbe-box h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}

.tbe-box__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--tbe-text);
}

.tbe-box--success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
}

.tbe-box--success h3 {
  color: #047857;
}

.tbe-box--muted {
  background: var(--tbe-surface-muted);
  border: 1px solid var(--tbe-border);
}

.tbe-box--muted h3 {
  color: #4b5563;
}

/* Booking panel */
.tbe-booking-panel {
  position: sticky;
  top: 0px!important;
  background: var(--tbe-surface);
  border: 1px solid var(--tbe-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--tbe-shadow);
}

.tbe-booking-panel__price {
  position: relative;
  margin-bottom: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f3faf6 0%, #e8f5ef 100%);
  border-radius: 14px;
  border: 1px solid #cfe5d9;
}

.tbe-booking-panel__badge {
  position: absolute;
  top: -10px;
  left: 16px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.tbe-booking-panel__price-label {
  display: block;
  color: var(--tbe-text-muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.tbe-booking-panel__price-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--tbe-primary-dark);
  letter-spacing: -0.02em;
}

.tbe-booking-panel__price-old {
  display: block;
  margin-top: 4px;
  color: #9ca3af;
  font-size: 0.9rem;
}

.tbe-booking-panel__price-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--tbe-text-muted);
}

.tbe-booking-panel__heading {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
}

.tbe-booking-panel__lead {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--tbe-text-muted);
  line-height: 1.6;
}

.tbe-auth-panel {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--tbe-border);
  border-radius: 14px;
  background: #f8fafc;
}

.tbe-auth-panel__header {
  margin-bottom: 12px;
}

.tbe-auth-panel__title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
}

.tbe-auth-panel__lead {
  margin: 0;
  font-size: 12px;
  color: var(--tbe-text-muted);
  line-height: 1.6;
}

.tbe-auth-panel__welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tbe-auth-panel__welcome-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.6;
}

.tbe-auth-panel__welcome-text strong {
  font-size: 14px;
  color: var(--tbe-primary-dark);
}

.tbe-auth-panel__logout,
.tbe-auth-panel__link {
  flex-shrink: 0;
  border: none;
  background: none;
  color: var(--tbe-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}

.tbe-auth-panel__logout:hover,
.tbe-auth-panel__link:hover {
  color: var(--tbe-primary-dark);
  text-decoration: underline;
}

.tbe-auth-form {
  margin: 0;
}

.tbe-auth-form p {
  margin: 0 0 12px;
}

.tbe-auth-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
}

.tbe-auth-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.tbe-auth-form__hint {
  font-size: 12px;
  color: var(--tbe-text-muted);
  line-height: 1.6;
}

.tbe-auth-form__actions {
  margin-bottom: 0 !important;
}

.tbe-auth-form--resend {
  margin-top: 8px;
  text-align: center;
}

.tbe-booking-form input[readonly] {
  background: #f3f4f6;
  color: #4b5563;
}

.tbe-booking-panel h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.tbe-booking-form {
  margin: 0;
}

.tbe-booking-form p {
  margin: 0 0 14px;
}

.tbe-booking-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--tbe-text);
}

.tbe-booking-form input,
.tbe-booking-form textarea {
  width: 100%;
  margin-bottom: 0;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tbe-booking-form input:focus,
.tbe-booking-form textarea:focus {
  outline: none;
  border-color: var(--tbe-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.tbe-booking-total {
  padding: 12px 14px;
  background: var(--tbe-surface-muted);
  border-radius: 10px;
  border: 1px solid var(--tbe-border);
  font-size: 14px;
}

.tbe-booking-modal__footer .tbe-booking-total {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 245, 239, 0.95), #fff 62%);
  border-color: #cfe5d9;
}

.tbe-booking-total strong {
  display: block;
  margin-bottom: 4px;
  color: var(--tbe-text-muted);
  font-size: 12px;
}

.tbe-booking-total span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--tbe-primary-dark);
}

.tbe-booking-modal__footer .tbe-booking-total > span {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tbe-accent);
}

.tbe-booking-form .tbe-btn {
  width: 100%;
  margin-top: 4px;
  padding: 14px 20px;
  font-size: 15px;
}

.tbe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.tbe-btn--primary {
  background: linear-gradient(135deg, var(--tbe-primary) 0%, var(--tbe-accent) 100%);
  color: #fff;
  padding: 12px 18px;
  box-shadow: 0 4px 14px rgba(10, 77, 51, 0.28);
}

.tbe-btn--primary:hover {
  background: linear-gradient(135deg, var(--tbe-primary-dark) 0%, var(--tbe-primary) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 77, 51, 0.32);
}

.tbe-btn--outline {
  background: transparent;
  color: var(--tbe-primary);
  border: 2px solid var(--tbe-primary);
  padding: 10px 18px;
}

.tbe-btn--outline:hover {
  background: var(--tbe-primary-light);
  color: var(--tbe-primary-dark);
}

.tbe-btn--block {
  width: 100%;
}

.tbe-btn--sm {
  padding: 8px 14px;
  font-size: 14px;
}

.tbe-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.tbe-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.tbe-notice--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.tbe-notice--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.tbe-notice--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.tbe-empty,
.tbe-pagination {
  text-align: center;
  margin-top: 24px;
}

.tbe-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #2563eb;
}

.tbe-pagination .current {
  background: #2563eb;
  color: #fff;
}

/* Booking confirmation */
.tbe-booking-confirmation {
  padding: 32px 16px 64px;
}

.tbe-confirmation {
  max-width: 880px;
  margin: 0 auto;
}

.tbe-confirmation__hero {
  text-align: center;
  padding: 40px 28px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.tbe-confirmation__hero--success {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fffc 100%);
  border: 1px solid #a7f3d0;
}

.tbe-confirmation__hero--warning {
  background: linear-gradient(180deg, #fffbeb 0%, #fffdf7 100%);
  border: 1px solid #fde68a;
}

.tbe-confirmation__hero--error {
  background: linear-gradient(180deg, #fef2f2 0%, #fffafa 100%);
  border: 1px solid #fecaca;
}

.tbe-confirmation__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.tbe-confirmation__hero--success .tbe-confirmation__icon {
  color: #059669;
}

.tbe-confirmation__hero--warning .tbe-confirmation__icon {
  color: #d97706;
}

.tbe-confirmation__hero--error .tbe-confirmation__icon {
  color: #dc2626;
}

.tbe-confirmation__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
}

.tbe-confirmation__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.tbe-confirmation__hint {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: #64748b;
}

.tbe-confirmation__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.tbe-voucher {
  margin-top: 8px;
}

.tbe-voucher__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.tbe-voucher__title {
  margin: 0;
  font-size: 1.25rem;
  color: #0f172a;
}

.tbe-voucher__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tbe-voucher__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.tbe-voucher__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
}

.tbe-voucher__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tbe-voucher__logo {
  max-height: 52px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.tbe-voucher__brand-label {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}

.tbe-voucher__brand-name {
  display: block;
  font-size: 1.1rem;
}

.tbe-voucher__contract-no {
  text-align: left;
}

.tbe-voucher__contract-no span {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}

.tbe-voucher__contract-no strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.tbe-voucher__tour {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.tbe-voucher__thumb {
  width: 120px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.tbe-voucher__tour-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #0f172a;
}

.tbe-voucher__destination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.tbe-voucher__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
}

.tbe-voucher__fact {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.tbe-voucher__fact:nth-child(odd) {
  border-left: 1px solid #f1f5f9;
}

.tbe-voucher__fact dt {
  margin: 0 0 4px;
  font-size: 12px;
  color: #64748b;
}

.tbe-voucher__fact dd {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}

.tbe-voucher__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 24px;
  background: #f8fafc;
}

.tbe-voucher__qr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbe-voucher__qr img {
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.tbe-voucher__qr p {
  margin: 0;
  max-width: 220px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.tbe-voucher__issued {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 640px) {
  .tbe-voucher__facts {
    grid-template-columns: 1fr;
  }

  .tbe-voucher__fact:nth-child(odd) {
    border-left: none;
  }

  .tbe-voucher__tour {
    flex-direction: column;
  }

  .tbe-voucher__thumb {
    width: 100%;
    height: 160px;
  }
}

@media print {
  body.tbe-booking-confirmation-page .tbe-confirmation__hero,
  body.tbe-booking-confirmation-page .tbe-confirmation__nav,
  body.tbe-booking-confirmation-page .tbe-voucher__toolbar,
  body.tbe-booking-confirmation-page header,
  body.tbe-booking-confirmation-page footer,
  body.tbe-booking-confirmation-page #wpadminbar {
    display: none !important;
  }

  body.tbe-booking-confirmation-page .tbe-booking-confirmation {
    padding: 0;
  }

  body.tbe-booking-confirmation-page .tbe-voucher__card {
    box-shadow: none;
    border: 1px solid #cbd5e1;
  }
}

.tbe-itinerary {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tbe-itinerary__day {
  border: 1px solid var(--tbe-border, #e5e7eb);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
}

.tbe-itinerary__day-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tbe-itinerary__day-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #0d9488;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.tbe-itinerary__slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tbe-itinerary__slot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.tbe-itinerary__time {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 8px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tbe-itinerary__desc,
.tbe-itinerary__content {
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

.tbe-itinerary__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tbe-itinerary__gallery img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
  .tbe-itinerary__slot {
    grid-template-columns: 1fr;
  }
}

.tbe-booking-panel__installment {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 13px;
}

.tbe-single__features {
  display: grid;
  gap: 12px;
}

.tbe-request-form {
  max-width: 520px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}

.tbe-request-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.tbe-request-form input,
.tbe-request-form select,
.tbe-request-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px 10px;
}

.tbe-success {
  color: #047857;
  background: #ecfdf5;
  padding: 8px 10px;
  border-radius: 8px;
}

/* Hotel / accommodation public pages */
.tbe-hotel__lead {
  margin: 0 0 16px;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
}

.tbe-fact-card__value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 78, 216, 0.35);
}

.tbe-fact-card__value a:hover {
  color: var(--tbe-primary);
  border-bottom-color: var(--tbe-primary);
}

.tbe-hotel-facilities__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tbe-hotel-facilities__tab {
  appearance: none;
  border: 1px solid var(--tbe-border);
  background: var(--tbe-surface);
  color: var(--tbe-text-muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.tbe-hotel-facilities__tab:hover {
  border-color: #bfdbfe;
  color: var(--tbe-primary);
}

.tbe-hotel-facilities__tab.is-active {
  background: var(--tbe-primary-light);
  border-color: #93c5fd;
  color: var(--tbe-primary-dark);
}

.tbe-hotel-facilities__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px 14px;
}

.tbe-hotel-facilities__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: var(--tbe-surface-muted);
  border-radius: 12px;
  font-size: 14px;
  color: var(--tbe-text);
}

.tbe-hotel-facilities__list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #059669;
}

.tbe-hotel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.tbe-hotel-gallery__item {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--tbe-surface-muted);
  aspect-ratio: 4 / 3;
}

.tbe-hotel-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.tbe-hotel-gallery__item:hover img {
  transform: scale(1.04);
}

.tbe-hotel-location__address {
  margin: 0 0 14px;
  color: var(--tbe-text-muted);
  line-height: 1.7;
}

.tbe-hotel-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--tbe-border);
  background: var(--tbe-surface-muted);
  aspect-ratio: 16 / 9;
}

.tbe-hotel-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tbe-hotel-location__link {
  margin: 10px 0 0;
  font-size: 13px;
}

.tbe-hotel-location__link a {
  color: var(--tbe-primary);
  text-decoration: none;
}

.tbe-hotel-location__link a:hover {
  text-decoration: underline;
}

.tbe-hotel-panel__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tbe-hotel-panel__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tbe-border);
}

.tbe-hotel-panel__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tbe-hotel-panel__list span {
  font-size: 12px;
  color: var(--tbe-text-muted);
}

.tbe-hotel-panel__list strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--tbe-text);
  line-height: 1.6;
}

.tbe-hotel-panel__list a {
  color: var(--tbe-primary);
  text-decoration: none;
}

.tbe-hotel-panel__list a:hover {
  text-decoration: underline;
}

.tbe-hotel-card {
  background: var(--tbe-surface);
  border: 1px solid var(--tbe-border);
  border-radius: var(--tbe-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tbe-hotel-card:hover {
  border-color: #bfdbfe;
  transform: translateY(-2px);
}

.tbe-hotel-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--tbe-surface-muted);
  overflow: hidden;
}

.tbe-hotel-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tbe-hotel-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--tbe-text-muted);
  font-weight: 600;
}

.tbe-hotel-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.tbe-hotel-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tbe-hotel-card__destination {
  font-size: 12px;
  color: var(--tbe-primary);
  font-weight: 600;
}

.tbe-hotel-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.tbe-hotel-card__title a {
  color: var(--tbe-text);
  text-decoration: none;
}

.tbe-hotel-card__title a:hover {
  color: var(--tbe-primary);
}

.tbe-hotel-card__meta {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--tbe-text-muted);
  font-size: 13px;
}

.tbe-hotel-card__body > .tbe-btn {
  margin-top: auto;
  align-self: flex-start;
}

.tbe-archive__empty {
  text-align: center;
  color: var(--tbe-text-muted);
  padding: 48px 16px;
}

.tbe-archive__pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.tbe-hotel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.88);
  display: grid;
  place-items: center;
  padding: 24px;
}

.tbe-hotel-lightbox[hidden] {
  display: none !important;
}

.tbe-hotel-lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
}

.tbe-hotel-lightbox__close {
  position: absolute;
  top: 18px;
  left: 18px;
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.tbe-lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .tbe-hotel-facilities__list {
    grid-template-columns: 1fr;
  }

  .tbe-hotel-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Tour single: package hotels, date sidebar, booking modal ── */

.tbe-booking-panel {
  position: sticky;
  top: 24px;
}

.tbe-booking-panel--fixed {
  z-index: 40;
}

.tbe-booking-panel--stopped {
  z-index: 20;
}

.tbe-booking-panel__hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--tbe-text-muted);
  line-height: 1.6;
}

.tbe-date-picker {
  margin-bottom: 18px;
}

.tbe-date-picker__list {
  display: grid;
  gap: 10px;
}

.tbe-date-option {
  display: block;
  cursor: pointer;
}

.tbe-date-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tbe-date-option__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--tbe-border);
  border-radius: 12px;
  background: var(--tbe-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tbe-date-option__card strong {
  font-size: 14px;
  color: var(--tbe-text);
}

.tbe-date-option__card span {
  font-size: 12px;
  color: var(--tbe-text-muted);
}

.tbe-date-option input:checked + .tbe-date-option__card {
  border-color: var(--tbe-primary);
  background: var(--tbe-primary-light);
  box-shadow: 0 0 0 1px var(--tbe-primary);
}

.tbe-date-option:hover .tbe-date-option__card {
  border-color: #b7d9c8;
}

.tbe-pkg-hotels {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--tbe-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--tbe-surface);
}

.tbe-pkg-hotel {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 200px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px dashed var(--tbe-border);
  transition: background 0.2s ease;
}

.tbe-pkg-hotel:last-child {
  border-bottom: none;
}

.tbe-pkg-hotel:hover {
  background: var(--tbe-surface-muted);
}

.tbe-pkg-hotel--full {
  opacity: 0.72;
}

.tbe-pkg-hotel__media {
  width: 112px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tbe-surface-muted);
  flex-shrink: 0;
}

.tbe-pkg-hotel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tbe-pkg-hotel__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #9bb5a8;
}

.tbe-pkg-hotel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 4px;
}

.tbe-pkg-hotel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.tbe-pkg-hotel__title a {
  color: inherit;
  text-decoration: none;
}

.tbe-pkg-hotel__title a:hover {
  color: var(--tbe-primary);
}

.tbe-pkg-hotel__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--tbe-gold);
}

.tbe-pkg-hotel__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--tbe-text-muted);
}

.tbe-pkg-hotel__notes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.tbe-pkg-hotel__notes li {
  position: relative;
  padding-right: 14px;
  font-size: 12.5px;
  color: var(--tbe-text-muted);
  line-height: 1.5;
}

.tbe-pkg-hotel__notes li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tbe-accent);
}

.tbe-pkg-hotel__alt {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--tbe-primary);
  /* background: var(--tbe-primary-light); */
  padding: 3px 8px;
  border-radius: 999px;
}

.tbe-pkg-hotel__rates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tbe-pkg-hotel__rate-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--tbe-border);
  background: linear-gradient(180deg, #fff 0%, var(--tbe-surface-muted) 100%);
  font-size: 11px;
  line-height: 1.35;
}

.tbe-pkg-hotel__rate-chip strong {
  color: var(--tbe-primary-dark);
  font-weight: 400;
}

.tbe-pkg-hotel__rate-chip em {
  font-style: normal;
  color: var(--tbe-accent);
  font-weight: 600;
}

.tbe-pkg-hotel__action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: center;
}

.tbe-pkg-hotel__price-label {
  display: block;
  font-size: 11px;
  color: var(--tbe-text-muted);
  margin-bottom: 2px;
}

.tbe-pkg-hotel__price-value {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--tbe-primary-dark);
}

.tbe-pkg-hotel__cta {
  width: 100%;
  white-space: nowrap;
  font-size: 13px;
  padding: 11px 14px;
}

.tbe-pkg-hotel__soldout {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.tbe-similar-tours {
  margin-top: 48px;
  padding-top: 8px;
}

.tbe-similar-tours--anchor {
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Booking modal */
.tbe-booking-modal[hidden] {
  display: none !important;
}

.tbe-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.tbe-booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 28, 20, 0.48);
  backdrop-filter: blur(2px);
}

.tbe-booking-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(94vh, 920px);
  overflow: auto;
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(26, 122, 82, 0.08), transparent 55%),
    var(--tbe-surface);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(6, 56, 37, 0.28);
  display: flex;
  flex-direction: column;
  animation: tbe-modal-in 0.28s ease;
}

@keyframes tbe-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tbe-booking-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 12px;
  border-bottom: 1px solid var(--tbe-border);
}

.tbe-booking-modal__title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tbe-primary-dark);
}

.tbe-booking-modal__subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--tbe-text-muted);
}

.tbe-booking-modal__close {
  appearance: none;
  border: 0;
  background: var(--tbe-surface-muted);
  color: var(--tbe-text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.tbe-booking-modal__close:hover {
  background: var(--tbe-primary-light);
  color: var(--tbe-primary);
}

.tbe-booking-modal__form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.tbe-booking-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: 0;
  flex: 1;
}

.tbe-booking-modal__col {
  padding: 20px 24px;
}

.tbe-booking-modal__col--rooms {
  border-left: 1px solid var(--tbe-border);
  background: linear-gradient(180deg, rgba(232, 245, 239, 0.45) 0%, transparent 140px);
}

.tbe-booking-modal__col--form {
  background: var(--tbe-surface);
}

.tbe-booking-modal__section-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0 10px;
}

.tbe-booking-modal__section-label strong {
  font-size: 14px;
  color: var(--tbe-primary-dark);
}

.tbe-booking-modal__section-label span {
  font-size: 11px;
  color: var(--tbe-text-muted);
}

.tbe-room-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tbe-room-hero__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tbe-accent);
  text-transform: uppercase;
}

.tbe-room-hero__title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tbe-primary-dark);
  line-height: 1.35;
}

.tbe-room-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  font-size: 12px;
  color: var(--tbe-text-muted);
}

.tbe-room-hero__stars {
  color: var(--tbe-gold);
  letter-spacing: 1px;
  font-weight: 700;
}

.tbe-room-hero__nights {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tbe-primary-light);
  color: var(--tbe-primary);
  font-weight: 700;
}

.tbe-room-list__hint {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--tbe-text-muted);
  line-height: 1.6;
}

.tbe-room-list {
  display: grid;
  gap: 12px;
}

.tbe-room-list--shake {
  animation: tbe-shake 0.45s ease;
}

@keyframes tbe-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.tbe-room-list__empty {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed var(--tbe-border);
  background: var(--tbe-surface);
  color: var(--tbe-text-muted);
  font-size: 13px;
  text-align: center;
}

.tbe-room-card {
  position: relative;
  padding: 14px 16px;
  border: 1.5px solid var(--tbe-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 77, 51, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tbe-room-card:hover {
  border-color: #b7d4c5;
  box-shadow: 0 12px 28px rgba(10, 77, 51, 0.08);
}

.tbe-room-card.is-selected {
  border-color: var(--tbe-accent);
  box-shadow: 0 0 0 3px rgba(26, 122, 82, 0.14), 0 14px 30px rgba(10, 77, 51, 0.1);
  background:
    linear-gradient(180deg, rgba(232, 245, 239, 0.65) 0%, #fff 48%);
}

.tbe-room-card.is-full {
  opacity: 0.72;
  filter: grayscale(0.15);
}

.tbe-room-card__top {
  margin-bottom: 10px;
}

.tbe-room-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tbe-room-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tbe-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.tbe-room-card__badge--soft {
  background: var(--tbe-primary-light);
  color: var(--tbe-primary-dark);
}

.tbe-room-card__badge--danger {
  background: #fef2f2;
  color: #b91c1c;
}

.tbe-room-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--tbe-text);
}

.tbe-room-card__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.tbe-room-card__chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--tbe-surface-muted);
  border: 1px solid transparent;
}

.tbe-room-card.is-selected .tbe-room-card__chip {
  background: rgba(255, 255, 255, 0.85);
  border-color: #d7e8df;
}

.tbe-room-card__chip em {
  font-style: normal;
  font-size: 11px;
  color: var(--tbe-text-muted);
}

.tbe-room-card__chip strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--tbe-primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tbe-room-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--tbe-border);
}

.tbe-room-card__qty {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tbe-room-card__qty-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--tbe-text-muted);
}

.tbe-room-card__subtotal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: left;
}

.tbe-room-card__subtotal span {
  font-size: 11px;
  color: var(--tbe-text-muted);
}

.tbe-room-card__subtotal strong {
  font-size: 14px;
  color: var(--tbe-accent);
  font-weight: 800;
}

.tbe-room-card__hint {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--tbe-text-muted);
}

.tbe-booking-modal__field {
  margin: 0 0 14px;
}

.tbe-booking-modal__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tbe-text);
}

.tbe-booking-modal__field input,
.tbe-booking-modal__field textarea {
  width: 100%;
  border: 1px solid var(--tbe-border);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tbe-booking-modal__field input:focus,
.tbe-booking-modal__field textarea:focus {
  outline: none;
  border-color: var(--tbe-primary);
  box-shadow: 0 0 0 3px rgba(10, 77, 51, 0.12);
}

.tbe-booking-modal__passengers {
  display: grid;
  gap: 10px;
  margin: 8px 0 16px;
}

.tbe-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--tbe-border);
  border-radius: 12px;
  background: var(--tbe-surface-muted);
}

.tbe-stepper__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tbe-stepper__info strong {
  font-size: 14px;
}

.tbe-stepper__info span {
  font-size: 11px;
  color: var(--tbe-text-muted);
}

.tbe-stepper__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tbe-stepper__btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--tbe-border);
  background: #fff;
  color: var(--tbe-primary-dark);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.tbe-stepper__btn:hover {
  border-color: var(--tbe-primary);
  background: var(--tbe-primary-light);
}

.tbe-stepper__value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
}

.tbe-booking-modal__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  margin: 0;
}

.tbe-booking-accordions {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.tbe-booking-acc {
  border: 1px solid var(--tbe-border);
  border-radius: 12px;
  background: var(--tbe-surface-muted);
  overflow: hidden;
}

.tbe-booking-acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: var(--tbe-primary-dark);
}

.tbe-booking-acc summary::-webkit-details-marker {
  display: none;
}

.tbe-booking-acc__meta {
  margin-right: auto;
  font-weight: 600;
  color: var(--tbe-text-muted);
  font-size: 12px;
}

.tbe-booking-acc__body {
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--tbe-text-muted);
}

.tbe-booking-acc__body p {
  margin: 0 0 6px;
}

.tbe-booking-acc__hotel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px !important;
  color: var(--tbe-gold);
  font-weight: 700;
}

.tbe-booking-prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tbe-booking-prices th,
.tbe-booking-prices td {
  padding: 8px 0;
  border-bottom: 1px dashed var(--tbe-border);
  text-align: right;
}

.tbe-booking-prices th {
  font-weight: 500;
  color: var(--tbe-text-muted);
}

.tbe-booking-prices td {
  font-weight: 700;
  color: var(--tbe-text);
  white-space: nowrap;
}

.tbe-booking-prices tr:last-child th,
.tbe-booking-prices tr:last-child td {
  border-bottom: none;
}

.tbe-booking-modal__date-summary {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--tbe-primary-light);
  border: 1px solid #cfe5d9;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  flex-shrink: 0;
  min-width: 140px;
}

.tbe-room-hero .tbe-booking-modal__date-summary strong {
  color: var(--tbe-primary-dark);
}

.tbe-booking-modal__footer {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--tbe-border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: linear-gradient(180deg, rgba(245, 249, 247, 0.9), #fff);
  position: sticky;
  bottom: 0;
}

.tbe-booking-total__breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
}

.tbe-booking-total__line {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--tbe-text-muted);
  font-size: 11px;
  font-weight: 600;
}

.tbe-booking-modal__submit {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
  min-width: 200px;
}

.tbe-booking-modal__submit.is-disabled,
.tbe-booking-modal__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 820px) {
  .tbe-booking-modal__grid {
    grid-template-columns: 1fr;
  }

  .tbe-booking-modal__col--rooms {
    border-left: none;
    border-bottom: 1px solid var(--tbe-border);
    order: -1;
  }

  .tbe-booking-modal__footer {
    grid-template-columns: 1fr;
  }

  .tbe-booking-modal__submit {
    width: 100%;
  }

  .tbe-room-hero {
    flex-direction: column;
  }

  .tbe-room-card__prices {
    grid-template-columns: 1fr 1fr;
  }

  .tbe-room-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .tbe-room-card__subtotal {
    align-items: flex-start;
  }

  .tbe-pkg-hotel {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .tbe-pkg-hotel__action {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .tbe-pkg-hotel__cta {
    width: auto;
    min-width: 160px;
  }
}

@media (max-width: 560px) {
  .tbe-pkg-hotel {
    grid-template-columns: 1fr;
  }

  .tbe-pkg-hotel__media {
    width: 100%;
    height: 160px;
  }

  .tbe-pkg-hotel__action {
    flex-direction: column;
    align-items: stretch;
  }

  .tbe-pkg-hotel__cta {
    width: 100%;
  }
}


