/* ========================================================
   Kemerpide - Ana Stil Dosyası
   Sıcak portakal + koyu kahve + krem teması
   Mobil öncelikli (QR menü)
   ======================================================== */

:root {
    --primary: #8b3a1f;        /* Kemerpide kahvesi */
    --primary-dark: #6b2815;
    --primary-light: #c2662f;
    --secondary: #5a2414;      /* koyu kahve */
    --secondary-dark: #3a1508;
    --accent: #e89642;         /* bakır */
    --cream: #fde8cc;
    --cream-light: #fff7ec;
    --bg: #fdf6ed;
    --card: #ffffff;
    --text: #2b1a10;
    --text-soft: #7b5a45;
    --text-muted: #a89582;
    --border: #f0dcc0;
    --shadow-sm: 0 1px 2px rgba(58, 21, 8, 0.06);
    --shadow: 0 4px 14px rgba(58, 21, 8, 0.08);
    --shadow-lg: 0 10px 30px rgba(58, 21, 8, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    overflow-anchor: none;
    overscroll-behavior-y: contain;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    font-size: 15px;
    min-height: 100vh;
    overflow-x: clip;
    overflow-anchor: none;
    overscroll-behavior-y: contain;
    max-width: 100vw;
}

/* Tüm ana bölümlerde scroll-anchor kapalı — hero'ya resim yüklenirken sayfa yukarı zıplamasın */
* { overflow-anchor: none; }

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ================== HERO / BAŞLIK ================== */
.hero {
    position: relative;
    background-color: var(--secondary-dark);
    background-image:
        linear-gradient(
            180deg,
            rgba(42, 15, 5, 0.72) 0%,
            rgba(63, 22, 8, 0.64) 45%,
            rgba(90, 36, 20, 0.78) 100%
        ),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 28px 18px 36px;
    text-align: center;
    overflow: hidden;
}

/* Hafif doku + kenarlara vignette — logoyu öne çıkarır */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%),
        repeating-linear-gradient(45deg, transparent 0, transparent 30px, rgba(255, 255, 255, 0.02) 30px, rgba(255, 255, 255, 0.02) 31px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-logo {
    width: 100%;
    max-width: 230px;
    margin: 0 auto 14px;
    padding: 12px 18px;
    background: #fffaf3;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), 0 0 0 2.5px rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

.hero-logo-text {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    padding: 18px 24px;
    flex-direction: column;
    gap: 4px;
}

.hero-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 4px;
    padding: 3px 18px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.55);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2px;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(30px, 8vw, 44px);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    margin: 0;
}

