/* Travel */
:root {
    --accent: #0b5cff;
    --accent-dark: #0049d6;
    --accent-soft: #eef4ff;
}
.travel .see-all {
    color: var(--accent);
}
.btn-soft {
    background: var(--accent-soft);
    color: var(--accent);
    border: 0;
    border-radius: 6px;
    font-weight: 600;
}
.btn-soft:hover {
    background: var(--accent);
    color: #fff;
}
.order-status.paid {
    background: #e8f8ee;
    color: #008f40;
}

/* Hero: full-width photo band, content stays in the container */
.travel-hero {
    position: relative;
    background: linear-gradient(90deg, rgba(5, 30, 70, .7) 0%, rgba(5, 30, 70, .35) 50%, rgba(5, 30, 70, .15) 100%),
                var(--hero) center 58% / cover no-repeat;
    color: #fff;
    padding: 2.21rem 0 1.87rem;
}
.th-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.7rem;
    margin-bottom: 1.8rem;
}
.travel-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .3);
    margin-bottom: .35rem;
}
.travel-hero p {
    font-size: 1.1rem;
    opacity: .95;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}
.th-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.th-script {
    font-family: 'Great Vibes', cursive;
    font-size: 3.6rem;
}
.th-country {
    font-size: .7rem;
    letter-spacing: .35em;
    margin-top: -.2rem;
}
.th-motto {
    font-family: 'Great Vibes', cursive;
    font-size: 1.35rem;
    margin-top: .6rem;
}

