/* ── Travel Packages Plugin Styles ── */
.tp-wrapper {
    font-family: 'Segoe UI', sans-serif;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
}

/* ── Search Bar ── */
.tp-search-bar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 22px 26px;
    /* box-shadow: 0 2px 16px rgba(0,0,0,0.07); */
    width: 100%;
    align-items: center;
    justify-content: center;
    justify-items: flex-start;
}

.tp-field {
    display: flex;
    flex-direction: column;
    flex: 1 1 180px;
    min-width: 160px;
}

.tp-field label {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tp-field select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #c9a84c;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.tp-field select:focus {
    border-color: #c9a84c;
}

#tp-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0f2044;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    align-self: flex-end;
}

#tp-search-btn:hover {
    background: #1a3366;
    transform: translateY(-1px);
}

#tp-search-btn:active {
    transform: translateY(0);
}

/* ── Grid ── */
.tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

/* ── Card ── */
.tp-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid #f1f5f9;
    box-shadow: none;
    transition: transform 0.25s;
    display: flex;
    flex-direction: column;
}

.tp-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

/* Image */
.tp-card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.tp-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
    clip-path: ellipse(110% 100% at 50% 0%);
}

.tp-card:hover .tp-card-img-wrap img {
    transform: scale(1.05);
}

/* Duration Badge */
.tp-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #c9a84c, #e2c060);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

/* Favourite Button */
.tp-fav {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    color: #0f2044;
}

.tp-fav:hover,
.tp-fav.active {
    background: #fff;
    color: #e74c3c;
}

/* Card Body */
.tp-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.tp-card-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f2044;
    margin: 0 0 6px;
}

.tp-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 10px;
    line-height: 1.5;
}

/* Stars */
.tp-stars {
    margin: 4px 0 10px;
    font-size: 18px;
}

.tp-star.filled {
    color: #f59e0b;
}

.tp-star.empty {
    color: #d1d5db;
}

/* Price */
.tp-from-label {
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tp-price {
    font-size: 26px;
    font-weight: 800;
    color: #0f2044;
    margin: 0 0 16px;
}

/* CTA Button */
.tp-btn {
    display: inline-block;
    background: linear-gradient(135deg, #c9a84c, #e2c060);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    align-self: center;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.tp-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ── No Results ── */
.tp-no-results {
    text-align: center;
    padding: 50px 20px;
    background: #f8fafc;
    border-radius: 16px;
    color: #64748b;
    font-size: 16px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .tp-search-bar {
        flex-direction: column;
        padding: 4px;
    }
.tp-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

    #tp-search-btn {
        width: 100%;
        justify-content: center;
    }

    .tp-grid {
        grid-template-columns: 1fr;
    }
}