.td-hero {
    background: var(--ivory);
    padding: 28px 0 0
}

.td-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 24px;
    align-items: end;
    margin-bottom: 1rem;
}

.td-breadcrumb {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    white-space: nowrap;
    margin-bottom: 14px;
    overflow-x: auto;
}

.td-breadcrumb:hover ::-webkit-scrollbar {
    height: 2px;
}

.td-breadcrumb::-webkit-scrollbar {
    height: 0
}

.td-breadcrumb a {
    font-weight: 900;
    color: var(--teal)
}

.td-title {
    font-family: var(--heading);
    font-size: clamp(28px, 5vw, 45px);
    line-height: 1.05;
    color: var(--navy);
    margin: 0 0 14px;
    font-weight: 700;
}

.td-tags {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 18px
}

.td-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 900;
    color: var(--teal)
}

.td-price-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 18px;
    text-align: center
}

.td-price-box span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 900
}

.td-price-box strong {
    font-size: 38px;
    color: var(--navy)
}

.tour-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 450px;
    margin-bottom: 30px;
}

.tour-gallery a {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.tour-gallery .tour-img:nth-child(n + 6) {
    display: none;
}

.tour-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-gallery.has-layout a:first-child {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 420px;
}

.tour-gallery.has-layout a:not(:first-child) {
    min-height: 205px;
}

.tour-gallery.two-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 0px;
    /* height: 250px; */
    margin-bottom: 30px;
}

.tour-gallery.two-item>* {
    height: 100%;
    width: 100%;
    min-height: 100%;
}

.tour-gallery.two-item>.tour-img:nth-child(1) {
    grid-area: 1 / 1 / 5 / 3;

}

.tour-gallery.two-item>.tour-img:nth-child(2) {
    grid-area: 1 / 3 / 5 / 5;
}

.tour-gallery.three-item {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    /* height: 250px; */
    margin-bottom: 30px;
}

.tour-gallery.three-item>* {
    height: 100%;
    width: 100%;
    min-height: 100%;
}

.tour-gallery.three-item>.tour-img:nth-child(1) {
    grid-area: 1 / 1 / 6 / 4;

}

.tour-gallery.three-item>.tour-img:nth-child(2) {
    grid-area: 1 / 4 / 6 / 6;
}

.tour-gallery.three-item>.tour-img:nth-child(3) {
    grid-area: 1 / 6 / 6 / 9;
}

.tour-gallery.two-item img,
.tour-gallery.three-item img,
.tour-gallery.four-item img {
    height: 100%
}

.tour-gallery.four-item .tour-img:last-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 230px;
    min-width: 100%;
}

.tour-gallery.one-item {
    display: block;
}

.tour-gallery.one-item > *{
    min-height: auto !important;
    height: 450px !important;
    width: 100%;
    display: block;
}

.more-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    border: none;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
}

.more-img-overlay span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
}

.hidden-gallery-item {
    display: none;
}

.td-quick {
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden
}

.td-quick div {
    padding: 18px;
    text-align: center;
    border-right: 1px solid var(--line)
}

.td-quick div:last-child {
    border-right: 0
}

.td-quick i {
    color: var(--teal);
    font-size: 22px
}

.td-quick span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--muted);
    margin-top: 6px
}

.td-quick strong {
    display: block;
    color: var(--navy);
    font-weight: 900
}

.td-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
    margin-top: 34px
}

/* Fixed sticky menu */
.td-tabs {
    position: sticky;
    top: 80px;
    z-index: 80;
    background: rgba(255, 249, 241, .96);
    backdrop-filter: blur(14px);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 0 18px;
    box-shadow: 0 12px 28px rgba(13, 59, 76, .08);
}

.td-tabs::-webkit-scrollbar {
    height: 0
}

.td-tabs a {
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    color: var(--navy)
}

.td-tabs a:hover {
    background: #fff
}

.td-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 26px;
    margin-bottom: 18px;
    scroll-margin-top: 180px
}

.td-card ul {
    list-style: disc;
    margin-left: 20px;
}

.td-card h2 {
    font-family: var(--heading);
    color: var(--navy);
    font-size: 24px;
    margin: 0 0 12px;
    font-weight: 600;
}

.td-card p {
    color: var(--muted)
}

.td-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px
}

.td-check-grid span {
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    font-weight: 800
}

.td-check-grid span:before {
    content: '✓';
    color: var(--teal);
    font-weight: 900;
    margin-right: 8px
}

.timeline {
    display: grid;
    gap: 14px
}



.timeline strong {
    color: var(--teal)
}

.timeline h3 {
    font-family: var(--heading);
    color: var(--navy);
    margin: 3px 0
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--gold);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s ease;
    background: #fff;
}

.timeline-head {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    text-align: left;
}

