/*
|--------------------------------------------------------------------------
| ALB Yemek - Restoran ve Menü Sayfası
|--------------------------------------------------------------------------
*/

.restaurant-page {
    min-height: 100vh;
    color: #171717;
    background:
        linear-gradient(
            180deg,
            #fffdfb 0,
            #ffffff 380px,
            #f7f6f4 100%
        );
}

/*
|--------------------------------------------------------------------------
| Üst menü
|--------------------------------------------------------------------------
*/

.menu-header {
    position: sticky;
    top: 0;
    z-index: 300;
    height: 82px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: 0 8px 35px rgba(23, 23, 23, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition:
        height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.menu-header.is-scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 40px rgba(23, 23, 23, 0.08);
}

.menu-header-inner {
    height: 100%;
    display: grid;
    grid-template-columns:
        minmax(130px, 1fr)
        auto
        minmax(130px, 1fr);
    align-items: center;
    gap: 24px;
}

.menu-back {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #454545;
    font-size: 12px;
    font-weight: 800;
    transition:
        color 0.25s ease,
        transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-back:hover {
    color: #ff4500;
    transform: translateX(-3px);
}

.menu-back svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-brand {
    justify-self: center;
}

.menu-cart-button {
    min-width: 112px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 9px;
    padding: 0 13px;
    color: #ffffff;
    background: #171717;
    border-radius: 15px;
    box-shadow: 0 13px 30px rgba(23, 23, 23, 0.15);
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.25s ease;
}

.menu-cart-button:hover {
    background: #ff4500;
    box-shadow: 0 17px 38px rgba(255, 69, 0, 0.25);
    transform: translateY(-2px);
}

.menu-cart-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-cart-button span {
    font-size: 11px;
    font-weight: 800;
}

.menu-cart-button strong {
    min-width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    color: #171717;
    background: #ffffff;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 900;
}

/*
|--------------------------------------------------------------------------
| Restoran hero
|--------------------------------------------------------------------------
*/

.restaurant-hero {
    position: relative;
    isolation: isolate;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 7% 20%,
            rgba(255, 69, 0, 0.18),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 14%,
            rgba(255, 181, 74, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #fff9f5,
            #ffffff 55%,
            #fff2e9
        );
}

.restaurant-hero.has-cover {
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            rgba(15, 15, 15, 0.93) 0%,
            rgba(15, 15, 15, 0.82) 45%,
            rgba(15, 15, 15, 0.58) 100%
        ),
        var(--restaurant-cover) center / cover no-repeat;
}

.restaurant-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.42;
    background-image:
        linear-gradient(
            rgba(23, 23, 23, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 23, 23, 0.035) 1px,
            transparent 1px
        );
    background-size: 52px 52px;
}

.restaurant-hero.has-cover::before {
    opacity: 0.08;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.24) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.24) 1px,
            transparent 1px
        );
}

.restaurant-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.restaurant-hero-pattern::before,
.restaurant-hero-pattern::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.restaurant-hero-pattern::before {
    width: 430px;
    height: 430px;
    right: -150px;
    top: -190px;
    background: rgba(255, 69, 0, 0.09);
    border: 1px solid rgba(255, 69, 0, 0.12);
    box-shadow:
        0 0 0 50px rgba(255, 69, 0, 0.035),
        0 0 0 110px rgba(255, 69, 0, 0.02);
    animation: menuHeroFloat 11s ease-in-out infinite;
}

.restaurant-hero-pattern::after {
    width: 300px;
    height: 300px;
    left: -130px;
    bottom: -180px;
    background: rgba(255, 180, 77, 0.11);
    animation: menuHeroFloat 14s ease-in-out infinite reverse;
}

