/* Tour package card — flat footer (no inner box) */
.togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-thumb.mb-20 {
  margin-bottom: 12px !important;
}

.togo-tour-card.style-9.togo-pkg-card {
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.togo-tour-card.style-9.togo-pkg-card:hover {
  border-color: rgba(58, 61, 43, 0.18);
  box-shadow: 0 16px 40px rgba(58, 61, 43, 0.12);
  transform: translateY(-3px);
}

.togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-content {
  padding: 0 16px 16px;
}

.togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-title {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-title a {
  color: var(--togo-common-black);
  transition: color 0.2s ease;
}

.togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-title a:hover {
  color: var(--togo-theme-primary);
}

/* Meta + footer — open layout, no nested card */
.togo-pkg-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.togo-pkg-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.togo-pkg-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--togo-common-black);
  font-family: var(--togo-ff-body);
}

.togo-pkg-chip__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #c62828;
  background: linear-gradient(145deg, #fff5f5 0%, #ffe8e8 100%);
}

.togo-pkg-chip__icon--safari {
  color: var(--togo-theme-primary);
  background: linear-gradient(145deg, #f4f5f0 0%, #e8eae2 100%);
}

.togo-pkg-chip__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.togo-pkg-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.togo-pkg-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.togo-pkg-rating i {
  font-size: 11px;
  color: #f0b429;
}

.togo-pkg-rating__score {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.5);
  letter-spacing: 0.01em;
}

.togo-pkg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, #3a3d2b 0%, #4a4e38 100%);
  border-radius: 50px;
  border: 0;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.2;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 3px 10px rgba(58, 61, 43, 0.2);
}

.togo-pkg-btn i {
  font-size: 9px;
  transition: transform 0.22s ease;
}

.togo-pkg-btn:hover {
  background: linear-gradient(135deg, #2f3226 0%, #3a3d2b 100%);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(58, 61, 43, 0.28);
}

.togo-pkg-btn:hover i {
  transform: translateX(3px);
}

/* Mobile — 2 cards per row + compact layout */
@media (max-width: 767.98px) {
  .togo-tour-grid-ptb .togo-tour-grid-item-box > .row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 12px;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-thumb.mb-20 {
    margin-bottom: 8px !important;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-thumb {
    aspect-ratio: 4 / 3;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-thumb .togo-tour-card-active,
  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-thumb .swiper,
  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-thumb .swiper-wrapper,
  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-thumb .swiper-slide {
    height: 100%;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .togo-tour-card.style-9.togo-pkg-card.mb-24 {
    margin-bottom: 0 !important;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-content {
    padding: 0 10px 12px;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-2-card-title {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .togo-pkg-meta {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 8px;
  }

  .togo-pkg-chip {
    font-size: 10px;
    gap: 5px;
  }

  .togo-pkg-chip__icon {
    width: 22px;
    height: 22px;
    font-size: 10px;
    border-radius: 6px;
  }

  .togo-pkg-chip__label {
    white-space: normal;
    line-height: 1.2;
  }

  .togo-pkg-action {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .togo-pkg-rating {
    justify-content: center;
  }

  .togo-pkg-rating i {
    font-size: 9px;
  }

  .togo-pkg-rating__score {
    font-size: 10px;
  }

  .togo-pkg-btn {
    width: 100%;
    justify-content: center;
    padding: 5px 8px;
    font-size: 9px;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-card-sell {
    top: 6px;
    left: 6px;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-card-sell span {
    font-size: 10px;
    padding: 2px 8px;
  }

  .togo-tour-card.style-9.togo-pkg-card .togo-tour-card-sell span svg {
    width: 12px;
    height: 12px;
  }
}
