:root {
    --bg: #faf8f5;
    --surface: #ffffff;
    --text: #1a1a1a;
    --muted: #5c5c5c;
    --accent: #c45c26;
    --accent-soft: rgba(196, 92, 38, 0.12);
    --border: #e8e4de;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
    min-height: 100dvh;
}

.app {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: max(10px, env(safe-area-inset-top)) 14px 10px 14px;
}

.topbar--home {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
}

.topbar--with-back {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
    align-items: center;
    gap: 8px;
}

.topbar__back {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 0;
}

.topbar__brand {
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    color: var(--text);
    text-decoration: none;
}

.topbar--with-back .topbar__brand {
    justify-self: center;
    text-align: center;
    font-size: 0.95rem;
}

.topbar__brand--solo {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.topbar__brand--with-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: min(72vw, 300px);
}

.topbar__logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 9px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

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

.topbar__spacer {
    width: 56px;
    min-width: 44px;
    height: 1px;
}

.topbar__lang {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    justify-self: end;
}

.topbar__lang-link {
    color: var(--muted);
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 6px;
}

.topbar__lang-link:hover {
    color: var(--accent);
    background: var(--accent-soft);
}

.topbar__lang-sep {
    color: var(--border);
    font-weight: 400;
}

.topbar__lang-link--active {
    color: var(--accent);
}

.topbar--home .topbar__brand--solo {
    justify-self: start;
    min-width: 0;
}

.site-closed-banner {
    background: #fff3cd;
    color: #664d03;
    padding: 10px 14px;
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 1px solid #e6d89c;
}

.main {
    flex: 1;
    padding: 16px 16px max(24px, env(safe-area-inset-bottom));
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.foot {
    padding: 16px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.8rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb span {
    opacity: 0.5;
}

.page-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:active {
    transform: scale(0.99);
}

.card:hover {
    border-color: var(--accent);
}

.card__title {
    font-weight: 600;
    font-size: 1rem;
}

.card__meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 4px;
}

.product-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.product-row__img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--border);
    flex-shrink: 0;
}

.product-row__body {
    flex: 1;
    min-width: 0;
}

.price {
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.stars {
    color: #e6a317;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.detail-hero {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.detail-hero img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.detail-body {
    padding: 0 0 8px 0;
}

.detail-body h1 {
    font-size: 1.4rem;
    margin: 0 0 8px 0;
}

.detail-desc {
    color: var(--muted);
    font-size: 0.95rem;
    white-space: pre-wrap;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-bottom: 10px;
}

.review__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.review__name {
    font-weight: 600;
    font-size: 0.9rem;
}

.review__date {
    font-size: 0.75rem;
    color: var(--muted);
}

.review__text {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--text);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}

.form input[type="text"],
.form textarea,
.form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    background: var(--surface);
}

.form textarea {
    min-height: 100px;
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
}

.btn:active {
    opacity: 0.92;
}

.btn--ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.flash {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.flash--ok {
    background: #e8f5e9;
    color: #1b5e20;
}

.flash--err {
    background: #ffebee;
    color: #b71c1c;
}

.empty {
    text-align: center;
    color: var(--muted);
    padding: 32px 16px;
    font-size: 0.95rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.card--category {
    padding: 12px 14px;
}

.cat-card__row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cat-card__img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--border);
    flex-shrink: 0;
}

.cat-card__body {
    flex: 1;
    min-width: 0;
}

.cat-hero {
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 0 12px 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.cat-hero img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 10px 0;
}

.chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(196, 92, 38, 0.25);
}

.product-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 6px 0 12px 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.product-meta-strip__item + .product-meta-strip__item::before {
    content: "· ";
    margin-right: 6px;
    opacity: 0.45;
}

.allergen-box {
    background: #fff8e6;
    border: 1px solid #f0d78c;
    border-radius: var(--radius);
    padding: 12px 14px;
    margin: 12px 0;
    font-size: 0.9rem;
}

.allergen-box p {
    margin: 6px 0 0 0;
    color: var(--text);
}

.variation-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.variation-list__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.variation-list__item:last-child {
    border-bottom: none;
}

.variation-list__price {
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.price-hint {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--muted);
}

.text-muted {
    color: var(--muted);
}

.home-hero {
    margin: -4px 0 16px 0;
}

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

.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;
}

/* Kopyala / paylaş geri bildirimi (kısa toast) */
#share-live.share-live--toast {
    position: fixed;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    z-index: 10001;
    transform: translateX(-50%);
    width: auto;
    max-width: min(92vw, 380px);
    height: auto;
    margin: 0;
    padding: 10px 16px;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border-radius: var(--radius);
    background: var(--text);
    color: var(--surface);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    box-shadow: var(--shadow);
}