.restaurant-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 350px;
    align-items: center;
    gap: 70px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.restaurant-identity {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

.restaurant-page-logo {
    position: relative;
    width: 156px;
    height: 156px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #ff4500;
    background: #ffffff;
    border: 10px solid rgba(255, 255, 255, 0.28);
    border-radius: 40px;
    box-shadow:
        0 30px 70px rgba(23, 23, 23, 0.2),
        0 0 0 1px rgba(23, 23, 23, 0.06);
    transform: rotate(-3deg);
    transition:
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.45s ease;
}

.restaurant-identity:hover .restaurant-page-logo {
    transform: rotate(0deg) scale(1.03);
    box-shadow:
        0 36px 85px rgba(23, 23, 23, 0.25),
        0 0 0 1px rgba(255, 69, 0, 0.12);
}

.restaurant-page-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-page-logo span {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.07em;
}

.restaurant-hero-copy {
    min-width: 0;
}

.restaurant-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.restaurant-open-badge,
.local-badge {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.restaurant-open-badge {
    color: #ffffff;
    background: #171717;
}

.restaurant-hero.has-cover .restaurant-open-badge {
    background: rgba(15, 15, 15, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
}

.restaurant-open-badge i {
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 0 currentColor;
    animation: menuStatusPulse 2s infinite;
}

.restaurant-open-badge.is-open {
    color: #c7ffdc;
}

.restaurant-open-badge.is-closed {
    color: #ffd1d1;
}

.local-badge {
    color: #b83a0b;
    background: #fff0e9;
    border: 1px solid rgba(255, 69, 0, 0.12);
}

.restaurant-hero.has-cover .local-badge {
    color: #ffffff;
    background: rgba(255, 69, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.13);
}

.restaurant-hero-copy h1 {
    max-width: 720px;
    margin: 18px 0 15px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.restaurant-hero-copy > p {
    max-width: 660px;
    margin: 0;
    color: #5e5e5e;
    font-size: 14px;
    line-height: 1.85;
}

.restaurant-hero.has-cover .restaurant-hero-copy > p {
    color: rgba(255, 255, 255, 0.72);
}

.restaurant-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 25px;
}

.restaurant-quick-info span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5c5c5c;
    font-size: 10px;
    font-weight: 800;
}

.restaurant-hero.has-cover .restaurant-quick-info span {
    color: rgba(255, 255, 255, 0.76);
}

.restaurant-quick-info svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #ff4500;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.restaurant-service-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    color: #171717;
    background: rgba(255, 255, 255, 0.91);
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 27px;
    box-shadow:
        0 28px 75px rgba(23, 23, 23, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.restaurant-service-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    top: -100px;
    right: -90px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 50%;
}

.service-card-heading {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.service-card-heading span {
    color: #858585;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card-heading strong {
    margin-top: 5px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    letter-spacing: -0.04em;
}

.service-information-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.service-information-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 11px;
    background: #f7f6f4;
    border: 1px solid rgba(23, 23, 23, 0.06);
    border-radius: 15px;
}

.service-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #ff4500;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 900;
}

.service-information-list article:nth-child(2) .service-icon {
    color: #171717;
    background: #ffd45f;
}

.service-information-list article:nth-child(3) .service-icon {
    background: #171717;
}

.service-information-list article div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.service-information-list small {
    color: #888888;
    font-size: 8px;
    font-weight: 700;
}

.service-information-list strong {
    margin-top: 4px;
    font-size: 11px;
}

.service-local-note {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 33px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    margin-top: 16px;
    padding: 13px;
    color: #9d340e;
    background: #fff0e9;
    border-radius: 15px;
}

.service-local-note span {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #ff4500;
    border-radius: 10px;
    font-size: 12px;
}

.service-local-note p {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.55;
}

/*
|--------------------------------------------------------------------------
| Menü navigasyonu
|--------------------------------------------------------------------------
*/

.menu-navigation-section {
    position: sticky;
    top: 82px;
    z-index: 180;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: 0 10px 30px rgba(23, 23, 23, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.menu-header.is-scrolled + main .menu-navigation-section {
    top: 70px;
}

.menu-navigation-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
}

.menu-search-box {
    min-height: 50px;
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    background: #f5f4f2;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 15px;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.menu-search-box:focus-within {
    background: #ffffff;
    border-color: rgba(255, 69, 0, 0.35);
    box-shadow: 0 12px 30px rgba(255, 69, 0, 0.1);
}

.menu-search-box svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #8a8a8a;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.menu-search-box input {
    width: 100%;
    min-width: 0;
    padding: 0;
    color: #171717;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 12px;
    font-weight: 700;
}

.menu-search-box input::placeholder {
    color: #999999;
    font-weight: 600;
}

.menu-category-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 2px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.menu-category-navigation::-webkit-scrollbar {
    display: none;
}

.menu-category-navigation a {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 16px;
    color: #737373;
    background: transparent;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-category-navigation a:hover {
    color: #ff4500;
    background: #fff0e9;
    transform: translateY(-2px);
}

.menu-category-navigation a.is-active {
    color: #ffffff;
    background: #171717;
    box-shadow: 0 11px 25px rgba(23, 23, 23, 0.14);
}

/*
|--------------------------------------------------------------------------
| Menü alanı
|--------------------------------------------------------------------------
*/

.restaurant-menu-section {
    padding: 55px 0 120px;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(255, 69, 0, 0.045),
            transparent 25%
        ),
        #f7f6f4;
}

.restaurant-menu-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 30px;
}

