/* ==========================================================================
   Agroglocal — vitrin stilleri (Bootstrap 5 üzerine)
   Kurumsal palet agro-logo.png'den türetilmiştir:
     Lacivert  #074B75  (logo "glocal")  → birincil renk: başlıklar, butonlar, bağlantılar
     Yaprak    #98C922  (logo "agro")    → vurgu rengi: rozetler, aktif durumlar, ikincil butonlar
   Tüm renkler aşağıdaki değişkenlerden yönetilir; bileşenlerde sabit renk kullanılmaz.
   Kontrast (WCAG): lacivert/beyaz 9.2:1 · koyu yaprak (#4A7510)/beyaz 5.5:1 · lacivert/yaprak 4.7:1
   Not: Yaprak yeşili (#98C922) beyaz zemin üzerinde METİN rengi olarak kullanılmaz (1.96:1).
   ========================================================================== */
:root {
    /* Marka */
    --brand: #074b75;
    --brand-rgb: 7, 75, 117;
    --brand-dark: #05385a;
    --brand-deep: #04293f;
    --brand-soft: #e8f1f7;
    --accent: #98c922;
    --accent-rgb: 152, 201, 34;
    --accent-dark: #86b31a;     /* yaprak dolgu hover */
    --accent-text: #4a7510;     /* beyaz zeminde okunabilir yeşil metin */
    --accent-soft: #f1f8e1;
    --on-accent: #04293f;       /* yaprak zemin üzerindeki metin */

    /* Nötr */
    --ink: #10232f;
    --muted: #5b6b76;
    --surface: #f5f8fa;
    --surface-2: #eaf1f5;
    --line: #e2e9ee;
    --white: #fff;

    /* Durum */
    --success: var(--accent-text);
    --success-soft: var(--accent-soft);
    --danger: #b42318;
    --danger-soft: #fdecea;
    --warning: #9a5b00;
    --warning-soft: #fff6e0;

    /* Geriye dönük uyumluluk (eski değişken adları) */
    --gold: var(--accent-text);
    --gold-soft: var(--accent-soft);
    --cream: var(--surface);

    /* Diğer */
    --focus-ring: 0 0 0 .2rem rgba(var(--brand-rgb), .25);
    --radius: 14px;
    --shadow: 0 10px 30px rgba(var(--brand-rgb), .08);
    --shadow-lg: 0 24px 60px rgba(var(--brand-rgb), .14);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --font-head: "Nunito", "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-body: "Jost", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Bootstrap değişkenleri marka ile hizalanır */
    --bs-primary: var(--brand);
    --bs-primary-rgb: var(--brand-rgb);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: var(--brand-rgb);
    --bs-link-hover-color: var(--brand-dark);
    --bs-body-color: var(--ink);
    --bs-border-color: var(--line);
    --bs-focus-ring-color: rgba(var(--brand-rgb), .25);
}

