/* =====================================================================
   Pirus Yangın Güvenlik Sistemleri — Tema CSS
   Bootstrap 5.3 genişletmesi | Kırmızı + Antrasit + Açık Gri
   ===================================================================== */

:root {
    --pirus-red: #C62828;
    --pirus-red-dark: #B71C1C;
    --pirus-red-light: #E53935;
    --pirus-dark: #1F2229;
    --pirus-dark-2: #262A33;
    --pirus-gray: #F4F5F7;
    --pirus-border: #E5E7EB;
    --bs-primary: #C62828;
    --bs-danger: #C62828;
    --bs-body-font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-color: #26292F;
    --bs-body-bg: #FFFFFF;
    --bs-link-color: #C62828;
    --bs-link-hover-color: #B71C1C;
}

body {
    font-family: var(--bs-body-font-family);
    color: var(--bs-body-color);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 700; letter-spacing: .2px; }
a { text-decoration: none; }

/* ---------- Yardımcılar ---------- */
.text-danger { color: var(--pirus-red) !important; }
.bg-light { background-color: var(--pirus-gray) !important; }

/* ---------- Butonlar ---------- */
.btn-fire {
    --bs-btn-bg: var(--pirus-red);
    --bs-btn-border-color: var(--pirus-red);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--pirus-red-dark);
    --bs-btn-hover-border-color: var(--pirus-red-dark);
    --bs-btn-active-bg: var(--pirus-red-dark);
    --bs-btn-active-border-color: var(--pirus-red-dark);
    font-weight: 600;
}
.btn-outline-fire {
    --bs-btn-color: var(--pirus-red);
    --bs-btn-border-color: var(--pirus-red);
    --bs-btn-hover-bg: var(--pirus-red);
    --bs-btn-hover-border-color: var(--pirus-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--pirus-red);
    --bs-btn-active-color: #fff;
    font-weight: 600;
}
.btn-dark-anthracite {
    --bs-btn-bg: var(--pirus-dark);
    --bs-btn-border-color: var(--pirus-dark);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--pirus-dark-2);
    --bs-btn-hover-border-color: var(--pirus-dark-2);
    font-weight: 600;
}
.btn-ghost-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255,255,255,.55);
    --bs-btn-hover-bg: rgba(255,255,255,.12);
    --bs-btn-hover-border-color: #fff;
    --bs-btn-hover-color: #fff;
    font-weight: 600;
}
.form-control:focus, .form-select:focus {
    border-color: var(--pirus-red);
    box-shadow: 0 0 0 .2rem rgba(198, 40, 40, .15);
}
.form-label { font-weight: 600; font-size: .875rem; }