.restaurant-menu-main {
    min-width: 0;
}

.menu-category-section {
    scroll-margin-top: 195px;
}

.menu-category-section + .menu-category-section {
    margin-top: 58px;
}

.menu-category-heading {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
}

.menu-category-heading div {
    display: flex;
    flex-direction: column;
}

.menu-category-heading span {
    color: #ff4500;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.menu-category-heading h2 {
    margin: 5px 0 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.menu-category-heading i {
    flex: 1;
    height: 1px;
    margin-bottom: 10px;
    background: linear-gradient(
        90deg,
        rgba(23, 23, 23, 0.1),
        transparent
    );
}

.menu-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.menu-product-card {
    position: relative;
    min-width: 0;
    display: grid;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(23, 23, 23, 0.045);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-product-card:hover {
    border-color: rgba(255, 69, 0, 0.23);
    box-shadow: 0 24px 56px rgba(23, 23, 23, 0.11);
    transform: translateY(-6px);
}

.menu-product-card.has-image {
    grid-template-columns: 155px minmax(0, 1fr);
    min-height: 205px;
}

.menu-product-card.no-image {
    min-height: 205px;
}

.menu-product-image {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #eceae7;
}

.menu-product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(0, 0, 0, 0.08)
    );
}

.menu-product-image img {
    width: 100%;
    height: 100%;
    min-height: 205px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-product-card:hover .menu-product-image img {
    transform: scale(1.06);
}

.menu-product-image > span {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    color: #171717;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 9px;
    box-shadow: 0 9px 20px rgba(23, 23, 23, 0.12);
    backdrop-filter: blur(8px);
    font-size: 7px;
    font-weight: 900;
    text-transform: uppercase;
}

.menu-product-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.menu-product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.menu-product-top > div {
    min-width: 0;
}

.menu-product-top h3 {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.035em;
}

.menu-product-top p {
    margin: 9px 0 0;
    color: #777777;
    font-size: 10px;
    line-height: 1.65;
}

.product-food-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #fff0e9;
    border: 1px solid rgba(255, 69, 0, 0.09);
    border-radius: 17px;
    font-size: 24px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-product-card:hover .product-food-icon {
    transform: rotate(-7deg) scale(1.06);
}

.menu-product-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
}

.menu-product-price {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.menu-product-price strong {
    color: #ff4500;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.menu-product-price del {
    margin-top: 6px;
    color: #a0a0a0;
    font-size: 9px;
    font-weight: 700;
}

.menu-add-button {
    min-width: 84px;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    color: #ffffff;
    background: #171717;
    border-radius: 13px;
    box-shadow: 0 11px 23px rgba(23, 23, 23, 0.13);
    cursor: pointer;
    font-size: 9px;
    font-weight: 900;
    transition:
        background 0.25s ease,
        transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.25s ease;
}

.menu-add-button:hover:not(:disabled) {
    background: #ff4500;
    box-shadow: 0 14px 29px rgba(255, 69, 0, 0.24);
    transform: translateY(-2px);
}

.menu-add-button:active:not(:disabled) {
    transform: scale(0.96);
}

.menu-add-button:disabled {
    color: #999999;
    background: #eeeeee;
    box-shadow: none;
    cursor: not-allowed;
}

.menu-add-button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.menu-product-card[hidden],
.menu-category-section[hidden] {
    display: none !important;
}

/*
|--------------------------------------------------------------------------
| Boş durumlar
|--------------------------------------------------------------------------
*/

.menu-empty-state {
    min-height: 390px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    gap: 50px;
    padding: 50px;
    background: linear-gradient(
        135deg,
        #fff0e9,
        #ffffff
    );
    border: 1px dashed rgba(255, 69, 0, 0.3);
    border-radius: 30px;
}

.menu-empty-visual {
    position: relative;
    width: 210px;
    height: 210px;
    display: grid;
    place-items: center;
    background: #171717;
    border-radius: 50%;
    box-shadow: 0 28px 65px rgba(23, 23, 23, 0.2);
}

.menu-empty-visual span {
    position: relative;
    z-index: 2;
    font-size: 72px;
}

.menu-empty-visual i {
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 50%;
    animation: menuEmptySpin 16s linear infinite;
}

.menu-empty-visual i::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 25px;
    width: 10px;
    height: 10px;
    background: #ff4500;
    border-radius: 50%;
}

