/* TripTadka Couple Friendly Resort Builder v0.9.0 */
.ttcfrb-admin-wrap,
.ttcfrb-front-editor,
.ttcfrb-front-list {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #172033;
  max-width: 1280px;
  margin: 22px auto;
  padding: 0 16px;
}

.ttcfrb-card,
.ttcfrb-subcard {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.ttcfrb-subcard {
  background: #fbfdff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .035);
}

.ttcfrb-card h3,
.ttcfrb-subcard h4 {
  margin: 0 0 16px;
  color: #0f172a;
}

.ttcfrb-subcard-head,
.ttcfrb-list-head,
.ttcfrb-editor-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.ttcfrb-editor-header {
  background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
}

.ttcfrb-editor-header h2,
.ttcfrb-list-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 850;
}

.ttcfrb-editor-header p,
.ttcfrb-list-head p {
  margin: 6px 0 0;
}

.ttcfrb-header-actions,
.ttcfrb-row-actions,
.ttcfrb-actions,
.ttcfrb-save-left,
.ttcfrb-save-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ttcfrb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ttcfrb-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ttcfrb-field {
  margin-bottom: 14px;
}

.ttcfrb-field label {
  display: block;
  margin: 0 0 7px;
  color: #334155;
  font-weight: 750;
  font-size: 13px;
}

.ttcfrb-field input[type="text"],
.ttcfrb-field input[type="url"],
.ttcfrb-field input[type="number"],
.ttcfrb-field input[type="tel"],
.ttcfrb-field select,
.ttcfrb-field textarea,
.ttcfrb-inclusion-row input {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
  box-sizing: border-box;
}

.ttcfrb-field textarea {
  min-height: 104px;
  resize: vertical;
}

.ttcfrb-field input:focus,
.ttcfrb-field select:focus,
.ttcfrb-field textarea:focus,
.ttcfrb-inclusion-row input:focus {
  border-color: #d60302;
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 3, 2, .10);
}

.ttcfrb-note {
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 7px 0 0;
}

.ttcfrb-checkline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.ttcfrb-preview {
  min-height: 120px;
  background: #f8fafc;
  border: 1px dashed #b8c4d6;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ttcfrb-preview img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.ttcfrb-preview span,
.ttcfrb-image-placeholder {
  color: #94a3b8;
  font-size: 13px;
}

.ttcfrb-btn,
.ttcfrb-small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #d60302;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 850;
  font-size: 14px;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
}

.ttcfrb-small-btn {
  padding: 9px 13px;
  font-size: 13px;
  border-radius: 10px;
}

.ttcfrb-btn:hover,
.ttcfrb-small-btn:hover {
  background: #bb0202;
  color: #fff !important;
}

.ttcfrb-secondary {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0;
}

.ttcfrb-secondary:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.ttcfrb-success,
.ttcfrb-error {
  padding: 13px 15px;
  border-radius: 14px;
  margin: 14px 0;
  font-weight: 750;
}

.ttcfrb-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #bbf7d0;
}

.ttcfrb-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.ttcfrb-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.ttcfrb-table th,
.ttcfrb-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
}

.ttcfrb-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
}

.ttcfrb-inclusion-repeater {
  display: grid;
  gap: 10px;
}

.ttcfrb-inclusion-list {
  display: grid;
  gap: 10px;
}

.ttcfrb-inclusion-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.ttcfrb-sticky-save {
  position: sticky;
  bottom: 0;
  z-index: 50;
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 -10px 30px rgba(15, 23, 42, .10);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ttcfrb-front {
  --ttcfrb-accent: #d60302;
  --ttcfrb-green: #25D366;
  --ttcfrb-text: #111827;
  --ttcfrb-muted: #64748b;
  --ttcfrb-soft: #fff7f7;
  --ttcfrb-panel: #fff;
  --ttcfrb-title: 38px;
  --ttcfrb-section-title: 32px;
  --ttcfrb-body: 16px;
  --ttcfrb-card-title: 21px;
  color: var(--ttcfrb-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: var(--ttcfrb-body);
  overflow: visible;
}

.ttcfrb-front * {
  box-sizing: border-box;
}

.ttcfrb-front .is-full-bleed,
.ttcfrb-offer-shell.is-full-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

.ttcfrb-offer-shell {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

.ttcfrb-offer-track {
  display: flex;
  width: 100%;
  transition: transform .65s ease;
  will-change: transform;
}

.ttcfrb-offer-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 70% 30%;
  height: var(--ttcfrb-offer-height);
  max-height: calc(100vh - 130px);
  min-height: 420px;
  background: #fff;
}

.ttcfrb-offer-image,
.ttcfrb-offer-image picture {
  display: block;
  height: 100%;
  min-width: 0;
}

.ttcfrb-offer-image {
  position: relative;
  background: #111827;
  overflow: hidden;
}

.ttcfrb-offer-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ttcfrb-offer-image:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,.02));
}

