:root {
    --hy-pink: #fa0050;
    --hy-pink-dark: #d40044;
    --hy-ink: #1a1a1a;
    --hy-muted: #5c5c5c;
    --hy-line: #ececec;
    --hy-surface: #f7f7f7;
    --hy-white: #ffffff;
    --hy-radius: 14px;
    --hy-font-display: "Syne", sans-serif;
    --hy-font-body: "Manrope", sans-serif;
}

.hy-marketplace {
    font-family: var(--hy-font-body);
    color: var(--hy-ink);
    background: var(--hy-white);
}

.hy-marketplace * {
    box-sizing: border-box;
}

/* ===== HERO ===== */
.hy-hero {
    position: relative;
    min-height: min(78vh, 640px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--hy-white);
}

.hy-hero__media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.72) 70%, rgba(10, 10, 10, 0.88) 100%),
        url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1600&q=80") center/cover no-repeat;
    transform: scale(1.04);
    animation: hyHeroZoom 12s ease-out forwards;
}

.hy-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 3.5rem;
    animation: hyRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hy-brand {
    display: inline-block;
    font-family: var(--hy-font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin: 0 0 0.85rem;
    color: #fff !important;
}

.hy-brand span {
    color: var(--hy-pink) !important;
}

.hy-hero__title {
    font-family: var(--hy-font-display);
    font-weight: 700;
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    max-width: 18ch;
    margin: 0 0 0.6rem;
    color: #fff !important;
}

.hy-hero__text {
    max-width: 36ch;
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88) !important;
}

.hy-search {
    display: flex;
    width: min(100%, 560px);
    background: var(--hy-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hy-search__input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 1rem 1.15rem;
    font: inherit;
    font-size: 0.98rem;
    color: var(--hy-ink);
}

.hy-search__input::placeholder {
    color: #8a8a8a;
}

.hy-search__btn {
    border: 0;
    background: var(--hy-pink);
    color: #fff;
    font-family: var(--hy-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0 1.35rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hy-search__btn:hover {
    background: var(--hy-pink-dark);
}

.hy-hero__all {
    display: inline-block;
    margin-top: 1rem;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--hy-pink);
    padding-bottom: 0.15rem;
}

.hy-hero__all:hover {
    color: var(--hy-pink) !important;
}

/* ===== SECTION ===== */
.hy-section {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.75rem 0 3.5rem;
}

.hy-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.hy-section__title {
    font-family: var(--hy-font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
}

.hy-section__sub {
    margin: 0.25rem 0 0;
    color: var(--hy-muted);
    font-size: 0.95rem;
}

.hy-sort__select {
    border: 1px solid var(--hy-line);
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    font: inherit;
    font-weight: 600;
    background: #fff;
    color: var(--hy-ink);
    cursor: pointer;
}

.hy-status-filters {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hy-status {
    text-decoration: none;
    color: var(--hy-ink);
    border: 1px solid var(--hy-line);
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    font-size: 0.88rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hy-status:hover {
    border-color: var(--hy-pink);
    color: var(--hy-pink);
}

.hy-status.is-active {
    background: var(--hy-pink);
    border-color: var(--hy-pink);
    color: #fff;
}

/* ===== CUISINE FILTER ===== */
.hy-cuisines {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-bottom: 1.75rem;
    scrollbar-width: thin;
}

.hy-cuisine {
    flex: 0 0 auto;
    border: 1px solid var(--hy-line);
    background: var(--hy-white);
    color: var(--hy-ink);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hy-cuisine:hover {
    border-color: var(--hy-pink);
    color: var(--hy-pink);
    transform: translateY(-1px);
}

.hy-cuisine.is-active {
    background: var(--hy-pink);
    border-color: var(--hy-pink);
    color: #fff;
}

/* ===== RESTAURANT GRID ===== */
.hy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.hy-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--hy-white);
    border: 1px solid var(--hy-line);
    border-radius: var(--hy-radius);
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.28s ease;
    animation: hyRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hy-card:nth-child(1) { animation-delay: 0.05s; }
.hy-card:nth-child(2) { animation-delay: 0.1s; }
.hy-card:nth-child(3) { animation-delay: 0.15s; }
.hy-card:nth-child(4) { animation-delay: 0.2s; }
.hy-card:nth-child(5) { animation-delay: 0.25s; }
.hy-card:nth-child(6) { animation-delay: 0.3s; }
.hy-card:nth-child(7) { animation-delay: 0.35s; }
.hy-card:nth-child(8) { animation-delay: 0.4s; }

.hy-card:hover {
    transform: translateY(-4px);
    border-color: #f3b4c6;
    box-shadow: 0 12px 28px rgba(250, 0, 80, 0.08);
}

.hy-card.is-closed {
    opacity: 0.72;
}

.hy-card__cover {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--hy-surface);
    overflow: hidden;
}

.hy-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.hy-card:hover .hy-card__cover img {
    transform: scale(1.05);
}

.hy-card__closed {
    position: absolute;
    inset: auto 0.75rem 0.75rem auto;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
}

.hy-card__open {
    position: absolute;
    inset: auto 0.75rem 0.75rem auto;
    background: rgba(10, 122, 60, 0.92);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
}

.hy-card__badge-pickup {
    position: absolute;
    inset: 0.75rem auto auto 0.75rem;
    background: #fa0050;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.hy-card__body {
    padding: 0.95rem 1rem 1.1rem;
    display: grid;
    gap: 0.35rem;
}

.hy-card__top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.75rem;
}

.hy-card__name {
    font-family: var(--hy-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.hy-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
}

.hy-card__rating svg {
    width: 14px;
    height: 14px;
    fill: var(--hy-pink);
}

.hy-card__meta {
    color: var(--hy-muted);
    font-size: 0.88rem;
    margin: 0;
}

.hy-card__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    margin-top: 0.35rem;
    font-size: 0.84rem;
    color: var(--hy-muted);
}

.hy-card__foot strong {
    color: var(--hy-ink);
    font-weight: 700;
}

.hy-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--hy-muted);
    border: 1px dashed var(--hy-line);
    border-radius: var(--hy-radius);
}

@keyframes hyHeroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@keyframes hyRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hy-hero {
        min-height: 68vh;
    }

    .hy-hero__inner {
        padding-bottom: 2.25rem;
    }

    .hy-search {
        flex-direction: column;
    }

    .hy-search__btn {
        padding: 0.9rem 1rem;
    }

    .hy-grid {
        grid-template-columns: 1fr;
    }

    .hy-section__head {
        flex-direction: column;
        align-items: start;
    }
}