.menu-empty-state h2 {
    max-width: 650px;
    margin: 10px 0 13px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.menu-empty-state p {
    max-width: 640px;
    margin: 0;
    color: #747474;
    font-size: 13px;
    line-height: 1.8;
}

.menu-search-empty {
    padding: 55px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed rgba(23, 23, 23, 0.15);
    border-radius: 25px;
}

.menu-search-empty span {
    font-size: 48px;
}

.menu-search-empty h3 {
    margin: 12px 0 5px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 23px;
}

.menu-search-empty p {
    margin: 0;
    color: #777777;
    font-size: 12px;
}

/*
|--------------------------------------------------------------------------
| Masaüstü sepet
|--------------------------------------------------------------------------
*/

.desktop-cart-panel {
    position: sticky;
    top: 185px;
    min-height: 330px;
    padding: 23px;
    background: #ffffff;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 26px;
    box-shadow: 0 20px 55px rgba(23, 23, 23, 0.08);
}

.desktop-cart-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.desktop-cart-heading div {
    display: flex;
    flex-direction: column;
}

.desktop-cart-heading small {
    color: #999999;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.desktop-cart-heading h2 {
    margin: 3px 0 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 24px;
    letter-spacing: -0.05em;
}

.desktop-cart-heading > span {
    padding: 6px 9px;
    color: #a4360f;
    background: #fff0e9;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 900;
}

.desktop-cart-empty {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 15px;
    text-align: center;
}

.desktop-cart-empty > div {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    background: #f5f4f2;
    border-radius: 23px;
    font-size: 31px;
}

.desktop-cart-empty h3 {
    margin: 17px 0 7px;
    font-size: 14px;
}

.desktop-cart-empty p {
    max-width: 230px;
    margin: 0;
    color: #888888;
    font-size: 10px;
    line-height: 1.65;
}

.desktop-cart-items {
    display: grid;
    gap: 10px;
    max-height: 340px;
    margin: 17px -4px 0 0;
    padding-right: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.cart-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
    background: #f7f6f4;
    border: 1px solid rgba(23, 23, 23, 0.06);
    border-radius: 15px;
}

.cart-item-image {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    font-size: 20px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-content {
    min-width: 0;
}

.cart-item-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 9px;
}

.cart-item-title-row strong {
    min-width: 0;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-remove {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #999999;
    background: #ffffff;
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.cart-item-remove:hover {
    color: #ffffff;
    background: #cf2b2b;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-top: 9px;
}

.cart-item-bottom > strong {
    color: #ff4500;
    font-size: 10px;
}

.cart-quantity {
    display: inline-grid;
    grid-template-columns: 27px 28px 27px;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 9px;
}

.cart-quantity button {
    height: 27px;
    display: grid;
    place-items: center;
    color: #171717;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.cart-quantity button:hover {
    color: #ffffff;
    background: #ff4500;
}

.cart-quantity span {
    display: grid;
    place-items: center;
    color: #171717;
    font-size: 9px;
    font-weight: 900;
}

.desktop-cart-summary {
    display: grid;
    gap: 11px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.desktop-cart-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #777777;
    font-size: 9px;
}

.desktop-cart-summary > div strong {
    color: #171717;
    font-size: 10px;
}

.desktop-cart-summary .cart-total-row {
    margin-top: 4px;
    padding-top: 13px;
    border-top: 1px dashed rgba(23, 23, 23, 0.13);
    color: #171717;
    font-size: 11px;
    font-weight: 800;
}

.desktop-cart-summary .cart-total-row strong {
    color: #ff4500;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    letter-spacing: -0.04em;
}

.minimum-order-note {
    margin: 2px 0 0;
    padding: 10px 11px;
    color: #8a5300;
    background: #fff1cf;
    border-radius: 11px;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.55;
}

.minimum-order-note.is-success {
    color: #147140;
    background: #e8f8ef;
}

.cart-checkout-button {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding: 0 17px;
    color: #ffffff;
    background: #ff4500;
    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(255, 69, 0, 0.22);
    cursor: pointer;
    font-size: 10px;
    font-weight: 900;
    transition:
        background 0.25s ease,
        transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.25s ease;
}

.cart-checkout-button:hover:not(:disabled) {
    background: #d93800;
    box-shadow: 0 18px 38px rgba(255, 69, 0, 0.3);
    transform: translateY(-2px);
}

.cart-checkout-button:disabled {
    color: #999999;
    background: #ededed;
    box-shadow: none;
    cursor: not-allowed;
}

.cart-checkout-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/*
|--------------------------------------------------------------------------
| Mobil sepet çubuğu
|--------------------------------------------------------------------------
*/

.mobile-cart-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 350;
}

.mobile-cart-bar button {
    width: 100%;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #ff4500,
        #ff6d23
    );
    border-radius: 18px;
    box-shadow:
        0 20px 50px rgba(255, 69, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.mobile-cart-bar button > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.mobile-cart-bar strong {
    font-size: 10px;
}

.mobile-cart-bar small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 9px;
}

.mobile-cart-bar b {
    font-size: 11px;
}

/*
|--------------------------------------------------------------------------
| Sepet çekmecesi
|--------------------------------------------------------------------------
*/

.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 390;
    background: rgba(15, 15, 15, 0.58);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.is-visible {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    width: min(440px, 100%);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.24);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 23px;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.cart-drawer-header div {
    display: flex;
    flex-direction: column;
}

.cart-drawer-header small {
    color: #999999;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cart-drawer-header h2 {
    margin: 3px 0 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 25px;
    letter-spacing: -0.05em;
}

.cart-drawer-header button {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: #555555;
    background: #f3f2f0;
    border-radius: 13px;
    cursor: pointer;
    font-size: 25px;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.cart-drawer-header button:hover {
    color: #ffffff;
    background: #171717;
    transform: rotate(4deg);
}

.cart-drawer-content {
    flex: 1;
    padding: 22px;
    overflow-y: auto;
}

.drawer-cart-empty {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    text-align: center;
}

.drawer-cart-empty div {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    background: #f5f4f2;
    border-radius: 27px;
    font-size: 40px;
}

.drawer-cart-empty h3 {
    margin: 20px 0 7px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
}

.drawer-cart-empty p {
    max-width: 300px;
    margin: 0;
    color: #858585;
    font-size: 11px;
    line-height: 1.7;
}

.drawer-cart-list {
    display: grid;
    gap: 12px;
}

.drawer-cart-summary {
    display: grid;
    gap: 13px;
    margin-top: 24px;
    padding: 20px;
    background: #f7f6f4;
    border-radius: 18px;
}

.drawer-cart-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777777;
    font-size: 10px;
}

.drawer-cart-summary > div strong {
    color: #171717;
}

.drawer-cart-summary .drawer-total-row {
    padding-top: 15px;
    border-top: 1px dashed rgba(23, 23, 23, 0.15);
    color: #171717;
    font-weight: 800;
}

.drawer-cart-summary .drawer-total-row strong {
    color: #ff4500;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 23px;
}

/*
|--------------------------------------------------------------------------
| Hata ekranı
|--------------------------------------------------------------------------
*/

.menu-error-section {
    min-height: calc(100vh - 82px);
    display: grid;
    place-items: center;
    padding: 70px 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 69, 0, 0.12),
            transparent 27%
        ),
        #f7f6f4;
}

