.tour-single-page,
.tour-page-wrapper {
  padding: 1.5rem 0 4rem;
  background-color: #ffffff;
}

.tour-breadcrumbs-wrap {
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.tour-breadcrumbs-wrap a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.tour-breadcrumbs-wrap a:hover {
  color: var(--color-primary);
}

.tour-breadcrumbs-wrap .separator {
  margin: 0 0.4rem;
  color: #cbd5e1;
}

.tour-breadcrumbs-wrap .last {
  color: var(--color-text-main);
  font-weight: var(--font-weight-medium);
}

.tour-page-header {
  margin-bottom: 1.5rem;
}

.tour-pill-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--gradient-cta-orange);
  border-radius: var(--border-radius-pill);
  box-shadow: var(--shadow-badge);
  margin-bottom: 0.5rem;
}

.tour-headline {
  font-size: 1.75rem;
  font-weight: var(--font-weight-headline-max);
  line-height: 1.25;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .tour-headline {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .tour-headline {
    font-size: 2.5rem;
  }
}

.tour-layout-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tour-main-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .tour-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-auto-flow: dense;
    column-gap: 2.5rem;
    row-gap: 2rem;
    align-items: start;
  }

  .tour-main-column {
    display: contents;
  }

  .tour-gallery-card {
    grid-column: 1;
    grid-row: 1;
  }

  .tour-quick-specs-grid {
    grid-column: 1;
    grid-row: 2;
  }

  .tour-content-section,
  .tour-itinerary-section,
  .tour-inclusions-section,
  .tour-faqs-section {
    grid-column: 1;
  }

  .tour-sidebar-column {
    grid-column: 2;
    grid-row: 1 / span 10;
    align-self: stretch;
  }

  .tour-review-section,
  .tour-related-section {
    grid-column: 1 / -1;
  }
}

.tour-gallery-card {
  background: var(--color-bg-main);
  border-radius: var(--border-radius-lg);
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tour-gallery-main-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.tour-gallery-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.tour-gallery-zoom-btn {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(19, 28, 16, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 4;
}

.tour-gallery-zoom-btn:hover {
  background: var(--color-primary);
  transform: scale(1.08);
}

.tour-gallery-thumbs-slider {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tour-thumb-btn {
  flex: 0 0 85px;
  height: 55px;
  border-radius: var(--border-radius-sm);
  border: none;
  padding: 0;
  overflow: hidden;
  background: #e2e8f0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.tour-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-thumb-btn.is-active,
.tour-thumb-btn:hover {
  box-shadow: 0 0 0 2px var(--color-primary);
  transform: scale(0.98);
}

.tour-quick-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .tour-quick-specs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .tour-quick-specs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--color-bg-main);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.spec-meta {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.72rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
}

.tour-content-section,
.tour-itinerary-section,
.tour-inclusions-section,
.tour-faqs-section {
  background: var(--color-bg-main);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .tour-content-section,
  .tour-itinerary-section,
  .tour-inclusions-section,
  .tour-faqs-section {
    padding: 2rem;
  }
}

.tour-content-section h2,
.tour-itinerary-section h2,
.tour-inclusions-section h2,
.tour-faqs-section h2 {
  font-size: 1.45rem;
  font-weight: var(--font-weight-headline-max);
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.tour-article-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.tour-article-body p {
  margin-bottom: 1rem;
}

.tour-article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-main);
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.tour-article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-main);
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.tour-article-body h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.tour-article-body ul,
.tour-article-body ol {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.tour-article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.tour-article-body strong,
.tour-article-body b {
  color: var(--color-text-main);
  font-weight: 600;
}

.tour-article-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.tour-article-body a:hover {
  color: var(--color-primary-hover);
}

.tour-article-body blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  background: var(--color-primary-pastel);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-style: italic;
  color: var(--color-text-main);
}

.tour-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 1rem;
}

.tour-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 1.75rem;
  width: 2px;
  background: var(--color-border);
}

.timeline-step {
  display: flex;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
  z-index: 1;
}

.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-content {
  flex: 1;
}

.timeline-time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  background: var(--color-primary-pastel);
  padding: 0.15rem 0.5rem;
  border-radius: var(--border-radius-pill);
  margin-bottom: 0.35rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.timeline-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.inclusions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .inclusions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.inclusions-box {
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
}

