@charset "utf-8";
/* Tüm Menü - tek sayfa kaydırmalı menü */

/* style.css sets html/body to height:100% + overflow-x:hidden for the
   parallax homepage. On this page that traps scrolling inside a fixed-height
   box, which is what makes position:sticky (.fm-quicknav) and touch-scroll
   momentum unreliable on mobile browsers. Restore natural document height. */
html, body {
    height: auto;
}

body {
    background: #fff;
}

.fm-hero {
    background-image: url(/images/bg-menu.jpg);
    background-size: cover;
    background-position: center;
    padding: 34px 20px 30px;
    text-align: center;
}

.fm-hero img {
    width: auto;
    height: 74px;
    display: inline-block;
    margin-bottom: 10px;
}

.fm-hero h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: #6e1372;
    margin: 0 0 6px;
    letter-spacing: 0.5px;
}

.fm-hero p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #4a2150;
    margin: 0 0 14px;
}

.fm-hero-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fm-hero-links a {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1.5px solid #6e1372;
    color: #6e1372;
    background: #fff;
    transition: all 180ms ease;
}

.fm-hero-links a.fm-home {
    background: #6e1372;
    color: #fff;
}

.fm-hero-links a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(110, 19, 114, 0.25);
}

/* quick nav */
.fm-quicknav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.fm-quicknav-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.fm-quicknav-inner::-webkit-scrollbar {
    height: 5px;
}

.fm-quicknav-inner::-webkit-scrollbar-thumb {
    background: #e4c9e8;
    border-radius: 10px;
}

.fm-pill {
    flex: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #6e1372;
    background: #f8f0f9;
    border: 1px solid #e4c9e8;
    padding: 8px 14px;
    border-radius: 18px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 160ms ease;
    cursor: pointer;
}

.fm-pill:hover {
    background: #efdcf1;
}

.fm-pill.active {
    background: #6e1372;
    border-color: #6e1372;
    color: #fff;
}

/* main content */
html {
    scroll-behavior: smooth;
}

.fm-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 10px 16px calc(80px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    text-align: left;
}

.fm-group-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #b98cc0;
    margin: 38px 0 6px;
    padding-left: 2px;
}

.fm-group-label:first-of-type {
    margin-top: 26px;
}

.fm-cat {
    scroll-margin-top: 66px;
    padding-top: 18px;
}

.fm-cat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 3px solid #6e1372;
    padding-bottom: 10px;
    margin-bottom: 6px;
}

.fm-cat-thumb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6e1372;
    flex: none;
}

.fm-cat-head h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: 21px;
    color: #2a0e2d;
    margin: 0;
}

.fm-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 2px;
    border-bottom: 1px dashed #ecdcee;
    cursor: pointer;
    transition: background 120ms ease;
}

.fm-item.reverse {
    flex-direction: row-reverse;
}

.fm-item:last-child {
    border-bottom: none;
}

.fm-item:hover {
    background: #fbf5fc;
}

.fm-item:focus-visible {
    outline: 2px solid #6e1372;
    outline-offset: -2px;
}

.fm-item-photo {
    flex: 0 0 clamp(96px, 18vw, 140px);
    width: clamp(96px, 18vw, 140px);
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #efe1f0;
    box-shadow: 0 4px 14px rgba(110, 19, 114, 0.14);
}

.fm-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fm-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.fm-item-main {
    flex: 1 1 auto;
    min-width: 0;
}

.fm-item-name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 16.5px;
    color: #221022;
    margin: 0;
    line-height: 1.3;
}

.fm-item-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    color: #8a748c;
    margin: 5px 0 0;
    line-height: 1.45;
}

.fm-item-price {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    color: #fff;
    background: #6e1372;
    padding: 6px 12px;
    border-radius: 14px;
    white-space: nowrap;
    margin-top: 10px;
}

.fm-item.reverse .fm-item-body {
    text-align: right;
}

.fm-item.reverse .fm-item-price {
    margin-left: auto;
}

/* loading state */
.fm-loading {
    text-align: center;
    color: #a98bad;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    padding: 40px 10px;
}

/* item detail modal */
.fm-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 4, 21, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.fm-modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.fm-modal {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px 20px 0 0;
    max-height: 86vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px);
    transition: transform 220ms ease;
}

.fm-modal-backdrop.show .fm-modal {
    transform: translateY(0);
}

@media (min-width: 640px) {
    .fm-modal-backdrop {
        align-items: center;
    }
    .fm-modal {
        border-radius: 20px;
    }
}

.fm-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.fm-modal-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f4e9f5;
}

.fm-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fm-modal-body {
    padding: 18px 20px 24px;
}

.fm-modal-name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 19px;
    color: #221022;
    margin: 0 0 8px;
}

.fm-modal-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    color: #7a6a7c;
    line-height: 1.5;
    margin: 0 0 14px;
}

.fm-modal-price {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    background: #6e1372;
    padding: 8px 16px;
    border-radius: 16px;
}

body.fm-modal-open {
    overflow: hidden;
}

/* back to top */
.fm-fab {
    position: fixed;
    right: 18px;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #6e1372;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(110, 19, 114, 0.4);
    text-decoration: none;
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 220ms ease;
    z-index: 50;
}

.fm-fab.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fm-footer-note {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #a98bad;
    padding: 26px 16px 6px;
}

@media (max-width: 640px) {
    .fm-hero h1 {
        font-size: 21px;
    }
    .fm-item {
        gap: 14px;
    }
    .fm-item-photo {
        flex: 0 0 92px;
        width: 92px;
        border-radius: 12px;
    }
    .fm-item-name {
        font-size: 15px;
    }
    .fm-cat-head h2 {
        font-size: 18px;
    }
}
