/* =========================================

   TOUR DETAIL PAGE — Premium

========================================= */



/* HERO */

.td-hero {

    height: 80vh;

    min-height: 580px;

    position: relative;

    margin-top: 68px;

    display: flex;

    align-items: flex-end;

    overflow: hidden;

}



.td-hero__blur {

    position: absolute;

    inset: -20px;

    background-size: cover;

    background-position: center;

    z-index: 0;

    transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);

}



.td-hero:hover .td-hero__blur { transform: scale(1.03); }



.td-hero__overlay {

    position: absolute; inset: 0; z-index: 1;

    background: linear-gradient(

        to bottom,

        rgba(8,28,51,0.1) 0%,

        rgba(8,28,51,0.35) 50%,

        rgba(8,28,51,0.92) 100%

    );

}



.td-hero__inner {

    position: relative; z-index: 2;

    max-width: 1320px; margin: 0 auto;

    padding: 0 1.5rem 3rem; width: 100%; color: white;

}



.td-hero__breadcrumb {

    display: flex; align-items: center; gap: 0.5rem;

    font-size: 0.78rem; opacity: 0.65; margin-bottom: 1rem;

}



.td-hero__breadcrumb a { color: white; text-decoration: none; }

.td-hero__breadcrumb a:hover { opacity: 1; color: #FF8C3A; }



.td-hero__title {

    font-size: clamp(2rem, 5vw, 4rem);

    font-weight: 900; line-height: 1.05;

    letter-spacing: -0.04em; margin-bottom: 1.25rem;

    font-family: "Inter", sans-serif;

    text-shadow: 0 4px 24px rgba(0,0,0,0.3);

}



.td-hero__meta {

    display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;

}



.td-hero__meta-item {

    display: flex; align-items: center; gap: 0.4rem;

    font-size: 0.82rem;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    padding: 0.4rem 0.9rem; border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.18);

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

}



.td-hero__meta-item:hover {

    background: rgba(255,255,255,0.2);

    border-color: rgba(255,107,0,0.4);

}



.td-hero__badges {

    display: flex; gap: 0.6rem; flex-wrap: wrap;

}



.td-hero__badge {

    display: inline-flex; align-items: center; gap: 0.4rem;

    padding: 0.4rem 0.9rem; border-radius: 20px;

    font-size: 0.75rem; font-weight: 700;

    backdrop-filter: blur(12px);

}



.td-hero__badge--fire {

    background: rgba(255,107,0,0.25);

    border: 1px solid rgba(255,107,0,0.4);

    color: #FFB07A;

}



.td-hero__badge--star {

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.2);

    color: white;

}



/* BODY */

.td-body {

    background: radial-gradient(ellipse at 50% 0%, rgba(255,140,0,0.04) 0%, transparent 40%), #F4F6FA;

    padding: 3rem 1.5rem 4rem;

}



.td-body__inner {

    max-width: 1320px; margin: 0 auto;

    display: grid; grid-template-columns: 1fr 390px;

    gap: 2.5rem; align-items: start;

}



/* CARDS */

.td-card {

    background: white; border-radius: 22px; padding: 2rem;

    margin-bottom: 1.5rem; border: 1px solid rgba(0,0,0,0.06);

    box-shadow: 0 2px 16px rgba(0,0,0,0.05);

    transition: box-shadow 0.3s, transform 0.3s;

}



.td-card:hover {

    box-shadow: 0 8px 32px rgba(0,0,0,0.09);

    transform: translateY(-2px);

}



