/* ================================================================
   AVESTA TRAVEL â€” Ferry Search & Booking
   Site temasÄ±yla tam uyumlu
================================================================ */

body.page-ferry-search {
    padding-top: 0;
}

.fsb-page {
    background: var(--gray-50);
    min-height: 100vh;
}

/* â”€â”€â”€ Arama barÄ± â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fsb-search-bar {
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hide mobile-only components globally by default */
.tour-mobile-sheet,
.tour-mobile-sheet-backdrop,
.guest-mobile-sheet-summary,
.fsb-sheet-head-mobile {
    display: none;
}

/* Rota baÅŸlÄ±ÄŸÄ± (Bodrum â†’ Kos stili) */
.fsb-bar-hero {
    padding: 20px 0 6px;
}

.fsb-bar-route {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.fsb-bar-swap {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 300;
}

.fsb-bar-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.fsb-bar-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.83rem;
    font-weight: 500;
}

.fsb-bar-meta-item svg {
    opacity: 0.55;
}

.fsb-bar-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.fsb-bar-meta-sep {
    color: rgba(255, 255, 255, 0.35);
}

.fsb-bar-rt-badge {
    background: rgba(232, 93, 4, 0.18);
    border: 1px solid rgba(232, 93, 4, 0.28);
    border-radius: var(--radius-full);
    padding: 2px 10px;
    color: #f97316;
    font-size: 0.72rem;
    font-weight: 700;
}

.fsb-bar-actions {
    padding-bottom: 14px;
}

/* DÃ¼zenle butonu */
.fsb-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background var(--duration-base), border-color var(--duration-base);
}

.fsb-edit-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.fsb-edit-btn.is-open {
    background: var(--primary);
    border-color: var(--primary);
}

/* Edit panel */
.fsb-edit-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
    border-top: 0 solid rgba(255, 255, 255, 0.08);
}

.fsb-edit-panel.is-open {
    max-height: 420px;
    border-top-width: 1px;
}

/* Edit form wrap */
.fsb-edit-wrap {
    padding: 18px 0 24px;
}

.d-none {
    display: none !important;
}

/* Arama formu alanlarÄ± (ferry.php ile aynÄ± gÃ¶rÃ¼nÃ¼m) */
.fsb-edit-fields {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    overflow: visible;
}

.fsb-ef-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 110px;
    padding: 12px 16px;
    position: relative;
}

.fsb-ef-icon {
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

.fsb-ef-content {
    flex: 1;
    min-width: 0;
}

.fsb-ef-content label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 2px;
}

.fsb-ef-input,
.fsb-ef-pax-txt {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.90rem;
    font-weight: 500;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fsb-ef-input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.fsb-ef-div {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.13);
    flex-shrink: 0;
}

.fsb-ef-search-btn {
    padding: 5px 5px 5px 0;
    flex-shrink: 0;
}

.fsb-ef-search-btn .btn-search {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 11px 22px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--duration-base);
}

.fsb-ef-search-btn .btn-search:hover {
    background: var(--primary-dark);
}

/* Trip type tabs (edit formunda) */
.trip-type-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 2px;
}

.trip-tab {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.80rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.60);
    cursor: pointer;
    transition: all var(--duration-base);
}

.trip-tab.active {
    background: #fff;
    color: var(--primary);
}

/* Port autocomplete dropdown */
.ferry-port-autocomplete {
    position: static;
}

.ferry-port-dd {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18), 0 4px 14px rgba(15, 23, 42, .08);
    border: 1px solid rgba(148, 163, 184, .22);
    z-index: 10020;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px) scale(.985);
    transition: all .18s ease;
}

.ferry-port-dd.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ferry-port-head {
    padding: 10px 12px 9px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 800;
    color: #475569;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.ferry-port-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    max-height: 280px;
    overflow: auto;
    scrollbar-width: thin;
}

.ferry-port-item {
    width: calc(100% - 12px);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 6px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    transition: all .14s;
}

.ferry-port-item:hover,
.ferry-port-item.active {
    background: #fff8f3;
    border-color: rgba(232, 93, 4, .18);
}

.fpi-thumb {
    width: 48px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.fpi-thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.fpi-main {
    min-width: 0;
    flex: 1;
}

.fpi-title {
    font-size: .86rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fpi-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(232, 93, 4, .1);
    color: #c2410c;
    font-size: .62rem;
    font-weight: 700;
    margin-top: 3px;
}

.fpi-mark {
    background: rgba(232, 93, 4, .12);
    color: #c2410c;
    border-radius: 2px;
}

.ferry-port-empty,
.ferry-port-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    color: #94a3b8;
    font-size: .82rem;
}

.ferry-port-spinner {
    width: 13px;
    height: 13px;
    border: 2px solid #e2e8f0;
    border-top-color: #e85d04;
    border-radius: 50%;
    animation: fsbSpin .7s linear infinite;
    display: inline-block;
}

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

/* Guest dropdown (edit form) */
.guest-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(11, 20, 38, .18);
    border: 1px solid rgba(0, 0, 0, .05);
    padding: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s cubic-bezier(.2, 1, .3, 1);
}

.guest-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.guest-row:last-child {
    border-bottom: none;
}

/* Dropdown Footer & Done Button (Unified PC/Mobile) */
.fsb-sheet-footer {
    padding: 14px 18px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
}

.fsb-sheet-done {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: .94rem;
    font-weight: 800;
    font-family: inherit;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(234, 88, 12, .2);
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    outline: none;
}

.fsb-sheet-done:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(234, 88, 12, .28);
    filter: brightness(1.08);
}

.fsb-sheet-done:active {
    transform: translateY(0);
}

.guest-row:first-child {
    padding-top: 0;
}

.guest-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guest-title {
    font-size: .88rem;
    font-weight: 700;
    color: #1e293b;
}

.guest-desc {
    font-size: .74rem;
    color: #94a3b8;
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    background: transparent;
    cursor: pointer;
    transition: all .2s;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-btn:hover:not([style*="not-allowed"]) {
    border-color: var(--primary);
    color: var(--primary);
}

.guest-count {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    min-width: 18px;
    text-align: center;
}

/* â”€â”€â”€ AdÄ±m sekmeleri â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fsb-steps {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
}

.fsb-steps::-webkit-scrollbar {
    display: none;
}

.fsb-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.81rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    border-bottom: 2px solid transparent;
    cursor: default;
    white-space: nowrap;
    user-select: none;
    transition: color var(--duration-base), border-color var(--duration-base);
}

.fsb-step.is-active {
    color: #fff;
    border-bottom-color: var(--primary);
}

.fsb-step.is-done {
    color: rgba(255, 255, 255, 0.60);
    cursor: pointer;
}

.fsb-step.is-done:hover {
    color: #fff;
}

.fsb-step-n {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: background var(--duration-base);
}

.fsb-step.is-active .fsb-step-n {
    background: var(--primary);
}

.fsb-step.is-done .fsb-step-n {
    background: #22c55e;
}

.fsb-step-sep {
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    padding: 0 2px;
}

/* â”€â”€â”€ Sayfa gÃ¶vde â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fsb-body {
    padding: 28px 0 80px;
}

.fsb-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.fsb-layout.is-full {
    grid-template-columns: 1fr;
}

@media (max-width: 1080px) {
    .fsb-layout {
        grid-template-columns: 1fr;
    }
}

/* Bottom notice section (admin > ferry schedule > onemli_bilgilendirme) */
.page-ferry-search .fsb-notice-card {
    position: relative;
    margin-top: 24px;
    padding: 20px 22px 18px;
    border-radius: 12px;
    border: 1px solid #d8e0ea;
    border-left: 4px solid #0f766e;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
}

.page-ferry-search .fsb-notice-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.page-ferry-search .fsb-notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    min-height: 26px;
    padding: 3px 9px;
    border-radius: 7px;
    border: 1px solid #dbe4ee;
    background: #f8fafc;
    color: #475569;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-ferry-search .fsb-notice-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.page-ferry-search .fsb-notice-content {
    padding-top: 12px;
    border-top: 1px solid #edf1f6;
}

.page-ferry-search .fsb-notice-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.68;
    color: #405066;
    white-space: normal;
    word-break: break-word;
}

.page-ferry-search .fsb-notice-toggle {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    color: #0f766e;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-ferry-search .fsb-notice-toggle:hover {
    border-color: rgba(15, 118, 110, 0.35);
    background: #f0fdfa;
    color: #0f766e;
}

.page-ferry-search .fsb-notice-toggle svg {
    transition: transform 0.2s ease;
}

.page-ferry-search .fsb-notice-toggle.is-open svg {
    transform: rotate(180deg);
}

.page-ferry-search .fsb-notice-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.page-ferry-search .fsb-fare-card {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.page-ferry-search .fsb-fare-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.page-ferry-search .fsb-fare-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 700;
    color: #0f172a;
}

.page-ferry-search .fsb-fare-subtitle {
    margin: 5px 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

.page-ferry-search .fsb-fare-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.page-ferry-search .fsb-fare-controls {
    display: grid;
    grid-template-columns: auto minmax(220px, 320px);
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 12px;
}

.page-ferry-search .fsb-fare-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.page-ferry-search .fsb-fare-select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0 40px 0 12px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.page-ferry-search .fsb-fare-select:hover {
    border-color: #bfcce0;
}

.page-ferry-search .fsb-fare-select:focus-visible {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: #fff;
}

.page-ferry-search .fsb-fare-select.is-single {
    cursor: default;
    color: #475569;
}

.page-ferry-search .fsb-fare-select:disabled {
    opacity: 0.92;
    background-color: #f1f5f9;
}

.page-ferry-search .fsb-fare-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #fff;
}

