/* Sipariş Kapında — örnek renk ve yerleşim (turuncu / petrol turkuazı) */

:root {
    --color-orange: #ff6b00;
    --color-teal: #207d88;
    --color-teal-dark: #155a62;
    --color-bg: #f9f7f4;
    --color-bg-section: #f3f0eb;
    --color-text: #1a1a1a;
    --color-muted: #5c5c5c;
    --color-footer: #1e1e1e;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --container: min(1120px, 100% - 2rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.page {
    margin: 0;
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
}

a {
    color: var(--color-teal);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-orange {
    color: var(--color-orange);
}

.text-teal {
    color: var(--color-teal);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(249, 247, 244, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

.site-header__inner--grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.logo__img {
    display: block;
    height: clamp(38px, 5.2vw, 52px);
    width: auto;
    max-width: min(100%, 300px);
    object-fit: contain;
}

.nav--desktop {
    display: none;
    gap: 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav--desktop a {
    color: var(--color-text);
    text-decoration: none;
}

.nav--desktop a:hover {
    color: var(--color-teal);
}

.nav--desktop a.is-active {
    color: var(--color-orange);
}

.mobile-nav__inner a.is-active {
    color: var(--color-orange);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.nav-toggle span:not(.visually-hidden) {
    display: block;
    height: 2px;
    width: 20px;
    background: var(--color-text);
    margin-inline: auto;
}

.mobile-nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.mobile-nav__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0 1.25rem;
    font-weight: 600;
}

.mobile-nav__inner a {
    color: var(--color-text);
    text-decoration: none;
}

.mobile-nav__cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 900px) {
    /* Logo | (kalan tüm boşluk) | butonlar — menü sadece ortadaki 1fr alanda ortalanır */
    .site-header__inner--grid {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
    }

    .site-header__inner--grid .logo {
        justify-self: start;
    }

    .site-header__inner--grid .nav--desktop {
        display: flex;
        justify-content: center;
        justify-self: center;
        width: 100%;
        min-width: 0;
    }

    .site-header__inner--grid .site-header__actions {
        justify-self: end;
    }

    .nav-toggle {
        display: none;
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.15;
    text-align: center;
}

.btn:hover {
    text-decoration: none;
}

.btn--sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    line-height: 1.15;
}

.btn--primary {
    background: var(--color-orange);
    color: #fff;
}

.btn--primary:hover {
    filter: brightness(0.96);
}

.btn--secondary {
    background: var(--color-teal);
    color: #fff;
}

.btn--secondary:hover {
    filter: brightness(0.96);
}

.btn--block {
    width: 100%;
}

/* Hero — tam genişlik arka plan fotoğrafı; sol ortada başlık + araç kutusu (perde ile okunurluk) */

.hero--scene {
    position: relative;
    isolation: isolate;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(2rem, 5vw, 3.25rem) 0;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s ease-in-out;
    pointer-events: none;
}

.hero__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero__slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide {
        transition: none;
    }
}

.hero__bg-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(255, 250, 243, 0.97) 0%,
        rgba(255, 250, 243, 0.88) 28%,
        rgba(255, 250, 243, 0.5) 46%,
        rgba(255, 250, 243, 0.12) 65%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.hero__slider-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease,
        opacity 0.35s ease;
}

.hero__slider-nav:hover {
    background: rgba(0, 0, 0, 0.32);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.22);
}

.hero__slider-nav:active {
    transform: translateY(-50%) scale(0.98);
}

.hero__slider-nav:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

.hero__slider-nav--prev {
    left: clamp(0.5rem, 2.5vw, 1.25rem);
}

.hero__slider-nav--next {
    right: clamp(0.5rem, 2.5vw, 1.25rem);
}

.hero__slider-nav-icon {
    display: flex;
    line-height: 0;
    opacity: 0.92;
    transition: opacity 0.3s ease;
}

.hero__slider-nav:hover .hero__slider-nav-icon {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero__slider-nav {
        transition: none;
    }
}

.hero__slider-ui {
    position: absolute;
    right: clamp(0.75rem, 3vw, 1.25rem);
    bottom: clamp(0.75rem, 3vw, 1.25rem);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.hero__slider-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero__slider-dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
    transition: transform 0.2s ease, background 0.2s ease;
    pointer-events: auto;
}

.hero__slider-dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

.hero__slider-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}


.hero__layout {
    position: relative;
    z-index: 2;
    display: block;
}

.hero__copy {
    max-width: min(560px, 100%);
}