.inc-box {
  background: var(--color-primary-pastel);
  border-color: rgba(86, 121, 57, 0.2);
}

.exc-box {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.15);
}

.inc-title,
.exc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.75rem;
}

.inc-title {
  color: var(--color-primary);
}

.exc-title {
  color: #dc2626;
}

.inc-list,
.exc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inc-list li,
.exc-list li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-main);
  position: relative;
  padding-left: 1.25rem;
}

.inc-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.exc-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
}

.tour-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.accordion-trigger:hover {
  background: var(--color-bg-light);
}

.faq-question {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
}

.faq-arrow {
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

.accordion-item.is-open .faq-arrow {
  transform: rotate(180deg);
}

.accordion-panel {
  padding: 0 1.25rem 1rem;
}

.accordion-panel[hidden] {
  display: none;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.tour-related-section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2.5rem 0 0 0;
  box-shadow: none;
}

.tour-related-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.tour-related-heading {
  font-size: 1.45rem;
  font-weight: var(--font-weight-headline-max);
  color: var(--color-text-main);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

.tour-carousel-nav-wrap {
  display: flex;
  gap: 0.5rem;
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--color-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-arrow:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.tour-related-carousel {
  position: relative;
  width: 100%;
}

.tour-related-track-wrap {
  overflow: hidden;
  width: 100%;
}

.tour-related-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.tour-related-track-wrap {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0.25rem 1.5rem;
  margin: -0.5rem -0.25rem -1.5rem;
}

.tour-related-track .related-tour-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .tour-related-track .related-tour-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 640px) {
  .tour-related-track .related-tour-card {
    flex: 0 0 100%;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.is-active {
  background: var(--color-primary);
  width: 22px;
  border-radius: var(--border-radius-pill);
}

.tour-card {
  background: #ffffff;
  border: none;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tour-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.tour-card-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.tour-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-card:hover .tour-card-img {
  transform: scale(1.04);
}

.tour-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gradient-cta-orange);
  border-radius: var(--border-radius-pill);
  box-shadow: var(--shadow-badge);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tour-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tour-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-pastel);
  padding: 0.2rem 0.55rem;
  border-radius: var(--border-radius-pill);
}

.tour-meta-route {
  color: var(--color-text-muted);
  background: var(--color-bg-light);
}

.tour-card-title {
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.35;
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.01em;
}

.tour-card-title a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.tour-card-title a:hover {
  color: var(--color-primary);
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.85rem;
  margin-top: auto;
  border-top: 1px solid #f1f5f0;
}

.tour-price-inline {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.tour-price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tour-price-val {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--color-primary);
}

.tour-price-del {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.tour-booking-card {
  background: var(--color-bg-main);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .tour-booking-card {
    position: sticky;
    top: 100px;
    padding: 1.75rem;
  }

  .admin-bar .tour-booking-card {
    top: 132px;
  }
}

.booking-card-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.price-from-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: var(--font-weight-medium);
}

.price-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.tour-active-price {
  font-size: 2rem;
  font-weight: var(--font-weight-headline-max);
  color: var(--color-primary);
  line-height: 1;
}

.tour-old-price {
  font-size: 1rem;
  color: #94a3b8;
  margin-left: 0.25rem;
}

.price-unit {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.booking-short-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.tour-sidebar-config-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tour-sidebar-config-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  margin-bottom: 0.15rem;
}

.selected-tour-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--color-primary-pastel);
  border: 1px solid rgba(86, 121, 57, 0.2);
  border-radius: var(--border-radius-md);
  font-size: 0.88rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-hover);
}

.tour-options-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tour-option-pill {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
  position: relative;
}

.tour-option-pill:hover {
  border-color: #cbd5e1;
  background-color: var(--color-bg-light);
}

.tour-option-pill input[type="radio"] {
  margin-right: 0.65rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.option-pill-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.85rem;
}

.option-name {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-main);
}

.option-extra {
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 0.15rem 0.45rem;
  border-radius: var(--border-radius-sm);
  margin-left: 0.5rem;
}

.tour-option-pill.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary-pastel);
}

.pax-counter-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  width: 140px;
}