.page-ferry-search .fsb-fare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.page-ferry-search .fsb-fare-table thead th {
    background: #f8fafc;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
}

.page-ferry-search .fsb-fare-table thead th+th {
    border-left: 1px solid #e2e8f0;
    text-align: center;
}

.page-ferry-search .fsb-fare-table tbody th,
.page-ferry-search .fsb-fare-table tbody td {
    padding: 11px 12px;
    border-bottom: 1px solid #e9eef5;
    font-size: 0.84rem;
}

.page-ferry-search .fsb-fare-table tbody tr:last-child th,
.page-ferry-search .fsb-fare-table tbody tr:last-child td {
    border-bottom: none;
}

.page-ferry-search .fsb-fare-table tbody th {
    font-weight: 700;
    color: #0f172a;
    background: #fff;
    min-width: 150px;
}

.page-ferry-search .fsb-fare-table tbody td {
    text-align: center;
    font-weight: 800;
    color: #1e293b;
    background: #fff;
    border-left: 1px solid #edf2f7;
}

.page-ferry-search .fsb-fare-table tbody tr:nth-child(odd) th,
.page-ferry-search .fsb-fare-table tbody tr:nth-child(odd) td {
    background: #fcfdff;
}

.page-ferry-search .fsb-fare-note {
    margin: 10px 2px 0;
    font-size: 0.75rem;
    line-height: 1.55;
    color: #64748b;
}

.fsb-panel {
    display: none;
    will-change: transform, opacity;
}

.fsb-panel.is-active {
    display: block;
}

.fsb-panel.is-enter-forward {
    animation: fsbPanelInForward .42s cubic-bezier(.22, .61, .36, 1);
}

.fsb-panel.is-enter-back {
    animation: fsbPanelInBack .38s cubic-bezier(.22, .61, .36, 1);
}

/* Center Step 2 and Step 3 panels when full width */
.fsb-resv-panel,
.fsb-result-panel {
    margin: 0 auto;
}

@keyframes fsbPanelInForward {
    from {
        opacity: 0;
        transform: translate3d(22px, 10px, 0) scale(0.992);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes fsbPanelInBack {
    from {
        opacity: 0;
        transform: translate3d(-22px, 10px, 0) scale(0.992);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {

    .fsb-panel.is-enter-forward,
    .fsb-panel.is-enter-back {
        animation: none;
    }
}

.fsb-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    font-family: var(--font-body);
    font-size: 0.80rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--duration-base);
    margin-bottom: 16px;
}

.fsb-back:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.fsb-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.fsb-hd-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 7px;
}

.fsb-hd-title svg {
    color: var(--primary);
}

.fsb-count {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--gray-400);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 2px 10px;
}

/* â”€â”€â”€ GidiÅŸ/DÃ¶nÃ¼ÅŸ sekmeleri â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fsb-dir-tabs {
    display: flex;
    gap: 4px;
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 4px;
    width: fit-content;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.fsb-dir-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: calc(var(--radius-md) - 4px);
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-400);
    cursor: default;
    transition: all var(--duration-base);
}

.fsb-dir-tab.is-active {
    background: var(--navy);
    color: #fff;
}

.fsb-dir-tab.is-done {
    color: #16a34a;
    cursor: pointer;
}

.fsb-dir-tab.is-done:hover {
    background: var(--gray-100);
}

.fsb-dchk {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #22c55e;
    display: none;
    align-items: center;
    justify-content: center;
}

/* â”€â”€â”€ Sefer kartÄ± â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fsb-voyage-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--gray-200);
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color var(--duration-base) var(--ease),
        box-shadow var(--duration-base) var(--ease),
        transform var(--duration-fast) var(--ease);
}

.fsb-voyage-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 16px rgba(232, 93, 4, .09);
    transform: translateY(-1px);
}

.fsb-voyage-card.is-sel {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, .09);
}

.fsb-voyage-card.is-sel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
}

.fsb-vcard-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
}

@media (max-width: 560px) {
    .fsb-vcard-inner {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .fsb-vessel {
        grid-column: 1 / -1;
    }
}

.fsb-vessel {
    display: flex;
    align-items: center;
    gap: 11px;
}

.fsb-vessel-img {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.fsb-vessel-ph {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.fsb-vessel-name {
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--navy);
}

.fsb-vessel-badges {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.fsb-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.fsb-badge.green {
    background: #dcfce7;
    color: #15803d;
}

.fsb-badge.blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.fsb-timing {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.fsb-tpt {
    text-align: center;
}

.fsb-time {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.fsb-port {
    font-size: 0.70rem;
    color: var(--gray-400);
    margin-top: 3px;
    max-width: 85px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fsb-dur-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 64px;
}

.fsb-dur-line {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 100%;
}

.fsb-dur-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.fsb-dur-track {
    flex: 1;
    height: 1.5px;
    background: var(--gray-200);
    position: relative;
}

.fsb-dur-track::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    border-left: 5px solid var(--gray-300);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.fsb-dur-lbl {
    font-size: 0.70rem;
    color: var(--gray-400);
    font-weight: 500;
}

.fsb-price-col {
    text-align: right;
    flex-shrink: 0;
}

.fsb-price-per {
    font-size: 0.67rem;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.fsb-price-val {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.fsb-price-sub {
    font-size: 0.68rem;
    color: var(--gray-400);
    margin-top: 2px;
}

.fsb-pick-btn {
    display: block;
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.80rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    margin-top: 9px;
    text-align: center;
    transition: background var(--duration-base), transform var(--duration-fast);
}

.fsb-pick-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.fsb-voyage-card.is-sel .fsb-pick-btn {
    background: #16a34a;
}

/* BoÅŸ durum */
.fsb-empty {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 52px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.fsb-empty-ico {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--gray-400);
}

.fsb-empty h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.fsb-empty p {
    font-size: 0.82rem;
    color: var(--gray-500);
    max-width: 340px;
    margin: 0 auto 20px;
    line-height: 1.65;
}

.fsb-wa-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    text-decoration: none;
    transition: background var(--duration-base);
}

.fsb-wa-cta:hover {
    background: #dcfce7;
}

.fsb-wa-cta-txt strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy);
}

.fsb-wa-cta-txt span {
    font-size: 0.76rem;
    color: var(--gray-500);
}

/* â”€â”€â”€ Yolcu formlarÄ± â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fsb-pax-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.fsb-pax-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.fsb-pax-ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.fsb-pax-htitle {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
}

.fsb-pax-hsub {
    font-size: 0.72rem;
    color: var(--gray-400);
}

.fsb-pax-body {
    padding: 18px;
}

.fsb-g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.fsb-g3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 13px;
}

@media (max-width: 640px) {

    .fsb-g2,
    .fsb-g3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .fsb-g3 {
        grid-template-columns: 1fr 1fr;
    }
}

.fsb-full {
    grid-column: 1 / -1;
}

.fsb-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fsb-field label {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--gray-600);
}

.fsb-field label .req {
    color: var(--primary);
}

.fsb-field input,
.fsb-field select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 9px 11px;
    font-size: 0.86rem;
    font-family: var(--font-body);
    color: var(--gray-800);
    background: #fff;
    outline: none;
    transition: border-color var(--duration-base), box-shadow var(--duration-base);
}

.fsb-field input:focus,
.fsb-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, .08);
}

.fsb-field-err {
    font-size: 0.70rem;
    color: #ef4444;
    display: none;
}

.fsb-field.has-err input,
.fsb-field.has-err select {
    border-color: #ef4444;
}

.fsb-field.has-err .fsb-field-err {
    display: block;
}

.page-ferry-search .fsb-field .avp-phone-wrap {
    width: 100%;
}

.page-ferry-search .fsb-field .avp-phone-wrap .avp-cc-btn {
    height: 40px;
}

.page-ferry-search .fsb-field .avp-phone-wrap .avp-tel-input {
    height: 40px;
}

.page-ferry-search .fsb-field.has-err .avp-phone-wrap .avp-cc-btn {
    border-color: #ef4444 !important;
}

/* Passenger step datepicker fixes:
   - Panel artÄ±k kart iÃ§inde kesilmez
   - Takvim paneli input geniÅŸliÄŸi kadar aÃ§Ä±lÄ±r */
.page-ferry-search .fsb-pax-card {
    position: relative;
    overflow: visible;
}

.page-ferry-search .fsb-pax-card:focus-within {
    z-index: 20;
}

.page-ferry-search .fsb-pax-card .avp-wrapper {
    width: 100%;
}

.page-ferry-search .fsb-pax-card .avp-panel {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    z-index: 12120;
}

.fsb-contact {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-top: 12px;
    box-shadow: var(--shadow-sm);
}

.fsb-contact-lbl {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 13px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
}

.fsb-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 0.90rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--duration-base), transform var(--duration-fast);
}

.fsb-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.fsb-cta:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    transform: none;
}

.fsb-cta.navy {
    background: var(--navy);
}

.fsb-cta.navy:hover {
    background: var(--navy-mid);
}

.fsb-cta.green {
    background: #16a34a;
}

.fsb-cta.green:hover {
    background: #15803d;
}

.fsb-cta-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