html[data-contrast="high"] #share-live.share-live--toast {
    background: #000;
    color: #fff;
    outline: 2px solid #fff;
}

.menu-search {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px 0;
}

.menu-search__field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.menu-search__input {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
}

.menu-search__input::placeholder {
    color: var(--muted);
    opacity: 0.9;
}

.menu-search__input:focus {
    outline: 2px solid var(--accent-soft);
    border-color: var(--accent);
}

.menu-search__submit {
    flex: 0 0 auto;
    padding-left: 18px;
    padding-right: 18px;
    white-space: nowrap;
}

.menu-search__dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 80;
    max-height: min(55vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.menu-search__grp {
    padding: 8px 12px 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    background: rgba(26, 26, 26, 0.03);
}

.menu-search__opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    text-decoration: none;
    color: var(--text);
    border-top: 1px solid var(--border);
    cursor: pointer;
}

.menu-search__grp + .menu-search__opt {
    border-top: none;
}

.menu-search__opt:hover,
.menu-search__opt--active {
    background: var(--accent-soft);
}

.menu-search__opt-kind {
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    min-width: 2.5rem;
}

.menu-search__opt-name {
    flex: 1 1 auto;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.25;
}

.menu-search__empty {
    padding: 12px 14px;
    font-size: 0.88rem;
    color: var(--muted);
}

.search-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 20px 0 10px 0;
    color: var(--text);
}

.search-links {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}

.search-links li + li {
    border-top: 1px solid var(--border);
}

.search-links__a {
    display: block;
    padding: 14px 16px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.search-links__a:active {
    background: var(--accent-soft);
}

.search-back-wrap {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.text-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.page-title--section {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.menu-strip-wrap {
    margin: 0 -16px 12px -16px;
    padding: 0 0 4px 0;
}

.menu-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px 10px 16px;
    scrollbar-width: thin;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65), transparent);
}

.menu-strip__item {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border: 1px solid transparent;
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(26, 26, 26, 0.06);
}

.menu-strip__item--active {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-grid--home {
    margin-bottom: 8px;
}

.cat-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform 0.12s ease;
}

.cat-tile:active {
    transform: scale(0.98);
}

.cat-tile__img-wrap {
    aspect-ratio: 1;
    background: var(--border);
    overflow: hidden;
}

.cat-tile__img-wrap--placeholder {
    background: linear-gradient(135deg, #e8e4de, #f5f0ea);
}

.cat-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-tile__label {
    padding: 10px 10px 12px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-list-ref {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-plate {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding: 14px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease;
}

.product-plate:active {
    border-color: var(--accent);
}

.product-plate__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-plate__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.product-plate__desc {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-plate__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.product-plate__tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.06);
    color: var(--muted);
}

.product-plate__allergen {
    margin: 2px 0 0 0;
    font-size: 0.72rem;
    color: #8a6d3b;
    line-height: 1.3;
}

.product-plate__foot {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

.product-plate__price {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.product-plate__rate {
    font-size: 0.8rem;
    color: var(--muted);
    margin-left: auto;
}

.product-plate__media {
    width: 96px;
    min-width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--border);
    align-self: center;
}

.product-plate__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-plate__media--empty {
    background: linear-gradient(135deg, #e8e4de, #f0ebe4);
}

.home-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px 12px -16px;
    padding: 0 8px 0 8px;
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
}

.home-tabs__link {
    flex: 0 0 auto;
    padding: 12px 14px 10px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.home-tabs__link--active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.ad-slider {
    margin: 0 -16px 16px -16px;
    border-radius: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.ad-slider__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
}

.ad-slider__slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    display: block;
    line-height: 0;
    background: #eae6e0;
}

.ad-slider__slide img {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: cover;
    display: block;
}

.home-section__lead {
    font-size: 0.86rem;
    color: var(--muted);
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.static-page {
    padding-bottom: 8px;
}

.static-page__body {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

.static-page__body--mb {
    margin-bottom: 16px;
}

.foot__rich {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
}

.p-meta-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 10px 0 12px 0;
}

.p-meta-icons--compact {
    gap: 6px 10px;
    margin: 6px 0 8px 0;
    align-items: center;
}

.p-meta-icons__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--muted);
}

.p-meta-icons__circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text);
    background: rgba(26, 26, 26, 0.06);
    border: 1px solid var(--border);
}

.p-meta-icons--compact .p-meta-icons__circle {
    width: 28px;
    height: 28px;
}

.p-meta-icons--compact .p-meta-icons__circle svg {
    width: 15px;
    height: 15px;
}

.p-meta-icons__circle--allergen {
    color: #b8860b;
    background: #fff8e6;
    border-color: #e6d5a8;
}

