/* ============================================================
   TOUR ITINERARY — assets/css/tour-itinerary.css
   ============================================================ */
/* ══════════════════════════════════════════════════════════════
   ADD TO: tour-booking-form.css
   Multi-addon price info box — shown below .tbf-adventure-options
══════════════════════════════════════════════════════════════ */

/* Outer container — vertical stack */
.tbf-addon-price-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #f0faf0;
    border: 1px solid #d4edda;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
}

/* One row per selected addon — full width, stacked */
.tbf-addon-price-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: #333;
    width: 100%;
}

/* Divider between addon rows */
.tbf-addon-price-row + .tbf-addon-price-row {
    border-top: 1px solid #c8e6c9;
}

/* Addon name */
.tbf-addon-price-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

/* "Adult: RM… Child: RM…" on one line */
.tbf-addon-price-vals {
    display: flex;
    gap: 16px;
    align-items: center;
    color: #555;
    font-size: 0.875rem;
}

.tbf-addon-price-vals strong {
    color: #1a8a1a;
    font-weight: 600;
}
.tif-wrap {
    width: 100%;
/*     font-family: inherit; */
/*     margin: 0 0 28px; */
}

/* ── Addon info bar ── */
.tif-addon-bar {
    background: #f0fdf4;	
    border: 1px solid #d4edda;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    animation: tifFade .3s ease;
}

.tif-addon-bar-name {
    font-size: 15px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 8px;
}

.tif-addon-bar-meta {
    font-size: 13px;
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tif-addon-prices {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tif-addon-price-pill {
    background: #fff;
    border: 1.5px solid #22c55e;
    border-radius: 50px;
    padding: 3px 13px;
    font-size: 13px;
    color: #16a34a;
    font-weight: 700;
}

.tif-addon-notes strong,
.tif-addon-policy strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #888;
    margin-bottom: 2px;
}

/* ── Table wrap ── */
.tif-table-wrap {
    width: 100%;
    overflow-x: auto;
    transition: opacity .25s;
}

/* ── Table ── */
.tif-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    border-radius:10px;
    border: 1px solid #EEE;
    overflow:hidden;
}

.tif-table thead th{
    background:#E6F5E4;
    color:#505050;
    font-size:14px;
    padding: 16px;
    border: 1px solid #EEE;
	font-weight: 400;
}

.tif-td-day {
    border-bottom: none !important;
}

.tif-table tbody tr .tif-td-day:not(:empty) {
    border-top: 1px solid #EEE;
}

.tif-table tbody td {
    padding:18px 16px;
    border-bottom:1px solid #EEE;
    color: #141414;
    font-family:inherit;
    font-size:inherit;
    line-height:inherit;
	align-items: center;
	vertical-align: top;
}

.tif-td-img {
    padding: 20px 20px 20px 0px!important;
}

img.tif-thumb {
    width: 100%;
    border-radius: 8px;
	height: 95px;
	object-fit: cover;
	object-position: center center;
}

.tif-table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Extra rows: hidden by default ── */
.tif-table tbody tr.tif-row-extra {
    display: none !important;
}

/* ── When wrapper is expanded, show all extra rows ── */
.tif-table-wrap.tif-expanded .tif-table tbody tr.tif-row-extra {
    display: table-row !important;
}

/* ── Day 2+ first row always visible ── */
.tif-table tbody tr.tif-row-day-first {
    display: table-row !important;
}

/* ── Explore All inline (inside dest cell) ── */
.tif-explore-inline {
    margin-top: 10px;
}

/* ── Column widths ── */
.tif-th-day,
.tif-td-day {
    width: 91px;
     font-weight: 400;
    color:#141414;
    border-right:1px solid #EEE;
    text-align:center;
}

.tif-th-time,
.tif-td-time {
    width: 134px;
    color:#141414;
    border-right:1px solid #EEE;
}

.tif-td-dest{
    color:#141414;
}

.tif-th-img,
.tif-td-img {
    width: 190px;
    text-align: right;
}

/* ── Thumbnail desktop ── */
.tif-thumb {
    width:100px;
    height:72px;
    border-radius:10px;
    object-fit:cover;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
}

/* Mobile image hidden on desktop */
.tif-thumb-mobile {
    display: none;
}

/* ── Explore All button ── */
.tif-explore-btn{
    margin-top:10px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 16px !important;
    border-radius:70px !important;
    border:1px solid #22c55e;
    background:#fff;
    color:#22c55e;
    font-size:12px !important;
    font-weight: 400 !important;
}

.tif-explore-btn svg {
    width: 11px;
    height: 8px;
    transition: transform .25s;
    flex-shrink: 0;
}

.tif-explore-btn.open svg {
    transform: rotate(180deg);
}

/* ── Spinner ── */
.tif-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    font-size: 13px;
    color: #888;
}

.tif-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #e5e7eb;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: tifSpin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes tifSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes tifFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tif-empty {
    color: #888;
    font-size: 13px;
    padding: 12px 0;
}

@media only screen and (max-width: 1599px) {

	/* Check 1367px and add css here */
}

@media only screen and (max-width: 1366px) {
	
	/* Check 1200px and add css here */
}

@media only screen and (max-width: 1199px) {
	
	.tif-th-day,
.tif-td-day {
    width: 70px;
	font-size: 14px !important;
}

.tif-th-time,
.tif-td-time {
    width: 100px;
	font-size: 14px !important;
}
	
	.tif-td-dest {
		font-size: 14px !important;
	}

.tif-th-img,
.tif-td-img {
    width: 150px;
}

	/* Check 1025px and add css here */
}

@media only screen and (max-width: 1024px) {

	/* Check 768px and add css here */
}

@media only screen and (max-width: 767px) {
	

	/* Check 480px and add css here */
}

@media(max-width: 575px) {

}

/* ── Responsive mobile ── */
@media (max-width: 600px) {

    .tif-th-img,
    .tif-td-img {
        display: none;
    }

    .tif-thumb-mobile {
        display: block;
        width: 100%;
        max-width: 170px !important;
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        margin-top: 8px;
    }

    .tif-th-day,
    .tif-td-day {
        width: 54px;
        font-size: 12px;
    }

    .tif-th-time,
    .tif-td-time {
        width: 68px;
        font-size: 12px;
        white-space: normal;
    }

    .tif-table thead th,
    .tif-table tbody td {
        padding: 9px 8px;
        font-size: 13px;
    }
}