/* Restoran detay — Harbi Yemek menü */

body.hy-resto-page .hy-top__promo,
body.hy-resto-page .hy-top__sub,
body.hy-resto-page .fp__reservation,
body.hy-resto-page .fp__menu_cart,
body.hy-resto-page #qrModal,
body.hy-resto-page .fp__scroll_btn,
body.hy-resto-page .fp__cart_popup,
body.hy-resto-page #cartModal,
body.hy-resto-page .fp__product_groups_modal {
    display: none !important;
}

body.hy-resto-page {
    background: #f7f4f5;
    padding-bottom: 5.5rem;
}

.hy-resto {
    background: #f7f4f5;
    min-height: 70vh;
    padding-bottom: 4.5rem;
    color: #1a0a12;
}

.hy-resto-cover {
    position: relative;
    height: clamp(220px, 34vw, 380px);
    overflow: hidden;
    background: #1a0a12;
}

.hy-resto-cover__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: hyCover 22s ease-in-out infinite alternate;
}

@keyframes hyCover {
    from { transform: scale(1.04) translateY(0); }
    to { transform: scale(1.12) translateY(-1.5%); }
}

@media (prefers-reduced-motion: reduce) {
    .hy-resto-cover__img { animation: none; }
}

.hy-resto-cover__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(26, 10, 18, .35) 0%, rgba(26, 10, 18, .08) 38%, rgba(26, 10, 18, .72) 100%),
        linear-gradient(90deg, rgba(250, 0, 80, .18) 0%, transparent 42%);
}

.hy-resto-cover__back {
    position: absolute;
    z-index: 3;
    top: 1rem;
    left: max(1rem, calc(50% - 590px));
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255, 255, 255, .94);
    color: #1a0a12 !important;
    text-decoration: none;
    font-weight: 800;
    font-size: .84rem;
    padding: .48rem .9rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(26, 10, 18, .18);
    backdrop-filter: blur(8px);
}

.hy-resto-cover__back:hover {
    background: #fff;
    color: #fa0050 !important;
}

.hy-resto-cover__tools {
    position: absolute;
    z-index: 3;
    top: 1rem;
    right: max(1rem, calc(50% - 590px));
    display: flex;
    align-items: center;
    gap: .45rem;
}

.hy-resto-cover__closed {
    background: #1a0a12;
    color: #fff;
    font-weight: 800;
    font-size: .78rem;
    padding: .4rem .75rem;
    border-radius: 999px;
}

.hy-resto-tool {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    color: #fa0050;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(26, 10, 18, .16);
    text-decoration: none !important;
}

.hy-resto-tool:hover,
.hy-resto-tool.is-on {
    background: #fa0050;
    color: #fff;
}

.hy-resto-tool svg {
    width: 18px;
    height: 18px;
}

.hy-resto-cover__brand {
    position: absolute;
    z-index: 2;
    left: max(1rem, calc(50% - 590px));
    bottom: 5.6rem;
    color: #fff;
}

.hy-resto-kicker {
    display: inline-block;
    background: rgba(250, 0, 80, .92);
    color: #fff;
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: .28rem .7rem;
    margin-bottom: .45rem;
}

.hy-resto-cover__brand p {
    margin: .35rem 0 0;
    font-weight: 700;
    font-size: .88rem;
    color: rgba(255, 255, 255, .88);
}

.hy-resto-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: -88px auto 0;
    position: relative;
    z-index: 4;
}

.hy-resto-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #f0e4e8;
    box-shadow: 0 18px 50px rgba(26, 10, 18, .12);
    padding: 1.2rem 1.4rem 1.3rem;
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 1rem 1.2rem;
    align-items: start;
}

.hy-resto-logo {
    width: 112px;
    height: 112px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 4px solid #fff;
    outline: 2px solid #fa0050;
    box-shadow: 0 12px 28px rgba(250, 0, 80, .18);
    margin-top: -52px;
}

.hy-resto-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.hy-resto-card__main {
    min-width: 0;
}

.hy-resto-card__main h1 {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    letter-spacing: -.04em;
    margin: 0 0 .3rem;
    color: #1a0a12 !important;
    line-height: 1.12;
}

.hy-resto-card__meta {
    margin: 0 0 .85rem;
    color: #6b5a62;
    font-size: .92rem;
    line-height: 1.4;
}

.hy-resto-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
    margin: 0 0 .75rem;
}