.hero__title {
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    line-height: 1.12;
    margin: 0 0 0.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero__title-mid {
    font-weight: 800;
    color: var(--color-text);
}

.hero__lead {
    margin: 0 0 1.25rem;
    color: var(--color-muted);
    font-size: 1.08rem;
    max-width: 42ch;
}

.hero__panel {
    background: #fff;
    border-radius: 18px;
    padding: 0.5rem 0.55rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero__panel .search-row {
    box-shadow: none;
    background: transparent;
    padding: 0.35rem 0.25rem;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
    background: #fff;
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: var(--shadow);
}

.search-row__icon {
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    color: var(--color-muted);
}

.search-row__input {
    flex: 1 1 200px;
    border: none;
    font-size: 1rem;
    padding: 0.65rem 0.5rem;
    min-width: 0;
    background: transparent;
}

.search-row__input:focus {
    outline: 2px solid rgba(32, 125, 136, 0.35);
    outline-offset: 2px;
    border-radius: 8px;
}

@media (max-width: 899px) {
    .hero--scene {
        min-height: min(72vh, 580px);
        padding: clamp(1.75rem, 5vw, 2.5rem) 0;
    }

    .hero__bg-scrim {
        background: linear-gradient(
            180deg,
            rgba(255, 250, 243, 0.96) 0%,
            rgba(255, 250, 243, 0.85) 45%,
            rgba(255, 250, 243, 0.55) 100%
        );
    }
}

/* Categories */

.section {
    padding: 2.25rem 0;
}

.section--categories {
    padding-top: 0.5rem;
    margin-top: -2.25rem;
    position: relative;
    z-index: 4;
}

.section__about-link-wrap {
    margin: 0 0 0.85rem;
    text-align: center;
    font-size: 0.95rem;
}

.section__about-link {
    font-weight: 600;
}

.section--muted {
    background: var(--color-bg-section);
}

.section__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.category-bar-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 1rem 0.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

@media (min-width: 700px) {
    .category-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

.cat-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    justify-items: stretch;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--color-bg-section);
    /* Daha yüksek kart = cover ile üst/alt kırpma azalır (oval/banner görseller için) */
    height: clamp(7.75rem, 15vw, 10rem);
    text-decoration: none;
    color: inherit;
}

.cat-card:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cat-card:focus-visible {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
}

.cat-card__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    justify-self: stretch;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    /* Kırpma hizası: yatay + dikey orta (üstte boş PNG alanı varsa o da ortaya göre kırpılır) */
    object-position: center center;
}