/* ---------------------------------------------------------------- Temel */
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-weight: 400; color: var(--ink); background: var(--white); letter-spacing: .005em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .hero-title, .product-title { font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
h1, h2, h3, h4, .slide-price, .float-tag, .slider-counter, .story-points .num, .coupon-value, .price-lg { font-variant-numeric: lining-nums; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(var(--accent-rgb), .35); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.text-gold, .text-accent { color: var(--accent-text) !important; }
.text-brand { color: var(--brand) !important; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: var(--white); padding: .5rem 1rem; }

/* İkonlar */
.icon { width: 20px; height: 20px; vertical-align: -4px; }
.icon-sm { width: 16px; height: 16px; vertical-align: -3px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 56px; height: 56px; }

/* ---------------------------------------------------------------- Butonlar
   Birincil: lacivert (.btn-brand, .btn-primary, .btn-lux)
   İkincil / vurgu: yaprak yeşili zemin + koyu lacivert metin (.btn-accent)
   ------------------------------------------------------------------------- */
.btn { transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.btn:focus-visible { box-shadow: var(--focus-ring); }
.btn-brand, .btn-primary { background: var(--brand); border-color: var(--brand); color: var(--white); border-radius: 999px; letter-spacing: .04em; font-weight: 500; }
.btn-brand:hover, .btn-brand:focus, .btn-primary:hover, .btn-primary:focus,
.btn-brand:active, .btn-primary:active { background: var(--brand-dark) !important; border-color: var(--brand-dark) !important; color: var(--white) !important; }
.btn-brand:disabled, .btn-primary:disabled { background: var(--brand); border-color: var(--brand); opacity: .6; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-accent:hover, .btn-accent:focus, .btn-accent:active { background: var(--accent-dark) !important; border-color: var(--accent-dark) !important; color: var(--on-accent) !important; }
.btn-outline-brand, .btn-outline-primary { border-color: var(--brand); color: var(--brand); border-radius: 999px; }
.btn-outline-brand:hover, .btn-outline-primary:hover, .btn-check:checked + .btn-outline-brand { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn-icon { display: inline-flex; align-items: center; gap: .35rem; border: 0; background: transparent; padding: .45rem .55rem; color: var(--ink); border-radius: 8px; }
.btn-icon:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.btn-lux { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 2.1rem; border-radius: 999px; background: var(--brand); color: var(--white); font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--brand); transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn-lux:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(var(--accent-rgb), .4); }
.btn-lux.light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-lux.light:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--brand); font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent-text); text-decoration: none; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------- Formlar */
.form-control, .form-select { border-color: var(--line); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--brand); box-shadow: var(--focus-ring); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-label { font-weight: 500; }
.invalid-feedback, .text-danger { color: var(--danger) !important; }
.form-control.is-invalid, .input-validation-error { border-color: var(--danger); }

/* Uyarılar / durum göstergeleri */
.alert-success { background: var(--success-soft); border-color: rgba(var(--accent-rgb), .45); color: var(--accent-text); }
.alert-danger { background: var(--danger-soft); border-color: #f6c7c2; color: var(--danger); }
.alert-warning { background: var(--warning-soft); border-color: #f3dca6; color: var(--warning); }
.alert-info { background: var(--brand-soft); border-color: #c9dceb; color: var(--brand-dark); }
/* Durum rozetleri (sipariş durumları vb.) marka paletine eşlenir */
.bg-success, .text-bg-success { background-color: var(--accent-text) !important; color: var(--white) !important; }
.bg-primary, .text-bg-primary { background-color: var(--brand) !important; color: var(--white) !important; }
.bg-info, .text-bg-info { background-color: var(--brand-soft) !important; color: var(--brand-dark) !important; }
.bg-success-subtle { background-color: var(--accent-soft) !important; }
.bg-info-subtle { background-color: var(--brand-soft) !important; }
.text-success, .text-success-emphasis { color: var(--accent-text) !important; }
.text-info, .text-info-emphasis, .text-primary { color: var(--brand) !important; }
.btn-success { background: var(--accent-text); border-color: var(--accent-text); color: var(--white); }
.btn-success:hover, .btn-success:focus { background: #3d620c; border-color: #3d620c; color: var(--white); }

/* ---------------------------------------------------------------- Header */
.topbar { background: var(--brand); color: rgba(255, 255, 255, .88); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding: .5rem 0; }
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--accent); }
.site-header { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); z-index: 1030; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; height: 44px; width: auto; }
.menu-toggle { color: var(--brand); }
.search-box { max-width: 560px; }
.search-box .form-control { border-radius: 999px; padding: .55rem 2.75rem .55rem 1.1rem; background: var(--surface); border-color: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.search-box .form-control:focus { background: var(--white); box-shadow: inset 0 0 0 1px var(--brand), var(--focus-ring); }
.search-btn { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--brand); padding: .35rem; }
.autocomplete-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 1100; overflow: hidden; }
.autocomplete-list a { display: flex; align-items: center; gap: .75rem; padding: .55rem .9rem; color: var(--ink); }
.autocomplete-list a:hover, .autocomplete-list a.active { background: var(--brand-soft); text-decoration: none; }
.autocomplete-list img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: var(--surface); }
.autocomplete-list .ac-type { font-size: .7rem; color: var(--muted); text-transform: uppercase; }
.cart-badge { position: absolute; top: 0; right: 0; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .68rem; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.main-nav { border-top: 1px solid var(--line); }
.main-nav .nav { justify-content: center; }
.main-nav .nav-link { color: var(--ink); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; padding: .85rem 1.2rem; position: relative; }
.main-nav .nav-link::after { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; bottom: .55rem; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav .nav-link:hover, .main-nav .nav-link:focus-visible { color: var(--brand); text-decoration: none; }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.dropdown-item:active { background: var(--brand); }
.offcanvas-title img { display: block; height: 32px; width: auto; }
.mobile-nav li { padding: .35rem 0; }
.mobile-nav a { color: var(--ink); }
.mobile-nav a:hover { color: var(--brand); }

/* ---------------------------------------------------------------- Ortak parçalar */
.kicker { display: inline-flex; align-items: center; gap: .75rem; font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .9rem; }
.kicker.light { color: var(--accent); }
.kicker-line { display: inline-block; width: 38px; height: 2px; border-radius: 2px; background: var(--accent); }

/* ---------------------------------------------------------------- HERO SLIDER */
.lux-hero { position: relative; overflow: hidden; }
.lux-hero .slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none; }
.lux-hero .slider-track::-webkit-scrollbar { display: none; }
.lux-hero .slider-track:focus-visible { box-shadow: inset 0 0 0 3px rgba(var(--brand-rgb), .45); }
.lux-hero .slide { box-sizing: border-box; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; position: relative; transition: background-color .6s var(--ease); }
/* Slayt temaları: marka renklerinin açık tonları */
.slide.theme-cream { background: radial-gradient(900px 520px at 78% 45%, #ffffff 0%, transparent 70%), linear-gradient(180deg, #f5f8fa 0%, #e8f1f7 100%); }
.slide.theme-blush { background: radial-gradient(900px 520px at 78% 45%, #ffffff 0%, transparent 70%), linear-gradient(180deg, #f6faec 0%, #e9f3d2 100%); }
.slide.theme-sage  { background: radial-gradient(900px 520px at 78% 45%, #f4f9fc 0%, transparent 70%), linear-gradient(180deg, #edf3f7 0%, #dbe8f1 100%); }
.slide.theme-sand  { background: radial-gradient(900px 520px at 78% 45%, #ffffff 0%, transparent 70%), linear-gradient(180deg, #f7f9f4 0%, #eaf1e3 100%); }
.slide::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(var(--brand-rgb), .05) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.slide-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 3rem; min-height: clamp(520px, 78vh, 720px); padding-top: 3rem; padding-bottom: 6.5rem; }
.slide-copy { max-width: 560px; }
.slide-title { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.06; font-weight: 800; color: var(--brand); margin: 0 0 1.4rem; }
.slide-title em { font-style: normal; color: var(--accent-text); }
.slide-text { font-size: 1.08rem; font-weight: 300; line-height: 1.75; color: var(--muted); margin-bottom: 2.2rem; max-width: 30rem; }
.slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.slide-note { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.slide-price { display: flex; align-items: baseline; gap: .9rem; margin: -.4rem 0 2rem; }
.slide-price .now { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--brand); }
.slide-price del { color: var(--muted); font-size: 1.05rem; }
.slide-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; max-height: 600px; }
.slide-media .halo { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, 0) 72%); box-shadow: 0 0 0 1px rgba(var(--brand-rgb), .15); }
.slide-media .halo::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed rgba(var(--accent-rgb), .55); animation: halo-spin 60s linear infinite; }
.slide-media picture { width: 86%; display: block; }
.slide-img { position: relative; width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.float-tag { position: absolute; z-index: 2; left: 4%; bottom: 14%; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border: 1px solid rgba(var(--accent-rgb), .5); border-radius: 999px; padding: .65rem 1.2rem; font-size: .8rem; letter-spacing: .06em; color: var(--muted); box-shadow: var(--shadow); }
.float-tag strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--brand); margin-right: .2rem; }
.float-tag.accent strong { color: var(--accent-text); }
@keyframes halo-spin { to { transform: rotate(360deg); } }

/* Aktif slayt giriş animasyonları */
.lux-hero .slide-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.lux-hero .slide-img, .lux-hero .float-tag { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.lux-hero .slide.is-active .slide-copy > *, .lux-hero .slide.is-active .slide-img, .lux-hero .slide.is-active .float-tag { opacity: 1; transform: none; }
.lux-hero .slide.is-active .slide-copy > :nth-child(2) { transition-delay: .08s; }
.lux-hero .slide.is-active .slide-copy > :nth-child(3) { transition-delay: .16s; }
.lux-hero .slide.is-active .slide-copy > :nth-child(4) { transition-delay: .24s; }
.lux-hero .slide.is-active .slide-img { transition-delay: .12s; }
.lux-hero .slide.is-active .float-tag { transition-delay: .45s; }

/* Kontroller: sayaç + ilerleme çubukları + oklar */
.slider-controls { position: absolute; left: 0; right: 0; bottom: 2rem; display: flex; align-items: center; gap: 1.75rem; z-index: 3; }
.slider-counter { display: flex; align-items: center; gap: .7rem; font-size: .95rem; letter-spacing: .08em; color: var(--brand); font-variant-numeric: tabular-nums; }
.slider-counter span:last-child { color: var(--muted); }
.slider-counter .sep { width: 28px; height: 1px; background: var(--brand); opacity: .35; }
.slider-progress { display: flex; gap: .5rem; flex: 1; max-width: 360px; }
.slider-progress .bar { flex: 1; height: 2px; border: 0; padding: 8px 0; background: transparent; position: relative; cursor: pointer; }
.slider-progress .bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: rgba(var(--brand-rgb), .18); }
.slider-progress .bar .fill { position: absolute; left: 0; top: 50%; height: 2px; width: 0; transform: translateY(-50%); background: var(--brand); }
.slider-progress .bar.done .fill, .slider-progress .bar.active .fill { width: 100%; }
.lux-hero.is-playing .slider-progress .bar.active .fill { width: 0; animation: slide-progress var(--slide-duration, 6.5s) linear forwards; }
.lux-hero.is-paused .slider-progress .bar.active .fill { animation-play-state: paused; }
@keyframes slide-progress { from { width: 0; } to { width: 100%; } }
.slider-arrows { margin-left: auto; display: flex; gap: .6rem; }
.slider-arrows .arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(var(--brand-rgb), .25); background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); display: inline-flex; align-items: center; justify-content: center; transition: all .35s var(--ease); }
.slider-arrows .arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s var(--ease); }
.slider-arrows .arrow:hover { background: var(--brand); border-color: var(--brand); }
.slider-arrows .arrow:hover svg { stroke: var(--white); }

@media (max-width: 991.98px) {
    .slide-inner { grid-template-columns: 1fr; gap: 1rem; min-height: 0; padding-top: 2rem; padding-bottom: 6rem; text-align: center; }
    .slide-copy { max-width: none; order: 2; }
    .slide-media { order: 1; max-width: 420px; margin: 0 auto; width: 100%; }
    .slide-text { margin-inline: auto; }
    .slide-actions, .slide-price { justify-content: center; }
    .kicker { justify-content: center; }
    .slider-controls { bottom: 1.25rem; }
    .slider-arrows, .slider-counter { display: none; }
    .slider-progress { margin: 0 auto; }
}

/* ---------------------------------------------------------------- Güven şeridi */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li { display: flex; align-items: center; justify-content: center; gap: .85rem; padding: .25rem 1rem; color: var(--accent-text); }
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list strong { display: block; color: var(--brand); font-weight: 600; font-size: .86rem; letter-spacing: .06em; }
.trust-list span { font-size: .78rem; color: var(--muted); }
@media (max-width: 767.98px) {
    .trust-list { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
    .trust-list li:nth-child(3) { border-left: 0; }
}

/* ---------------------------------------------------------------- Bölümler */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head .kicker { margin-bottom: .4rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; margin: 0; color: var(--brand); }

/* Kategoriler */
.category-tile { display: block; text-align: center; background: var(--surface); border-radius: var(--radius); padding: 1rem; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.category-tile img { aspect-ratio: 1; object-fit: contain; margin-bottom: .5rem; }
.category-tile span { font-weight: 600; font-size: .92rem; }
.category-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 2.2rem 2.6rem; }
.category-circle { display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--ink); width: 150px; }
.category-circle .circle { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--surface) 75%); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.category-circle img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.category-circle .name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; text-align: center; color: var(--brand); }
.category-circle:hover { text-decoration: none; color: var(--ink); }
.category-circle:hover .circle { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow); transform: translateY(-4px); }
.category-circle:hover img { transform: scale(1.06); }

