/* TripOoty Tour Packages v2.0 — responsive premium UI */
.tripooty-tour-page{
    --to-red:#F10D16;
    --to-black:#080808;
    --to-muted:#707070;
    --to-border:#e8e8e8;
    --to-bg:#fff;
    width:100%;
    overflow:hidden;
    background:#fff;
    font-family:inherit;
}
.to-hero{
    position:relative;
    min-height:500px;
    display:flex;
    align-items:flex-end;
    background:
        linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.48) 45%,rgba(0,0,0,.08) 100%),
        var(--to-hero-image),
        linear-gradient(120deg,#15291d,#5e8f69);
    background-size:cover;
    background-position:center;
    color:#fff;
}
.to-hero-inner{
    position:relative;
    z-index:2;
    width:min(1240px,100%);
    margin:auto;
    padding:75px 22px 48px;
}
.to-hero-copy{max-width:650px}
.to-kicker{
    display:inline-block;
    font-size:12px;
    font-weight:900;
    letter-spacing:1.7px;
    margin-bottom:13px;
    opacity:.95;
}
.to-hero h1{
    margin:0;
    font-size:clamp(48px,7vw,92px);
    line-height:.83;
    letter-spacing:-4px;
    font-weight:900;
}
.to-hero h1 strong{display:inline-block;font-weight:950;text-shadow:0 7px 0 rgba(0,0,0,.22)}
.to-hero h1 em{
    display:inline-block;
    color:#ffd400;
    font-family:cursive;
    font-size:.68em;
    font-weight:500;
    transform:rotate(-5deg);
    margin-left:-8px;
}
.to-hero p{
    margin:22px 0;
    font-size:17px;
    font-weight:600;
}
.to-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.to-hero-btn,.to-hero-ghost{
    text-decoration:none!important;
    padding:14px 21px;
    border-radius:999px;
    font-weight:900;
    display:inline-flex;
    align-items:center;
    gap:8px;
}
.to-hero-btn{background:var(--to-red);color:#fff!important}
.to-hero-ghost{border:1.5px solid #fff;color:#fff!important;background:rgba(255,255,255,.1)}
.to-hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:35px;
}
.to-hero-badges span{
    padding:9px 12px;
    background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.3);
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    backdrop-filter:blur(8px);
}
.tripooty-tours{
    max-width:1240px;
    margin:0 auto;
    padding:46px 20px 30px;
}
.to-heading-row{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:22px;
    margin-bottom:22px;
}
.to-heading-row h2{
    margin:0;
    color:var(--to-black);
    font-size:clamp(30px,4vw,46px);
    line-height:1;
    letter-spacing:-1.8px;
    font-weight:950;
}
.to-heading-row h2 span{color:var(--to-red)}
.to-heading-row p{margin:9px 0 0;color:var(--to-muted);font-size:15px}
.to-outline-btn{
    border:1.5px solid var(--to-red);
    color:var(--to-red)!important;
    padding:12px 18px;
    border-radius:999px;
    text-decoration:none!important;
    font-weight:900;
    white-space:nowrap;
}
.to-outline-btn:hover{background:var(--to-red);color:#fff!important}
.to-tabs{
    display:flex;
    gap:5px;
    padding:6px;
    margin-bottom:26px;
    border:1px solid var(--to-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 28px rgba(0,0,0,.06);
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}
.to-tabs::-webkit-scrollbar{display:none}
.to-tabs a{
    flex:0 0 auto;
    padding:12px 15px;
    border-radius:13px;
    color:#161616!important;
    text-decoration:none!important;
    font-size:13px;
    font-weight:900;
    white-space:nowrap;
}
.to-tabs a.active,.to-tabs a:hover{background:var(--to-red);color:#fff!important}
.to-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
}
.to-card{
    min-width:0;
    background:#fff;
    border:1px solid #ededed;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 7px 25px rgba(0,0,0,.07);
    transition:transform .22s ease,box-shadow .22s ease;
}
.to-card:hover{transform:translateY(-4px);box-shadow:0 15px 38px rgba(0,0,0,.12)}
.to-card-image{
    display:block;
    position:relative;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#e9e9e9;
}
.to-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}
.to-card:hover .to-card-image img{transform:scale(1.045)}
.to-badge{
    position:absolute;
    z-index:2;
    left:10px;
    top:10px;
    padding:6px 9px;
    border-radius:8px;
    background:var(--to-red);
    color:#fff;
    font-size:10px;
    font-weight:950;
}
.to-heart{
    position:absolute;
    z-index:2;
    right:10px;
    top:10px;
    width:34px;height:34px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fff;
    color:var(--to-red);
    font-size:23px;
    box-shadow:0 4px 14px rgba(0,0,0,.15);
}
.to-card-body{padding:12px}
.to-card-body h3{
    margin:0;
    color:#0a0a0a;
    font-size:16px;
    line-height:1.15;
    font-weight:950;
}
.to-duration{
    color:var(--to-red);
    font-weight:850;
    font-size:11px;
    margin:5px 0 10px;
}
.to-includes{
    display:grid;
    gap:7px;
    min-height:61px;
    color:#484848;
    font-size:10.5px;
}
.to-card-bottom{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:8px;
    border-top:1px solid #eee;
    padding-top:12px;
    margin-top:12px;
}
.to-price strong{display:block;color:#111;font-size:20px;line-height:1}
.to-price small{display:block;color:#777;margin-top:4px;font-size:9px}
.to-btn{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:10px 12px;
    border-radius:11px;
    background:var(--to-red);
    color:#fff!important;
    text-decoration:none!important;
    font-size:11px;
    font-weight:950;
    white-space:nowrap;
}
.to-empty{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    padding:42px 20px;
    border:1px dashed #ccc;
    border-radius:18px;
    color:#777;
    text-align:center;
}
.to-empty strong{color:#222}
.to-destinations{
    max-width:1240px;
    margin:0 auto;
    padding:25px 20px 50px;
}
.to-destination-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
}
.to-destination{
    min-width:0;
    border-radius:15px;
    overflow:hidden;
    border:1px solid #eee;
    background:#fff;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
}
.to-destination-art{
    height:100px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#19452f,#82b36f);
    color:#fff;
    font-size:42px;
    font-weight:950;
}
.to-destination div:last-child{padding:11px}
.to-destination strong{display:block;font-size:13px}
.to-destination small{display:block;margin-top:3px;color:#777;font-size:10px}
.to-cta{
    max-width:1240px;
    margin:0 auto 55px;
    border-radius:24px;
    padding:34px 40px;
    background:linear-gradient(100deg,#fff1f1,#fff,#f8f8f8);
    border:1px solid #eee;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.to-cta small{font-weight:900;letter-spacing:2px;color:#777}
.to-cta h2{margin:2px 0;font-size:clamp(36px,5vw,60px);line-height:.9;color:var(--to-red);font-weight:950;letter-spacing:-2px}
.to-cta p{margin:7px 0 0;color:#666}
.to-cta a{
    background:var(--to-red);
    color:#fff!important;
    text-decoration:none!important;
    border-radius:999px;
    padding:15px 22px;
    font-weight:950;
    white-space:nowrap;
}

/* Single package */
.tripooty-single{max-width:1180px;margin:0 auto;padding:25px 20px 80px}
.to-single-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:35px;align-items:center}
.to-single-image img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:26px;display:block;box-shadow:0 20px 50px rgba(0,0,0,.14)}
.to-single-content h1{font-size:clamp(36px,5vw,64px);line-height:.98;margin:0 0 12px;letter-spacing:-2px;font-weight:950}
.to-single-duration{color:var(--to-red);font-weight:900;margin-bottom:22px}
.to-single-price{font-size:38px;font-weight:950;margin:15px 0}
.to-single-price small{font-size:13px;color:#777;font-weight:600}
.to-single-includes{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0 25px}
.to-single-includes div{border:1px solid #eee;border-radius:14px;padding:13px;font-size:13px}
.to-book-btn{display:inline-flex;padding:15px 24px;border-radius:14px;background:var(--to-red);color:#fff!important;text-decoration:none!important;font-weight:900}
.to-single-description{margin-top:55px;max-width:850px;font-size:16px;line-height:1.75}
.to-single-description h2,.to-single-description h3{font-weight:900}

@media(max-width:1250px){
    .to-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .to-destination-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
    .to-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
    .to-hero{min-height:450px}
    .to-hero-inner{padding:58px 18px 34px}
    .to-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .to-destination-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .to-cta{margin-left:14px;margin-right:14px}
}
@media(max-width:600px){
    .to-hero{
        min-height:480px;
        background:
            linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.8) 100%),
            var(--to-hero-image),
            linear-gradient(135deg,#163d2a,#67976e);
        background-position:center;
    }
    .to-hero-inner{padding:40px 15px 24px}
    .to-hero h1{font-size:53px;letter-spacing:-2.5px}
    .to-hero p{font-size:14px;margin:16px 0}
    .to-hero-badges{gap:6px;margin-top:22px}
    .to-hero-badges span{font-size:10px;padding:7px 9px}
    .tripooty-tours{padding:30px 14px 15px}
    .to-heading-row{align-items:flex-start;flex-direction:column;gap:13px}
    .to-heading-row h2{font-size:34px}
    .to-heading-row p{font-size:13px}
    .to-outline-btn{display:none}
    .to-tabs{margin-left:-14px;margin-right:-14px;border-left:0;border-right:0;border-radius:0;padding:6px 10px}
    .to-tabs a{padding:11px 13px;font-size:12px}
    .to-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .to-card-image{aspect-ratio:4/3}
    .to-card-body{padding:10px}
    .to-card-body h3{font-size:15px;line-height:1.08}
    .to-duration{font-size:10px;margin:4px 0 9px}
    .to-includes{font-size:9px;line-height:1.25;gap:5px;min-height:auto}
    .to-card-bottom{margin-top:9px;padding-top:9px}
    .to-price strong{font-size:17px}
    .to-price small{font-size:8px}
    .to-btn{padding:8px 9px;font-size:9px}
    .to-badge{font-size:8px;padding:5px 7px}
    .to-heart{width:29px;height:29px;font-size:19px}
    .to-destinations{padding:25px 14px 35px}
    .to-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .to-destination-art{height:90px}
    .to-cta{
        flex-direction:column;
        align-items:flex-start;
        padding:28px 22px;
        border-radius:18px;
        margin-bottom:30px;
    }
    .to-cta a{width:100%;justify-content:center;text-align:center}
    .tripooty-single{padding:15px 14px 55px}
    .to-single-hero{grid-template-columns:1fr;gap:22px}
    .to-single-image img{border-radius:18px}
    .to-single-content h1{font-size:42px}
    .to-single-includes{grid-template-columns:1fr}
    .to-single-description{margin-top:35px}
}
@media(max-width:380px){
    .to-hero h1{font-size:45px}
    .to-destination-grid{grid-template-columns:1fr 1fr}
    .to-card-bottom{align-items:center}
}

/* v2.1 compact-card polish */
.tripooty-tour-page .to-card,
.tripooty-tour-page .to-tabs,
.tripooty-tour-page .to-outline-btn,
.tripooty-tour-page .to-btn,
.tripooty-tour-page .to-hero-btn,
.tripooty-tour-page .to-hero-ghost{
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
.tripooty-tour-page .to-card-body h3{
    letter-spacing:-.25px;
}
.tripooty-tour-page .to-card-bottom{
    align-items:center;
}
@media(min-width:1251px){
    .tripooty-tour-page .to-grid .to-card{min-width:0}
}

/* Exact requested package grid */
.tripooty-tour-page .to-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
}
@media(max-width:1250px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:600px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* v2.3 compact card polish — prevents long admin values from destroying the UI */
.tripooty-tour-page .to-card{
    border-radius:14px;
    box-shadow:0 5px 18px rgba(0,0,0,.065);
}
.tripooty-tour-page .to-card-image{
    aspect-ratio:16/9;
}
.tripooty-tour-page .to-card-body{
    padding:11px 12px 12px;
}
.tripooty-tour-page .to-card-body h3{
    font-size:16px;
    line-height:1.15;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin:0;
}
.tripooty-tour-page .to-duration{
    font-size:11px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin:4px 0 9px;
}
.tripooty-tour-page .to-includes{
    display:flex;
    flex-direction:column;
    gap:5px;
    min-height:0;
    max-height:54px;
    overflow:hidden;
}
.tripooty-tour-page .to-includes span{
    display:block;
    font-size:10px;
    line-height:1.25;
    color:#5c5c5c;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.tripooty-tour-page .to-card-bottom{
    margin-top:9px;
    padding-top:9px;
    align-items:center;
}
.tripooty-tour-page .to-price{
    min-width:0;
}
.tripooty-tour-page .to-price strong{
    font-size:20px;
    line-height:1;
    white-space:nowrap;
}
.tripooty-tour-page .to-price small{
    font-size:8px;
    line-height:1.1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:75px;
}
.tripooty-tour-page .to-btn{
    padding:9px 10px;
    border-radius:9px;
    font-size:10px;
    line-height:1;
    min-height:32px;
}
.tripooty-tour-page .to-badge{
    max-width:95px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:8px;
    padding:5px 7px;
}
.tripooty-tour-page .to-heart{
    width:30px;
    height:30px;
    font-size:19px;
}

/* Keep six cards on desktop, four on tablet, two on mobile. */
.tripooty-tour-page .to-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
}
@media(max-width:1250px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:600px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
    .tripooty-tour-page .to-card-body{padding:9px 9px 10px}
    .tripooty-tour-page .to-card-body h3{font-size:14px}
    .tripooty-tour-page .to-duration{font-size:9px;margin-bottom:7px}
    .tripooty-tour-page .to-includes{gap:4px;max-height:46px}
    .tripooty-tour-page .to-includes span{font-size:8.5px}
    .tripooty-tour-page .to-card-bottom{margin-top:7px;padding-top:7px;gap:5px}
    .tripooty-tour-page .to-price strong{font-size:16px}
    .tripooty-tour-page .to-price small{font-size:7px;max-width:52px}
    .tripooty-tour-page .to-btn{padding:8px 8px;font-size:8px;min-height:29px}
}

/* v2.4 — description-driven card */
.tripooty-tour-page .to-description-preview{
    color:#5f5f5f;
    font-size:11px;
    line-height:1.35;
    min-height:30px;
    max-height:31px;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    margin:0 0 2px;
}
.tripooty-tour-page .to-card-body h3{
    font-weight:900;
    letter-spacing:-.25px;
}
@media(min-width:1251px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
}
@media(max-width:1250px) and (min-width:601px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
}
@media(max-width:600px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
    .tripooty-tour-page .to-description-preview{font-size:8.5px;line-height:1.3;min-height:23px;max-height:23px}
}

/* v2.5 — wider cards without increasing card height */
.tripooty-tour-page .tripooty-tours{max-width:1320px;}
@media(min-width:1251px){
    .tripooty-tour-page .to-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;}
    .tripooty-tour-page .to-card-body{padding:12px 13px 13px;}
}
.tripooty-tour-page .to-card-bottom{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center !important;
    column-gap:8px;
}
.tripooty-tour-page .to-price{min-width:0;align-self:center;}
.tripooty-tour-page .to-price strong{white-space:nowrap;line-height:1.05;}
.tripooty-tour-page .to-price small{
    display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    line-height:1.1;max-width:100px;
}
.tripooty-tour-page .to-btn{
    align-self:center;justify-self:end;position:static !important;
    transform:none !important;margin:0 !important;flex:none !important;
}
.tripooty-tour-page .to-description-preview{
    height:31px;min-height:31px;max-height:31px;margin-bottom:0;
}
@media(max-width:1250px) and (min-width:601px){
    .tripooty-tour-page .tripooty-tours{max-width:1180px;}
}
@media(max-width:600px){
    .tripooty-tour-page .to-description-preview{
        height:23px;min-height:23px;max-height:23px;
    }
    .tripooty-tour-page .to-card-bottom{column-gap:5px;}
}

/* v2.6 — hard-isolated price/button alignment against Traveler/theme CSS */
.tripooty-tour-page .to-card .to-card-bottom{
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) max-content !important;
    align-items:center !important;
    width:100% !important;
    min-width:0 !important;
    gap:7px !important;
    box-sizing:border-box !important;
}
.tripooty-tour-page .to-card .to-price{
    position:relative !important;
    display:block !important;
    min-width:0 !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    float:none !important;
    box-sizing:border-box !important;
}
.tripooty-tour-page .to-card .to-price strong{
    display:block !important;
    position:static !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    font-size:18px !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.tripooty-tour-page .to-card .to-price small{
    display:block !important;
    position:static !important;
    width:auto !important;
    max-width:100% !important;
    margin:3px 0 0 !important;
    padding:0 !important;
    font-size:8px !important;
    line-height:1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.tripooty-tour-page .to-card .to-btn{
    position:static !important;
    inset:auto !important;
    display:inline-flex !important;
    width:auto !important;
    max-width:none !important;
    min-width:72px !important;
    height:32px !important;
    margin:0 !important;
    padding:0 10px !important;
    float:none !important;
    clear:none !important;
    box-sizing:border-box !important;
    align-items:center !important;
    justify-content:center !important;
    justify-self:end !important;
    align-self:center !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    line-height:1 !important;
    font-size:9px !important;
}
.tripooty-tour-page .to-card .to-btn span{
    display:inline !important;
    margin-left:3px !important;
}
@media(max-width:600px){
    .tripooty-tour-page .to-card .to-card-bottom{
        grid-template-columns:minmax(0,1fr) max-content !important;
        gap:4px !important;
    }
    .tripooty-tour-page .to-card .to-price strong{font-size:15px !important;}
    .tripooty-tour-page .to-card .to-btn{
        min-width:63px !important;
        height:29px !important;
        padding:0 7px !important;
        font-size:8px !important;
    }
}

/* v2.7 — full price visibility */
.tripooty-tour-page .tripooty-tours{
    max-width:1400px !important;
}
.tripooty-tour-page .to-card .to-card-bottom{
    grid-template-columns:minmax(0,1fr) max-content !important;
    gap:5px !important;
}
.tripooty-tour-page .to-card .to-price{
    min-width:0 !important;
    overflow:visible !important;
}
.tripooty-tour-page .to-card .to-price strong{
    font-size:17px !important;
    letter-spacing:-.3px !important;
    white-space:nowrap !important;
    overflow:visible !important;
    text-overflow:clip !important;
    max-width:none !important;
}
.tripooty-tour-page .to-card .to-price small{
    font-size:7px !important;
    max-width:90px !important;
}
.tripooty-tour-page .to-card .to-btn{
    min-width:68px !important;
    padding-left:8px !important;
    padding-right:8px !important;
    font-size:8.5px !important;
}
@media(max-width:1250px) and (min-width:601px){
    .tripooty-tour-page .tripooty-tours{max-width:1180px !important;}
}
@media(max-width:600px){
    .tripooty-tour-page .to-card .to-card-bottom{
        grid-template-columns:minmax(0,1fr) max-content !important;
        gap:4px !important;
    }
    .tripooty-tour-page .to-card .to-price strong{
        font-size:15px !important;
        letter-spacing:-.4px !important;
    }
    .tripooty-tour-page .to-card .to-btn{
        min-width:61px !important;
        padding-left:6px !important;
        padding-right:6px !important;
        font-size:7.5px !important;
    }
}