/* Campaigns */

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 900px) {
    .campaign-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.campaign {
    position: relative;
    border-radius: var(--radius);
    padding: 0;
    min-height: 148px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.campaign__copy {
    position: relative;
    z-index: 2;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.campaign__visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.95;
}

.campaign__visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.campaign__title {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 800;
}

.campaign__hint {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.95;
}

.campaign--orange {
    background: linear-gradient(135deg, #ff6b00, #ff8a3d);
}

.campaign--teal {
    background: linear-gradient(135deg, var(--color-teal), #2a9daa);
}

.campaign--deep {
    background: linear-gradient(135deg, #e85d00, #ff6b00);
}

.campaign--dark {
    background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal));
}

/* İş ortaklarımız */

.partners__lead {
    margin: 0 0 1.35rem;
    color: var(--color-muted);
    font-size: 1.02rem;
    max-width: 42ch;
}

.partners-marquee__viewport {
    overflow: hidden;
    width: 100%;
    margin: 0 -0.25rem;
}

.partners-marquee__track {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    will-change: transform;
    animation: partners-marquee 105s linear infinite;
}

.partners-marquee:hover .partners-marquee__track {
    animation-play-state: paused;
}

.partners-marquee__list {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.5rem;
    margin: 0;
    padding: 0 0.25rem;
    list-style: none;
}

.partners-marquee__item {
    flex: 0 0 auto;
}

@keyframes partners-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Sabit kutu: tüm logolar aynı alan içinde, oran korunur (object-fit: contain) */
.partners-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 9rem;
    height: 6.25rem;
    padding: 0.4rem;
    background: transparent;
}

.partners-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 640px) {
    .partners-logo {
        width: 7.5rem;
        height: 5.25rem;
        padding: 0.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee__track {
        animation: none;
    }
}

/* Popüler ürünler — sabit grid (4×2 masaüstü) */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
}

@media (min-width: 700px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.product-card__title {
    margin: 0;
    padding: 0.85rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
}

/* App CTA */

.app-cta {
    background: #fff;
}

.app-cta__inner {
    display: grid;
    gap: 1.5rem 2rem;
    align-items: start;
}

.app-cta__lead {
    color: var(--color-muted);
    margin: 0 0 1rem;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.store-badge--apple {
    background: #111;
}

.store-badge--google {
    background: #1a73e8;
}

.app-cta__pair {
    display: grid;
    grid-template-columns: auto minmax(16rem, 1.5fr) auto;
    align-items: stretch;
    gap: 1rem 1.25rem;
    width: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    overflow: visible;
}

.app-cta__whatsapp-cell {
    justify-self: start;
    align-self: center;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
}

.app-cta__whatsapp-link {
    display: block;
    width: auto;
    max-width: min(100%, 22rem);
    line-height: 0;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}

.app-cta__whatsapp-img {
    display: block;
    width: auto;
    max-width: min(100%, 22rem);
    height: auto;
    object-fit: contain;
    background: transparent;
}

.app-cta__badges-cell {
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.app-cta__badges-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.app-cta__qr {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
}

.app-cta__qr-img {
    display: block;
    box-sizing: border-box;
    width: auto;
    height: calc(100% - 1.45rem);
    max-height: calc(100% - 1.45rem);
    max-width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    flex-shrink: 1;
}

/*
 * --app-cta-pair-h: app.js (sol sütun yüksekliği).
 * Güvenli ödeme: taşmayı kesme (overflow:hidden kaldırıldı); contain ile tam görsel.
 */
@media (min-width: 900px) {
    .app-cta__pair--synced .app-cta__badges-cell {
        overflow: visible;
        justify-content: center;
    }

    .app-cta__pair--synced .app-cta__badges-img {
        max-width: 100%;
        max-height: calc(var(--app-cta-pair-h) - 1.45rem);
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .app-cta__pair--synced .app-cta__qr-img {
        width: calc(var(--app-cta-pair-h) - 1.45rem);
        height: calc(var(--app-cta-pair-h) - 1.45rem);
        max-width: calc(var(--app-cta-pair-h) - 1.45rem);
        max-height: calc(var(--app-cta-pair-h) - 1.45rem);
        aspect-ratio: 1;
        object-fit: contain;
    }
}

.app-cta__qr-hint {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-muted);
    line-height: 1.2;
}

@media (min-width: 900px) {
    .app-cta__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 640px) {
    .app-cta__pair {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0.65rem 0.75rem;
    }

    .app-cta__whatsapp-cell {
        flex: 1 1 100%;
        justify-content: center;
        justify-self: auto;
    }

    .app-cta__whatsapp-link {
        max-width: min(100%, 20rem);
    }

    .app-cta__whatsapp-img {
        max-width: min(100%, 20rem);
    }

    .app-cta__badges-cell {
        flex: 1 1 min(100%, 20rem);
    }

    .app-cta__badges-img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .app-cta__qr-img {
        height: auto;
        max-width: min(112px, 34vw);
        max-height: min(112px, 34vw);
    }
}

/* Footer */

.site-footer {
    background: var(--color-footer);
    color: #e8e8e8;
    padding: 2.5rem 0 1rem;
    margin-top: 2rem;
}

.site-footer a {
    color: #e8e8e8;
}

.site-footer__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .site-footer__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.site-footer__brand {
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.site-footer__muted {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.92rem;
}

.site-footer__title {
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #b0b0b0;
}

.social {
    display: flex;
    gap: 0.5rem;
}

.social__link {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    font-weight: 800;
    text-decoration: none;
}

/* Modal */

.modal-root[hidden] {
    display: none !important;
}

.modal-root {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.modal {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal__close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: #f2f2f2;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.modal__title {
    margin: 0 2rem 0.5rem 0;
    font-size: 1.2rem;
}

.modal__body {
    color: var(--color-muted);
}

body.modal-open {
    overflow: hidden;
}

/* Yasal / uzun metin sayfaları */

.legal-page {
    padding: 2.25rem 0 3.5rem;
    background: var(--color-bg);
}

.legal-page__inner {
    max-width: 52rem;
}

.legal-page__header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-page__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text);
}

.legal-page__subtitle {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--color-muted);
    font-weight: 600;
}

.legal-page__meta {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.legal-page__body {
    font-size: 1rem;
    color: var(--color-text);
}

.legal-page__body h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.legal-page__body h3 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.02rem;
    font-weight: 700;
}

.legal-page__body p {
    margin: 0 0 0.85rem;
}

.legal-page__lead {
    font-size: 1.02rem;
    line-height: 1.65;
}

.legal-page__body ul {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
}

.legal-page__body li {
    margin-bottom: 0.35rem;
}

.legal-page__body li::marker {
    color: var(--color-teal);
}

.legal-page__footnote {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    color: var(--color-muted);
}

@media (min-width: 768px) {
    .legal-page {
        padding: 2.75rem 0 4rem;
    }
}

/* İletişim sayfası */

.contact-page {
    padding: 2.25rem 0 3.5rem;
    background: var(--color-bg);
}

.contact-page__inner {
    max-width: 52rem;
}

.contact-page__header {
    margin-bottom: 2rem;
}

.contact-page__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--color-text);
}

.contact-page__lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.contact-page__grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .contact-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-card__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.contact-card__text {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    color: var(--color-muted);
}

.contact-card__action {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    word-break: break-word;
}

.contact-card__address {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.contact-card__sep {
    color: var(--color-muted);
    font-weight: 400;
}

.contact-page__hours {
    padding: 1.25rem 1.35rem;
    background: var(--color-bg-section);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.contact-page__hours-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.contact-page__hours p {
    margin: 0 0 0.35rem;
}

.contact-page__muted {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-muted);
}

@media (min-width: 768px) {
    .contact-page {
        padding: 2.75rem 0 4rem;
    }
}

/* İş ortakları sayfası */

.partners-page {
    padding: 2.25rem 0 3.5rem;
    background: var(--color-bg);
}

.partners-page__inner {
    max-width: 70rem;
}

.partners-page__header {
    margin-bottom: 2rem;
    text-align: center;
}

.partners-page__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--color-text);
}

.partners-page__lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.partners-page__empty {
    margin: 0;
    padding: 2rem 1.25rem;
    text-align: center;
    color: var(--color-muted);
    background: var(--color-bg-section);
    border-radius: var(--radius);
}

.partners-page__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    /* Satırdaki en yüksek karta göre esnemesin; her kart kendi sabit ölçüsünde kalsın */
    align-items: start;
}

@media (min-width: 520px) {
    .partners-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .partners-page__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partners-page__grid > li {
    min-width: 0;
    width: 100%;
}

.partner-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
    .partner-card {
        transition: none;
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .partner-card:hover {
        transform: translateY(-5px);
        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.09),
            0 6px 14px rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.08);
    }
}

.partner-card__media {
    /* flex:1 kaldırıldı: grid satırı uzayınca logo alanı büyümesin, tüm kartlar aynı ebatta kalsın */
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    padding: 1rem 0.9rem;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #faf8f6 100%);
}