/* ---------------------------------------------------------------- Ürün kartı */
.product-card { background: transparent; border: 0; border-radius: 0; overflow: visible; height: 100%; display: flex; flex-direction: column; }
.product-card-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #f7fafc 0%, #eaf1f5 100%); aspect-ratio: 4 / 5; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.4rem; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-body { padding: 1.1rem .15rem 0; display: flex; flex-direction: column; flex-grow: 1; }
.product-brand { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.product-name { font-family: var(--font-head); font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: .35rem 0 .5rem; }
.product-name a { color: var(--ink); }
.product-name a:hover { color: var(--brand); text-decoration: none; }
.price-row { margin-top: auto; display: flex; align-items: baseline; gap: .5rem; }
.price { font-weight: 600; font-size: 1rem; color: var(--brand); }
.price-old { color: var(--muted); font-size: .85rem; }
.badge-discount, .badge-new, .badge-oos { position: absolute; top: .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .06em; padding: .3rem .7rem; border-radius: 999px; }
.badge-discount { left: .6rem; background: var(--accent); color: var(--on-accent); }
.badge-discount.static { position: static; margin-left: .4rem; }
.badge-new { right: .6rem; background: var(--brand); color: var(--white); }
.badge-oos { right: .6rem; bottom: .6rem; top: auto; background: var(--muted); color: var(--white); }
.product-card form[data-ajax-cart] { margin-top: .9rem !important; }
.product-card form[data-ajax-cart] .btn { background: transparent; color: var(--brand); border: 1px solid rgba(var(--brand-rgb), .35); border-radius: 999px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: .6rem 1rem; transition: all .35s var(--ease); }
.product-card form[data-ajax-cart] .btn:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* ---------------------------------------------------------------- Hikaye bandı */
.story-band { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%); color: rgba(255, 255, 255, .9); padding: 6rem 0; position: relative; overflow: hidden; }
.story-band::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .25); }
.story-media { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 480px; margin-inline: auto; aspect-ratio: 4 / 5; position: relative; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, #fff 0%, #eef5f9 45%, #d6e6f0 100%); }
.story-media .halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .5); }
.story-media picture { width: 82%; display: block; }
.story-media img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.story-title { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.12; color: var(--white); margin-bottom: 1.2rem; }
.story-text { font-weight: 300; line-height: 1.8; color: rgba(255, 255, 255, .82); max-width: 32rem; }
.story-points { list-style: none; padding: 0; margin: 2rem 0 2.4rem; }
.story-points li { display: flex; gap: 1.2rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.story-points li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.story-points .num { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.story-points strong { display: block; font-weight: 500; color: var(--white); letter-spacing: .04em; }
.story-points span span, .story-points li > span:last-child { font-size: .9rem; color: rgba(255, 255, 255, .74); }

/* ---------------------------------------------------------------- Kampanya / Marka / Blog */
.campaign-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: linear-gradient(120deg, var(--brand-soft) 0%, var(--accent-soft) 100%); border-radius: 24px; padding: 2.5rem; color: var(--ink); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.campaign-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); }
.campaign-card .kicker { color: var(--accent-text); }
.campaign-card h3, .campaign-card h1 { font-size: 1.8rem; color: var(--brand); }
.campaign-card p { color: var(--muted); font-weight: 300; }
.campaign-img { max-width: 240px; mix-blend-mode: multiply; border-radius: 20px; }
.campaign-card.big .campaign-img { max-width: 420px; }
.campaign-badge { display: inline-block; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); font-weight: 600; letter-spacing: .08em; padding: .35rem .8rem; border-radius: 999px; }

