/* FULL WIDTH FIX */
/* .ast-container,
.site-content .ast-container {
    max-width: 1200px !important;
    margin: auto;
} */

/* MAIN LAYOUT */
.tp-container {

    gap: 50px;
    margin: 40px auto;
}

.tp-container.in-single {
    display: flex;
}

/* LEFT SIDE */
.tp-left {
    width: 45%;
    position: sticky;
    top: 100px;
    /* sticky offset */
    height: fit-content;
}

/* MAIN IMAGE */
.tp-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 535px;
}

.tp-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;

}

/* GALLERY */
.tp-gallery {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.tp-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

/* ACTIVE THUMB */
.tp-thumb.active {
    border: 2px solid #0073aa;
}

/* RIGHT SIDE */
.tp-right {
    width: 55%;
}

.tp-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.tp-price {
    font-size: 22px;
    color: green;
    font-weight: bold;
    margin-bottom: 15px;
}

/* BUTTON */
.tp-btn {
    display: inline-block;
    background: #ff3b3b;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    margin: 30px 0 0 0;
    border-radius: 8px;
    transition: 0.3s;
}

.tp-btn:hover {
    display: inline-block;
    background: #0f0e0e;
    color: #fff;
    border-radius: 12px;
}

/* SECTIONS */
.tp-section {
    margin-top: 25px;
}

.tp-section h3 {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* CLEAN SECTION STYLE (LIKE YOUR REFERENCE) */

.tp-clean-section {
    margin-top: 30px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 3px 0px #e0bcbc;
}

/* HEADER */
.tp-clean-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

/* ICON */
.tp-clean-icon {
    color: #0073aa;
    font-size: 16px;
}

/* TITLE */
.tp-clean-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* BODY */
.tp-clean-body {
    padding-left: 5px;
}

/* BULLETS LIKE YOUR SCREENSHOT */
.tp-clean-body ul {
    list-style: none;
    padding-left: 0;
}

.tp-clean-body li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
}

/* CUSTOM BULLET (orange triangle style) */
.tp-clean-body li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ff6600;
    font-size: 12px;
}

/* HIDE MOBILE BAR ON DESKTOP */
.tp-mobile-bar {
    display: none;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 768px) {

    /* STACK LAYOUT */
    .tp-container {
        flex-direction: column;
        gap: 20px;
        margin: 20px;
    }

    /* REMOVE STICKY (VERY IMPORTANT) */
    .tp-left {
        width: 100%;
        position: static;
    }

    .tp-right {
        width: 100%;
    }

    /* IMAGE */
    .tp-main-image {
        height: 250px;
    }

    /* GALLERY */
    .tp-gallery {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tp-thumb {
        width: 60px;
        height: 60px;
    }

    /* TEXT */
    .tp-title {
        font-size: 22px;
    }

    .tp-price {
        font-size: 18px;
    }

    /* BUTTON FULL WIDTH */
    .tp-btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* SECTION SPACING */
    .tp-clean-section {
        margin-top: 20px;
    }

    .tp-clean-header h3 {
        font-size: 18px;
    }

    /* BODY TEXT */
    .tp-clean-body {
        font-size: 14px;
    }

}

/* =========================
   PREMIUM MOBILE UX
========================= */

@media (max-width: 768px) {

    /* HIDE NORMAL BUTTON */
    .tp-btn {
        display: none;
    }

    /* STICKY BOTTOM BAR */
    .tp-mobile-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ddd;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        z-index: 9999;
    }

    .tp-mobile-price {
        font-size: 16px;
        font-weight: bold;
        color: green;
    }

    .tp-mobile-btn {
        background: #ff3b3b;
        color: #fff;
        padding: 10px 15px;
        text-decoration: none;
        border-radius: 4px;
    }

    /* PREVENT CONTENT HIDDEN BEHIND BAR */
    body {
        padding-bottom: 70px;
    }

    /* SWIPE GALLERY */
    .tp-gallery {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tp-thumb {
        flex: 0 0 auto;
    }

    /* CLEANER SPACING */
    .tp-clean-section {
        margin-top: 20px;
    }

    .tp-clean-header h3 {
        font-size: 17px;
    }

    .tp-clean-body {
        font-size: 14px;
        line-height: 1.5;
    }

}

/* CATEGORY GRID */
.tp-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 🔥 6 per row */
    gap: 15px;
}

