/* Tour Booking for WooCommerce - Public Styles */

/* ── Tour Grid ─────────────────────────────────── */
.tb-tour-grid {
    display: grid;
    gap: 24px;
    margin: 20px 0;
}
.tb-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.tb-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .tb-tour-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 1024px) {
    .tb-cols-3, .tb-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

.tb-tour-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tb-tour-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.tb-tour-card .tb-tour-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.tb-tour-card-body {
    padding: 16px;
}
.tb-tour-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.tb-badge {
    background: #1a73e8;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}
.tb-duration {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tb-tour-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}
.tb-tour-title a { color: #1e293b; text-decoration: none; }
.tb-tour-title a:hover { color: #1a73e8; }
.tb-tour-excerpt { color: #64748b; font-size: 13px; margin: 0 0 12px; }
.tb-tour-price { font-size: 18px; font-weight: 700; color: #1a73e8; margin-bottom: 12px; }
.tb-btn-book {
    display: inline-block;
    background: #1a73e8;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.tb-btn-book:hover { background: #1558b0; color: #fff !important; }

/* ── Booking Calendar ─────────────────────────── */
.tb-booking-calendar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 10px;
    margin: 20px 0;
}
.tb-booking-calendar h4 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}
.tb-fixed-dates {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 12px;
    border-radius: 6px;
}
.tb-fixed-dates p { margin: 4px 0; }

/* ── Guest Pricing ────────────────────────────── */
.tb-guest-pricing {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 10px;
    margin: 20px 0;
}
.tb-guest-pricing h4 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.tb-guest-table { width: 100%; border-collapse: collapse; }
.tb-guest-table th, .tb-guest-table td {
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
}
.tb-guest-table thead { background: #f1f5f9; }
.tb-guest-total { margin-top: 12px; font-size: 16px; }

/* ── Extra Services ───────────────────────────── */
.tb-extra-services {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 10px;
    margin: 20px 0;
}
.tb-extra-services h4 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }

/* ── Deposit Choice ───────────────────────────── */
.tb-deposit-choice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 14px;
    border-radius: 8px;
    margin: 20px 0;
}
.tb-deposit-choice h4 { margin: 0 0 10px; }
.tb-deposit-choice label { display: block; margin-bottom: 6px; cursor: pointer; }

/* ── Itinerary Tab ────────────────────────────── */
.tb-itinerary-frontend .tb-day {
    border-left: 3px solid #1a73e8;
    padding-left: 16px;
    margin-bottom: 20px;
}
.tb-itinerary-frontend .tb-day h4 {
    color: #1a73e8;
    margin: 0 0 8px;
    font-size: 15px;
}

/* ── Inclusions Tab ───────────────────────────── */
.tb-inclusions ul { list-style: none; padding: 0; }
.tb-inclusions li { padding: 4px 0; }
.tb-inclusions h4 { margin: 16px 0 8px; }

/* ── Shortcode: Itinerary ─────────────────────── */
.tb-itinerary-sc .tb-day-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}
.tb-day-title {
    color: #1a73e8;
    font-size: 15px;
    margin: 0 0 8px;
}

/* ── Checkout Fields ──────────────────────────── */
.tb-checkout-fields {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.tb-checkout-fields h3 { margin: 0 0 16px; }

/* ── Map ──────────────────────────────────────── */
.tb-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

/* ── Highlights List ──────────────────────────── */
.tb-highlights-list {
    list-style: none;
    padding: 0;
    columns: 2;
}
.tb-highlights-list li {
    padding: 6px 0 6px 24px;
    position: relative;
}
.tb-highlights-list li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    position: absolute;
    left: 0;
}

@media (max-width: 600px) {
    .tb-highlights-list { columns: 1; }
}