.ttcfrb-image-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  color: #cbd5e1;
}

.ttcfrb-offer-panel {
  min-width: 0;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--ttcfrb-panel) 0%, var(--ttcfrb-soft) 100%);
  border-left: 1px solid rgba(15, 23, 42, .08);
  overflow-y: auto;
}

.ttcfrb-offer-panel h1 {
  font-size: var(--ttcfrb-title);
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--ttcfrb-text);
  font-weight: 900;
  letter-spacing: -.03em;
}

.ttcfrb-offer-panel h2 {
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.14;
  margin: 6px 0 13px;
  color: var(--ttcfrb-text);
  font-weight: 900;
  letter-spacing: -.02em;
}

.ttcfrb-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 850;
  color: var(--ttcfrb-muted);
  font-size: 12px;
  margin: 10px 0 7px;
}

.ttcfrb-discount-box {
  border: 1px solid rgba(214, 3, 2, .16);
  background: rgba(255, 255, 255, .72);
  border-radius: 14px;
  padding: 12px 15px;
  margin: 0 0 10px;
  font-weight: 750;
  color: var(--ttcfrb-text);
}

.ttcfrb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 12px;
}

.ttcfrb-pills span {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(214, 3, 2, .14);
  border-radius: 12px;
  padding: 9px 13px;
  font-weight: 750;
  color: var(--ttcfrb-text);
}

.ttcfrb-inclusions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 8px 0 16px;
}

.ttcfrb-inclusions span {
  position: relative;
  padding-left: 25px;
  min-width: 0;
  color: var(--ttcfrb-text);
  line-height: 1.35;
  font-weight: 600;
}

.ttcfrb-inclusions span:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(22, 163, 74, .45);
  color: #16a34a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.ttcfrb-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  margin: 6px 0 16px;
  background: rgba(255,255,255,.8);
}

.ttcfrb-price-row div {
  padding: 13px 15px;
}

.ttcfrb-price-row div + div {
  border-left: 1px solid #e5e7eb;
}

.ttcfrb-price-row small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ttcfrb-muted);
  font-weight: 850;
  margin-bottom: 8px;
}

.ttcfrb-price-row strong {
  display: block;
  font-size: clamp(20px, 1.5vw, 28px);
  line-height: 1.1;
}

.ttcfrb-rack {
  color: #8b95a1;
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
}

.ttcfrb-offer-rate {
  color: var(--ttcfrb-accent);
}

.ttcfrb-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  background: var(--ttcfrb-green);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 11px;
  padding: 13px 18px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 26px rgba(37, 211, 102, .20);
}

.ttcfrb-whatsapp:before {
  content: "☎";
  margin-right: 8px;
}

.ttcfrb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #111827;
  width: 54px;
  height: 54px;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  cursor: pointer;
}

.ttcfrb-prev {
  left: 28px;
}

.ttcfrb-next {
  right: calc(30% + 28px);
}

.ttcfrb-arrow:hover {
  color: var(--ttcfrb-accent);
}

.ttcfrb-dots {
  position: absolute;
  left: 35%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 5;
}

.ttcfrb-dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.ttcfrb-dots button.active {
  background: #fff;
}

.ttcfrb-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 18px;
}

.ttcfrb-section h2 {
  font-size: var(--ttcfrb-section-title);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--ttcfrb-text);
  font-weight: 900;
  letter-spacing: -.025em;
}

.ttcfrb-section-sub {
  color: var(--ttcfrb-muted);
  max-width: 780px;
  line-height: 1.65;
  margin: -6px 0 24px;
}

.ttcfrb-cards,
.ttcfrb-room-grid {
  display: grid;
  gap: 20px;
}

.ttcfrb-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ttcfrb-cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ttcfrb-room-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ttcfrb-info-card,
.ttcfrb-room-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.ttcfrb-info-card {
  padding: 20px;
}

.ttcfrb-info-card h3,
.ttcfrb-room-card h3 {
  font-size: var(--ttcfrb-card-title);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ttcfrb-text);
  font-weight: 850;
}

