/* ===============================
   PREMIUM TOUR CARD — ROYAL THEME
   Designed for landing pages with
   warm cream/gold luxury aesthetic
================================ */

/* ===============================
   GRID LAYOUT
================================ */
.ptc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 40px;
}

/* ===============================
   CARD BASE
================================ */
.ptc-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 149, 44, 0.15);
  box-shadow: 0 2px 12px rgba(61, 44, 30, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.ptc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9952c, #e0b94f, #c9952c);
  z-index: 2;
}

.ptc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(61, 44, 30, 0.12);
}

.ptc-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ===============================
   IMAGE
================================ */
.ptc-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ptc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.ptc-card:hover .ptc-image img {
  transform: scale(1.05);
}

/* ===============================
   BADGE (Top Right)
================================ */
.ptc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 3;
  color: #fff;
  background: linear-gradient(135deg, #334155, #475569);
}

.ptc-badge-highlight {
  background: linear-gradient(135deg, #c9952c, #e0b94f);
}

.ptc-badge-ranked {
  background: linear-gradient(135deg, #3d2c1e, #5a4230);
}

.ptc-badge-top {
  background: linear-gradient(135deg, #3d2c1e, #5a4230);
}

.ptc-badge-new {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
}

.ptc-badge-top_rated {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
}

/* ===============================
   DURATION TAG (Bottom Left)
================================ */
.ptc-duration {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #3d2c1e;
  z-index: 3;
  border: 1px solid rgba(201, 149, 44, 0.2);
}

/* ===============================
   BODY
================================ */
.ptc-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}

/* ===============================
   CITIES ROW
================================ */
.ptc-cities {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #c9952c;
  margin-bottom: 6px;
}

/* ===============================
   TITLE
================================ */
.ptc-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #3d2c1e;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===============================
   DESCRIPTION
================================ */
.ptc-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #6b5d4f;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===============================
   META ROW (Rating)
================================ */
.ptc-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ptc-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ptc-stars {
  color: #c9952c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ptc-reviews {
  font-size: 12px;
  color: #8b7d6e;
}

/* ===============================
   FREE CANCELLATION
================================ */
.ptc-cancel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #2d7a4f;
  margin-bottom: 14px;
  padding: 6px 0;
  border-top: 1px solid rgba(201, 149, 44, 0.1);
}

.ptc-cancel svg {
  color: #2d7a4f;
  flex-shrink: 0;
}

/* ===============================
   FOOTER (Price + CTA)
================================ */
.ptc-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 149, 44, 0.12);
}

.ptc-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ptc-discount {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #c9952c;
  background: rgba(201, 149, 44, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.ptc-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ptc-old-price {
  font-size: 13px;
  color: #a09080;
  text-decoration: line-through;
}

.ptc-new-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #3d2c1e;
}

.ptc-per {
  font-size: 11px;
  color: #8b7d6e;
}

.ptc-price-request {
  font-size: 14px;
  font-weight: 600;
  color: #c9952c;
  background: rgba(201, 149, 44, 0.08);
  padding: 6px 14px;
  border-radius: 8px;
}

/* ===============================
   VIEW DETAILS BUTTON
================================ */
.ptc-action {
  flex-shrink: 0;
}

.ptc-view-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #c9952c;
  border: 1.5px solid #c9952c;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.ptc-card:hover .ptc-view-btn {
  background: #c9952c;
  color: #fff;
}

/* ===============================
   RESPONSIVE — TABLET
================================ */
@media (max-width: 1100px) {
  .ptc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===============================
   RESPONSIVE — MOBILE
================================ */
@media (max-width: 768px) {
  .ptc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ptc-card {
    display: flex;
    flex-direction: row;
    border-radius: 14px;
  }

  .ptc-card::before {
    display: none;
  }

  .ptc-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #c9952c, #e0b94f);
    border-radius: 14px 0 0 14px;
    z-index: 2;
  }

  .ptc-link {
    display: flex;
    gap: 0;
    width: 100%;
  }

  .ptc-image {
    width: 120px;
    min-width: 120px;
    aspect-ratio: auto;
    height: auto;
    border-radius: 0;
  }

  .ptc-image img {
    height: 100%;
    border-radius: 0;
  }

  .ptc-badge {
    top: 6px;
    right: auto;
    left: 6px;
    font-size: 9px;
    padding: 3px 8px;
  }

  .ptc-duration {
    bottom: 6px;
    left: 6px;
    font-size: 10px;
    padding: 3px 8px;
  }

  .ptc-body {
    padding: 12px 14px;
    flex: 1;
    min-width: 0;
  }

  .ptc-cities {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .ptc-title {
    font-size: 15px;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
  }

  .ptc-desc {
    display: none;
  }

  .ptc-meta-row {
    margin-bottom: 4px;
  }

  .ptc-stars {
    font-size: 12px;
  }

  .ptc-reviews {
    font-size: 11px;
  }

  .ptc-cancel {
    font-size: 11px;
    margin-bottom: 6px;
    padding: 4px 0;
  }

  .ptc-footer {
    padding-top: 8px;
    flex-direction: row;
    align-items: center;
  }

  .ptc-discount {
    font-size: 9px;
    padding: 1px 6px;
  }

  .ptc-new-price {
    font-size: 18px;
  }

  .ptc-old-price {
    font-size: 11px;
  }

  .ptc-per {
    font-size: 10px;
  }

  .ptc-view-btn {
    font-size: 11px;
    padding: 6px 12px;
  }
}