.td-card--green { border-top: 3px solid #22c55e; }

.td-card--red   { border-top: 3px solid #ef4444; }



.td-card__head {

    display: flex; align-items: center; gap: 0.75rem;

    margin-bottom: 1.5rem; padding-bottom: 1rem;

    border-bottom: 1px solid #f5f5f5;

}



.td-card__icon { font-size: 1.3rem; }



.td-card__head h2 {

    font-size: 1.15rem; font-weight: 800; color: #0A1628;

    flex: 1; font-family: "Inter", sans-serif;

}



.td-card__text { color: #555; line-height: 1.8; font-size: 0.95rem; }



/* TIMELINE */

.td-timeline { position: relative; padding-left: 1.5rem; }



.td-timeline::before {

    content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;

    width: 2px;

    background: linear-gradient(to bottom, #FF6B00, rgba(255,107,0,0.1));

}



.td-timeline__item {

    position: relative;

    padding: 0.9rem 1rem 0.9rem 1.5rem;

    margin-bottom: 0.5rem; border-radius: 14px;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

    display: grid; grid-template-columns: 90px 1fr;

    gap: 0.75rem; align-items: start;

    background: #F8F9FB; border: 1px solid #f0f0f0;

}



.td-timeline__item:hover {

    background: white; border-color: rgba(255,107,0,0.25);

    transform: translateX(6px);

    box-shadow: 0 4px 16px rgba(255,107,0,0.08);

}



.td-timeline__dot {

    position: absolute; left: -1.5rem; top: 1.2rem;

    width: 15px; height: 15px;

    background: linear-gradient(135deg, #FF6B00, #FF8C3A);

    border-radius: 50%; border: 2.5px solid white;

    box-shadow: 0 0 0 2px rgba(255,107,0,0.3);

}



.td-timeline__item--last .td-timeline__dot {

    background: #0A1628;

    box-shadow: 0 0 0 2px rgba(10,22,40,0.3);

}



.td-timeline__day {

    font-weight: 800; color: #FF6B00; font-size: 0.78rem;

    font-family: "Inter", sans-serif;

    background: rgba(255,107,0,0.1);

    padding: 3px 10px; border-radius: 20px;

    white-space: nowrap; display: inline-block;

}



.td-timeline__title {

    font-size: 0.88rem; font-weight: 700; color: #0A1628;

    margin-bottom: 3px; font-family: "Inter", sans-serif;

}



.td-timeline__desc { font-size: 0.82rem; color: #666; line-height: 1.5; }



/* EMOTIONAL BLOCK */

.td-emotions {

    display: grid; grid-template-columns: 1fr 1fr;

    gap: 0.75rem; margin-top: 0.5rem;

}



.td-emotion {

    display: flex; align-items: center; gap: 0.65rem;

    padding: 0.75rem 1rem; background: #F8F9FB;

    border-radius: 12px; border: 1px solid #f0f0f0;

    font-size: 0.85rem; color: #3a4a5c; font-weight: 500;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

}



.td-emotion:hover {

    background: #FFF8F5; border-color: rgba(255,107,0,0.15);

    color: #0A1628;

}



.td-emotion__icon { font-size: 1.2rem; flex-shrink: 0; }



/* INCLUDES GRID */

.td-includes-grid {

    display: grid; grid-template-columns: 1fr 1fr;

    gap: 1.5rem; margin-bottom: 1.5rem;

}



/* LISTS */

.td-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }



.td-list li {

    padding: 0.65rem 0; border-bottom: 1px solid #f8f8f8;

    font-size: 0.88rem; color: #444;

    display: flex; align-items: center; gap: 0.5rem;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

}



.td-list li:hover { color: #0A1628; padding-left: 0.5rem; }

.td-list--check li::before { content: "✓"; color: #22c55e; font-weight: 800; flex-shrink: 0; }

.td-list--cross li::before { content: "✗"; color: #ef4444; font-weight: 800; flex-shrink: 0; }



/* RATING */

.td-rating {

    display: flex; align-items: center; gap: 0.5rem;

    margin-left: auto; background: #FFF8F5;

    padding: 0.4rem 1rem; border-radius: 20px;

    border: 1px solid rgba(255,107,0,0.15);

}



.td-rating__stars { color: #FF6B00; font-size: 0.9rem; }

.td-rating__val { font-weight: 800; font-size: 0.9rem; color: #FF6B00; }

.td-rating__count { font-size: 0.75rem; color: #888; }



/* REVIEW CTA */

.td-review-cta {

    display: flex; align-items: center; gap: 1rem;

    background: linear-gradient(135deg, #FFF8F5, #FFF0E6);

    border: 1.5px solid rgba(255,107,0,0.2);

    border-radius: 16px; padding: 1rem 1.25rem;

    text-decoration: none; margin-bottom: 1.5rem;

    transition: all 0.25s;

}



.td-review-cta:hover {

    border-color: #FF6B00;

    box-shadow: 0 6px 20px rgba(255,107,0,0.1);

    transform: translateY(-2px);

}



.td-review-cta__icon { font-size: 1.8rem; flex-shrink: 0; }

.td-review-cta div { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }

.td-review-cta strong { font-size: 0.88rem; color: #0A1628; }

.td-review-cta span:not(.td-review-cta__icon):not(.td-review-cta__btn) { font-size: 0.75rem; color: #888; }



.td-review-cta__btn {

    padding: 0.5rem 1.1rem; background: #FF6B00; color: white !important;

    border-radius: 20px; font-size: 0.78rem; font-weight: 600;

    white-space: nowrap; flex-shrink: 0;

    box-shadow: 0 4px 12px rgba(255,107,0,0.3);

}



/* REVIEWS */

.td-reviews { display: flex; flex-direction: column; gap: 1rem; }



.td-review {

    background: #F8F9FB; border-radius: 18px; padding: 1.25rem;

    border: 1px solid #f0f0f0; transition: all 0.25s;

}



.td-review:hover {

    background: white; border-color: rgba(255,107,0,0.15);

    box-shadow: 0 6px 20px rgba(0,0,0,0.06);

    transform: translateY(-2px);

}



.td-review__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }



.td-review__avatar {

    width: 44px; height: 44px;

    background: linear-gradient(135deg, #FF6B00, #FF8C3A);

    border-radius: 50%; display: flex; align-items: center; justify-content: center;

    color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0;

    box-shadow: 0 4px 12px rgba(255,107,0,0.25);

}



.td-review__info { flex: 1; }

.td-review__info strong { display: block; font-size: 0.88rem; color: #0A1628; }

.td-review__stars { font-size: 0.8rem; color: #ddd; }

.td-review__stars .filled { color: #FF6B00; }

.td-review__date { font-size: 0.72rem; color: #aaa; }

.td-review__title { font-family: "Inter", sans-serif; font-size: 0.9rem; font-weight: 700; color: #0A1628; margin-bottom: 0.4rem; }

.td-review__text { font-family: "Inter", sans-serif; font-size: 0.85rem; color: #555; line-height: 1.6; }



.td-empty-reviews { text-align: center; padding: 3rem; color: #888; font-size: 0.9rem; }

.td-empty-reviews div { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.4; }



/* BOOKING CARD */

.td-booking {

    background: white; border-radius: 24px;

    position: static;

    border: 1px solid rgba(0,0,0,0.06);

    box-shadow: 0 16px 48px rgba(0,0,0,0.1);

    overflow: hidden;

}



.td-booking::before {

    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;

    background: linear-gradient(90deg, #FF6B00, #FF8C3A, #FF6B00);

    background-size: 200%;

    animation: gradShift 3s ease infinite;

}



@keyframes gradShift {

    0% { background-position: 0%; }

    50% { background-position: 100%; }

    100% { background-position: 0%; }

}






.td-booking__price {

    padding: 1.5rem; text-align: center;

    background: linear-gradient(135deg, #FFF8F5, #FFF0E6);

    border-bottom: 1px solid #f5f5f5;

}



.td-booking__price strong {

    font-size: 2.4rem; font-weight: 900; color: #FF6B00;

    font-family: "Inter", sans-serif; display: block; line-height: 1;

    margin: 0.25rem 0;

}



.td-booking__from { font-size: 0.78rem; color: #aaa; }

.td-booking__per { font-size: 0.78rem; color: #aaa; display: block; margin-top: 2px; }



.td-booking__spots {

    display: inline-flex; align-items: center; gap: 0.4rem;

    margin-top: 0.5rem; font-size: 0.75rem; font-weight: 700;

    padding: 3px 10px; border-radius: 20px;

}



.td-booking__spots--ok { background: rgba(34,197,94,0.1); color: #16a34a; }

.td-booking__spots--warn { background: rgba(255,107,0,0.1); color: #FF6B00; }

.td-booking__spots--none { background: rgba(239,68,68,0.1); color: #dc2626; }



.td-booking__includes {

    padding: 1.25rem 1.5rem;

    border-bottom: 1px solid #f5f5f5;

}



.td-booking__includes-title {

    font-size: 0.68rem; font-weight: 800; color: #aaa;

    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem;

}



.td-booking__includes-list {

    display: flex; flex-direction: column; gap: 0.4rem;

}



.td-booking__includes-item {

    display: flex; align-items: center; gap: 0.5rem;

    font-size: 0.8rem; color: #444;

}



.td-booking__includes-item::before {

    content: "✓"; color: #22c55e; font-weight: 800; font-size: 0.75rem; flex-shrink: 0;

}



.td-booking__info {

    display: grid; grid-template-columns: 1fr 1fr;

    gap: 0.75rem; padding: 1rem 1.5rem;

    border-bottom: 1px solid #f5f5f5;

}



.td-booking__info-item {

    display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.82rem;

}



.td-booking__info-item > span { font-size: 1.1rem; flex-shrink: 0; }

.td-booking__info-item div { display: flex; flex-direction: column; gap: 0.1rem; }

.td-booking__info-item small { color: #aaa; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.04em; }

.td-booking__info-item strong { font-size: 0.85rem; color: #0A1628; font-weight: 700; }



.td-green { color: #22c55e !important; }

.td-orange { color: #FF6B00 !important; }

.td-red { color: #ef4444 !important; }



/* CALC */

.td-booking__calc {

    background: #F8F9FB; border-radius: 14px;

    padding: 1rem; margin: 0 1rem 1rem;

}



.td-calc__row {

    display: flex; justify-content: space-between; align-items: center;

    padding: 0.6rem 0; font-size: 0.82rem; color: #555;

    border-bottom: 1px solid #efefef;

}



.td-calc__controls { display: flex; align-items: center; gap: 0.5rem; }



.td-calc__btn {

    width: 28px; height: 28px; border: 1.5px solid #e0e0e0;

    background: white; border-radius: 50%; cursor: pointer; font-size: 1rem;

    display: flex; align-items: center; justify-content: center;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1); min-height: unset; font-weight: 600;

}



.td-calc__btn:hover {

    background: #FF6B00; border-color: #FF6B00; color: white;

    box-shadow: 0 4px 12px rgba(255,107,0,0.3); transform: scale(1.1);

}



.td-calc__controls span { min-width: 24px; text-align: center; font-weight: 700; font-size: 0.9rem; }



.td-calc__total {

    display: flex; justify-content: space-between; align-items: center;

    padding: 0.75rem 0 0.25rem; font-size: 0.9rem; font-weight: 700; color: #0A1628;

}



.td-calc__total strong { font-size: 1.2rem; }



.td-calc__deposit {

    display: flex; justify-content: space-between; align-items: center;

    font-size: 0.82rem; color: #FF6B00; font-weight: 600;

    background: rgba(255,107,0,0.07); border-radius: 8px; padding: 0.4rem 0.6rem;

}



/* BOOKING BTN */

.td-booking__btn {

    display: block; width: calc(100% - 2rem); margin: 0 1rem 1rem;

    padding: 1rem; background: linear-gradient(135deg, #FF6B00, #FF8C3A);

    color: white; text-align: center; text-decoration: none;

    border-radius: 14px; font-weight: 800; font-size: 1rem;

    transition: all 0.3s cubic-bezier(0.22,1,0.36,1);

    box-shadow: 0 8px 24px rgba(255,107,0,0.35);

    font-family: "Inter", sans-serif;

}



.td-booking__btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 16px 40px rgba(255,107,0,0.5);

    color: white;

}



/* TRUST */

.td-booking__trust {

    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem;

    font-size: 0.67rem; color: #aaa;

    padding: 0.75rem 1.25rem 1.25rem;

}



/* CTA */

.td-cta {

    background: linear-gradient(135deg, #06101f 0%, #0e2040 50%, #061528 100%);

    padding: 5rem 1.5rem; text-align: center;

    position: relative; overflow: hidden;

}



.td-cta::before {

    content: ""; position: absolute; top: -100px; right: -100px;

    width: 500px; height: 500px;

    background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%);

}



.td-cta::after {

    content: ""; position: absolute; bottom: -80px; left: -80px;

    width: 400px; height: 400px;

    background: radial-gradient(circle, rgba(255,107,0,0.07) 0%, transparent 70%);

}



.td-cta__inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }



.td-cta h2 {

    font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: white;

    margin-bottom: 0.75rem; font-family: "Inter", sans-serif; letter-spacing: -0.03em;

}



.td-cta p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }



.td-cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }



.td-cta__btn {

    padding: 0.85rem 2rem; border-radius: 50px;

    font-weight: 700; text-decoration: none; transition: all 0.25s; font-size: 0.9rem;

}



.td-cta__btn--primary {

    background: #FF6B00; color: white;

    box-shadow: 0 8px 24px rgba(255,107,0,0.35);

}



.td-cta__btn--primary:hover {

    background: #e55f00; transform: translateY(-2px);

    box-shadow: 0 12px 32px rgba(255,107,0,0.45); color: white;

}



.td-cta__btn--outline { border: 1.5px solid rgba(255,255,255,0.4); color: white; }

.td-cta__btn--outline:hover { border-color: white; background: rgba(255,255,255,0.1); color: white; }



/* MOBILE */

@media (max-width: 1024px) {

    .td-body__inner { display: flex; flex-direction: column; }

    .td-right { order: -1; width: 100%; }

    .td-booking { width: 100%; box-sizing: border-box; }

    .td-booking { position: static; }

    .td-booking__info { grid-template-columns: repeat(4, 1fr); }

}



@media (max-width: 768px) {

    .td-hero { height: 65vh; min-height: 420px; margin-top: 60px; }

    .td-body { padding: 1.5rem 1rem 3rem; }

    .td-card { padding: 1.25rem; }

    .td-includes-grid { grid-template-columns: 1fr; }

    .td-booking__info { grid-template-columns: 1fr 1fr; }

    .td-card__head { flex-wrap: wrap; }

    .td-rating { margin-left: 0; width: 100%; justify-content: center; }

    .td-emotions { grid-template-columns: 1fr; }

}



@media (max-width: 480px) {

    .td-hero__title { font-size: 1.8rem; }

    .td-booking__info { grid-template-columns: 1fr 1fr; }

    .td-booking__trust { flex-direction: column; align-items: center; }

}




.td-hero__title { color: white !important; }




.td-review__rank {

    display: flex;

    align-items: center;

    gap: 0.4rem;

    margin-bottom: 3px;

}






.td-review__title-badge {

    font-size: 0.65rem;

    font-weight: 600;

    color: #8b5cf6;

    background: rgba(139,92,246,0.1);

    border: 1px solid rgba(139,92,246,0.2);

    padding: 1px 8px;

    border-radius: 20px;

}




/* ===== RANK BADGE PREMIUM ===== */

.td-review__rank-badge {

    font-size: 0.65rem !important;

    font-weight: 700 !important;

    color: white !important;

    background: linear-gradient(135deg, #FF6B00, #FF8C3A) !important;

    border: none !important;

    padding: 2px 10px !important;

    border-radius: 20px !important;

    letter-spacing: 0.03em !important;

    box-shadow: 0 2px 8px rgba(255,107,0,0.3) !important;

}



.td-review__title-badge {

    font-size: 0.65rem !important;

    font-weight: 600 !important;

    color: white !important;

    background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important;

    border: none !important;

    padding: 2px 10px !important;

    border-radius: 20px !important;

    box-shadow: 0 2px 8px rgba(139,92,246,0.3) !important;

}




/* ===== GUIDES ===== */

.td-guides { display: flex; flex-direction: column; gap: 1.25rem; }



.td-guide {

    display: flex;

    gap: 1.25rem;

    padding: 1.25rem;

    background: rgba(255,107,0,0.03);

    border: 1px solid rgba(255,107,0,0.1);

    border-radius: 16px;

    transition: all 0.25s ease;

}



.td-guide:hover { background: rgba(255,107,0,0.06); border-color: rgba(255,107,0,0.2); }



.td-guide__avatar {

    width: 72px;

    height: 72px;

    border-radius: 50%;

    background: linear-gradient(135deg, #FF6B00, #FF8C3A);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    font-weight: 800;

    color: white;

    flex-shrink: 0;

    overflow: hidden;

}



.td-guide__avatar img { width: 100%; height: 100%; object-fit: cover; }



.td-guide__name {

    font-size: 1rem;

    font-weight: 800;

    color: #0A1628;

    font-family: "Inter", sans-serif;

    margin-bottom: 2px;

}



.td-guide__pos {

    font-size: 0.75rem;

    color: #FF6B00;

    font-weight: 600;

    margin-bottom: 4px;

}



.td-guide__spec {

    font-size: 0.72rem;

    color: #888;

    margin-bottom: 6px;

}



.td-guide__meta {

    display: flex;

    gap: 0.75rem;

    flex-wrap: wrap;

    font-size: 0.7rem;

    color: #aaa;

    margin-bottom: 6px;

}



.td-guide__meta span { display: flex; align-items: center; gap: 3px; }



.td-guide__bio {

    font-size: 0.78rem;

    color: #666;

    line-height: 1.5;

    margin: 0;

}



/* ===== ROUTE TIMELINE ===== */

.td-route-timeline {

    display: flex;

    flex-direction: column;

    gap: 0;

    position: relative;

}



.td-route-timeline::before {

    content: '';

    position: absolute;

    left: 28px;

    top: 0;

    bottom: 0;

    width: 2px;

    background: rgba(255,107,0,0.15);

}



.td-route-day {

    display: flex;

    gap: 1.25rem;

    padding: 0.875rem 0;

    align-items: flex-start;

    position: relative;

}



.td-route-day__num {

    width: 40px;

    height: 40px;

    background: linear-gradient(135deg, #FF7A00, #FF5C00);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 0.7rem;

    font-weight: 800;

    color: white;

    flex-shrink: 0;

    z-index: 1;

    box-shadow: 0 4px 12px rgba(255,107,0,0.25);

}



.td-route-day__title {

    font-size: 0.92rem;

    font-weight: 700;

    color: #0A1628;

    margin-bottom: 4px;

    font-family: "Inter", sans-serif;

}



.td-route-day__desc {

    font-size: 0.8rem;

    color: #666;

    line-height: 1.5;

    margin-bottom: 6px;

}



.td-route-day__meta {

    display: flex;

    gap: 0.75rem;

    flex-wrap: wrap;

    font-size: 0.7rem;

    color: #aaa;

}



.td-route-day__meta span { display: flex; align-items: center; gap: 3px; }



.td-card__badge {

    background: rgba(255,107,0,0.1);

    color: #FF6B00;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 3px 10px;

    border-radius: 999px;

    margin-left: auto;

}



/* ===== FAQ ===== */

.td-faq { display: flex; flex-direction: column; gap: 0; }



.td-faq__item {

    border-bottom: 1px solid rgba(0,0,0,0.06);

    cursor: pointer;

    transition: background 0.18s;

}



.td-faq__item:last-child { border-bottom: none; }

.td-faq__item:hover { background: rgba(255,107,0,0.02); }



.td-faq__q {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0.875rem 0.5rem;

    font-size: 0.88rem;

    font-weight: 700;

    color: #0A1628;

    gap: 1rem;

}



.td-faq__arrow { flex-shrink: 0; transition: transform 0.25s ease; color: #aaa; }

.td-faq__item.open .td-faq__arrow { transform: rotate(180deg); color: #FF6B00; }



.td-faq__a {

    display: none;

    padding: 0 0.5rem 0.875rem;

    font-size: 0.85rem;

    color: #555;

    line-height: 1.7;

}



.td-faq__item.open .td-faq__a { display: block; }



/* ===== TRAVELER GALLERY ===== */

.td-traveler-gallery {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0.75rem;

}



.td-traveler-photo {

    border-radius: 12px;

    overflow: hidden;

    position: relative;

    aspect-ratio: 1;

    cursor: pointer;

    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);

}



.td-traveler-photo:hover { transform: scale(1.04); }



.td-traveler-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);

}



.td-traveler-photo:hover img { transform: scale(1.08); }



.td-traveler-photo__overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top, rgba(8,28,51,0.85) 0%, transparent 60%);

    opacity: 0;

    transition: opacity 0.3s ease;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 0.75rem;

}



.td-traveler-photo:hover .td-traveler-photo__overlay { opacity: 1; }



.td-traveler-photo__author {

    font-size: 0.72rem;

    font-weight: 700;

    color: white;

}



.td-traveler-photo__caption {

    font-size: 0.65rem;

    color: rgba(255,255,255,0.7);

}



@media (max-width: 600px) {

    .td-traveler-gallery { grid-template-columns: repeat(3, 1fr); }

    .td-guide { flex-direction: column; }

}




/* ===== TOUR DETAIL PREMIUM UPGRADE ===== */



/* Улучшенный hero с parallax эффектом */

.td-hero {

    height: 85vh !important;

}



.td-hero__inner {

    padding-bottom: 4rem !important;

}



/* Floating stats bar под hero */

.td-stats-bar {

    background: white;

    border-bottom: 1px solid rgba(0,0,0,0.06);

    position: sticky;

    top: 84px;

    z-index: 80;

    box-shadow: 0 2px 12px rgba(0,0,0,0.06);

}



.td-stats-bar__inner {

    max-width: 1320px;

    margin: 0 auto;

    padding: 0 1.5rem;

    display: flex;

    align-items: center;

    gap: 0;

    overflow-x: auto;

    scrollbar-width: none;

}



.td-stats-bar__inner::-webkit-scrollbar { display: none; }



.td-stats-bar__item {

    display: flex;

    align-items: center;

    gap: 0.6rem;

    padding: 0.875rem 1.5rem;

    flex-shrink: 0;

    border-right: 1px solid rgba(0,0,0,0.06);

}



.td-stats-bar__item:last-child { border-right: none; margin-left: auto; }



.td-stats-bar__item .lucide { color: #FF6B00; }



.td-stats-bar__item span {

    font-size: 0.62rem;

    font-weight: 600;

    color: #aaa;

    text-transform: uppercase;

    letter-spacing: 0.06em;

    display: block;

}



.td-stats-bar__item strong {

    font-size: 0.88rem;

    font-weight: 700;

    color: #0A1628;

    display: block;

}



/* Улучшенная карточка бронирования */

.td-booking {

    box-shadow: 0 24px 64px rgba(0,0,0,0.14) !important;

}



/* Wishlist кнопка */

.td-wishlist-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    width: calc(100% - 2rem);

    margin: 0 1rem 1rem;

    padding: 0.75rem;

    border: 1.5px solid rgba(0,0,0,0.1);

    border-radius: 14px;

    background: white;

    font-size: 0.82rem;

    font-weight: 600;

    color: #555;

    cursor: pointer;

    font-family: inherit;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

}



.td-wishlist-btn:hover {

    border-color: #ef4444;

    color: #ef4444;

    background: rgba(239,68,68,0.04);

}



.td-wishlist-btn.active {

    border-color: #ef4444;

    background: rgba(239,68,68,0.08);

    color: #dc2626;

}



/* Premium карточка описания */

.td-about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0.75rem;

    margin-top: 1.25rem;

}



.td-about-fact {

    display: flex;

    align-items: center;

    gap: 0.6rem;

    padding: 0.75rem 1rem;

    background: rgba(255,107,0,0.03);

    border: 1px solid rgba(255,107,0,0.1);

    border-radius: 12px;

    font-size: 0.8rem;

    color: #444;

    font-weight: 500;

}



.td-about-fact .lucide { color: #FF6B00; flex-shrink: 0; }



/* Улучшенная программа тура */

.td-timeline__item {

    grid-template-columns: 100px 1fr !important;

}



/* Premium includes */

.td-includes-grid {

    gap: 1rem !important;

}



/* Счётчик просмотров */

.td-view-count {

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

    font-size: 0.72rem;

    color: rgba(255,255,255,0.5);

    background: rgba(255,255,255,0.08);

    padding: 4px 12px;

    border-radius: 999px;

    margin-top: 0.75rem;

}



/* Улучшенная навигация по странице */

.td-nav-tabs {

    display: flex;

    gap: 0;

    background: white;

    border-radius: 0;

    overflow-x: auto;

    scrollbar-width: none;

}



.td-nav-tab {

    padding: 0.875rem 1.25rem;

    font-size: 0.82rem;

    font-weight: 600;

    color: #888;

    cursor: pointer;

    border-bottom: 2px solid transparent;

    transition: all 0.22s ease;

    white-space: nowrap;

    text-decoration: none;

}



.td-nav-tab:hover { color: #FF6B00; }

.td-nav-tab.active { color: #FF6B00; border-bottom-color: #FF6B00; }



@media (max-width: 768px) {

    .td-about-grid { grid-template-columns: 1fr; }

    .td-stats-bar { top: 58px; }

}




/* Guide avatar fallback — letter avatar */

.td-guide__avatar {

    width: 72px;

    height: 72px;

    border-radius: 50%;

    overflow: hidden;

    flex-shrink: 0;

    background: linear-gradient(135deg, #FF7A00, #FF5C00);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    font-weight: 900;

    color: white;

    font-family: "Inter", sans-serif;

}



.td-guide__avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}




/* ── Guaranteed departure ── */

.td-booking__guaranteed {

  display: flex;

  align-items: center;

  gap: 0.4rem;

  font-size: 0.8rem;

  font-weight: 600;

  color: #2563eb;

  background: rgba(59,130,246,0.08);

  border: 1px solid rgba(59,130,246,0.2);

  border-radius: 8px;

  padding: 6px 10px;

  margin-top: 0.5rem;

}



.td-booking__guaranteed--pending {

  color: #d97706;

  background: rgba(245,158,11,0.08);

  border-color: rgba(245,158,11,0.2);

}




/* ── Waitlist ── */

.td-waitlist {

  margin-top: 0.75rem;

  padding: 1rem;

  background: rgba(255,107,0,0.05);

  border: 1px solid rgba(255,107,0,0.15);

  border-radius: 12px;

}



.td-waitlist__count {

  font-size: 0.78rem;

  color: #666;

  margin: 0 0 0.75rem;

  max-width: none;

}



.td-waitlist__form {

  display: flex;

  flex-direction: column;

  gap: 0.5rem;

}



.td-waitlist__input {

  width: 100%;

  padding: 8px 12px;

  border: 1.5px solid rgba(0,0,0,0.1);

  border-radius: 8px;

  font-size: 0.85rem;

  outline: none;

  transition: border-color 0.2s;

}

.td-waitlist__input:focus { border-color: #FF6B00; }



.td-waitlist__btn {

  width: 100%;

  padding: 10px;

  background: #FF6B00;

  color: #fff;

  border: none;

  border-radius: 8px;

  font-size: 0.85rem;

  font-weight: 700;

  cursor: pointer;

  transition: background 0.2s;

}

.td-waitlist__btn:hover { background: #e55f00; }



.td-waitlist__success {

  display: flex;

  align-items: center;

  gap: 0.5rem;

  font-size: 0.85rem;

  color: #16a34a;

  font-weight: 600;

}




/* ── Capacity Progress Bar ── */

.td-capacity-progress {

  margin-top: 1rem;

  padding: 0.85rem 1rem;

  background: #f8f9fb;

  border-radius: 10px;

  border: 1px solid rgba(0,0,0,0.06);

}



.td-capacity-progress__header {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 0.5rem;

}



.td-capacity-progress__label {

  font-size: 0.78rem;

  font-weight: 600;

  color: #444;

}



.td-capacity-progress__nums {

  font-size: 0.75rem;

  font-weight: 700;

  color: #888;

}



.td-capacity-progress__bar {

  height: 6px;

  background: rgba(0,0,0,0.08);

  border-radius: 999px;

  overflow: hidden;

  margin-bottom: 0.4rem;

}



.td-capacity-progress__fill {

  height: 100%;

  border-radius: 999px;

  transition: width 0.8s cubic-bezier(0.22,1,0.36,1);

}



.td-capacity-progress__fill--normal     { background: #22c55e; }

.td-capacity-progress__fill--guaranteed { background: #3b82f6; }

.td-capacity-progress__fill--warning    { background: #f59e0b; }

.td-capacity-progress__fill--danger     { background: #ef4444; }



.td-capacity-progress__sub {

  font-size: 0.7rem;

  color: #999;

}




/* ── Mobile fixes 375px ── */

@media (max-width: 375px) {

  .td-hero__title { font-size: 1.5rem !important; }

  .td-booking__price strong { font-size: 1.6rem !important; }

  .td-capacity-progress { padding: 0.65rem 0.75rem !important; }

  .td-waitlist { padding: 0.75rem !important; }

  .td-booking__info { grid-template-columns: 1fr !important; }

}



@media (max-width: 599px) {

  .td-hero { min-height: 60vh !important; }

  .td-content { padding: 1rem !important; }

  .td-section { padding: 1.5rem 1rem !important; }

  .td-booking { position: static !important; width: 100% !important; margin-top: 1.5rem !important; }

  .td-route-grid { grid-template-columns: 1fr !important; }

  .td-highlights-grid { grid-template-columns: 1fr 1fr !important; }

  .td-gallery { grid-template-columns: 1fr 1fr !important; }

}




/* ── Departures selector ── */

.td-departures {

  margin-bottom: 1.25rem;

  border: 1.5px solid rgba(0,0,0,0.08);

  border-radius: 14px;

  overflow: hidden;

}



.td-departures__title {

  display: flex;

  align-items: center;

  gap: 0.5rem;

  padding: 0.75rem 1rem;

  font-size: 0.78rem;

  font-weight: 700;

  color: #666;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  background: #f8f9fb;

  border-bottom: 1px solid rgba(0,0,0,0.06);

}



.td-departures__list {

  max-height: 280px;

  overflow-y: auto;

}



.td-departure {

  display: flex;

  flex-direction: column;

  gap: 0.25rem;

  padding: 0.75rem 1rem;

  cursor: pointer;

  border-bottom: 1px solid rgba(0,0,0,0.05);

  transition: background 0.15s;

  position: relative;

}

.td-departure:last-child { border-bottom: none; }

.td-departure:hover { background: rgba(255,107,0,0.04); }

.td-departure--selected {

  background: rgba(255,107,0,0.08) !important;

  border-left: 3px solid #FF6B00;

}

.td-departure--full {

  opacity: 0.6;

  cursor: default;

}



.td-departure__date {

  font-size: 0.85rem;

  font-weight: 600;

  color: #0A1628;

}



.td-departure__info {

  display: flex;

  align-items: center;

  justify-content: space-between;

}



.td-departure__price {

  font-size: 0.88rem;

  font-weight: 700;

  color: #FF6B00;

}



.td-departure__spots {

  font-size: 0.72rem;

  font-weight: 600;

  padding: 2px 8px;

  border-radius: 999px;

}

.td-departure__spots--ok { background: rgba(34,197,94,0.1); color: #16a34a; }

.td-departure__spots--warn { background: rgba(245,158,11,0.1); color: #d97706; }

.td-departure__spots--none { background: rgba(0,0,0,0.06); color: #999; }



.td-departure__badge {

  font-size: 0.65rem;

  font-weight: 700;

  color: #2563eb;

  text-transform: uppercase;

  letter-spacing: 0.08em;

}




/* ── Departure badges ── */

.td-departure__badges {

  display: flex;

  flex-wrap: wrap;

  gap: 4px;

  margin-top: 4px;

}



.td-dep-badge {

  font-size: 0.65rem;

  font-weight: 600;

  padding: 2px 7px;

  border-radius: 999px;

  white-space: nowrap;

}



.td-dep-badge--fire { background: rgba(239,68,68,0.12); color: #dc2626; font-weight: 700; }

.td-dep-badge--warn { background: rgba(245,158,11,0.1); color: #d97706; }

.td-dep-badge--ok { background: rgba(34,197,94,0.12); color: #16a34a; }

.td-dep-badge--social { background: rgba(107,114,128,0.1); color: #555; }

.td-dep-badge--full { background: rgba(0,0,0,0.06); color: #999; }




/* ── Новые бейджи выездов ── */

.td-dep-badge--popular {

  background: rgba(255,107,0,0.12);

  color: #FF6B00;

  font-weight: 700;

}



.td-dep-badge--forming {

  background: rgba(245,158,11,0.1);

  color: #b45309;

}




/* === STICKY BOOKING FIX: stretch right column so sidebar has scroll room === */

@media (min-width: 1025px) {

    .td-body__inner > .td-right { align-self: stretch; }

}

/* === /STICKY BOOKING FIX === */




/* === STICKY BOOKING: stand below sticky stats-bar (84+67=151) === */

@media (min-width: 1025px) {

    .td-booking { position: static; }

}

/* === /STICKY BOOKING below stats-bar === */









/* === STATS-BAR: сетка вместо горизонтального скролла на мобильном === */

@media (max-width: 768px) {

    .td-stats-bar__inner {

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 0;

        overflow-x: visible;

        padding: 0;

    }

    .td-stats-bar__item {

        flex-shrink: 1;

        padding: 0.7rem 1rem;

        border-right: 1px solid rgba(0,0,0,0.06);

        border-bottom: 1px solid rgba(0,0,0,0.06);

    }

    .td-stats-bar__item:nth-child(2n) { border-right: none; }

    .td-stats-bar__item:last-child { margin-left: 0; }

    .td-stats-bar__item strong { font-size: 0.82rem; }

}

/* === /STATS-BAR mobile grid === */





/* tour-articles: hover only image (зум фона, текст статичен) */

.tour-articles-section .jm-card { transition: box-shadow 0.35s ease; }

.tour-articles-section .jm-card:hover { transform: none; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

/* отключаем transform-зум контейнера (он тащил текст) */

.tour-articles-section .jm-card:hover .jm-card__img { transform: none; }

/* зумим только фоновую картинку через background-size */

.tour-articles-section .jm-card__img { background-size: 100% 100%; transition: background-size 0.5s cubic-bezier(0.22,1,0.36,1); }

.tour-articles-section .jm-card:hover .jm-card__img { background-size: 108% 108%; }