/* ---------- Rozetler ---------- */
.badge-soft-danger { background: rgba(198,40,40,.08); color: var(--pirus-red); border-radius: 4px; padding: .25rem .6rem; display: inline-block; font-weight: 600; }
.badge-soft-info { background: rgba(13,110,253,.08); color: #0a58ca; border-radius: 4px; padding: .25rem .6rem; display: inline-block; font-weight: 600; }
.badge-soft-success { background: rgba(25,135,84,.1); color: #146c43; border-radius: 4px; padding: .25rem .6rem; display: inline-block; font-weight: 600; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--pirus-dark); color: #fff; height: 42px; font-weight: 500; }
.top-bar a { color: rgba(255,255,255,.85); transition: color .2s; }
.top-bar a:hover { color: #fff; }
.top-bar .bi { color: var(--pirus-red-light); }

/* ---------- Header ---------- */
.header-main { background: #fff; box-shadow: 0 2px 12px rgba(20,20,30,.07); z-index: 1030; }
.header-main.stuck { box-shadow: 0 4px 18px rgba(20,20,30,.12); }
.logo img { height: 42px; }
.search-form .form-control { border-radius: 0; border-color: var(--pirus-border); }
.search-form .btn { border-radius: 0; }
.search-suggest { top: calc(100% + 2px); z-index: 1050; max-height: 320px; overflow-y: auto; }
.search-suggest .list-group-item { border-left: 3px solid transparent; }
.search-suggest .list-group-item:hover { border-left-color: var(--pirus-red); background: var(--pirus-gray); }
.header-actions .icon-bubble {
    position: relative; width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--pirus-gray); color: var(--pirus-dark); font-size: 1.25rem;
    border: 1px solid transparent; transition: all .2s;
}
.header-actions .icon-bubble:hover { background: var(--pirus-red); color: #fff; }
.header-actions .badge-counter {
    position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px;
    border-radius: 10px; background: var(--pirus-red); color: #fff;
    font-size: .72rem; line-height: 20px; text-align: center; padding: 0 5px; font-weight: 700;
}

/* ---------- Mega menü ---------- */
.navbar-mega { background: var(--pirus-dark); }
.mega-nav { display: flex; list-style: none; margin: 0; padding: 0; }
.mega-nav > li { position: relative; }
.mega-nav > li > a {
    display: block; color: rgba(255,255,255,.88); padding: 14px 18px;
    font-weight: 600; font-size: .95rem; transition: color .2s, background .2s;
}
.mega-nav > li:hover > a { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 -3px 0 var(--pirus-red); }
.mega-panel {
    position: absolute; top: 100%; left: 0; right: auto; min-width: 860px;
    background: #fff; box-shadow: 0 18px 40px rgba(20,20,30,.18);
    border-top: 3px solid var(--pirus-red);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s ease; z-index: 1040;
}
.mega-nav > li:hover .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
/* v1.9.4 — açılır alt menü (header) */
.mega-caret { font-size: .68rem; opacity: .7; }
.mega-sub {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    list-style: none; margin: 0; padding: 6px 0;
    background: #fff; border-top: 3px solid var(--pirus-red);
    box-shadow: 0 18px 40px rgba(20,20,30,.18);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s ease; z-index: 1040;
}
.mega-nav > li:hover > .mega-sub,
.mega-nav > li:focus-within > .mega-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-sub a {
    display: block; padding: 9px 18px; color: #3D4350;
    font-weight: 600; font-size: .9rem; border-bottom: 1px solid var(--pirus-gray);
}
.mega-sub li:last-child > a { border-bottom: 0; }
.mega-sub a:hover { color: var(--pirus-red); background: #F7F8FA; padding-left: 24px; transition: all .2s; }
.mega-root { display: block; font-weight: 700; color: var(--pirus-dark); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--pirus-gray); }
.mega-root:hover { color: var(--pirus-red); }
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list a { display: block; color: #555; padding: 5px 0; font-size: .9rem; }
.mega-list a:hover { color: var(--pirus-red); padding-left: 4px; transition: all .2s; }

/* Mobil menü */
.mobile-nav .mobile-menu { list-style: none; padding: 0; margin: 0; }
.mobile-nav .mobile-menu a { display: block; padding: 10px 4px; color: var(--pirus-dark); font-weight: 600; border-bottom: 1px solid var(--pirus-gray); }
/* v1.9.4 — mobilde girintili alt menü */
.mobile-nav .mobile-sub { margin: 0; padding: 0 0 0 14px; }
.mobile-nav .mobile-sub a { font-weight: 500; font-size: .92rem; padding: 8px 4px; border-bottom: 1px dashed var(--pirus-gray); }
.mobile-nav .mobile-sub a::before { content: '↳ '; color: var(--pirus-red); font-weight: 700; }

/* ---------- Hero ---------- */
.hero-slider .carousel-item { transition: opacity 1.2s ease; }
.hero-slide {
    min-height: 520px; display: flex; align-items: center;
    background-size: cover; background-position: center right; position: relative;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(24,26,32,.94) 0%, rgba(24,26,32,.72) 45%, rgba(24,26,32,.15) 100%);
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-kicker { color: var(--pirus-red-light); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; }
.hero-title { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.12; max-width: 640px; margin: 14px 0; }
.hero-text { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 560px; margin-bottom: 24px; }
.hero-slider .carousel-indicators [data-bs-target] { width: 34px; height: 4px; background: rgba(255,255,255,.4); border-radius: 2px; }
.hero-slider .carousel-indicators .active { background: var(--pirus-red); }

/* ---------- Bölümler ---------- */
.section { padding: 56px 0; }
.section-title { margin-bottom: 32px; }
.section-title .kicker { color: var(--pirus-red); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .82rem; }
.section-title h1, .section-title h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; margin: 6px 0 0; position: relative; padding-bottom: 12px; }
.section-title h1::after, .section-title h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--pirus-red); }
.section-title.center { text-align: center; }
.section-title.center h2::after { left: 50%; transform: translateX(-50%); }

/* ---------- Feature bar ---------- */
.feature-item {
    display: flex; align-items: center; gap: 12px; background: #fff;
    border: 1px solid var(--pirus-border); border-radius: 10px; padding: 14px 16px; height: 100%;
    transition: all .25s;
}
.feature-item:hover { border-color: var(--pirus-red); box-shadow: 0 8px 22px rgba(198,40,40,.1); transform: translateY(-2px); }
.feature-item .bi { font-size: 1.7rem; color: var(--pirus-red); }
.feature-item strong { display: block; font-size: .95rem; }
.feature-item span { font-size: .8rem; color: #777; }

/* ---------- Kategori kartları ---------- */
.category-card {
    display: flex; align-items: center; gap: 16px; background: #fff;
    border: 1px solid var(--pirus-border); border-radius: 12px; padding: 20px;
    height: 100%; color: var(--pirus-dark); transition: all .25s;
}
.category-card:hover { border-color: var(--pirus-red); box-shadow: 0 12px 28px rgba(20,20,30,.1); transform: translateY(-3px); color: var(--pirus-dark); }
.category-card .bi { font-size: 2.1rem; color: var(--pirus-red); }
.category-card h3 { font-size: 1.02rem; margin: 0 0 2px; font-weight: 700; }
.category-card span { color: var(--pirus-red); font-weight: 600; }

/* ---------- Ürün kartları ---------- */
.product-card { border: 1px solid var(--pirus-border); border-radius: 12px; overflow: hidden; transition: all .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20,20,30,.12); border-color: transparent; }
.product-thumb { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--pirus-gray); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.product-meta { display: flex; justify-content: space-between; }
.product-title { font-size: .98rem; line-height: 1.35; margin-bottom: 6px; }
.product-title a { color: var(--pirus-dark); }
.product-title a:hover { color: var(--pirus-red); }
.product-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-weight: 800; font-size: 1.05rem; }
.price-campaign { color: var(--pirus-red); }
.price-normal { color: var(--pirus-dark); }
.price-ask { color: #6b7280; font-weight: 700; font-style: normal; font-size: .95rem; }

/* ---------- Çözüm / hizmet / sektör kartları ---------- */
.solution-card {
    background: #fff; border: 1px solid var(--pirus-border); border-radius: 12px; padding: 28px;
    position: relative; transition: all .25s; height: 100%;
}
.solution-card:hover { box-shadow: 0 14px 30px rgba(20,20,30,.1); transform: translateY(-3px); }
.solution-card > .bi { font-size: 2.2rem; color: var(--pirus-red); margin-bottom: 14px; display: inline-block; }
.solution-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.solution-card p { color: #666; margin-bottom: 16px; }
.stretched-link-link { color: var(--pirus-red); font-weight: 700; }
.solution-card.danger-zone { border-top: 3px solid var(--pirus-red); }
.risk-list { list-style: none; padding: 0; margin: 0; }
.risk-list li { padding: 7px 0 7px 26px; position: relative; color: #555; border-bottom: 1px dashed var(--pirus-border); }
.risk-list li::before { content: '\F33A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--pirus-red); }

.service-card {
    display: block; background: #fff; border: 1px solid var(--pirus-border);
    border-radius: 12px; padding: 26px; height: 100%; color: var(--pirus-dark); transition: all .25s;
}
.service-card:hover { border-color: var(--pirus-red); box-shadow: 0 14px 30px rgba(20,20,30,.1); transform: translateY(-3px); color: var(--pirus-dark); }
.service-icon {
    width: 56px; height: 56px; border-radius: 12px; background: rgba(198,40,40,.08);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--pirus-red); margin-bottom: 14px;
}
.service-icon.lg { width: 76px; height: 76px; font-size: 2rem; border-radius: 16px; }
.service-card h3 { font-size: 1.08rem; }
.service-card p { color: #666; font-size: .92rem; }
.service-more { color: var(--pirus-red); font-weight: 700; font-size: .9rem; }
.service-mini {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
    background: #fff; border: 1px solid var(--pirus-border); border-radius: 12px; padding: 20px 12px;
    color: var(--pirus-dark); height: 100%; transition: all .25s; font-weight: 600; font-size: .9rem;
}
.service-mini:hover { border-color: var(--pirus-red); transform: translateY(-3px); color: var(--pirus-red); box-shadow: 0 10px 24px rgba(20,20,30,.08); }
.service-mini .bi { font-size: 1.8rem; color: var(--pirus-red); }

.sector-card {
    display: block; background: #fff; border: 1px solid var(--pirus-border);
    border-radius: 12px; padding: 26px; height: 100%; color: var(--pirus-dark); transition: all .25s;
}
.sector-card:hover { border-color: var(--pirus-red); box-shadow: 0 14px 30px rgba(20,20,30,.1); transform: translateY(-3px); color: var(--pirus-dark); }
.sector-card .bi { font-size: 2rem; color: var(--pirus-red); margin-bottom: 12px; display: inline-block; }
.sector-card h3 { font-size: 1.08rem; }
.sector-card p { color: #666; font-size: .9rem; }

/* ---------- Banner ---------- */
.banner-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: linear-gradient(100deg, var(--pirus-dark) 0%, var(--pirus-red-dark) 100%);
    border-radius: 14px; padding: 34px 38px; color: #fff; overflow: hidden; position: relative;
}
.banner-strip::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.06); }
.banner-strip h3 { font-size: 1.35rem; font-weight: 800; margin: 0 0 4px; }
.banner-strip span { color: rgba(255,255,255,.75); }
.banner-strip .bi { font-size: 2.4rem; transition: transform .3s; }
.banner-strip:hover .bi { transform: translateX(8px); }

/* ---------- Neden biz ---------- */
.why-us-list { list-style: none; padding: 0; margin: 0; }
.why-us-list li { position: relative; padding: 9px 0 9px 34px; color: #4b5563; }
.why-us-list li::before {
    content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 8px;
    color: var(--pirus-red); font-size: 1.15rem;
}
.why-us-list.two-col { columns: 2; column-gap: 32px; }
@media (max-width: 767px) { .why-us-list.two-col { columns: 1; } }

/* ---------- İstatistik ---------- */
.stat-counter {
    background: linear-gradient(135deg, var(--pirus-dark) 0%, var(--pirus-dark-2) 100%);
    border-radius: 16px; color: #fff;
}
.stat-item .bi { font-size: 2rem; color: var(--pirus-red-light); }
.stat-num { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.2; }
.stat-label { color: rgba(255,255,255,.65); font-size: .88rem; }

/* ---------- Referans / marka / sertifika ---------- */
.reference-card { background: #fff; border: 1px solid var(--pirus-border); border-radius: 12px; overflow: hidden; transition: all .25s; }
.reference-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,20,30,.1); }
.reference-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--pirus-gray); }
.reference-card h3 { font-size: .98rem; margin: 8px 0 2px; }
.brand-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.brand-item {
    background: #fff; border: 1px solid var(--pirus-border); border-radius: 10px;
    padding: 18px 10px; text-align: center; font-weight: 800; letter-spacing: .5px;
    color: #9aa0aa; transition: all .25s; text-transform: uppercase; font-size: .9rem;
}
.brand-item:hover { color: var(--pirus-red); border-color: var(--pirus-red); }
.cert-mini { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--pirus-border); border-radius: 10px; padding: 12px; height: 100%; }
.cert-mini .bi { color: var(--pirus-red); font-size: 1.5rem; flex-shrink: 0; }
.cert-mini strong { font-size: .84rem; line-height: 1.3; display: block; }
.cert-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--pirus-border); border-radius: 12px; padding: 20px; }
.cert-card > .bi { font-size: 2.2rem; color: var(--pirus-red); }