/* IMAGE CARD */
.tp-category-card {
    overflow: hidden;
    border-radius: 6px;
}

/* IMAGE */
.tp-category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* HOVER EFFECT (OPTIONAL BUT NICE) */
.tp-category-card:hover img {
    transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
    .tp-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-category-card img {
        height: 160px;
    }
}

/* GRID */
.tp-package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: start;
    gap: 25px;
    margin-top: 30px;
}

/* CARD */
.tp-package-card {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s ease;
}

.tp-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* IMAGE */
.tp-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.tp-card-content {
    padding: 15px;
}

/* TITLE */
.tp-card-title {
    font-size: 18px;
    margin-bottom: 8px;
}

/* PRICE */
.tp-card-price {
    color: green;
    font-weight: bold;
    margin-bottom: 8px;
}

/* ITINERARY */
.tp-card-itinerary {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* MOBILE */
@media (max-width: 768px) {
    .tp-package-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* FULL WIDTH BREADCRUMB */
.tp-breadcrumb-wrap {
    width: 100%;
    padding: 10px 20px;
}

/* ALIGN LEFT */
.tp-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* HOME PACKAGE GRID */
.tp-package-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 🔥 4 per row */
    gap: 25px;
}

/* CARD */
.tp-package-card-home {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s ease;
}

.tp-package-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* IMAGE */
.tp-package-card-home img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.tp-card-content {
    padding: 12px;
}

.tp-card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* ITINERARY */
.tp-card-itinerary {
    font-size: 14px;
    color: #555;
}

/* MOBILE */
@media (max-width: 768px) {
    .tp-package-grid-home {
        grid-template-columns: repeat(1, 1fr);
    }
}

.tp-card-img,
.tp-main-image {
    position: relative;
}

.tp-discount-badge {
    position: absolute;
    top: 19px;
    left: 10px;
    background: #e60023;
    color: #fff;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 11px;
    z-index: 2;
}

/* =========================
   FILTER BAR
========================= */
.tp-filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: nowrap;
}

/* INPUT + SELECT */
.tp-filter-bar select,
.tp-filter-bar input {
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

/* WIDTH CONTROL */
.tp-filter-bar select {
    width: 220px;
}

.tp-filter-bar input {
    width: 140px;
}

/* BUTTON */
.tp-filter-bar button {
    height: 42px;
    padding: 0 18px;
    background: #494f52 !important;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

.tp-filter-bar button:hover {
    background: #d20808 !important;
}

/* SPACING */
.tp-breadcrumb-full {
    margin-bottom: 10px;
}

.tp-filter-bar {
    margin-bottom: 25px;
}

/* MOBILE */
@media (max-width: 768px) {

    .tp-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .tp-filter-bar select,
    .tp-filter-bar input,
    .tp-filter-bar button {
        width: 100%;
    }
}

/* =========================
   MAIN CONTAINER FIX
========================= */
.tp-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* =========================
   GRID FIX (IMPORTANT)
========================= */
.tp-package-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

/* FORCE LEFT ALIGN */
.tp-package-grid {
    justify-content: start;
}

/* CARD FULL WIDTH */
.tp-package-card {
    width: 100%;
}

/* =========================
   FILTER BAR FIX
========================= */
.tp-filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

/* =========================
   VERY IMPORTANT FIX 🔥
========================= */
/* .ast-container,
.site-content,
.content-area,
.ast-article-post {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
} */
/* FIX SINGLE PAGE IMAGE */
.tp-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* 🔥 prevents cropping */
    border-radius: 8px;
}

/* PREVENT OVERFLOW */
.tp-main-image {
    overflow: hidden;
}

.tp-gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
}

/* REMOVE ASTRA INNER WIDTH ISSUE */
/* .ast-container {
    max-width: 100% !important;
} */

/* .tp-container {
    display: block !important;
} */

.tp-package-grid {
    margin-left: 0 !important;
}