/* ─── Apple-style Design System ─────────────────────────────────────── */

:root {
    --bg: #fbfbfd;
    --surface: #fff;
    --text: #1d1d1f;
    --muted: #86868b;
    --accent: #0071e3;
    --border: rgba(0, 0, 0, .08);
    --radius: 18px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);

    --bs-primary: var(--accent);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
    --bs-border-radius: var(--radius);
    --bs-card-border-color: var(--border);
    --bs-card-bg: var(--surface);
}

[data-theme="dark"] {
    --bg: #000;
    --surface: #1d1d1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #2997ff;
    --border: rgba(255, 255, 255, .1);
    --shadow: 0 1px 3px rgba(0, 0, 0, .5);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
}

/* ─── Base ───────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', var(--bs-font-sans-serif);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background .3s cubic-bezier(.4, 0, .2, 1), color .3s cubic-bezier(.4, 0, .2, 1);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .25s cubic-bezier(.4, 0, .2, 1);
}

a:hover { color: var(--accent); opacity: .8; }

img { max-width: 100%; display: block; }

/* ─── Glass effect ───────────────────────────────────────────────────── */

.glass {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--border);
}

[data-theme="dark"] .glass {
    background: rgba(0, 0, 0, .6);
}

/* ─── Bootstrap overrides ────────────────────────────────────────────── */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

[data-theme="dark"] .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .6), 0 16px 40px rgba(0, 0, 0, .7);
}

.card-body { padding: 1.75rem; }

.btn {
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: -.01em;
    padding: .55rem 1.4rem;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1), background .2s, border-color .2s;
}

.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.98); }

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 999px;
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    opacity: .88;
    box-shadow: 0 4px 16px rgba(0, 113, 227, .35);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(41, 151, 255, .4);
}

.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
    border-radius: 999px;
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.02);
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: 999px;
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--muted);
    color: var(--text);
    transform: scale(1.02);
}

/* ─── Form controls ──────────────────────────────────────────────────── */

.form-control,
.form-select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    transition: border-color .25s, box-shadow .25s;
}

.form-control:focus,
.form-select:focus {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, .15);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    box-shadow: 0 0 0 3px rgba(41, 151, 255, .2);
}

.form-control::placeholder { color: var(--muted); }

/* ─── Navbar ─────────────────────────────────────────────────────────── */

.navbar {
    background: rgba(255, 255, 255, .8) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, .75) !important;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text) !important;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 400;
    opacity: .85;
    transition: opacity .2s;
    border-radius: 8px;
    padding: .4rem .75rem !important;
}

.nav-link:hover { opacity: 1; background: var(--border); }
.nav-link.active { opacity: 1; font-weight: 600; }

/* ─── Dropdown ───────────────────────────────────────────────────────── */

.dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: .5rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.dropdown-item {
    color: var(--text);
    border-radius: 8px;
    padding: .45rem .85rem;
    font-size: .9375rem;
    transition: background .15s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--bg);
    color: var(--text);
}

/* ─── Section / Container helpers ───────────────────────────────────── */

section {
    padding: 5rem 0;
}

.section-sm { padding: 3rem 0; }
.section-lg { padding: 8rem 0; }

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ─── Typography ─────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.375rem, 2.5vw, 2rem); }
h4 { font-size: 1.375rem; }

p { line-height: 1.75; }

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

/* ─── Hero ───────────────────────────────────────────────────────────── */

.hero {
    padding: 7rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 113, 227, .12) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(41, 151, 255, .15) 0%, transparent 70%);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--muted);
    max-width: 640px;
    margin: 1.25rem auto 2.5rem;
    line-height: 1.6;
}

/* ─── Product card ───────────────────────────────────────────────────── */

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .12) !important;
    transform: translateY(-4px);
}

.product-card img {
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover img { transform: scale(1.04); }

/* ─── Category card ──────────────────────────────────────────────────── */

.category-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1);
}

.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14) !important;
}

/* ─── Badge ──────────────────────────────────────────────────────────── */

.badge {
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: .01em;
    padding: .35em .75em;
}

.badge-accent {
    background: rgba(0, 113, 227, .1);
    color: var(--accent);
}

[data-theme="dark"] .badge-accent {
    background: rgba(41, 151, 255, .15);
}

/* ─── Blog ───────────────────────────────────────────────────────────── */

.blog-content h1,
.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.blog-content p { line-height: 1.85; }

.blog-content img { border-radius: 14px; margin: 1.5rem 0; }

.blog-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Prose ──────────────────────────────────────────────────────────── */

.prose img { border-radius: 14px; }

/* ─── Footer ─────────────────────────────────────────────────────────── */

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 2rem;
    color: var(--muted);
    font-size: .9375rem;
}

footer a { color: var(--muted); transition: color .2s; }
footer a:hover { color: var(--text); }

/* ─── Divider ────────────────────────────────────────────────────────── */

hr {
    border: none;
    border-top: 1px solid var(--border);
    opacity: 1;
}

/* ─── Scrollbar (webkit) ─────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ─── Utilities ──────────────────────────────────────────────────────── */

.surface { background: var(--surface); }
.bg-surface { background: var(--surface) !important; }
.text-accent { color: var(--accent) !important; }
.border-subtle { border-color: var(--border) !important; }
.radius { border-radius: var(--radius) !important; }
.radius-sm { border-radius: 10px !important; }
.radius-xs { border-radius: 6px !important; }
.shadow-card { box-shadow: var(--shadow) !important; }

/* ─── Alert ──────────────────────────────────────────────────────────── */

.alert {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
}

/* ─── Table ──────────────────────────────────────────────────────────── */

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

.table > :not(caption) > * > * {
    background-color: transparent;
    border-bottom-color: var(--border);
    color: var(--text);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(0, 0, 0, .02);
    color: var(--text);
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, .03);
}