.hy-resto-stat {
    background: #fff7fa;
    border: 1px solid #f3e4ea;
    border-radius: 16px;
    padding: .65rem .7rem .6rem;
}

.hy-resto-stat span {
    display: block;
    color: #8a7a82;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

.hy-resto-stat strong {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: #1a0a12;
    font-size: .95rem;
    font-weight: 800;
}

.hy-resto-stat svg {
    width: 13px;
    height: 13px;
    fill: #fa0050;
}

.hy-resto-stat em {
    font-style: normal;
    color: #8a7a82;
    font-weight: 700;
    font-size: .78rem;
}

.hy-resto-card__row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .55rem;
    align-items: center;
}

.hy-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #f7f2f4;
    border-radius: 999px;
    padding: .28rem .7rem;
    font-size: .82rem;
    font-weight: 700;
    color: #1a0a12;
}

.hy-pill--rate {
    background: #fff0f5;
    color: #fa0050;
}

.hy-pill--ok {
    background: #e8f8ef;
    color: #1f9d55;
}

.hy-pill--off {
    background: #f3f3f3;
    color: #888;
}

.hy-resto-card__desc {
    margin: .75rem 0 0;
    color: #5c4a52;
    font-size: .94rem;
    line-height: 1.5;
    max-width: 68ch;
}

.hy-resto-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .7rem;
}

.hy-resto-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .9rem;
}

.hy-resto-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: #fff0f5;
    color: #fa0050 !important;
    font-weight: 800;
    font-size: .82rem;
    text-decoration: none !important;
}

.hy-resto-act:hover {
    background: #fa0050;
    color: #fff !important;
}

.hy-resto-act--wa {
    background: #e9f8ef;
    color: #128c4a !important;
}

.hy-resto-act--wa:hover {
    background: #128c4a;
    color: #fff !important;
}

.hy-resto-fav {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid #ececec;
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fa0050;
}

.hy-resto-fav svg {
    width: 20px;
    height: 20px;
}

.hy-resto-layout {
    width: min(1180px, calc(100% - 2rem));
    margin: 1.25rem auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
    align-items: start;
}

.hy-resto-cats {
    position: sticky;
    top: var(--hy-header-h, 72px);
    z-index: 40;
    background: rgba(247, 244, 245, .92);
    backdrop-filter: blur(10px);
    margin: 0 -0.15rem;
    padding: .55rem 0 .5rem;
}

.hy-resto-cats__scroller {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: .15rem;
}

.hy-resto-cats__scroller::-webkit-scrollbar {
    display: none;
}

.hy-resto-cat {
    flex: 0 0 auto;
    border: 1px solid #eadfe4;
    background: #fff;
    color: #1a0a12 !important;
    text-decoration: none;
    font-weight: 800;
    font-size: .86rem;
    padding: .48rem .95rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(26, 10, 18, .04);
}

.hy-resto-cat.is-active,
.hy-resto-cat:hover {
    background: #fa0050;
    border-color: #fa0050;
    color: #fff !important;
}

.hy-resto-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    background: #fff;
    border: 1px solid #eadfe4;
    border-radius: 16px;
    padding: .78rem 1rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 8px 22px rgba(26, 10, 18, .04);
}

.hy-resto-search svg {
    flex-shrink: 0;
    color: #fa0050;
}

.hy-resto-search input {
    border: 0;
    outline: 0;
    width: 100%;
    font: inherit;
    font-size: .95rem;
    background: transparent;
    color: #1a0a12;
}

.hy-resto-section {
    scroll-margin-top: calc(var(--hy-header-h, 72px) + 64px);
    margin-bottom: 1.1rem;
    background: #fff;
    border: 1px solid #f0e4e8;
    border-radius: 22px;
    padding: 1rem .95rem .45rem;
    box-shadow: 0 10px 28px rgba(26, 10, 18, .05);
}

.hy-resto-section h2 {
    font-family: "Syne", sans-serif;
    font-size: 1.18rem;
    letter-spacing: -.02em;
    margin: 0 0 .7rem;
    padding: 0 0 .55rem;
    color: #1a0a12 !important;
    display: flex;
    align-items: baseline;
    gap: .6rem;
    border-bottom: 2px solid #fa0050;
}

.hy-resto-section h2 small {
    margin-left: auto;
    color: #8a7a82;
    font-size: .74rem;
    font-weight: 800;
    font-family: Manrope, sans-serif;
}