.pax-btn {
  width: 42px;
  height: 38px;
  background: #f8fafc;
  border: none;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.pax-btn:hover:not(:disabled) {
  background: var(--color-border);
}

.pax-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pax-input {
  flex: 1;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  padding: 0;
  -moz-appearance: textfield;
}

.pax-input::-webkit-outer-spin-button,
.pax-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-control {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  color: var(--color-text-main);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

textarea.form-control {
  resize: vertical;
}

.tour-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  background: var(--gradient-cta-orange);
  border: none;
  color: #fff;
  box-shadow: var(--shadow-badge);
  transition: var(--transition-smooth);
}

.tour-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 118, 41, 0.3);
}

.tour-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.booking-feedback-box {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: var(--border-radius-md);
  display: none;
}

.booking-feedback-box.is-success {
  display: block;
  background: var(--color-primary-pastel);
  color: #166534;
  border: 1px solid rgba(86, 121, 57, 0.3);
  padding: 0.75rem 1rem;
}

.booking-feedback-box.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 0.75rem 1rem;
}

.booking-guarantee-box {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--color-border);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.guarantee-item a {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.guarantee-item a:hover {
  text-decoration: underline;
}

.mobile-sticky-booking-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  z-index: 999;
  padding: 0.75rem 1rem;
}

@media (min-width: 1024px) {
  .mobile-sticky-booking-bar {
    display: none;
  }
}

.mobile-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-bar-price {
  display: flex;
  flex-direction: column;
}

.bar-from {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.bar-amount {
  font-size: 1.35rem;
  font-weight: var(--font-weight-headline-max);
  color: var(--color-primary);
  line-height: 1;
}

.mobile-bar-book-btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  color: #fff;
  background: var(--gradient-cta-orange);
}

.custom-date-picker-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.styled-date-input {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 2.85rem 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-main);
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
  box-shadow: var(--shadow-input);
}

.styled-date-input:hover {
  border-color: var(--color-nature-mid);
  background-color: #fafcf9;
}

.styled-date-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
  background-color: #fff;
}

.styled-date-input::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.calendar-icon-overlay {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.custom-date-picker-wrap:hover .calendar-icon-overlay {
  transform: translateY(-50%) scale(1.1);
  color: var(--color-accent);
}

.tour-open-modal-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  background: var(--gradient-cta-orange);
  border: none;
  color: #fff;
  box-shadow: var(--shadow-badge);
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
}

.tour-open-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 118, 41, 0.35);
}

.rewrew-booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.rewrew-booking-modal.is-active {
  display: flex;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(19, 28, 16, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10001;
  animation: rewrewFadeIn 0.2s ease-out;
}

.modal-dialog {
  position: relative;
  z-index: 10002;
  width: 100%;
  max-width: 630px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22);
  padding: 1.5rem 1.75rem;
  animation: rewrewSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
}

@keyframes rewrewFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rewrewSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.15rem;
}

.booking-modal-title {
  font-size: 1.35rem;
  font-weight: var(--font-weight-headline-max);
  color: var(--color-text-main);
  margin: 0;
  letter-spacing: -0.01em;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: rotate(90deg);
}

.modal-booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal-form-row.modal-col-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 520px) {
  .modal-form-row.modal-col-2 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.modal-pax-date-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
}

.modal-pax-date-row .custom-date-picker-wrap .styled-date-input {
  padding: 0.65rem 2.2rem 0.65rem 0.75rem;
  font-size: 0.88rem;
}

.modal-pax-date-row .calendar-icon-overlay {
  right: 0.65rem;
}

.modal-pax-counter {
  height: 42px;
}

.modal-pax-counter .pax-btn {
  width: 36px;
  height: 100%;
}

.modal-pax-counter .modal-pax-input {
  font-size: 0.95rem;
}

.modal-label {
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
  margin-bottom: 0.15rem;
}

.modal-input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--color-text-main);
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  height: 42px;
}

.modal-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.modal-input::placeholder {
  color: #94a3b8;
}

.modal-pax-counter {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.modal-pax-counter .pax-btn {
  width: 44px;
  height: 100%;
  flex-shrink: 0;
}

.modal-pax-counter .modal-pax-input {
  height: 100%;
  background: transparent;
}

.modal-phone-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background-color: #fff;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-phone-input-wrap:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.country-select-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

.country-selected-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.65rem;
  background: var(--color-bg-light);
  border: none;
  border-right: 1px solid var(--color-border);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-main);
  user-select: none;
  transition: background-color 0.15s ease;
  border-top-left-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
}

.country-selected-btn:hover {
  background: #edf2eb;
}