/* â”€â”€â”€ Ã–zet â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fsb-sum-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.fsb-sum-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 13px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
}

.fsb-sum-title svg {
    color: var(--primary);
}

.fsb-confirm {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-top: 14px;
    box-shadow: var(--shadow-sm);
}

.fsb-confirm h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.fsb-confirm p {
    font-size: 0.80rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.65;
}

.fsb-confirm-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fsb-confirm-btns .fsb-cta {
    flex: 1;
    min-width: 160px;
}

.fsb-secure {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.69rem;
    color: var(--gray-400);
    justify-content: center;
    margin-top: 10px;
}

/* â”€â”€â”€ Widget â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fsb-widget {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 100px;
}

.fsb-widget-hd {
    background: var(--navy);
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fsb-widget-title {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fsb-widget-cnt {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-full);
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fsb-widget-body {
    padding: 14px 18px;
}

.fsb-widget-empty {
    text-align: center;
    padding: 22px 12px;
    color: var(--gray-400);
}

.fsb-widget-empty svg {
    margin: 0 auto 10px;
    display: block;
    opacity: 0.35;
}

.fsb-widget-empty p {
    font-size: 0.80rem;
}

.fsb-witem {
    border-bottom: 1px solid var(--gray-100);
    padding: 11px 0;
}

.fsb-witem:last-child {
    border-bottom: none;
}

.fsb-witem-hd {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.fsb-witem-dir {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
}

.fsb-witem-rm {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 0;
    line-height: 1;
    transition: color var(--duration-base);
}

.fsb-witem-rm:hover {
    color: #ef4444;
}

.fsb-witem-route {
    font-weight: 700;
    font-size: 0.83rem;
    color: var(--navy);
}

.fsb-witem-meta {
    font-size: 0.73rem;
    color: var(--gray-400);
    margin-top: 2px;
    display: flex;
    gap: 8px;
}

.fsb-witem-prices {
    margin-top: 6px;
}

.fsb-witem-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    color: var(--gray-500);
    padding: 1px 0;
}

.fsb-witem-price-row strong {
    color: var(--gray-700);
}

.fsb-widget-total {
    border-top: 1.5px solid var(--gray-200);
    padding: 12px 18px 0;
}

.fsb-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--gray-500);
    padding: 2px 0;
}

.fsb-grand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid var(--navy);
}

.fsb-grand-lbl {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
}

.fsb-grand-val {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.fsb-widget-cta {
    padding: 12px 18px 16px;
}

.fsb-widget-cta .fsb-cta {
    width: 100%;
}

.fsb-widget-sec {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: var(--gray-400);
    justify-content: center;
    margin-top: 7px;
}

.fsb-widget-wa {
    border-top: 1px solid var(--gray-100);
    padding: 12px 18px 16px;
}

.fsb-widget-wa p {
    font-size: 0.72rem;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 7px;
}

.fsb-wa-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #22c55e;
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 0.80rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--duration-base);
}

.fsb-wa-link:hover {
    background: #16a34a;
}

.fsb-mobile-sticky {
    display: none;
}

/* â”€â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 900px) {
    .fsb-bar-route {
        font-size: 1.5rem;
    }

    .fsb-edit-fields {
        flex-wrap: wrap;
        border-radius: var(--radius-md);
    }

    .fsb-ef-field {
        min-width: calc(50% - 1px);
    }

    .fsb-ef-div {
        display: none;
    }

    .fsb-ef-search-btn {
        width: 100%;
        padding: 8px 16px;
    }

    .fsb-ef-search-btn .btn-search {
        width: 100%;
    }
}

@media (max-width: 580px) {
    .fsb-bar-route {
        font-size: 1.2rem;
        gap: 8px;
    }

    .fsb-ef-field {
        min-width: 100%;
    }

    .fsb-widget {
        position: static;
    }

    .fsb-confirm-btns {
        flex-direction: column;
    }
}

/* Search Bar Polish + Layer Fixes */
.page-ferry-search .fsb-search-bar {
    position: relative;
    z-index: 40;
    overflow: visible;
    margin-top: 0;
    padding-top: 84px;
    background: #0f0f0f;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08), 0 18px 34px rgba(2, 8, 23, .22);
}

.page-ferry-search .fsb-search-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, .02), transparent 30%);
    pointer-events: none;
}

.page-ferry-search .fsb-bar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-top: 0;
}

.page-ferry-search .fsb-bar-hero {
    padding: 0 0 8px;
    flex: 1;
    min-width: 0;
}

.page-ferry-search .fsb-bar-route {
    font-size: clamp(1.35rem, 3vw, 2.08rem);
    letter-spacing: -.012em;
    margin-bottom: 10px;
}

.page-ferry-search .fsb-bar-city {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-ferry-search .fsb-bar-swap {
    font-size: 1.35rem;
    opacity: .95;
}

.page-ferry-search .fsb-bar-actions {
    padding: 12px 0 0;
    margin-left: auto;
    flex-shrink: 0;
}

.page-ferry-search .fsb-edit-btn {
    white-space: nowrap;
    padding: 10px 18px;
    font-size: .83rem;
    border-color: rgba(255, 255, 255, .24);
}

.page-ferry-search .fsb-edit-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--ease);
}

.page-ferry-search .fsb-edit-panel.is-open {
    max-height: 960px;
    overflow: visible;
}

.page-ferry-search .fsb-edit-wrap {
    padding: 18px 0 28px;
    position: relative;
    z-index: 6;
}

.page-ferry-search .trip-type-tabs {
    margin-bottom: 14px !important;
}

.page-ferry-search .fsb-edit-fields {
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 42px rgba(2, 8, 23, .22);
    position: relative;
    z-index: 8;
}

.page-ferry-search .fsb-ef-field {
    min-height: 74px;
}

.page-ferry-search .fsb-ef-content label {
    margin-bottom: 4px;
}

.page-ferry-search .fsb-ef-input,
.page-ferry-search .fsb-ef-pax-txt {
    font-size: .95rem;
}

.page-ferry-search .fsb-ef-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    flex: 0 0 auto;
}

.page-ferry-search .fsb-swap-route-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .09);
    color: #fff;
    cursor: pointer;
    transition: transform .24s var(--ease), background var(--duration-base), border-color var(--duration-base);
}

.page-ferry-search .fsb-swap-route-btn:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .42);
}

.page-ferry-search .fsb-swap-route-btn.is-anim {
    transform: rotate(180deg);
}

.page-ferry-search .ferry-port-autocomplete {
    position: relative;
}

.page-ferry-search .ferry-port-dd {
    width: max(300px, 100%);
    min-width: 100%;
    z-index: 12050;
}

.page-ferry-search #feToWrap .ferry-port-dd {
    left: auto;
    right: 0;
}

.page-ferry-search .guest-dropdown {
    width: min(340px, calc(100vw - 36px));
    z-index: 12040;
}

.page-ferry-search #fePaxField .guest-dropdown {
    left: 16px;
    right: auto;
}

.page-ferry-search .fsb-ef-content .avp-wrapper {
    width: 100%;
    display: block;
}

.page-ferry-search .fsb-ef-content .avp-trigger {
    padding: 0 22px 0 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    box-shadow: none !important;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.2;
}

.page-ferry-search .fsb-ef-content .avp-trigger:hover,
.page-ferry-search .fsb-ef-content .avp-trigger:focus,
.page-ferry-search .fsb-ef-content .avp-trigger.open {
    border: 0;
    background: transparent;
    box-shadow: none !important;
}

.page-ferry-search .fsb-ef-content .avp-trigger.placeholder-text {
    color: rgba(255, 255, 255, .34);
}

.page-ferry-search .fsb-ef-content .avp-icon {
    right: 0;
    color: rgba(255, 255, 255, .4);
}

.page-ferry-search .fsb-ef-content .avp-panel {
    top: calc(100% + 10px);
    z-index: 12060;
}

.page-ferry-search .fsb-vessel-media {
    width: 46px;
    height: 46px;
    position: relative;
    flex-shrink: 0;
}

.page-ferry-search .fsb-vessel-img,
.page-ferry-search .fsb-vessel-ph {
    width: 100%;
    height: 100%;
}

.page-ferry-search .fsb-vessel-ph.is-hidden {
    display: none;
}

@media (max-width: 1100px) {
    .page-ferry-search .fsb-bar-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 0;
    }

    .page-ferry-search .fsb-bar-actions {
        padding-top: 0;
    }
}

@media (max-width: 900px) {
    .page-ferry-search .fsb-edit-fields {
        flex-wrap: wrap;
    }

    .page-ferry-search #feFromWrap,
    .page-ferry-search #feToWrap {
        flex: 1;
        min-width: 120px;
    }

    .page-ferry-search .fsb-ef-swap {
        width: auto;
        padding: 0 4px;
    }

    .page-ferry-search .fsb-ef-div {
        display: none;
    }

    /* Diğer alanlar alt alta kalsın */
    .page-ferry-search .fsb-ef-field:not(#feFromWrap):not(#feToWrap) {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .page-ferry-search .ferry-port-dd {
        width: 100%;
        min-width: 100%;
    }

    .page-ferry-search .fsb-ef-content .avp-panel {
        width: min(320px, calc(100vw - 32px));
    }
}

