@font-face {
    font-family: "Quicksand";
    src: url("/assets/fonts/quicksand/Quicksand-Light.ttf?v=1") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Quicksand";
    src: url("/assets/fonts/quicksand/Quicksand-Regular.ttf?v=1") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Quicksand";
    src: url("/assets/fonts/quicksand/Quicksand-Medium.ttf?v=1") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Quicksand";
    src: url("/assets/fonts/quicksand/Quicksand-SemiBold.ttf?v=1") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Quicksand";
    src: url("/assets/fonts/quicksand/Quicksand-Bold.ttf?v=1") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

#rezNumInput:focus,
#rezNumInput:focus-visible {
    border-color: #62a79b !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(36, 118, 109, .12) !important;
}

body .floating-whatsapp-btn {
    position: fixed !important;
    right: max(20px, env(safe-area-inset-right)) !important;
    bottom: max(20px, env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
}

@media (max-width: 767.98px) {
    body .floating-whatsapp-btn {
        right: max(14px, env(safe-area-inset-right)) !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
    }
}

html,
body,
body *:not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]):not([class^="icon-"]):not([class*=" icon-"]):not(.material-icons):not(.material-symbols-outlined):not(.bi):not([class^="ri-"]):not([class*=" ri-"]) {
    font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

@media (min-width: 768px) {
    #authModal .auth-dialog {
        width: min(720px, calc(100vw - 48px));
        max-width: 920px;
    }

    #authModal .auth-shell {
        display: grid !important;
        grid-template-columns: minmax(180px, 38%) minmax(0, 62%);
        align-items: stretch;
    }

    #authModal .auth-visual {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 18px;
        padding: 40px 28px;
        text-align: left !important;
    }

    #authModal .auth-mark {
        flex: 0 0 auto;
        margin: 0 !important;
    }

    #authModal .auth-visual h5 {
        margin: 0 !important;
        text-align: left !important;
    }

    #authModal .auth-panel {
        min-width: 0;
        padding: 48px 42px !important;
    }

    #authModal .auth-form,
    #authModal .auth-field,
    #authModal .auth-field input,
    #authModal .auth-submit,
    #authModal .auth-google {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
}

@media (max-width: 1199.98px) {
    body .header-area .main-menu {
        width: min(290px, calc(100vw - 40px)) !important;
        max-width: calc(100vw - 40px) !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .header-area .main-menu.show-menu {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        z-index: 13000 !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767.98px) {
    #authModal .auth-modal {
        position: relative;
        max-height: calc(100dvh - 32px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    #authModal .auth-shell {
        display: block !important;
    }

    #authModal .auth-visual {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 68px !important;
        gap: 10px !important;
        padding: 10px 60px 10px 16px !important;
        border-bottom: 1px solid #e3ebe6;
        background: linear-gradient(115deg, #edf5ef 0%, #f8f5ec 100%);
        text-align: left !important;
    }

    #authModal .auth-mark {
        display: grid !important;
        width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px !important;
        place-items: center;
        border: 1px solid #d7e4dc;
        border-radius: 12px;
        background: rgba(255, 255, 255, .82);
        margin: 0 !important;
    }

    #authModal .auth-mark svg {
        display: block;
        width: 20px !important;
        height: 20px !important;
    }

    #authModal .auth-visual h5 {
        flex: 0 1 auto !important;
        margin: 0 !important;
        color: #173b35;
        font-size: 20px !important;
        font-weight: 700;
        line-height: 1.15 !important;
        white-space: nowrap;
        text-align: left !important;
    }

    #authModal .auth-close {
        position: sticky !important;
        top: 10px !important;
        z-index: 3;
        align-self: flex-end;
        display: grid !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        margin: 15px 20px -45px auto !important;
        padding: 0 !important;
        border: 1px solid #dce5e0 !important;
        border-radius: 50% !important;
        background: #fff !important;
        place-items: center !important;
        transform: none !important;
    }

    #authModal .auth-close svg {
        display: block !important;
        width: 12px !important;
        height: 12px !important;
        flex: 0 0 12px !important;
    }
}

.gtm-noscript-frame {
    display: none;
    visibility: hidden;
}

.search-bar {
    position: relative;
}

#rezSorguPanel[hidden] {
    display: none !important;
}

#rezSorguPanel.is-open {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 12010;
    display: block;
    width: min(420px, calc(100vw - 24px));
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #172033;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .28), 0 4px 14px rgba(15, 23, 42, .12);
}

#rezSorguPanel .rez-modern-form {
    display: grid;
    gap: 14px;
    font-weight: 400;
}

#rezSorguPanel .rez-title,
#rezSorguPanel .rez-copy,
#rezSorguPanel label,
#rezSorguPanel .rez-input {
    font-weight: 400 !important;
}

#rezSorguPanel .rez-title {
    font-size: 15px !important;
    line-height: 1.3;
}

#rezSorguPanel .rez-copy {
    font-size: 12px !important;
    line-height: 1.4;
}

#rezSorguPanel label {
    font-size: 12px !important;
    line-height: 1.3;
}

#rezSorguPanel .rez-input {
    font-size: 12px !important;
}

#rezSorguPanel .rez-btn {
    font-size: 13px !important;
    font-weight: 500;
}

#rezSorguPanel .rez-input {
    width: 100%;
    box-sizing: border-box;
}

#rezSorguPanel .rez-input:focus,
#rezSorguPanel .rez-input:focus-visible,
#rezSorguPanel .rez-input:invalid:focus {
    border-color: #62a79b !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(36, 118, 109, .12) !important;
}