.partner-card__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.partner-card__name {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.45rem 0.65rem 0.4rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-teal-dark);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    /* İki satıra kadar; padding ve satır aralığı sıkı tutuldu */
    min-height: calc(0.45rem + 0.4rem + 1.3em * 2 + 0.05em);
    max-height: calc(0.45rem + 0.4rem + 1.3em * 2 + 0.05em);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

@media (min-width: 768px) {
    .partners-page {
        padding: 2.75rem 0 4rem;
    }

    .partners-page__grid {
        gap: 1.5rem;
    }
}

/* Hakkımızda sayfası */

.about-page {
    padding: 2.25rem 0 3.5rem;
    background: var(--color-bg);
}

/* Okuma genişliği: İletişim ile aynı; metin sol hizalı (masaüstü öncelikli düzen) */
.about-page__inner {
    max-width: 52rem;
}

.about-page__header {
    margin-bottom: 2.25rem;
    text-align: left;
}

.about-page__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--color-text);
}

.about-page__lead {
    margin: 0;
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.about-page__p--after-lead {
    margin-top: 1rem;
}

.about-page__block {
    margin-bottom: 1.75rem;
}

.about-page__block--highlight {
    padding: 1.35rem 1.25rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-page__h2 {
    margin: 0 0 0.65rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.about-page__p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-muted);
}

.about-page__list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-muted);
}

.about-page__list li {
    margin-bottom: 0.4rem;
}

.about-page__list strong {
    color: var(--color-text);
    font-weight: 700;
}

.about-page__mission-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-muted);
}

.about-page__mission-list li {
    margin-bottom: 0.5rem;
}

.about-page__mission-list li:last-child {
    margin-bottom: 0;
}

.about-page__list--platform {
    margin-bottom: 1rem;
}

.about-page__list--platform li {
    margin-bottom: 0.85rem;
}

.about-page__list--platform li:last-child {
    margin-bottom: 0;
}

.about-page__list--platform strong {
    display: block;
    margin-bottom: 0.25rem;
}

.about-page__list-desc {
    display: block;
    font-weight: 400;
    color: var(--color-muted);
}

.about-page__note {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.about-page__note a {
    font-weight: 600;
}

.about-page__values {
    margin-bottom: 2rem;
}

.about-page__values-grid {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .about-page__values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-value-card {
    padding: 1.1rem 1.15rem;
    background: var(--color-bg-section);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-value-card__title {
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--color-text);
}

.about-value-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.about-page__legal {
    margin-bottom: 1.75rem;
    padding: 1.35rem 1.25rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px dashed rgba(32, 125, 136, 0.35);
}

.about-page__legal-title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.about-page__dl {
    margin: 0;
}

.about-page__dl-row {
    display: grid;
    grid-template-columns: minmax(5rem, 7.5rem) 1fr;
    gap: 0.5rem 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-page__dl-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-page__dl-row:first-child {
    padding-top: 0;
}

.about-page__dl dt {
    margin: 0;
    font-weight: 700;
    color: var(--color-text);
}

.about-page__dl dd {
    margin: 0;
    color: var(--color-muted);
}

@media (max-width: 480px) {
    .about-page__dl-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}

.about-page__cta {
    text-align: left;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(180deg, rgba(32, 125, 136, 0.08) 0%, rgba(255, 107, 0, 0.05) 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(32, 125, 136, 0.12);
}

.about-page__cta-text {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-text);
}

.about-page__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-start;
    align-items: center;
}

@media (min-width: 768px) {
    .about-page {
        padding: 2.75rem 0 4rem;
    }
}

/* —— Market Kapında sayfası —— */

.page--market {
    background: #f9f7f4;
}

.market-page {
    padding-bottom: 0;
}

.market-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.market-breadcrumb a {
    color: var(--color-teal);
    font-weight: 600;
}

.market-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--color-text);
}

.market-hero__title-accent {
    color: var(--color-orange);
}

.market-hero__lead {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 28rem;
}

.market-hero__search {
    margin: 0 0 1.25rem;
    width: 100%;
    max-width: none;
}

.market-hero__search-btn {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
}

.market-hero__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 520px) {
    .market-hero__features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.market-hero__feature {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text);
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.market-hero__feature-icon {
    display: flex;
    flex-shrink: 0;
}

.market-layout {
    display: grid;
    gap: 1.75rem;
    padding: 2rem 0 2.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    .market-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

.market-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.market-filter {
    padding: 1.1rem 1rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
}

.market-filter__title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.market-filter__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.88rem;
    color: var(--color-muted);
}

.market-filter__list li {
    margin-bottom: 0.45rem;
}

.market-filter__list li:last-child {
    margin-bottom: 0;
}

.market-check {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    cursor: pointer;
    line-height: 1.4;
}

.market-check input {
    margin-top: 0.2rem;
    accent-color: var(--color-teal);
}

.market-range__input {
    width: 100%;
    accent-color: var(--color-orange);
}

.market-range__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.market-products__head {
    margin-bottom: 1.25rem;
}

.market-products__title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
}

.market-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.market-tabs__btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--color-muted);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    cursor: pointer;
}

.market-tabs__btn.is-active {
    color: #fff;
    background: var(--color-teal);
    border-color: var(--color-teal);
}

.market-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