@media (max-width: 580px) {
    .page-ferry-search .fsb-bar-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 12px;
    }

    .page-ferry-search .fsb-bar-hero {
        display: contents;
    }

    .page-ferry-search .fsb-bar-route {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .page-ferry-search .fsb-bar-route {
        min-width: 0;
    }

    .page-ferry-search .fsb-bar-swap {
        flex: 0 0 auto;
    }

    .page-ferry-search .fsb-bar-actions {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        margin-left: 0;
        padding-top: 0;
    }

    .page-ferry-search .fsb-edit-btn {
        width: auto;
        min-height: 40px;
        padding: 8px 13px;
        font-size: .8rem;
        justify-content: center;
        gap: 6px;
    }

    .page-ferry-search .fsb-edit-btn svg {
        width: 14px;
        height: 14px;
    }

    .page-ferry-search .fsb-bar-meta {
        display: grid;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 7px;
        width: 100%;
        margin: 2px 0 10px;
    }

    .page-ferry-search .fsb-bar-meta-dot {
        display: none;
    }

    .page-ferry-search .fsb-bar-meta-item {
        min-width: 0;
        max-width: 100%;
        min-height: 32px;
        padding: 6px 9px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .07);
        border: 1px solid rgba(255, 255, 255, .11);
        font-size: .74rem;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .page-ferry-search .fsb-bar-meta-item:first-child {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .page-ferry-search .fsb-bar-meta-item svg {
        flex: 0 0 auto;
    }

    .page-ferry-search .fsb-bar-rt-badge {
        justify-content: center;
        padding-inline: 8px;
    }
}

/* Ferry Detail Style Voyage Cards */
.page-ferry-search .fsb-voyage-card {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    cursor: pointer;
    transition: transform .16s ease;
}

.page-ferry-search .fsb-voyage-card::before {
    display: none;
}

.page-ferry-search .fsb-voyage-card.is-sel {
    border-color: transparent;
    box-shadow: none;
}

.page-ferry-search .fsb-vcard-inner {
    display: grid;
    grid-template-columns: 200px 1fr 160px;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #cfd8e3;
    border-radius: 14px;
    overflow: hidden;
}

.page-ferry-search .fsb-voyage-card:hover {
    transform: translateY(-1px);
}

.page-ferry-search .fsb-voyage-card:hover .fsb-vcard-inner {
    border-color: #9fb0c2;
    box-shadow: 0 8px 16px rgba(11, 20, 38, .10);
}

.page-ferry-search .fsb-voyage-card.is-sel .fsb-vcard-inner {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, .14), 0 10px 20px rgba(2, 132, 199, .16);
}

.page-ferry-search .fsb-vcal-ship {
    position: relative;
    min-width: 0;
    min-height: 122px;
    border-right: 1px solid #e2e8f0;
    background: #0f172a;
}

.page-ferry-search .fsb-vcal-ship-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-ferry-search .fsb-vcal-ship-ph {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .48);
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
}

.page-ferry-search .fsb-vcal-ship-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, .08) 0%, rgba(2, 6, 23, .35) 48%, rgba(2, 6, 23, .78) 100%);
}

.page-ferry-search .fsb-voyage-card.is-fastest .fsb-vcard-inner {
    border-color: rgba(16, 185, 129, .58);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, .18), 0 14px 28px rgba(15, 23, 42, .10);
}

.page-ferry-search .fsb-voyage-card.is-fastest .fsb-vcal-track {
    background: linear-gradient(180deg, rgba(16, 185, 129, .06) 0%, rgba(255, 255, 255, 0) 58%);
}

.page-ferry-search .fsb-vcal-ship-name-wrap {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.page-ferry-search .fsb-vcal-ship-name-row {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    width: fit-content;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(2, 6, 23, .62);
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(2, 6, 23, .34);
}

.page-ferry-search .fsb-vcal-inspect-btn {
    width: 34px;
    height: auto;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .28);
    border-radius: 0;
    background: rgba(255, 255, 255, .03);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .16s ease, color .16s ease;
}

.page-ferry-search .fsb-vcal-inspect-btn:hover {
    background: rgba(14, 116, 144, .78);
    color: #e0f2fe;
}

.page-ferry-search .fsb-vcal-ship-name {
    display: inline-flex;
    max-width: min(100%, 235px);
    padding: 6px 10px;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}

.page-ferry-search .fsb-vcal-features {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-ferry-search .fsb-vcal-feature {
    position: relative;
    width: var(--fsb-chip-h, 24px);
    height: var(--fsb-chip-h, 24px);
    border-radius: 8px;
    border: 1px solid rgba(14, 116, 144, .28);
    background: linear-gradient(145deg, #f8fafc, #eef6ff);
    color: #0f4c73;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
    box-sizing: border-box;
}

.page-ferry-search .fsb-vcal-feature:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 116, 144, .55);
    background: linear-gradient(145deg, #ecfeff, #dff4ff);
}

.page-ferry-search .fsb-feature-svg {
    flex-shrink: 0;
}

.page-ferry-search .fsb-vcal-feature::before {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    min-width: max-content;
    max-width: 180px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, .42);
    background: rgba(15, 23, 42, .96);
    color: #e2e8f0;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
    white-space: nowrap;
    z-index: 6;
}

.page-ferry-search .fsb-vcal-feature:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.page-ferry-search .fsb-vcal-track {
    display: grid;
    grid-template-columns: minmax(70px, auto) 1fr minmax(70px, auto);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.page-ferry-search .fsb-vcal-track-foot {
    --fsb-chip-h: 24px;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 2px;
    min-height: 28px;
    flex-wrap: nowrap;
}

.page-ferry-search .fsb-vcal-track-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    flex-shrink: 0;
}

.page-ferry-search .fsb-vcal-fast-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: var(--fsb-chip-h);
    border-radius: 999px;
    padding: 3px 9px;
    border: 1px solid rgba(16, 185, 129, .42);
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    color: #047857;
    font-size: .61rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1;
    box-shadow: 0 4px 9px rgba(5, 150, 105, .16);
    box-sizing: border-box;
}

.page-ferry-search .fsb-vcal-fast-pill svg {
    color: #059669;
    flex-shrink: 0;
}

.page-ferry-search .fsb-price-type-badge--track {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--fsb-chip-h);
    line-height: 1;
    margin-left: 0;
    padding: 0 9px;
    background: linear-gradient(145deg, #ea580c, #f97316);
    border: 1px solid rgba(234, 88, 12, .45);
    box-shadow: 0 5px 12px rgba(234, 88, 12, .22);
    box-sizing: border-box;
}

.page-ferry-search .fsb-vcal-track-foot .fsb-vcal-features {
    flex-wrap: nowrap;
    gap: 5px;
    flex-shrink: 0;
}

.page-ferry-search .fsb-vcal-stop {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.page-ferry-search .fsb-vcal-stop--dep {
    align-items: flex-start;
    text-align: left;
}

.page-ferry-search .fsb-vcal-stop--arr {
    align-items: flex-end;
    text-align: right;
}

.page-ferry-search .fsb-vcal-time {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
}

.page-ferry-search .fsb-vcal-port {
    font-size: .9rem;
    font-weight: 600;
    color: #64748b;
}

.page-ferry-search .fsb-vcal-line {
    position: relative;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-ferry-search .fsb-vcal-line::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    background:
        linear-gradient(#0ea5e9, #0ea5e9) center / 100% 2px no-repeat,
        radial-gradient(circle, #0ea5e9 56%, transparent 58%) left center / 8px 8px no-repeat,
        radial-gradient(circle, #0ea5e9 56%, transparent 58%) right center / 8px 8px no-repeat;
}

.page-ferry-search .fsb-vcal-line svg {
    position: relative;
    z-index: 2;
    background: #fff;
    color: #0284c7;
    padding: 2px;
    border-radius: 50%;
}

.page-ferry-search .fsb-vcal-line-label {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff;
    color: #0284c7;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.page-ferry-search .fsb-vcal-fare {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-left: 1px solid #e2e8f0;
    background: #fff;
}

.page-ferry-search .fsb-vcal-fare-label {
    font-size: .74rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.page-ferry-search .fsb-vcal-fare-value {
    font-size: 1.2rem;
    font-weight: 900;
    color: #0369a1;
    line-height: 1;
}

.page-ferry-search .fsb-vcal-fare-sub {
    font-size: .72rem;
    color: #64748b;
    font-weight: 700;
    text-align: center;
}

.page-ferry-search .fsb-vcal-pick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 10px;
    border: 0;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 800;
    transition: all .16s;
    cursor: pointer;
    min-width: 110px;
}

.page-ferry-search .fsb-vcal-pick-btn:hover {
    background: #cf3f31;
}

.page-ferry-search .fsb-voyage-card.is-sel .fsb-vcal-pick-btn {
    background: var(--gray-400);
}

.page-ferry-search .fsb-vcal-pick-btn.is-cancel:hover {
    background: var(--gray-500);
}

body.fsb-modal-open {
    overflow: hidden;
}

.page-ferry-search .fsb-fleet-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.page-ferry-search .fsb-fleet-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.page-ferry-search .fsb-fleet-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .68);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity .24s ease;
}

.page-ferry-search .fsb-fleet-modal-dialog {
    position: relative;
    width: min(920px, calc(100vw - 44px));
    max-height: calc(100vh - 44px);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, .28);
    background: #fff;
    box-shadow: 0 30px 60px rgba(2, 6, 23, .35);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(250px, 42%) 1fr;
    transform: translateY(18px) scale(.965);
    opacity: 0;
    transition: transform .28s cubic-bezier(.19, .67, .24, 1), opacity .24s ease;
}

.page-ferry-search .fsb-fleet-modal.is-open .fsb-fleet-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.page-ferry-search .fsb-fleet-modal.is-open .fsb-fleet-modal-backdrop {
    opacity: 1;
}

.page-ferry-search .fsb-fleet-modal-media {
    position: relative;
    min-height: 320px;
    background: #0f172a;
}

.page-ferry-search .fsb-fleet-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-ferry-search .fsb-fleet-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, .36);
    background: rgba(15, 23, 42, .66);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.page-ferry-search .fsb-fleet-modal-close:hover {
    transform: translateY(-1px);
    background: rgba(15, 23, 42, .85);
    border-color: rgba(125, 211, 252, .7);
}