/* ─── Modal ──────────────────────────────────────────────────────────── */

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.modal-header {
    border-bottom-color: var(--border);
}

.modal-footer {
    border-top-color: var(--border);
}

/* ─── Pagination ─────────────────────────────────────────────────────── */

.page-link {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: 8px !important;
    margin: 0 2px;
    transition: background .2s, color .2s;
}

.page-link:hover {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
}

.page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
}

/* ─── Responsive grid helpers ────────────────────────────────────────── */

@media (max-width: 575.98px) {
    section { padding: 3rem 0; }
    .hero { padding: 4rem 0 3rem; }
    .card-body { padding: 1.25rem; }
    h1 { letter-spacing: -.03em; }
}

@media (max-width: 767.98px) {
    .section-lg { padding: 5rem 0; }
    .navbar .btn { display: none; }
}

@media (min-width: 992px) {
    .hero { padding: 9rem 0 7rem; }
}

/* ─── Smooth page transition ─────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.4, 0, .2, 1);
    }

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ─── Floating Header ────────────────────────────────────────────────── */

:root { --header-h: 64px; --ann-h: 0px; }
@media (min-width: 992px) { :root { --header-h: 80px; } }

/* --ann-h: header üstü duyuru çubuğu yüksekliği. Çubuk yoksa 0 (DuyuruCubugu bileşeni aktifken
   :root'u 44px'e çeker; kapatılınca JS 0'a döndürür). Header ve body bu değişkenle kayar. */
body { padding-top: calc(var(--header-h) + var(--ann-h)); }

.site-header-float {
    position: fixed;
    top: var(--ann-h);
    left: 0;
    right: 0;
    z-index: 1040;
    padding-top: 8px;
}

.site-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    border-radius: 24px;
    border: 1px solid transparent;
    transition: background .35s cubic-bezier(.4,0,.2,1), border-color .35s, backdrop-filter .35s;
}


/* Scroll'da siyah buzlu şerit — beyaz logo/yazılar her zeminde okunur */
.site-header-float.scrolled .site-header-inner {
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(255,255,255,.1);
}