@media (min-width: 700px) {
    .market-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .market-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.market-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.market-product-card:hover {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.market-product-card__media {
    position: relative;
    aspect-ratio: 1;
    background: #faf8f6;
    overflow: hidden;
}

.market-product-card__img-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.market-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.market-product-card__fav {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    line-height: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
    color: #207d88;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.market-product-card__fav:hover {
    filter: brightness(0.98);
}

.market-product-card__fav-icon {
    display: block;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
}

.market-product-card__body {
    padding: 0.55rem 0.85rem 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.market-product-card__price {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text);
}

.market-product-card__unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.market-product-card__name {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
    flex: 1;
}

.market-product-card__actions {
    display: flex;
    align-items: stretch;
}

.market-product-card__cart-composite {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-height: 2.5rem;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.market-product-card__stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    flex-shrink: 0;
    padding: 0 0.4rem 0 0.45rem;
    background: #fff;
    color: var(--color-orange);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.market-product-card__stepper-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    height: 100%;
    padding: 0 0.15rem;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.market-product-card__stepper-btn:hover {
    opacity: 0.85;
}

.market-product-card__stepper-qty {
    min-width: 1.1rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--color-text);
}

.market-product-card__cart-submit {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.6rem;
    border: none;
    background: var(--color-orange);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.market-product-card__cart-icon {
    flex-shrink: 0;
}

.market-product-card__cart-submit:hover {
    filter: brightness(0.97);
}

.market-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0 1rem;
}

.market-pagination__list {
    display: flex;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.market-pagination__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.market-pagination__list a.is-active {
    background: var(--color-teal);
    color: #fff;
    border-color: var(--color-teal);
}

.market-pagination__arrow {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-teal);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
}

.page--market .app-cta {
    margin-top: 0;
}

/* —— Tatlılar sayfası —— */

.page--tatlilar,
.page--food {
    background: #faf6f0;
}

.sweet-page {
    padding-bottom: 0;
}

@media (max-width: 899px) {
    .sweet-page {
        padding-bottom: 4.25rem;
    }
}

/* Kategori kahramanları (Lezzetli / Market / Tatlılar): tam genişlik foto + perde + cam arama; alçak yükseklik */

.food-hero--scene,
.market-hero--scene,
.sweet-hero--scene {
    position: relative;
    isolation: isolate;
    min-height: min(44vh, 460px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.75rem, 4vw, 2.5rem) 0;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.food-hero__bg,
.market-hero__bg,
.sweet-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.food-hero__bg-img,
.market-hero__bg-img,
.sweet-hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.food-hero__scrim,
.market-hero__scrim,
.sweet-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(255, 250, 243, 0.97) 0%,
        rgba(255, 250, 243, 0.88) 28%,
        rgba(255, 250, 243, 0.5) 46%,
        rgba(255, 250, 243, 0.12) 65%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.food-hero__layout,
.market-hero__layout,
.sweet-hero__layout {
    position: relative;
    z-index: 2;
}

.food-hero__copy,
.market-hero__copy,
.sweet-hero__copy {
    max-width: min(560px, 100%);
}

.food-hero__panel,
.market-hero__panel,
.sweet-hero__panel {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 0.5rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09);
}

.food-hero__search {
    margin: 0;
    width: 100%;
    max-width: none;
}

.food-hero__search-row.search-row,
.market-hero__search-row.search-row,
.sweet-hero__search-row.search-row {
    background: transparent;
    box-shadow: none;
    border-radius: 999px;
    padding: 0.35rem 0.25rem;
}

.food-hero__search-btn {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
}

@media (max-width: 899px) {
    .food-hero--scene,
    .market-hero--scene,
    .sweet-hero--scene {
        min-height: min(48vh, 420px);
        padding: clamp(1.5rem, 4vw, 2rem) 0;
    }

    .food-hero__scrim,
    .market-hero__scrim,
    .sweet-hero__scrim {
        background: linear-gradient(
            180deg,
            rgba(255, 250, 243, 0.96) 0%,
            rgba(255, 250, 243, 0.85) 45%,
            rgba(255, 250, 243, 0.55) 100%
        );
    }
}

.sweet-hero {
    position: relative;
    overflow: hidden;
}

.sweet-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.sweet-breadcrumb a {
    color: var(--color-teal);
    font-weight: 600;
}

.sweet-hero__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--color-text);
}

.sweet-hero__title-accent {
    color: var(--color-orange);
}

.sweet-hero__chapter {
    margin: 0 0 0.65rem;
    font-size: clamp(1.85rem, 5vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #2c2c2c;
}

.sweet-hero__lead {
    margin: 0 0 1.15rem;
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 32rem;
}

.sweet-hero__search {
    margin: 0;
    width: 100%;
    max-width: none;
}

.search-row__icon--teal {
    color: var(--color-teal);
    font-weight: 700;
}

.sweet-hero__search-btn {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
}

.sweet-layout {
    display: grid;
    gap: 1.5rem;
    padding: 1.75rem 0 2.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    .sweet-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

.sweet-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sweet-sidebar__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.sweet-filter-chips {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 959px) {
    .sweet-filter-chips {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.sweet-filter-chip {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-sizing: border-box;
    width: 100%;
    padding: 0.5rem 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--color-text);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    text-align: left;
}

@media (max-width: 959px) {
    .sweet-filter-chip {
        width: auto;
        flex: 1 1 auto;
        min-width: calc(50% - 0.25rem);
    }
}

.sweet-filter-chip:hover {
    border-color: rgba(32, 125, 136, 0.35);
}

.sweet-filter-chip__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
}

.sweet-section {
    margin-bottom: 2rem;
}

.sweet-section--last {
    margin-bottom: 0;
}

.sweet-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sweet-section__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-text);
}