.timeline-head strong {
    display: block;
    margin-bottom: 8px;
    color: var(--main-color);
    font-size: 14px;
}

.timeline-head h3 {
    margin: 0;
    font-size: 18px;
    color: #111827;
}

.timeline-icon {
    flex-shrink: 0;
    transition: 0.3s ease;
}

.timeline-content {
    display: none;
    padding: 0 18px 18px;
}

.timeline-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
}

.timeline-item.active .timeline-content {
    display: block;
}

.timeline-item.active .timeline-icon {
    transform: rotate(45deg);
}

.table-responsive {
    overflow: scroll !important;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
    min-width: 500px;
}

.price-table th {
    background: var(--navy);
    color: #fff;
    text-align: left
}

.price-table th,
.price-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line)
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 14px 0
}

.faq-item h3 {
    font-family: var(--heading);
    color: var(--navy);
    margin: 0
}

.related-blogs {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
}

.related-blogs-header {
    margin-bottom: 20px;
}

.related-blogs-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-left: 14px;
}

.related-blogs-header h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    border-radius: 20px;
    background: var(--navy);
}

.related-blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-blog-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all .3s ease;
}

.related-blog-item:hover {
    transform: translateX(4px);
}

.blog-thumb {
    width: 100px;
    min-width: 100px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.related-blog-item:hover .blog-thumb img {
    transform: scale(1.08);
}

.blog-content {
    flex: 1;
}

.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin-bottom: 8px;
    border-radius: 30px;
    background: #f5f7fa;
    color: #666;
    font-size: 11px;
    font-weight: 500;
}

.blog-date i {
    font-size: 11px;
}

.blog-content h4 {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 700;
    color: #222;
    transition: color .3s ease;
}

.related-blog-item:hover h4 {
    color: var(--navy);
}

.booking-card {
    position: sticky;
    top: 10px;
    /* background: #fff; */
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden
}

.booking-head {
    background: linear-gradient(135deg, var(--navy), var(--teal));
    color: #fff;
    padding: 22px
}

.booking-head h3 {
    font-family: var(--heading);
    font-size: 28px;
    margin: 0
}

.booking-head p {
    color: rgba(255, 255, 255, .76);
    margin: 6px 0 0
}

.booking-body {
    padding: 20px;
    display: grid;
    gap: 13px
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 900;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 5px
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: var(--sand);
    outline: none
}

.field textarea {
    min-height: 100px;
    resize: vertical
}