/* Scroll'da tüm header içeriği beyaz (siyah zemin üstünde) */
.site-header-float.scrolled .site-header-link,
.site-header-float.scrolled .site-header-icon,
.site-header-float.scrolled .site-ai-search-trigger,
.site-header-float.scrolled .site-header-burger { color: #fff; }
.site-header-float.scrolled .site-header-link:hover { color: #fff; }
.site-header-float.scrolled .site-header-icon:hover,
.site-header-float.scrolled .site-header-burger:hover { background: rgba(255,255,255,.18); }
.site-header-float.scrolled .site-ai-search-trigger { background: rgba(255,255,255,.14); }
.site-header-float.scrolled .site-ai-search-trigger:hover { background: rgba(255,255,255,.24); color: #fff; }
.site-header-float.scrolled .site-header-cart-badge { background: #fff; color: #111; }
.site-header-float.scrolled .site-header-logo img { filter: brightness(0) invert(1); }
.site-header-float.scrolled .site-header-logo span { color: #fff !important; }
.site-header-float.scrolled .site-header-mobile-link { color: rgba(255,255,255,.85); }
.site-header-float.scrolled .site-header-mobile-link:hover { color: #fff; }

[data-theme="dark"] .site-header-float.scrolled .site-header-inner {
    background: rgba(0,0,0,.6);
}

/* Mobil menü açıkken: scroll'daki siyah buzlu şeritle aynı zemin —
   panel şeffaf kalmasın, her sayfa zemininde okunsun */
.site-header-float.menu-acik .site-header-inner {
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(255,255,255,.1);
}
.site-header-float.menu-acik .site-header-link,
.site-header-float.menu-acik .site-header-icon,
.site-header-float.menu-acik .site-ai-search-trigger,
.site-header-float.menu-acik .site-header-burger { color: #fff; }
.site-header-float.menu-acik .site-header-icon:hover,
.site-header-float.menu-acik .site-header-burger:hover { background: rgba(255,255,255,.18); }
.site-header-float.menu-acik .site-ai-search-trigger { background: rgba(255,255,255,.14); }
.site-header-float.menu-acik .site-header-cart-badge { background: #fff; color: #111; }
.site-header-float.menu-acik .site-header-logo img { filter: brightness(0) invert(1); }
.site-header-float.menu-acik .site-header-logo span { color: #fff !important; }
.site-header-float.menu-acik .site-header-mobile-link {
    color: rgba(255,255,255,.85);
    border-bottom-color: rgba(255,255,255,.12);
}
.site-header-float.menu-acik .site-header-mobile-link:hover { color: #fff; }
.site-header-float.menu-acik .site-header-mobile-panel.open { border-top-color: rgba(255,255,255,.12); }

.site-header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: .75rem 0;
    transition: padding .2s cubic-bezier(.4,0,.2,1);
}

@media (min-width: 992px) {
    .site-header-row { padding: 1.375rem 0; gap: 1.5rem; }
    .site-header-float.scrolled .site-header-row { padding: .875rem 0; }
}

.site-header-logo { flex-shrink: 0; text-decoration: none !important; margin: 0 1rem; }
/* Logo doğal oranında ölçeklenir (height:auto); taşmasın diye genişlik sınırı var.
   Logo dosyası beyaz: açık zeminde siyaha filtrelenir; hero üstünde ve scroll'da
   invert kurallarıyla beyaza döner (tek renk logo varsayımı). */
.site-header-logo img { height: auto; max-width: min(220px, 45vw); display: block; filter: brightness(0); }

.site-header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.site-header-link {
    font-size: .75rem;
    letter-spacing: .12em;
    color: var(--text);
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity .15s;
}
.site-header-link:hover { color: var(--text); opacity: .55; }

/* Header bölgeleri: sol (AI arama) | orta (menü-logo-menü) | sağ (hesap+sepet) */
.site-header-zone-sol { justify-self: start; display: flex; align-items: center; }
.site-header-zone-sag { justify-self: end; display: flex; align-items: center; gap: .5rem; }

.site-header-center {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 2rem;
    min-width: 0;
}
@media (max-width: 991.98px) { .site-header-center { gap: 0; } }

/* Hesabım / Sepetim ikon linkleri */
.site-header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text);
    transition: background .15s ease;
}
.site-header-icon:hover { background: var(--border); color: var(--text); }

/* Sepet rozeti: iki temada otomatik kontrast (metin rengi zemin, zemin rengi rakam) */
.site-header-cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--text);
    color: var(--bg);
    font-size: .625rem;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

.site-header-burger {
    background: none;
    border: none;
    padding: .25rem .375rem;
    cursor: pointer;
    color: var(--text);
    line-height: 1;
    border-radius: 6px;
}
.site-header-burger:hover { background: var(--border); }

.site-header-mobile-panel {
    overflow: hidden;
    max-height: 0;
    border-top: 1px solid transparent;
    transition: max-height .35s cubic-bezier(.4,0,.2,1), border-color .35s;
}
.site-header-mobile-panel.open {
    max-height: 640px;
    border-top-color: var(--border);
}

.site-header-mobile-menu {
    list-style: none;
    padding: .75rem 0 .25rem;
    margin: 0;
}
.site-header-mobile-link {
    display: block;
    color: var(--text);
    font-size: .9375rem;
    padding: .625rem 0;
    text-decoration: none !important;
    border-bottom: 1px solid var(--border);
    transition: opacity .15s;
}
.site-header-mobile-link:hover { color: var(--text); opacity: .55; }

.site-header-mobile-auth { padding: .75rem 0 .25rem; }

/* ─── Hero v2 (video / image background) ────────────────────────────── */

.hero-v2 {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5rem;
    min-height: 100vh;
}

@media (min-width: 768px)  { .hero-v2 { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 7rem; } }
@media (min-width: 992px)  { .hero-v2 { padding-top: calc(var(--header-h) + 10rem); padding-bottom: 9rem; } }

/* Nov Costica: tam kenardan kenara (full-bleed) medya — çerçeve/radius yok */
.hero-v2-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-v2-bg video {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.hero-v2-bg img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.hero-v2-content {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 992px) { .hero-v2-content { padding: 0 3rem; } }

.hero-v2-text { max-width: 42rem; text-align: center; margin: 0 auto; }
@media (min-width: 992px) { .hero-v2-text { text-align: left; margin: 0; max-width: 100%; } }

.hero-v2-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.05;
    max-width: 32rem;
    margin: 0 auto 2rem;
    color: var(--text);
}
@media (min-width: 992px) { .hero-v2-h1 { margin: 0 0 2rem; } }

.hero-v2-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}
@media (min-width: 992px) { .hero-v2-lead { margin: 0 0 2.5rem; } }

.hero-v2-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin-bottom: 0;
}
@media (min-width: 576px) { .hero-v2-btns { flex-direction: row; justify-content: center; } }
@media (min-width: 992px) { .hero-v2-btns { justify-content: flex-start; } }

/* ─── Hero caption — Nov Costica tarzı: sola dayalı, dikey ortalı, beyaz ── */

.hero-caption {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    pointer-events: none; /* carousel oklarını/medyayı engellemesin; buton aşağıda geri açılır */
}

.hero-caption-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    color: #fff;
    text-align: left;
}
@media (min-width: 992px) { .hero-caption-inner { padding: 0 3rem; } }

.hero-caption-eyebrow {
    /* BÜYÜK HARF Razor'da kültürle yapılır — text-transform Türkçe i→İ'yi bozduğu için yok */
    font-size: .75rem;
    letter-spacing: .3em;
    margin: 0 0 1rem;
}

.hero-caption-title {
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.08;
    color: #fff;
    max-width: 40rem;
    margin: 0 0 1.25rem;
}

.hero-caption-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 34rem;
    margin: 0 0 2rem;
}

/* Costica butonu: sistem ana rengi (--accent, Ayarlar → Görünüm paletinden) + ↗ ok ikonu;
   hover'da renk sabit kalır, hafif saydamlaşır ve ok düzleşir */
.hero-caption-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--accent);
    color: #fff !important;
    font-size: .875rem;
    font-weight: 500;
    padding: .7rem 1.8rem;
    border-radius: 8px;
    text-decoration: none !important;
    pointer-events: auto;
    transition: opacity .25s ease;
}
/* Hover'da çapraz ok (↗) yumuşak geçişle düzleşir (→).
   translateZ(0) + backface-visibility: dönüş sırasındaki alt-piksel titremesini önler. */
.hero-caption-btn svg {
    transform: translateZ(0);
    transform-origin: center;
    backface-visibility: hidden;
    transition: transform .3s ease;
}
.hero-caption-btn:hover { opacity: .82; color: #fff !important; }
.hero-caption-btn:hover svg { transform: rotate(45deg) translateZ(0); }

/* Slider noktaları: sol altta, içerikle aynı hizada (Costica) */
.hero-dots {
    justify-content: flex-start;
    margin: 0 0 1.5rem;
    padding-left: max(1.5rem, calc((100% - 1440px) / 2 + 1.5rem));
}
@media (min-width: 992px) {
    .hero-dots { padding-left: max(3rem, calc((100% - 1440px) / 2 + 3rem)); }
}
.hero-dots [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    margin: 0 4px 0 0;
    background: #fff;
    opacity: .45;
    transition: opacity .2s ease;
}
.hero-dots .active { opacity: 1; }

/* ─── Anasayfa 2'li Banner (Costica) ─────────────────────────────────── */

/* Costica mozaik düzeni: hero'nun hemen altında, kenarlarda ve arada ince
   eşit boşluk (.75rem), köşeleri yuvarlatılmış tam genişlik bannerlar. */
.ikili-banner-section { padding: .75rem 0; }

.ikili-banner-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    padding: 0 .75rem;
}
@media (max-width: 991.98px) { .ikili-banner-wrap { grid-template-columns: 1fr; } }