.sweet-section__link {
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-teal);
    cursor: pointer;
    text-decoration: none;
}

.sweet-section__link:hover {
    text-decoration: underline;
}

.sweet-shop-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

/* Kart sayısı arttıkça satır kırılarak devam eder (sabit 3 sütun üst sınırı yok) */
@media (min-width: 640px) {
    .sweet-shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

.sweet-shop-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sweet-shop-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.sweet-shop-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f5f0ea;
}

.sweet-shop-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sweet-shop-card__badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: #fff;
    border-radius: 8px;
}

.sweet-shop-card__badge--teal {
    background: var(--color-teal);
}

.sweet-shop-card__badge--orange {
    background: var(--color-orange);
}

.sweet-shop-card__body {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sweet-shop-card__name {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 900;
    color: var(--color-text);
}

.sweet-shop-card__meta {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.sweet-shop-card__stars {
    color: #e6a000;
    font-weight: 800;
}

.sweet-shop-card__reviews {
    color: var(--color-muted);
}

.sweet-shop-card__dot {
    margin: 0 0.2rem;
}

.sweet-shop-card__items {
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
}

.sweet-shop-card__item {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.sweet-shop-card__item:last-child {
    border-bottom: none;
}

.sweet-shop-card__item-name {
    color: var(--color-text);
    font-weight: 600;
}

.sweet-shop-card__item-price {
    font-weight: 800;
    color: var(--color-teal-dark);
    white-space: nowrap;
}

.sweet-shop-card__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.sweet-shop-card__cart-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(255, 107, 0, 0.35);
    border-radius: 10px;
    background: #fff7f0;
    color: var(--color-orange);
    cursor: pointer;
}

.sweet-shop-card__btn {
    flex: 1;
    font-weight: 800;
    font-size: 0.82rem;
}

.sweet-dock {
    display: none;
}

@media (max-width: 899px) {
    .sweet-dock {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        justify-content: space-around;
        align-items: center;
        gap: 0.15rem;
        padding: 0.4rem 0.35rem calc(0.4rem + env(safe-area-inset-bottom, 0));
        margin: 0;
        list-style: none;
        background: linear-gradient(180deg, #4a3528 0%, #3d2a1f 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
    }

    .sweet-dock__item {
        flex: 1;
        min-width: 0;
        padding: 0.35rem 0.2rem;
        border: none;
        background: transparent;
        font: inherit;
        font-size: 0.62rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.75);
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        line-height: 1.2;
    }

    .sweet-dock__item.is-active {
        color: #7dd3d8;
    }
}

.page--tatlilar .app-cta,
.page--food .app-cta {
    margin-top: 0;
}

/* —— Firma (işletme) sayfası — örnek şablon /firma/{slug} */

.page--firma {
    background: #faf6f0;
}

.firma-page {
    padding-bottom: 2.5rem;
}

.firma-hero {
    position: relative;
    isolation: isolate;
    min-height: min(44vh, 460px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: clamp(1rem, 3vw, 1.5rem) 0 clamp(1.75rem, 4vw, 2.75rem);
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.firma-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.firma-hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.firma-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(20, 12, 8, 0.55) 55%,
        rgba(20, 12, 8, 0.78) 100%
    );
}

.firma-hero__inner {
    position: relative;
    z-index: 2;
}

.firma-hero__text {
    max-width: min(640px, 100%);
}

.firma-hero__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.firma-hero__tagline {
    margin: 0 0 1rem;
    font-size: clamp(0.98rem, 2.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.firma-hero__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.firma-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.firma-hero__badge--discount {
    background: #1f8a4c;
    color: #fff;
}

.firma-hero__stars {
    color: #ffd54a;
    margin-right: 0.15rem;
}

.firma-hero__reviews {
    font-weight: 600;
    opacity: 0.9;
}

.firma-hero__dot {
    opacity: 0.55;
}

@media (max-width: 899px) {
    .firma-hero {
        min-height: min(48vh, 420px);
        padding: clamp(0.85rem, 3vw, 1.25rem) 0 clamp(1.5rem, 4vw, 2.25rem);
    }
}

.firma-subnav {
    position: sticky;
    top: 0;
    z-index: 25;
    background: rgba(250, 246, 240, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.65rem 0;
}

.firma-subnav__scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
}

.firma-subnav__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 2.4rem;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: var(--color-text);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.firma-subnav__pill:hover {
    border-color: rgba(32, 125, 136, 0.35);
    color: var(--color-teal-dark);
}

.firma-subnav__pill.is-active {
    background: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.22);
}

.firma-subnav__pill.is-active:hover {
    color: #fff;
    border-color: var(--color-orange);
}

.firma-section {
    padding: 1.75rem 0 0.5rem;
}

.firma-section__title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-text);
}

.firma-popular {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .firma-popular {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .firma-popular {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.firma-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.firma-card__media {
    aspect-ratio: 16 / 10;
    background: #f0ebe4;
}

.firma-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.firma-card__body {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
}

.firma-card__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
}

.firma-card__price {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-orange);
}

.firma-card__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.firma-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: #faf8f6;
}

.firma-qty__btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--color-text);
}