.page-ferry-search .fsb-fleet-modal-body {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: auto;
}

.page-ferry-search .fsb-fleet-modal-topline {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #0f766e;
}

.page-ferry-search .fsb-fleet-modal-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.58rem);
    line-height: 1.2;
    color: #0f172a;
}

.page-ferry-search .fsb-fleet-modal-time {
    font-size: .86rem;
    font-weight: 700;
    color: #475569;
}

.page-ferry-search .fsb-fleet-modal-feature-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-ferry-search .fsb-fleet-modal-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(148, 163, 184, .36);
    background: #f8fafc;
    color: #1e293b;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: .75rem;
    font-weight: 700;
}

.page-ferry-search .fsb-fleet-modal-feature-item .fsb-feature-svg.is-lg {
    color: #0f766e;
}

.page-ferry-search .fsb-fleet-modal-empty {
    font-size: .8rem;
    color: #64748b;
    font-weight: 600;
}

.page-ferry-search .fsb-fleet-modal-desc {
    margin: 2px 0 0;
    color: #334155;
    font-size: .89rem;
    line-height: 1.7;
    white-space: pre-line;
}

/* Premium Selections Widget */
.page-ferry-search .fsb-widget {
    border: 1px solid #d8e3f2;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 40px rgba(11, 20, 38, 0.13);
    top: 96px;
}

.page-ferry-search .fsb-widget-hd {
    background: linear-gradient(145deg, #08152d 0%, #0e2242 58%, #0b1a35 100%);
    padding: 16px 18px;
}

.page-ferry-search .fsb-widget-title {
    font-size: .96rem;
    letter-spacing: .01em;
}

.page-ferry-search .fsb-widget-cnt {
    width: 24px;
    height: 24px;
    font-size: .74rem;
}

.page-ferry-search .fsb-widget-body {
    padding: 14px 14px 12px;
}

.page-ferry-search .fsb-witem {
    border: 1px solid #e4ebf5;
    border-radius: 14px;
    padding: 10px;
    background: #fff;
    margin-bottom: 10px;
}

.page-ferry-search .fsb-witem:last-child {
    margin-bottom: 0;
}

.page-ferry-search .fsb-witem-hd {
    margin-bottom: 8px;
}

.page-ferry-search .fsb-witem-dir {
    font-size: .62rem;
    color: #ffffff;
    background: linear-gradient(135deg, #e85d04, #f97316);
    border-radius: 999px;
    padding: 3px 8px;
}

.page-ferry-search .fsb-witem-main {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    align-items: start;
}

.page-ferry-search .fsb-witem-media {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #e5edf8;
    background: #eef4fb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-ferry-search .fsb-witem-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-ferry-search .fsb-witem-thumb-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.page-ferry-search .fsb-witem-thumb-ph.is-hidden {
    display: none;
}

.page-ferry-search .fsb-witem-route {
    font-size: .82rem;
    font-weight: 800;
    color: #0b1f3a;
    line-height: 1.3;
}

.page-ferry-search .fsb-witem-meta {
    margin-top: 4px;
    gap: 6px;
    flex-wrap: wrap;
}

.page-ferry-search .fsb-witem-time,
.page-ferry-search .fsb-witem-ship {
    display: inline-flex;
    align-items: center;
    font-size: .68rem;
    font-weight: 700;
    color: #4b5f7b;
    background: #f3f7fc;
    border-radius: 999px;
    padding: 3px 8px;
}

.page-ferry-search .fsb-witem-prices {
    margin-top: 8px;
    border-top: 1px dashed #e6edf7;
    padding-top: 7px;
}

.page-ferry-search .fsb-witem-price-row {
    font-size: .73rem;
    color: #52647e;
}

.page-ferry-search .fsb-witem-price-row strong {
    color: #0f1f38;
}

.page-ferry-search .fsb-widget-total {
    border-top: 1px solid #e3ebf6;
    background: linear-gradient(180deg, rgba(248, 251, 255, .72) 0%, rgba(255, 255, 255, .96) 100%);
    padding: 14px 18px 0;
}

.page-ferry-search .fsb-total-row {
    font-size: .76rem;
    color: #60718a;
}

.page-ferry-search .fsb-grand {
    position: relative;
    margin-top: 11px;
    padding-top: 13px;
    border-top: 0;
}

.page-ferry-search .fsb-grand::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, .15) 0%, rgba(148, 163, 184, .55) 50%, rgba(148, 163, 184, .15) 100%);
}

.page-ferry-search .fsb-grand-val {
    font-size: 1.5rem;
}

.page-ferry-search .fsb-widget-cta {
    padding: 14px 18px 18px;
}

.page-ferry-search .fsb-widget-cta .fsb-cta {
    min-height: 46px;
    border-radius: 12px;
}

.page-ferry-search .fsb-widget-wa {
    padding: 12px 18px 18px;
}

@media (max-width: 1100px) {
    .page-ferry-search .fsb-vcard-inner {
        grid-template-columns: 170px 1fr 150px;
    }

    .page-ferry-search .fsb-vcal-time {
        font-size: 1.45rem;
    }
}

@media (max-width: 900px) {
    .page-ferry-search .fsb-vcard-inner {
        grid-template-columns: 1fr;
    }

    .page-ferry-search .fsb-vcal-ship {
        min-height: 146px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .page-ferry-search .fsb-vcal-track {
        grid-template-columns: minmax(66px, auto) 1fr minmax(66px, auto);
    }

    .page-ferry-search .fsb-vcal-time {
        font-size: 1.3rem;
    }

    .page-ferry-search .fsb-vcal-fare {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .page-ferry-search .fsb-vcal-pick-btn {
        min-width: 128px;
    }

    .page-ferry-search .fsb-vcal-ship-name-wrap {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .page-ferry-search .fsb-fleet-modal-dialog {
        width: min(640px, calc(100vw - 24px));
        grid-template-columns: 1fr;
    }

    .page-ferry-search .fsb-fleet-modal-media {
        min-height: 210px;
        max-height: 280px;
    }

    .page-ferry-search .fsb-fleet-modal-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 580px) {
    .page-ferry-search .fsb-vcal-track {
        padding: 10px 12px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .page-ferry-search .fsb-vcal-stop--arr,
    .page-ferry-search .fsb-vcal-stop--dep {
        align-items: flex-start;
        text-align: left;
    }

    .page-ferry-search .fsb-vcal-line {
        order: 3;
    }

    .page-ferry-search .fsb-vcal-track-foot {
        order: 4;
        padding-top: 0;
        gap: 5px;
        flex-wrap: wrap;
    }

    .page-ferry-search .fsb-vcal-fast-pill {
        font-size: .58rem;
        padding: 3px 8px;
    }

    .page-ferry-search .fsb-vcal-track-foot .fsb-vcal-features {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-ferry-search .fsb-vcal-time {
        font-size: 1.22rem;
    }

    .page-ferry-search .fsb-vcal-port {
        font-size: .8rem;
    }

    .page-ferry-search .fsb-vcal-line-label {
        font-size: .7rem;
        top: -6px;
    }

    .page-ferry-search .fsb-vcal-fare-label {
        font-size: .66rem;
    }

    .page-ferry-search .fsb-vcal-fare-value {
        font-size: 1.08rem;
    }

    .page-ferry-search .fsb-vcal-pick-btn {
        width: 100%;
    }

    .page-ferry-search .fsb-vcal-feature {
        width: 24px;
        height: 24px;
    }

    .page-ferry-search .fsb-vcal-feature::before {
        display: none;
    }

    .page-ferry-search .fsb-fleet-modal-dialog {
        border-radius: 16px;
        width: calc(100vw - 18px);
        max-height: calc(100vh - 18px);
    }

    .page-ferry-search .fsb-fleet-modal-body {
        padding: 16px 14px 14px;
    }

    .page-ferry-search .fsb-fleet-modal-feature-item {
        font-size: .71rem;
        padding: 5px 8px;
    }

    .page-ferry-search .fsb-fleet-modal-desc {
        font-size: .83rem;
    }
}

/* Passenger Step Refresh (clean + readable layout) */
.page-ferry-search .fsb-passenger-panel .fsb-back {
    margin-bottom: 14px;
}

.page-ferry-search .fsb-pax-step-hd {
    display: block;
    margin-bottom: 16px;
}

.page-ferry-search .fsb-pax-step-sub {
    margin: 6px 0 0;
    max-width: 760px;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--gray-500);
}

.page-ferry-search .fsb-pax-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
    border: 1px solid #dbe3ed;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.page-ferry-search .fsb-pax-intro-main {
    min-width: 0;
}

.page-ferry-search .fsb-pax-intro-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
}

.page-ferry-search .fsb-pax-intro-sub {
    margin-top: 4px;
    font-size: 0.76rem;
    line-height: 1.6;
    color: var(--gray-500);
}

.page-ferry-search .fsb-pax-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
}

.page-ferry-search .fsb-pax-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #d9e2ee;
    background: #f8fafc;
    color: #475569;
    font-size: 0.70rem;
    font-weight: 700;
    padding: 4px 9px;
    white-space: nowrap;
}