.ikili-banner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.ikili-banner .ikili-banner-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
@media (max-width: 991.98px) { .ikili-banner .ikili-banner-img { aspect-ratio: 3 / 2; } }
.ikili-banner:hover .ikili-banner-img { transform: scale(1.05); }

/* Yazı okunurluğu: soldan sağa incelen koyu degrade */
.ikili-banner-golge {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.08) 55%, transparent 100%);
    pointer-events: none;
}

.ikili-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    color: #fff;
}
@media (min-width: 992px) { .ikili-banner-content { padding: 3rem 3.5rem; } }

.ikili-banner-eyebrow {
    /* BÜYÜK HARF Razor'da kültürle yapılır */
    font-size: .75rem;
    letter-spacing: .28em;
    opacity: .9;
    margin: 0 0 .75rem;
}

.ikili-banner-title {
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.08;
    color: #fff;
    max-width: 40rem;
    margin: 0 0 1.25rem;
}

.ikili-banner-desc {
    font-size: .9375rem;
    line-height: 1.6;
    opacity: .92;
    max-width: 24rem;
    margin: 0 0 1.5rem;
}

/* ─── 2'li Yazı-Resim Banner: sol %60 koyu yazı paneli, sağ %40 görsel ── */

.yazi-resim-banner-section { padding: .75rem 0; }

/* Öne Çıkan Ürünler bölümüyle aynı hiza: aynı konteyner ölçüleri */
.yazi-resim-banner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    padding: 0 1.5rem;
}
@media (min-width: 992px) { .yazi-resim-banner { padding: 0 3rem; } }
@media (max-width: 991.98px) { .yazi-resim-banner { grid-template-columns: 1fr; } }

.yr-banner-sol {
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2.5rem;
    color: var(--text);
    min-height: 380px;
}
@media (min-width: 992px) { .yr-banner-sol { padding: 4rem 3.5rem 4rem 0; } }

/* Açık zeminde renk uyumu: başlık koyu, etiket ve açıklama gri */
.yr-banner-sol .ikili-banner-title { color: var(--text); }
.yr-banner-sol .ikili-banner-eyebrow { color: var(--muted); opacity: 1; }
.yr-banner-sol .ikili-banner-desc { color: var(--muted); opacity: 1; }

.yr-banner-sag {
    border-radius: 8px;
    overflow: hidden;
    min-height: 280px;
}
.yr-banner-sag picture { display: block; height: 100%; }
.yr-banner-sag .yr-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Kategori ürün bölümleri (Costica "New Arrivals") ───────────────── */

.kat-urun-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
@media (min-width: 992px) { .kat-urun-section { padding: 3.5rem 3rem; } }

.kat-urun-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Ayna bölüm (2. kategori): buton solda, başlık + alt başlık sağda sağa yaslı */
.kat-urun-head-ters { flex-direction: row-reverse; }
.kat-urun-head-ters > div { text-align: right; }

/* Yanda görsel + ürün şeridi: 1. bölümde görsel solda, 2. bölümde sağda */
.kat-urun-govde {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    gap: 1rem;
    align-items: stretch;
}
.kat-urun-govde.resim-sagda { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); }
.kat-urun-govde.resim-sagda .kat-urun-gorsel { order: 2; }
@media (max-width: 991.98px) {
    .kat-urun-govde,
    .kat-urun-govde.resim-sagda { grid-template-columns: 1fr; }
    .kat-urun-govde.resim-sagda .kat-urun-gorsel { order: 0; }
}

.kat-urun-gorsel {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    min-height: 320px;
}
.kat-urun-gorsel picture { display: block; height: 100%; }
.kat-urun-gorsel .kat-urun-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.kat-urun-gorsel:hover .kat-urun-img { transform: scale(1.04); }

/* Bu şeritte 3 kart görünür (ana carousel'deki 5 yerine) */
.kat-urun-serit .urun-kart { flex-basis: calc((100% - 2rem) / 3); }
@media (max-width: 767.98px) { .kat-urun-serit .urun-kart { flex-basis: calc((100% - 1rem) / 2); } }

/* ─── Blog bölümü (Costica): 1 büyük + 1 yan + 3 alt kart ────────────── */

.blog-costica-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
@media (min-width: 992px) { .blog-costica-section { padding: 3.5rem 3rem; } }

.blog-costica-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 991.98px) { .blog-costica-grid { grid-template-columns: 1fr; } }

.blog-kart {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
}

.blog-kart-gorsel { display: block; overflow: hidden; }
.blog-kart-gorsel picture { display: block; height: 100%; }
.blog-kart-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.blog-kart:hover .blog-kart-img { transform: scale(1.04); }

/* Krem yazı paneli */
.blog-kart-govde {
    background: #f5f5f6;
    padding: 1.5rem 1.75rem;
    flex: 1;
}

.blog-kart-baslik {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.35;
    margin: 0 0 .75rem;
}
.blog-kart-baslik a { color: var(--text); text-decoration: none !important; }
.blog-kart-baslik a:hover { color: var(--text); opacity: .7; }

.blog-kart-meta { font-size: .875rem; color: var(--muted); }
.blog-kart-yazar { color: var(--text); font-weight: 600; }
.blog-kart-ayrac { margin: 0 .5rem; }