/* ===== YS-STYLE TOP ===== */
.hy-top {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--hy-line);
    font-family: var(--hy-font-body);
}

.hy-top__promo {
    background: var(--hy-pink);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.hy-top__promo a {
    color: #fff !important;
    text-decoration: underline;
    font-weight: 800;
}

.hy-top__inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 64px;
}

.hy-top__inner--sub {
    min-height: 56px;
    gap: 1.25rem;
}

.hy-logo {
    font-family: var(--hy-font-display);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
    color: var(--hy-ink) !important;
    text-decoration: none;
    white-space: nowrap;
}

.hy-logo span { color: var(--hy-pink); }

.hy-address {
    flex: 1;
    max-width: 320px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--hy-line);
    background: #fff;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    color: var(--hy-ink);
    text-align: left;
}

.hy-address__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hy-top__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.hy-link {
    color: var(--hy-ink) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}

.hy-cta {
    background: var(--hy-pink);
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
}

.hy-cart {
    position: relative;
    color: var(--hy-ink) !important;
    display: inline-flex;
    padding: 0.35rem;
}

.hy-cart__badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--hy-pink);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: grid;
    place-items: center;
}

.hy-top__sub {
    border-top: 1px solid var(--hy-line);
}

.hy-tabs {
    display: flex;
    gap: 0.35rem;
}

.hy-tab {
    text-decoration: none;
    color: var(--hy-muted) !important;
    font-weight: 800;
    padding: 0.7rem 0.55rem;
    border-bottom: 3px solid transparent;
}

.hy-tab.is-active {
    color: var(--hy-pink) !important;
    border-bottom-color: var(--hy-pink);
}

.hy-top-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--hy-surface);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    color: var(--hy-muted);
}

.hy-top-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font: inherit;
    color: var(--hy-ink);
}

