/* ══════════════════════════════════════════════
   TOUR DETAIL PAGE — pixel-match reference
   ══════════════════════════════════════════════ */
.fv-tour-detail-page {
    padding: 20px 0 40px;
}

/* ── Stepper ── */
.fv-tour-detail-page .fv-td-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 22px;
}

.fv-tour-detail-page .fv-td-step {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.fv-tour-detail-page .fv-td-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #c9cdd5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #a1a7b2;
}

.fv-tour-detail-page .fv-td-step.is-active .fv-td-step-num {
    border-color: #0d9488;
    color: #0d9488;
    background: #f0fdfa;
}

.fv-tour-detail-page .fv-td-step-label {
    font-size: 13px;
    font-weight: 600;
    color: #a1a7b2;
}

.fv-tour-detail-page .fv-td-step.is-active .fv-td-step-label {
    color: #1a1a2e;
}

.fv-tour-detail-page .fv-td-step-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 12px;
}

/* ── Title ── */
.fv-tour-detail-page .fv-td-title {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.12;
    color: #1a1a2e;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
    padding-bottom: 20px;
    padding-top: 20px;
}

/* ── Info Bar ── */
.fv-tour-detail-page .fv-td-info-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: stretch;
    background: #fdf8f4;
    border-radius: 14px;
    padding: 16px;
}

.fv-tour-detail-page .fv-td-time-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e5e8ed;
    border-radius: 12px;
    padding: 14px 20px;
    background: #fff;
    min-width: 260px;
}

.fv-tour-detail-page .fv-td-time-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fv-tour-detail-page .fv-td-time-icon svg {
    width: 18px;
    height: 18px;
    color: #ef4444;
}

.fv-tour-detail-page .fv-td-time-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fv-tour-detail-page .fv-td-time-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fv-tour-detail-page .fv-td-time-row span {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.fv-tour-detail-page .fv-td-time-row strong {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}

.fv-tour-detail-page .fv-td-desc-card {
    flex: 1;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid #e5e8ed;
    border-radius: 12px;
    padding: 14px 20px;
    background: #fff;
}

.fv-tour-detail-page .fv-td-desc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.fv-tour-detail-page .fv-td-desc-icon svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
}

.fv-tour-detail-page .fv-td-desc-text {
    margin: 0 !important;
    font-size: 13.5px;
    line-height: 1.65;
    color: #374151;
}

/* ── Main Layout ── */
.fv-tour-detail-page .fv-td-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    align-items: start;
}

/* ── Sidebar ── */
.fv-tour-detail-page .fv-td-sidebar {
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 14px;
    padding: 22px 20px;
    position: sticky;
    top: 16px;
}

.fv-tour-detail-page .fv-td-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #0d9488;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e8ed;
}

/* ── Participant ── */
.fv-tour-detail-page .fv-td-participant {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.fv-tour-detail-page .fv-td-participant-info {
    flex: 1;
    min-width: 0;
}

.fv-tour-detail-page .fv-td-participant-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
}

.fv-tour-detail-page .fv-td-participant-info span {
    font-size: 11px;
    color: #9ca3af;
}

/* Counter */
.fv-tour-detail-page .fv-td-counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fv-tour-detail-page .fv-td-counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    border: 2px solid #0d9488 !important;
    background: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 !important;
    transition: background .15s;
}

.fv-tour-detail-page .fv-td-counter-btn svg {
    width: 14px;
    height: 14px;
    color: #0d9488;
}

.fv-tour-detail-page .fv-td-counter-btn:hover {
    background: #f0fdfa !important;
}

.fv-tour-detail-page .fv-td-counter-val {
    width: 34px;
    text-align: center;
    border: 0 !important;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    -moz-appearance: textfield;
}

.fv-tour-detail-page .fv-td-counter-val::-webkit-outer-spin-button,
.fv-tour-detail-page .fv-td-counter-val::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fv-tour-detail-page .fv-td-unit-price {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
}