/* Büyük (öne çıkan) kart: 2 kolon genişlik; görsel sol | yazı paneli sağ */
.blog-kart-buyuk {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.blog-kart-buyuk .blog-kart-img { aspect-ratio: auto; min-height: 320px; }
.blog-kart-buyuk .blog-kart-govde {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 3rem;
}
.blog-kart-baslik-buyuk { font-size: clamp(1.25rem, 2vw, 1.75rem); margin-bottom: 1rem; }
.blog-kart-ozet {
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 0 1.5rem;
}
.blog-kart-meta-dikey { display: flex; flex-direction: column; gap: .25rem; }
@media (max-width: 991.98px) {
    .blog-kart-buyuk { grid-column: auto; grid-template-columns: 1fr; }
    .blog-kart-buyuk .blog-kart-img { aspect-ratio: 4 / 3; min-height: 0; }
    .blog-kart-buyuk .blog-kart-govde { padding: 1.5rem 1.75rem; }
}

/* ─── Öne Çıkan Ürünler carousel'i (Costica) ─────────────────────────── */

.urun-carousel-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
@media (min-width: 992px) { .urun-carousel-section { padding: 5rem 3rem; } }

.urun-carousel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.urun-carousel-baslik {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 0 .5rem;
    color: var(--text);
}

.urun-carousel-alt {
    font-size: .9375rem;
    color: var(--muted);
    margin: 0;
}

.urun-carousel-oklar { display: flex; gap: .25rem; flex-shrink: 0; }

.urun-carousel-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--text);
    cursor: pointer;
    transition: background .15s ease;
}
.urun-carousel-ok:hover { background: var(--border); }

/* Yatay şerit: scroll-snap, kaydırma çubuğu gizli */
.urun-carousel-serit {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
}
.urun-carousel-serit::-webkit-scrollbar { display: none; }

.urun-kart {
    position: relative;
    flex: 0 0 calc((100% - 4rem) / 5);
    min-width: 0; /* flex min-content taşmasını engelle — 5 kart TAM sığar */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1rem 1rem;
    text-align: center;
}
@media (max-width: 1199.98px) { .urun-kart { flex-basis: calc((100% - 3rem) / 4); } }
@media (max-width: 991.98px)  { .urun-kart { flex-basis: calc((100% - 2rem) / 3); } }
@media (max-width: 767.98px)  { .urun-kart { flex-basis: calc((100% - 1rem) / 2); } }

.urun-kart-rozet {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: #e02b2b;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .5rem;
    border-radius: 3px;
}

.urun-kart-gorsel {
    display: block;
    height: 240px;
    margin-bottom: 1rem;
}
.urun-kart-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.urun-kart-yildizlar {
    color: #cfcfd2;
    font-size: .875rem;
    letter-spacing: .35em;
    margin-bottom: .5rem;
}

.urun-kart-ad {
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0 0 .5rem;
}
.urun-kart-ad a { color: var(--text); text-decoration: none !important; }
.urun-kart-ad a:hover { color: var(--text); opacity: .7; }

.urun-kart-fiyat { margin-bottom: 1rem; font-size: .9375rem; }
.urun-kart-fiyat-guncel { font-weight: 600; color: var(--text); }
.urun-kart-fiyat-eski { color: #d98a8a; margin-left: .5rem; font-size: .875rem; }

.urun-kart-form { margin-top: auto; }
.urun-kart-btn {
    width: 100%;
    border: 0;
    background: #f5f5f6;
    color: var(--text);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    padding: .8rem 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    margin-top: auto;
}
.urun-kart-btn:hover:not(:disabled) { background: #1d1d1f; color: #fff; }
.urun-kart-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ─── Footer (Costica): krem zemin, 3 kolon ──────────────────────────── */

.footer-costica {
    background: #f5f5f6;
    color: var(--text);
    padding: 4rem 0 2rem;
}

.footer-costica-ic {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 992px) { .footer-costica-ic { padding: 0 3rem; } }

.footer-costica-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 991.98px) { .footer-costica-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.footer-baslik {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.25rem;
}

.footer-satir { font-size: .9375rem; line-height: 1.6; margin: 0 0 1rem; }
.footer-satir a { color: var(--text); text-decoration: none; }
.footer-satir a:hover { color: var(--text); opacity: 1; }

.footer-sosyal { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-sosyal a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.footer-sosyal a:hover { background: #1d1d1f; color: #fff; opacity: 1; }

/* Orta kolon: logo + kısa yazı + menü */
.footer-col-orta { text-align: center; }
.footer-logo { max-height: 44px; width: auto; margin: 0 auto; display: inline-block; }
.footer-logo-yazi { font-size: 1.375rem; font-weight: 700; letter-spacing: .1em; color: var(--text); }
.footer-orta-yazi {
    max-width: 26rem;
    margin: 1.25rem auto 1.75rem;
    font-size: .9375rem;
    line-height: 1.7;
}
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem; }
.footer-menu a {
    /* BÜYÜK HARF Razor'da kültürle yapılır */
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--text);
    text-decoration: none;
}
.footer-menu a:hover { color: var(--text); opacity: .6; }

/* Sağ kolon: bülten */
.footer-col-bulten { text-align: right; }
@media (max-width: 991.98px) { .footer-col-bulten { text-align: left; } }

.footer-bulten-form {
    position: relative;
    display: flex;
    gap: .5rem;
    background: #fff;
    border-radius: 8px;
    padding: .5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    margin-top: 1.5rem;
}
.footer-bulten-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: none;
    padding: .6rem .9rem;
    font-size: .9375rem;
    color: var(--text);
}
.footer-bulten-input::placeholder { color: rgba(29, 29, 31, .55); }
.footer-bulten-btn {
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: .9375rem;
    font-weight: 600;
    padding: .65rem 1.75rem;
    cursor: pointer;
    transition: opacity .2s ease;
}
.footer-bulten-btn:hover:not(:disabled) { opacity: .82; }
.footer-bulten-btn:disabled { opacity: .7; cursor: wait; }
.footer-bulten-sonuc { margin-top: .75rem; font-size: .875rem; }

.footer-cizgi { border: 0; border-top: 1px solid rgba(0, 0, 0, .1); margin: 3rem 0 1.5rem; }

/* Yasal uyarılar: ortalı inline liste */
.footer-yasal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: .75rem;
}
.footer-yasal a { font-size: .875rem; color: var(--text); text-decoration: none; }
.footer-yasal a:hover { color: var(--text); opacity: 1; }