.page-ferry-search .fsb-pax-list {
    display: grid;
    gap: 13px;
}

.page-ferry-search .fsb-pax-card {
    background: #fff;
    border: 1px solid #d6deea;
    border-radius: 14px;
    box-shadow: 0 9px 22px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: visible;
    transition: border-color var(--duration-base), box-shadow var(--duration-base);
}

.page-ferry-search .fsb-pax-card:focus-within {
    border-color: rgba(232, 93, 4, 0.55);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.08), 0 10px 24px rgba(15, 23, 42, 0.10);
    z-index: 20;
}

.page-ferry-search .fsb-pax-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid #e6edf5;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
}

.page-ferry-search .fsb-pax-head-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.page-ferry-search .fsb-pax-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(232, 93, 4, 0.24);
    background: rgba(232, 93, 4, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.page-ferry-search .fsb-pax-htitle {
    font-weight: 800;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--navy);
}

.page-ferry-search .fsb-pax-hsub {
    margin-top: 1px;
    font-size: 0.72rem;
    color: #64748b;
}

.page-ferry-search .fsb-pax-order {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #d4deea;
    background: #fff;
    color: #64748b;
    font-size: 0.69rem;
    font-weight: 800;
    padding: 3px 8px;
}

.page-ferry-search .fsb-pax-body {
    padding: 16px;
}

.page-ferry-search .fsb-pax-grid+.fsb-pax-grid {
    margin-top: 12px;
}

.page-ferry-search .fsb-g1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.page-ferry-search .fsb-g2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.page-ferry-search .fsb-g3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 900px) {
    .page-ferry-search .fsb-g3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .page-ferry-search .fsb-pax-intro {
        flex-direction: column;
    }

    .page-ferry-search .fsb-pax-chips {
        justify-content: flex-start;
    }

    .page-ferry-search .fsb-g2,
    .page-ferry-search .fsb-g3 {
        grid-template-columns: 1fr;
    }
}

.page-ferry-search .fsb-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-ferry-search .fsb-field label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: #475569;
}

.page-ferry-search .fsb-field label .req {
    color: var(--primary);
}

.page-ferry-search .fsb-field input,
.page-ferry-search .fsb-field select {
    min-height: 44px;
    border: 1px solid #d5deea;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.87rem;
    font-family: var(--font-body);
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border-color var(--duration-base), box-shadow var(--duration-base), background var(--duration-base);
}

.page-ferry-search .fsb-field input::placeholder {
    color: #94a3b8;
}

.page-ferry-search .fsb-field input:hover,
.page-ferry-search .fsb-field select:hover {
    border-color: #bfcbdb;
}

.page-ferry-search .fsb-field input:focus,
.page-ferry-search .fsb-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.10);
    background: #fff;
}

.page-ferry-search .fsb-field-err {
    font-size: 0.70rem;
    color: #dc2626;
    display: none;
}

.page-ferry-search .fsb-field.has-err input,
.page-ferry-search .fsb-field.has-err select {
    border-color: #dc2626;
}

.page-ferry-search .fsb-field.has-err .fsb-field-err {
    display: block;
}

.page-ferry-search .fsb-field .avp-phone-wrap {
    width: 100%;
}

.page-ferry-search .fsb-field .avp-phone-wrap .avp-cc-btn {
    min-height: 44px;
    height: 44px;
    border-radius: 10px 0 0 10px;
}

.page-ferry-search .fsb-field .avp-phone-wrap .avp-tel-input {
    min-height: 44px;
    height: 44px;
    border-radius: 0 10px 10px 0;
}

.page-ferry-search .fsb-field.has-err .avp-phone-wrap .avp-cc-btn {
    border-color: #dc2626 !important;
}

/* Keep datepicker panel visible and full width in passenger cards */
.page-ferry-search .fsb-pax-card .avp-wrapper {
    width: 100%;
    display: block;
}

.page-ferry-search .fsb-pax-card .avp-panel {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    z-index: 12120;
}

.page-ferry-search .fsb-contact {
    position: relative;
    background: #fff;
    border: 1px solid #d6deea;
    border-radius: 14px;
    padding: 20px 18px 18px;
    margin-top: 14px;
    box-shadow: 0 9px 22px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.page-ferry-search .fsb-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ea580c, #f59e0b);
}

.page-ferry-search .fsb-contact-lbl {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6edf5;
}

.page-ferry-search .fsb-contact .fsb-g2 {
    gap: 14px;
}

.page-ferry-search .fsb-cta-row {
    margin-top: 20px;
}

/* Step 2: Reservation redirect stage (premium glassmorphism) */
.page-ferry-search .fsb-resv-panel {
    position: relative;
}


.page-ferry-search .fsb-resv-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 36%);
    pointer-events: none;
}

@keyframes fsbStageIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.992);
    }

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

.page-ferry-search .fsb-resv-hero {
    display: none !important;
}

.page-ferry-search .fsb-resv-price-glass {
    display: none !important;
}

/* Unified Ticket Box (Condensed Step 2) */
.page-ferry-search .f2t-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 24px;
}

.page-ferry-search .f2t-hd {
    background: #f8fafc;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-ferry-search .f2t-hd-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-ferry-search .f2t-hd-pax {
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    background: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.page-ferry-search .f2t-body {
    padding: 0;
}

.page-ferry-search .f2t-row {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    gap: 20px;
}

.page-ferry-search .f2t-row:last-child {
    border-bottom: none;
}

.page-ferry-search .f2t-label {
    width: 65px;
    flex-shrink: 0;
}

.page-ferry-search .f2t-label span {
    display: block;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #475569;
}

.page-ferry-search .f2t-label small {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 2px;
}

.page-ferry-search .f2t-main {
    flex: 1;
    min-width: 0;
}

.page-ferry-search .f2t-track {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-ferry-search .f2t-time {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
}

.page-ferry-search .f2t-line {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
    position: relative;
    max-width: 80px;
}

.page-ferry-search .f2t-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2.5px;
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
}

.page-ferry-search .f2t-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
}

.page-ferry-search .f2t-meta span:last-child {
    color: #94a3b8;
}

.page-ferry-search .f2t-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: #0c4a6e;
    width: 100px;
    text-align: right;
}

.page-ferry-search .f2t-ft {
    background: #fdfaf8;
    padding: 16px 20px;
    border-top: 1px solid #fed7aa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-ferry-search .f2t-ft span {
    font-size: 0.8rem;
    font-weight: 800;
    color: #7c2d12;
}

.page-ferry-search .f2t-ft strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: #f97316;
}

.page-ferry-search .fsb-resv-voyage-cards {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

/* CTA Button Clean */
.page-ferry-search .fsb-resv-cta-btn {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    margin-bottom: 24px;
    display: block;
    outline: none;
}

.page-ferry-search .fsb-resv-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    background: #f97316;
    color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.2);
    transition: all .2s ease;
}

.page-ferry-search .fsb-resv-cta-btn:hover .fsb-resv-cta-content {
    background: #ea580c;
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.3);
    transform: translateY(-2px);
}

/* Step 3: result / ticket view */
.page-ferry-search .fsb-result-wrap {
    animation: fsbResultIn .42s cubic-bezier(.22, .61, .36, 1);
}

@keyframes fsbResultIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.page-ferry-search .fsb-ticket {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-shadow: 0 24px 38px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.page-ferry-search .fsb-ticket-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 62%, #1f3a5f 100%);
    color: #fff;
}