.hy-dish {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: .9rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #f3eaee;
    border-radius: 0;
    padding: .85rem .15rem;
    margin-bottom: 0;
    transition: background .2s ease;
}

.hy-dish:last-of-type {
    border-bottom: 0;
}

.hy-dish:hover {
    background: #fff8fa;
    box-shadow: none;
    transform: none;
    border-color: #f3eaee;
}

.hy-dish.is-hidden {
    display: none;
}

.hy-dish__name {
    margin: 0 0 .25rem;
    font-family: "Syne", sans-serif;
    font-size: 1.05rem;
    letter-spacing: -.02em;
    color: #1a0a12 !important;
}

.hy-dish__desc {
    margin: 0;
    color: #6b5a62;
    font-size: .86rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hy-dish__price {
    margin: .55rem 0 0;
    font-weight: 800;
    color: #fa0050;
    font-size: 1.05rem;
}

.hy-dish__price s {
    color: #999;
    font-weight: 600;
    margin-right: .35rem;
    font-size: .88rem;
}

.hy-dish__offer {
    display: inline-block;
    margin-left: .35rem;
    background: #fff0f5;
    color: #fa0050;
    font-size: .72rem;
    font-weight: 800;
    padding: .12rem .4rem;
    border-radius: 6px;
    vertical-align: middle;
}

.hy-dish__media {
    position: relative;
    width: 132px;
    height: 132px;
}

.hy-dish__img {
    width: 132px;
    height: 132px;
    border-radius: 18px;
    overflow: hidden;
    background: #f7f2f4;
    box-shadow: 0 10px 22px rgba(26, 10, 18, .1);
}

.hy-dish__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.hy-dish:hover .hy-dish__img img {
    transform: scale(1.06);
}

.hy-resto-side {
    position: sticky;
    top: calc(var(--hy-header-h, 72px) + 12px);
}

.hy-side-box {
    background: #fff;
    border: 1px solid #f0e4e8;
    border-radius: 18px;
    padding: 1.05rem 1.1rem;
    margin-bottom: .75rem;
    box-shadow: 0 8px 22px rgba(26, 10, 18, .04);
}

.hy-side-box h3 {
    font-family: "Syne", sans-serif;
    font-size: 1rem;
    margin: 0 0 .75rem;
    color: #1a0a12 !important;
}

.hy-side-row {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    font-size: .9rem;
    padding: .4rem 0;
    border-bottom: 1px solid #f3eaee;
}

.hy-side-row:last-of-type {
    border-bottom: 0;
}

.hy-side-row span {
    color: #6b5a62;
}

.hy-side-row strong {
    color: #1a0a12;
    font-weight: 800;
    text-align: right;
}

.hy-side-tz {
    margin: .65rem 0 0;
    font-size: .78rem;
    color: #8a7a82;
    font-weight: 600;
}

.hy-side-addr {
    margin: 0;
    color: #5c4a52;
    font-size: .88rem;
    line-height: 1.5;
}

.hy-side-map {
    display: inline-flex;
    margin-top: .7rem;
    color: #fa0050 !important;
    font-weight: 800;
    font-size: .82rem;
    text-decoration: none !important;
}

.hy-side-hours {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hy-side-hours li {
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    font-size: .84rem;
    padding: .28rem 0;
    color: #6b5a62;
}

.hy-side-hours li.is-today {
    color: #fa0050;
    font-weight: 800;
}

.hy-side-hours strong {
    color: inherit;
    font-weight: 800;
}

.hy-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: .05rem;
}

.hy-stars label {
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
    color: #eadfe4;
}

.hy-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hy-stars label:hover span,
.hy-stars label:hover ~ label span,
.hy-stars input:checked + span,
.hy-stars label:has(input:checked) span,
.hy-stars label:has(input:checked) ~ label span {
    color: #fa0050;
}

.hy-rate-form {
    display: grid;
    gap: .55rem;
}

.hy-rate-form select,
.hy-rate-form input {
    border: 1px solid #eadfe4;
    border-radius: 12px;
    padding: .55rem .7rem;
    font: inherit;
    width: 100%;
    background: #fff;
}

.hy-rate-form button {
    border: 0;
    border-radius: 12px;
    background: #fa0050;
    color: #fff;
    font-weight: 800;
    padding: .7rem;
    cursor: pointer;
}

.hy-rate-form button:hover {
    background: #d40044;
}

.hy-resto-empty,
.hy-resto-none {
    background: #fff;
    border: 1px dashed #eadfe4;
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    color: #6b5a62;
}

.hy-resto-none {
    display: none;
}

.hy-resto-none.is-visible {
    display: block;
}

.hy-dish__closed {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: rgba(26, 10, 18, .82);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    padding: .22rem .45rem;
    border-radius: 8px;
}

.hy-stepper {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: flex;
    align-items: center;
    height: 36px;
    border-radius: 999px;
    background: #fa0050;
    box-shadow: 0 6px 14px rgba(250, 0, 80, .35);
    overflow: hidden;
    z-index: 2;
}

.hy-stepper__btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
}

