/* Override legacy .tour-card styles */
.tour-card.tour-package-card {
    overflow: visible;
}

.tour-card.tour-package-card .tour-card-body,
.tour-card.tour-package-card .tour-card-image,
.tour-card.tour-package-card .tour-card-title,
.tour-card.tour-package-card .tour-card-route,
.tour-card.tour-package-card .tour-card-actions {
    all: unset;
}
.tours-section--packages {
    position: relative;
    overflow: hidden;
    background: #faf8f4;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(26, 61, 50, 0.04) 0%, transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(230, 138, 62, 0.05) 0%, transparent 38%);
}

.tours-section--packages.tours-section--rajasthan,
.tours-section--packages.tours-section--honeymoon,
.tours-section--packages.tours-section--wildlife,
.tours-section--packages.tours-section--jaipur {
    background: #fff;
}

.tours-section-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.14;
    z-index: 0;
}

.tours-section-deco--plane {
    top: 2.5rem;
    right: 6%;
    width: 72px;
    height: 72px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231a3d32' stroke-width='1.5'%3E%3Cpath d='M8 32h20l4-10 18-6-6 14 4 10-12-4-8 6z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.tours-section-deco--compass {
    bottom: 4rem;
    left: 4%;
    width: 56px;
    height: 56px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c9922e' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='26'/%3E%3Cpath d='M32 10v22l12 7M32 32l-10 14M32 32l14-8'/%3E%3C/svg%3E") center/contain no-repeat;
}

.tours-section--packages .tours-carousel {
    overflow-x: hidden;
    overflow-y: visible;
}

.tours-section--packages .tours-track {
    align-items: stretch;
}

.tours-section--packages .tours-section-inner {
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.tours-pkg-header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.tours-pkg-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 0.55rem;
    font-family: "Great Vibes", cursive;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    color: #c9922e;
    line-height: 1.2;
}

.tours-pkg-eyebrow-line {
    display: block;
    width: clamp(2rem, 8vw, 4.5rem);
    height: 1px;
    background: #c9922e;
    position: relative;
}

.tours-pkg-eyebrow-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #c9922e;
    border-right: 1.5px solid #c9922e;
    transform: translateY(-50%) rotate(45deg);
}

.tours-pkg-eyebrow-line:first-child::after { right: -2px; }
.tours-pkg-eyebrow-line:last-child::after { left: -2px; transform: translateY(-50%) rotate(-135deg); }

.tours-pkg-heading { line-height: 1.15; margin-bottom: 0.45rem; }

.tours-pkg-heading-main {
    display: block;
    font-family: "Cinzel", serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #1a3d32;
    letter-spacing: 0.02em;
}

.tours-pkg-heading-sub {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 500;
    color: #8a8278;
    margin-top: 0.3rem;
}

.tours-pkg-tagline {
    font-size: clamp(0.82rem, 1.5vw, 0.95rem);
    color: #9a9288;
    max-width: 34rem;
    margin: 0 auto;
    line-height: 1.55;
}

.tours-pkg-header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.1rem;
    gap: 0;
}

.tours-pkg-header-divider::before,
.tours-pkg-header-divider::after {
    content: '';
    width: clamp(3rem, 12vw, 6rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 146, 46, 0.45), transparent);
}

.tours-pkg-header-divider span {
    width: 8px;
    height: 8px;
    background: #c9922e;
    transform: rotate(45deg);
    margin: 0 0.6rem;
    flex-shrink: 0;
}

/* ── Card shell ── */
.tour-package-card {
    flex: 0 0 calc((100% - 2 * clamp(0.85rem, 2vw, 1.25rem)) / 3);
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 12px 36px rgba(26, 61, 50, 0.09);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(26, 61, 50, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tour-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(26, 61, 50, 0.14);
}

/* ── Image top ── */
.tour-pkg-top {
    position: relative;
    flex-shrink: 0;
}

.tour-pkg-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.tour-pkg-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
    display: block;
}

.tour-package-card:hover .tour-pkg-image-wrap img {
    transform: scale(1.05);
}

/* Torn brush-stroke edge — overlays image bottom */
.tour-pkg-edge {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 56px;
    z-index: 4;
    pointer-events: none;
    object-fit: fill;
    display: block;
}