.page-ferry-search .fsb-ticket-check {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(34, 197, 94, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    flex-shrink: 0;
}

.page-ferry-search .fsb-ticket-title {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 800;
}

.page-ferry-search .fsb-ticket-subtitle {
    margin-top: 3px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.page-ferry-search .fsb-ticket-refbox {
    margin: 16px 22px;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(232, 93, 4, 0.26);
    background: linear-gradient(140deg, rgba(255, 247, 237, 0.95), rgba(255, 237, 213, 0.92));
}

.page-ferry-search .fsb-ticket-ref-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9a3412;
}

.page-ferry-search .fsb-ticket-ref-val {
    margin-top: 5px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.03em;
}

.page-ferry-search .fsb-ticket-voyage {
    margin: 0 22px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 12px 13px;
}

.page-ferry-search .fsb-ticket-voyage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.page-ferry-search .fsb-ticket-vdir {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: #334155;
}

.page-ferry-search .fsb-ticket-vprice {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

.page-ferry-search .fsb-ticket-vroute {
    margin-top: 5px;
    font-size: 0.93rem;
    font-weight: 800;
    color: #0f172a;
}

.page-ferry-search .fsb-ticket-vmeta {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 0.74rem;
    color: #64748b;
}

.page-ferry-search .fsb-ticket-info,
.page-ferry-search .fsb-ticket-paxlist {
    margin: 0 22px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    padding: 12px 13px;
}

.page-ferry-search .fsb-ticket-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.page-ferry-search .fsb-ticket-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.page-ferry-search .fsb-ti-key {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 700;
}

.page-ferry-search .fsb-ti-val {
    font-size: 0.79rem;
    color: #0f172a;
    font-weight: 700;
    text-align: right;
}

.page-ferry-search .fsb-ticket-block-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 10px;
}

.page-ferry-search .fsb-ticket-pax-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.page-ferry-search .fsb-ticket-pax-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.page-ferry-search .fsb-ticket-pax-avatar {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, 0.12);
    border: 1px solid rgba(232, 93, 4, 0.28);
    color: #c2410c;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

.page-ferry-search .fsb-ticket-pax-main {
    min-width: 0;
}

.page-ferry-search .fsb-ticket-pax-name {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-ferry-search .fsb-ticket-pax-meta {
    margin-top: 2px;
    font-size: 0.72rem;
    color: #64748b;
}

.page-ferry-search .fsb-ticket-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 22px 22px;
}

.page-ferry-search .fsb-ticket-btn-sec,
.page-ferry-search .fsb-ticket-btn-pri {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}

.page-ferry-search .fsb-ticket-btn-sec {
    background: #f8fafc;
    border-color: #dbe2ea;
    color: #334155;
}

.page-ferry-search .fsb-ticket-btn-pri {
    background: linear-gradient(140deg, #ea580c, #f97316);
    color: #fff;
    border-color: rgba(234, 88, 12, 0.2);
    box-shadow: 0 12px 20px rgba(234, 88, 12, 0.22);
}

.page-ferry-search .fsb-ticket-btn-sec:hover,
.page-ferry-search .fsb-ticket-btn-pri:hover {
    transform: translateY(-1px);
}

.page-ferry-search .fsb-ticket-btn-pri:focus-visible,
.page-ferry-search .fsb-ticket-btn-sec:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

@media (max-width: 991px) {
    .page-ferry-search .f2t-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-ferry-search .f2t-label {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .page-ferry-search .f2t-label small {
        margin-top: 0;
    }

    .page-ferry-search .f2t-main {
        width: 100%;
    }

    .page-ferry-search .f2t-price {
        width: 100%;
        text-align: left;
        margin-top: 5px;
    }

    .page-ferry-search .f2t-line {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .page-ferry-search .fsb-notice-card {
        width: auto;
        margin: 12px -16px 0 -16px;
        padding: 16px;
        border-radius: 0;
        border-right: 0;
        border-left: 0;
        border-top: 4px solid #0f766e;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
    }

    .page-ferry-search .fsb-notice-head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 12px;
    }

    .page-ferry-search .fsb-notice-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    .page-ferry-search .fsb-notice-content {
        padding-top: 10px;
    }

    .page-ferry-search .fsb-notice-text {
        font-size: 0.86rem;
        line-height: 1.66;
    }

    .page-ferry-search .fsb-notice-toggle {
        width: 100%;
        justify-content: center;
        min-height: 38px;
        margin-top: 12px;
    }

    .page-ferry-search .fsb-fare-card {
        margin-top: 14px;
        padding: 0;
        border-radius: 0;
    }

    .page-ferry-search .fsb-fare-title {
        font-size: 0.96rem;
    }

    .page-ferry-search .fsb-fare-subtitle {
        font-size: 0.73rem;
    }

    .page-ferry-search .fsb-fare-chip {
        font-size: 0.7rem;
        min-height: 26px;
        padding: 4px 10px;
    }

    .page-ferry-search .fsb-fare-controls {
        grid-template-columns: 1fr;
        margin-bottom: 12px;
    }

    .page-ferry-search .fsb-fare-select {
        min-height: 40px;
        font-size: 0.82rem;
    }

    .page-ferry-search .fsb-fare-table {
        min-width: 100%;
        table-layout: fixed;
    }

    .page-ferry-search .fsb-fare-table thead th {
        font-size: 0.58rem;
        padding: 8px 4px;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }

    .page-ferry-search .fsb-fare-table tbody th,
    .page-ferry-search .fsb-fare-table tbody td {
        padding: 10px 4px;
        font-size: 0.72rem;
        word-wrap: break-word;
    }

    .page-ferry-search .fsb-fare-table tbody th {
        min-width: 0;
    }

    .page-ferry-search .fsb-fare-note {
        font-size: 0.71rem;
    }

    .page-ferry-search .fsb-resv-hero {
        align-items: flex-start;
    }

    .page-ferry-search .fsb-resv-hero-title {
        font-size: 1.06rem;
    }

    .page-ferry-search .fsb-resv-price-glass-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-ferry-search .fsb-resv-price-glass-val {
        font-size: 1.3rem;
    }

    .page-ferry-search .fsb-resv-trust {
        grid-template-columns: 1fr;
    }

    .page-ferry-search .fsb-ticket {
        border-radius: 16px;
    }

    .page-ferry-search .fsb-ticket-head,
    .page-ferry-search .fsb-ticket-refbox,
    .page-ferry-search .fsb-ticket-voyage,
    .page-ferry-search .fsb-ticket-info,
    .page-ferry-search .fsb-ticket-paxlist,
    .page-ferry-search .fsb-ticket-actions {
        margin-left: 14px;
        margin-right: 14px;
    }

    .page-ferry-search .fsb-ticket-head {
        margin: 0;
        border-radius: 0;
        padding: 16px 14px 12px;
    }

    .page-ferry-search .fsb-ticket-actions {
        padding-bottom: 14px;
        grid-template-columns: 1fr;
    }
}

/* Mobile compatibility & Bottom Sheet: restricted to mobile/tablet */
@media (max-width: 991px) {
    .page-ferry-search .fsb-page {
        overflow-x: hidden;
    }

    .page-ferry-search .fsb-bar-hero,
    .page-ferry-search .fsb-bar-route,
    .page-ferry-search .fsb-bar-meta,
    .page-ferry-search .fsb-vcard-inner,
    .page-ferry-search .fsb-vcal-track,
    .page-ferry-search .fsb-vcal-fare,
    .page-ferry-search .fsb-widget,
    .page-ferry-search .fsb-notice-card,
    .page-ferry-search .fsb-fare-card {}

    .page-ferry-search .fsb-bar-city,
    .page-ferry-search .fsb-vcal-ship-name,
    .page-ferry-search .fsb-vcal-port,
    .page-ferry-search .fsb-witem-route,
    .page-ferry-search .fsb-ticket-ref-val {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .page-ferry-search .fsb-edit-panel.is-open {
        max-height: 1200px;
    }

    /* --- Premium Mobile Sheets (Port from ferry.php) --- */
    .tour-mobile-sheet-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .42);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .22s ease, visibility .22s ease;
        z-index: 100110;
        touch-action: none;
    }

    .tour-mobile-sheet-backdrop.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .tour-mobile-sheet {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        max-width: 100vw;
        z-index: 100120;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(20px);
        transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
        overscroll-behavior: contain;
    }

    .tour-mobile-sheet.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .tour-mobile-sheet-panel {
        background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .98));
        border-radius: 28px 28px 0 0;
        border-top: 1px solid rgba(148, 163, 184, .18);
        box-shadow: 0 -14px 36px rgba(15, 23, 42, .1), 0 -2px 12px rgba(15, 23, 42, .06);
        overflow: hidden;
        max-height: min(82svh, 760px);
        display: flex;
        flex-direction: column;
        overscroll-behavior: contain;
    }

    .tour-mobile-sheet-handle {
        width: 54px;
        height: 5px;
        border-radius: 999px;
        background: rgba(148, 163, 184, .55);
        margin: 10px auto 4px;
        flex-shrink: 0;
    }

    .fsb-sheet-head-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
        background: #fff;
    }

    .fsb-sheet-title-txt {
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 800;
        color: #0f172a;
    }

    .fsb-sheet-close-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f1f5f9;
        color: #64748b;
        border: 0;
        border-radius: 50%;
        cursor: pointer;
    }

    .tour-mobile-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px 10px;
        border-bottom: 1px solid rgba(226, 232, 240, .9);
    }

    .tour-mobile-sheet-title {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .tour-mobile-sheet-kicker {
        font-size: .69rem;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: #64748b;
    }

    .tour-mobile-sheet-heading {
        font-size: 1rem;
        font-weight: 800;
        color: #0f172a;
        line-height: 1.2;
    }

    .tour-mobile-sheet-close {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: #e2e8f0;
        color: #334155;
        font-size: 20px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .page-ferry-search .fsb-vcal-ship-name {
        max-width: calc(100vw - 96px);
    }

    .page-ferry-search .fsb-vcal-track-foot,
    .page-ferry-search .fsb-vcal-track-badges,
    .page-ferry-search .fsb-vcal-track-foot .fsb-vcal-features {
        max-width: 100%;
    }

    .page-ferry-search .fsb-fare-table-wrap,
    .page-ferry-search .fsb-steps {
        -webkit-overflow-scrolling: touch;
    }

    .page-ferry-search .fsb-vcard-inner {
        grid-template-columns: 92px minmax(0, 1fr) 104px;
        align-items: stretch;
    }

    .page-ferry-search .fsb-vcal-ship {
        min-height: 122px;
        border-right: 1px solid #e2e8f0;
        border-bottom: none;
    }

    .page-ferry-search .fsb-vcal-ship-name-wrap {
        left: 7px;
        right: 7px;
        bottom: 7px;
    }

    .page-ferry-search .fsb-vcal-ship-name-row {
        border-radius: 8px;
    }

    .page-ferry-search .fsb-vcal-ship-name {
        max-width: 86px;
        padding: 5px 7px;
        font-size: .72rem;
    }

    .page-ferry-search .fsb-vcal-inspect-btn {
        width: 26px;
    }

    .page-ferry-search .fsb-vcal-track {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto;
        align-content: center;
        align-items: center;
        gap: 10px;
        padding: 12px 10px;
    }

    .page-ferry-search .fsb-vcal-stop--dep {
        align-items: flex-start;
        text-align: left;
    }

    .page-ferry-search .fsb-vcal-stop--arr {
        grid-column: 2;
        align-items: flex-end;
        text-align: right;
    }

    body.fsb-lock-scroll {
        overflow: hidden !important;
        overscroll-behavior: none !important;
    }

    .tour-mobile-sheet-results .ferry-port-list {
        max-height: none;
        padding-bottom: 4px;
    }

    .tour-mobile-sheet-results .ferry-port-item {
        width: 100%;
        margin: 0 0 8px;
        border-radius: 16px;
        padding: 13px 14px;
    }

    .tour-mobile-sheet-results .fpi-thumb {
        width: 54px;
        height: 44px;
        border-radius: 9px;
    }

    .tour-mobile-sheet-results .fpi-main {
        gap: 3px;
    }

    .tour-mobile-sheet-results .fpi-title {
        font-size: .88rem;
    }

    .tour-mobile-sheet-results .fpi-badge {
        font-size: .64rem;
        padding: 2px 7px;
    }

    .guest-mobile-sheet-summary {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 14px 18px;
        background: rgba(248, 250, 252, .7);
        border-bottom: 1px solid rgba(226, 232, 240, .6);
    }

    .guest-mobile-sheet-badge {
        font-size: .62rem;
        font-weight: 800;
        letter-spacing: .08em;
        color: #f97316;
    }

    .guest-mobile-sheet-total {
        font-size: 1.15rem;
        font-weight: 900;
        color: #0f172a;
    }

    .guest-mobile-sheet-copy {
        font-size: .78rem;
        color: #64748b;
        font-weight: 500;
    }

    .guest-mobile-sheet-results {
        padding: 12px 16px 80px;
    }

    .page-ferry-search .ferry-port-head {
        border-bottom: none;
        padding: 4px 16px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
    }

    .tour-mobile-sheet-search {
        display: none;
    }

    .tour-mobile-sheet-results {
        min-height: 220px;
        max-height: min(60svh, 560px);
        overflow-y: auto;
        padding: 0 16px 16px;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .guest-mobile-sheet-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin: 0 0 10px;
        padding: 14px 15px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
        border: 1px solid rgba(226, 232, 240, .85);
    }

    .fpi-thumb {
        width: 54px;
        height: 44px;
        border-radius: 9px;
        object-fit: cover;
        flex-shrink: 0;
        background: #f1f5f9;
        border: 1px solid rgba(148, 163, 184, .18);
    }

    .fpi-main {
        min-width: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .fpi-title {
        font-size: .88rem;
        font-weight: 700;
        line-height: 1.25;
        color: #1e293b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fpi-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .fpi-badge {
        display: inline-flex;
        align-items: center;
        padding: 2px 7px;
        border-radius: 999px;
        background: rgba(232, 93, 4, .1);
        color: #c2410c;
        font-size: .64rem;
        font-weight: 800;
        letter-spacing: .03em;
    }

    .fpi-mark {
        background: rgba(232, 93, 4, .12);
        color: #c2410c;
        border-radius: 3px;
        padding: 0 1px;
    }

    .guest-mobile-sheet-name {
        font-size: .95rem;
        font-weight: 800;
        color: #0f172a;
    }

    .guest-mobile-sheet-desc {
        font-size: .8rem;
        color: #64748b;
    }

    .guest-mobile-sheet-stepper {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .guest-mobile-sheet-btn {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        border: 1px solid rgba(234, 88, 12, .18);
        background: #fff;
        color: #c2410c;
        font-size: 23px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .guest-mobile-sheet-btn:disabled {
        opacity: .3;
    }

    .guest-mobile-sheet-footer {
        padding: 12px 16px 16px;
        border-top: 1px solid rgba(226, 232, 240, .92);
        background: #fff;
    }

    .guest-mobile-sheet-done {
        display: block;
        width: 100%;
        border-radius: 18px;
        min-height: 54px;
        border: 0;
        background: linear-gradient(135deg, #ea580c, #f97316);
        color: #fff;
        font-weight: 800;
        box-shadow: 0 16px 28px rgba(234, 88, 12, .24);
    }

    /* Hide redundant dropdowns on mobile */
    .page-ferry-search .ferry-port-dd,
    .page-ferry-search .guest-dropdown {
        display: none !important;
    }

    .page-ferry-search .fsb-vcal-line {
        display: none;
    }

    .page-ferry-search .fsb-vcal-track-foot {
        display: none;
    }

    .page-ferry-search .fsb-vcal-time {
        font-size: 1.18rem;
    }

    .page-ferry-search .fsb-vcal-port {
        max-width: 58px;
        font-size: .72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-ferry-search .fsb-vcal-line-label {
        display: none;
    }

    .page-ferry-search .fsb-vcal-track-foot .fsb-vcal-features,
    .page-ferry-search .fsb-vcal-track-badges {
        justify-content: flex-start;
    }

    .page-ferry-search .fsb-vcal-fast-pill,
    .page-ferry-search .fsb-price-type-badge--track,
    .page-ferry-search .fsb-vcal-track-foot .fsb-vcal-features {
        display: none;
    }

    .page-ferry-search .fsb-vcal-feature {
        width: 20px;
        height: 20px;
        border-radius: 6px;
    }

    .page-ferry-search .fsb-vcal-fast-pill,
    .page-ferry-search .fsb-price-type-badge--track {
        height: 20px;
        padding: 0 6px;
        font-size: .5rem;
    }

    .page-ferry-search .fsb-vcal-fare {
        border-left: 1px solid #e2e8f0;
        border-top: none;
        padding: 11px 8px;
        gap: 5px;
    }

    .page-ferry-search .fsb-vcal-fare-label {
        font-size: .62rem;
        text-align: center;
    }

    .page-ferry-search .fsb-vcal-fare-value {
        font-size: 1.05rem;
        text-align: center;
    }

    .page-ferry-search .fsb-vcal-fare-sub {
        font-size: .62rem;
        line-height: 1.25;
    }

    .page-ferry-search .fsb-vcal-pick-btn {
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding: 7px 8px;
        border-radius: 8px;
        font-size: .78rem;
    }
}

@media (max-width: 640px) {

    body.page-ferry-search {
        padding-bottom: 92px;
    }

    .page-ferry-search .fsb-body {
        padding-bottom: 104px;
    }

    .page-ferry-search #fsbWidgetWrap .fsb-widget {
        display: none;
    }

    .page-ferry-search .fsb-mobile-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 990;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 76px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255, 255, 255, .1);
        background: #0f0f0f;
        box-shadow: 0 -10px 26px rgba(15, 23, 42, .12);
    }

    .page-ferry-search .fsb-mobile-sticky-total {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .page-ferry-search .fsb-mobile-sticky-label {
        font-size: .82rem;
        font-weight: 700;
        color: rgba(255, 255, 255, .68);
        line-height: 1;
    }

    .page-ferry-search .fsb-mobile-sticky-value {
        font-family: var(--font-display);
        font-size: 1.22rem;
        font-weight: 900;
        line-height: 1.08;
        color: #fff;
        letter-spacing: .01em;
    }

    .page-ferry-search .fsb-mobile-sticky-btn {
        min-width: 132px;
        min-height: 40px;
        border: 0;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 18px;
        background: #f97316;
        color: #fff;
        font-size: .8rem;
        font-weight: 900;
        font-family: var(--font-body);
        cursor: pointer;
        box-shadow: 0 10px 18px rgba(249, 115, 22, .28);
        transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .page-ferry-search .fsb-mobile-sticky-btn:not(:disabled):hover {
        background: #ea580c;
        box-shadow: 0 12px 22px rgba(249, 115, 22, .34);
    }

    .page-ferry-search .fsb-mobile-sticky-btn:not(:disabled):active {
        transform: translateY(1px);
    }

    .page-ferry-search .fsb-mobile-sticky-btn:disabled {
        background: rgba(255, 255, 255, .2);
        color: rgba(255, 255, 255, .72);
        cursor: not-allowed;
        box-shadow: none;
    }
}

/* ── Gemi Detay Modalı (Auth Modal Tarzı Bottom Sheet) ── */
@media (max-width: 991px) {
    .page-ferry-search .fsb-fleet-modal {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .page-ferry-search .fsb-fleet-modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 92dvh !important;
        border-radius: 24px 24px 0 0 !important;
        transform: translate3d(0, 100%, 0) !important;
        box-shadow: 0 -10px 50px rgba(6, 16, 30, .2) !important;
        transition: transform .45s cubic-bezier(.32, 1, .2, 1) !important;
        opacity: 1 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    .page-ferry-search .fsb-fleet-modal.is-open .fsb-fleet-modal-dialog {
        transform: translate3d(0, 0, 0) !important;
    }

    /* ── Mobil Gidiş-Dönüş Sekmeleri Tam Genişlik ── */
    .page-ferry-search .fsb-dir-tabs {
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-ferry-search .fsb-dir-tab {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
}