.brand-card { display: flex; gap: 2rem; align-items: center; background: var(--white); border: 0; padding: 2rem; border-radius: 20px; box-shadow: var(--shadow); }
.brand-card h3 { font-size: 1.5rem; margin-bottom: .3rem; color: var(--brand); }
.brand-card p { font-weight: 300; color: var(--muted); margin-bottom: .4rem; }

.blog-card { display: block; border: 0; background: transparent; color: var(--ink); height: 100%; }
.blog-card:hover { text-decoration: none; color: var(--ink); }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-body { display: block; padding-top: 1.1rem; }
.blog-body time { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.blog-title { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin: .4rem 0 .5rem; color: var(--brand); }
.blog-summary { display: block; color: var(--muted); font-weight: 300; font-size: .94rem; }

/* ---------------------------------------------------------------- Listeleme */
.breadcrumb-wrap .breadcrumb { font-size: .82rem; margin-bottom: 1rem; }
.breadcrumb-item.active { color: var(--muted); }
.listing-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: .75rem; }
.category-desc { color: var(--muted); max-width: 52rem; }
.chip { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; margin: 0 .35rem .35rem 0; font-size: .85rem; color: var(--ink); background: var(--white); }
.chip:hover, .chip.active { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.filters { background: var(--surface); border-radius: var(--radius); padding: 1rem; }
.filter-group { padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.filter-title { font-family: var(--font-body); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; color: var(--brand); }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--surface); border-radius: var(--radius); }
.pagination .page-link { color: var(--brand); border-color: var(--line); }
.pagination .page-link:focus { box-shadow: var(--focus-ring); }
.pagination .active .page-link, .pagination .page-item.active .page-link { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* ---------------------------------------------------------------- Ürün detay */
.gallery-main { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.gallery-main img { max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; }
.gallery-thumbs .thumb { border: 2px solid transparent; border-radius: 10px; padding: 2px; background: var(--white); flex: 0 0 auto; }
.gallery-thumbs .thumb.active, .gallery-thumbs .thumb:hover { border-color: var(--brand); }
.gallery-thumbs img { width: 76px; height: 76px; object-fit: contain; }
.product-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--brand); }
.price-box { margin: 1rem 0; }
.price-lg { font-size: 2rem; font-weight: 700; color: var(--brand); }
.lead-sm { color: var(--muted); }
.stock-status.in { color: var(--accent-text); font-weight: 600; }
.stock-status.out { color: var(--danger); font-weight: 600; }
.qty-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty-input input { width: 52px; text-align: center; border: 0; -moz-appearance: textfield; }
.qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-btn { border: 0; background: var(--surface); color: var(--brand); width: 40px; height: 100%; font-size: 1.2rem; }
.qty-btn:hover { background: var(--brand-soft); }
.product-usps li { display: flex; gap: .5rem; align-items: center; padding: .25rem 0; color: var(--muted); }
.product-usps .icon { color: var(--accent-text); }
.product-tabs { border: 1px solid var(--line); border-top: 0; padding: 1.5rem; border-radius: 0 0 var(--radius) var(--radius); }
.nav-tabs .nav-link { color: var(--muted); }
.nav-tabs .nav-link:hover { color: var(--brand); }
.nav-tabs .nav-link.active { color: var(--brand); font-weight: 600; border-bottom-color: transparent; box-shadow: inset 0 -2px 0 var(--accent); }
.spec-table th { width: 40%; font-weight: 600; color: var(--muted); }
.review { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.review-form { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; }

/* ---------------------------------------------------------------- Sepet & Checkout */
.cart-line { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line.has-problem { background: var(--warning-soft); }
.cart-thumb img { width: 80px; height: 80px; object-fit: contain; background: var(--surface); border-radius: 8px; }
.cart-qty { width: 80px; }
.cart-line-total { width: 110px; text-align: right; font-weight: 600; }
.summary-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; }
.summary-list { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin: 1rem 0; }
.summary-list dd { margin: 0; text-align: right; }
.summary-list .total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: .6rem; color: var(--brand); }
.summary-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.free-ship { background: var(--accent-soft); color: var(--accent-text); padding: .6rem .8rem; border-radius: 8px; margin-bottom: .75rem; }
.checkout-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; }
.step-no { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: .9rem; align-items: center; justify-content: center; margin-right: .4rem; font-family: var(--font-body); }
.address-options { display: grid; gap: .5rem; }
.address-option { display: flex; gap: .75rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; cursor: pointer; }
.address-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.address-option input { margin-top: .3rem; }
.legal-scroll { max-height: 220px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; font-size: .82rem; background: var(--surface); }
.legal-scroll h2 { font-size: .95rem; }

