/* ==========================================================
   1. DESIGN SYSTEM & TOKENS
   ========================================================== */
:root {
    --bg-deep: #030A14;
    --bg-radial: radial-gradient(circle at 50% 0%, #0A2540 0%, #030A14 75%);
    --accent-cyan: #00D2FF;
    --accent-blue: #0072FF;
    --gradient-primary: linear-gradient(135deg, #00D2FF 0%, #0072FF 100%);

    /* Glass Tokens */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-cyan: rgba(0, 210, 255, 0.35);
    --glass-blur: blur(20px);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --text-title: #FFFFFF;
    --text-body: #94A3B8;
    --text-muted: #64748B;

    /* Dimensions */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 999px;
    --container-max: 1280px;
    --header-h: 76px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-deep);
    background-image: var(--bg-radial);
    background-attachment: fixed;
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 72px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

/* Global Layout & Utilities */
.container { width: min(100% - 40px, var(--container-max)); margin-inline: auto; }
.section { padding-block: 90px; position: relative; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: var(--radius-full);
    background: rgba(0, 210, 255, 0.08); border: 1px solid rgba(0, 210, 255, 0.25);
    font-size: 0.8125rem; font-weight: 700; color: var(--accent-cyan);
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px;
}
.section-head__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text-title); line-height: 1.15; letter-spacing: -0.02em;
}
.section-head__text { margin-top: 14px; font-size: 1.1rem; color: var(--text-body); }

/* Background Glows */
.glow-sphere {
    position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0;
}
.glow-sphere--cyan { width: 450px; height: 450px; background: rgba(0, 210, 255, 0.12); }
.glow-sphere--blue { width: 550px; height: 550px; background: rgba(0, 114, 255, 0.12); }

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all 0.35s var(--ease-out);
    overflow: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}
.glass-panel:hover {
    border-color: var(--glass-border-cyan);
    background: var(--glass-bg-hover);
}


/* Chrome, Edge, Safari */
.glass-panel::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.glass-panel::-webkit-scrollbar-track {
    background: transparent;
}

.glass-panel::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 10px;
}

.glass-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 210, 255, 0.65);
}




/* UI Elements & Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px; border-radius: var(--radius-full);
    font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em;
    transition: all 0.3s var(--ease-out);
}
.btn--primary {
    background: var(--gradient-primary); color: #030A14;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
}
.btn--primary:hover {
    transform: translateY(-2px); box-shadow: 0 15px 40px rgba(0, 210, 255, 0.45);
}
.btn--glass {
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border);
    color: var(--text-title); backdrop-filter: var(--glass-blur);
}
.btn--glass:hover {
    background: rgba(255, 255, 255, 0.12); border-color: var(--accent-cyan);
    color: var(--accent-cyan); transform: translateY(-2px);
}
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.875rem; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border);
    color: #FFF; position: relative; transition: all 0.25s var(--ease-out);
}
.icon-btn:hover {
    background: rgba(0, 210, 255, 0.15); border-color: var(--accent-cyan); color: var(--accent-cyan);
}
.badge-count {
    position: absolute; top: -2px; right: -2px; width: 18px; height: 18px;
    background: var(--gradient-primary); color: #030A14; font-size: 0.7rem; font-weight: 800;
    border-radius: 50%; display: grid; place-items: center;
}

/* SVG Helpers */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ==========================================================
   2. HEADER & NAVIGATION
   ========================================================== */