@media (max-width: 767.98px) {
    #rezSorguPanel.is-open {
        position: fixed;
        top: calc(62px + env(safe-area-inset-top) + 10px);
        right: max(12px, env(safe-area-inset-right));
        left: max(12px, env(safe-area-inset-left));
        width: auto;
        max-width: 460px;
        max-height: calc(100dvh - 86px - env(safe-area-inset-top));
        overflow-x: hidden;
        overflow-y: auto;
        margin-inline: auto;
    }
}

body.gns-auth-open {
    overflow: hidden;
}

body.gns-reservation-modal-open {
    overflow: hidden;
}

#rezSorguModal.gns-reservation-modal-open {
    position: fixed;
    inset: 0;
    z-index: 12020;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden auto;
    padding: 16px;
    background: rgba(21, 35, 38, .42);
}

.modal-backdrop.gns-reservation-backdrop {
    display: none !important;
}

#rezSorguModal .gns-reservation-dialog {
    width: min(560px, calc(100vw - 32px)) !important;
    max-width: 560px !important;
    margin: auto;
}

#rezSorguModal .gns-reservation-content {
    display: flex;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8eeeb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(17, 35, 38, .18);
}

#rezSorguModal .gns-reservation-modal-header {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf1ef;
    background: #fff;
}

#rezSorguModal .gns-reservation-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #243b3d;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

#rezSorguModal .gns-reservation-modal-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #edf6f2;
    color: #287563;
}

#rezSorguModal .gns-reservation-modal-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

#rezSorguModal .gns-reservation-modal-close {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    margin-left: auto;
    padding: 0;
    border: 1px solid #e8eeeb;
    border-radius: 50%;
    background: #fff;
    color: #667674;
    cursor: pointer;
}

#rezSorguModal .gns-reservation-modal-close:hover {
    background: #f5f8f6;
    color: #243b3d;
}

#rezSorguModal .gns-reservation-modal-close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

#rezSorguModal .gns-reservation-modal-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 20px 20px;
}

#rezSorguModal .gns-reservation-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin: 0;
}

#rezSorguModal .gns-reservation-detail {
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid #edf1ef;
}

#rezSorguModal .gns-reservation-detail-label {
    margin: 0 0 4px;
    color: #778582;
    font-size: 11px;
    font-weight: 500;
}

#rezSorguModal .gns-reservation-detail-value {
    margin: 0;
    color: #263a3c;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

#rezSorguModal .gns-reservation-detail-total .gns-reservation-detail-value,
#rezSorguModal .gns-reservation-detail-status .gns-reservation-detail-value {
    color: #287563;
    font-weight: 700;
}

#rezSorguModal .gns-reservation-detail-route {
    grid-column: 1 / -1;
}

#rezSorguModal .gns-reservation-error {
    padding: 12px 14px;
    border: 1px solid #f1dfc5;
    border-radius: 10px;
    background: #fffaf2;
    color: #72552c;
    font-size: 14px;
    line-height: 1.5;
}

body.menu-open,
body.mobile-menu-active {
    overflow: hidden;
}

#authModal {
    display: none;
}

#authModal.gns-modal-open {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px;
    background: rgba(17, 24, 39, .58);
}

#authModal .auth-dialog {
    width: min(720px, calc(100vw - 32px));
    max-width: 100%;
    margin: auto;
}

#authModal .auth-modal {
    position: relative;
    width: 100%;
    max-height: calc(100dvh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .24);
}

#authModal .auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
}
#goog-gt-tt,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.skiptranslate > iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

html body {
    top: 0 !important;
}

@media (max-width: 767.98px) {
    #rezSorguModal.gns-reservation-modal-open {
        padding: 12px;
    }

    #rezSorguModal .gns-reservation-dialog {
        width: min(440px, calc(100vw - 24px)) !important;
        max-width: 440px !important;
    }

    #rezSorguModal .gns-reservation-content {
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 14px;
    }

    #rezSorguModal .gns-reservation-modal-header {
        padding: 15px 16px;
    }

    #rezSorguModal .gns-reservation-modal-title {
        font-size: 15px;
    }

    #rezSorguModal .gns-reservation-modal-body {
        padding: 8px 16px 14px;
    }

    #rezSorguModal .gns-reservation-details {
        gap: 0 14px;
    }

    #rezSorguModal .gns-reservation-detail {
        padding: 10px 0;
    }

    #rezSorguModal .gns-reservation-detail-label {
        font-size: 10px;
    }

    #rezSorguModal .gns-reservation-detail-value {
        font-size: 13px;
    }
}

/* Tek düğmeli hesap dropdown'u. */
.user-account-control { position: relative; white-space: nowrap; }
.user-account-control .user-profile-btn { display: inline-flex; align-items: center; gap: 8px; }
.user-account-control .user-profile-link-icon { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.user-account-control .user-account-chevron { display: inline-block !important; visibility: visible !important; opacity: 1 !important; margin-left: 2px; color: currentColor; font-size: 15px; font-weight: 700; line-height: 1; }
.user-account-control .dropdown-menu { position: absolute; z-index: 1200; top: calc(100% + 8px); right: 0; display: none !important; min-width: 176px; margin: 0; padding: 7px; border: 1px solid #e1eae4; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(20,50,38,.14); list-style: none; }
.user-account-control.is-open .dropdown-menu:not([hidden]) { display: block !important; }
.user-account-control .dropdown-item { display: flex; align-items: center; padding: 10px 12px; border-radius: 8px; color: #29463b; font-size: 13px; text-decoration: none; }
.user-account-control .dropdown-item:hover, .user-account-control .dropdown-item:focus { background: #f0f6f1; color: #1d5c43; }
.auth-user-icon {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    flex: 0 0 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}