.travel-search {
    max-width: 760px;
}
.ts-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.ts-tabs button {
    border: 0;
    background: rgba(255, 255, 255, .9);
    color: #303038;
    font-size: .8rem;
    font-weight: 600;
    padding: .7rem 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.ts-tabs button:first-child {
    border-top-left-radius: 12px;
}
.ts-tabs button:last-child {
    border-top-right-radius: 12px;
}
.ts-tabs button.active {
    background: #fff;
    color: var(--accent);
    box-shadow: none;
}
.ts-body {
    background: #fff;
    border-radius: 0 6px 6px 6px;
    padding: 0.765rem;
    box-shadow: none;
}
.ts-panel {
    display: flex;
    gap: .6rem;
}
.ts-panel[hidden] {
    display: none;
}
.ts-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .6rem;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: .35rem 0.68rem;
    color: var(--ek-text);
    min-width: 0;
}
.ts-field.sm {
    flex: 0 0 120px;
}
.ts-field.grow {
    flex: 1;
}
.ts-field > i {
    color: var(--ek-muted);
}
.ts-field > span {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.ts-field small {
    font-size: .68rem;
    color: var(--ek-muted);
}
.ts-field select,
.ts-field input {
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    font-weight: 600;
    font-size: .88rem;
    width: 100%;
    min-width: 0;
}
.ts-panel .btn-accent {
    min-width: 130px;
    font-size: 1rem;
}

/* Category chips */
.tr-cats {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 1.19rem 0;
}
.tr-cats a {
    flex: 1 0 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    font-weight: 500;
    color: var(--ek-text);
    text-align: center;
}
.tr-cats span {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s;
}
.tr-cats a:hover span {
    transform: scale(1.06);
}
.tr-cats span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tr-cats span.more {
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.4rem;
}

/* Tour cards */
.t-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}
.t-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.t-card,
.l-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.t-card:hover,
.l-card:hover {
    box-shadow: none;
}
.t-img,
.l-img {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.t-img img,
.l-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.t-card:hover .t-img img,
.l-card:hover .l-img img {
    transform: scale(1.05);
}
.t-badge,
.l-kind {
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: .66rem;
    font-weight: 700;
    color: #fff;
    padding: .15rem .5rem;
    border-radius: 5px;
    background: #303038;
}
.t-badge.best { background: #f59e0b; }
.t-badge.new { background: #03a94d; }
.t-badge.sale { background: #e11d48; }
.l-kind { background: rgba(15, 23, 42, .65); }
.t-body,
.l-body {
    padding: .7rem 0.68rem 0.68rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.t-title,
.l-title {
    font-weight: 700;
    font-size: .88rem;
    color: var(--ek-text);
    line-height: 1.3;
    margin-bottom: .35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.t-meta {
    font-size: .74rem;
    color: var(--ek-muted);
    margin-bottom: .15rem;
}
.t-meta .bi {
    margin-right: .25rem;
}
.t-rating {
    font-size: .76rem;
    margin: .25rem 0 .4rem;
}
.t-rating .bi {
    color: #f59e0b;
}
.t-rating span {
    color: var(--ek-muted);
}
.t-foot,
.l-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: .5rem;
    margin-top: auto;
}
.t-price {
    font-weight: 800;
    font-size: .95rem;
    white-space: nowrap;
}
.t-foot > div,
.l-foot > span {
    min-width: 0;
}
.t-old {
    display: block;
    font-size: .7rem;
    color: #9ca3af;
}
.t-foot .btn,
.l-foot .btn {
    font-size: .7rem;
    padding: .32rem .6rem;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.l-foot > span {
    white-space: nowrap;
}
.l-foot small {
    color: var(--ek-muted);
    font-size: .7rem;
}

/* Planning sidebar */
.plan-box {
    background: linear-gradient(180deg, #f3f7ff, #f8faff);
    border: 1px solid #e3ebfa;
    border-radius: var(--ek-radius);
    padding: 1.062rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.plan-box h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 .35rem .25rem;
}
.plan-box a {
    display: flex;
    align-items: center;
    gap: 0.637rem;
    background: #fff;
    border-radius: 6px;
    padding: .7rem 0.68rem;
    color: var(--ek-text);
    box-shadow: none;
    transition: transform .15s;
}
.plan-box a:hover {
    transform: translateX(3px);
}
.plan-box strong {
    display: block;
    font-size: .82rem;
}
.plan-box small {
    font-size: .7rem;
    color: var(--ek-muted);
}
.pi {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pi.blue { background: #eaf2ff; color: #2563eb; }
.pi.red { background: #ffecec; color: #ef4444; }
.pi.green { background: #e9f9ee; color: #03a94d; }
.pi.purple { background: #f1ebff; color: #7c3aed; }
.pi.orange { background: #fff1e4; color: #f97316; }

/* Destinations */
.dest-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4rem) / 5);
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.dest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}
.dest-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    color: #fff;
    scroll-snap-align: start;
}
.dest-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.dest-card:hover img {
    transform: scale(1.06);
}
.dest-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 55%);
}
.dest-body {
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: .8rem;
    z-index: 1;
}
.dest-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}
.dest-body p {
    font-size: .74rem;
    margin: .1rem 0 0;
    opacity: .9;
}
.scroll-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--ek-border);
    background: #fff;
    color: var(--ek-text);
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Lodgings */
.l-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}
.l-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Events */
.ev-row {
    display: flex;
    align-items: center;
    gap: 0.722rem;
    padding: .7rem 0;
    color: var(--ek-text);
}
.ev-row + .ev-row {
    border-top: 1px solid var(--ek-border);
}
.ev-row strong {
    display: block;
    font-size: .85rem;
    transition: color .15s;
}
.ev-row:hover strong {
    color: var(--accent);
}
.ev-row small {
    font-size: .74rem;
    color: var(--ek-muted);
}
.ev-date {
    width: 52px;
    height: 54px;
    border: 1.5px solid #c7dbfb;
    border-radius: 6px;
    background: #f5f9ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1.1;
}
.ev-date strong {
    font-size: 1.3rem;
    color: var(--accent);
}
.ev-date small {
    font-size: .62rem;
    color: var(--ek-muted);
}
.ev-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}
.ev-card {
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    overflow: hidden;
    color: var(--ek-text);
}
.ev-img {
    position: relative;
    aspect-ratio: 16 / 9;
}
.ev-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ev-img .ev-date {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #fff;
    border: 0;
}
.ev-body {
    padding: 0.68rem 0.765rem 0.85rem;
}
.ev-body h3 {
    font-size: .95rem;
    font-weight: 700;
}
.ev-body p {
    font-size: .78rem;
    color: #606060;
    margin: .45rem 0 0;
}

/* Photo strip / gallery */
.photo-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.637rem;
}
.photo-strip a {
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
}
.photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.photo-strip a:hover img {
    transform: scale(1.06);
}
.gallery-grid {
    columns: 3 300px;
    column-gap: 0.85rem;
}
.g-item {
    break-inside: avoid;
    margin: 0 0 1rem;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    overflow: hidden;
    scroll-margin-top: 1rem;
}
.g-item img {
    width: 100%;
    display: block;
}
.g-item figcaption {
    padding: .6rem 0.68rem;
    font-size: .8rem;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.g-item small {
    color: var(--ek-muted);
    font-size: .7rem;
}
.g-item:target {
    outline: 3px solid var(--accent);
}

/* Detail pages */
.detail-img {
    position: relative;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    background: var(--accent-soft);
}
.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-img .t-badge,
.detail-img .l-kind {
    top: 14px;
    left: 14px;
    font-size: .8rem;
    padding: .25rem .65rem;
}
.detail-img figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: .65rem;
    padding: .2rem .55rem;
    border-top-left-radius: 8px;
}
.detail-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 1.1rem 0 .4rem;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.02rem;
    font-size: .85rem;
    color: #606060;
}
.detail-meta a {
    color: inherit;
    text-decoration: underline;
}
.detail-lead {
    font-size: 1rem;
    margin: 1rem 0;
}
.detail-text {
    color: #606060;
    line-height: 1.7;
}
.detail-sec {
    margin-top: 1.6rem;
}
.detail-sec h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .8rem;
}
.itinerary {
    list-style: none;
    padding: 0;
    margin: 0;
}
.itinerary li {
    display: flex;
    gap: 0.765rem;
    padding-bottom: 1rem;
    position: relative;
}
.itinerary li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: #dbe7fb;
}
.itinerary .day {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.itinerary p {
    margin: .35rem 0 0;
    font-size: .9rem;
}
.checks,
.amenities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem 0.85rem;
    font-size: .88rem;
}
.checks .bi {
    color: #03a94d;
}
.amenities li {
    background: var(--accent-soft);
    border-radius: 6px;
    padding: .45rem .7rem;
}
.amenities .bi {
    color: var(--accent);
}
.op-card {
    display: flex;
    align-items: center;
    gap: 0.68rem;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: 0.68rem 0.85rem;
    margin-top: 1.6rem;
    color: var(--ek-text);
}
.op-card small {
    display: block;
    color: var(--ek-muted);
    font-size: .72rem;
}
.op-card:hover {
    border-color: var(--accent);
}
.side-sticky {
    position: sticky;
    top: 1rem;
}
.book-box {
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: 1.062rem;
    box-shadow: none;
}
.book-price strong {
    font-size: 1.5rem;
    font-weight: 800;
}
.book-price span {
    color: var(--ek-muted);
}
.book-box .form-control {
    border-radius: 6px;
}
.book-sum {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--ek-border);
    margin: 1rem 0 .9rem;
    padding-top: .8rem;
    font-size: .85rem;
    color: #606060;
}
.book-sum strong {
    font-size: 1.2rem;
    color: var(--ek-text);
}
.store-map.tall {
    height: 260px;
}
.big-map {
    height: 560px;
    z-index: 0;
}
.map-legend {
    display: flex;
    gap: 0.85rem;
    font-size: .8rem;
    color: #606060;
}
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: .3rem;
}
.dot.blue { background: #0b5cff; }
.dot.orange { background: #f97316; }

/* Services */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}
.svc-card {
    display: flex;
    align-items: center;
    gap: 0.722rem;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: 0.765rem 0.85rem;
    color: var(--ek-text);
}
.svc-card .r-logo {
    width: 52px;
    height: 52px;
}
.svc-card strong {
    display: block;
    font-size: .9rem;
}
.svc-card small {
    display: block;
    color: var(--ek-muted);
    font-size: .74rem;
}
.svc-card:hover {
    border-color: var(--accent);
}

@media (max-width: 1199.98px) {
    .dest-row {
        grid-auto-columns: calc((100% - 3rem) / 4);
    }
}
@media (max-width: 991.98px) {
    .th-brand {
        display: none;
    }
    .t-grid,
    .l-grid,
    .dest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .t-grid.cols-3,
    .l-grid.cols-3,
    .ev-grid,
    .svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dest-row {
        grid-auto-columns: calc((100% - 1rem) / 2.3);
    }
    .photo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    .ts-panel {
        flex-wrap: wrap;
    }
    .ts-field,
    .ts-field.sm,
    .ts-panel .btn-accent {
        flex: 1 1 100%;
    }
    .ts-tabs button {
        padding: .55rem .7rem;
        font-size: .72rem;
    }
    .t-grid,
    .l-grid,
    .t-grid.cols-3,
    .l-grid.cols-3 {
        gap: .6rem;
    }
    .ev-grid,
    .svc-grid,
    .checks,
    .amenities {
        grid-template-columns: minmax(0, 1fr);
    }
    .photo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .detail-img {
        aspect-ratio: 4 / 3;
    }
}