.firma-qty__btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.firma-qty__val {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.firma-card__add {
    flex: 1;
    min-width: 8rem;
    font-size: 0.82rem;
    padding: 0.55rem 0.85rem;
}

.firma-layout {
    display: grid;
    gap: 1.75rem;
    padding: 2rem 0 0;
    align-items: start;
}

@media (min-width: 960px) {
    .firma-layout {
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    }
}

.firma-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.firma-sidebar__block {
    padding: 1rem 1rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
}

.firma-sidebar__h {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.firma-sidebar__p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.45;
}

.firma-sidebar__subh {
    margin: 1rem 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-teal-dark);
}

.firma-sidebar__score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}

.firma-sidebar__starbar {
    position: relative;
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: 0.06em;
}

.firma-sidebar__starbar-track {
    color: rgba(0, 0, 0, 0.14);
}

.firma-sidebar__starbar-fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #d4a017;
}

.firma-sidebar__score-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text);
}

.firma-sidebar__reviews-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(0, 105, 105, 0.35);
    border-radius: 999px;
    background: rgba(0, 105, 105, 0.06);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-teal-dark);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.firma-sidebar__reviews-btn:hover {
    background: rgba(0, 105, 105, 0.12);
    border-color: rgba(0, 105, 105, 0.5);
}

.firma-sidebar__reviews-ico {
    flex-shrink: 0;
}

.firma-sidebar__reviews-count {
    margin-left: auto;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(0, 105, 105, 0.15);
    color: var(--color-teal-dark);
}

.firma-reviews-modal__intro {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 600;
}

.firma-reviews-modal__list {
    margin: 0;
    padding: 0 0.35rem 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: min(58vh, 400px);
    overflow-y: auto;
}

.firma-reviews-modal__item {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(0, 105, 105, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.firma-reviews-modal__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.firma-reviews-modal__author {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.firma-reviews-modal__date {
    font-size: 0.72rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.firma-reviews-modal__text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--color-text);
}

.firma-sidebar__pay {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}

.firma-sidebar__call {
    text-align: center;
    font-weight: 800;
}

.firma-menu-cat {
    scroll-margin-top: 5.5rem;
    margin-bottom: 1.75rem;
}

.firma-menu-cat:last-of-type {
    margin-bottom: 0;
}

.firma-menu-cat__title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-text);
}

.firma-grid {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .firma-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .firma-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.firma-card--compact .firma-card__media {
    aspect-ratio: 5 / 3;
}

.firma-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0 0;
}

.firma-pager__info {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-weight: 600;
}

.firma-pager__btns {
    display: flex;
    gap: 0.35rem;
}

.firma-pager__btn {
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    font: inherit;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--color-text);
}

.firma-pager__btn.is-active {
    background: var(--color-teal);
    color: #fff;
    border-color: var(--color-teal);
}

.page--firma .app-cta {
    margin-top: 0;
}

/* Firma paneli — giriş (Trendyol Go tarzı 50/50, sol görsel) */

.page--firma-panel-login {
    margin: 0;
    min-height: 100vh;
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1a1a2e;
    background: #fff;
}

.firma-panel-login {
    min-height: 100vh;
}

.firma-panel-login__split {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 900px) {
    .firma-panel-login__split {
        flex-direction: row;
    }
}

/* Sol: kullanıcı görseli */
.firma-panel-login__visual {
    position: relative;
    flex: 1 1 50%;
    min-height: 220px;
    background: #eceff2;
    overflow: hidden;
}

@media (min-width: 900px) {
    .firma-panel-login__visual {
        min-height: 100vh;
        position: sticky;
        top: 0;
        align-self: flex-start;
    }
}

.firma-panel-login__visual-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 900px) {
    .firma-panel-login__visual-img {
        position: absolute;
        inset: 0;
        min-height: 100%;
    }
}

.firma-panel-login__visual-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 1.5rem;
    background: linear-gradient(145deg, #e8eef2 0%, #f4f6f8 100%);
}

@media (min-width: 900px) {
    .firma-panel-login__visual-placeholder {
        min-height: 100vh;
    }
}

.firma-panel-login__visual-hint {
    margin: 0;
    max-width: 22rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #5c6670;
    text-align: center;
}

.firma-panel-login__visual-hint code {
    font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.06);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

/* Sağ: beyaz alan + form */
.firma-panel-login__right {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
}

.firma-panel-login__stack {
    width: 100%;
    max-width: 420px;
}

.firma-panel-login__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0 1rem;
    margin: 0 0 0.35rem;
    flex-shrink: 0;
}

.firma-panel-login__brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.firma-panel-login__logo {
    display: block;
    height: clamp(34px, 4vw, 44px);
    width: auto;
    max-width: min(100%, 220px);
    object-fit: contain;
}

.firma-panel-login__partner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--color-orange);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-orange);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.firma-panel-login__partner-cta:hover {
    background: rgba(255, 107, 0, 0.08);
    text-decoration: none;
}

.firma-panel-login__center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.5rem 2.5rem;
    min-height: 0;
}

.firma-panel-login__card {
    width: 100%;
    padding: 1.75rem 1.5rem 1.65rem;
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.firma-panel-login__title {
    margin: 0 0 1.35rem;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.firma-panel-login__tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid #e3e7ec;
}

.firma-panel-login__tab {
    flex: 1;
    padding: 0.7rem 0.35rem;
    border: none;
    background: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: #8b939e;
    cursor: pointer;
    position: relative;
    transition: color 0.15s ease;
}

.firma-panel-login__tab + .firma-panel-login__tab {
    border-left: 1px solid #e3e7ec;
}

.firma-panel-login__tab:hover {
    color: #5c636a;
}

.firma-panel-login__tab.is-active {
    color: var(--color-orange);
}

.firma-panel-login__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: -1px;
    height: 3px;
    border-radius: 2px 2px 0 0;
    background: var(--color-orange);
}