.menu-error-card {
    max-width: 720px;
    margin-inline: auto;
    padding: 60px 45px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(23, 23, 23, 0.12);
}

.menu-error-card > span {
    font-size: 70px;
}

.menu-error-card h1 {
    margin: 20px 0 10px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(30px, 6vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.menu-error-card p {
    max-width: 500px;
    margin: 0 auto;
    color: #777777;
    font-size: 13px;
    line-height: 1.75;
}

.menu-error-card a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 0 22px;
    color: #ffffff;
    background: #ff4500;
    border-radius: 14px;
    box-shadow: 0 15px 32px rgba(255, 69, 0, 0.24);
    font-size: 10px;
    font-weight: 900;
    transition:
        background 0.25s ease,
        transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-error-card a:hover {
    background: #d93800;
    transform: translateY(-3px);
}

/*
|--------------------------------------------------------------------------
| Görünme animasyonları
|--------------------------------------------------------------------------
*/

[data-menu-reveal] {
    opacity: 1;
    transform: translateY(0);
}

.menu-reveal-ready [data-menu-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--menu-reveal-delay, 0ms);
}

.menu-reveal-ready [data-menu-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*
|--------------------------------------------------------------------------
| Animasyonlar
|--------------------------------------------------------------------------
*/

@keyframes menuHeroFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-20px, 24px, 0) scale(1.06);
    }
}