.footer-copy { text-align: center; font-size: .875rem; color: var(--text); }

/* ─── Logo Slider ────────────────────────────────────────────────────── */

.logo-slider-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: .25rem 0 .75rem;
}

.logo-slider-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
@media (min-width: 768px) {
    .logo-slider-wrap { flex-direction: row; padding: 0 3rem; }
}

.logo-slider-label {
    font-size: .8125rem;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .logo-slider-label { min-width: 8rem; text-align: right; padding-right: 1.5rem; border-right: 1px solid var(--border); }
}

.logo-slider-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 1.25rem 0;
    min-width: 0;
}

.logo-slider-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: logo-scroll 36s linear infinite;
}
.logo-slider-track:hover { animation-play-state: paused; }

@keyframes logo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo-slider-track img {
    height: 20px;
    width: auto;
    flex-shrink: 0;
    display: inline-block;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .2s, filter .2s;
}
[data-theme="dark"] .logo-slider-track img { filter: grayscale(1) invert(1); }
.logo-slider-track img:hover { opacity: 1; filter: none; }

.logo-slider-fade-l {
    position: absolute; inset-y: 0; left: 0; width: 4rem;
    background: linear-gradient(to right, var(--bg), transparent);
    pointer-events: none; z-index: 1;
}
.logo-slider-fade-r {
    position: absolute; inset-y: 0; right: 0; width: 4rem;
    background: linear-gradient(to left, var(--bg), transparent);
    pointer-events: none; z-index: 1;
}

/* ─── Faz 8.5: Accessibility (WCAG AA) ─────────────────────────── */
/* Focus ring — keyboard kullanıcıları için belirgin */
:focus-visible {
    outline: 3px solid #0071e3;
    outline-offset: 2px;
    border-radius: 2px;
}
/* Mouse click'te outline gözükmesin */
:focus:not(:focus-visible) {
    outline: none;
}
/* Skip-link odaklanınca görünür */
.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: fixed !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}
/* Reduced motion — kullanıcı animasyon istemiyorsa kapat */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* Form input renk kontrastı — light mode */
input::placeholder, textarea::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* ─── İç Sayfalar (Costica) ──────────────────────────────────────────
   Tüm iç sayfalar ana sayfa çizgisinde: şeffaf header'ın altına kayan koyu
   sayfa hero'su, 1440px konteyner, krem paneller, dar aralıklı büyük başlıklar,
   BÜYÜK HARF mikro etiketler (Türkçe i→İ için sunucuda üretilir, CSS'te değil). */

/* Sayfa hero'su — header'ın altına kayar (ana sayfa hero'suyla aynı mantık) */
.ic-hero {
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(var(--header-h) + 2rem);
    overflow: hidden;
    background: #111;
    color: #fff;
}

.ic-hero-media { position: absolute; inset: 0; z-index: -2; }
.ic-hero-media img,
.ic-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ic-hero-overlay { position: absolute; inset: 0; z-index: -1; background: #000; pointer-events: none; }

.ic-hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}
@media (min-width: 992px) { .ic-hero-inner { padding: 0 3rem; } }

.ic-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2.75rem;
}