.firma-panel-login__form {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}

.firma-panel-login__panel[hidden] {
    display: none !important;
}

.firma-panel-login__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.firma-panel-login__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5f6368;
}

.firma-panel-login__input--field {
    width: 100%;
    padding: 0.78rem 0.95rem;
    border-radius: 8px;
    border: 1px solid #c8daf8;
    background: #e8f0fe;
    font: inherit;
    font-size: 0.95rem;
    color: #1a1a2e;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.firma-panel-login__input--field::placeholder {
    color: #80868b;
}

.firma-panel-login__input--field:hover {
    background: #dce8fc;
    border-color: #b8cef5;
}

.firma-panel-login__input--field:focus {
    outline: none;
    border-color: #7aa7e8;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.18);
}

.firma-panel-login__input--field:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.firma-panel-login__pass-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.firma-panel-login__input--pass {
    padding-right: 3rem;
}

.firma-panel-login__pass-toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b7680;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.firma-panel-login__pass-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #12121c;
}

.firma-panel-login__forgot {
    align-self: flex-start;
    margin-top: -0.15rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #5f6368;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.firma-panel-login__forgot:hover {
    color: #3c4043;
}

.firma-panel-login__submit {
    margin-top: 0.25rem;
    width: 100%;
    padding: 0.88rem 1rem;
    border: none;
    border-radius: 8px;
    background: var(--color-orange);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.05s ease;
}

.firma-panel-login__submit:hover {
    filter: brightness(1.05);
}

.firma-panel-login__submit:active {
    transform: scale(0.99);
}

.firma-panel-login__footline {
    margin: 1.45rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.5rem;
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.5;
}

.firma-panel-login__footline-q {
    color: #1a1a2e;
    font-weight: 500;
}

.firma-panel-login__footline-a {
    font-weight: 700;
    color: var(--color-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.firma-panel-login__footline-a:hover {
    filter: brightness(0.95);
}

/* İş ortağı başvurusu — çok adımlı form */

.page--partner-basvuru {
    margin: 0;
    min-height: 100vh;
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1a1a2e;
    background: #f5f6f8;
}

.partner-app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.partner-app__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 0 1.25rem;
}

.partner-app__back {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-teal-dark);
    text-decoration: none;
}

.partner-app__back:hover {
    text-decoration: underline;
}

.partner-app__progress {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #5f6368;
}

.partner-app__layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    .partner-app__layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        gap: 2rem;
    }
}

.partner-app__main {
    min-width: 0;
}

.partner-app__card {
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 12px;
    padding: 1.5rem 1.35rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.partner-app__title {
    margin: 0 0 1.35rem;
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 800;
    color: #12121c;
}

.partner-app__step[hidden] {
    display: none !important;
}

.partner-app__grid {
    display: grid;
    gap: 1rem;
}

.partner-app__grid--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .partner-app__grid--2 {
        grid-template-columns: 1fr 1fr;
    }
}

.partner-app__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.partner-app__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #3d4550;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.partner-app__hint-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: #e8f0fe;
    color: var(--color-teal-dark);
    font-size: 0.65rem;
    font-weight: 800;
    font-style: normal;
    cursor: help;
}

.partner-app__ref-note {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #8a94a0;
    font-size: 0.72rem;
}

.partner-app__input,
.partner-app__select {
    width: 100%;
    padding: 0.72rem 0.85rem;
    border-radius: 8px;
    border: 1px solid #c8daf8;
    background: #e8f0fe;
    font: inherit;
    font-size: 0.92rem;
    color: #1a1a2e;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.partner-app__input::placeholder {
    color: #80868b;
}

.partner-app__input:focus,
.partner-app__select:focus {
    outline: none;
    border-color: #7aa7e8;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.15);
}

.partner-app__check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.25rem;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #3d4550;
    cursor: pointer;
}

.partner-app__check input {
    margin-top: 0.2rem;
    accent-color: var(--color-orange);
}

.partner-app__inline-link {
    color: var(--color-orange);
    font-weight: 700;
    text-decoration: none;
}

.partner-app__inline-link:hover {
    text-decoration: underline;
}

.partner-app__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.35rem;
}

.partner-app__actions--split {
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.partner-app__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: filter 0.15s ease;
}

.partner-app__btn--primary {
    background: var(--color-orange);
    color: #fff;
}

.partner-app__btn--primary:hover {
    filter: brightness(1.05);
}

.partner-app__btn--ghost {
    background: #fff;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.partner-app__btn--ghost:hover {
    background: #f8f9fa;
}

.partner-app__lead {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #3d4550;
}

.partner-app__aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.partner-app__info {
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
}

.partner-app__info-ico {
    font-size: 1.5rem;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.partner-app__info-title {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #12121c;
    line-height: 1.3;
}

.partner-app__info-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #5f6368;
}

.partner-app__recaptcha {
    margin: 0.5rem 0 0;
    font-size: 0.7rem;
    line-height: 1.45;
    color: #9aa0a6;
}

