/* =========================================================
   Glorya Teknoloji - Site ön yüz stilleri
   ========================================================= */
:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --accent: #06b6d4;
    --navy: #0b1530;
    --navy-2: #111f45;
    --text: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f4f7fc;
    --radius: 16px;
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --gradient: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    --bs-primary: var(--brand);
    --bs-primary-rgb: 37, 99, 235;
    --bs-link-color: var(--brand);
    --bs-link-hover-color: var(--brand-dark);
    --bs-font-sans-serif: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-soft { background: var(--soft); }

.btn { border-radius: 12px; font-weight: 600; }
.btn-primary { background: var(--gradient); border: 0; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); }
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, var(--brand-dark), #0891b2); }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand-dark); }
.form-control, .form-select { border-radius: 12px; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15); }

/* ---------- Üst bar & menü ---------- */
.topbar { background: var(--navy); color: #cbd5e1; font-size: .85rem; padding: 8px 0; }
.topbar a, .topbar span { color: #cbd5e1; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar i { margin-right: 4px; color: var(--accent); }

.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); z-index: 1030; }
.header-main { padding: 14px 0; }
.header-row { display: flex; align-items: center; gap: 28px; }
.header-row .brand { flex-shrink: 0; }
.header-row .header-icons { flex-shrink: 0; margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--gradient); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: 1.3rem; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .7); flex-shrink: 0; }
.brand-text { font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.02em; }
.footer-logo { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; max-width: 210px; object-fit: contain; }
/* Kategori çubuğu (header altı, yan yana) */
.cat-bar { border-top: 1px solid var(--line); background: #fff; }
.cat-nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 32px; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav li { flex-shrink: 0; }
.cat-nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 13px 14px; font-size: .93rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.cat-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gradient); transform: scaleX(0); transition: transform .25s; }
.cat-nav a:hover, .cat-nav a.active { color: var(--brand); }
.cat-nav a:hover::after, .cat-nav a.active::after { transform: scaleX(1); }
.cat-nav .cat-all { font-weight: 700; color: var(--navy); }
.cat-nav .cat-all i { color: var(--brand); }
.cat-nav .cat-end { margin-left: auto; padding-left: 12px; }
.dropdown-menu { border-radius: 14px; padding: 8px; }
.dropdown-item { border-radius: 8px; padding: 8px 12px; }
.dropdown-item:active { background: var(--brand); }