.ic-hero-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    font-size: .75rem;
    letter-spacing: .25em;
    color: rgba(255, 255, 255, .8);
    margin: 0 0 1rem;
}
.ic-hero-crumb a { color: #fff; text-decoration: none; }
.ic-hero-crumb a:hover { color: #fff; opacity: .7; }
.ic-hero-crumb-ayrac { opacity: .5; }

.ic-hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.08;
    color: #fff;
    margin: 0;
    max-width: 46rem;
}

/* İnce (slim) hero: yalnız kırıntı izi — ürün detayı gibi başlığı içerikte olan sayfalar */
.ic-hero-slim .ic-hero-content { min-height: 0 !important; padding-bottom: 1.25rem; }
.ic-hero-slim .ic-hero-crumb { margin-bottom: 0; }

/* İç sayfa bölüm konteyneri — ana sayfa bölümlerinin ölçüleri */
.ic-bolum {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
@media (min-width: 992px) { .ic-bolum { padding: 5rem 3rem; } }
.ic-bolum-sm { padding-top: 2.5rem; padding-bottom: 2.5rem; }

.ic-eyebrow {
    font-size: .75rem;
    letter-spacing: .28em;
    color: var(--muted);
    margin: 0 0 .75rem;
}

.ic-baslik {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--text);
    margin: 0 0 .75rem;
}

.ic-alt { font-size: .9375rem; color: var(--muted); }

/* Krem panel — footer/blog kartlarıyla aynı zemin */
.ic-panel {
    background: #f5f5f6;
    border-radius: 8px;
    padding: 2rem;
}
@media (min-width: 992px) { .ic-panel { padding: 2.5rem; } }

/* Costica butonları: koyu (birincil) + çizgili (ikincil) */
.ic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: #1d1d1f;
    color: #fff !important;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .1em;
    padding: .9rem 2rem;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .25s ease, color .25s ease, opacity .2s ease;
}
.ic-btn:hover:not(:disabled) { opacity: .82; color: #fff !important; }
.ic-btn:disabled { opacity: .55; cursor: not-allowed; }

.ic-btn-cizgili {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, .2);
    color: var(--text) !important;
}
.ic-btn-cizgili:hover:not(:disabled) { background: #1d1d1f; border-color: #1d1d1f; color: #fff !important; }

.ic-btn-sm { padding: .55rem 1.25rem; font-size: .75rem; }

/* Formlar: beyaz kutular, 8px köşe — krem panel üzerinde de zeminde de çalışır */
.ic-form .form-label { font-size: .8125rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.ic-form .form-control,
.ic-form .form-select {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 8px;
    padding: .7rem .9rem;
    font-size: .9375rem;
}
.ic-form .form-control:focus,
.ic-form .form-select:focus { border-color: #1d1d1f; box-shadow: none; }
.ic-form .form-text { font-size: .8125rem; }

/* Prose / uzun metin tipografisi (yasal, kurumsal, blog içerikleri) */
.prose, .yasal-icerik, .blog-content { line-height: 1.8; color: var(--text); }
.prose h2, .yasal-icerik h2, .blog-content h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; margin: 2.25rem 0 .75rem; }
.prose h3, .yasal-icerik h3, .blog-content h3 { font-size: 1.125rem; font-weight: 600; margin: 1.75rem 0 .6rem; }
.prose p, .yasal-icerik p, .blog-content p { margin-bottom: 1.1rem; }
.prose ul, .prose ol, .yasal-icerik ul, .yasal-icerik ol { padding-left: 1.25rem; margin-bottom: 1.1rem; }
.prose li, .yasal-icerik li { margin-bottom: .4rem; }
.yasal-icerik img { border-radius: 8px; }
.yasal-icerik table { width: 100%; font-size: .9375rem; }

/* Akordeon — düz Costica görünümü (SSS, ürün/blog detayları, kurumsal düzenler) */
.accordion-item {
    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    border-radius: 0 !important;
}
.accordion-button {
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    padding: 1.1rem 0;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.accordion-button:not(.collapsed) { background: transparent; color: var(--text); }
.accordion-body { padding: 0 0 1.25rem; color: var(--muted); line-height: 1.75; }

/* ── Ürün liste (koleksiyon) ─────────────────────────────────────────── */

.urun-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 1199.98px) { .urun-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .urun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.urun-grid .urun-kart { flex: initial; width: 100%; }
@media (max-width: 575.98px) { .urun-grid .urun-kart-gorsel { height: 170px; } }

/* Sol filtre paneli: kart yok, ince ayraçlı sade gruplar */
.urun-filtre-grup { padding: 1.35rem 0; border-bottom: 1px solid var(--border); }
.urun-filtre-grup:first-child { padding-top: 0; }
.urun-filtre-baslik {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--text);
    margin: 0 0 1rem;
}
.urun-filtre-list { list-style: none; margin: 0; padding: 0; }
.urun-filtre-list li { margin-bottom: .15rem; }
.urun-filtre-list a {
    display: block;
    padding: .3rem 0;
    font-size: .9375rem;
    color: var(--muted);
    text-decoration: none !important;
    transition: color .15s ease;
}
.urun-filtre-list a:hover { color: var(--text); opacity: 1; }
.urun-filtre-list a.aktif { color: var(--text); font-weight: 600; }
.urun-filtre-alt { margin-left: 1rem; }
.urun-filtre-ok {
    border: 0; background: none; padding: .1rem .3rem; color: var(--muted); cursor: pointer; line-height: 1;
}

/* Üst araç çubuğu: adet solda, sade seçimler sağda */
.urun-arac {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.urun-arac-adet { font-size: .875rem; color: var(--muted); }
.urun-arac select {
    border: 0;
    background: transparent;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text);
    padding: .25rem 1.5rem .25rem .25rem;
    cursor: pointer;
}
.urun-arac select:focus { border: 0; box-shadow: none; }

/* ── Ürün detay (Costica ürün sayfası) ───────────────────────────────── */

.urun-detay {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}
@media (max-width: 991.98px) { .urun-detay { grid-template-columns: 1fr; gap: 2rem; } }

/* Galeri: solda dikey küçük görsel şeridi, sağda alanı tam kaplayan ana görsel */
.urun-detay-galeri {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
}

.urun-detay-ana {
    grid-column: 2;
    grid-row: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f2ec;
}
.urun-detay-ana .carousel-item img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    background: #f5f2ec;
}
.urun-detay-video-item { height: 560px; }
.urun-detay-ana .carousel-control-prev-icon,
.urun-detay-ana .carousel-control-next-icon { filter: invert(1) grayscale(1); opacity: .7; }

.urun-detay-thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    max-height: 560px;
    overflow-y: auto;
    scrollbar-width: none;
}
.urun-detay-thumbs::-webkit-scrollbar { display: none; }
.urun-detay-thumbs .thumb-img,
.urun-detay-thumbs .thumb-video {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--border) !important;
    object-fit: cover;
    cursor: pointer;
    opacity: .65;
    transition: opacity .2s ease, border-color .2s ease;
}
.urun-detay-thumbs .thumb-img:hover,
.urun-detay-thumbs .thumb-img.aktif { opacity: 1; border-color: #1d1d1f !important; }

/* Mobil: ana görsel üstte, küçük görseller altında yatay şerit */
@media (max-width: 767.98px) {
    .urun-detay-galeri { grid-template-columns: 1fr; }
    .urun-detay-ana { grid-column: 1; grid-row: 1; }
    .urun-detay-ana .carousel-item img { height: 360px; }
    .urun-detay-video-item { height: 360px; }
    .urun-detay-thumbs {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }
}

@media (min-width: 992px) {
    .urun-detay-info {
        position: sticky;
        top: calc(var(--header-h) + var(--ann-h, 0px) + 1.5rem);
    }
}

.urun-detay-rozetler { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.urun-rozet {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    padding: .3rem .6rem;
    border-radius: 3px;
    background: #f5f5f6;
    color: var(--text);
}
.urun-rozet-indirim { background: #e02b2b; color: #fff; }
.urun-rozet-yeni { background: #1d1d1f; color: #fff; }
.urun-rozet-stok { background: #f5f5f6; color: var(--muted); }

.urun-detay-marka { font-size: .75rem; letter-spacing: .25em; color: var(--muted); margin: 0 0 .75rem; }
.urun-detay-ad {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.12;
    margin: 0 0 1rem;
}
.urun-detay-fiyat { font-size: 1.375rem; font-weight: 600; color: var(--text); margin-bottom: 1.25rem; }
.urun-detay-fiyat del { color: #d98a8a; font-size: 1.0625rem; font-weight: 400; margin-left: .6rem; }
.urun-detay-fiyat .kdv-not { font-size: .8125rem; font-weight: 400; color: var(--muted); margin-left: .5rem; }
.urun-detay-aciklama { color: var(--muted); line-height: 1.75; font-size: .9375rem; margin-bottom: 1.5rem; }

.urun-detay-meta {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: .875rem;
    color: var(--muted);
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
}
.urun-detay-meta strong { color: var(--text); font-weight: 600; }

/* Adet seçici + sepete ekle satırı */
.urun-detay-sepet { display: flex; gap: .75rem; flex-wrap: wrap; align-items: stretch; margin: 1.5rem 0 0; }
.urun-adet {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}
.urun-adet button {
    width: 42px;
    height: 48px;
    border: 0;
    background: transparent;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    transition: background .15s ease;
}
.urun-adet button:hover { background: #f5f5f6; }
.urun-adet input {
    width: 52px;
    height: 48px;
    border: 0;
    text-align: center;
    font-weight: 600;
    font-size: .9375rem;
    background: transparent;
    -moz-appearance: textfield;
    appearance: textfield;
}
.urun-adet input::-webkit-outer-spin-button,
.urun-adet input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.urun-detay-sepet .ic-btn { flex: 1 1 200px; }
.urun-detay-ek { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .75rem; }

/* Sekmeler: altı çizgili sade görünüm */
.urun-tabs { border-bottom: 1px solid var(--border); gap: 1.5rem; flex-wrap: wrap; }
.urun-tabs .nav-link {
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0;
    background: transparent !important;
    padding: .6rem 0;
    margin-bottom: -1px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--muted) !important;
}
.urun-tabs .nav-link.active { color: var(--text) !important; border-bottom-color: #1d1d1f !important; }

/* ── Blog liste / detay ──────────────────────────────────────────────── */

.blog-detay-govde { max-width: 52rem; margin: 0 auto; }
.blog-detay-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: .875rem;
    color: var(--muted);
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.blog-detay-meta .yazar { color: var(--text); font-weight: 600; }
.blog-detay-lead { font-size: 1.125rem; line-height: 1.7; color: var(--muted); margin: 0 0 2rem; }
.blog-content img { border-radius: 8px; }

/* ── İletişim ────────────────────────────────────────────────────────── */

.iletisim-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 3rem;
    align-items: start;
}
@media (max-width: 991.98px) { .iletisim-grid { grid-template-columns: 1fr; gap: 2rem; } }

.iletisim-satir {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .9375rem;
    color: var(--muted);
}
.iletisim-satir:last-child { border-bottom: 0; }
.iletisim-grid-tam { grid-column: 1 / -1; max-width: 760px; margin: 0 auto; width: 100%; }
.iletisim-satir i { color: var(--text); font-size: 1.05rem; flex-shrink: 0; }
.iletisim-satir a { color: var(--muted); text-decoration: none; display: block; }
.iletisim-satir a:hover { color: var(--text); opacity: 1; }
.iletisim-harita { border-radius: 8px; overflow: hidden; margin-top: 2rem; }
.iletisim-harita iframe { width: 100%; border: 0; display: block; }

/* ── Sepet ───────────────────────────────────────────────────────────── */

.sepet-tablo { width: 100%; }
.sepet-tablo th {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding: .75rem .5rem;
    text-align: left;
    background: transparent;
}
.sepet-tablo td {
    padding: 1.25rem .5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    background: transparent;
}
.sepet-urun-resim {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f2ec;
    flex-shrink: 0;
}
.sepet-urun-ad { color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none !important; }
.sepet-urun-ad:hover { color: var(--text); opacity: .7; }
.sepet-sil {
    border: 0; background: none; color: var(--muted); padding: .35rem; cursor: pointer;
    transition: color .15s ease;
}
.sepet-sil:hover { color: #e02b2b; }
.sepet-adet .urun-adet button { height: 40px; width: 36px; }
.sepet-adet .urun-adet input { height: 40px; width: 44px; }

/* ── Üye giriş / kayıt ───────────────────────────────────────────────── */

.uye-kart { max-width: 460px; margin: 0 auto; }
.uye-kart .ic-panel { padding: 2.5rem 2rem; }
@media (min-width: 576px) { .uye-kart .ic-panel { padding: 3rem 2.75rem; } }
.uye-kart-baslik { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; text-align: center; margin: 0 0 1.75rem; }
.uye-alt-satir { text-align: center; font-size: .875rem; color: var(--muted); margin: 1.5rem 0 0; }
.uye-alt-satir a { color: var(--text); font-weight: 600; text-decoration: none; }
.uye-alt-satir a:hover { color: var(--text); opacity: .7; }

/* ── WhatsApp yüzen buton efekti (SET projesindeki .wa-fab'dan) ──
   Hafif yukarı-aşağı süzülme + yeşil nabız halkası */
.wa-fab { animation: waFloat 3s ease-in-out infinite; }
.wa-fab::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.75); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-fab, .wa-fab::before { animation: none; } }