.hy-stepper__minus,
.hy-stepper__qty {
    display: none;
}

.hy-stepper__qty {
    min-width: 1.15rem;
    color: #fa0050;
    font-weight: 800;
    font-size: .95rem;
    justify-content: center;
}

.hy-stepper.is-on {
    background: #fff;
    border: 1.5px solid #fa0050;
}

.hy-stepper.is-on .hy-stepper__minus,
.hy-stepper.is-on .hy-stepper__qty {
    display: flex;
    align-items: center;
}

.hy-stepper.is-on .hy-stepper__btn {
    color: #fa0050;
}

.hy-stepper.is-busy {
    opacity: .65;
    pointer-events: none;
}

.hy-stepper.is-need {
    animation: hyPulse .7s ease 2;
}

@keyframes hyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.hy-extras {
    margin-top: .65rem;
    background: #fff7fa;
    border: 1px dashed #f3b4c6;
    border-radius: 14px;
    padding: .55rem .65rem .7rem;
}

.hy-extras__label {
    margin: .35rem 0 .3rem;
    font-size: .72rem;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hy-extras__hint {
    margin: 0 0 .35rem;
    font-size: .75rem;
    font-weight: 700;
    color: #fa0050;
}

.hy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.hy-chip {
    border: 1px solid #ececec;
    background: #fff;
    border-radius: 999px;
    padding: .32rem .75rem;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    color: #1a0a12;
}

.hy-chip.is-on,
.hy-chip--check.is-on {
    border-color: #fa0050;
    background: #fff0f5;
    color: #fa0050;
}

.hy-chip--check {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.hy-chip--check input {
    accent-color: #fa0050;
}

.hy-sticky-cart {
    position: fixed;
    z-index: 90;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%) translateY(140%);
    width: min(440px, calc(100% - 1.5rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    background: #fa0050;
    color: #fff !important;
    text-decoration: none !important;
    padding: .9rem 1.1rem;
    border-radius: 18px;
    font-weight: 800;
    box-shadow: 0 16px 40px rgba(250, 0, 80, .38);
    opacity: 0;
    pointer-events: none;
    transition: .22s ease;
}

.hy-sticky-cart.is-on {
    transform: translateX(-50%);
    opacity: 1;
    pointer-events: auto;
}

.hy-sticky-cart__bag {
    background: rgba(255, 255, 255, .22);
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}

.hy-sticky-cart strong {
    color: #fff;
}

@media (max-width: 960px) {
    .hy-resto-layout {
        grid-template-columns: 1fr;
    }

    .hy-resto-side {
        position: static;
    }

    .hy-side-box--stats {
        display: none;
    }

    .hy-resto-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hy-resto-card {
        grid-template-columns: 88px 1fr;
    }

    .hy-resto-logo {
        width: 88px;
        height: 88px;
        margin-top: -36px;
        border-radius: 20px;
    }

    .hy-resto-cover__brand {
        bottom: 4.6rem;
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 640px) {
    .hy-resto-shell {
        margin-top: -56px;
        width: calc(100% - 1.2rem);
    }

    .hy-resto-layout {
        width: calc(100% - 1.2rem);
    }

    .hy-resto-card {
        grid-template-columns: 72px 1fr;
        padding: 1rem;
    }

    .hy-resto-cover__back {
        left: .8rem;
        max-width: calc(100% - 8.5rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hy-resto-cover__tools {
        right: .8rem;
    }

    .hy-dish {
        grid-template-columns: minmax(0, 1fr) 96px;
        padding: .75rem 0;
    }

    .hy-dish__media,
    .hy-dish__img {
        width: 96px;
        height: 96px;
    }

    .hy-resto-cover {
        height: 240px;
    }
}