.hero-slogan {
    font-size: 10.5px;
    letter-spacing: 1.8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 0 8px;
    line-height: 1.5;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-style: italic;
    color: rgba(255, 247, 236, 0.95);
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-meta {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 12px;
    opacity: 0.92;
    margin-bottom: 18px;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero CTA butonları (telefon + whatsapp) */
.hero-cta {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-dark);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.cta-btn:hover, .cta-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.cta-btn svg { flex-shrink: 0; }

.cta-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.cta-btn small {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.4px;
}

.cta-btn strong {
    font-size: 13.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
}

.cta-phone { color: var(--secondary-dark); }
.cta-phone svg { color: #1e40af; }

.cta-wa {
    background: #25D366;
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-wa small { color: rgba(255, 255, 255, 0.85); }
.cta-wa svg { color: white; }

/* ================== ARAMA ================== */
.search-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--bg);
    padding: 12px 16px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.search-box {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

.search-box svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* ================== KATEGORİ ŞERİDİ ================== */
.category-strip {
    position: sticky;
    top: 60px;
    z-index: 39;
    background: var(--bg);
    padding: 4px 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.category-strip::-webkit-scrollbar { display: none; }

.category-strip-inner {
    display: flex;
    gap: 8px;
    padding: 4px 16px;
    max-width: 1000px;
    margin: 0 auto;
    width: max-content;
    min-width: 100%;
}

.cat-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.cat-chip:hover,
.cat-chip:focus {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.cat-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.cat-chip .icon {
    font-size: 16px;
}

/* ================== MENÜ ================== */
.menu {
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 14px 40px;
}

.category-section {
    margin-bottom: 28px;
    scroll-margin-top: 120px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 4px 14px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--border);
}

.category-header .icon {
    font-size: 26px;
}

.category-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.3px;
}

/* Ürün listesi - kompakt */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-item {
    display: flex;
    align-items: stretch;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 9px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    text-align: left;
    font-family: inherit;
    color: inherit;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-item:hover,
.product-item:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.product-item.unavailable {
    opacity: 0.55;
    filter: grayscale(0.3);
}

.product-thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border-radius: 10px;
    background: var(--cream);
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.product-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--cream) 0%, #fde68a 100%);
}

.product-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.product-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 4px;
    min-width: 0;
}

.product-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

.product-price {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
}

.product-desc {
    font-size: 12.5px;
    color: var(--text-soft);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 500;
    white-space: nowrap;
}

.badge.days {
    background: var(--cream);
    color: var(--secondary);
}

.badge.time {
    background: #dbeafe;
    color: #1e40af;
}

.badge.allergen {
    background: #fef2f2;
    color: #991b1b;
}

.badge.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

/* ================== DETAY MODAL ================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(69, 26, 3, 0.5);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.modal-backdrop.open {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 1;
}

.modal {
    background: var(--card);
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
}

.modal-backdrop.open .modal {
    transform: translateY(0);
}

@media (min-width: 640px) {
    .modal-backdrop.open { align-items: center; }
    .modal { border-radius: var(--radius-lg); max-height: 85vh; }
}

.modal-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--cream) 0%, #fde68a 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.modal-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: var(--primary);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.modal-close:hover { transform: scale(1.1); }

.modal-drag-handle {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
    .modal-drag-handle { display: none; }
}

.modal-body {
    padding: 20px 20px 28px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-body h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text);
    margin-bottom: 6px;
    font-weight: 700;
}

.modal-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 14px;
    font-variant-numeric: tabular-nums;
}

.modal-desc {
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 18px;
}

.modal-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.meta-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: var(--cream-light);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
}

.meta-row .meta-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.meta-row .meta-label {
    font-weight: 600;
    color: var(--secondary);
    margin-right: 6px;
}

.meta-row .meta-value {
    color: var(--text-soft);
    flex: 1 1 auto;
}

.allergen-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.allergen-tag {
    padding: 3px 10px;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #fecaca;
}

/* ================== ALT BİLGİ ================== */
.info-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--cream-light) 100%);
    padding: 32px 20px 24px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.info-inner {
    max-width: 720px;
    margin: 0 auto;
}

.info-section h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 8px;
}

.info-about {
    text-align: center;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 26px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.contact-card {
    background: var(--card);
    padding: 14px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.contact-card .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--cream);
    color: var(--primary-dark);
}

