* { box-sizing: border-box; font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif !important; }
body { margin: 0; font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif; color: #1e293b; background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.store-main h1 { font-size: 22px; font-weight: 700; margin: 0 0 20px; color: #0f172a; }

.category-banner { margin: 0 0 20px; border-radius: 14px; overflow: hidden; height: 190px; }
.category-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Boş durum ekranı (sepet, favoriler vb.) — hesabım/siparişlerim sayfasındaki
   .orders-empty ile aynı görsel dil. */
.store-empty-state {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; text-align: center; padding: 56px 20px;
    border: 1px dashed #d8dde4; border-radius: 12px; background: #fafafa;
}
.store-empty-state[hidden] { display: none; }
.store-empty-state svg { color: #cbd5e1; }
.store-empty-state p { margin: 0; font-size: 14px; color: #64748b; }
.store-empty-state a {
    margin-top: 4px; display: inline-flex; align-items: center;
    padding: 10px 22px; border-radius: 8px;
    background: #0f172a; color: #fff; text-decoration: none;
    font-size: 13.5px; font-weight: 600;
}
.store-empty-state a:hover { background: #1e293b; }

.store-footer { border-top: 1px solid #e5e7eb; margin-top: auto; padding: 20px 32px; color: #64748b; font-size: 13px; }
.store-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.store-footer-links { display: flex; gap: 18px; }
.store-footer-links a { color: #64748b; text-decoration: none; }
.store-footer-links a:hover { text-decoration: underline; }

.announcement-bar {
    display: flex; align-items: center; justify-content: center;
    padding: 9px 20px; text-align: center; overflow: hidden;
    background: var(--announcement-bar-bg, #0f172a); color: var(--announcement-bar-text, #fff);
    font-size: 13px; font-weight: 600;
    /* JS (assets/announcement-bar.js) tek satır/kayan yazı modunu belirleyip
       .is-ready ekleyene kadar şerit gizli kalır — geçişte "önce statik sonra
       kayan yazı" gibi bir sıçrama/flaş görünmesin diye. Görünürlük dışındaki
       yerleşim (height/layout) korunur, JS ölçümleri normal çalışmaya devam eder. */
    visibility: hidden;
}
.announcement-bar.is-ready { visibility: visible; }
/* Sayfa genelindeki `* { font-family: ... !important; }` kuralını (satır 1)
   ezmek için burada da !important gerekiyor — panelden seçilen font
   (bkz. panel/pages/duyurular.php > Duyuru Şeridi Görünümü) böyle uygulanır. */
.announcement-bar, .announcement-bar * { font-family: var(--announcement-bar-font-family, 'Manrope', 'Segoe UI', system-ui, sans-serif) !important; }
.announcement-bar-viewport { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; width: 100%; }
.announcement-bar-track { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
.announcement-bar-item { margin: 0; }
.announcement-bar-item a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.announcement-bar-sep { opacity: .45; }
/* Son duyurudan sonraki ayraç nokta, yalnızca döngünün görüneceği kayan yazı
   modunda anlamlıdır — tek satıra sığan/statik durumda gösterilmez. */
.announcement-bar-sep-loop { display: none; }
.announcement-bar.is-marquee .announcement-bar-sep-loop { display: inline; }

/* Metinler tek satıra sığmayınca JS (assets/announcement-bar.js) bu sınıfı
   ekler ve track'i klonlayıp yan yana koyar. Klonla arasındaki mesafenin,
   diğer duyurular arasındaki mesafeyle (track'in kendi 10px gap'i) birebir
   aynı olması için: viewport'un gap'i marquee'de 0'a çekilir, bunun yerine
   track'e (dolayısıyla klonuna da, cloneNode class'ı kopyaladığı için) sondaki
   ayraç noktasından hemen sonra 10px'lik margin-right verilir — böylece ikisini
   birden -%50 kaydırmak da tam bu tekrar birimi genişliğine denk düşüp
   dikişsiz/kesintisiz bir döngü oluşturur. */
.announcement-bar.is-marquee .announcement-bar-viewport {
    flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 0;
    animation: announcement-marquee var(--announcement-bar-speed, 40s) linear infinite;
}
.announcement-bar.is-marquee .announcement-bar-track { flex-wrap: nowrap; white-space: nowrap; flex-shrink: 0; margin-right: 10px; }
.announcement-bar.is-marquee .announcement-bar-item { white-space: nowrap; }
.announcement-bar.is-marquee:hover .announcement-bar-viewport { animation-play-state: paused; }

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

.store-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg-color, #fff); border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
    font-size: var(--header-font-size, 14px);
}
.store-header.is-not-sticky { position: static; box-shadow: none; }
.store-header, .store-header * { font-family: var(--header-font-family, 'Manrope', 'Segoe UI', system-ui, sans-serif) !important; }
.store-header-main {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 28px;
    padding: 15px 0;
}

/* Logo */
.store-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; flex-shrink: 0;
    font-size: var(--header-logo-size, 20px);
}
.store-logo-mark {
    display: flex; align-items: center; justify-content: center;
    width: 1.9em; height: 1.9em; border-radius: .28em;
    background: var(--header-accent-color, #1e293b);
    color: #fff; font-size: .85em; font-weight: 800; line-height: 1;
}
.store-logo-text { font-size: 1em; font-weight: 800; letter-spacing: -.01em; color: var(--header-text-color, #0f172a); }
.store-logo-image { display: block; width: auto; max-height: 2.3em; max-width: 280px; object-fit: contain; }

/* Arama */
.store-search-wrap { position: relative; flex: 1 1 auto; max-width: var(--header-search-width, 640px); margin: 0 auto; }
.store-search {
    display: flex; align-items: center; gap: 8px;
    background: #f1f5f9; border: 1px solid transparent; border-radius: 999px;
    padding: 0 8px 0 16px; height: 44px;
    transition: border-color .15s ease, background .15s ease;
}
.store-search:focus-within { background: #fff; border-color: var(--header-accent-color, #0f172a); }
.store-search-icon { color: #64748b; flex-shrink: 0; }
.store-search input[type="search"] {
    flex: 1; min-width: 0; border: none; background: none; outline: none;
    font-size: 1.04em; color: #0f172a;
}
.store-search input[type="search"]::placeholder { color: #94a3b8; }
.store-search button {
    flex-shrink: 0; border: none; cursor: pointer;
    background: var(--header-accent-color, #0f172a); color: #fff; font-size: .96em; font-weight: 600;
    padding: 0 20px; height: 34px; border-radius: 999px;
    transition: background .15s ease; opacity: 1;
    filter: brightness(1);
}
.store-search button:hover { filter: brightness(1.15); }

/* Arama önerileri (canlı sonuç dropdown) */
.search-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
    padding: 8px; z-index: 50; max-height: 420px; overflow-y: auto;
}
.search-suggest[hidden] { display: none; }
.search-suggest-heading {
    padding: 8px 8px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: #94a3b8;
}
.search-suggest-category {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; border-radius: 10px; text-decoration: none; color: #334155;
    font-size: 13.5px; font-weight: 500;
}
.search-suggest-category svg { flex-shrink: 0; color: #94a3b8; }
.search-suggest-category:hover { background: #f1f5f9; color: #0f172a; }
.search-suggest-item {
    display: flex; align-items: center; gap: 12px;
    padding: 8px; border-radius: 10px; text-decoration: none; color: inherit;
}
.search-suggest-item:hover { background: #f1f5f9; }
.search-suggest-item img {
    width: 42px; height: 42px; border-radius: 8px; object-fit: cover;
    background: #f1f5f9; flex-shrink: 0;
}
.search-suggest-item .info { min-width: 0; flex: 1; }
.search-suggest-item .name {
    font-size: 13.5px; font-weight: 600; color: #0f172a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-suggest-item .price {
    font-size: 12.5px; color: #64748b;
    margin-left: auto; padding-left: 12px;
    flex-shrink: 0; white-space: nowrap; text-align: right;
}
.search-suggest-more {
    display: block; text-align: center; padding: 10px; margin-top: 4px;
    border-top: 1px solid #f1f5f9; font-size: 13px; font-weight: 600;
    color: #0f172a; text-decoration: none;
}
.search-suggest-more:hover { text-decoration: underline; }
.search-suggest-empty { padding: 16px 8px; text-align: center; font-size: 13.5px; color: #64748b; }

/* Aksiyonlar (favoriler / hesabım / sepet) */
.store-header-actions {
    display: flex; align-items: stretch; gap: 4px;
    list-style: none; margin: 0; padding: 0; flex-shrink: 0;
}
/* Arama çubuğu (Header Ayarları > Diğer > "Arama Çubuğu göster") kapalıysa, boşluğu
   dolduran .store-search-wrap hiç render edilmez — bu durumda ikonların logo yanına
   yapışmaması için sağa itiliyor. */
.store-header-actions-push-right { margin-left: auto; }
.store-header-actions > li { position: relative; display: flex; }
.action-link {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 10px;
    text-decoration: none; color: var(--header-text-color, #334155);
    transition: background .15s ease, color .15s ease;
}
.action-link:hover { background: #f1f5f9; color: var(--header-accent-color, #0f172a); }
.action-link > svg { flex-shrink: 0; }
.action-link-icon { position: relative; display: flex; flex-shrink: 0; }
.action-link-label { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.action-link-label strong { font-size: .96em; font-weight: 700; }
.action-link-label small { font-size: .86em; color: var(--header-text-color, #64748b); }
.action-badge {
    position: absolute; top: -4px; right: -5px;
    min-width: 14px; height: 14px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 999px; background: #dc2626; color: #fff;
    font-size: 8.5px; font-weight: 700; line-height: 1;
    box-shadow: 0 0 0 2px #fff;
}
.action-badge.is-empty { display: none; }
.nav-heart-icon { flex-shrink: 0; display: block; }

/* Hesabım açılır paneli */
.account-menu-panel {
    position: absolute; top: 100%; right: 0; margin-top: 6px;
    min-width: 190px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
    padding: 8px; display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 10;
}
.account-menu:hover .account-menu-panel,
.account-menu:focus-within .account-menu-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.account-menu-panel a,
.account-menu-panel button {
    display: block; width: 100%; text-align: left;
    border: none; background: none; cursor: pointer;
    font: inherit; font-size: 13.5px; color: #334155; text-decoration: none;
    padding: 9px 10px; border-radius: 8px;
}
.account-menu-panel a:hover,
.account-menu-panel button:hover { background: #f1f5f9; color: #0f172a; }
.account-menu-panel form { margin: 0; border-top: 1px solid #f1f5f9; margin-top: 2px; padding-top: 2px; }
.account-menu-panel a.account-menu-admin-link { color: #7c3aed; font-weight: 700; }
.account-menu-panel a.account-menu-admin-link:hover { background: #f5f3ff; color: #6d28d9; }

/* Nav menü — header'ın altında ayrı bir şerit (eski yerleşim). Açılış/hover
   tasarımı Turkcell'den esinlenildi: her öğe hover'da beyaz bir "sekme" gibi
   öne çıkıp altındaki dropdown paneliyle kesintisiz birleşir. Kategori
   fallback'i de aynı markup'ı kullanır (bkz. header.php). */
.store-subnav { border-top: 1px solid #f1f5f9; font-size: var(--header-nav-font-size, 13px); }
.store-subnav, .store-subnav * { font-family: var(--header-nav-font-family, 'Manrope', 'Segoe UI', system-ui, sans-serif) !important; }
.store-subnav ul {
    max-width: 1200px; margin: 0 auto; padding: 0;
    display: flex; align-items: stretch; gap: 2px; list-style: none;
    overflow-x: auto;
}
.store-subnav a {
    display: flex; align-items: center; padding: 10px 14px; font-size: 1em; font-weight: 600;
    border-radius: 8px 8px 0 0; color: var(--header-nav-text-color, #475569);
    text-decoration: none; white-space: nowrap;
    transition: background .12s ease, color .12s ease;
}
.store-subnav > ul > li:hover > a { background: #fff; }
/* Hover'da li'ye z-index vererek sayfa içeriğinin (ürün kartları vb.) üstünde
   kalmasını garantiliyoruz — gerçek stacking context sorunlarına karşı. */
.store-subnav li:hover { z-index: 55; }

/* Özel menü (panel > Tasarım > Menü Ayarları) — basit üst menü + mega menü (bölümler) */
.store-menu ul { overflow: visible; }
.store-menu-item { position: relative; }
.store-mega-panel {
    display: none; position: absolute; top: 100%; left: 0; padding: 24px;
    background: #fff; border: 1px solid #e5e7eb; border-top: none; border-radius: 0 12px 12px 12px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .14); min-width: 560px; z-index: 50;
}
.store-menu-item:hover .store-mega-panel { display: block; }
.store-mega-columns { display: flex; gap: 28px; }
.store-mega-col { flex: 1; min-width: 140px; }
.store-mega-col img { width: 100%; border-radius: 10px; margin-bottom: 10px; display: block; object-fit: cover; aspect-ratio: 4 / 3; background: #f1f5f9; }
.store-mega-col-title { display: block; font-size: .96em; font-weight: 700; color: #0f172a; margin-bottom: 8px; text-decoration: none; }
a.store-mega-col-title:hover { color: var(--header-nav-hover-color, #0f172a); }
.store-mega-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.store-mega-col ul a {
    display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 8px;
    font-size: .92em; color: var(--header-nav-text-color, #475569); text-decoration: none;
}
.store-mega-col ul a:hover { background: #f1f5f9; color: var(--header-nav-hover-color, #0f172a); }

.store-submenu-panel {
    display: none; position: absolute; top: 100%; left: 0;
    border-top: none; min-width: 200px; z-index: 50;
}
/* Panelin görünür yüzeyi (arkaplan/border) ::after'a taşındı. Negatif z-index
   (CSS spec): kurucu elemanın (panel) kendi arkaplanının ÖNÜNDE ama normal
   (pozitif/auto) içeriğin ARKASINDA boyanır. flyout: -2 (en altta),
   ::after: -1 (flyout'un üstünde ama panelin <ul> satırlarının altında,
   böylece satırlar hep okunabilir kalır). */
.store-submenu-panel::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background: #fff; border: 1px solid #e5e7eb; border-top: none; border-radius: 0 12px 12px 12px;
}
.store-menu-item:hover .store-submenu-panel { display: block; }
.store-submenu-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.store-submenu-item { position: relative; }
.store-submenu-item.has-children > a::after { content: '\203a'; margin-left: auto; padding-left: 10px; color: #94a3b8; }
.store-submenu-flyout {
    /* margin-left negatif — panelin üstüne biner (aradaki boşluk fare
       imlecinin item'dan flyout'a giderken hover zincirini kırıp menüyü
       kapatmasına yol açıyordu). z-index: -1 — flyout panelin bir alt
       öğesi olduğu için, çakışan bölgede panelin ÖZ arkaplanının/border'ının
       ARKASINDA kalsın diye negatif z-index veriyoruz (negatif z-index'li
       alt öğeler, kurucu elemanın arkaplanından ÖNCE/altta boyanır). */
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: -10px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: none;
    border-radius: 0 12px 12px 0;
    box-shadow: 2px 2px 9px 0px rgba(15, 23, 42, .14);
    min-width: 200px;
    z-index: -2;
}
.store-submenu-item:hover > .store-submenu-flyout { display: block; }
.store-submenu-flyout ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.store-submenu-flyout ul a {
    display: block; padding: 8px 10px; border-radius: 8px; font-size: .92em;
    color: var(--header-nav-text-color, #475569); text-decoration: none;
}
.store-submenu-flyout ul a:hover { background: #fff; color: var(--header-nav-hover-color, #0f172a); }

@media (max-width: 900px) {
    .store-mega-panel { min-width: 0; left: 0; right: 0; }
    .store-mega-columns { flex-wrap: wrap; }
    .store-mega-col { min-width: 45%; }
}

/* Mobil menü butonu (logonun yanında) + sağdan açılan menü (drawer) */
.store-drawer, .store-drawer * { font-family: var(--header-font-family, 'Manrope', 'Segoe UI', system-ui, sans-serif) !important; }
.store-menu-toggle {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
    border: 1px solid #e5e7eb; border-radius: 10px;
    background: #fff; color: var(--header-text-color, #334155); cursor: pointer;
}
.store-menu-toggle:hover { background: #f1f5f9; }

.store-drawer-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, .5);
    z-index: 200; opacity: 0; transition: opacity .2s ease;
}
.store-drawer-overlay[hidden] { display: none; }
.store-drawer-overlay.is-visible { opacity: 1; }

.store-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
    background: #fff; z-index: 201; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .25s ease;
    box-shadow: -8px 0 24px rgba(15, 23, 42, .15);
}
.store-drawer.is-open { transform: translateX(0); }
.store-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid #e5e7eb; flex-shrink: 0;
}
.store-drawer-title { font-weight: 800; font-size: 16px; color: #0f172a; }
.store-drawer-close {
    width: 32px; height: 32px; border: none; border-radius: 8px;
    background: #f1f5f9; color: #334155; font-size: 18px; line-height: 1; cursor: pointer;
}
.store-drawer-close:hover { background: #e2e8f0; }
.store-drawer-body { flex: 1; overflow-y: auto; padding: 8px 0; }
.store-drawer-section { padding: 12px 20px; border-bottom: 1px solid #f1f5f9; }
.store-drawer-section:last-child { border-bottom: none; }
.store-drawer-section-title {
    display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: #94a3b8; margin-bottom: 8px;
}
.store-drawer-categories { display: flex; flex-direction: column; }
.store-drawer-categories a {
    padding: 10px 6px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
    color: #1e293b; text-decoration: none;
}
.store-drawer-categories a:hover { background: #f1f5f9; }
.store-drawer-menu-child { padding-left: 20px !important; font-size: 13.5px !important; font-weight: 500 !important; color: #64748b !important; }
.store-drawer-menu-grandchild { padding-left: 34px !important; font-size: 13px !important; font-weight: 500 !important; color: #94a3b8 !important; }
.store-drawer-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.store-drawer-actions .action-link { padding: 10px 6px; border-radius: 8px; }
.store-drawer-actions .action-link:hover { background: #f1f5f9; }
body.store-drawer-locked { overflow: hidden; }

@media (max-width: 860px) {
    .store-header-main { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
    .store-search { order: 3; flex-basis: 100%; max-width: none; }
    .store-menu-toggle { display: flex; margin-left: auto; }
    .store-header-actions { display: none; }
    .store-subnav { display: none; }
}
.store-main { max-width: 1200px; margin: 0 auto; padding: 15px 0; width: 100%; flex: 1; }

.category-layout { display: flex; align-items: flex-start; gap: 28px; }
.category-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(28, 24, 21, .08);
    padding: 15px;
}

.category-filters {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(28, 24, 21, .08);
    padding: 15px;
    position: sticky;
    top: var(--sticky-offset-top, 15px);
}
.category-filters .filter-block { padding: 16px 0; border-bottom: 1px solid #e5e7eb; }
.category-filters .filter-block:first-child { padding-top: 0; }
.filter-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; cursor: pointer; }
.filter-block-title { margin: 0; font-size: 13.5px; font-weight: 700; color: #0f172a; }
.filter-block-toggle {
    flex-shrink: 0; width: 22px; height: 22px; border: 1px solid #e5e7eb; border-radius: 6px;
    background: #f8fafc; color: #0f172a; font-size: 15px; line-height: 1; font-weight: 700;
    display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.filter-block-toggle:hover { background: #f1f5f9; }
.filter-block.is-collapsed .filter-block-body { display: none; }
.filter-block.is-collapsed .filter-block-head { margin-bottom: 0; }

/* Fiyat aralığı — iki üst üste binen range input klasik tekniği: her ikisi de pointer-events:none,
   sadece thumb pseudo-element'i pointer-events:auto — böylece ortadaki alanda hangi thumb'a
   tıklandığı thumb'ın kendisine göre belirlenir, track'e değil. */
.filter-price-range { position: relative; height: 20px; margin: 4px 0 6px; }
.price-range-track { position: absolute; top: 8px; left: 0; right: 0; height: 4px; background: #e5e7eb; border-radius: 2px; }
.price-range-fill { position: absolute; top: 0; height: 4px; background: #0f172a; border-radius: 2px; }
.price-range-input {
    position: absolute; top: 0; left: 0; width: 100%; height: 20px; margin: 0;
    -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.price-range-input::-webkit-slider-thumb {
    pointer-events: auto; -webkit-appearance: none; appearance: none;
    width: 16px; height: 16px; margin-top: 0; border-radius: 50%;
    background: #0f172a; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; cursor: pointer;
}
.price-range-input::-moz-range-thumb {
    pointer-events: auto; width: 14px; height: 14px; border-radius: 50%;
    background: #0f172a; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; cursor: pointer;
}
.price-range-input::-webkit-slider-runnable-track { -webkit-appearance: none; background: transparent; height: 20px; }
.price-range-input::-moz-range-track { background: transparent; height: 20px; }
.filter-price-labels { display: flex; justify-content: space-between; font-size: 12.5px; color: #475569; }

/* Marka/nitelik/stok/indirim seçimleri — anahtar (switch) görünümü. */
.filter-switch-list { display: flex; flex-direction: column; gap: 10px; }
.filter-switch { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #334155; cursor: pointer; }
.filter-switch input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); }
.filter-switch-track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #cbd5e1; flex-shrink: 0; transition: background .15s; }
.filter-switch-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.filter-switch input:checked + .filter-switch-track { background: #0f172a; }
.filter-switch input:checked + .filter-switch-track::after { transform: translateX(14px); }
.filter-switch input:focus-visible + .filter-switch-track { box-shadow: 0 0 0 2px #94a3b8; }
.filter-switch-label { display: inline-flex; align-items: center; gap: 6px; }
.filter-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex-shrink: 0; }

/* Değerlendirme puanı — tek seçimlik olduğu için switch değil, radyo olarak kalır. */
.filter-radio-list { display: flex; flex-direction: column; gap: 8px; }
.filter-radio { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #334155; cursor: pointer; }
.filter-radio input { margin: 0; }

/* 6'dan fazla seçenek varsa liste sabit yükseklikte kalıp kendi içinde kayar — filtre
   sayfası tek bir uzun nitelik/marka listesi yüzünden aşırı uzamasın diye. */
.filter-switch-list:has(> :nth-child(7)),
.filter-radio-list:has(> :nth-child(7)) {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 6px;
}

.filter-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.filter-submit-btn { padding: 10px 16px; border: none; border-radius: 8px; background: #0f172a; color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.filter-submit-btn:hover { background: #1e293b; }
.filter-clear-link { text-align: center; font-size: 12.5px; color: #64748b; text-decoration: none; cursor: pointer; }
.filter-clear-link:hover { text-decoration: underline; }

.category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.category-head h1 { margin: 0; }
.category-result-bar { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.category-result-count { margin: 0; font-size: 12.5px; color: #64748b; white-space: nowrap; }
.category-sort-select { font-size: 12.5px; color: #0f172a; border: 1px solid #d8dde4; border-radius: 8px; padding: 6px 10px; background: #fff; cursor: pointer; }
#category-results.is-loading { opacity: .5; pointer-events: none; transition: opacity .1s; }

.category-view-toggle { display: flex; gap: 4px; flex-shrink: 0; }
.category-view-btn {
    height: 28px; padding: 0 10px; border: 1px solid #d8dde4; border-radius: 6px;
    background: #fff; color: #64748b; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.category-view-btn:hover { border-color: #94a3b8; color: #0f172a; }
.category-view-btn.is-active { background: #0f172a; color: #fff; border-color: #0f172a; }

@media (max-width: 760px) {
    .category-layout { flex-direction: column; }
    .category-filters { width: 100%; position: static; max-height: none; }
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) {
    .product-grid.cols-3, .product-grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
.product-card { position: relative; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.product-card-link { display: block; text-decoration: none; color: inherit; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #f1f5f9; }
.product-card .info { padding: 12px; }
.product-card .name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.product-card .price { font-size: 14px; color: #0f172a; }
.price del { color: #94a3b8; font-weight: 400; margin-left: 6px; font-size: 12.5px; }

.product-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.product-badge {
    display: inline-flex; align-items: center;
    padding: 3px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700; color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.gallery-main-wrap .product-badges { top: 14px; left: 14px; gap: 6px; }
.gallery-main-wrap .product-badge { font-size: 12.5px; padding: 4px 12px; }

.favorite-btn {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 32px; height: 32px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, .92);
    color: #64748b; cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    transition: color .15s ease, transform .1s ease;
}
.favorite-btn:hover { color: #ef4444; transform: scale(1.06); }
.favorite-btn.is-loading { opacity: .6; pointer-events: none; }
.favorite-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.favorite-btn.is-active { color: #ef4444; }
.favorite-btn.is-active svg { fill: #ef4444; }
.gallery-main-wrap .favorite-btn { top: 14px; right: 14px; width: 38px; height: 38px; }
.gallery-main-wrap .favorite-btn svg { width: 20px; height: 20px; }
.low-stock-cover-badge { position: absolute; bottom: 14px; right: 14px; width: 120px; height: auto; z-index: 2; pointer-events: none; background: #fff; padding: 10px; border-radius: 12px; box-sizing: border-box; }

.pagination { margin-top: 24px; display: flex; gap: 8px; }
.pagination a.active { font-weight: 700; text-decoration: underline; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #64748b; margin-bottom: 15px; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 15px; }
.breadcrumbs a { color: #64748b; text-decoration: none; }
.breadcrumbs a:hover { color: #0f172a; text-decoration: underline; }
.breadcrumbs-sep { color: #cbd5e1; }
.breadcrumbs-current { color: #1e293b; font-weight: 500; }

.product-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(40%, 1fr); gap: 15px; align-items: start; }
.product-info { text-align: center; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28,24,21,.08); padding: 15px; }
.product-meta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #64748b; margin-bottom: 6px; }
.product-rating { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.product-stars { color: #f59e0b; letter-spacing: 1px; }
.product-rating-value { font-weight: 700; color: #0f172a; }
.product-meta-sep { color: #cbd5e1; }
.product-sku { color: #64748b; }
.product-sku #product-sku-value { font-weight: 600; color: #0f172a; }
.product-info .variant-select-row { display: grid; grid-template-columns: 1fr 3fr; align-items: center; gap: 10px; margin-bottom: 16px; text-align: left; justify-content: initial; }
.product-info .variant-select-row label { text-align: left; font-size: 15px; }
.product-info .variant-select-row label::after { content: " :"; }
.product-info .qty-actions-row { display: flex; align-items: stretch; gap: 12px; width: 100%; }
.qty-action-buttons { display: flex; align-items: stretch; gap: 12px; flex: 1; min-width: 0; }
.product-info .variant-row { justify-content: center; }
.product-gallery { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28,24,21,.08); padding: 15px; }
.product-gallery .gallery-thumbs[hidden] { display: none; }
.product-gallery .gallery-thumbs { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; width: 120px; overflow: hidden; }
.gallery-thumb { flex: 1; min-height: 0; padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; line-height: 0; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.gallery-thumb.active { border-color: #0f172a; }
.gallery-main-wrap { position: relative; flex: 1; align-self: flex-start; min-width: 0; overflow: hidden; border-radius: 12px; border: 1px solid #e5e7eb; }
.product-gallery img.main { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 12px; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-main-wrap[data-gallery-zoom-active="1"] img.main { cursor: zoom-in; }
.gallery-main-wrap[data-gallery-zoom-active="1"]:hover img.main { transform: scale(1.6); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 0; border: none; border-radius: 50%; background: rgba(15,23,42,.55); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s ease, background .2s ease; z-index: 2; }
.gallery-main-wrap:hover .gallery-nav { opacity: 1; }

@media (min-width: 901px) {
    .product-gallery.layout-thumbs-right { flex-direction: row-reverse; }
    .product-gallery.layout-thumbs-bottom { flex-direction: column-reverse; }
    .product-gallery.layout-thumbs-bottom .gallery-main-wrap { width: 100%; align-self: stretch; }
    .product-gallery.layout-thumbs-bottom .gallery-thumbs { display: grid; grid-template-columns: repeat(7, 1fr); width: 100%; max-height: 190px; overflow-y: auto; }
    .product-gallery.layout-thumbs-bottom .gallery-thumb { width: auto; height: auto; aspect-ratio: 1; flex: none; }
}
.gallery-nav:hover { background: rgba(15,23,42,.85); }
.gallery-nav[hidden] { display: none; }
.gallery-nav-prev { left: 10px; }
.gallery-nav-next { right: 10px; }

.gallery-lightbox { position: fixed; inset: 0; background: rgba(15,23,42,.9); z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
.gallery-lightbox[hidden] { display: none; }
.review-photo-lightbox-caption { max-width: 480px; margin-top: 16px; text-align: center; color: #fff; }
.review-photo-lightbox-caption strong { display: block; font-size: 13.5px; margin-bottom: 4px; }
.review-photo-lightbox-caption p { margin: 0; font-size: 14px; line-height: 1.6; color: #cbd5e1; }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-main-wrap { position: relative; display: flex; align-items: center; justify-content: center; max-width: 90vw; max-height: 70vh; }
.lightbox-main-wrap .gallery-nav { opacity: 1; }
.lightbox-main-image { max-width: 90vw; max-height: 70vh; object-fit: contain; border-radius: 8px; background: #fff; display: block; }
.lightbox-thumbs { display: flex; gap: 10px; margin-top: 20px; max-width: 90vw; overflow-x: auto; padding-bottom: 4px; }
.lightbox-thumb { flex: 0 0 64px; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; line-height: 0; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.lightbox-thumb.active { border-color: #fff; }

.product-price-large { margin-bottom: 16px; transition: opacity .15s ease; }
.product-price-large.is-loading { opacity: .5; }

.product-share-box {
    margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    text-align: left; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px;
    box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 15px;
}
.product-share-text { font-size: 14px; font-weight: 600; color: #0f172a; }
.product-share-row { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.product-share-btn {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    border: none; color: #fff;
    transition: filter .15s ease, transform .1s ease;
}
.product-share-btn:hover { transform: scale(1.08); filter: brightness(1.08); }
.product-share-btn svg { width: 16px; height: 16px; }
.product-share-btn.is-facebook { background: #1877f2; }
.product-share-btn.is-x { background: #000; }
.product-share-btn.is-whatsapp { background: #25d366; }
.price-old-line { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.price-old { font-size: 18px; color: #94a3b8; text-decoration: line-through; font-weight: 400; }
.price-discount-badge { font-size: 16px; color: #16a34a; font-weight: 600; }
.price-new { font-size: 28px; font-weight: 700; color: #0f172a; margin-top: 2px; }
.price-new-only { margin-top: 0; }
.variant-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.variant-row.out-of-stock { opacity: .5; }
.variant-row .label { flex: 1; }
.variant-row .stock { color: #94a3b8; font-size: 13px; min-width: 90px; text-align: right; }
.qty-stepper { display: flex; align-items: stretch; flex: 0 0 auto; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.qty-btn { flex: 0 0 34px; border: none; background: #f8fafc; color: #0f172a; font-size: 16px; line-height: 1; cursor: pointer; }
.qty-btn:hover:not(:disabled) { background: #eef2f7; }
.qty-btn:disabled { opacity: .5; cursor: not-allowed; }
.qty-stepper .qty-input { flex: 0 0 46px; width: 46px; border: none; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input { flex: 0 0 70px; width: 70px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 8px; }
.variant-select { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 16px; font-weight: 600; background: #fff; text-align: center; text-align-last: center; }
.variant-select option { text-align: center; }
.swatch-group { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { padding: 0; border: 2px solid #e5e7eb; border-radius: 999px; cursor: pointer; background: #fff; }
.swatch:hover { border-color: #94a3b8; }
.swatch.active { border-color: #0f172a; box-shadow: 0 0 0 2px rgba(15, 23, 42, .12); }
.swatch-color { width: 30px; height: 30px; }
.swatch-image { width: 60px; aspect-ratio: 3 / 5; height: auto; border-radius: 8px; overflow: hidden; line-height: 0; }
.swatch-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch-image-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 13px; font-weight: 700; color: #64748b; background: #f1f5f9; }
.btn-primary { flex: 1; padding: 12px 24px; border: none; border-radius: 8px; background: #0f172a; color: #fff; font-size: 15px; text-transform: uppercase; cursor: pointer; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-buy-now { flex: 1; padding: 12px 24px; border: 1px solid #1d7a2f; border-radius: 8px; background: #24993a; color: #fff; font-size: 15px; font-weight: 600; text-transform: uppercase; cursor: pointer; }
.btn-buy-now:hover:not(:disabled) { background: #1d7a2f; }
.btn-buy-now:disabled { opacity: .5; cursor: not-allowed; }
.cart-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.product-specs { margin-top: 28px; }
.product-specs h3, .product-description-block h3, .product-installment-block h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #0f172a; }
/* Özellik sayısı artık sabit değil (bkz. ProductSpec — serbest, sınırsız liste,
   varyant değişince JS ile yeniden dolabilir) — sabit cols-N sınıfları yerine
   kendiliğinden sığan, esnek bir grid kullanılır. */
.specs-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.spec-item { border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 12px; text-align: center; }
.spec-label { display: block; font-size: 12px; color: #64748b; margin-bottom: 4px; }
.spec-value { display: block; font-size: 15px; font-weight: 600; color: #0f172a; }

.product-info-column { display: flex; flex-direction: column; min-width: 0; }
.product-whatsapp-box { margin-top: 15px; display: flex; align-items: center; gap: 5px; text-align: left; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 15px; }
.product-whatsapp-icon { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }
.product-whatsapp-text { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: #0f172a; }
.product-whatsapp-btn { flex: 0 0 auto; padding: 10px 18px; border-radius: 8px; background: #25D366; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s ease; }
.product-whatsapp-btn:hover { background: #128C7E; }
.product-installment-toggle { margin-top: 12px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 13px 15px; font-size: 14px; font-weight: 700; color: #0f172a; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.product-installment-toggle:hover { background: #f8fafc; border-color: #cbd5e1; }
.product-description-block { margin-top: 15px; text-align: center; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 15px; }
.product-installment-block { margin-top: 15px; text-align: left; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 15px; }
.product-installment-block .table-responsive { overflow-x: auto; }
.product-installment-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-installment-table th, .product-installment-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid #f1f5f9; }
.product-installment-table th { color: #64748b; font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; }
.product-installment-table td { color: #0f172a; }
.product-installment-table tr:last-child td { border-bottom: none; }
.product-description { line-height: 1.6; color: #334155; font-size: 15px; }

.product-reviews-list, .product-review-form-wrap { text-align: left; }
.product-reviews-list { display: flex; flex-direction: column; gap: 0; }
#product-reviews-section { scroll-margin-top: 100px; }
/* Yorum durumu (onaylı/bekliyor/reddedildi) fark etmeksizin her yorum satırı aynı
   tek çizgiyle ayrılsın diye border her zaman üstte tanımlanır — yorumlar iki ayrı
   DOM konteynerinde (onaylı liste + kendi bekleyen yorumlarım) render edildiği için
   :last-child ile "son öğede çizgi olmasın" mantığı konteynerler arası tutarsız
   kalıyordu; tek istisna her listenin kendi ilk öğesi (üstündeki başlığa bitişik). */
.product-review-item { padding-top: 14px; padding-bottom: 14px; border-top: 1px solid #f1f5f9; scroll-margin-top: 130px; }
.product-reviews-list > .product-review-item:first-child { border-top: none; padding-top: 0; }
.product-review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-review-stars { color: #f59e0b; letter-spacing: 1px; }
.product-review-author { font-weight: 600; color: #0f172a; font-size: 14px; }
.product-review-date { color: #94a3b8; font-size: 12.5px; }
.product-review-comment { margin: 6px 0 0; color: #334155; font-size: 14px; line-height: 1.5; }
.product-review-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.review-photo-thumb { width: 64px; height: 64px; padding: 0; border: 1px solid #e5e7eb; border-radius: 8px; background: none; cursor: pointer; line-height: 0; }
.review-photo-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; display: block; }
.product-review-hide-name { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; font-size: 12.5px; color: #334155; cursor: pointer; }
.product-review-hide-name input[type="checkbox"] { width: auto; margin: 0; accent-color: #0f172a; }
.product-review-photo-input { margin-bottom: 12px; }
.product-review-photo-input label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.product-review-photo-input label:hover { background: #f8fafc; border-color: #94a3b8; }
.product-review-photo-input input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.product-review-photo-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.product-review-photo-preview:empty { display: none; }
.review-photo-preview-item { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; }
.review-photo-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-photo-preview-item.is-uploading img { opacity: .4; }
.review-photo-preview-spinner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.5); }
.review-photo-preview-spinner::after { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; border-top-color: #0f172a; animation: review-photo-spin .7s linear infinite; }
@keyframes review-photo-spin { to { transform: rotate(360deg); } }
.review-photo-preview-remove { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; padding: 0; border: none; border-radius: 50%; background: rgba(15,23,42,.7); color: #fff; font-size: 12px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.review-photo-preview-remove:hover { background: rgba(15,23,42,.9); }
.review-photo-preview-error { width: 100%; color: #b91c1c; font-size: 12.5px; margin: -4px 0 8px; }
.product-review-login-prompt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 28px 20px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; }
.product-review-login-prompt p { margin: 0; color: #64748b; font-size: 14px; }
.product-review-login-prompt .btn-primary { display: inline-block; width: auto; padding: 10px 24px; text-decoration: none; }
.product-review-status { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.product-review-status-approved { background: #dcfce7; color: #15803d; }
.product-review-status-pending { background: #fef3c7; color: #92400e; }
.product-review-status-rejected { background: #fee2e2; color: #b91c1c; }
.product-review-rating-input { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.product-review-rating-input label { display: inline-flex; }
.product-review-rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.product-review-rating-input span { padding: 8px 14px; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 13px; cursor: pointer; color: #64748b; transition: all .15s ease; }
.product-review-rating-input input:checked + span { background: #0f172a; border-color: #0f172a; color: #fff; }
.product-review-form textarea { width: 100%; padding: 12px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; resize: vertical; margin-bottom: 12px; }
.product-review-form .btn-primary { width: auto; padding: 10px 24px; }

.product-qa-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; text-align: left; }
.product-qa-my-list { margin-bottom: 14px; }
.product-qa-item { padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.product-qa-item:last-child { border-bottom: none; padding-bottom: 0; }
.product-qa-question-row, .product-qa-answer-row { display: flex; align-items: flex-start; gap: 10px; }
.product-qa-answer-row { margin-top: 10px; margin-left: 32px; }
.product-qa-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.product-qa-icon-q { background: #e2e8f0; color: #334155; }
.product-qa-icon-a { background: #0f172a; color: #fff; }
.product-qa-text { margin: 0; color: #334155; font-size: 14px; line-height: 1.5; }
.product-qa-meta { display: inline-block; margin-top: 4px; color: #94a3b8; font-size: 12.5px; }
.product-qa-form-wrap { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f1f5f9; text-align: left; }
.product-qa-form textarea { width: 100%; padding: 12px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; resize: vertical; margin-bottom: 12px; }
.product-qa-form .btn-primary { width: auto; padding: 10px 24px; }

.product-side-panels { align-items: start; margin-top: 15px; }
.product-side-panels .product-description-block { margin-top: 0; height: 100%; }

.related-products-block { margin-top: 24px; }
.related-products-block h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #0f172a; }
.related-products-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.related-products-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.form-toggle-btn { margin-top: 8px; padding: 7px 16px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: #0f172a; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.form-toggle-btn:hover { background: #f8fafc; border-color: #94a3b8; }
.product-review-form-actions { display: flex; align-items: stretch; gap: 10px; margin-top: 8px; }
.product-review-form-actions .form-toggle-btn { margin-top: 0; box-sizing: border-box; }
.product-review-form-actions .btn-primary { box-sizing: border-box; }
.product-review-form-wrap:has(#product-review-new-form:not([hidden])) .review-form-open-btn { display: none; }
.product-qa-form-wrap:has(#product-qa-new-form:not([hidden])) .qa-form-open-btn { display: none; }

/* Sepet → Ödeme → Sipariş Tamamlandı adım göstergesi (bkz. _checkout_steps.php) */
.checkout-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 620px;
    margin: 0 auto 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(28, 24, 21, .08);
    padding: 15px;
}
.checkout-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; width: 130px; }
.checkout-step-circle {
    width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13.5px; font-weight: 700; border: 2px solid #e2e8f0; color: #94a3b8; background: #fff;
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.checkout-step-label { font-size: 12.5px; font-weight: 600; color: #94a3b8; text-align: center; transition: color .2s; }
.checkout-step.is-active .checkout-step-circle { border-color: #0f172a; background: #0f172a; color: #fff; box-shadow: 0 0 0 4px rgba(15, 23, 42, .08); }
.checkout-step.is-active .checkout-step-label { color: #0f172a; }
.checkout-step.is-completed .checkout-step-circle { border-color: #0f172a; background: #0f172a; color: #fff; }
.checkout-step.is-completed .checkout-step-label { color: #0f172a; }
.checkout-step-connector { flex: 1; max-width: 90px; height: 2px; background: #e2e8f0; margin-top: 16px; transition: background .3s; }
.checkout-step-connector.is-completed { background: #0f172a; }
.checkout-steps-progress { display: none; }
@media (max-width: 560px) {
    .checkout-step { width: 84px; }
    .checkout-step-label { font-size: 11px; }
    .checkout-step-connector { max-width: 40px; }
}

/* Sipariş Adımları Göstergesi — panel Ayarlar'dan seçilen şablon (bkz. app/plugins/
   checkout_steps). style-1 yukarıdaki varsayılan (Klasik) kurallarla aynıdır. */
.checkout-steps.style-2 { align-items: center; }
.checkout-steps.style-2 .checkout-step { flex-direction: row; gap: 8px; width: auto; }
.checkout-steps.style-2 .checkout-step-circle { width: 18px; height: 18px; font-size: 10px; border-width: 1.5px; }
.checkout-steps.style-2 .checkout-step-label { font-size: 12px; }
.checkout-steps.style-2 .checkout-step-connector { margin: 0 10px; height: 1.5px; align-self: center; }

.checkout-steps.style-3 .checkout-step { flex-direction: row; gap: 8px; width: auto; padding: 7px 14px; border-radius: 999px; background: #f1f5f9; transition: background .2s; }
.checkout-steps.style-3 .checkout-step-circle { width: 20px; height: 20px; border: none; background: transparent; color: inherit; font-size: 12px; }
.checkout-steps.style-3 .checkout-step.is-upcoming .checkout-step-circle { color: #94a3b8; }
.checkout-steps.style-3 .checkout-step.is-active { background: #0f172a; }
.checkout-steps.style-3 .checkout-step.is-active .checkout-step-label,
.checkout-steps.style-3 .checkout-step.is-active .checkout-step-circle { color: #fff; }
.checkout-steps.style-3 .checkout-step.is-completed { background: #e0f2ea; }
.checkout-steps.style-3 .checkout-step.is-completed .checkout-step-circle,
.checkout-steps.style-3 .checkout-step.is-completed .checkout-step-label { color: #0f9d63; }
.checkout-steps.style-3 .checkout-step-connector { max-width: 24px; background: transparent; }

/* Kontrast — köşeli rozet + bağlantı çizgisi yerine altta tek parça, tam genişlik ilerleme
   çubuğu (Klasik'in "daire + ince çizgi" düzeninden bilinçli olarak farklı). */
.checkout-steps.style-4 { flex-wrap: wrap; row-gap: 16px; }
.checkout-steps.style-4 .checkout-step-circle { width: 40px; height: 40px; border-radius: 10px; font-size: 15px; border: none; background: #eef1f5; color: #94a3b8; }
.checkout-steps.style-4 .checkout-step.is-active .checkout-step-circle,
.checkout-steps.style-4 .checkout-step.is-completed .checkout-step-circle { background: #0f172a; color: #fff; box-shadow: 0 4px 10px rgba(15, 23, 42, .25); }
.checkout-steps.style-4 .checkout-step-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.checkout-steps.style-4 .checkout-step-connector { display: none; }
.checkout-steps.style-4 .checkout-steps-progress { display: block; flex-basis: 100%; order: 99; height: 6px; border-radius: 999px; background: #eef1f5; overflow: hidden; }
.checkout-steps.style-4 .checkout-steps-progress-fill { height: 100%; border-radius: 999px; background: #0f172a; transition: width .3s ease; }

.checkout-steps.style-5 .checkout-step-circle { border-radius: 8px; }
.checkout-steps.style-5 .checkout-step-connector { background: transparent; border-top: 2px dashed #e2e8f0; height: 0; margin-top: 16px; }
.checkout-steps.style-5 .checkout-step-connector.is-completed { border-top-color: #0f172a; }

.cart-page-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cart-page-header h1 { margin: 0; }
.cart-continue-link { text-decoration: none; color: #0f172a; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 16px; font-size: 14px; white-space: nowrap; }

#favorites-list { background: #fff; border: 1px solid #e6e6e6; border-radius: 16px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 15px; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 15px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item { display: flex; align-items: stretch; gap: 15px; border-bottom: 1px solid #f1f5f9; transition: opacity .15s ease; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 15px; }
.cart-item.is-updating { opacity: .6; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; }
.cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-item .name { text-decoration: none; color: #0f172a; font-weight: 600; }
.variant-label { color: #64748b; font-size: 13px; font-weight: 400; }
.variant-attributes { display: flex; flex-direction: column; }
.variant-attribute-row { color: #64748b; font-size: 12px; font-weight: 400; }
.variant-attribute-label { font-weight: 400; color: #64748b; }
.cart-item-sku { color: #64748b; font-size: 12px; font-weight: 400; }
.cart-item-info .cart-item-price { margin-top: 6px; font-size: 20px; font-weight: 800; color: #0f172a; }
.cart-item-price-caption { font-size: 11px; font-weight: 500; color: #64748b; }

.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cart-item .line-total { font-size: 22px; font-weight: 800; color: #0f172a; }
.cart-item-savings { font-size: 12px; font-weight: 600; color: #16a34a; background: #f0fdf5; border-radius: 6px; padding: 3px 8px; }
.cart-remove-form button { padding: 0; border: none; background: none; color: #b91c1c; font-weight: 800; cursor: pointer; }

.cart-summary-box { background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 15px; position: sticky; top: var(--sticky-offset-top, 15px); }
.cart-summary-box h3 { margin: 0 0 16px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #0f172a; }
.cart-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; color: #64748b; font-size: 14px; }
.cart-summary-row.cart-summary-total { margin-top: 8px; padding-top: 14px; border-top: 1px solid #e5e7eb; font-size: 17px; font-weight: 700; color: #0f172a; }
.cart-summary-checkout { display: block; margin-top: 18px; text-align: center; text-decoration: none; }

.coupon-box { padding: 10px 0; border-top: 1px dashed #e5e7eb; border-bottom: 1px dashed #e5e7eb; margin: 4px 0; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input[type="text"] { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; text-transform: uppercase; }
.coupon-form button { flex-shrink: 0; padding: 9px 14px; border-radius: 8px; border: 1px solid #0f172a; background: #0f172a; color: #fff; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
.coupon-error { color: #b91c1c; font-size: 12.5px; margin: 6px 0 0; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.coupon-applied-code { font-weight: 700; color: #15803d; }
.coupon-applied-remove { background: none; border: none; padding: 0; color: #94a3b8; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.coupon-row-discount { color: #15803d !important; font-weight: 600; }

.checkout-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; align-items: start; }
.checkout-summary-card { position: sticky; top: var(--sticky-offset-top, 15px); }
.checkout-summary-items { margin-bottom: 5px; }
.checkout-summary-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.checkout-summary-item-image { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid #e5e7eb; flex-shrink: 0; }
.checkout-item-name { font-weight: 600; }
.checkout-item-price { font-size: 15px; font-weight: 600; }
.checkout-summary-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14px; }
.checkout-summary-value { font-weight: 800; }
.checkout-summary-row-total { font-size: 17px; font-weight: 700; margin-top: 8px; padding-top: 14px; border-top: 1px solid #e5e7eb; }
.order-item-badge { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; vertical-align: middle; }
.order-item-badge-returned { border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.order-item-badge-cancelled { border: 1px solid #fecaca; background: #fef2f2; color: #b91c1c; }

.havale-account-picker { margin: 5px 0 0px 20px; padding: 5px; }
.havale-account-picker-title { display: block; font-size: 12px; font-weight: 600; color: #64748b; margin-bottom: 4px; }
.havale-account-option { padding: 8px 0; border-bottom: 1px solid #e5e7eb; }
.havale-account-option .label { font-size: 14px; }
.havale-account-option:last-child { border-bottom: none; }

.card-section {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(28, 24, 21, .08);
    padding: 15px;
    margin-bottom: 10px;
}
.card-section h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.form-grid-full { grid-column: 1 / -1; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; }
    .product-gallery { flex-direction: column-reverse; overflow-x: hidden; }
    .product-gallery .gallery-main-wrap { width: 100%; align-self: stretch; }
    .product-gallery .gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); align-self: stretch; width: 100%; max-width: 100%; max-height: none; }
    .gallery-thumb { flex: none; width: auto; height: auto; aspect-ratio: 1; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary-box { position: static; }
    .cart-continue-link { display: none; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary-card { position: static; }
    .product-side-panels { grid-template-columns: 1fr; }
    .related-products-grid.cols-4, .related-products-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
    #favorites-grid { grid-template-columns: repeat(2, 1fr); }
    .product-whatsapp-btn { padding: 10px 14px; }
}
@media (max-width: 640px) {
    .cart-item {
        display: grid;
        grid-template-columns: 64px 1fr;
        column-gap: 12px;
        row-gap: 10px;
        padding: 12px;
    }
    .cart-item > a { grid-column: 1; grid-row: 1; }
    .cart-item img { width: 64px; height: 64px; }
    .cart-item-info { grid-column: 2; grid-row: 1; gap: 3px; }
    .cart-item-info .cart-item-price { font-size: 17px; margin-top: 4px; }
    .cart-item-side {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 12px;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }
    .cart-item-side .cart-qty-stepper { order: 1; }
    .cart-item-side .line-total { order: 2; font-size: 17px; }
    .cart-item-side .cart-item-savings { order: 3; flex: 0 0 auto; }
    .cart-item-side .cart-remove-form { order: 4; }
}
@media (max-width: 480px) {
    .specs-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .product-info .qty-actions-row { flex-direction: column; align-items: center; gap: 10px; }
    .qty-actions-row .qty-stepper { flex: none; }
    .qty-action-buttons { width: 100%; }
    .low-stock-cover-badge { width: 90px; bottom: 10px; right: 10px; padding: 7px; }
}
@media (max-width: 640px) {
    .store-main {
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.auth-page { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; padding: 20px 0 40px; }
.auth-eyebrow { display: inline-block; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #16a34a; }
.auth-showcase { background: #fff; border: 1px solid #e6e6e6; border-radius: 16px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 32px; text-align: center; }
.auth-showcase h1 { margin: 0 0 14px; font-size: 30px; font-weight: 700; color: #0f172a; }
.auth-showcase p { margin: 0 auto 28px; font-size: 15px; line-height: 1.6; color: #64748b; max-width: 460px; }


.auth-benefits { list-style: none; margin: 0 auto 32px; padding: 0; display: flex; flex-direction: column; gap: 18px; max-width: 460px; }
.auth-benefits li { display: flex; gap: 14px; align-items: flex-start; text-align: left; }
.auth-benefit-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #f8fafc; border: 1px solid #e6e6e6; display: flex; align-items: center; justify-content: center; color: #16a34a; }
.auth-benefit-icon svg { width: 19px; height: 19px; }
.auth-benefits li strong { display: block; font-size: 14.5px; color: #0f172a; margin-bottom: 2px; }
.auth-benefits li span:last-child { font-size: 13.5px; color: #64748b; line-height: 1.5; }

.auth-testimonials { margin: 0 auto 28px; max-width: 460px; overflow: hidden; }
.auth-testimonial-track { display: flex; transition: transform .4s ease; }
.auth-testimonial { flex: 0 0 100%; width: 100%; box-sizing: border-box; margin: 0; padding: 8px 24px 4px; text-align: center; background: #e0e0e033; border-radius: 15px; border: 1px solid #e6e6e6; }
.auth-testimonial-track > .auth-testimonial { flex-shrink: 0; }
.auth-testimonial-quote-mark { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; line-height: 0; color: #16a34a; opacity: .6; }
.auth-testimonial-stars { display: inline-flex; gap: 2px; margin: 4px 0 4px; }
.auth-testimonial-stars svg { width: 13px; height: 13px; }
.auth-testimonial-stars .is-filled { color: #f59e0b; }
.auth-testimonial-stars .is-filled svg { fill: currentColor; stroke: none; }
.auth-testimonial-stars .is-empty { color: #d1d5db; }
.auth-testimonial-stars .is-empty svg { fill: currentColor; stroke: none; }
.auth-testimonial p { margin: 0 0 10px; font-size: 15px; font-style: normal; font-weight: 500; color: #1e293b; line-height: 1.6; }
.auth-testimonial cite { font-size: 12.5px; color: #64748b; font-style: normal; }
.auth-testimonial-name { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #1e293b; }
.auth-testimonial-name svg { width: 13px; height: 13px; flex-shrink: 0; color: #94a3b8; }
.auth-testimonial-product { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 11.5px; }
.auth-testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.auth-testimonial-nav { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #e6e6e6; background: #fff; color: #334155; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .15s, color .15s; }
.auth-testimonial-nav:hover { border-color: #0f172a; color: #0f172a; }
.auth-testimonial-dots { display: flex; gap: 6px; }
.auth-testimonial-dot { width: 7px; height: 7px; border-radius: 50%; border: none; background: #d1d5db; padding: 0; cursor: pointer; }
.auth-testimonial-dot.active { background: #16a34a; }

.auth-trust-badges { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.auth-trust-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #64748b; }
.auth-trust-badges svg { width: 17px; height: 17px; color: #16a34a; flex-shrink: 0; }

.auth-panel { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid #e6e6e6; border-radius: 16px; box-shadow: 0 10px 30px rgba(28, 24, 21, .08); padding: 32px; }
.auth-card h2 { margin: 0 0 20px; font-size: 20px; font-weight: 700; color: #0f172a; }
.auth-form .form-row { margin-bottom: 16px; }
.auth-form .form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: #334155; }
.auth-form input { width: 100%; padding: 11px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; box-sizing: border-box; }
.auth-form input:focus { outline: none; border-color: #0f172a; box-shadow: 0 0 0 3px rgba(15,23,42,.08); }
.auth-submit { width: 100%; margin-top: 6px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 12.5px; color: #94a3b8; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.auth-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #334155; font: inherit; font-weight: 600; font-size: 14px; text-decoration: none; box-sizing: border-box; transition: background .15s, border-color .15s; }
.auth-social-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
.auth-social-btn svg { flex-shrink: 0; }
.auth-social-btn + .auth-social-btn { margin-top: 10px; }
.auth-form-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -6px 0 4px; font-size: 13px; line-height: 18px; }
.auth-remember { display: inline-flex; align-items: center; align-self: center; gap: 6px; margin-top: 6px; color: #334155; cursor: pointer; user-select: none; line-height: 18px; }
.auth-remember input { width: 13px; height: 13px; margin: 0; }
.auth-form-options a { display: inline-block; line-height: 18px; color: #0f172a; text-decoration: none; }
.auth-form-options a:hover { text-decoration: underline; }
.auth-switch { margin: 20px 0 0; text-align: center; font-size: 14px; color: #64748b; }
.auth-switch a { color: #0f172a; font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

.auth-page-single { display: flex; justify-content: center; padding: 60px 0; }
.auth-hint { margin: 0 0 18px; font-size: 14px; color: #64748b; line-height: 1.6; }
.auth-success-box { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; word-break: break-word; }
.auth-success-box a { color: #15803d; font-weight: 600; }
@media (max-width: 860px) {
    .auth-page { grid-template-columns: 1fr; gap: 0; }
    .auth-showcase { display: none; }
}
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.form-grid input, .form-grid select, .form-grid textarea { padding: 10px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; }

.form-grid .select2-container { width: 100% !important; font: inherit; }
.form-grid .select2-container .select2-selection--single { min-height: 44px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; display: flex; align-items: center; }
.form-grid .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; margin-right: 20px; line-height: normal; color: inherit; }
.form-grid .select2-container .select2-selection--single .select2-selection__placeholder { color: inherit; }
.form-grid .select2-container .select2-selection--single .select2-selection__arrow { height: 100%; top: 0; right: 8px; }
.form-grid .select2-container--default.select2-container--open .select2-selection--single { border-color: #94a3b8; }

.form-grid .field-float { position: relative; }
.form-grid .field-float input, .form-grid .field-float select, .form-grid .field-float textarea { width: 100%; padding: 15px; }
.form-grid .field-float input, .form-grid .field-float select { height: 54px; }
.form-grid .field-float textarea { resize: vertical; }
.form-grid .field-float label { display: block; position: absolute; left: 15px; top: 50%; margin: 0; transform: translateY(-50%); font-size: 14px; color: #94a3b8; pointer-events: none; transition: top .15s ease, font-size .15s ease, color .15s ease; background: #fff; padding: 0 3px; }
.form-grid .field-float textarea + label { top: 19px; }
.form-grid .field-float input:focus + label,
.form-grid .field-float input:not(:placeholder-shown) + label,
.form-grid .field-float textarea:focus + label,
.form-grid .field-float textarea:not(:placeholder-shown) + label { top: 0; font-size: 11px; color: #0f172a; }

.form-grid .field-float .select2-container .select2-selection--single { height: 54px; min-height: 54px; padding: 15px; }
.form-grid .field-float .select2-container--open ~ label,
.form-grid .field-float .select2-container--focus ~ label,
.form-grid .field-float.has-value label { top: 0; font-size: 11px; color: #0f172a; }
.form-grid .field-float input:disabled { background: #f8fafc; color: #64748b; cursor: not-allowed; }
.form-grid .field-hint { display: block; margin-top: 6px; font-size: 12px; color: #94a3b8; }

.switch-field { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #1e293b; user-select: none; }
.switch-field .switch-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.switch-track { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #e5e7eb; flex-shrink: 0; transition: background .15s ease; }
.switch-knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s ease; }
.switch-field:has(.switch-input:checked) .switch-track { background: #0f172a; }
.switch-field:has(.switch-input:checked) .switch-knob { left: 20px; }
.switch-field:has(.switch-input:focus-visible) .switch-track { box-shadow: 0 0 0 3px rgba(15,23,42,.15); }

.select2-dropdown { border-color: #e5e7eb; border-radius: 8px; overflow: hidden; }
.select2-search--dropdown { padding: 8px; }
.select2-search--dropdown .select2-search__field { padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; outline: none; }
.select2-search--dropdown .select2-search__field:focus { border-color: #94a3b8; }

/* Hesap sayfaları: solda dikey gezinme menüsü (Hesabım, Siparişlerim,
   Adreslerim, Bilgilerim, Çıkış Yap), sağda sayfa içeriği. */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: sticky;
    top: var(--sticky-offset-top, 15px);
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(28, 24, 21, .08);
    padding: 10px;
}
.account-sidebar-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 8px;
    text-decoration: none; font: inherit; font-size: 14px; font-weight: 600;
    color: #475569; cursor: pointer; border: none; background: none;
    width: 100%; text-align: left; transition: background .15s ease, color .15s ease;
}
.account-sidebar-icon { flex-shrink: 0; }
.account-sidebar-link:hover { background: #f1f5f9; color: #0f172a; }
.account-sidebar-form { margin: 4px 0 0; padding-top: 7px; border-top: 1px solid #f1f5f9; }
.account-sidebar-link-rose { color: #e11d48; }
.account-sidebar-link-rose:hover { background: #fff1f2; color: #e11d48; }
.account-sidebar-link-admin { color: #7c3aed; }
.account-sidebar-link-admin:hover { background: #f5f3ff; color: #6d28d9; }
.account-sidebar-link-blue.is-active { background: #eff6ff; color: #1d4ed8; }
.account-sidebar-link-amber.is-active { background: #fffbeb; color: #b45309; }
.account-sidebar-link-violet.is-active { background: #f5f3ff; color: #7c3aed; }
.account-sidebar-link-cyan.is-active { background: #ecfeff; color: #0e7490; }
.account-sidebar-link-teal.is-active { background: #f0fdfa; color: #0f766e; }

@media (max-width: 860px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar {
        position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
    }
    .account-sidebar-link { flex-direction: column; gap: 4px; font-size: 12.5px; padding: 12px 8px; text-align: center; }
    .account-sidebar-form { margin: 0; padding-top: 0; border-top: none; }
}

/* Ürün Karşılaştırma eklentisi ------------------------------------------- */

.btn-outline-sm {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border: 1px solid #e5e7eb; border-radius: 8px;
    background: #fff; color: #334155; font: inherit; font-size: 13px; font-weight: 600;
    text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.btn-outline-sm:hover { background: #f8fafc; border-color: #cbd5e1; }

/* Kart köşesindeki ikon buton — favorite-btn ile aynı desen, favori kalp ikonunun solunda
   (favorite-btn pasifse sağ üstte tek başına durur, bkz. .product-card:not(:has(.favorite-btn)) .compare-btn). */
.compare-btn {
    position: absolute; top: 10px; right: 48px; z-index: 2;
    width: 32px; height: 32px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, .92);
    color: #64748b; cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    transition: color .15s ease, transform .1s ease;
}
.compare-btn:hover { color: #2563eb; transform: scale(1.06); }
.compare-btn.is-loading { opacity: .6; pointer-events: none; }
.compare-btn svg { width: 17px; height: 17px; }
.compare-btn.is-active { color: #2563eb; border-color: #bfdbfe; background: #eff6ff; }
.product-card:not(:has(.favorite-btn)) .compare-btn { right: 10px; }

/* Ürün detay sayfasında galeri kapağında, favori kalp ikonunun yanında —
   favori eklentisi pasifse (kalp hiç render edilmediyse) kalbin yerine geçip
   sağ üst köşede tek başına durur. */
.gallery-main-wrap .compare-btn { top: 14px; left: auto; right: 14px; width: 38px; height: 38px; }
.gallery-main-wrap .compare-btn svg { width: 20px; height: 20px; }
.gallery-main-wrap:has(.favorite-btn) .compare-btn { right: 60px; }

/* Anlık geri bildirim (ör. "en fazla 4 ürün") */
.compare-toast {
    position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 10px);
    background: #0f172a; color: #fff; padding: 11px 18px; border-radius: 10px;
    font-size: 13.5px; font-weight: 600; box-shadow: 0 12px 28px rgba(15, 23, 42, .25);
    opacity: 0; transition: opacity .2s ease, transform .2s ease; z-index: 300; max-width: 90vw; text-align: center;
}
.compare-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Sitenin altında sabit duran karşılaştırma çubuğu */
.compare-float-bar {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    display: flex; align-items: center; gap: 12px;
    background: #0f172a; color: #fff; padding: 10px 12px 10px 16px; border-radius: 999px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .28); z-index: 150;
}
.compare-float-bar[hidden] { display: none; }
.compare-float-icon { display: flex; color: #93c5fd; }
.compare-float-text { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.compare-float-cta {
    display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
    background: #fff; color: #0f172a; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.compare-float-cta:hover { background: #e2e8f0; }
.compare-float-clear-form { margin: 0; }
.compare-float-clear {
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; padding: 0; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25); background: transparent;
    color: #cbd5e1; font-size: 16px; line-height: 1; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.compare-float-clear:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 480px) {
    .compare-float-bar { bottom: 12px; max-width: calc(100vw - 24px); }
}

/* Karşılaştırma sayfası */
.compare-page { padding-bottom: 8px; }
.compare-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.compare-head h1 { margin: 0; }
.compare-empty-hint { max-width: 340px; font-size: 13px !important; }

.compare-table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 12px; }
.compare-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: 13.5px; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }

.compare-label-cell {
    position: sticky; left: 0; z-index: 1;
    width: 130px; min-width: 130px; background: #fafafa;
    font-weight: 600; color: #475569; font-size: 13px;
    border-right: 1px solid #f1f5f9;
}
thead .compare-label-cell { background: #fff; z-index: 3; }

.compare-product-cell {
    position: relative; width: 200px; min-width: 200px; vertical-align: top;
    background: #fff; border-left: 1px solid #f1f5f9;
}
.compare-product-link { display: block; text-decoration: none; color: inherit; }
.compare-product-cell img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #f1f5f9; margin-bottom: 8px; }
.compare-product-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 13.5px; font-weight: 600; color: #0f172a; line-height: 1.35; min-height: 2.7em;
}
.compare-product-price { margin: 6px 0 10px; font-size: 14px; font-weight: 700; color: #0f172a; }
.compare-goto-btn { width: 100%; justify-content: center; box-sizing: border-box; }

.compare-col-remove {
    position: absolute; top: 8px; right: 8px; left: auto;
    width: 26px; height: 26px; border-radius: 50%;
    background: #fff; border: 1px solid #e5e7eb; color: #64748b;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; line-height: 1; cursor: pointer;
}
.compare-col-remove:hover { background: #fef2f2; border-color: #fecaca; color: #dc2626; }

.compare-stock-badge { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.compare-stock-badge.in-stock { background: #dcfce7; color: #15803d; }
.compare-stock-badge.out-of-stock { background: #fee2e2; color: #b91c1c; }

@media (max-width: 640px) {
    .compare-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .compare-label-cell { width: 96px; min-width: 96px; font-size: 12px; padding: 10px; }
    .compare-product-cell { width: 160px; min-width: 160px; padding: 10px; }
    .compare-table th, .compare-table td { padding: 10px; }
}