.ttcfrb-info-card p,
.ttcfrb-room-card p {
  color: var(--ttcfrb-muted);
  line-height: 1.6;
  margin: 0;
}

.ttcfrb-room-card {
  overflow: hidden;
}

.ttcfrb-room-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.ttcfrb-room-card > div {
  padding: 20px;
}

.ttcfrb-badge {
  display: inline-flex;
  background: var(--ttcfrb-soft);
  color: var(--ttcfrb-accent);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 850;
  font-size: 13px;
  margin-bottom: 10px;
}

.ttcfrb-room-price {
  display: block;
  margin-top: 12px;
  color: var(--ttcfrb-text);
}

.ttcfrb-room-card a {
  display: inline-flex;
  margin-top: 14px;
  background: var(--ttcfrb-accent);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 850;
}

.ttcfrb-faqs {
  display: grid;
  gap: 12px;
}

.ttcfrb-faqs details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
}

.ttcfrb-faqs summary {
  cursor: pointer;
  color: var(--ttcfrb-text);
  font-weight: 850;
}

.ttcfrb-faqs p {
  color: var(--ttcfrb-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .ttcfrb-next {
    right: calc(30% + 22px);
  }

  .ttcfrb-offer-panel {
    padding: 22px 24px;
  }

  .ttcfrb-inclusions {
    grid-template-columns: 1fr;
  }

  .ttcfrb-cards.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ttcfrb-grid,
  .ttcfrb-grid-4 {
    grid-template-columns: 1fr;
  }

  .ttcfrb-offer-slide {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .ttcfrb-offer-image {
    height: min(56vh, 520px);
    min-height: 300px;
  }

  .ttcfrb-offer-panel {
    min-height: auto;
    padding: 24px 20px 58px;
    overflow: visible;
  }

  .ttcfrb-offer-panel h1 {
    font-size: 30px;
  }

  .ttcfrb-offer-panel h2 {
    font-size: 23px;
  }

  .ttcfrb-prev {
    left: 14px;
    top: 28vh;
  }

  .ttcfrb-next {
    right: 14px;
    top: 28vh;
  }

  .ttcfrb-dots {
    left: 50%;
    bottom: 14px;
  }

  .ttcfrb-room-grid,
  .ttcfrb-cards,
  .ttcfrb-cards.four {
    grid-template-columns: 1fr;
  }

  .ttcfrb-section {
    padding: 36px 16px;
  }

  .ttcfrb-sticky-save {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .ttcfrb-save-left,
  .ttcfrb-save-right,
  .ttcfrb-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ttcfrb-btn,
  .ttcfrb-small-btn {
    width: 100%;
  }

  .ttcfrb-inclusion-row {
    grid-template-columns: 1fr;
  }

  .ttcfrb-table,
  .ttcfrb-table thead,
  .ttcfrb-table tbody,
  .ttcfrb-table th,
  .ttcfrb-table td,
  .ttcfrb-table tr {
    display: block;
  }

  .ttcfrb-table thead {
    display: none;
  }

  .ttcfrb-table tr {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
  }

  .ttcfrb-table td {
    border: 0;
    padding: 7px 0;
  }
}

@media (max-width: 480px) {
  .ttcfrb-price-row {
    grid-template-columns: 1fr;
  }

  .ttcfrb-price-row div + div {
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }
}

/* v0.4.0+ fixes: visible buttons, native color pickers, file upload fallback */
.ttcfrb-front-editor .ttcfrb-btn,
.ttcfrb-front-editor button.ttcfrb-btn,
.ttcfrb-front-editor a.ttcfrb-btn,
.ttcfrb-front-list .ttcfrb-btn,
.ttcfrb-front-list button.ttcfrb-btn,
.ttcfrb-front-list a.ttcfrb-btn,
.ttcfrb-admin-wrap .ttcfrb-btn,
.ttcfrb-admin-wrap button.ttcfrb-btn,
.ttcfrb-admin-wrap a.ttcfrb-btn,
.ttcfrb-small-btn,
button.ttcfrb-small-btn,
a.ttcfrb-small-btn {
  background: #d60302 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #d60302 !important;
  text-shadow: none !important;
  opacity: 1;
  min-height: 38px;
}

.ttcfrb-front-editor .ttcfrb-btn:hover,
.ttcfrb-front-editor button.ttcfrb-btn:hover,
.ttcfrb-front-editor a.ttcfrb-btn:hover,
.ttcfrb-front-list .ttcfrb-btn:hover,
.ttcfrb-front-list button.ttcfrb-btn:hover,
.ttcfrb-front-list a.ttcfrb-btn:hover,
.ttcfrb-admin-wrap .ttcfrb-btn:hover,
.ttcfrb-admin-wrap button.ttcfrb-btn:hover,
.ttcfrb-admin-wrap a.ttcfrb-btn:hover,
.ttcfrb-small-btn:hover,
button.ttcfrb-small-btn:hover,
a.ttcfrb-small-btn:hover {
  background: #bb0202 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #bb0202 !important;
}

.ttcfrb-front-editor .ttcfrb-secondary,
.ttcfrb-front-editor button.ttcfrb-secondary,
.ttcfrb-front-editor a.ttcfrb-secondary,
.ttcfrb-front-list .ttcfrb-secondary,
.ttcfrb-front-list button.ttcfrb-secondary,
.ttcfrb-front-list a.ttcfrb-secondary,
.ttcfrb-admin-wrap .ttcfrb-secondary,
.ttcfrb-admin-wrap button.ttcfrb-secondary,
.ttcfrb-admin-wrap a.ttcfrb-secondary,
.ttcfrb-small-btn.ttcfrb-secondary,
button.ttcfrb-small-btn.ttcfrb-secondary,
a.ttcfrb-small-btn.ttcfrb-secondary {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.ttcfrb-front-editor .ttcfrb-secondary:hover,
.ttcfrb-front-editor button.ttcfrb-secondary:hover,
.ttcfrb-front-editor a.ttcfrb-secondary:hover,
.ttcfrb-front-list .ttcfrb-secondary:hover,
.ttcfrb-front-list button.ttcfrb-secondary:hover,
.ttcfrb-front-list a.ttcfrb-secondary:hover,
.ttcfrb-admin-wrap .ttcfrb-secondary:hover,
.ttcfrb-admin-wrap button.ttcfrb-secondary:hover,
.ttcfrb-admin-wrap a.ttcfrb-secondary:hover,
.ttcfrb-small-btn.ttcfrb-secondary:hover,
button.ttcfrb-small-btn.ttcfrb-secondary:hover,
a.ttcfrb-small-btn.ttcfrb-secondary:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

.ttcfrb-sticky-save .ttcfrb-btn,
.ttcfrb-sticky-save button.ttcfrb-btn,
.ttcfrb-sticky-save a.ttcfrb-btn {
  min-width: 180px;
}

.ttcfrb-sticky-save button.is-saving {
  opacity: .72 !important;
  cursor: wait !important;
}

.ttcfrb-color-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ttcfrb-native-color {
  width: 54px !important;
  height: 42px !important;
  min-width: 54px !important;
  min-height: 42px !important;
  padding: 2px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #fff !important;
  cursor: pointer;
}

.ttcfrb-color-code {
  max-width: 140px !important;
  min-height: 42px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.ttcfrb-media-actions {
  margin-top: 10px;
}

.ttcfrb-file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 10px;
  padding: 9px 13px;
  font-weight: 850;
  font-size: 13px;
  line-height: 1.15;
  cursor: pointer;
  white-space: nowrap;
  background: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.ttcfrb-file-label:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

.ttcfrb-file-label input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.ttcfrb-media-upload {
  background: #d60302 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #d60302 !important;
}

.ttcfrb-media-upload:hover {
  background: #bb0202 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.ttcfrb-editor-header {
  align-items: flex-start;
}

@media (max-width: 900px) {
  .ttcfrb-sticky-save {
    position: sticky !important;
    bottom: 0 !important;
  }

  .ttcfrb-save-left,
  .ttcfrb-save-right {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ttcfrb-btn,
  .ttcfrb-small-btn,
  .ttcfrb-file-label {
    width: 100%;
  }
}

/* v0.5.0: compact repeatable editor and lightweight video cards */
.ttcfrb-repeat-group {
  display: grid;
  gap: 12px;
}

.ttcfrb-repeat-items {
  display: grid;
  gap: 12px;
}

.ttcfrb-repeat-item {
  margin: 0;
}

.ttcfrb-repeat-item.is-hidden {
  display: none !important;
}

.ttcfrb-repeat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ttcfrb-repeat-head h4 {
  margin: 0;
}

.ttcfrb-repeat-body {
  display: none;
  margin-top: 16px;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.ttcfrb-repeat-item.is-open .ttcfrb-repeat-body {
  display: block;
}

.ttcfrb-repeat-item.has-content .ttcfrb-repeat-head h4:after {
  content: "Saved";
  display: inline-flex;
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 850;
  vertical-align: middle;
}

.ttcfrb-repeat-status {
  margin-bottom: 14px;
}

.ttcfrb-video-upload-field .ttcfrb-preview {
  min-height: 72px;
}

.ttcfrb-video-section .ttcfrb-section-sub {
  margin-bottom: 24px;
}

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

.ttcfrb-video-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.ttcfrb-video-play {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  position: relative;
  display: block;
  cursor: pointer;
  background: #111827;
  color: #fff;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  min-height: 340px;
}

.ttcfrb-video-play img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.ttcfrb-video-play:hover img {
  transform: scale(1.04);
}

.ttcfrb-video-play:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.ttcfrb-video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ttcfrb-soft), #111827);
  color: #fff;
  font-weight: 900;
}

.ttcfrb-video-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--ttcfrb-accent);
  font-size: 22px;
  padding-left: 3px;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
}

.ttcfrb-video-play-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(255,255,255,.92);
  color: var(--ttcfrb-text);
  font-weight: 900;
}

.ttcfrb-video-copy {
  padding: 18px;
}

.ttcfrb-video-copy h3 {
  font-size: var(--ttcfrb-card-title);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ttcfrb-text);
  font-weight: 850;
}

.ttcfrb-video-copy p {
  margin: 0;
  color: var(--ttcfrb-muted);
  line-height: 1.6;
}

body.ttcfrb-video-open {
  overflow: hidden;
}

.ttcfrb-video-modal[hidden] {
  display: none !important;
}

.ttcfrb-video-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 18px;
}