/* ── Currencies ── */
.fv-tour-detail-page .fv-td-currencies {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.fv-tour-detail-page .fv-td-cur {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: border-color .2s;
}

.fv-tour-detail-page .fv-td-cur:hover {
    border-color: #9ca3af;
}

.fv-tour-detail-page .fv-td-cur.is-active {
    border-color: #10b981;
    border-width: 2px;
}

.fv-tour-detail-page .fv-td-cur.is-muted {
    opacity: 0.4;
    cursor: default;
}

.fv-tour-detail-page .fv-td-cur-symbol {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.fv-tour-detail-page .fv-td-cur.is-active .fv-td-cur-symbol {
    color: #1a1a2e;
}

.fv-tour-detail-page .fv-td-cur-check {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-tour-detail-page .fv-td-cur-check svg {
    width: 11px;
    height: 11px;
}

/* ── Total ── */
.fv-tour-detail-page .fv-td-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    margin-bottom: 16px;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.fv-tour-detail-page .fv-td-total-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.fv-tour-detail-page .fv-td-total-value {
    font-size: 26px;
    font-weight: 800;
    color: #22c55e !important;
}

/* ── Date ── */
.fv-tour-detail-page .fv-td-date {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid #d1d5db !important;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    cursor: pointer;
    background: #fff;
    transition: border-color .18s;
}

.fv-tour-detail-page .fv-td-date:hover,
.fv-tour-detail-page .fv-td-date:focus-within {
    border-color: #9ca3af !important;
}

.fv-tour-detail-page .fv-td-date-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fv-tour-detail-page .fv-td-date-icon svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.fv-tour-detail-page .fv-td-date-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.fv-tour-detail-page .fv-td-date-label {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1px;
}

.fv-tour-detail-page .fv-td-date-input {
    border: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
    font-size: 13px;
    color: #9ca3af;
    background: transparent !important;
    width: 100%;
    box-shadow: none !important;
}

/* ── Reserve Button ── */
.fv-tour-detail-page .fv-td-reserve-btn,
.fv-tour-detail-page .fv-td-reserve-btn:hover,
.fv-tour-detail-page .fv-td-reserve-btn:focus,
.fv-tour-detail-page .fv-td-reserve-btn:active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border: 0 !important;
    border-radius: 10px !important;
    background: #22c55e !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .18s;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35) !important;
}

.fv-tour-detail-page .fv-td-reserve-btn:hover {
    background: #16a34a !important;
}

/* ── Gallery ── */
.fv-tour-detail-page .fv-td-gallery-wrap {
    min-width: 0;
}

.fv-tour-detail-page .fv-td-gallery {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.fv-tour-detail-page .fv-td-gallery-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.fv-tour-detail-page .fv-td-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background .18s, transform .18s;
    padding: 0 !important;
}

.fv-tour-detail-page .fv-td-gallery-nav svg {
    width: 20px;
    height: 20px;
    color: #1a1a2e;
}

.fv-tour-detail-page .fv-td-gallery-nav:hover {
    background: #fff !important;
    transform: translateY(-50%) scale(1.06);
}

.fv-tour-detail-page .fv-td-gallery-prev {
    left: 14px;
}

.fv-tour-detail-page .fv-td-gallery-next {
    right: 14px;
}

/* Thumbnails */
.fv-tour-detail-page .fv-td-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.fv-tour-detail-page .fv-td-thumb {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2.5px solid transparent;
    opacity: 0.65;
    transition: opacity .2s, border-color .2s;
    flex-shrink: 0;
}

.fv-tour-detail-page .fv-td-thumb:hover {
    opacity: 0.85;
}

.fv-tour-detail-page .fv-td-thumb.is-active {
    border-color: #10b981;
    opacity: 1;
}

/* ── Content Sections ── */
.fv-tour-detail-page .fv-td-sections {
    margin-top: 32px;
}

.fv-tour-detail-page .fv-td-section {
    display: flex;
    gap: 14px;
    padding: 22px 0;
    border-top: 1px solid #e5e8ed;
}

.fv-tour-detail-page .fv-td-section-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.fv-tour-detail-page .fv-td-section-icon svg {
    width: 22px;
    height: 22px;
}

.fv-tour-detail-page .fv-td-icon-heart {
    color: #ef4444;
}

.fv-tour-detail-page .fv-td-section-body {
    flex: 1;
    min-width: 0;
}

.fv-tour-detail-page .fv-td-section-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.fv-tour-detail-page .fv-td-section-body p {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 8px;
}

/* ── Responsive ── */
@media (max-width: 1000px) {
    .fv-tour-detail-page .fv-td-info-bar {
        flex-direction: column;
    }

    .fv-tour-detail-page .fv-td-layout {
        grid-template-columns: 1fr;
    }

    .fv-tour-detail-page .fv-td-sidebar {
        position: static;
        order: -1;
    }

    .fv-tour-detail-page .fv-td-title {
        font-size: 30px;
    }

    .fv-tour-detail-page .fv-td-gallery-main {
        height: 320px;
    }

    .fv-tour-detail-page .fv-td-time-card {
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .fv-tour-detail-page .fv-td-stepper {
        gap: 0;
        overflow-x: visible;
        justify-content: center;
    }

    .fv-tour-detail-page .fv-td-step {
        gap: 4px;
        white-space: nowrap;
    }

    .fv-tour-detail-page .fv-td-step-num {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .fv-tour-detail-page .fv-td-step-label {
        font-size: 11px;
    }

    .fv-tour-detail-page .fv-td-title {
        font-size: 24px;
    }

    .fv-tour-detail-page .fv-td-participant {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .fv-tour-detail-page .fv-td-participant-info strong {
        font-size: 12px;
    }

    .fv-tour-detail-page .fv-td-participant-info span {
        font-size: 10px;
    }

    .fv-tour-detail-page .fv-td-counter {
        gap: 4px;
    }

    .fv-tour-detail-page .fv-td-counter-btn {
        width: 26px !important;
        height: 26px !important;
    }

    .fv-tour-detail-page .fv-td-counter-val {
        width: 18px;
        font-size: 14px;
    }

    .fv-tour-detail-page .fv-td-unit-price {
        font-size: 13px;
    }

    .fv-tour-detail-page .fv-td-currencies {
        gap: 4px;
    }

    .fv-tour-detail-page .fv-td-cur {
        height: 38px;
    }

    .fv-tour-detail-page .fv-td-total-value {
        font-size: 20px;
    }

    .fv-tour-detail-page .fv-td-gallery-main {
        height: 220px;
    }

    .fv-tour-detail-page .fv-td-thumb {
        width: 68px;
        height: 48px;
    }

    .fv-tour-detail-page .fv-td-gallery-nav {
        width: 36px;
        height: 36px;
    }

    .fv-tour-detail-page .fv-td-gallery-nav svg {
        width: 16px;
        height: 16px;
    }
}