.country-flag {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.country-dial {
  font-size: 0.82rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.country-arrow {
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.country-select-dropdown.is-open .country-arrow {
  transform: rotate(180deg);
}

.country-list-popover {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 270px;
  max-height: 220px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 10020;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.country-select-dropdown.is-open .country-list-popover {
  display: flex;
  animation: rewrewFadeIn 0.15s ease-out;
}

.country-search-wrap {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  background: #fafafa;
}

.country-search-input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.country-search-input:focus {
  border-color: var(--color-primary);
}

.country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  max-height: 175px;
  scrollbar-width: thin;
}

.country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 0.82rem;
  transition: background-color 0.1s ease;
}

.country-item:hover,
.country-item.is-selected {
  background: var(--color-primary-pastel);
  color: var(--color-primary);
}

.country-item-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-item-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.country-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 155px;
}

.country-item-dial {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  margin-left: 0.5rem;
}

.modal-phone-field {
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
}

.modal-phone-field:focus {
  box-shadow: none;
  border: none;
}

.modal-total-price-field {
  background-color: var(--color-primary-pastel);
  border-color: rgba(86, 121, 57, 0.25);
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  cursor: default;
}

.modal-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.03em;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  background: var(--gradient-rewrew-green);
  border: none;
  color: #fff;
  box-shadow: var(--shadow-badge);
  transition: var(--transition-smooth);
  margin-top: 0.25rem;
}

.modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 121, 57, 0.35);
}

.modal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-calendar-icon {
  display: inline-block;
  vertical-align: middle;
}

.modal-booking-feedback {
  display: none;
  padding: 0.65rem 0.95rem;
  border-radius: var(--border-radius-md);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-top: 0.35rem;
}

.modal-booking-feedback.is-success {
  display: block;
  background: var(--color-primary-pastel);
  color: #166534;
  border: 1px solid rgba(86, 121, 57, 0.35);
  font-weight: var(--font-weight-medium);
}

.modal-booking-feedback.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.tour-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.tour-lightbox-modal.is-active {
  display: flex;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 12, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: rewrewFadeIn 0.2s ease;
}