.p-meta-icons__circle--kcal {
    color: var(--accent);
    background: var(--accent-soft);
    border-color: rgba(196, 92, 38, 0.25);
}

.p-meta-icons__circle--time {
    color: #3d6b8a;
    background: rgba(61, 107, 138, 0.08);
    border-color: rgba(61, 107, 138, 0.2);
}

.p-meta-icons__lbl {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.p-meta-icons__text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.p-meta-icons--compact .p-meta-icons__text {
    font-size: 0.72rem;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-meta-icons--compact .p-meta-icons__text--allergen {
    max-width: min(52vw, 168px);
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.3;
    font-weight: 500;
    color: var(--muted);
}

.p-meta-icons--compact .p-meta-icons__item--allergen {
    align-items: center;
    max-width: 100%;
}

/* —— Faz 1: okuma tercihi (K / O / B) —— */
html[data-text-scale="s"] {
    font-size: 93.75%;
}

html[data-text-scale="l"] {
    font-size: 112.5%;
}

.foot__reading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.foot__reading-lbl {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.foot__reading-btns {
    display: flex;
    gap: 6px;
}

.foot__reading-btn {
    min-width: 40px;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
}

.foot__reading-btn[aria-pressed="true"] {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.foot__legal {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--muted);
    text-align: center;
}

.product-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}

.product-share__btn {
    padding: 8px 14px;
    font-size: 0.88rem;
}

/* —— Faz 2: son kategoriler / son ürün (ana menü) —— */
.recent-shortcuts {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.recent-shortcuts__inner {
    max-width: 720px;
    margin: 0 auto;
}

.recent-shortcuts__title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.recent-shortcuts__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.recent-shortcuts__chip {
    display: inline-block;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-shortcuts__chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.recent-shortcuts__last {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-size: 0.9rem;
    color: var(--muted);
}

.recent-shortcuts__last-lbl {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.recent-shortcuts__last-link {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.recent-shortcuts__last-link:hover {
    text-decoration: underline;
}

/* —— Faz 3: yaprak kategori etiket süzgeci —— */
.tag-filter {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.tag-filter__lead {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 8px;
}

.tag-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-filter__chip {
    padding: 8px 14px;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
}

.tag-filter__chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tag-filter__chip--active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.tag-filter-empty {
    margin: 0 0 12px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: rgba(26, 26, 26, 0.02);
}

/* —— Faz 4: atlama bağlantısı, odak, yüksek kontrast —— */
.skip-link {
    position: fixed;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    color: #fff;
    background: var(--accent);
    border-radius: 0 0 10px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.skip-link:focus,
.skip-link:focus-visible {
    left: max(10px, env(safe-area-inset-left));
    top: max(8px, env(safe-area-inset-top));
    outline: 3px solid #fff;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

html[data-contrast="high"] {
    --text: #000000 !important;
    --muted: #222222 !important;
    --bg: #ffffff !important;
    --surface: #ffffff !important;
    --border: #000000 !important;
    --accent: #0000b0 !important;
    --accent-soft: rgba(0, 0, 0, 0.1) !important;
    --shadow: 0 2px 0 #000 !important;
}

html[data-contrast="high"] *:focus-visible {
    outline-color: #0000b0;
}

.foot__contrast {
    margin-top: 12px;
}

/* —— Faz 5: görsel iskelet (shimmer) + yükleme durumu —— */
@keyframes qrmenu-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.js-media-pending {
    position: relative;
}

.js-media-pending::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 62%
    );
    animation: qrmenu-shimmer 1.15s ease-in-out infinite;
    pointer-events: none;
}

.js-media-loaded::after {
    display: none;
}

html[data-contrast="high"] .js-media-pending::after {
    background: linear-gradient(105deg, transparent 38%, rgba(0, 0, 180, 0.2) 50%, transparent 62%);
}

.detail-hero,
.cat-hero {
    position: relative;
}

.detail-hero img,
.cat-hero img {
    position: relative;
    z-index: 0;
}

/* —— Faz 6: PWA / ana ekran ipucu —— */
.pwa-hint {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    padding: max(10px, env(safe-area-inset-bottom)) 12px 12px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    pointer-events: none;
}

.pwa-hint__inner {
    pointer-events: auto;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -6px 24px rgba(26, 26, 26, 0.12);
    backdrop-filter: blur(8px);
}

.pwa-hint__text {
    margin: 0;
    flex: 1;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text);
    text-align: left;
}

.pwa-hint__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: var(--border);
    color: var(--text);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    font-weight: 700;
}

.pwa-hint__close:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

html[data-contrast="high"] .pwa-hint__inner {
    background: #fff;
    border-color: #000;
}