.contact-card.whatsapp .contact-icon { background: #d1fae5; color: #065f46; }
.contact-card.instagram .contact-icon {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
    color: white;
}
.contact-card.phone .contact-icon { background: #dbeafe; color: #1e40af; }
.contact-card.maps .contact-icon { background: #fee2e2; color: #991b1b; }

.contact-card .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.contact-card .value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
    line-height: 1.3;
}

.hours-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.hours-card h3 {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hours-card .hours-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13.5px;
    color: var(--text-soft);
}

.hours-card .hours-row span:first-child {
    font-weight: 500;
    color: var(--text);
}

.address {
    text-align: center;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 24px;
    line-height: 1.5;
    padding: 0 10px;
}

.footer-bottom {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom a {
    color: var(--text-muted);
    transition: color 0.2s;
}

/* Gizli admin butonu */
.admin-link {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.55;
    border: 1px dashed var(--border);
    border-radius: 999px;
    transition: all 0.2s;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-link:hover {
    opacity: 1;
    color: var(--primary-dark);
    border-color: var(--primary);
    background: var(--cream-light);
}

/* ================== BOŞ DURUM ================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state .icon {
    font-size: 56px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
}

/* ================== ANIMASYONLAR ================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeInUp 0.35s ease both;
}

/* ================== RESPONSİVE ================== */
@media (min-width: 480px) {
    .product-thumb { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 12px; }
    .product-name { font-size: 15.5px; }
    .product-price { font-size: 15.5px; }
    .product-item { padding: 10px; gap: 12px; }
    .menu { padding: 8px 16px 40px; }
}

@media (min-width: 640px) {
    body { font-size: 16px; }
    .hero { padding: 48px 24px 56px; }
    .product-thumb { flex: 0 0 100px; width: 100px; height: 100px; }
    .product-name { font-size: 17px; }
    .product-price { font-size: 17px; }
    .product-desc { font-size: 13.5px; }
}

@media (min-width: 1024px) {
    .menu { padding: 16px 24px 60px; }
    .category-section { margin-bottom: 36px; }
}

/* ================== DİL SEÇİCİ ================== */
.lang-switcher {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 50;
    font-family: var(--font);
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(58, 21, 8, 0.22);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    letter-spacing: 0.5px;
}

.lang-current:hover,
.lang-current:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(58, 21, 8, 0.28);
    outline: none;
}

.lang-current .flag {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    transform: translateY(-0.5px);
}

.lang-current svg {
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.lang-switcher:hover .lang-current svg,
.lang-switcher:focus-within .lang-current svg {
    transform: rotate(-180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(58, 21, 8, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 51;
}

.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu,
.lang-switcher.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text);
    border-radius: 9px;
    transition: background 0.15s;
}

.lang-menu a:hover {
    background: var(--cream-light);
}

.lang-menu a.is-active {
    background: var(--cream);
    color: var(--secondary);
    font-weight: 700;
}

.lang-menu .flag {
    font-size: 20px;
    line-height: 1;
}

.lang-menu .name {
    font-weight: 500;
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .lang-switcher {
        top: 10px;
        right: 10px;
    }
    .lang-current {
        padding: 8px 11px;
        font-size: 12.5px;
    }
    .lang-current .flag {
        font-size: 16px;
    }
    .lang-menu {
        min-width: 160px;
    }
}

/* Hero için üst boşluk — dil seçicinin logo üstüne binmemesi için */
.hero {
    padding-top: 62px;
}
@media (min-width: 640px) {
    .hero {
        padding-top: 70px;
    }
}

/* ================== RTL (Arapça) ================== */
body.rtl,
[dir="rtl"] body,
[dir="rtl"] {
    font-family: 'Cairo', 'Tajawal', var(--font);
}

[dir="rtl"] .hero-name,
body.rtl .hero-name {
    font-family: 'Amiri', 'Cairo', var(--font-heading);
}

[dir="rtl"] .lang-switcher,
body.rtl .lang-switcher {
    right: auto;
    left: 14px;
}
@media (max-width: 480px) {
    [dir="rtl"] .lang-switcher,
    body.rtl .lang-switcher {
        left: 10px;
    }
}

[dir="rtl"] .lang-menu,
body.rtl .lang-menu {
    right: auto;
    left: 0;
    transform-origin: top left;
}

/* Arama kutusunda ikon pozisyonu */
[dir="rtl"] .search-box svg,
body.rtl .search-box svg {
    order: 2;
}
[dir="rtl"] .search-box input,
body.rtl .search-box input {
    text-align: right;
}

/* Kategori başlığı RTL düzeni */
[dir="rtl"] .category-header,
body.rtl .category-header {
    flex-direction: row-reverse;
    text-align: right;
}

/* Ürün kartı — resim ters tarafta ama kayma hissi vermesin */
[dir="rtl"] .product-item,
body.rtl .product-item {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .product-top,
body.rtl .product-top {
    flex-direction: row-reverse;
}

[dir="rtl"] .product-badges,
body.rtl .product-badges {
    justify-content: flex-end;
}

/* CTA butonları */
[dir="rtl"] .cta-btn,
body.rtl .cta-btn {
    flex-direction: row-reverse;
    text-align: right;
}
[dir="rtl"] .cta-btn span,
body.rtl .cta-btn span {
    text-align: right;
}

/* İletişim kartları */
[dir="rtl"] .contact-card,
body.rtl .contact-card {
    text-align: center;
}

/* Hours row */
[dir="rtl"] .hours-row,
body.rtl .hours-row {
    flex-direction: row-reverse;
}

/* Hero meta */
[dir="rtl"] .hero-meta,
body.rtl .hero-meta {
    direction: rtl;
}

/* ================== MODAL — SİPARİŞ / PAYLAŞ AKSIYONLARI ================== */
.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}

.modal-wa-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    letter-spacing: 0.2px;
}

.modal-wa-btn:hover,
.modal-wa-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
    filter: brightness(1.05);
}

.modal-wa-btn svg { flex-shrink: 0; }

.modal-share-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    background: var(--cream-light);
    color: var(--secondary);
    font-size: 13.5px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    transition: all 0.15s ease;
    font-family: inherit;
}

.modal-share-btn:hover {
    background: var(--cream);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

@media (max-width: 380px) {
    .modal-share-btn span { display: none; }
    .modal-share-btn { padding: 14px; }
}

/* ================== FLOATING WHATSAPP BUTONU ================== */
.wa-float {
    position: fixed;
    left: 18px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(18, 140, 126, 0.45), 0 4px 10px rgba(0, 0, 0, 0.18);
    z-index: 90;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.wa-float:hover,
.wa-float:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 14px 34px rgba(18, 140, 126, 0.55), 0 6px 14px rgba(0, 0, 0, 0.22);
    outline: none;
}

.wa-float:active {
    transform: scale(0.96);
}

.wa-float-icon {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

/* Nabız efekti (dikkat çekmek için) */
.wa-float-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: 1;
    animation: waPulse 2.2s ease-out infinite;
    opacity: 0.7;
}

.wa-float-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: waPulse 2.2s ease-out 1.1s infinite;
    opacity: 0.7;
}

@keyframes waPulse {
    0%   { transform: scale(1);    opacity: 0.7; }
    70%  { transform: scale(1.7);  opacity: 0; }
    100% { transform: scale(1.7);  opacity: 0; }
}

/* Hover tooltip ("Sipariş ver") */
.wa-float::before {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: var(--secondary-dark);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.wa-float::after {
    content: '';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid var(--secondary-dark);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

@media (hover: hover) {
    .wa-float:hover::before,
    .wa-float:hover::after,
    .wa-float:focus-visible::before,
    .wa-float:focus-visible::after {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
    }
}

/* İlk yüklemede 4 saniye boyunca tooltip otomatik gösterilsin (mobilde de farkındalık için) */
.wa-float.show-hint::before,
.wa-float.show-hint::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 480px) {
    .wa-float {
        left: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
    }
    .wa-float-icon { width: 28px; height: 28px; }
    .wa-float::before {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* RTL — buton sağ tarafa, tooltip sol tarafa açılsın */
[dir="rtl"] .wa-float,
body.rtl .wa-float {
    left: auto;
    right: 18px;
}
[dir="rtl"] .wa-float::before,
body.rtl .wa-float::before {
    left: auto;
    right: calc(100% + 14px);
    transform: translateY(-50%) translateX(6px);
}
[dir="rtl"] .wa-float::after,
body.rtl .wa-float::after {
    left: auto;
    right: calc(100% + 8px);
    border-right: none;
    border-left: 6px solid var(--secondary-dark);
    transform: translateY(-50%) translateX(6px);
}
[dir="rtl"] .wa-float.show-hint::before,
[dir="rtl"] .wa-float.show-hint::after,
body.rtl .wa-float.show-hint::before,
body.rtl .wa-float.show-hint::after {
    transform: translateY(-50%) translateX(0);
}
@media (hover: hover) {
    [dir="rtl"] .wa-float:hover::before,
    [dir="rtl"] .wa-float:hover::after,
    [dir="rtl"] .wa-float:focus-visible::before,
    [dir="rtl"] .wa-float:focus-visible::after,
    body.rtl .wa-float:hover::before,
    body.rtl .wa-float:hover::after,
    body.rtl .wa-float:focus-visible::before,
    body.rtl .wa-float:focus-visible::after {
        transform: translateY(-50%) translateX(0);
    }
}
@media (max-width: 480px) {
    [dir="rtl"] .wa-float,
    body.rtl .wa-float {
        right: 14px;
    }
}

/* ================== YUKARI ÇIK BUTONU ================== */
.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-dark);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    z-index: 89;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.15s;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--cream-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

@media (max-width: 480px) {
    .scroll-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}

[dir="rtl"] .scroll-top,
body.rtl .scroll-top {
    right: auto;
    left: 18px;
}
@media (max-width: 480px) {
    [dir="rtl"] .scroll-top,
    body.rtl .scroll-top {
        left: 14px;
    }
}

/* ================== TOAST (kopyalandı bildirimi) ================== */
.toast {
    position: fixed;
    left: 50%;
    bottom: 90px;
    transform: translate(-50%, 20px);
    background: var(--secondary-dark);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 200;
    max-width: calc(100vw - 32px);
    text-align: center;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ================== AÇIK / KAPALI BADGE ================== */
.status-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.status-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.status-badge.is-open  .status-dot {
    background: #22c55e;
    animation: dotPulse 1.8s ease-in-out infinite;
}
.status-badge.is-closed .status-dot { background: #ef4444; }
.status-badge.is-open  { background: rgba(34, 197, 94, 0.22); border-color: rgba(34, 197, 94, 0.4); }
.status-badge.is-closed{ background: rgba(239, 68, 68, 0.22); border-color: rgba(239, 68, 68, 0.4); }

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* ================== MODAL — ADET / NOT ================== */
.modal-order {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.modal-order-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--cream-light);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 3px;
    gap: 0;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--card);
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid var(--border);
    transition: background 0.15s, transform 0.1s;
    font-family: inherit;
}

.qty-btn:hover { background: var(--cream); }
.qty-btn:active { transform: scale(0.92); }

.qty-input {
    width: 44px;
    height: 32px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    font-family: inherit;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }

.modal-note {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--cream-light);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    resize: vertical;
    min-height: 56px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.modal-note:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
    background: #fff;
}

/* "Sepete Ekle" — primary buton */
.modal-cart-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(139, 58, 31, 0.32);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    font-family: inherit;
    border: none;
}

.modal-cart-btn:hover,
.modal-cart-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(139, 58, 31, 0.42);
    filter: brightness(1.05);
}