.ttcfrb-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .78);
}

.ttcfrb-video-dialog {
  position: relative;
  width: min(960px, 96vw);
  max-height: 92vh;
  background: #0f172a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,.38);
}

.ttcfrb-video-modal-head {
  min-height: 54px;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  background: #111827;
}

.ttcfrb-video-modal-title {
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ttcfrb-video-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.ttcfrb-video-stage {
  background: #000;
  aspect-ratio: 16 / 9;
}

.ttcfrb-video-stage iframe,
.ttcfrb-video-stage video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
}

@media (max-width: 900px) {
  .ttcfrb-repeat-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ttcfrb-video-grid {
    grid-template-columns: 1fr;
  }

  .ttcfrb-video-play {
    min-height: 420px;
  }

  .ttcfrb-video-dialog {
    width: 96vw;
  }
}

/* v0.7.0: compact offer detail panel + video fallback display */
@media (min-width: 901px) {
  .ttcfrb-offer-panel {
    padding: clamp(16px, 1.35vw, 24px);
    justify-content: flex-start;
    min-height: 0;
    height: 100%;
    scrollbar-width: thin;
  }

  .ttcfrb-offer-panel h1 {
    font-size: min(var(--ttcfrb-title), 34px);
    line-height: 1.04;
    margin: 0 0 10px;
  }

  .ttcfrb-offer-panel h2 {
    font-size: clamp(19px, 1.35vw, 26px);
    line-height: 1.08;
    margin: 3px 0 9px;
  }

  .ttcfrb-label {
    font-size: 11px;
    letter-spacing: 1.7px;
    margin: 7px 0 5px;
  }

  .ttcfrb-discount-box {
    padding: 8px 11px;
    margin: 0 0 7px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.25;
  }

  .ttcfrb-pills {
    gap: 8px;
    margin: 2px 0 9px;
  }

  .ttcfrb-pills span {
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.15;
  }

  .ttcfrb-inclusions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 10px;
    margin: 6px 0 12px;
  }

  .ttcfrb-inclusions span {
    padding-left: 22px;
    line-height: 1.23;
    font-size: 13px;
    font-weight: 650;
  }

  .ttcfrb-inclusions span:before {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .ttcfrb-price-row {
    margin: 4px 0 11px;
    border-radius: 13px;
  }

  .ttcfrb-price-row div {
    padding: 8px 11px;
  }

  .ttcfrb-price-row small {
    font-size: 10.5px;
    letter-spacing: 1.35px;
    margin-bottom: 5px;
  }

  .ttcfrb-price-row strong {
    font-size: clamp(17px, 1.15vw, 22px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .ttcfrb-whatsapp {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.15;
  }
}

@media (min-width: 901px) and (max-width: 1260px) {
  .ttcfrb-offer-panel {
    padding: 16px 18px;
  }

  .ttcfrb-offer-panel h1 {
    font-size: min(var(--ttcfrb-title), 30px);
  }

  .ttcfrb-offer-panel h2 {
    font-size: 20px;
  }

  .ttcfrb-inclusions span {
    font-size: 12.5px;
  }
}

.ttcfrb-video-display-only {
  cursor: default;
}

.ttcfrb-video-display-only .ttcfrb-video-play-text {
  background: rgba(255, 255, 255, .86);
  color: var(--ttcfrb-muted);
}

.ttcfrb-video-stage video {
  object-fit: contain;
}

/* v0.8.0: force visible video cards, tighter frontend spacing */
.ttcfrb-section {
  padding-top: 38px;
  padding-bottom: 38px;
}

.ttcfrb-section h2 {
  margin-bottom: 12px;
}

.ttcfrb-section-sub {
  margin-bottom: 18px;
  line-height: 1.5;
}

.ttcfrb-cards,
.ttcfrb-room-grid,
.ttcfrb-video-grid {
  gap: 16px;
}

.ttcfrb-video-card {
  min-width: 0;
}

.ttcfrb-video-placeholder {
  text-align: center;
  padding: 18px;
}

@media (min-width: 901px) {
  .ttcfrb-offer-panel {
    padding: 14px 16px;
  }

  .ttcfrb-offer-panel h1 {
    font-size: min(var(--ttcfrb-title), 30px);
    margin-bottom: 8px;
  }

  .ttcfrb-offer-panel h2 {
    font-size: clamp(18px, 1.2vw, 23px);
    margin-bottom: 7px;
  }

  .ttcfrb-label {
    margin: 5px 0 4px;
  }

  .ttcfrb-inclusions {
    gap: 6px 9px;
    margin-bottom: 9px;
  }

  .ttcfrb-inclusions span {
    font-size: 12px;
    line-height: 1.18;
  }

  .ttcfrb-price-row {
    margin-bottom: 9px;
  }

  .ttcfrb-price-row div {
    padding: 7px 9px;
  }

  .ttcfrb-whatsapp {
    padding: 9px 12px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .ttcfrb-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}


/* v0.9.0: simplified YouTube-only video section with horizontal scroller */
.ttcfrb-video-carousel {
  position: relative;
  padding: 0 58px 30px;
}

.ttcfrb-video-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ttcfrb-video-viewport::-webkit-scrollbar {
  display: none;
}

.ttcfrb-video-track {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.ttcfrb-video-track .ttcfrb-video-card {
  flex: 0 0 min(310px, 82vw);
  scroll-snap-align: start;
}

.ttcfrb-video-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--ttcfrb-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .16);
}

.ttcfrb-video-nav:hover {
  color: var(--ttcfrb-accent);
}

.ttcfrb-video-prev {
  left: 6px;
}

.ttcfrb-video-next {
  right: 6px;
}

.ttcfrb-video-dots {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 16px;
}

.ttcfrb-video-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.ttcfrb-video-dots button.active {
  width: 24px;
  background: var(--ttcfrb-accent);
}

.ttcfrb-video-track .ttcfrb-video-play {
  min-height: 360px;
}

.ttcfrb-video-track .ttcfrb-video-copy {
  min-height: 112px;
}

.ttcfrb-video-modal {
  padding: 0;
}

.ttcfrb-video-dialog {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.ttcfrb-video-stage {
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: auto;
}

.ttcfrb-video-stage iframe,
.ttcfrb-video-stage video {
  width: 100%;
  height: 100%;
}

.ttcfrb-remove-video-item {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .ttcfrb-video-carousel {
    padding: 0 44px 30px;
  }

  .ttcfrb-video-track .ttcfrb-video-card {
    flex-basis: min(300px, 78vw);
  }

  .ttcfrb-video-track .ttcfrb-video-play {
    min-height: 380px;
  }

  .ttcfrb-video-nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .ttcfrb-video-carousel {
    padding-left: 0;
    padding-right: 0;
  }

  .ttcfrb-video-nav {
    top: 39%;
    background: rgba(255,255,255,.94);
  }

  .ttcfrb-video-prev {
    left: 8px;
  }

  .ttcfrb-video-next {
    right: 8px;
  }

  .ttcfrb-video-track .ttcfrb-video-card {
    flex-basis: 82vw;
  }
}
