/* Tek ürünlü (farklı domain) siteler: header + footer */
:root {
    --spd-navy: #0F1E3D;
    --spd-ink: #26324D;
    --spd-line: #E2E7F0;
    --spd-blue: #1F5FD6;
    --spd-muted: #AEB9CF;
    --spd-foot-text: #C9D3E6;
    --spd-foot-line: #2A3A60;
}

[data-sp-section], #product-options, .tyop-summary, .dh-hours, .tyop-ticket, .tyop-before { scroll-margin-top: 100px; }

/* Trust bar */
.spd-trust { background: var(--spd-navy); color: #E6ECF7; font-size: 13px; }
.spd-trust-in { height: 38px; display: flex; align-items: center; justify-content: space-between; }
.spd-trust-items { display: flex; gap: 28px; align-items: center; }
.spd-trust-items span, .spd-trust-help { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.spd-trust a { color: inherit; }
.spd-trust a:hover { color: #fff; text-decoration: underline; }

/* Header */
.spd-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--spd-line); }
.spd-header-in { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.spd-left { display: flex; align-items: center; gap: 36px; min-width: 0; }
.spd-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.spd-logo img { height: 62px; width: auto; max-width: 270px; object-fit: contain; display: block; }
.spd-provider { margin-top: 2px; font-size: 10px; line-height: 1; color: #5B6475; font-weight: 500; white-space: nowrap; }
.spd-provider strong { color: #26324D; font-weight: 700; }
.spd-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.spd-nav a, .spd-mmenu a { color: var(--spd-ink); }
.spd-nav a:hover { color: var(--spd-blue); }
.spd-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.spd-book { height: 44px; padding: 0 22px; border-radius: 10px; background: var(--spd-blue); color: #fff !important; font-size: 15px; font-weight: 600; display: flex; align-items: center; white-space: nowrap; }
.spd-book:hover { background: #1A51B8; }

.spd-lang-btn { height: 40px; padding: 0 12px; border: 1px solid #D5DCE8; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; color: var(--spd-ink); display: flex; gap: 6px; align-items: center; cursor: pointer; }
.spd-lang-btn:hover { border-color: #B9C3D6; }
.spd-lang-menu { max-height: 70vh; overflow-y: auto; border-color: var(--spd-line); box-shadow: 0 10px 24px rgba(15,30,61,.12); }
.spd-lang-menu .dropdown-item { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 8px 16px; }

.spd-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; color: var(--spd-ink); cursor: pointer; padding: 0; }
.spd-ic-close { display: none; }
.spd-header.is-open .spd-ic-open { display: none; }
.spd-header.is-open .spd-ic-close { display: block; }

.spd-mmenu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--spd-line); box-shadow: 0 10px 24px rgba(15,30,61,.12); padding: 0 16px 16px; display: flex; flex-direction: column; }
.spd-mmenu[hidden], .spd-nav a[hidden], .spd-mmenu a[hidden] { display: none !important; }
.spd-mmenu a { padding: 14px 0; border-bottom: 1px solid #EEF1F6; font-size: 16px; font-weight: 500; }
.spd-mmenu a.spd-mmenu-help { margin-top: 14px; height: 46px; padding: 0; border: 1px solid #D5DCE8; border-radius: 10px; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* Footer */
.spd-footer { background: var(--spd-navy); color: var(--spd-foot-text); padding-top: 56px; font-size: 14px; }
.spd-footer a { color: var(--spd-foot-text); }
.spd-footer a:hover { color: #fff; text-decoration: underline; }
.spd-f-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.spd-f-brand { display: flex; flex-direction: column; gap: 14px; }
.spd-f-brand img { height: 72px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.spd-f-brand p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--spd-muted); }
.spd-f-provider { font-size: 13px; line-height: 1.4; color: #AEB9CF; }
.spd-f-provider strong { color: #fff; font-weight: 700; }
.spd-f-col { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.spd-f-col h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #fff; }
.spd-f-mail { display: flex; gap: 8px; align-items: center; }
.spd-f-muted { color: var(--spd-muted); }
.spd-f-pay { margin-top: 44px; border-top: 1px solid var(--spd-foot-line); padding: 22px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.spd-f-secure { font-size: 13px; color: var(--spd-muted); margin-right: 6px; display: flex; gap: 6px; align-items: center; }
.spd-pay { background: #fff; font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 6px; line-height: 1; }
.spd-pay-visa { color: #1A1F71; font-weight: 800; font-style: italic; }
.spd-pay-mc { color: var(--spd-ink); }
.spd-pay-pp { color: #003087; }
.spd-pay-ideal { color: #CC0066; }
.spd-pay-ali { color: #1677FF; }
/* Alttaki sabit rezervasyon barı için boşluk */
.spd-f-copy { border-top: 1px solid var(--spd-foot-line); padding: 18px 0 100px; font-size: 13px; color: var(--spd-muted); }

.spd-show-m { display: none; }

/* Menü sığmadığında hamburger */
@media (max-width: 1199.98px) {
    .spd-nav { display: none; }
    .spd-burger { display: flex; }
}

/* Mobil */
@media (max-width: 767.98px) {
    [data-sp-section], #product-options, .tyop-summary, .dh-hours, .tyop-ticket, .tyop-before { scroll-margin-top: 72px; }
    .spd-hide-m { display: none !important; }
    .spd-show-m { display: inline; }

    .spd-trust { font-size: 12px; }
    .spd-trust-in { height: 30px; justify-content: center; }
    .spd-trust-items { gap: 16px; }
    .spd-trust-items span { gap: 5px; }
    .spd-trust-items svg { width: 13px; height: 13px; }

    .spd-header-in { height: 60px; padding-left: 14px; padding-right: 6px; }
    .spd-logo img { height: 40px; max-width: 190px; }
    .spd-provider { font-size: 9px; }
    .spd-right { gap: 0; }
    .spd-book { display: none; }
    .spd-lang-btn { height: 44px; padding: 0 8px; border: 0; font-weight: 600; gap: 4px; }
    .spd-lang-btn svg:first-child { width: 18px; height: 18px; }
    .spd-lang-chev { display: none; }

    .spd-footer { margin-top: 40px; padding-top: 28px; }
    .spd-f-grid { grid-template-columns: 1fr; gap: 18px; }
    .spd-f-brand img { height: 60px; }
    .spd-f-col { gap: 18px; align-items: stretch; }
    .spd-f-col h2 { display: none; }
    .spd-f-mail { height: 48px; border-radius: 10px; background: #1B2C55; color: #fff !important; font-weight: 600; justify-content: center; text-align: center; padding: 0 12px; }
    .spd-f-mail svg { display: none; }
    .spd-f-muted { font-size: 13px; }
    .spd-f-legal { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid var(--spd-foot-line); padding-top: 16px; }
    .spd-f-pay { margin-top: 18px; border-top: 0; padding: 0; gap: 6px; }
    .spd-f-secure { width: 100%; }
    .spd-pay { font-size: 11px; padding: 5px 8px; border-radius: 5px; }
    .spd-f-copy { border-top: 0; padding: 18px 0 96px; font-size: 12px; line-height: 1.6; }
}

/* ---------- Ana site (spd-main): aynı tasarım; ürün dışı sayfalarda arama kutusu ---------- */
.spd-main .spd-header-in { gap: 24px; }
.spd-main .spd-search-slot { flex: 1 1 auto; min-width: 0; max-width: 640px; }
.spd-search { position: relative; display: flex; align-items: center; height: 46px; width: 100%; border: 1px solid #D5DCE8; border-radius: 10px; background: #fff; }
.spd-search:focus-within { border-color: var(--spd-blue); box-shadow: 0 0 0 3px rgba(31,95,214,.12); }
.spd-search-ic { display: flex; align-items: center; padding: 0 10px 0 14px; color: #6B7487; cursor: text; margin: 0; }
.spd-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--spd-ink); padding-right: 14px; }
.spd-search-result { position: absolute; top: calc(100% + 6px); left: 0; width: max(100%, min(720px, calc(100vw - 32px))); max-height: 70vh; overflow-y: auto; z-index: 1040; background: #fff; border-radius: 10px; box-shadow: 0 10px 28px rgba(15,30,61,.22); }
.spd-search-row { padding-bottom: 10px; }
.spd-search-row[hidden] { display: none; }

.spd-main .spd-mmenu { z-index: 1031; }

/* Sabit rezervasyon barı olmayan sayfalarda alt boşluk gerekmez */
.spd-f-copy.spd-f-copy--nobar { padding-bottom: 18px; }

@media (max-width: 991.98px) {
    .spd-search-slot { display: none; }
}
@media (max-width: 767.98px) {
    .spd-main .spd-header-in { height: 60px; }
    .spd-search-row { padding: 0 14px 10px; }
    .spd-search { height: 44px; }
    .spd-search input { font-size: 16px; } /* iOS zoom olmasın */
    .spd-f-copy.spd-f-copy--nobar { padding-bottom: 18px; }
}

/* ---------- Ürün sayfası arama: simge + üstte açılan panel ---------- */
.spd-icon-btn { width: 40px; height: 40px; border: 1px solid #D5DCE8; border-radius: 8px; background: #fff; color: var(--spd-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.spd-icon-btn:hover { border-color: #B9C3D6; color: var(--spd-blue); }

.spd-sx { position: fixed; inset: 0; z-index: 1060; }
.spd-sx[hidden] { display: none; }
.spd-sx-backdrop { position: absolute; inset: 0; background: rgba(15,30,61,.45); }
.spd-sx-panel { position: relative; margin: 15vh auto 0; width: min(640px, calc(100vw - 32px)); max-height: 75vh; display: flex; flex-direction: column; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(15,30,61,.30); overflow: hidden; }
.spd-sx-bar { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 18px; height: 60px; border-bottom: 1px solid var(--spd-line); flex-shrink: 0; }
.spd-sx-ic { color: #6B7487; flex-shrink: 0; }
.spd-sx-bar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; font-size: 17px; color: var(--spd-ink); background: transparent; }
.spd-sx-bar input::-webkit-search-cancel-button { display: none; }
.spd-sx-close { border: 1px solid #D5DCE8; background: #fff; border-radius: 6px; font-size: 12px; color: #6B7487; padding: 4px 8px; cursor: pointer; flex-shrink: 0; }
.spd-sx-body { overflow-y: auto; }
.spd-sx-results .review-item { padding: 10px 18px !important; }
.spd-sx-results a:focus .review-item, .spd-sx-results a:hover .review-item { background: #F3F6FB !important; }
.spd-sx-results a:focus { outline: none; }
.spd-sx-empty { padding: 28px 18px; text-align: center; color: #6B7487; font-size: 15px; }
.spd-sx-empty[hidden], .spd-sx-results[hidden], .spd-sx-suggest[hidden] { display: none; }
.spd-sx-suggest { padding: 8px 0 12px; }
.spd-sx-title { padding: 10px 18px 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6B7487; }
.spd-sx-item { display: flex; align-items: center; gap: 12px; padding: 8px 18px; color: var(--spd-ink); }
.spd-sx-item:hover, .spd-sx-item:focus { background: #F3F6FB; outline: none; color: var(--spd-ink); }
.spd-sx-item img, .spd-sx-noimg { width: 48px; height: 36px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #EEF1F6; }
.spd-sx-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spd-sx-price { font-size: 13px; color: #6B7487; white-space: nowrap; }
.spd-sx-all { display: block; padding: 10px 18px 4px; font-size: 14px; font-weight: 600; color: var(--spd-blue); }
.spd-sx-all:focus { outline: 2px solid rgba(31,95,214,.35); outline-offset: -2px; }
body.spd-sx-lock { overflow: hidden; }

/* Mobil: tam ekran */
@media (max-width: 767.98px) {
    .spd-icon-btn { border: 0; width: 44px; height: 44px; }
    .spd-sx-backdrop { background: #fff; }
    .spd-sx-panel { margin: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none; }
    .spd-sx-bar { height: 60px; padding: 0 8px 0 14px; }
    .spd-sx-bar input { font-size: 16px; } /* iOS zoom olmasın */
    .spd-sx-close { border: 0; font-size: 15px; font-weight: 600; color: var(--spd-blue); padding: 8px; }
    .spd-sx-body { flex: 1; }
}