/* "WhatsApp ile hemen sipariş et" — küçük secondary link */
.modal-wa-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 10px 14px;
    background: transparent;
    color: #128C7E;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 10px;
    border: 1.5px dashed rgba(37, 211, 102, 0.5);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.modal-wa-quick:hover {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.8);
}

/* ================== SEPET — FLOATING FAB ================== */
.cart-fab {
    position: fixed;
    right: 18px;
    bottom: 80px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(139, 58, 31, 0.4), 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 89;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.cart-fab[hidden] { display: none; }

.cart-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 34px rgba(139, 58, 31, 0.5), 0 6px 14px rgba(0, 0, 0, 0.2);
}

.cart-fab:active { transform: scale(0.94); }

.cart-fab-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    border: 2px solid var(--primary);
}

@media (max-width: 480px) {
    .cart-fab { right: 14px; bottom: 70px; width: 50px; height: 50px; }
}

[dir="rtl"] .cart-fab,
body.rtl .cart-fab { right: auto; left: 18px; }
[dir="rtl"] .cart-fab-count,
body.rtl .cart-fab-count { right: auto; left: -6px; }
@media (max-width: 480px) {
    [dir="rtl"] .cart-fab,
    body.rtl .cart-fab { left: 14px; }
}

/* Scroll-top butonu sepetin üstüne çıksın */
.scroll-top { bottom: 142px; }
@media (max-width: 480px) { .scroll-top { bottom: 130px; } }
[dir="rtl"] .scroll-top, body.rtl .scroll-top { bottom: 142px; }