/* ---------- Yorumlar ---------- */
.testimonial-card { background: #fff; border: 1px solid var(--pirus-border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.testimonial-card p { color: #555; font-style: italic; }
.avatar-circle {
    width: 44px; height: 44px; border-radius: 50%; background: var(--pirus-red);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.15rem; flex-shrink: 0;
}
.avatar-circle.lg { width: 64px; height: 64px; font-size: 1.6rem; }

/* ---------- Blog ---------- */
.blog-card { border: 1px solid var(--pirus-border); border-radius: 12px; overflow: hidden; transition: all .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,20,30,.12); }
.blog-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--pirus-gray); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.popular-posts { list-style: none; margin: 0; padding: 0; }
.popular-posts li { border-bottom: 1px dashed var(--pirus-border); padding: 8px 0; }
.popular-posts li:last-child { border: 0; }
.popular-posts a { color: var(--pirus-dark); font-weight: 600; font-size: .92rem; }
.popular-posts a:hover { color: var(--pirus-red); }
.post-hero { max-height: 420px; width: 100%; object-fit: cover; }
.post-content { font-size: 1.02rem; line-height: 1.85; color: #374151; }
.post-content h3 { margin: 26px 0 10px; font-size: 1.25rem; }
.post-content p { margin-bottom: 14px; }
.post-content ul { margin-bottom: 16px; }

/* ---------- CTA bandı ---------- */
.cta-band { background: linear-gradient(100deg, var(--pirus-red-dark), var(--pirus-red)); color: #fff; padding: 46px 0; }
.cta-band h2 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; }

/* ---------- İletişim ---------- */
.contact-mini { text-align: center; background: #fff; border: 1px solid var(--pirus-border); border-radius: 12px; padding: 26px; height: 100%; }
.contact-mini .bi { font-size: 1.9rem; color: var(--pirus-red); }
.contact-mini h3 { font-size: 1.02rem; margin: 8px 0 4px; }
.contact-detail { list-style: none; padding: 0; margin: 0; }
.contact-detail li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--pirus-border); }
.contact-detail .bi { color: var(--pirus-red); font-size: 1.25rem; }
.contact-detail strong { display: block; }
.contact-detail span { color: #666; font-size: .93rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-wrap { background: var(--pirus-gray); border-bottom: 1px solid var(--pirus-border); }
.breadcrumb { --bs-breadcrumb-divider-color: #9aa0aa; margin: 0; }
.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: var(--pirus-red); }

/* ---------- Sidebar / filtre ---------- */
.filter-box { background: #fff; border: 1px solid var(--pirus-border); border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.filter-box h6 { font-weight: 800; font-size: .92rem; margin-bottom: 12px; }
.cat-tree { list-style: none; margin: 0; padding: 0; }
.cat-tree li { border-bottom: 1px dashed var(--pirus-border); }
.cat-tree li:last-child { border: 0; }
.cat-tree a { display: block; padding: 8px 0; color: #555; font-weight: 500; }
.cat-tree a:hover { color: var(--pirus-red); padding-left: 4px; transition: all .2s; }
.cta-mini { border-top: 3px solid var(--pirus-red); }

/* ---------- Ürün detay ---------- */
.gallery-main { border: 1px solid var(--pirus-border); border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--pirus-gray); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--pirus-gray); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--pirus-red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; background: rgba(15,17,22,.92); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 18px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }
.sticky-quote { position: sticky; top: 96px; }
.quote-box { background: #fff; border: 1px solid var(--pirus-border); border-radius: 14px; padding: 24px; }
.quote-meta { list-style: none; margin: 0; padding: 0; }
.quote-meta li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--pirus-border); font-size: .92rem; }
.quote-price { font-size: 1.5rem; font-weight: 800; }
.qty-row .qty-input { display: inline-flex; border: 1px solid var(--pirus-border); border-radius: 8px; overflow: hidden; }
.qty-input button { width: 36px; height: 40px; border: 0; background: var(--pirus-gray); font-size: 1.1rem; font-weight: 700; }
.qty-input input { width: 64px; height: 40px; border: 0; text-align: center; font-weight: 700; }
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust-list { list-style: none; padding: 0; margin: 0; }
.trust-list li { padding: 5px 0; }
.doc-item { display: flex; gap: 14px; align-items: center; color: var(--pirus-dark); }
.doc-item:hover { background: var(--pirus-gray); color: var(--pirus-dark); }
.doc-item .bi-download { color: var(--pirus-red); }
.rich-text { line-height: 1.8; color: #374151; }
.rich-text p { margin-bottom: 12px; }
.rich-text ul { padding-left: 20px; }
.rich-text ul li { margin-bottom: 6px; }
.spec-list ul { list-style: none; padding-left: 0; }
.spec-list ul li { padding: 8px 0; border-bottom: 1px dashed var(--pirus-border); }

/* ---------- Sepet ---------- */
.table-quote-cart img { object-fit: cover; }
.cart-summary li:last-child { border-bottom: 0 !important; }

/* ---------- Auth ---------- */
.auth-page { padding: 60px 0; }
.login-card { background: #fff; border: 1px solid var(--pirus-border); border-radius: 16px; padding: 36px; box-shadow: 0 18px 44px rgba(20,20,30,.08); }
.quote-done { background: #fff; border: 1px solid var(--pirus-border); border-radius: 16px; }

/* ---------- B2B ---------- */
.b2b-nav .nav-link { color: var(--pirus-dark); font-weight: 600; border-radius: 8px; padding: 8px 16px; }
.b2b-nav .nav-link:hover { background: rgba(198,40,40,.08); color: var(--pirus-red); }
.b2b-nav .nav-link.active { background: var(--pirus-red); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--pirus-dark); color: #cfd3da; margin-top: auto; }
.footer-title { color: #fff; font-weight: 800; text-transform: uppercase; font-size: .92rem; letter-spacing: 1px; padding-bottom: 10px; position: relative; margin-bottom: 16px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--pirus-red); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: block; color: #aab0ba; padding: 5px 0; font-size: .92rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; transition: all .2s; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; padding: 6px 0; font-size: .92rem; color: #aab0ba; }
.footer-contact .bi { color: var(--pirus-red-light); margin-top: 3px; }
.footer-contact a { color: #aab0ba; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom a { color: #aab0ba; }
.footer-bottom a:hover { color: #fff; }
.newsletter-form .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.newsletter-form .form-control::placeholder { color: #8891a0; }

/* ---------- WhatsApp & scroll-top ---------- */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 1060;
    width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    box-shadow: 0 10px 26px rgba(37,211,102,.45); animation: pirusPulse 2.4s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
@keyframes pirusPulse {
    0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,.45); }
    50% { box-shadow: 0 10px 26px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,.12); }
}
.scroll-top {
    position: fixed; right: 26px; bottom: 92px; z-index: 1050;
    width: 46px; height: 46px; border-radius: 10px; border: 0;
    background: var(--pirus-dark); color: #fff; font-size: 1.2rem; opacity: 0; visibility: hidden;
    transition: all .3s;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--pirus-red); }

/* ---------- Toast ---------- */
.toast-pirus {
    background: var(--pirus-dark); color: #fff; border-radius: 10px; padding: 13px 18px;
    box-shadow: 0 14px 34px rgba(20,20,30,.28); display: flex; gap: 10px; align-items: center;
    animation: toastIn .3s ease; min-width: 280px; max-width: 380px; font-weight: 500; font-size: .93rem;
}
.toast-pirus.success .bi { color: #2ecc71; }
.toast-pirus.danger .bi { color: #ff6b6b; }
.toast-pirus.leaving { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(16px); } }

/* ---------- Reveal animasyon ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Pagination ---------- */
.pagination .page-link { color: var(--pirus-dark); border-color: var(--pirus-border); font-weight: 600; }
.pagination .page-item.active .page-link { background: var(--pirus-red); border-color: var(--pirus-red); }
.pagination .page-link:hover { background: var(--pirus-gray); }

/* ---------- Accordion ---------- */
.faq-accordion .accordion-button { font-weight: 700; color: var(--pirus-dark); }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--pirus-red); background: rgba(198,40,40,.04); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--pirus-border); }

/* ---------- Admin tablo yardımcıları (admin kendi stilini de kullanır) ---------- */
.badge.text-bg-danger { background-color: var(--pirus-red) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-slide { min-height: 400px; }
    .section { padding: 40px 0; }
    .mega-panel { display: none; }
    .sticky-quote { position: static; }
    .brand-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .hero-slide { min-height: 360px; }
    .hero-title { font-size: 1.55rem; }
    .banner-strip { padding: 24px; }
    .stat-num { font-size: 1.9rem; }
    .btn-lg { font-size: 1rem; }
}

/* Erişilebilirlik */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   v1.2 — Dark Mode (data-bs-theme="dark") + AI Asistan + Araçlar
   ===================================================================== */

/* ---------- Tema geçişi ---------- */
html { color-scheme: light; }
html[data-bs-theme="dark"] { color-scheme: dark; }
.header-main, .search-form .form-control, .quote-box, .product-card, .card-pirus,
.tab-content, .dropdown-menu, .offcanvas, .list-group-item, .accordion-item,
.form-control, .form-select, .breadcrumb-pirus, .footer-main {
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

/* ---------- Dark Mode: genel yüzeyler ---------- */
html[data-bs-theme="dark"] {
    --pirus-gray: #1B1E24;
    --pirus-border: #2C313B;
    --bs-body-color: #D6D9E0;
    --bs-body-bg: #14161B;
    --bs-secondary-color: #9aa1ad;
    --bs-link-color: #ef7b7b;
    --bs-link-hover-color: #ff9d9d;
    --bs-emphasis-color: #f3f4f6;
}
html[data-bs-theme="dark"] body { background: #14161B; }
html[data-bs-theme="dark"] .header-main { background: #1B1E24; box-shadow: 0 2px 12px rgba(0,0,0,.45); }
html[data-bs-theme="dark"] .bg-light,
html[data-bs-theme="dark"] .section-alt { background-color: #1B1E24 !important; }
html[data-bs-theme="dark"] .tab-content.bg-white,
html[data-bs-theme="dark"] .card.bg-white,
html[data-bs-theme="dark"] .bg-white { background-color: #1B1E24 !important; color: var(--bs-body-color); }
html[data-bs-theme="dark"] .text-dark { color: #f1f2f4 !important; }
html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .text-muted * { color: #9aa1ad !important; }
html[data-bs-theme="dark"] .search-suggest .list-group-item:hover { background: #22262e; }
html[data-bs-theme="dark"] .icon-bubble { background: #22262e; color: #d6d9e0; }
html[data-bs-theme="dark"] .icon-bubble:hover { background: var(--pirus-red); color: #fff; }
html[data-bs-theme="dark"] .dropdown-menu { background: #1E2128; border-color: #2C313B; }
html[data-bs-theme="dark"] .dropdown-item { color: #d6d9e0; }
html[data-bs-theme="dark"] .dropdown-item:hover { background: #262a33; color: #fff; }
html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select { background: #1B1E24; border-color: #2C313B; color: #e6e8ec; }
html[data-bs-theme="dark"] .form-control::placeholder { color: #6b7280; }
html[data-bs-theme="dark"] .accordion-item { background: #1B1E24; border-color: #2C313B; }
html[data-bs-theme="dark"] .accordion-button { background: #1B1E24; color: #e6e8ec; }
html[data-bs-theme="dark"] .accordion-button:not(.collapsed) { background: rgba(198,40,40,.12); color: #ff9d9d; }
html[data-bs-theme="dark"] .list-group-item { background: #1B1E24; border-color: #2C313B; color: #d6d9e0; }
html[data-bs-theme="dark"] .product-card { background: #1B1E24; border-color: #2C313B; }
html[data-bs-theme="dark"] .breadcrumb { color: #9aa1ad; }
html[data-bs-theme="dark"] .badge-soft-danger { background: rgba(239,123,123,.12); color: #ff9d9d; }
html[data-bs-theme="dark"] .badge-soft-info { background: rgba(13,110,253,.15); color: #79a8ff; }
html[data-bs-theme="dark"] .badge-soft-success { background: rgba(25,135,84,.18); color: #62d99a; }
html[data-bs-theme="dark"] .footer-main,
html[data-bs-theme="dark"] .footer-bottom { background: #101217; }
html[data-bs-theme="dark"] .offcanvas { background: #1B1E24; color: #d6d9e0; }
html[data-bs-theme="dark"] .modal-content { background: #1B1E24; color: #e6e8ec; }
html[data-bs-theme="dark"] .btn-outline-dark { color: #e6e8ec; border-color: #4a5060; }
html[data-bs-theme="dark"] .btn-outline-dark:hover { background: #262a33; color: #fff; }
html[data-bs-theme="dark"] .table { --bs-table-bg: transparent; --bs-table-color: #d6d9e0; border-color: #2C313B; }
html[data-bs-theme="dark"] .alert-secondary { background: #22262e; border-color: #2C313B; color: #cfd3da; }
html[data-bs-theme="dark"] .review-card { background: #1B1E24; border-color: #2C313B; }
html[data-bs-theme="dark"] .tool-result { background: linear-gradient(135deg, rgba(198,40,40,.18), rgba(198,40,40,.06)); border-color: rgba(239,123,123,.35); }

/* Tema değiştirme butonu */
.theme-toggle .bi { transition: transform .35s ease; }
html[data-bs-theme="dark"] .theme-toggle .bi-moon-stars { display: none; }
html[data-bs-theme="dark"] .theme-toggle .bi-sun { display: inline-block; }
.theme-toggle .bi-sun { display: none; }

/* ---------- AI Asistan widget ---------- */
.ai-fab {
    position: fixed; left: 22px; bottom: 22px; z-index: 1080;
    width: 54px; height: 54px; border-radius: 50%; border: 0;
    background: linear-gradient(135deg, var(--pirus-red), #8e1b1b);
    color: #fff; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(198,40,40,.42); cursor: pointer; transition: transform .2s ease;
}
.ai-fab:hover { transform: scale(1.08); }
.ai-fab .ai-spark { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(198,40,40,.35); animation: aiPulse 2.4s infinite; }
@keyframes aiPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.ai-panel {
    position: fixed; left: 22px; bottom: 88px; z-index: 1085;
    width: min(380px, calc(100vw - 32px)); height: min(520px, calc(100vh - 130px));
    background: var(--bs-body-bg, #fff); border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 18px 48px rgba(15,18,24,.28); border: 1px solid var(--pirus-border, #E5E7EB);
    opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}
.ai-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.ai-head { background: var(--pirus-dark); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.ai-head .bi-fire { color: var(--pirus-red-light); font-size: 1.25rem; }
.ai-head strong { font-size: .95rem; }
.ai-head small { color: rgba(255,255,255,.6); display: block; margin-top: -2px; }
.ai-close { margin-left: auto; background: transparent; border: 0; color: rgba(255,255,255,.75); font-size: 1.15rem; cursor: pointer; }
.ai-close:hover { color: #fff; }
.ai-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--pirus-gray, #F4F5F7); }
html[data-bs-theme="dark"] .ai-body { background: #14161B; }
.ai-msg { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: .875rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.ai-msg.user { align-self: flex-end; background: var(--pirus-red); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.bot { align-self: flex-start; background: var(--bs-body-bg, #fff); border: 1px solid var(--pirus-border, #E5E7EB); border-bottom-left-radius: 4px; }
.ai-msg.bot a { font-weight: 600; }
.ai-msg.typing { color: #9aa1ad; font-style: italic; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.ai-chip { font-size: .74rem; border: 1px solid var(--pirus-border, #E5E7EB); background: var(--bs-body-bg, #fff); color: var(--bs-body-color); border-radius: 20px; padding: 4px 10px; cursor: pointer; }
.ai-chip:hover { border-color: var(--pirus-red); color: var(--pirus-red); }
.ai-foot { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--pirus-border, #E5E7EB); background: var(--bs-body-bg, #fff); }
.ai-foot input { border-radius: 20px; }
.ai-foot button { border-radius: 20px; width: 42px; flex-shrink: 0; }

/* ---------- Araçlar sayfası ---------- */
.tool-card { border: 1px solid var(--pirus-border); border-radius: 14px; background: var(--bs-body-bg, #fff); padding: 24px; height: 100%; }
.tool-card h2 { font-size: 1.15rem; font-weight: 700; }
.tool-result { border: 1px dashed rgba(198,40,40,.4); background: rgba(198,40,40,.05); border-radius: 12px; padding: 16px; margin-top: 16px; }
.tool-result .big { font-size: 1.65rem; font-weight: 800; color: var(--pirus-red); line-height: 1.2; }
.risk-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.risk-pill { border: 1.5px solid var(--pirus-border); border-radius: 10px; background: var(--bs-body-bg, #fff); padding: 8px 14px; cursor: pointer; font-weight: 700; font-size: .9rem; }
.risk-pill small { display: block; font-weight: 500; color: #9aa1ad; font-size: .72rem; }
.risk-pill.active { border-color: var(--pirus-red); color: var(--pirus-red); background: rgba(198,40,40,.06); }
.star-input { display: inline-flex; gap: 2px; border: 0; padding: 0; background: none; }
.star-input button { border: 0; background: none; color: #D1D5DB; font-size: 1.5rem; padding: 0 2px; cursor: pointer; transition: color .15s; }
.star-input button.on { color: #F59E0B; }

/* ---------- Ürün yorumları ---------- */
.review-card { border: 1px solid var(--pirus-border); border-radius: 12px; padding: 16px; background: var(--bs-body-bg, #fff); }
.review-card .who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(198,40,40,.1); color: var(--pirus-red); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.rating-summary { display: flex; align-items: center; gap: 14px; }
.rating-summary .score { font-size: 2.6rem; font-weight: 800; line-height: 1; }

/* =====================================================================
   v1.2 — Dark Mode (data-bs-theme="dark") + AI Asistan + Araçlar
   ===================================================================== */

/* ---------- Tema geçişi ---------- */
html { color-scheme: light; }
html[data-bs-theme="dark"] { color-scheme: dark; }
.header-main, .search-form .form-control, .quote-box, .product-card, .card-pirus,
.tab-content, .dropdown-menu, .offcanvas, .list-group-item, .accordion-item,
.form-control, .form-select, .breadcrumb-pirus, .footer-main {
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

/* ---------- Dark Mode: genel yüzeyler ---------- */
html[data-bs-theme="dark"] {
    --pirus-gray: #1B1E24;
    --pirus-border: #2C313B;
    --bs-body-color: #D6D9E0;
    --bs-body-bg: #14161B;
    --bs-secondary-color: #9aa1ad;
    --bs-link-color: #ef7b7b;
    --bs-link-hover-color: #ff9d9d;
    --bs-emphasis-color: #f3f4f6;
}
html[data-bs-theme="dark"] body { background: #14161B; }
html[data-bs-theme="dark"] .header-main { background: #1B1E24; box-shadow: 0 2px 12px rgba(0,0,0,.45); }
html[data-bs-theme="dark"] .bg-light,
html[data-bs-theme="dark"] .section-alt { background-color: #1B1E24 !important; }
html[data-bs-theme="dark"] .tab-content.bg-white,
html[data-bs-theme="dark"] .card.bg-white,
html[data-bs-theme="dark"] .bg-white { background-color: #1B1E24 !important; color: var(--bs-body-color); }
html[data-bs-theme="dark"] .text-dark { color: #f1f2f4 !important; }
html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .text-muted * { color: #9aa1ad !important; }
html[data-bs-theme="dark"] .search-suggest .list-group-item:hover { background: #22262e; }
html[data-bs-theme="dark"] .icon-bubble { background: #22262e; color: #d6d9e0; }
html[data-bs-theme="dark"] .icon-bubble:hover { background: var(--pirus-red); color: #fff; }
html[data-bs-theme="dark"] .dropdown-menu { background: #1E2128; border-color: #2C313B; }
html[data-bs-theme="dark"] .dropdown-item { color: #d6d9e0; }
html[data-bs-theme="dark"] .dropdown-item:hover { background: #262a33; color: #fff; }
html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select { background: #1B1E24; border-color: #2C313B; color: #e6e8ec; }
html[data-bs-theme="dark"] .form-control::placeholder { color: #6b7280; }
html[data-bs-theme="dark"] .accordion-item { background: #1B1E24; border-color: #2C313B; }
html[data-bs-theme="dark"] .accordion-button { background: #1B1E24; color: #e6e8ec; }
html[data-bs-theme="dark"] .accordion-button:not(.collapsed) { background: rgba(198,40,40,.12); color: #ff9d9d; }
html[data-bs-theme="dark"] .list-group-item { background: #1B1E24; border-color: #2C313B; color: #d6d9e0; }
html[data-bs-theme="dark"] .product-card { background: #1B1E24; border-color: #2C313B; }
html[data-bs-theme="dark"] .breadcrumb { color: #9aa1ad; }
html[data-bs-theme="dark"] .badge-soft-danger { background: rgba(239,123,123,.12); color: #ff9d9d; }
html[data-bs-theme="dark"] .badge-soft-info { background: rgba(13,110,253,.15); color: #79a8ff; }
html[data-bs-theme="dark"] .badge-soft-success { background: rgba(25,135,84,.18); color: #62d99a; }
html[data-bs-theme="dark"] .footer-main,
html[data-bs-theme="dark"] .footer-bottom { background: #101217; }
html[data-bs-theme="dark"] .offcanvas { background: #1B1E24; color: #d6d9e0; }
html[data-bs-theme="dark"] .modal-content { background: #1B1E24; color: #e6e8ec; }
html[data-bs-theme="dark"] .btn-outline-dark { color: #e6e8ec; border-color: #4a5060; }
html[data-bs-theme="dark"] .btn-outline-dark:hover { background: #262a33; color: #fff; }
html[data-bs-theme="dark"] .table { --bs-table-bg: transparent; --bs-table-color: #d6d9e0; border-color: #2C313B; }
html[data-bs-theme="dark"] .alert-secondary { background: #22262e; border-color: #2C313B; color: #cfd3da; }
html[data-bs-theme="dark"] .review-card { background: #1B1E24; border-color: #2C313B; }
html[data-bs-theme="dark"] .tool-result { background: linear-gradient(135deg, rgba(198,40,40,.18), rgba(198,40,40,.06)); border-color: rgba(239,123,123,.35); }

/* Tema değiştirme butonu */
.theme-toggle .bi { transition: transform .35s ease; }
html[data-bs-theme="dark"] .theme-toggle .bi-moon-stars { display: none; }
html[data-bs-theme="dark"] .theme-toggle .bi-sun { display: inline-block; }
.theme-toggle .bi-sun { display: none; }

/* ---------- AI Asistan widget ---------- */
.ai-fab {
    position: fixed; left: 22px; bottom: 22px; z-index: 1080;
    width: 54px; height: 54px; border-radius: 50%; border: 0;
    background: linear-gradient(135deg, var(--pirus-red), #8e1b1b);
    color: #fff; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(198,40,40,.42); cursor: pointer; transition: transform .2s ease;
}
.ai-fab:hover { transform: scale(1.08); }
.ai-fab .ai-spark { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(198,40,40,.35); animation: aiPulse 2.4s infinite; }
@keyframes aiPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.ai-panel {
    position: fixed; left: 22px; bottom: 88px; z-index: 1085;
    width: min(380px, calc(100vw - 32px)); height: min(520px, calc(100vh - 130px));
    background: var(--bs-body-bg, #fff); border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 18px 48px rgba(15,18,24,.28); border: 1px solid var(--pirus-border, #E5E7EB);
    opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}
.ai-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.ai-head { background: var(--pirus-dark); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.ai-head .bi-fire { color: var(--pirus-red-light); font-size: 1.25rem; }
.ai-head strong { font-size: .95rem; }
.ai-head small { color: rgba(255,255,255,.6); display: block; margin-top: -2px; }
.ai-close { margin-left: auto; background: transparent; border: 0; color: rgba(255,255,255,.75); font-size: 1.15rem; cursor: pointer; }
.ai-close:hover { color: #fff; }
.ai-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--pirus-gray, #F4F5F7); }
html[data-bs-theme="dark"] .ai-body { background: #14161B; }
.ai-msg { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: .875rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.ai-msg.user { align-self: flex-end; background: var(--pirus-red); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.bot { align-self: flex-start; background: var(--bs-body-bg, #fff); border: 1px solid var(--pirus-border, #E5E7EB); border-bottom-left-radius: 4px; }
.ai-msg.bot a { font-weight: 600; }
.ai-msg.typing { color: #9aa1ad; font-style: italic; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.ai-chip { font-size: .74rem; border: 1px solid var(--pirus-border, #E5E7EB); background: var(--bs-body-bg, #fff); color: var(--bs-body-color); border-radius: 20px; padding: 4px 10px; cursor: pointer; }
.ai-chip:hover { border-color: var(--pirus-red); color: var(--pirus-red); }
.ai-foot { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--pirus-border, #E5E7EB); background: var(--bs-body-bg, #fff); }
.ai-foot input { border-radius: 20px; }
.ai-foot button { border-radius: 20px; width: 42px; flex-shrink: 0; }

/* ---------- Araçlar sayfası ---------- */
.tool-card { border: 1px solid var(--pirus-border); border-radius: 14px; background: var(--bs-body-bg, #fff); padding: 24px; height: 100%; }
.tool-card h2 { font-size: 1.15rem; font-weight: 700; }
.tool-result { border: 1px dashed rgba(198,40,40,.4); background: rgba(198,40,40,.05); border-radius: 12px; padding: 16px; margin-top: 16px; }
.tool-result .big { font-size: 1.65rem; font-weight: 800; color: var(--pirus-red); line-height: 1.2; }
.risk-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.risk-pill { border: 1.5px solid var(--pirus-border); border-radius: 10px; background: var(--bs-body-bg, #fff); padding: 8px 14px; cursor: pointer; font-weight: 700; font-size: .9rem; }
.risk-pill small { display: block; font-weight: 500; color: #9aa1ad; font-size: .72rem; }
.risk-pill.active { border-color: var(--pirus-red); color: var(--pirus-red); background: rgba(198,40,40,.06); }
.star-input { display: inline-flex; gap: 2px; border: 0; padding: 0; background: none; }
.star-input button { border: 0; background: none; color: #D1D5DB; font-size: 1.5rem; padding: 0 2px; cursor: pointer; transition: color .15s; }
.star-input button.on { color: #F59E0B; }

/* ---------- Ürün yorumları ---------- */
.review-card { border: 1px solid var(--pirus-border); border-radius: 12px; padding: 16px; background: var(--bs-body-bg, #fff); }
.review-card .who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(198,40,40,.1); color: var(--pirus-red); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.rating-summary { display: flex; align-items: center; gap: 14px; }
.rating-summary .score { font-size: 2.6rem; font-weight: 800; line-height: 1; }

/* =====================================================================
   v1.9.0 — Bölgesel SEO (Hizmet Bölgeleri) kartları
   ===================================================================== */
.region-card { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.region-card:hover {
    border-color: var(--pirus-red) !important;
    box-shadow: 0 8px 20px rgba(198, 40, 40, .12);
    transform: translateY(-2px);
}
.region-content h3 { font-size: 1.08rem; font-weight: 800; color: #26292F; margin: 1.4rem 0 .6rem; }
.region-content ul { padding-left: 1.2rem; }
.region-content li { margin-bottom: .35rem; }
.region-content p { line-height: 1.75; }

/* =====================================================================
   v1.9.6 — Premium giriş / kayıt (auth) tasarımı
   ===================================================================== */
.auth-split {
    display: flex;
    background: #fff;
    border: 1px solid var(--pirus-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(20, 20, 30, .10);
}
.auth-page { padding: 56px 0 72px; }

/* ---------- Marka paneli ---------- */
.auth-brand {
    flex: 0 0 42%;
    max-width: 42%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 42px 34px;
    color: #fff;
    background:
        radial-gradient(900px 560px at -12% 112%, rgba(198, 40, 40, .46), transparent 62%),
        radial-gradient(700px 480px at 112% -12%, rgba(142, 20, 20, .55), transparent 58%),
        linear-gradient(158deg, #2B1315 0%, #1D1013 46%, #14161C 100%);
}
.auth-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 44px 44px;
}
.auth-glow { position: absolute !important; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.auth-glow.g1 { width: 360px; height: 360px; right: -130px; top: -110px; background: rgba(198, 40, 40, .30); }
.auth-glow.g2 { width: 300px; height: 300px; left: -110px; bottom: -120px; background: rgba(229, 57, 53, .22); }
.auth-brand > .auth-brand-top,
.auth-brand > .auth-brand-mid,
.auth-brand > .auth-brand-bot { position: relative; z-index: 1; }
.auth-logo { height: 40px; width: auto; }
.auth-brand-mid { padding: 26px 0; }
.auth-brand-mid h2 { font-size: 1.72rem; font-weight: 800; line-height: 1.28; letter-spacing: -.3px; margin-bottom: 12px; }
.auth-brand-mid h2 em { font-style: normal; color: #EF5350; }
.auth-brand-mid > p { color: #A9AFBB; font-size: .95rem; max-width: 40ch; margin-bottom: 24px; }
.auth-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.auth-feats li { display: flex; gap: 13px; align-items: flex-start; }
.auth-feats .ico {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
    background: rgba(198, 40, 40, .16); border: 1px solid rgba(239, 83, 80, .35);
    display: inline-flex; align-items: center; justify-content: center;
    color: #EF5350; font-size: 1.05rem;
}
.auth-feats strong { display: block; font-size: .94rem; font-weight: 700; color: #F3F4F6; }
.auth-feats small { color: #8F96A3; font-size: .82rem; }
.auth-brand-bot { display: flex; align-items: center; gap: 10px; color: #7C828E; font-size: .8rem; }

/* ---------- Form tarafı ---------- */
.auth-form { flex: 1; min-width: 0; padding: 44px 46px 38px; }
.auth-icon {
    width: 58px; height: 58px; border-radius: 17px;
    background: linear-gradient(135deg, #C62828, #8E1414);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.6rem;
    box-shadow: 0 12px 26px rgba(198, 40, 40, .32);
}
.auth-form h1 { letter-spacing: -.2px; }

.auth-field { position: relative; }
.auth-field .form-control {
    border-color: #E2E4E9; border-radius: 12px; padding: .72rem .95rem;
    height: auto; background: #fff;
}
.auth-field .form-control:focus {
    border-color: #EF9A9A;
    box-shadow: 0 0 0 .22rem rgba(198, 40, 40, .12);
}
.auth-field .form-control.is-invalid { border-color: #dc3545; padding-right: 2.6rem; }
.auth-field .form-control.is-invalid:not(.has-toggle) { padding-right: .95rem; }
.auth-fico {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #8A8F9A; font-size: .95rem; pointer-events: none; z-index: 2;
}
.auth-field .has-ico { padding-left: 42px !important; }
.js-toggle-pass {
    position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
    border: 0; background: transparent; color: #8A8F9A;
    padding: 5px 9px; border-radius: 8px; line-height: 1; z-index: 2;
}
.js-toggle-pass:hover { color: var(--pirus-red); background: rgba(198, 40, 40, .08); }
.js-toggle-pass:focus-visible { outline: 2px solid rgba(198, 40, 40, .35); outline-offset: 1px; }
.auth-field .has-toggle { padding-right: 2.9rem !important; }
.auth-field .invalid-feedback { color: #B3261E; }
.auth-caps {
    display: none; align-items: center; gap: 7px;
    margin-top: 8px; color: #B45309; background: #FFF7E6;
    border: 1px solid #F5DFA6; border-radius: 10px;
    padding: 6px 12px; font-size: .8rem; font-weight: 600;
}
.auth-caps.show { display: flex; }
.auth-form .btn-fire {
    border-radius: 12px; font-weight: 700; letter-spacing: .2px;
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    border: 0; box-shadow: 0 10px 22px rgba(198, 40, 40, .30);
    transition: transform .15s ease, box-shadow .15s ease;
}
.auth-form .btn-fire:hover {
    background: linear-gradient(135deg, #C62828, #A01818);
    transform: translateY(-1px); box-shadow: 0 12px 26px rgba(198, 40, 40, .40);
}
.auth-form .btn-fire:disabled { opacity: .65; transform: none; }
.auth-alt { color: #6B7280; }
.auth-alt a { color: var(--pirus-red); text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .auth-brand { flex: 0 0 40%; max-width: 40%; padding: 38px 34px 28px; }
    .auth-brand-mid h2 { font-size: 1.5rem; }
    .auth-form { padding: 38px 34px 32px; }
}
@media (max-width: 991.98px) {
    .auth-split { flex-direction: column; }
    .auth-brand {
        flex: 0 0 auto; max-width: none;
        padding: 28px 30px 24px; gap: 4px;
    }
    .auth-brand-mid { display: none; }
    .auth-form { padding: 32px 26px 28px; }
}
@media (max-width: 575.98px) {
    .auth-page { padding: 30px 0 46px; }
    .auth-brand { display: none; }
    .auth-split { border-radius: 16px; box-shadow: 0 16px 44px rgba(20, 20, 30, .10); }
    .auth-form { padding: 28px 20px 24px; }
}