/* Floating monument icon — sits in center notch */
.tour-pkg-float-icon {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
}

.tour-package-card--v0 .tour-pkg-float-icon,
.tour-package-card--v1 .tour-pkg-float-icon {
    background: #1a3d32;
}

.tour-package-card--v2 .tour-pkg-float-icon {
    background: #c45a28;
}

.tour-pkg-float-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.4;
}

/* Ribbon */
.tour-pkg-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 54px;
    padding: 0.6rem 0.3rem 0.85rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 91%, 0 100%);
}

.tour-pkg-ribbon--gold { background: linear-gradient(180deg, #d4a017 0%, #a67c00 100%); }
.tour-pkg-ribbon--teal { background: linear-gradient(180deg, #1a8a7a 0%, #126b5e 100%); }
.tour-pkg-ribbon--orange { background: linear-gradient(180deg, #e07040 0%, #c04020 100%); }

.tour-pkg-ribbon-num {
    font-family: "Cinzel", serif;
    font-size: 1.1rem;
    line-height: 1;
}

.tour-pkg-ribbon-label {
    font-size: 0.46rem;
    letter-spacing: 0.07em;
    line-height: 1.3;
    margin-top: 0.15rem;
    text-transform: uppercase;
}

.tour-pkg-ribbon svg {
    width: 11px;
    height: 11px;
    margin-top: 0.2rem;
    fill: currentColor;
}

/* Wishlist heart */
.tour-pkg-wish {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 3;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #ccc;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: color 0.2s;
}

.tour-pkg-wish svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #e04545;
    stroke-width: 1.6;
}

.tour-pkg-wish.is-active svg {
    fill: #e04545;
}

/* ── Card body — ALL CENTER ── */
.tour-pkg-body {
    padding: 1.65rem 0.85rem 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
    text-align: center;
}

.tour-pkg-title {
    font-family: "Cinzel", serif;
    font-size: clamp(0.88rem, 1.6vw, 1.02rem);
    font-weight: 700;
    color: #1a3d32;
    line-height: 1.35;
    margin: 0;
    text-align: center;
}

.tour-pkg-route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: clamp(0.68rem, 1.3vw, 0.78rem);
    color: #8a8278;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.tour-pkg-route svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    fill: #2d8a4e;
}

/* Stats row with vertical dividers */
.tour-pkg-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0.65rem 0 0.75rem;
    padding: 0.65rem 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='60' viewBox='0 0 400 60'%3E%3Cpath d='M0 30 Q50 20 100 35 T200 28 T300 38 T400 25' fill='none' stroke='%23e8e4de' stroke-width='0.5' opacity='0.6'/%3E%3C/svg%3E") center / 100% auto no-repeat;
}

.tour-pkg-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    padding: 0 0.15rem;
    border-right: 1px solid #ebe7e0;
}

.tour-pkg-stat:last-child {
    border-right: none;
}

.tour-pkg-stat svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #1a3d32;
    stroke-width: 1.3;
    margin-bottom: 0.1rem;
}

.tour-pkg-stat strong {
    font-size: clamp(0.68rem, 1.2vw, 0.76rem);
    font-weight: 700;
    color: #1a3d32;
    line-height: 1.2;
    white-space: nowrap;
}

.tour-pkg-stat-label {
    font-size: 0.52rem;
    color: #aaa49a;
    line-height: 1.15;
    text-transform: capitalize;
}

/* ── Action buttons with brush smear behind ── */
.tour-pkg-actions-wrap {
    position: relative;
    margin-top: auto;
    padding: 0.85rem 0.35rem 0.15rem;
}

.tour-pkg-actions-brush {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 108%;
    height: 46px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.tour-pkg-actions-wrap--orange .tour-pkg-actions-brush {
    background-image: url('../images/ui/brush-smear-orange.svg');
}

.tour-pkg-actions-wrap--green .tour-pkg-actions-brush {
    background-image: url('../images/ui/brush-smear-green.svg');
}

.tour-pkg-actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    align-items: center;
}

.tour-pkg-btn--left {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 36px;
    padding: 0.4rem 0.55rem;
    font-family: inherit;
    font-size: clamp(0.5rem, 0.95vw, 0.6rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 999px;
}

.tour-pkg-btn--left svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
}

.tour-pkg-btn--left-solid {
    background: #1a3d32;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(26, 61, 50, 0.28);
}

.tour-pkg-btn--left-solid:hover {
    background: #134830;
    transform: translateY(-1px);
}

.tour-pkg-btn--left-ghost {
    background: #fff;
    color: #1a3d32;
    border: 1.5px solid #333;
}

.tour-pkg-btn--left-ghost:hover { background: #fafafa; }

.tour-pkg-btn--left-ghost-orange {
    background: #fff;
    color: #c45a28;
    border: 1.5px solid #d17a38;
}

.tour-pkg-btn--left-ghost-orange:hover { background: #fff8f3; }

.tour-pkg-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: 36px;
    width: 100%;
    padding: 0 3px 0 0;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.tour-pkg-cta--orange {
    background: linear-gradient(135deg, #e68a3e 0%, #c45a28 100%);
}

.tour-pkg-cta--green {
    background: linear-gradient(135deg, #1a5c3e 0%, #1a3d32 100%);
}

.tour-pkg-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.tour-pkg-cta-text {
    flex: 1;
    text-align: center;
    font-size: clamp(0.48rem, 0.9vw, 0.58rem);
    line-height: 1.15;
    padding: 0 0.35rem 0 0.55rem;
}

.tour-pkg-cta-knob {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-right: 1px;
}

.tour-pkg-cta--orange .tour-pkg-cta-knob { color: #c45a28; }
.tour-pkg-cta--green .tour-pkg-cta-knob { color: #1a3d32; }

.tour-pkg-cta-knob svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* ── Help bar ── */
.tours-help-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1.1rem);
    width: 100%;
    max-width: min(680px, 88%);
    margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
    padding: clamp(0.75rem, 1.8vw, 1rem) clamp(1rem, 2vw, 1.25rem);
    background: #faf8f4;
    border: 1px solid rgba(26, 61, 50, 0.1);
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(26, 61, 50, 0.06);
}

.tours-help-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    color: #1a3d32;
}

.tours-help-icon svg { width: 100%; height: 100%; }

.tours-help-text {
    flex: 1;
    min-width: 0;
    font-size: clamp(0.72rem, 1.2vw, 0.84rem);
    color: #5c5348;
    line-height: 1.45;
    margin: 0;
    text-align: center;
}

.tours-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.6rem 0.75rem 0.6rem 1.15rem;
    background: #1a3d32;
    color: #fff;
    border-radius: 999px;
    font-size: clamp(0.65rem, 1.1vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.tours-help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 61, 50, 0.28);
}

.tours-help-btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: #1a3d32;
    display: grid;
    place-items: center;
}

.tours-help-btn-icon svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* Nav */
.tours-section--packages .tours-nav-btn {
    background: #fff;
    border: 1px solid rgba(26, 61, 50, 0.1);
    color: #1a3d32;
    box-shadow: 0 4px 16px rgba(26, 61, 50, 0.08);
}

.tours-section--packages .tours-nav-btn:hover {
    background: #1a3d32;
    color: #fff;
}

.tours-section--packages .tours-dot.active {
    background: #1a3d32;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tour-package-card {
        flex: 0 0 calc((100% - clamp(0.85rem, 2vw, 1.25rem)) / 2);
    }
}

@media (max-width: 768px) {
    .tours-help-bar {
        flex-direction: column;
        max-width: min(520px, 92%);
        text-align: center;
        border-radius: 20px;
        padding: 1rem 1.1rem;
    }

    .tours-help-text {
        text-align: center;
    }

    .tours-help-btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
    .tour-package-card { flex: 0 0 100%; }

    .tour-pkg-actions-wrap { padding-bottom: 0.5rem; }
    .tour-pkg-actions { grid-template-columns: 1fr; gap: 0.5rem; }

    .tours-section-deco { display: none; }
}

@media (max-width: 380px) {
    .tour-pkg-stats { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
    .tour-pkg-stat { border-right: none; border-bottom: 1px solid #ebe7e0; padding-bottom: 0.4rem; }
    .tour-pkg-stat:nth-child(3),
    .tour-pkg-stat:nth-child(4) { border-bottom: none; }
}