/* ================== SEPET DRAWER ================== */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(69, 26, 3, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 110;
    display: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.cart-backdrop.open {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 1;
}

.cart-drawer {
    background: var(--card);
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
}

.cart-backdrop.open .cart-drawer { transform: translateY(0); }

@media (min-width: 640px) {
    .cart-backdrop.open { align-items: center; }
    .cart-drawer { border-radius: var(--radius-lg); max-height: 88vh; }
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--cream-light);
    flex: 0 0 auto;
}

.cart-head h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card);
    color: var(--secondary-dark);
    font-size: 18px;
    border: 1.5px solid var(--border);
    transition: background 0.15s;
    font-family: inherit;
}

.cart-close:hover { background: var(--cream); }

.cart-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px 18px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 30px 10px;
    font-size: 14px;
}

.cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 4px 10px;
    padding: 12px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text);
    font-size: 14.5px;
    grid-column: 1;
    line-height: 1.3;
}

.cart-item-price {
    grid-column: 2;
    text-align: right;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 14.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cart-item-note {
    grid-column: 1 / -1;
    font-size: 12.5px;
    color: var(--text-soft);
    font-style: italic;
    margin-top: 2px;
}

.cart-item-foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.cart-item-foot .qty-stepper {
    background: var(--card);
}

.cart-item-foot .qty-input { width: 36px; height: 28px; font-size: 14px; }
.cart-item-foot .qty-btn   { width: 28px; height: 28px; font-size: 16px; }

.cart-item-remove {
    background: transparent;
    color: #b91c1c;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background 0.15s;
    font-family: inherit;
}
.cart-item-remove:hover { background: #fee2e2; }

.cart-order-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-type {
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-type legend {
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
    padding: 0;
}

.order-type label {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 90px;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.15s;
}

.order-type input[type="radio"] {
    accent-color: var(--primary);
    cursor: pointer;
}

.order-type label:has(input:checked) {
    background: var(--cream);
    border-color: var(--primary);
    color: var(--primary-dark);
    font-weight: 600;
}

.order-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-fields[hidden] { display: none; }

.order-fields label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--secondary);
}

.order-fields input,
.order-fields textarea {
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.order-fields input:focus,
.order-fields textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.cart-foot {
    flex: 0 0 auto;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--border);
    background: var(--card);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-soft);
}