/* ===== BANNER ===== */
.hy-banner {
    background:
        radial-gradient(ellipse 70% 120% at 100% 0%, rgba(250, 0, 80, 0.16), transparent 55%),
        linear-gradient(105deg, #fff8fa 0%, #ffffff 48%, #fff5f8 100%);
    border-bottom: 1px solid #f0e4e8;
}

.hy-banner__inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.85rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.hy-banner__inner > div {
    min-width: 0;
    flex: 1;
}

.hy-banner__eyebrow {
    margin: 0;
    color: #fa0050 !important;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.hy-banner__title {
    margin: 0.35rem 0 0.4rem;
    font-family: var(--hy-font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    letter-spacing: -0.03em;
    color: #1a0a12 !important;
    line-height: 1.2;
}

.hy-banner__text {
    margin: 0;
    color: #5a4a52 !important;
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 42rem;
}

.hy-banner__btn {
    background: #fa0050;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(250, 0, 80, 0.22);
    transition: background 0.15s ease, transform 0.15s ease;
}

.hy-banner__btn:hover {
    background: #d40045;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Gel Al: aynı okunabilirlik, hafif koyu pembe vurgu */
.hy-banner--pickup {
    background:
        radial-gradient(ellipse 65% 110% at 0% 50%, rgba(250, 0, 80, 0.14), transparent 50%),
        linear-gradient(105deg, #1a0a12 0%, #3a1220 55%, #5a1830 100%) !important;
    border-bottom-color: #3a1220;
}

.hy-banner--pickup .hy-banner__eyebrow {
    color: #ff8aab !important;
}

.hy-banner--pickup .hy-banner__title {
    color: #ffffff !important;
}

.hy-banner--pickup .hy-banner__text {
    color: rgba(255, 255, 255, 0.88) !important;
}

.hy-banner--pickup .hy-banner__btn {
    background: #fff;
    color: #fa0050 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hy-banner--pickup .hy-banner__btn:hover {
    background: #fff3f7;
    color: #d40045 !important;
}

/* ===== LISTING + SIDEBAR ===== */
.hy-listing {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.5rem 0 3.5rem;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.hy-filters {
    position: sticky;
    top: 140px;
    border: 1px solid var(--hy-line);
    border-radius: 14px;
    padding: 1.1rem 1rem 1rem;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.hy-filters__title {
    margin: 0 0 1rem;
    font-family: var(--hy-font-display);
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hy-filters__block {
    margin-bottom: 1.15rem;
    padding-bottom: 1.05rem;
    border-bottom: 1px solid var(--hy-line);
}

.hy-filters__block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.hy-filters__block h3 {
    margin: 0 0 0.7rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.hy-sort-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hy-sort-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
    width: 100%;
}

.hy-sort-item:hover {
    background: #fafafa;
}

.hy-sort-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
}

.hy-sort-item__ui {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #cfcfcf;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #fff;
}

.hy-sort-item__ui::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
}

.hy-sort-item input:checked + .hy-sort-item__ui {
    border-color: var(--hy-pink);
}

.hy-sort-item input:checked + .hy-sort-item__ui::after {
    background: var(--hy-pink);
}

.hy-sort-item input:checked ~ .hy-sort-item__label {
    color: var(--hy-ink);
    font-weight: 800;
}

.hy-sort-item__label {
    flex: 1;
    font-size: 0.94rem;
    font-weight: 600;
    color: #333;
    line-height: 1.25;
}

.hy-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.hy-chip {
    display: inline-flex;
    align-items: center;
    margin: 0;
    text-decoration: none;
    color: var(--hy-ink) !important;
    border: 1px solid var(--hy-line);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    background: #fff;
    line-height: 1.2;
}

.hy-chip.is-active {
    background: var(--hy-pink);
    border-color: var(--hy-pink);
    color: #fff !important;
}

.hy-cuisines--stack {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow: visible;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hy-cuisines--stack .hy-cuisine {
    width: 100%;
    text-align: left;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
}

/* legacy class kept harmless */
.hy-radio { display: none; }

/* ===== MODAL ===== */
.hy-modal[hidden] { display: none !important; }
.hy-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
}
.hy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.hy-modal__panel {
    position: relative;
    z-index: 1;
    width: min(420px, calc(100% - 2rem));
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
}
.hy-modal__panel h2 {
    margin: 0 0 0.35rem;
    font-family: var(--hy-font-display);
    font-size: 1.3rem;
}
.hy-modal__panel p {
    margin: 0 0 0.85rem;
    color: var(--hy-muted);
    font-size: 0.92rem;
}
.hy-modal__input {
    width: 100%;
    border: 1px solid var(--hy-line);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    margin-bottom: 0.85rem;
}
.hy-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
.hy-modal__cancel,
.hy-modal__save {
    border: 0;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    font-weight: 800;
    cursor: pointer;
}
.hy-modal__cancel { background: #f3f3f3; }
.hy-modal__save { background: var(--hy-pink); color: #fff; }

/* ===== STICKY REGISTER ===== */
.hy-sticky-reg {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background: #111;
    color: #fff;
}
.hy-sticky-reg__inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.85rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hy-sticky-reg__inner p {
    margin: 0;
    flex: 1;
    font-size: 0.92rem;
}
.hy-sticky-reg__close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 992px) {
    .hy-listing {
        grid-template-columns: 1fr;
    }
    .hy-filters {
        position: static;
    }
    .hy-address {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .hy-top__promo { display: none; }
    .hy-top__inner {
        flex-wrap: wrap;
        min-height: auto;
        padding: 0.65rem 0;
    }
    .hy-logo { order: 1; }
    .hy-top__actions { order: 2; margin-left: auto; }
    .hy-address { order: 3; flex: 1 1 100%; max-width: none; }
    .hy-top__inner--sub { flex-wrap: wrap; }
    .hy-top-search { flex: 1 1 100%; }
    .hy-banner__inner { flex-direction: column; align-items: flex-start; }
    .hy-cta { display: none; }
    body.hy-marketplace-page { padding-bottom: 72px; }
}