@media(max-width:980px) {

    .td-head,
    .td-layout {
        grid-template-columns: 1fr
    }

    .td-price-box {
        text-align: left
    }

    .booking-card {
        position: relative;
        top: auto
    }

    .td-quick {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .td-tabs {
        top: 82px
    }
}

@media(max-width:640px) {
    .td-hero {
        padding-top: 18px
    }

    .td-title {
        font-size: 32px
    }

    .form-box {
        padding: 0.70rem;
    }

    /* Mobile gallery swipe */
    /* .td-gallery {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        border-radius: 0;
        margin-inline: -12px;
        padding: 0 12px 12px;
    }

    .td-gallery::-webkit-scrollbar {
        height: 0
    }

    .td-gallery a,
    .td-gallery a:nth-child(3) {
        flex: 0 0 86%;
        height: 245px;
        grid-column: auto;
        grid-row: auto;
        border-radius: 22px;
        scroll-snap-align: start;
    } */

    .tour-gallery {
        display: flex !important;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        max-height: 450px;
        margin-bottom: 30px;
    }

    .tour-gallery::-webkit-scrollbar {
        height: 0
    }

    .tour-gallery>* {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 150px !important;
        min-height: auto !important;
        min-width: 250px;
        aspect-ratio: 1 /1;
    }

    .td-check-grid {
        grid-template-columns: 1fr
    }

    .td-card {
        padding: 20px;
        scroll-margin-top: 130px
    }

    .td-tabs {
        top: 72px;
        margin-inline: -12px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 10px 12px;
    }
}

@media(max-width:640px) {

    .td-quick {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .td-quick div {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 18px 12px;
        text-align: center;
        box-shadow: 0 10px 24px rgba(13, 59, 76, .06);
        border-right: 0;
    }

    /* .td-quick div:last-child {
        grid-column: 1 / -1;
    } */

    .td-quick i {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .td-quick span {
        font-size: 10px;
        margin-top: 0;
        margin-bottom: 6px;
    }

    .td-quick strong {
        font-size: 20px;
        line-height: 1.2;
    }

}

@media(max-width:640px) {

    body {
        overflow-x: hidden;
    }

    main {
        overflow-x: hidden;
        overflow-y: visible;
    }

    .td-layout,
    .td-layout>div,
    .td-card,
    .booking-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .td-card {
        overflow: visible;
        border-radius: 24px;
    }

    .td-card p,
    .timeline p,
    .faq-item p {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .td-tabs {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: 16px;
        padding-right: 16px;
    }

    .td-tabs a {
        flex: 0 0 auto;
    }
}

.kt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(13, 59, 76, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.kt-lightbox.is-open {
    display: flex;
}

.kt-lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 84vh;
    border-radius: 22px;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.kt-lightbox-close,
.kt-lightbox-arrow {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.kt-lightbox-close {
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    font-size: 32px;
}

.kt-lightbox-arrow {
    width: 54px;
    height: 54px;
    font-size: 42px;
    top: 50%;
    transform: translateY(-50%);
}

.kt-lightbox-prev {
    left: 24px
}

.kt-lightbox-next {
    right: 24px
}

body.lightbox-open {
    overflow: hidden;
}

@media(max-width:640px) {
    .kt-lightbox {
        padding: 14px;
    }

    .kt-lightbox img {
        max-width: 94vw;
        max-height: 78vh;
        border-radius: 18px;
    }

    .kt-lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .kt-lightbox-prev {
        left: 10px
    }

    .kt-lightbox-next {
        right: 10px
    }

    .kt-lightbox-close {
        top: 14px;
        right: 14px;
    }
}

.td-included-card {
    position: relative;
    overflow: hidden;
}

.td-included-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(215, 181, 154, .16);
}

.td-included-head {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.td-included-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
}

.td-included-head span::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.td-included-head h2 {
    margin-top: 8px;
}

.td-included-head p {
    margin: 0;
    color: var(--muted);
}

.td-included-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.td-inc-box {
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--sand);
}

.td-inc-box.included {
    background: linear-gradient(135deg, rgba(125, 170, 166, .14), rgba(255, 255, 255, .95));
}

.td-inc-box.excluded {
    background: linear-gradient(135deg, rgba(215, 181, 154, .18), rgba(255, 255, 255, .95));
}

.td-inc-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.td-inc-title i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.td-inc-box.included .td-inc-title i {
    background: rgba(47, 91, 99, .12);
    color: var(--teal);
}

.td-inc-box.excluded .td-inc-title i {
    background: rgba(215, 181, 154, .22);
    color: #b77f55;
}

.td-inc-title h3 {
    font-family: var(--heading);
    color: var(--navy);
    font-size: 24px;
    margin: 0;
}

.td-inc-box ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.td-inc-box li {
    position: relative;
    padding-left: 26px;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.55;
}

.td-inc-box li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
}

.td-inc-box.included li::before {
    content: "\f00c";
    color: var(--teal);
}

.td-inc-box.excluded li::before {
    content: "\f00d";
    color: #b77f55;
}

@media(max-width:760px) {
    .td-included-grid {
        grid-template-columns: 1fr;
    }

    .td-inc-box {
        padding: 20px;
        border-radius: 22px;
    }

    .td-inc-title h3 {
        font-size: 22px;
    }

    .td-inc-box li {
        font-size: 14px;
    }
}

.related-tours-section {
    padding: 34px 0 74px;
    background: var(--sand);
}

.related-tours-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 22px;
    margin-bottom: 28px;
}

.related-title-wrap {
    max-width: 760px;
}

.related-tours-head span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 10px;
}

.related-tours-head span::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.related-tours-head h2 {
    font-family: var(--heading);
    color: var(--navy);
    font-size: clamp(34px, 4vw, 40px);
    line-height: 1.05;
    margin: 0;
    max-width: 680px;
}

.related-tours-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    padding: 14px 20px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(13, 59, 76, .12);
}

.related-tours-head a:hover {
    background: var(--teal);
    transform: translateY(-2px);
}

.related-tours-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.related-tour-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(13, 59, 76, .08);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

.related-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(13, 59, 76, .14);
}

.related-tour-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.related-tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.related-tour-card:hover .related-tour-img img {
    transform: scale(1.07);
}

.related-tour-img span {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(215, 181, 154, .96);
    color: var(--navy);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 11px;
    font-weight: 900;
}

.related-tour-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 12px;
    font-size: 13px;
}

.related-tour-meta i {
    color: var(--teal);
}

.related-tour-body h3 {
    font-family: var(--heading);
    color: var(--navy);
    font-size: 24px;
    line-height: 1.18;
    margin: 0 0 12px;
}

.related-tour-body p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 20px;
}

.related-tour-foot {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related-tour-foot strong {
    color: var(--navy);
    font-weight: 900;
    font-size: 18px;
}

.related-tour-foot i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
}

@media(max-width:980px) {
    .related-tours-grid {
        grid-template-columns: 1fr;
    }

    .related-tours-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .related-tours-head a {
        width: max-content;
    }
}