@keyframes menuStatusPulse {
    0% {
        box-shadow: 0 0 0 0 currentColor;
    }

    70% {
        box-shadow: 0 0 0 8px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

@keyframes menuEmptySpin {
    to {
        transform: rotate(360deg);
    }
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1120px) {
    .restaurant-hero-inner {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 42px;
    }

    .restaurant-identity {
        grid-template-columns: 135px minmax(0, 1fr);
        gap: 27px;
    }

    .restaurant-page-logo {
        width: 135px;
        height: 135px;
        border-radius: 34px;
    }

    .restaurant-menu-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 22px;
    }

    .menu-product-card.has-image {
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .menu-product-content {
        padding: 17px;
    }
}

@media (max-width: 940px) {
    .menu-header-inner {
        grid-template-columns: 1fr auto 1fr;
    }

    .menu-back span {
        display: none;
    }

    .menu-brand .brand-copy small {
        display: none;
    }

    .restaurant-hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .restaurant-service-card {
        width: 100%;
        max-width: 720px;
    }

    .service-information-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-information-list article {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .service-icon {
        width: 38px;
        height: 38px;
    }

    .menu-navigation-inner {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .restaurant-menu-layout {
        grid-template-columns: 1fr;
    }

    .desktop-cart-panel {
        display: none;
    }

    .mobile-cart-bar {
        display: block;
    }
}

/*
|--------------------------------------------------------------------------
| Mobil
|--------------------------------------------------------------------------
*/

@media (max-width: 680px) {
    .restaurant-page {
        padding-bottom: 82px;
    }

    .menu-header {
        height: 70px;
    }

    .menu-header.is-scrolled {
        height: 64px;
    }

    .menu-header-inner {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 9px;
    }

    .menu-back {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        background: #f4f3f1;
        border-radius: 12px;
    }

    .menu-back svg {
        width: 18px;
        height: 18px;
    }

    .menu-brand {
        justify-self: start;
    }

    .menu-brand .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .menu-brand .brand-copy strong {
        font-size: 15px;
    }

    .menu-cart-button {
        min-width: 48px;
        width: 48px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        gap: 0;
        border-radius: 13px;
    }

    .menu-cart-button > span {
        display: none;
    }

    .menu-cart-button strong {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 20px;
        height: 20px;
        color: #ffffff;
        background: #ff4500;
        border: 2px solid #ffffff;
        border-radius: 50%;
        font-size: 7px;
    }

    .restaurant-hero {
        min-height: auto;
    }

    .restaurant-hero-inner {
        gap: 28px;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .restaurant-identity {
        grid-template-columns: 90px minmax(0, 1fr);
        align-items: start;
        gap: 18px;
    }

    .restaurant-page-logo {
        width: 90px;
        height: 90px;
        border-width: 6px;
        border-radius: 25px;
        box-shadow: 0 18px 45px rgba(23, 23, 23, 0.18);
    }

    .restaurant-page-logo span {
        font-size: 26px;
    }

    .restaurant-badges {
        gap: 6px;
    }

    .restaurant-open-badge,
    .local-badge {
        min-height: 27px;
        padding: 0 8px;
        font-size: 6.5px;
    }

    .restaurant-hero-copy h1 {
        margin: 13px 0 9px;
        font-size: clamp(29px, 9vw, 40px);
    }

    .restaurant-hero-copy > p {
        grid-column: 1 / -1;
        font-size: 11px;
        line-height: 1.7;
    }

    .restaurant-quick-info {
        grid-column: 1 / -1;
        gap: 8px 13px;
        margin-top: 17px;
    }

    .restaurant-quick-info span {
        font-size: 8px;
    }

    .restaurant-quick-info svg {
        width: 14px;
        height: 14px;
    }

    .restaurant-service-card {
        padding: 18px;
        border-radius: 22px;
    }

    .service-card-heading strong {
        font-size: 17px;
    }

    .service-information-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-information-list article {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 9px;
    }

    .service-local-note {
        grid-template-columns: 31px minmax(0, 1fr);
    }

    .menu-navigation-section {
        top: 70px;
    }

    .menu-header.is-scrolled + main .menu-navigation-section {
        top: 64px;
    }

    .menu-navigation-inner {
        min-height: auto;
        display: block;
        padding-top: 11px;
        padding-bottom: 10px;
    }

    .menu-search-box {
        min-height: 47px;
    }

    .menu-category-navigation {
        margin-top: 8px;
        margin-inline: -12px;
        padding: 2px 12px 4px;
    }

    .menu-category-navigation a {
        min-height: 39px;
        padding: 0 13px;
        font-size: 8px;
    }

    .restaurant-menu-section {
        padding: 38px 0 95px;
    }

    .menu-category-section {
        scroll-margin-top: 175px;
    }

    .menu-category-section + .menu-category-section {
        margin-top: 45px;
    }

    .menu-category-heading {
        margin-bottom: 17px;
    }

    .menu-category-heading h2 {
        font-size: 26px;
    }

    .menu-category-heading span {
        font-size: 7px;
    }

    .menu-product-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .menu-product-card.has-image {
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 175px;
    }

    .menu-product-card.no-image {
        min-height: 175px;
    }

    .menu-product-image img {
        min-height: 175px;
    }

    .menu-product-content {
        padding: 15px;
    }

    .menu-product-top h3 {
        font-size: 14px;
    }

    .menu-product-top p {
        margin-top: 7px;
        font-size: 8.5px;
        line-height: 1.55;
    }

    .product-food-icon {
        width: 45px;
        height: 45px;
        border-radius: 14px;
        font-size: 20px;
    }

    .menu-product-bottom {
        gap: 9px;
        margin-top: 14px;
    }

    .menu-product-price strong {
        font-size: 16px;
    }

    .menu-add-button {
        min-width: 70px;
        min-height: 40px;
        padding: 0 10px;
        font-size: 8px;
    }

    .menu-empty-state {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 22px;
        text-align: center;
    }

    .menu-empty-visual {
        width: 155px;
        height: 155px;
        margin-inline: auto;
    }

    .menu-empty-visual span {
        font-size: 54px;
    }

    .menu-empty-state h2 {
        font-size: 31px;
    }

    .menu-empty-state p {
        font-size: 11px;
    }

    .menu-error-card {
        padding: 42px 22px;
        border-radius: 24px;
    }

    .menu-error-card > span {
        font-size: 55px;
    }

    .menu-error-card p {
        font-size: 11px;
    }

    .cart-drawer {
        width: 100%;
        top: auto;
        height: min(88vh, 760px);
        border-radius: 26px 26px 0 0;
        transform: translateY(105%);
    }

    .cart-drawer.is-open {
        transform: translateY(0);
    }

    .cart-drawer-header {
        min-height: 76px;
        padding: 16px 18px;
    }

    .cart-drawer-header h2 {
        font-size: 22px;
    }

    .cart-drawer-content {
        padding: 18px;
    }

    .drawer-cart-empty {
        min-height: 55vh;
    }
}

@media (max-width: 430px) {
    .restaurant-identity {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 14px;
    }

    .restaurant-page-logo {
        width: 78px;
        height: 78px;
        border-radius: 21px;
    }

    .restaurant-page-logo span {
        font-size: 22px;
    }

    .restaurant-hero-copy h1 {
        font-size: 27px;
    }

    .restaurant-badges {
        align-items: flex-start;
        flex-direction: column;
    }

    .menu-product-card.has-image {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .menu-product-content {
        padding: 13px;
    }

    .menu-product-top h3 {
        font-size: 13px;
    }

    .menu-product-top p {
        max-height: 42px;
        overflow: hidden;
    }

    .menu-product-price strong {
        font-size: 14px;
    }

    .menu-add-button {
        min-width: 64px;
    }
}

/*
|--------------------------------------------------------------------------
| Hareket azaltma tercihi
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    [data-menu-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}