.search-form { position: relative; flex: 1 1 auto; min-width: 0; max-width: 640px; margin: 0 auto; display: flex; align-items: center; height: 50px; background: var(--soft); border: 2px solid transparent; border-radius: 14px; padding: 4px; transition: border-color .2s, box-shadow .2s, background .2s; }
.search-form:hover { border-color: var(--line); }
.search-form:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.search-form .search-icon { color: var(--muted); font-size: 1.05rem; padding: 0 4px 0 12px; line-height: 1; flex-shrink: 0; }
.search-form .form-control { flex: 1 1 auto; width: auto; height: 100%; border: 0; border-radius: 0; background: transparent; padding: 0 8px; font-size: .95rem; box-shadow: none !important; min-width: 0; }
.search-form .form-control::-webkit-search-cancel-button { cursor: pointer; }
.search-form button { flex-shrink: 0; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--gradient); color: #fff; font-weight: 700; font-size: .92rem; padding: 0 22px; border-radius: 10px; transition: filter .2s; }
.search-form button:hover { filter: brightness(1.08); }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 1050; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .28); overflow: hidden; max-height: 70vh; overflow-y: auto; }
.sr-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 12px 16px 6px; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px 16px; color: var(--text); }
.sr-item:hover, .sr-item.active { background: var(--soft); color: var(--text); }
.sr-item img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 3px; flex-shrink: 0; }
.sr-info { flex: 1; min-width: 0; }
.sr-name { display: block; font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-name mark { background: rgba(37, 99, 235, .12); color: var(--brand); padding: 0 1px; border-radius: 3px; }
.sr-brand { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.sr-price { font-weight: 800; color: var(--navy); font-size: .92rem; white-space: nowrap; }
.sr-out { font-size: .72rem; color: #dc2626; font-weight: 600; display: block; text-align: right; }
.sr-cat { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px 16px; padding: 5px 12px; border-radius: 99px; background: var(--soft); color: var(--text); font-size: .85rem; font-weight: 600; }
.sr-cat:hover, .sr-cat.active { background: rgba(37, 99, 235, .1); color: var(--brand); }
.sr-all { display: block; text-align: center; padding: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.sr-all:hover, .sr-all.active { background: var(--soft); }
.sr-empty { padding: 22px 16px; text-align: center; color: var(--muted); font-size: .92rem; }
.sr-empty i { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.sr-loading { padding: 18px; text-align: center; color: var(--muted); }
@media (max-width: 991px) {
    .header-row { flex-wrap: wrap; gap: 10px 12px; }
    .header-row .search-form { order: 3; flex-basis: 100%; max-width: none; height: 46px; }
    .header-main { padding: 10px 0 12px; }
    .cat-nav a { padding: 11px 12px; font-size: .9rem; }
    .cat-nav .cat-end { margin-left: 0; padding-left: 0; }
}
@media (max-width: 575px) { .search-form button { padding: 0 14px; } .search-results { max-height: 60vh; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 90px 0 110px;
    background: radial-gradient(800px 400px at 85% 20%, rgba(6, 182, 212, .25), transparent 60%),
                radial-gradient(700px 500px at 10% 100%, rgba(37, 99, 235, .35), transparent 60%),
                linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.1; margin: 18px 0; font-weight: 800; }
.hero .lead { color: #cbd5e1; font-size: 1.15rem; max-width: 540px; margin-bottom: 32px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: .9rem; font-weight: 600; }
.hero-badge i { color: #facc15; }
.hero .btn-light { color: var(--navy); }

.hero-visual { position: relative; height: 380px; }
.hv-glow { position: absolute; width: 260px; height: 260px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--gradient); border-radius: 50%; filter: blur(70px); opacity: .55; }
.hv-card { position: absolute; z-index: 1; width: 160px; padding: 26px 20px; border-radius: 22px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: float 6s ease-in-out infinite; }
.hv-card i { font-size: 2.6rem; display: block; margin-bottom: 8px; background: linear-gradient(135deg, #fff, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv-card span { font-weight: 600; font-size: .95rem; }
.hv-1 { left: 8%; top: 4%; }
.hv-2 { right: 8%; top: 14%; animation-delay: -1.5s; }
.hv-3 { left: 18%; bottom: 2%; animation-delay: -3s; }
.hv-4 { right: 16%; bottom: 8%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Ana sayfa banner slider ---------- */
.hero-slider { position: relative; background: var(--navy); }
.hero-slider .carousel-item { background: var(--navy); }
.banner-link { display: block; }
.banner-link img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; }

/* Oklar */
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 7%; opacity: 1; z-index: 2; }
.banner-arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s, background .2s; }
.hero-slider:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover { background: rgba(255,255,255,.22); }
/* Göstergeler: 10 saniyelik ilerleme çubuğu */
.hero-slider .carousel-indicators { bottom: 18px; margin-bottom: 0; gap: 8px; z-index: 3; }
.hero-slider .carousel-indicators [data-bs-target] { width: 46px; height: 4px; border: 0; margin: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.3); opacity: 1; overflow: hidden; text-indent: 0; }
.hero-slider .carousel-indicators [data-bs-target] span { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; }
.hero-slider .carousel-indicators .active span { animation: bannerProgress 10s linear forwards; }
@keyframes bannerProgress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-slider .carousel-indicators .active span { animation: none; width: 100%; } }
@media (max-width: 991px) { .banner-arrow { display: none; } }
@media (max-width: 767px) {
    .banner-link img { aspect-ratio: 1 / 1; }
    .hero-slider .carousel-indicators { bottom: 10px; }
}

/* ---------- Özellikler ---------- */
.features { margin-top: 28px; position: relative; z-index: 2; }
.feature { display: flex; align-items: center; gap: 14px; background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; }
.feature i { font-size: 1.6rem; color: var(--brand); background: rgba(37, 99, 235, .08); width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.feature strong { display: block; color: var(--navy); }
.feature span { font-size: .85rem; color: var(--muted); }
@media (max-width: 575px) { .feature { flex-direction: column; text-align: center; padding: 18px 12px; } }

/* ---------- Bölümler ---------- */
.section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 0; }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); }
.link-more { font-weight: 600; white-space: nowrap; }
.link-more i { transition: transform .2s; display: inline-block; }
.link-more:hover i { transform: translateX(4px); }


/* ---------- Ürün kartı ---------- */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all .25s; }
.product-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
/* Görsel kutusu her zaman kare: büyük/dikey görseller kutuyu uzatamaz */
.product-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-img .pc-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.product-img .pc-track::-webkit-scrollbar { display: none; }
.product-img img { flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; padding: 18px; object-fit: contain; scroll-snap-align: start; transition: transform .4s; }
.product-card:hover .product-img .pc-track:not([data-card-slider]) img { transform: scale(1.05); }
.pc-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 1; display: flex; justify-content: center; gap: 5px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.pc-dots i { width: 18px; height: 3px; border-radius: 3px; background: rgba(15, 23, 42, .18); transition: background .25s, width .25s; }
.pc-dots i.active { width: 26px; background: var(--brand); }
.product-card:hover .pc-dots { opacity: 1; }
@media (hover: none) { .pc-dots { opacity: 1; } }
.badge-featured { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--gradient); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 4px; }
.product-title { font-size: 1rem; font-weight: 600; line-height: 1.4; min-height: 2.8em; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-title a { color: var(--navy); }
.product-title a:hover { color: var(--brand); }
.product-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; min-height: 28px; }
.product-price { font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: -.01em; }
.product-price.is-ask { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* Kart butonu: Sepete Ekle / Seçenekleri Gör / Fiyat Sor / Tükendi */
.pc-cart-form { margin: 0; }
.pc-btn { position: relative; width: 100%; height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; border: 1px solid transparent; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; overflow: hidden; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .15s; }
.pc-btn i { font-size: 1.05rem; line-height: 1; }
.pc-btn:active { transform: scale(.97); }
.pc-btn-cart { background: var(--soft); color: var(--brand); border-color: #dbe5f5; }
.product-card:hover .pc-btn-cart, .pc-btn-cart:focus-visible { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .65); }
.pc-btn-cart .pc-btn-label, .pc-btn-cart .pc-btn-done { display: inline-flex; align-items: center; gap: 8px; transition: transform .3s, opacity .3s; }
.pc-btn-cart .pc-btn-done { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(100%); }
.pc-btn-cart.is-loading { pointer-events: none; }
.pc-btn-cart.is-loading .pc-btn-label i { animation: pc-spin .8s linear infinite; }
.pc-btn-cart.is-loading .pc-btn-label i::before { content: "\f130"; } /* bi-arrow-repeat */
.pc-btn-cart.is-done, .product-card:hover .pc-btn-cart.is-done { background: #16a34a; color: #fff; border-color: transparent; box-shadow: 0 10px 22px -10px rgba(22, 163, 74, .6); }
.pc-btn-cart.is-done .pc-btn-label { opacity: 0; transform: translateY(-100%); }
.pc-btn-cart.is-done .pc-btn-done { opacity: 1; transform: none; }
.pc-btn-soft { background: #fff; color: var(--navy); border-color: var(--line); }
.pc-btn-soft:hover, .product-card:hover .pc-btn-soft { color: var(--brand); border-color: var(--brand); background: #f5f8ff; }
.pc-btn-off { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
@keyframes pc-spin { to { transform: rotate(360deg); } }

/* Sepete eklendi bildirimi + sepet sayacı zıplaması */
.cart-toast { position: fixed; right: 22px; bottom: 94px; z-index: 1080; display: flex; align-items: center; gap: 12px; max-width: 360px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .35); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
.cart-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.cart-toast img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.cart-toast .ct-text { flex: 1; font-size: .85rem; line-height: 1.35; color: var(--text); min-width: 0; }
.cart-toast .ct-text strong { display: block; color: #16a34a; font-size: .8rem; }
.cart-toast .ct-text span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cart-toast .ct-go { flex-shrink: 0; padding: 8px 12px; border-radius: 10px; background: var(--gradient); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.cart-toast.is-error .ct-text strong { color: #dc2626; }
.cart-toast.is-info .ct-text strong { color: var(--navy); }
.cart-toast .ct-go.is-undo { background: #fff; color: var(--brand); border: 1px solid var(--brand); padding: 7px 14px; }
.cart-toast .ct-go.is-undo:hover { background: var(--brand); color: #fff; }
.cart-count.bump { animation: cart-bump .5s ease; }
@keyframes cart-bump { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }

@media (max-width: 575px) {
    .product-body { padding: 12px; } .product-title { font-size: .9rem; } .product-price { font-size: 1rem; }
    .product-foot { gap: 8px; } .pc-btn { height: 38px; font-size: .8rem; gap: 6px; border-radius: 10px; } .pc-btn i { font-size: .95rem; }
    .product-price.is-ask { font-size: .75rem; }
    .cart-toast { left: 12px; right: 12px; bottom: 90px; max-width: none; }
}

/* ---------- Markalar ---------- */
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; max-width: 1040px; margin: 0 auto; }
.section-head.is-center { justify-content: center !important; text-align: center; }
.section-head.is-center > div { margin: 0 auto; }
.brand-item { flex: 0 1 190px; min-width: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 96px; display: grid; place-items: center; padding: 16px; transition: all .25s; }
.brand-item img { max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all .25s; }
.brand-item span { font-weight: 800; font-size: 1.1rem; color: var(--muted); }
.brand-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.brand-item:hover img { filter: none; opacity: 1; }
.brand-item:hover span { color: var(--brand); }
@media (max-width: 575px) { .brand-strip { gap: 12px; } .brand-item { flex: 0 1 calc(50% - 6px); min-width: 0; height: 84px; } }

/* ---------- CTA ---------- */
.cta { padding: 0 0 80px; }
.cta-box { background: var(--gradient); border-radius: 24px; padding: 48px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.1); right: -80px; top: -120px; }
.cta-box h2 { color: #fff; margin-bottom: 6px; }
.cta-box p { margin: 0; opacity: .9; }
.cta-box .btn { position: relative; color: var(--brand); }

/* ---------- Sayfa başlığı ---------- */
.page-head { background: linear-gradient(180deg, var(--soft), #fff); padding: 40px 0 24px; border-bottom: 1px solid var(--line); }
.page-head-sm { padding: 20px 0 8px; }
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 6px; }
.breadcrumb { font-size: .9rem; margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Ürün listesi ---------- */
.filter-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.filter-box h6 { font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.filter-list { list-style: none; padding: 0; margin: 0; max-height: 320px; overflow-y: auto; }
.filter-list a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px; color: var(--text); font-size: .95rem; }
.filter-list a span { font-size: .75rem; background: var(--soft); color: var(--muted); padding: 2px 8px; border-radius: 99px; }
.filter-list a:hover { background: var(--soft); color: var(--brand); }
.filter-list a.active { background: rgba(37, 99, 235, .08); color: var(--brand); font-weight: 600; }
.filter-list a.active span { background: var(--brand); color: #fff; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px 16px; background: var(--soft); border-radius: 14px; flex-wrap: wrap; }
.list-toolbar .form-select { min-width: 210px; }
.pagination { gap: 6px; }
.page-link { border-radius: 10px !important; border: 1px solid var(--line); color: var(--text); min-width: 42px; text-align: center; }
.page-item.active .page-link { background: var(--gradient); border-color: transparent; }

/* ---------- Ürün detay ---------- */
.gallery-main { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 32px; display: grid; place-items: center; }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 78px; height: 78px; border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 6px; transition: border-color .2s; }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs .thumb.active, .gallery-thumbs .thumb:hover { border-color: var(--brand); }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 12px; }
.product-brand-link { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.price-box { background: var(--soft); border-radius: 16px; padding: 18px 22px; margin: 24px 0; display: flex; align-items: baseline; gap: 10px; }
.price-box .price { font-size: 2rem; font-weight: 800; color: var(--navy); }
.price-box .price-ask { font-size: 1.25rem; color: var(--brand); }
.meta-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.meta-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.meta-list span { color: var(--muted); }
.detail-tabs .nav-tabs { border: 0; gap: 8px; }
.detail-tabs .nav-link { border: 0; border-radius: 12px 12px 0 0; font-weight: 600; color: var(--muted); padding: 12px 22px; }
.detail-tabs .nav-link.active { background: var(--soft); color: var(--brand); }
.detail-tabs .tab-content { background: var(--soft); border-radius: 0 16px 16px 16px; padding: 28px; }
.description { line-height: 1.8; }
.specs-table { --bs-table-bg: transparent; }
.specs-table th { width: 35%; color: var(--muted); font-weight: 600; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: 0; }

/* ---------- İletişim ---------- */
.contact-card { display: block; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 20px; height: 100%; transition: all .25s; color: var(--text); }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.contact-card i { font-size: 1.8rem; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 16px; background: var(--gradient); color: #fff; }
.contact-card strong { display: block; font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.contact-card span { color: var(--muted); word-break: break-word; }
.hours-box { background: var(--soft); border-radius: 14px; padding: 16px 20px; text-align: center; }
.hours-box i { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #94a3b8; padding: 70px 0 0; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #94a3b8; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-text { max-width: 340px; line-height: 1.7; }
.contact-list li { display: flex; gap: 10px; }
.contact-list i { color: var(--accent); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; font-size: 1.1rem; }
.social a:hover { background: var(--gradient); }
/* Güvenli ödeme şeridi: kart logoları + SSL / 3D Secure rozetleri */
.footer-secure { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-secure p { margin: 0; max-width: 560px; font-size: .88rem; line-height: 1.6; }
.footer-secure p i { color: var(--accent); margin-right: 4px; }
.footer-secure p strong { color: #e2e8f0; }
.footer-secure p a { text-decoration: underline; }
.pay-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pay-cards { display: flex; gap: 8px; }
.pay-cards img { width: 52px; height: 32px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12); }
.trust-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 9px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; color: #0f172a; line-height: 1.15; }
.trust-badge > i { font-size: 1.35rem; color: #16a34a; }
.trust-badge strong { display: block; font-size: .8rem; }
.trust-badge small { display: block; font-size: .68rem; color: #64748b; }
.pay-badges-dark .trust-badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.site-footer .pay-badges-dark .trust-badge, .site-footer .pay-badges-dark .trust-badge strong { color: #fff; }
.site-footer .pay-badges-dark .trust-badge small { color: #94a3b8; }
.site-footer .pay-badges-dark .trust-badge:hover { background: rgba(255,255,255,.12); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 26px; padding: 22px 0; text-align: center; font-size: .9rem; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .6); transition: transform .2s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

@media (max-width: 767px) {
    .hero { padding: 60px 0 90px; }
    .section { padding: 56px 0; }
    .cta-box { padding: 32px 24px; }
    .section-head { margin-bottom: 24px; }
}

/* ---------- Alt kategoriler ---------- */
.cat-bar { position: relative; }
.cat-nav .cat-caret { font-size: .7rem; margin-left: -2px; transition: transform .2s; }
.cat-nav .has-sub.open .cat-caret { transform: rotate(180deg); }
.cat-drop { position: absolute; top: 100%; left: 0; z-index: 1040; min-width: 230px; max-width: 320px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; margin-top: -1px; }
.cat-drop a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .93rem; }
.cat-drop a:hover, .cat-drop a:focus, .cat-drop a.active { background: var(--soft); color: var(--brand); }
.cat-drop .cat-drop-all { font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
.cat-drop .cat-drop-all i { font-size: .8rem; color: var(--brand); }
.filter-list .sub a { position: relative; padding-left: 30px; font-size: .9rem; }
.filter-list .sub a::before { content: "↳"; position: absolute; left: 13px; color: var(--muted); }
.filter-list .has-children > a .bi { font-size: .7rem; margin-left: 4px; color: var(--muted); }
.sub-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sub-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--text); font-size: .9rem; font-weight: 600; transition: all .2s; }
.sub-cats a span { font-size: .75rem; color: var(--muted); font-weight: 500; }
.sub-cats a:hover { border-color: var(--brand); color: var(--brand); }
.sub-cats a.active { background: var(--gradient); border-color: transparent; color: #fff; }
.sub-cats a.active span { color: rgba(255, 255, 255, .85); }

/* Ürün detay: diğer sitemize yönlendirme */
.btn-external { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; background: var(--navy); border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-external:hover, .btn-external:focus { background: var(--navy-2); }
.btn-external small { font-weight: 400; opacity: .75; font-size: .8rem; }