@media(max-width:640px) {
    .related-tours-section {
        padding: 28px 0 54px;
    }

    .related-tours-head h2 {
        font-size: 34px;
    }

    .related-tours-head a {
        width: 100%;
    }

    .related-tour-img {
        height: 210px;
    }

    .related-tour-body h3 {
        font-size: 22px;
    }
}



/* ── Form SIDEBAR ── */
.form-box {
    padding: 1rem;
    background: var(--white);
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="tel"],
input[type="date"],
input[type="search"],
input[type="password"],
input[type="subject"],
textarea,
.form-select {
    background: var(--white);
    border: 1px solid rgb(0 0 0 / 0.1);
    outline: 0;
    width: 100%;
    padding: 1rem;
    resize: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 400;
    position: relative;
}

.td-sidebar {
    position: sticky;
    top: 70px;
    scroll-margin-top: 100px;
}

.td-avail-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(39, 61, 127, .12);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
}

.td-avail-header {
    background: var(--mint);
    padding: 16px 20px;
    color: var(--navy);
}

.td-avail-header h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.td-avail-header p {
    font-size: 12px;
    opacity: .8;
}

.td-avail-body {
    padding: 18px 20px 20px;
}

/* ── Floating label field ── */
#res-phone {
    height: 50px;
}

.ff-wrap {
    margin-bottom: 10px;
    position: relative;
}

.ff-field {
    position: relative;
}

/* The actual input / select / textarea */
.ff-input {
    width: 100%;
    border: 1.5px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    padding: 18px 12px 6px !important;
    /* top padding creates room for floated label */
    font-size: 13.5px;
    font-family: var(--font-body);
    color: var(--color-gray-900);
    background: var(--white);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    height: 48px;
    line-height: 1.2;
}

#res-name {
    height: 46px;
}

.ff-textarea {
    height: auto;
    min-height: 70px;
    padding-top: 20px;
    resize: vertical;
}

.ff-select {
    padding-right: 32px;
    cursor: pointer;
}

.ff-input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(39, 61, 127, .1);
}

/* ── Floating label ── */
.ff-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-gray-400);
    pointer-events: none;
    transition: top .18s ease, font-size .18s ease, color .18s ease, transform .18s ease;
    line-height: 1;
    white-space: nowrap;
}

/* textarea: label starts near top */
.ff-textarea~.ff-label {
    top: 22px;
    transform: none;
}

/* Floated state — focus OR has value (handled via JS class .ff-active) */
.ff-input:focus~.ff-label,
.ff-field.ff-active .ff-label {
    top: 7px;
    transform: none;
    font-size: 10px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Select label always floated when a real value is chosen */
.ff-label--select {
    top: 7px;
    transform: none;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-gray-400);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ff-input:focus~.ff-label--select {
    color: var(--navy);
}

.ff-field.ff-active .ff-label--select {
    color: var(--navy);
}

.ff-req {
    color: #dc2626;
}

/* Select arrow */
.ff-field--select {
    position: relative;
}

.ff-select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-gray-400);
    font-size: 11px;
}

/* Date icon */
.ff-field--date {
    position: relative;
}

.ff-date-ico {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-gray-400);
}

.ff-date-ico svg {
    width: 15px;
    height: 15px;
    display: block;
}

.ff-field--date .ff-input {
    padding-right: 34px;
    cursor: pointer;
}

/* ── Validation states ── */
.ff-err-msg {
    font-size: 11px;
    color: #dc2626;
    margin-top: 3px;
    display: block;
    min-height: 0;
    line-height: 1.3;
}

.ff-wrap.ff-error .ff-input {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

.ff-wrap.ff-valid .ff-input {
    border-color: #16a34a;
}

.ff-wrap.ff-valid .ff-label,
.ff-wrap.ff-error .ff-label {
    color: inherit;
}

.ff-wrap.ff-valid .ff-input:focus~.ff-label,
.ff-wrap.ff-valid .ff-field.ff-active .ff-label {
    color: #16a34a;
}

.ff-wrap.ff-error .ff-input:focus~.ff-label,
.ff-wrap.ff-error .ff-field.ff-active .ff-label {
    color: #dc2626;
}

/* ── Layout rows ── */
.ff-phone-row {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.ff-dates-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.ff-guests-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 12px;
    background: var(--color-gray-100);
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--color-gray-200);
}

.ff-counter-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--mint);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}

/* ── Counter ── */
.ff-counter {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
}

.ff-counter-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    cursor: pointer;
    font-size: 11px;
    transition: background .2s;
    flex-shrink: 0;
}

.ff-counter-btn:hover {
    background: var(--color-gray-200);
}

.ff-counter-val {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gray-900);
}

/* ── Submit ── */
.btn-request {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    margin-top: 4px;
    letter-spacing: .02em;
}

.btn-request:hover {
    opacity: .9;
    transform: translateY(-1px);
}