/* ---------------------------------------------------------------- Sonuç / Auth / Hesap */
.result-card { max-width: 640px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2.5rem 2rem; box-shadow: var(--shadow); }
.result-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; background: var(--surface); }
.result-card.success .result-icon { background: var(--accent-soft); color: var(--accent-text); }
.result-card.failed .result-icon { background: var(--danger-soft); color: var(--danger); }
.auth-card { max-width: 440px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 680px; }
.account-nav { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: .75rem; }
.account-nav a { color: var(--ink); padding: .55rem .75rem; border-radius: 8px; }
.account-nav a.active, .account-nav a:hover { background: var(--white); color: var(--brand); text-decoration: none; font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.card-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.coupon-card { display: flex; gap: 1rem; align-items: center; border: 2px dashed var(--accent); border-radius: var(--radius); padding: 1rem; }
.coupon-value { font-size: 1.6rem; font-weight: 700; color: var(--brand); min-width: 90px; text-align: center; }
.coupon-code { font-family: monospace; font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; }
.timeline li { position: relative; padding: 0 0 .75rem 1.25rem; border-left: 2px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--white); }
.legal-page { max-width: 860px; }
.legal-page h2 { font-size: 1.2rem; margin-top: 1.5rem; }
.error-page .error-code { font-family: var(--font-head); font-size: 5rem; font-weight: 800; color: var(--brand); line-height: 1; }