.lightbox-dialog {
  position: relative;
  z-index: 20001;
  max-width: 94vw;
  max-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-media-wrap img {
  max-width: 86vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
  animation: rewrewSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-footer {
  margin-top: 0.85rem;
}

.lightbox-counter {
  font-size: 0.88rem;
  color: #e2eae0;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.85rem;
  border-radius: var(--border-radius-pill);
  font-weight: var(--font-weight-medium);
}

.lightbox-close-btn {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 20003;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 20003;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn {
  left: 1.25rem;
}

.lightbox-next-btn {
  right: 1.25rem;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev-btn {
    left: 0.5rem;
  }

  .lightbox-next-btn {
    right: 0.5rem;
  }

  .lightbox-close-btn {
    top: 0.75rem;
    right: 0.75rem;
  }
}


.tour-review-section {
  width: 100%;
}

.category-review-section {
  padding: 2.5rem 0 4rem 0;
  background: #ffffff;
  border: none;
}

.review-card-container {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

@media (max-width: 767px) {
  .review-card-container {
    padding: 0;
  }
}

.review-card-header {
  margin-bottom: 1.75rem;
}

.review-section-heading {
  font-size: 1.65rem;
  font-weight: 750;
  color: var(--color-text-main);
  line-height: 1.25;
  margin: 0 0 0.4rem 0;
}

.review-section-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.logged-in-as-box {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.logout-link {
  color: #ef4444;
  font-weight: 600;
  text-decoration: none;
}

.logout-link:hover {
  text-decoration: underline;
}

.review-rating-select-group {
  margin-bottom: 1.5rem;
}

.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.stars-stars-row {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-star-select {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #cbd5e1;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.btn-star-select:hover {
  transform: scale(1.15);
}

.btn-star-select.is-active {
  color: var(--color-star-yellow);
}

.rating-picker-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.star-inactive {
  color: #cbd5e1;
}

.review-guest-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .review-guest-fields {
    flex-direction: row;
    gap: 1.25rem;
  }
  .col-third {
    flex: 1;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.45rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text-main);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(86, 121, 57, 0.12);
}

.reply-to-banner {
  background: var(--color-primary-pastel);
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--color-primary);
}

.cancel-reply-btn {
  border: none;
  background: transparent;
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.review-form-status {
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.review-form-status.is-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.review-form-status.is-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.btn-post-review {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(86, 121, 57, 0.2);
}

.btn-post-review:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 121, 57, 0.3);
}

.btn-post-review:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.category-comments-list-wrap {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.comments-count-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

.category-comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-item-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.comment-item-card:hover {
  box-shadow: var(--shadow-hover);
}

.comment-item-card.is-team-reply {
  background: #fbfdf9;
  border-color: #d1e2c9;
}

.comment-item-card.is-team-reply {
  background: #fbfdf9;
  border-color: #d6e2d1;
}

.comment-item-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.comment-avatar-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-avatar-bubble.team-bubble {
  background: var(--gradient-cta-orange);
  color: #ffffff;
}

.comment-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.comment-author-name {
  font-size: 0.98rem;
  font-weight: 750;
  color: var(--color-text-main);
}

.comment-verified-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #166534;
  background: #dcfce7;
  padding: 0.15rem 0.5rem;
  border-radius: var(--border-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.guide-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-pastel);
  padding: 0.15rem 0.55rem;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(86, 121, 57, 0.2);
}

.comment-stars-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 0.25rem;
}

.comment-stars-wrap svg,
.star-active {
  color: var(--color-star-yellow);
}

.comment-time {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.btn-reply-comment {
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0.75rem;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-reply-comment:hover {
  background: var(--color-primary-pastel);
  border-color: var(--color-primary);
}

.comment-item-content {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--color-text-main);
}

.comment-item-content p {
  margin: 0;
}

.comment-replies-nest {
  margin-left: 1rem;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 3px solid var(--color-primary-pastel);
  padding-left: 1.25rem;
}

@media (min-width: 640px) {
  .comment-replies-nest {
    margin-left: 2.25rem;
    padding-left: 1.75rem;
  }
}


.review-photos-dropzone {
  border: 2px dashed var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  background: var(--color-bg-light);
  transition: var(--transition-smooth);
}

.review-photos-dropzone:hover {
  border-color: var(--color-primary);
  background: #fbfdf9;
}

.btn-add-photos {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-pill);
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-add-photos:hover {
  background: var(--color-primary-pastel);
  border-color: var(--color-primary);
}

.review-photos-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.review-photo-preview-item {
  position: relative;
  width: 75px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.review-photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-remove-preview-photo {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(220, 38, 38, 0.88);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease;
}

.btn-remove-preview-photo:hover {
  background: #dc2626;
}

.review-user-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .review-user-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
  }
  .review-user-row .flex-1 {
    flex: 1;
    margin-bottom: 0;
  }
}

.review-avatar-picker-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.avatar-picker-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  cursor: pointer;
  padding: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.avatar-picker-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-pastel);
}

.avatar-preview-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-preview-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.default-avatar-icon {
  color: #94a3b8;
}

.avatar-camera-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--color-primary);
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.avatar-picker-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.comment-avatar-img {
  object-fit: cover;
  display: block;
  border: 2px solid var(--color-border);
}

.comment-item-headline {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--color-text-main);
  margin: 0.35rem 0 0.5rem 0;
  line-height: 1.35;
}

.comment-photos-wrap {
  margin-top: 0.85rem;
}

.comment-photos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.comment-photo-link {
  display: block;
  width: 100px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.comment-photo-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.comment-photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comment-item-card.is-review-hidden {
  display: none !important;
}

.reviews-load-more-wrap {
  text-align: center;
  margin-top: 1.75rem;
}

.btn-load-more-reviews {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--border-radius-pill);
  padding: 0.65rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-load-more-reviews:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.empty-reviews-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--color-text-muted);
}

.tour-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.tour-details-accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tour-details-accordion[open] {
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(86, 121, 57, 0.08);
}

.tour-details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-main);
  cursor: pointer;
  list-style: none;
  background: var(--color-bg-light);
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tour-details-summary::-webkit-details-marker {
  display: none;
}

.tour-details-summary:hover {
  background: var(--color-primary-pastel);
  color: var(--color-primary);
}

.tour-details-accordion[open] .tour-details-summary {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-primary-pastel);
  color: var(--color-primary);
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.summary-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-details-accordion[open] .summary-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.tour-details-content {
  padding: 1.25rem 1.5rem;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--color-text-main);
  background: #ffffff;
}

.tour-details-content p:last-child {
  margin-bottom: 0;
}