.site-header {
    position: sticky; top: 0; left: 0; right: 0; z-index: 90;
    height: var(--header-h); transition: all 0.3s var(--ease-out);
}
.site-header.is-scrolled, .site-header.is-menu-open {
    background: rgba(3, 10, 20, 0.85);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: #FFF; }
.logo__icon { width: 34px; height: 34px; background: var(--gradient-primary); border-radius: var(--radius-sm); display: grid; place-items: center; color: #030A14; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 32px; }
.nav__item { position: relative; }
.nav__link {
    font-size: 0.9375rem; font-weight: 600; color: var(--text-body); transition: color 0.2s;
    display: flex; align-items: center; gap: 6px; padding-block: 10px;
}
.nav__link:hover { color: var(--accent-cyan); }

.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: rgba(6, 18, 33, 0.95); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); border-radius: var(--radius-md);
    padding: 10px 0; box-shadow: var(--glass-shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.25s var(--ease-out);
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__link {
    display: block; padding: 10px 20px; font-size: 0.875rem; font-weight: 500;
    color: var(--text-body); transition: all 0.2s;
}
.dropdown__link:hover { background: rgba(0, 210, 255, 0.1); color: var(--accent-cyan); }

.header-actions { display: none; align-items: center; gap: 12px; }
.menu-toggle { display: block; color: #FFF; padding: 8px; }
@media (min-width: 1024px) {
    .nav { display: block; }
    .header-actions { display: flex; }
    .menu-toggle { display: none; }
}

.mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 85;
    background: rgba(3, 10, 20, 0.96); backdrop-filter: var(--glass-blur);
    padding: 30px 20px; overflow-y: auto; opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: all 0.3s var(--ease-out);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__link {
    display: flex; align-items: center; justify-content: space-between;
    padding-block: 16px; font-size: 1.2rem; font-weight: 600; color: #FFF;
    border-bottom: 1px solid var(--glass-border);
}
.mobile-nav__sublink {
    display: block; padding: 10px 0 10px 16px; font-size: 1rem; color: var(--text-body);
}

/* ==========================================================
   3. GLOBAL FOOTER & STICKY UI
   ========================================================== */
.site-footer { border-top: 1px solid var(--glass-border); padding-top: 70px; padding-bottom: 40px; background: rgba(2, 6, 12, 0.95); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-title { font-family: var(--font-display); color: #FFF; font-size: 1.05rem; margin-bottom: 18px; }
.footer-link { color: var(--text-body); font-size: 0.9rem; display: block; margin-bottom: 10px; transition: color 0.2s; }
.footer-link:hover { color: var(--accent-cyan); }

.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; gap: 10px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 10, 20, 0.92); backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border); transform: translateY(110%); transition: transform 0.3s;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 46px; font-size: 0.875rem; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

.to-top {
    position: fixed; right: 20px; bottom: 80px; z-index: 79; width: 44px; height: 44px;
    border-radius: 50%; background: var(--glass-bg); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); color: #FFF; display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
@media (min-width: 768px) { .to-top { bottom: 28px; } }

/* ==========================================================
   4. COMMON OVERLAYS & DRAWERS (SEPET, ARAMA)
   ========================================================== */
.overlay-drawer {
    position: fixed; inset: 0; z-index: 100; background: rgba(2, 6, 12, 0.8);
    backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: all 0.3s var(--ease-out);
}
.overlay-drawer.is-open { opacity: 1; visibility: visible; }

/* Cart Drawer */
.cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 420px);
    background: rgba(6, 18, 33, 0.96); backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--glass-border-cyan); padding: 28px;
    display: flex; flex-direction: column; transform: translateX(100%);
    transition: transform 0.35s var(--ease-out); z-index: 101;
}
.overlay-drawer.is-open .cart-drawer { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--glass-border); }
.drawer-title { font-family: var(--font-display); font-size: 1.4rem; color: #FFF; }

.cart-items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.cart-item {
    display: flex; gap: 14px; padding: 14px; border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border);
}
.cart-item__img { width: 64px; height: 64px; border-radius: var(--radius-sm); background: rgba(0, 210, 255, 0.1); display: grid; place-items: center; color: var(--accent-cyan); }
.cart-item__title { font-size: 0.95rem; font-weight: 700; color: #FFF; }
.cart-item__price { font-size: 0.9rem; color: var(--accent-cyan); font-weight: 700; margin-top: 4px; }

.drawer-footer { padding-top: 20px; border-top: 1px solid var(--glass-border); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; color: #FFF; margin-bottom: 16px; }

/* Search Overlay Modal */
.search-modal {
    position: fixed; inset: 0; z-index: 105; background: rgba(2, 6, 12, 0.85);
    backdrop-filter: blur(15px); opacity: 0; visibility: hidden; transition: all 0.3s;
    display: grid; place-items: center; padding: 20px;
}
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-box {
    width: min(100%, 640px); background: rgba(8, 24, 43, 0.95);
    border: 1px solid var(--glass-border-cyan); border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--glass-shadow); position: relative;
}
.search-input-wrap { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--accent-cyan); padding-bottom: 10px; }
.search-input { width: 100%; background: none; border: 0; outline: 0; font-family: var(--font-display); font-size: 1.4rem; color: #FFF; }
/* ==========================================================
   SPACING UTILITY CLASSES (MARGIN & PADDING)
   ========================================================== */

/* --- MARGIN BOTTOM (mb) --- */
.mb-0 { margin-bottom: 0px !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mb-5 { margin-bottom: 32px !important; }

/* --- MARGIN TOP (mt) --- */
.mt-0 { margin-top: 0px !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.mt-5 { margin-top: 32px !important; }

/* --- MARGIN Y AXIS (my - Top & Bottom) --- */
.my-1 { margin-top: 4px !important; margin-bottom: 4px !important; }
.my-2 { margin-top: 8px !important; margin-bottom: 8px !important; }
.my-3 { margin-top: 16px !important; margin-bottom: 16px !important; }
.my-4 { margin-top: 24px !important; margin-bottom: 24px !important; }
.my-5 { margin-top: 32px !important; margin-bottom: 32px !important; }

/* --- PADDING BOTTOM (pb) --- */
.pb-1 { padding-bottom: 4px !important; }
.pb-2 { padding-bottom: 8px !important; }
.pb-3 { padding-bottom: 16px !important; }
.pb-4 { padding-bottom: 24px !important; }
.pb-5 { padding-bottom: 32px !important; }

/* --- PADDING TOP (pt) --- */
.pt-1 { padding-top: 4px !important; }
.pt-2 { padding-top: 8px !important; }
.pt-3 { padding-top: 16px !important; }
.pt-4 { padding-top: 24px !important; }
.pt-5 { padding-top: 32px !important; }

/* --- PADDING ALL (p) --- */
.p-0 { padding: 0px !important; }
.p-1 { padding: 4px !important; }
.p-2 { padding: 8px !important; }
.p-3 { padding: 16px !important; }
.p-4 { padding: 24px !important; }
.p-5 { padding: 32px !important; }

/* --- HELPER FLEX & ALIGNMENT --- */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }
.w-100 { width: 100% !important; }
.text-center { text-align: center !important; }

/* ==========================================================
   HIDROTEK EKLEMELERİ (yeni sistem)
   ========================================================== */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; }
.site-main--narrow { padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }

[hidden] { display: none !important; }

/* Arama penceresi sonuçları */
.search-mobile-btn { margin-left: auto; }
.search-mobile-btn + .search-mobile-btn { margin-left: 8px; }
@media (min-width: 1024px) { .search-mobile-btn { display: none; } }
.search-results { margin-top: 16px; display: grid; gap: 6px; max-height: min(60vh, 520px); overflow-y: auto; }
.search-results__empty { color: var(--text-body); font-size: .9rem; padding: 8px 4px; }
.search-hit { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius-sm); transition: background .2s; }
.search-hit:hover, .search-hit:focus-visible { background: rgba(0, 210, 255, .08); }
.search-hit img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.search-hit__text { display: grid; min-width: 0; }
.search-hit__cat { font-size: .72rem; color: var(--accent-cyan); text-transform: uppercase; letter-spacing: .06em; }
.search-hit__name { color: #FFF; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-hit__price { color: #FFF; font-weight: 700; font-family: var(--font-display); white-space: nowrap; }
.search-results__all { display: block; text-align: center; padding: 10px; color: var(--accent-cyan); font-weight: 700; font-size: .9rem; }

/* Panelden gelen içerik (ürün açıklaması, kategori metni, blog) */
.content-body { color: var(--text-body); line-height: 1.8; }
.content-body > * + * { margin-top: 1em; }
.content-body h2 { font-family: var(--font-display); color: #FFF; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; margin-top: 1.6em; }
.content-body h3 { font-family: var(--font-display); color: #FFF; font-size: 1.15rem; margin-top: 1.4em; }
.content-body h4 { color: #FFF; font-size: 1rem; }
.content-body strong { color: #E2E8F0; }
.content-body a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px; }
.content-body ul, .content-body ol { padding-left: 1.3em; }
.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body li + li { margin-top: .35em; }
.content-body img { border-radius: var(--radius-sm); height: auto; }
.content-body blockquote { border-left: 3px solid var(--accent-cyan); padding-left: 1em; color: #CBD5E1; }
.content-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.content-body th, .content-body td { border: 1px solid var(--glass-border); padding: 8px 10px; text-align: left; }
.content-body iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); }

/* Sık sorulan sorular bloğu */
.faq-block { margin: 40px 0 90px; display: grid; gap: 12px; }
.faq-block__title { font-family: var(--font-display); color: #FFF; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 8px; }
.faq-block__item { padding: 0; border-radius: var(--radius-md); }
.faq-block__item summary { cursor: pointer; padding: 18px 22px; color: #FFF; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-block__item summary::-webkit-details-marker { display: none; }
.faq-block__item summary::after { content: "+"; color: var(--accent-cyan); font-size: 1.3rem; line-height: 1; }
.faq-block__item[open] summary::after { content: "−"; }
.faq-block__answer { padding: 0 22px 18px; color: var(--text-body); line-height: 1.7; }
.tab-content .faq-block { margin: 0; }
.tab-content .faq-block__title { font-size: 1.15rem; }
.search-input:focus-visible { outline: none; } /* altındaki çizgi odak göstergesi */

/* Çerez penceresi: köşede küçük kart */
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 1200; width: min(360px, calc(100% - 32px)); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.cookie-bar.is-open { opacity: 1; transform: none; }
.cookie-bar__box { padding: 16px 18px; border-radius: var(--radius-md); background: rgba(6, 18, 33, 0.96); border: 1px solid var(--glass-border-cyan); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); }
.cookie-bar__title { font-family: var(--font-display); font-size: 0.95rem; margin: 0 0 6px; color: #FFF; }
.cookie-bar__desc { font-size: 0.8rem; line-height: 1.5; margin: 0 0 12px; color: var(--text-body); }
.cookie-bar__desc a { color: var(--accent-cyan); text-decoration: underline; white-space: nowrap; }
.cookie-bar__prefs { display: grid; gap: 6px; margin-bottom: 12px; }
.cookie-opt { display: flex; gap: 8px; align-items: flex-start; font-size: 0.78rem; color: var(--text-body); cursor: pointer; }
.cookie-opt input { margin-top: 2px; accent-color: var(--accent-cyan); width: 15px; height: 15px; flex: none; }
.cookie-bar__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-btn { min-height: 34px; padding: 0 14px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; color: #FFF; background: rgba(255,255,255,.06); border: 1px solid var(--glass-border); }
.cookie-btn:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.cookie-btn--primary { background: var(--gradient-primary); color: #030A14; border-color: transparent; }
.cookie-btn--primary:hover { color: #030A14; filter: brightness(1.08); }
.cookie-btn:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
@media (max-width: 767px) {
    .cookie-bar { left: 8px; bottom: 8px; width: calc(100% - 16px); }
    .cookie-bar__box { padding: 12px 14px; }
    .cookie-bar[data-mode="info"] .cookie-bar__box { display: flex; align-items: center; gap: 12px; }
    .cookie-bar[data-mode="info"] .cookie-bar__title { display: none; }
    .cookie-bar[data-mode="info"] .cookie-bar__desc { margin: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }

/* Arka plan ışıklarının mobilde yatay kaydırma oluşturmasını engeller (iOS dahil) */
html, body { overflow-x: clip; }

/* Mağaza bildirimleri (sepet, ödeme, hesabım) */
.store-alerts { display: grid; gap: 10px; margin-bottom: 24px; }
.store-alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; border: 1px solid; }
.store-alert--success { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.35); color: #6EE7B7; }
.store-alert--error { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.4); color: #FCA5A5; }
.store-alert--warning { background: rgba(234, 179, 8, 0.1); border-color: rgba(234, 179, 8, 0.35); color: #FDE68A; }

/* Başlıktaki sepet sayacı */
.badge-count[data-count="0"] { display: none; }
/* Mobilde ışıklar ekrandan taşıp sayfa genişliğini büyütmesin (telefonda sayfa küçülmüş görünüyordu) */
.glow-sphere { max-width: 80vw; max-height: 80vw; }

/* Giriş yapmış müşteri: kullanıcı ikonunda küçük işaret */
.icon-btn.is-signed-in::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 9px; height: 9px; border-radius: 50%; background: #34D399; border: 2px solid #030A14; }

/* Acil durum modu (Panel → Sistem → Acil durum) */
.emergency-bar { background: #F59E0B; color: #1A1200; font-size: 0.88rem; line-height: 1.4; padding: 9px 0; position: relative; z-index: 95; }
.emergency-bar .container { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: center; text-align: center; }
.emergency-bar a { color: #1A1200; font-weight: 700; text-decoration: underline; }

/* ==========================================================
   F9 — LOGO, FOOTER, İLETİŞİM BUTONLARI
   ========================================================== */
.logo { gap: 10px; line-height: 1; }
.logo__mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 4px 12px rgba(0,210,255,.35)); }
.logo__text { display: flex; flex-direction: column; gap: 3px; }
.logo__word { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; color: #FFF; }
.logo__sub { font-family: var(--font-main); font-weight: 800; font-size: .62rem; letter-spacing: .32em; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo__img { display: block; height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.logo--footer { margin-bottom: 16px; }

.site-footer { padding-top: 56px; }
.footer-cta { display: grid; gap: 20px; align-items: center; padding: 28px 30px; margin-bottom: 52px; border-radius: var(--radius-lg); border: 1px solid var(--glass-border-cyan); background: linear-gradient(120deg, rgba(0,114,255,.16), rgba(0,210,255,.06)); }
.footer-cta__title { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: #FFF; letter-spacing: -0.02em; margin-bottom: 6px; }
.footer-cta p { color: var(--text-body); font-size: .95rem; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta__actions .icon { width: 18px; height: 18px; }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1fr auto; } }
.footer-grid { grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand__text { font-size: .9rem; color: var(--text-body); max-width: 34ch; margin-bottom: 18px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; font-size: .9rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-body); }
.footer-contact .icon { width: 18px; height: 18px; flex: none; color: var(--accent-cyan); margin-top: 1px; }
.footer-contact a { color: #FFF; }
.footer-contact a:hover { color: var(--accent-cyan); }
.footer-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--glass-border); color: #FFF; transition: border-color .2s, color .2s, background .2s; }
.footer-social a:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); background: rgba(0,210,255,.08); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-link--btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; text-align: left; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--glass-border); padding-top: 22px; font-size: .82rem; color: var(--text-muted); }
.footer-pay { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-pay li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border: 1px solid var(--glass-border); border-radius: 8px; color: var(--text-body); font-weight: 600; font-size: .78rem; }
.footer-pay .icon { width: 14px; height: 14px; color: var(--accent-cyan); }

.contact-fab { position: fixed; left: 18px; bottom: 18px; z-index: 78; display: flex; flex-direction: column; gap: 12px; }
.contact-fab__btn { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #FFF; box-shadow: 0 12px 26px -10px rgba(0,0,0,.7); transition: transform .2s; }
.contact-fab__btn:hover { transform: scale(1.06); }
.contact-fab__btn:focus-visible { outline: 2px solid #FFF; outline-offset: 3px; }
.contact-fab__btn .icon { width: 26px; height: 26px; }
.contact-fab__btn--wa { background: #1EA952; }
.contact-fab__btn--wa .icon { stroke: none; }
.contact-fab__btn--call { background: var(--gradient-primary); color: #030A14; }
.contact-fab__tip { position: absolute; left: calc(100% + 10px); top: 50%; transform: translate(-4px, -50%); padding: 6px 12px; border-radius: 8px; background: #FFF; color: #030A14; font-size: .82rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.contact-fab__btn:hover .contact-fab__tip, .contact-fab__btn:focus-visible .contact-fab__tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 560px) { .contact-fab { left: 12px; bottom: 14px; gap: 10px; } .contact-fab__btn { width: 48px; height: 48px; } .contact-fab__tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .contact-fab__btn, .contact-fab__tip { transition: none; } }

/* Sol alttaki butonlar ve yukarı çık butonu sayfa sonundaki yazıları örtmesin */
body:has(.contact-fab) .site-footer { padding-bottom: 140px; }

/* ==========================================================
   F9e — header logosu, Anasayfa linki, çerez balonu
   ========================================================== */
.site-header .logo__img { height: 60px; max-width: 240px; }
.site-header .logo__mark { width: 48px; height: 48px; }
@media (max-width: 767px) {
    .site-header .logo__img { height: 44px; max-width: 180px; }
    .site-header .logo__mark { width: 38px; height: 38px; }
}
.nav__link[aria-current="page"] { color: #FFF; }
.mobile-nav__link[aria-current="page"] { color: var(--accent-cyan); }
/* Çerez balonu sağ altta: sol alttaki WhatsApp/telefon butonlarını kapatmasın */
.cookie-bar { left: auto; right: 16px; z-index: 99; } /* sepet çekmecesi ve pencerelerin (100+) altında kalsın */
html.has-cookie-bar .to-top { bottom: calc(var(--cookie-h, 0px) + 32px); }
@media (max-width: 767px) {
    .cookie-bar { right: 16px; left: 16px; width: auto; bottom: 12px; }
    html.has-cookie-bar .contact-fab { bottom: calc(var(--cookie-h, 0px) + 24px); transition: bottom .25s; }
}