.cart-total {
    font-size: 19px;
    color: var(--primary-dark);
    font-variant-numeric: tabular-nums;
}

.cart-actions {
    display: flex;
    gap: 8px;
}

.cart-clear-btn {
    flex: 0 0 auto;
    padding: 12px 14px;
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
    font-family: inherit;
}

.cart-clear-btn:hover {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}

.cart-send-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    text-decoration: none;
}

.cart-send-btn:hover,
.cart-send-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
    filter: brightness(1.05);
}

.cart-send-btn[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
    box-shadow: none;
}

/* Boş sepet durumunda form gizli */
.cart-backdrop.is-empty .cart-order-form,
.cart-backdrop.is-empty .cart-foot {
    display: none;
}

/* ================== KVKK ÇEREZ BANDI ================== */
.cookie-bar {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 720px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 95;
    animation: cookieSlide 0.4s ease 0.6s both;
}

.cookie-bar[hidden] { display: none; animation: none; }

@keyframes cookieSlide {
    from { opacity: 0; transform: translate(-50%, 24px); }
    to   { opacity: 1; transform: translate(-50%, 0);    }
}

.cookie-bar p {
    flex: 1 1 auto;
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.45;
}

.cookie-bar a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-bar .cookie-accept {
    flex: 0 0 auto;
    padding: 9px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 12px rgba(139, 58, 31, 0.25);
    transition: transform 0.15s, filter 0.15s;
    font-family: inherit;
}

.cookie-bar .cookie-accept:hover { filter: brightness(1.06); transform: translateY(-1px); }

@media (max-width: 480px) {
    .cookie-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 8px;
        padding: 10px 12px;
    }
    .cookie-bar .cookie-accept { align-self: center; }
}

/* ================== FOOTER LEGAL LİNKLERİ ================== */
.footer-legal {
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(168, 149, 130, 0.4);
    transition: color 0.15s;
}

.footer-legal a:hover { color: var(--primary-dark); }

/* ================== GİZLİLİK / ŞARTLAR SAYFALARI ================== */
body.legal-page {
    background: var(--bg);
    padding-top: 70px;
}

.legal-header {
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

.legal-back {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary-dark);
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    transition: all 0.15s;
}
.legal-back:hover { background: var(--cream); border-color: var(--primary-light); }

.legal-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin: 8px auto 14px;
    background: #fffaf3;
    padding: 8px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 6vw, 32px);
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 4px;
}

.legal-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 26px 22px 60px;
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.legal-intro {
    font-size: 15px;
    color: var(--text-soft);
    margin-bottom: 20px;
    line-height: 1.6;
}

.legal-main section { margin-bottom: 22px; }

.legal-main h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1.5px dashed var(--border);
}

.legal-main p {
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.7;
}

.legal-business {
    background: var(--cream-light);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.legal-business dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 18px;
    font-size: 14px;
}

.legal-business dt {
    font-weight: 600;
    color: var(--secondary);
}

.legal-business dd { color: var(--text); margin: 0; }

.legal-business a { color: var(--primary-dark); text-decoration: underline; }

.legal-updated {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 12px;
}

.legal-footer {
    background: var(--cream-light);
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding: 20px;
}

.legal-footer-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.legal-footer nav {
    margin-top: 6px;
}

.legal-footer a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-footer a:hover { color: var(--primary-dark); }

@media (max-width: 480px) {
    body.legal-page { padding-top: 56px; }
    .legal-business dl { grid-template-columns: 1fr; gap: 2px; }
    .legal-business dt { margin-top: 8px; }
}

/* ================== PRİNT ================== */
@media print {
    .search-wrap, .category-strip, .admin-link, .modal-backdrop,
    .lang-switcher, .wa-float, .scroll-top, .toast,
    .cart-fab, .cart-backdrop, .cookie-bar, .legal-back, .legal-footer { display: none !important; }
    .product-item { break-inside: avoid; box-shadow: none; }
}