/* Honeypot: ekran okuyuculardan ve kullanıcılardan gizli */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- Bülten / Footer */
.newsletter-band { background: var(--brand-soft); padding: 4rem 0; border-top: 1px solid var(--line); }
.newsletter-band h2 { font-size: 2rem; color: var(--brand); }
.newsletter-band a { color: var(--brand); text-decoration: underline; }
.newsletter-form .form-control { border-radius: 999px 0 0 999px; padding: .85rem 1.3rem; border-color: var(--line); }
.newsletter-form .btn { border-radius: 0 999px 999px 0; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; padding-inline: 1.6rem; }
.site-footer { background: var(--brand-deep); color: #c8d6df; padding: 3rem 0 1.5rem; font-size: .9rem; border-top: 4px solid var(--accent); }
.site-footer a { color: #e6eef3; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.footer-logo { display: block; height: 40px; width: auto; }
.footer-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: .9rem; }
.footer-company { color: #c8d6df; font-style: normal; line-height: 1.6; }
/* Ödeme rozetleri (iyzico ile Öde · Visa · Mastercard · SSL) — logolar beyaz zemin kartında okunur kalır */
.footer-pay { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.25rem; }
.payment-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.payment-badges .pay-band, .payment-badges .pay-logo { display: block; width: auto; background: var(--white); border-radius: 6px; padding: 4px 8px; box-sizing: content-box; }
.payment-badges .pay-band { height: 28px; }
.payment-badges .pay-logo { height: 22px; }
.pay-chip { display: inline-flex; align-items: center; gap: .3rem; background: var(--white); color: var(--brand-deep); border-radius: 6px; padding: .3rem .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.pay-chip.pay-ssl { background: var(--accent); color: var(--on-accent); }
.payment-badges-checkout { margin-top: .9rem; justify-content: center; }
.payment-badges-checkout .pay-band, .payment-badges-checkout .pay-logo, .payment-badges-checkout .pay-chip { border: 1px solid var(--line); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 1.25rem; padding-top: 1rem; font-size: .8rem; }

/* Çerez bandı */
.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1080; padding: 1rem 0; }
.cookie-box { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); box-shadow: 0 -4px 30px rgba(var(--brand-rgb), .15); padding: 1rem 1.25rem; font-size: .9rem; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 767.98px) {
    .section { padding: 2.75rem 0; }
    .section-head { margin-bottom: 1.5rem; }
    .cart-line { flex-wrap: wrap; }
    .cart-line-total { width: auto; }
    .campaign-card { flex-direction: column; text-align: center; padding: 1.75rem; }
    .brand-card { flex-direction: column; text-align: center; gap: 1rem; }
    .story-band { padding: 4rem 0; }
    .newsletter-band { padding: 2.5rem 0; }
}
@media (max-width: 575.98px) {
    .brand img { height: 34px; }
    .topbar { letter-spacing: .06em; font-size: .68rem; }
    .auth-card { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
    .slide-media .halo::after { animation: none; }
    .lux-hero .slide-copy > *, .lux-hero .slide-img, .lux-hero .float-tag { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------------
   Google / Apple ile giriş butonları
   Google: beyaz zemin, #747775 kenarlık, #1F1F1F metin, renkli "G" (Sign in with Google yönergeleri)
   Apple : siyah zemin, beyaz logo + metin, diğer butonlarla eşit boyut ve önem (Apple HIG)
   --------------------------------------------------------------------------- */
.social-login { display: grid; gap: .65rem; }
.social-login form { margin: 0; }
.social-login-narrow { max-width: 440px; margin: 0 auto; }
.btn-social {
    display: flex; align-items: center; justify-content: center; gap: .65rem;
    width: 100%; min-height: 44px; padding: .55rem 1rem;
    border-radius: 999px; border: 1px solid transparent;
    font-size: 1rem; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
    cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease;
}
.btn-social:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .35); outline-offset: 2px; }
.btn-social:disabled { opacity: .65; cursor: progress; }
.btn-social-icon { flex: 0 0 auto; }
.btn-social-google {
    background: #fff; color: #1f1f1f; border-color: #747775;
    font-family: "Roboto", Arial, var(--font-body);
}
.btn-social-google:hover { background: #f8faff; box-shadow: 0 1px 3px rgba(60, 64, 67, .2); }
.btn-social-google:active { background: #eef3fd; }
.btn-social-apple {
    background: #000; color: #fff; border-color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, var(--font-body);
}
.btn-social-apple:hover { background: #1d1d1f; }
.btn-social-apple:active { background: #333; }
.btn-social-apple .btn-social-icon { margin-top: -3px; }

.auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; color: var(--muted); font-size: .85rem; text-align: center; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.auth-provider-badge { display: inline-block; background: var(--accent-soft); color: var(--accent-text); border-radius: 999px; padding: .2rem .75rem; font-size: .8rem; font-weight: 600; }

.linked-accounts { display: grid; gap: .5rem; }
.linked-account { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .75rem; border: 1px solid var(--line); border-radius: 12px; }
.linked-account-info { display: flex; align-items: center; gap: .75rem; min-width: 0; flex: 1 1 220px; }
.linked-account-logo { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.linked-account-logo-apple { background: #000; border-color: #000; color: #fff; }
.linked-account form { margin: 0; }

@media (max-width: 575.98px) {
    .btn-social { font-size: .95rem; }
    .linked-account { align-items: flex-start; }
    .linked-account > form, .linked-account > a { width: 100%; }
    .linked-account > form .btn, .linked-account > a { width: 100%; }
}

/* ---------------------------------------------------------------------------
   Sepet: adet stepper, mobil yerleşim, ödeme yöntemi logosu
   --------------------------------------------------------------------------- */
.cart-count-label { font-size: 1rem; font-weight: 500; color: var(--muted); }
.cart-info { flex: 1 1 auto; min-width: 0; }
.cart-line.has-problem { padding-left: .75rem; padding-right: .75rem; border-radius: 8px; }
.cart-qty { width: auto; margin: 0; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.qty-stepper .qty-btn { width: 36px; height: 36px; border: 0; background: transparent; color: var(--brand); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.qty-stepper .qty-btn:hover:not(:disabled) { background: var(--brand-soft); }
.qty-stepper .qty-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.qty-stepper .qty-btn:disabled { color: #b9c4cb; cursor: not-allowed; }
.qty-stepper .qty-value { min-width: 2ch; text-align: center; font-weight: 600; }
.cart-remove { margin: 0; }
.cart-pay-method { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cart-pay-logo { width: 117px; height: auto; flex: 0 0 auto; }

@media (max-width: 575.98px) {
    /* Görsel | bilgi + sil / stepper | tutar */
    .cart-line { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "thumb info remove" "thumb qty total"; gap: .5rem .75rem; align-items: center; }
    .cart-thumb { grid-area: thumb; align-self: start; }
    .cart-thumb img { width: 72px; height: 72px; }
    .cart-info { grid-area: info; }
    .cart-qty { grid-area: qty; }
    .cart-line-total { grid-area: total; width: auto; }
    .cart-remove { grid-area: remove; align-self: start; }
    .cart-pay-method { flex-direction: column; text-align: center; }
}

/* iyzico logo bandı (footer): koyu zeminde beyaz kart içinde, ekrana sığacak şekilde ölçeklenir */
.payment-badges .pay-band { height: auto; width: 429px; max-width: 100%; box-sizing: border-box; padding: 6px 10px; }
@media (max-width: 575.98px) {
    .payment-badges-footer { width: 100%; }
    .payment-badges-footer .pay-band { width: 100%; }
}

/* ---------------------------------------------------------------------------
   Sabit WhatsApp butonu (sol alt, tüm sayfalarda)
   --------------------------------------------------------------------------- */
.wa-float {
    position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 1070;
    display: inline-flex; align-items: center; gap: .5rem; height: 56px; padding: 0 14px;
    border-radius: 999px; background: #25d366; color: #fff; text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.wa-float:hover, .wa-float:focus-visible { background: #1ebe5b; color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.wa-float:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .45); outline-offset: 3px; }
.wa-float-icon { flex: 0 0 auto; }
.wa-float-label { font-weight: 600; font-size: .95rem; padding-right: 2px; }
/* Çerez bandı açıkken üstte kalmasın: bandın üstüne çıkar */
.cookie-consent:not([hidden]) ~ .wa-float { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 150px); }
@media (max-width: 767.98px) {
    .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; }
    .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .cookie-consent:not([hidden]) ~ .wa-float { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 220px); }
}
@media print { .wa-float { display: none; } }

/* ---- İl / ilçe açılır listeleri ---- */
.form-select:disabled { background-color: var(--surface, #f4f6f8); color: #8a949c; cursor: not-allowed; }
@media (max-width: 576px) {
    /* iOS Safari'de 16px altı alanlarda otomatik yakınlaştırmayı önler */
    .form-select, .form-control { font-size: 16px; }
}

/* ---------------------------------------------------------------------------
   Dil ve para birimi seçicileri (üst bant + mobil menü)
   --------------------------------------------------------------------------- */
/* Üst bant, yapışkan başlıktan (.site-header, z-index 1030) yüksek olmalı; aksi halde dil/para birimi menüsü başlığın altında kalır.
   Offcanvas arka planının (1040) altında kalır, mobil menü açıkken üstte görünmez. */
.topbar { position: relative; z-index: 1035; }
.topbar-text { min-width: 0; }
.pref-switch { display: flex; align-items: center; gap: .3rem; }
.btn-pref {
    display: inline-flex; align-items: center; gap: .3rem; line-height: 1.35;
    padding: .12rem .5rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px;
    background: transparent; color: var(--white); font-size: .72rem; letter-spacing: .06em;
}
.btn-pref:hover, .btn-pref:focus-visible, .btn-pref.show { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .65); color: var(--white); }
.btn-pref .icon-sm, .pref-switch-menu .icon-sm { width: 14px; height: 14px; }
.pref-switch .dropdown-menu { text-transform: none; letter-spacing: normal; font-size: .9rem; min-width: 13rem; }
.pref-switch .dropdown-item:disabled { opacity: .55; }
.pref-switch .dropdown-item-text { max-width: 16rem; white-space: normal; }
.pref-switch-menu { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.pref-switch-menu .dropdown, .pref-switch-menu .dropdown-menu { width: 100%; }
@media (max-width: 575.98px) {
    .topbar-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .btn-pref { padding: .1rem .4rem; }
}
