:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --primary-soft: #eff6ff;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --primary-rgb: 37, 99, 235;
    --dark-rgb: 15, 23, 42;
    --text: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #fff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
}

* { box-sizing: border-box; margin: 0; }
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { transition: color .2s, background .2s, transform .2s, box-shadow .2s; }
img { max-width: 100%; }

/* ========== HEADER ========== */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1050; transition: transform .3s ease; }
.site-header.header-hidden .header-nav { display: none; }
.header-main { border-bottom: 1px solid var(--border); }
.header-inner {
    display: flex; align-items: center; gap: 1.5rem;
    padding: .75rem 0;
}
.header-logo img { height: 52px; width: auto; display: block; }
.offcanvas-logo { height: 44px; width: auto; display: block; }
.header-search {
    flex: 1; max-width: 520px;
    display: flex; position: relative;
}
.header-search input {
    width: 100%; border: 2px solid var(--border); border-radius: 12px;
    padding: .6rem 3rem .6rem 1rem;
    font-size: .88rem; background: var(--bg); outline: none;
    transition: border .2s, box-shadow .2s;
}
.header-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
    background: var(--white);
}
.header-search button {
    position: absolute; right: 4px; top: 4px; bottom: 4px;
    border: none; background: var(--primary); color: #fff;
    border-radius: 9px; width: 38px; cursor: pointer;
    transition: background .2s;
}
.header-search button:hover { background: var(--primary-hover); }

.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.header-action {
    display: flex; align-items: center; gap: .5rem;
    padding: .5rem .75rem; border-radius: var(--radius);
    text-decoration: none; color: var(--text);
    transition: background .15s;
}
.header-action:hover { background: var(--bg); color: var(--text); }
.header-action i { font-size: 1.15rem; color: var(--text-light); }
.action-text { line-height: 1.2; }
.action-text small { font-size: .65rem; color: var(--text-muted); display: block; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.action-text span { font-size: .82rem; font-weight: 600; color: var(--dark); }

.cart-action { position: relative; }
.cart-count {
    position: absolute; top: 2px; right: 2px;
    background: var(--danger); color: #fff;
    font-size: .6rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--white);
}

.mobile-menu-btn {
    display: flex; flex-direction: column; gap: 5px;
    padding: .6rem; background: none; border: none; cursor: pointer;
}
.mobile-menu-btn span {
    display: block; width: 22px; height: 2px; background: var(--dark);
    border-radius: 2px; transition: transform .2s;
}

/* Nav Bar */
.header-nav { background: var(--white); border-bottom: 1px solid var(--border); }
.nav-list {
    display: flex; align-items: stretch; gap: 0; list-style: none;
    padding: 0; margin: 0;
    /* Dar ekranda kategoriler sigmazsa sayfa degil, serit kaysin */
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list > li > a {
    display: flex; align-items: center; gap: .4rem;
    padding: .65rem .85rem; font-size: .84rem; font-weight: 600;
    white-space: nowrap;
    color: var(--text); text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.nav-list > li > a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.nav-list > li:first-child > a {
    background: var(--primary); color: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: .65rem 1.25rem; border-bottom: none;
    gap: .5rem;
}
.nav-list > li:first-child > a:hover { background: var(--primary-hover); }
.info-item.is-highlight { color: var(--success); }
.info-item.is-highlight i { color: var(--success); }

/* Havale/EFT hesap listesi */
.bank-account-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.bank-account-list li {
    display: flex; align-items: center; gap: .6rem;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: .6rem .8rem;
    font-size: .82rem; font-weight: 600; color: var(--text);
    letter-spacing: .01em;
}
.bank-account-list li + li { margin-top: .4rem; }
.bank-account-list li i { color: var(--primary); flex-shrink: 0; }

/* Mega Menu */
.nav-has-mega { position: relative; }
.mega-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
    min-width: 800px; padding: 1.75rem;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s ease;
    z-index: 100;
}
.nav-has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem 1.5rem; align-items: start;
}
.mega-title {
    font-weight: 700; font-size: .86rem; color: var(--dark);
    text-decoration: none; display: block;
    padding-bottom: .5rem; margin-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}
.mega-title:hover { color: var(--primary); }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col ul li a {
    font-size: .81rem; color: var(--text); text-decoration: none;
    display: block; padding: .28rem 0 .28rem .6rem;
    border-left: 2px solid transparent;
    transition: color .15s, border-color .15s, padding-left .15s;
}
.mega-col ul li a:hover {
    color: var(--primary); border-left-color: var(--primary); padding-left: .8rem;
}
.mega-footer {
    grid-column: 1 / -1; margin-top: .25rem; padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.mega-footer a {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .82rem; font-weight: 700; color: var(--primary); text-decoration: none;
}
.mega-footer a:hover { gap: .6rem; }

/* Mobile Search */
.header-search-mobile { padding: .5rem 0; background: var(--white); border-bottom: 1px solid var(--border); }
.header-search-mobile form { position: relative; }
.header-search-mobile input {
    width: 100%; border: 2px solid var(--border); border-radius: 10px;
    padding: .55rem 2.75rem .55rem 1rem; font-size: .85rem; background: var(--bg);
    outline: none;
}
.header-search-mobile input:focus { border-color: var(--primary); background: var(--white); }
.header-search-mobile button {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    border: none; background: none; color: var(--primary); font-size: 1rem; cursor: pointer;
}

/* Mobile Nav */
.mobile-nav { list-style: none; padding: 0; margin: 0; }
.mobile-nav li a {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem 1.25rem; color: var(--text); text-decoration: none;
    font-size: .9rem; font-weight: 500;
    border-bottom: 1px solid var(--border);
}
.mobile-nav li a:hover { background: var(--primary-soft); color: var(--primary); }
.mobile-nav li a i { width: 20px; text-align: center; color: var(--text-muted); }
.mobile-nav .divider { border-bottom: 6px solid var(--bg); }

/* ========== HERO / SLIDER ========== */

.hero {
    position: relative; color: #fff; overflow: hidden;
    background: linear-gradient(135deg, #0d1f3d 0%, var(--primary) 100%);
    min-height: 480px; display: flex; align-items: center;
    padding: 3.25rem 0;
}
/* Tam alani kaplayan urun gorseli */
.hero-media { position: absolute; inset: 0; z-index: 0; }
/* picture varsayilan olarak inline; blok ve konumlanmis olmazsa img yuksekligi cozulmuyor */
.hero-media picture, .hero-media .carousel, .hero-media .carousel-inner,
.hero-media .carousel-item { display: block; position: absolute; inset: 0; }
.hero-media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
    display: block;
}
/* Metnin okunurlugu icin soldan koyu perde - gorsel hangi orana kirpilirsa kirpilsin calisir */
.hero-scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8,22,44,.92) 0%, rgba(8,22,44,.80) 26%, rgba(8,22,44,.42) 52%, rgba(8,22,44,.06) 78%, transparent 100%),
        linear-gradient(180deg, rgba(8,22,44,.30) 0%, transparent 30%, transparent 74%, rgba(7,20,40,.34) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-text { max-width: 620px; }
.hero-badge {
    display: inline-block; background: rgba(255,255,255,.14);
    padding: .3rem .9rem; border-radius: 99px;
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
}
.hero h1 {
    font-size: 2.35rem; font-weight: 800; line-height: 1.16;
    margin-bottom: .85rem; letter-spacing: -.02em;
    text-shadow: 0 2px 18px rgba(4,12,26,.45);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
    font-size: 1rem; color: rgba(255,255,255,.86); margin-bottom: 1.6rem;
    max-width: 480px; line-height: 1.6; text-shadow: 0 1px 12px rgba(4,12,26,.45);
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-hero-wp {
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
    color: #fff; backdrop-filter: blur(6px);
}
.btn-hero-wp:hover { background: #25D366; border-color: #25D366; color: #fff; }

/* ========== CATEGORIES STRIP ========== */
.categories-strip {
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: .75rem 0;
}
.categories-scroll {
    display: flex; gap: .5rem; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    padding: .25rem 0;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .9rem; background: var(--bg);
    border: 1px solid var(--border); border-radius: 99px;
    font-size: .8rem; font-weight: 600; color: var(--text);
    text-decoration: none; white-space: nowrap;
    transition: all .2s;
}
.cat-chip i { font-size: .75rem; color: var(--primary); }
.cat-chip:hover {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.cat-chip:hover i { color: #fff; }

/* Alt kategori karti (kategori sayfasi) */
.category-card {
    display: block; height: 100%;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1rem 1.1rem;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.category-card:hover {
    transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: transparent;
}
.category-card h5 {
    font-size: .92rem; font-weight: 700; color: var(--dark);
    margin: 0 0 .15rem; letter-spacing: -.01em;
}
.category-card:hover h5 { color: var(--primary); }
.category-card p { font-size: .76rem; color: var(--text-muted); margin: 0; }

/* ========== SECTIONS ========== */
.section { padding: 2.5rem 0; }
.section-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 1.25rem; gap: 1rem;
}
.section-head h2 {
    font-size: 1.2rem; font-weight: 800; color: var(--dark);
    letter-spacing: -.01em; margin: 0; line-height: 1;
}
.section-head p { font-size: .8rem; color: var(--text-muted); margin: .35rem 0 0; display: none; }
.see-all {
    font-size: .8rem; font-weight: 600; color: var(--primary);
    text-decoration: none; white-space: nowrap;
    display: flex; align-items: center; gap: .3rem;
    padding: .4rem .85rem; border: 1px solid var(--primary-light);
    border-radius: 99px; background: var(--primary-soft);
}
.see-all:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.see-all i { font-size: .6rem; }

/* Product Grid (desktop: grid, mobile: scroll) */
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem;
}

/* Product Horizontal Scroll (for alternative usage) */
.product-scroll {
    display: flex; gap: .85rem; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: .5rem;
}
.product-scroll::-webkit-scrollbar { display: none; }
.product-scroll .product-card {
    min-width: 200px; max-width: 200px;
    scroll-snap-align: start; flex-shrink: 0;
}

/* ========== PRODUCT CARD ========== */
.product-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    height: 100%; transition: transform .25s, box-shadow .25s;
    border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: transparent; }
.product-card .product-img {
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
    padding: 1rem; background: var(--white); overflow: hidden;
    position: relative; border-bottom: 1px solid var(--border);
}
.product-card .product-img img {
    max-height: 100%; max-width: 100%; object-fit: contain;
    transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body {
    padding: .7rem .85rem .85rem; flex: 1;
    display: flex; flex-direction: column;
}
.product-category {
    font-size: .66rem; color: var(--text-muted); text-transform: uppercase;
    font-weight: 600; letter-spacing: .05em; margin-bottom: .2rem;
}
.product-title {
    font-weight: 700; font-size: .92rem; color: var(--dark);
    line-height: 1.35; margin: 0; letter-spacing: -.01em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-title a { color: inherit; text-decoration: none; }
.product-title a:hover { color: var(--primary); }
.product-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: .6rem;
}
.product-price { font-weight: 800; color: var(--primary); font-size: .95rem; line-height: 1.2; }
.product-price .old-price {
    text-decoration: line-through; color: var(--text-muted);
    font-size: .72rem; font-weight: 400; display: block; line-height: 1;
}
.badge-discount {
    position: absolute; top: 8px; left: 8px;
    background: var(--danger); color: #fff;
    padding: 2px 7px; border-radius: 6px;
    font-size: .68rem; font-weight: 700;
}
.badge-soldout {
    position: absolute; top: 8px; right: 8px;
    background: var(--dark); color: #fff;
    padding: 2px 8px; border-radius: 6px;
    font-size: .68rem; font-weight: 700;
}
.btn-cart {
    width: 32px; height: 32px; border-radius: 8px;
    border: none; background: var(--primary);
    color: #fff; display: flex; align-items: center;
    justify-content: center; cursor: pointer; font-size: .75rem;
    transition: all .15s; flex-shrink: 0;
}
.btn-cart:hover { background: var(--primary-hover); transform: scale(1.05); }
.btn-cart:disabled {
    background: var(--border); color: var(--text-muted);
    cursor: not-allowed; transform: none;
}
.btn-cart.added, .btn-add-cart.added {
    background: var(--success) !important; border-color: var(--success) !important; color: #fff !important;
}

/* Kart: kisa aciklama + stok gostergesi */
.product-desc {
    font-size: .76rem; color: var(--text-light); line-height: 1.4;
    margin: .25rem 0 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-stock {
    font-size: .72rem; font-weight: 600; color: var(--success);
    display: flex; align-items: center; gap: .3rem; margin-top: .4rem;
}
.product-stock.is-low { color: var(--warning); }
.product-card.is-sold-out .product-img img { opacity: .5; filter: grayscale(.6); }

/* ========== INFO BAND ========== */
.info-band { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: .85rem 0; }
.info-band-inner {
    display: flex; justify-content: space-between; flex-wrap: wrap;
    gap: .75rem;
}
.info-item {
    display: flex; align-items: center; gap: .45rem;
    color: var(--text-light); font-size: .78rem; font-weight: 600;
}
.info-item i { color: var(--primary); font-size: .85rem; }

/* ========== CTA ========== */
.cta-section { padding: 2rem 0 2.5rem; }
.cta-card {
    background: linear-gradient(135deg, #1e3a5f 0%, var(--primary) 100%);
    border-radius: var(--radius-xl); padding: 2.25rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap; color: #fff; position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; right: -40px; top: -40px;
    width: 200px; height: 200px; background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.cta-icon { font-size: 2rem; opacity: .5; margin-right: .5rem; }
.cta-content h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: .25rem; }
.cta-content p { color: rgba(255,255,255,.7); margin: 0; font-size: .85rem; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-card .btn-outline-dark { border-color: rgba(255,255,255,.3); color: #fff; }
.cta-card .btn-outline-dark:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }

/* ========== PAGE HEADER ========== */
/* Footer oncesi "Blog Yazilarimiz" bolumu — her sayfanin altinda */
.footer-blog { background: var(--bg); border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-blog-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.footer-blog-head h2 {
    font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em;
    color: var(--dark); margin: 0;
}
.footer-blog-all {
    font-size: .82rem; font-weight: 600; color: var(--primary);
    text-decoration: none; white-space: nowrap;
}
.footer-blog-all:hover { color: var(--primary-hover); }
.footer-blog-all i { font-size: .7rem; margin-left: .2rem; }

.footer-blog-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.footer-blog-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.1rem;
    transition: border-color .2s, box-shadow .2s;
}
.footer-blog-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.footer-blog-cat {
    display: inline-block; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--primary); background: var(--primary-soft);
    padding: .15rem .5rem; border-radius: 99px; margin-bottom: .5rem;
}
.footer-blog-card h3 { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: 0 0 .4rem; }
.footer-blog-card h3 a { color: var(--dark); text-decoration: none; }
.footer-blog-card h3 a:hover { color: var(--primary); }
.footer-blog-card p { font-size: .84rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 .6rem; }
.footer-blog-meta { font-size: .74rem; color: var(--text-light); }
.footer-blog-meta i { margin-right: .25rem; }

@media (max-width: 768px) {
    .footer-blog { padding: 2rem 0; }
    .footer-blog-grid { grid-template-columns: 1fr; }
}

/* Magazamiz sayfasi: fotograf galerisi ve gomulu harita */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.gallery-item { margin: 0; }
.gallery-item a {
    display: block; overflow: hidden;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--white);
}
.gallery-item img {
    display: block; width: 100%; aspect-ratio: 4 / 3;
    object-fit: cover; transition: transform .4s ease;
}
.gallery-item a:hover img { transform: scale(1.04); }
.gallery-item figcaption {
    margin-top: .5rem; font-size: .82rem; color: var(--text-muted);
}

/* Gomulu harita: sabit oran, kaydirma sirasinda sayfa zıplamaz */
.map-embed {
    position: relative; aspect-ratio: 16 / 7;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; background: var(--bg);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 768px) {
    .map-embed { aspect-ratio: 4 / 3; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
}

/* Sepet bildirimi (stok uyarilari, hata mesajlari) */
.cart-toast {
    position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px);
    z-index: 1080; max-width: min(90vw, 420px);
    padding: .75rem 1.1rem; border-radius: 12px;
    background: var(--dark); color: #fff;
    font-size: .9rem; font-weight: 600; line-height: 1.4;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .28);
    opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.cart-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cart-toast.is-error { background: #b91c1c; }

/* Mobilde katlanabilir kategori filtresi (urunler sayfasi) */
.sidebar-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; background: none; border: 0; padding: 0;
    font-weight: 700; font-size: 1rem; color: var(--dark);
}
.sidebar-toggle i { transition: transform .2s ease; font-size: .8rem; color: var(--text-muted); }
.sidebar-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.sidebar-toggle + h5 + .collapse.show,
.sidebar-toggle + h5 + .collapsing { margin-top: .85rem; }

.page-header {
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}
.page-header h1,
.page-header .page-header-title { font-weight: 800; font-size: 1.25rem; margin: 0; color: var(--dark); letter-spacing: -.01em; }
.page-header .breadcrumb { background: none; margin: .2rem 0 0; padding: 0; font-size: .78rem; }
.page-header .breadcrumb-item a { color: var(--text-muted); text-decoration: none; }
.page-header .breadcrumb-item a:hover { color: var(--primary); }
.page-header .breadcrumb-item.active { color: var(--text-light); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: var(--border); }

/* ========== SIDEBAR ========== */
.sidebar-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1.25rem; margin-bottom: 1rem;
}
.sidebar-card h5 {
    font-weight: 700; font-size: .9rem; margin-bottom: .75rem;
    color: var(--dark); padding-bottom: .6rem; border-bottom: 2px solid var(--bg);
}
.sidebar-card .category-list { list-style: none; padding: 0; margin: 0; }
.sidebar-card .category-list a {
    display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
    padding: .4rem .6rem; color: var(--text);
    text-decoration: none; border-radius: 6px; font-size: .82rem;
    transition: background .15s, color .15s;
}
.sidebar-card .category-list a:hover,
.sidebar-card .category-list a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.sidebar-card .category-list a small { flex-shrink: 0; font-size: .72rem; opacity: .75; }
.sidebar-card .category-list a.active small { color: var(--primary) !important; }
.sidebar-card .category-list .sub-list {
    list-style: none; padding-left: .6rem; margin: .1rem 0 .3rem;
    border-left: 1px solid var(--border);
}
.sidebar-card .category-list .sub-list a { font-size: .78rem; color: var(--text-light); }

/* ========== AUTH / ACCOUNT ========== */
.auth-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
/* Giris: form + avantaj paneli */
.auth-split {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem; align-items: start; max-width: 960px; margin: 0 auto;
}
.auth-aside { padding: .5rem .5rem .5rem 1rem; }
.auth-aside h4 {
    font-size: 1.05rem; font-weight: 700; color: var(--dark);
    margin-bottom: 1.25rem; letter-spacing: -.01em;
}
.auth-benefits { list-style: none; padding: 0; margin: 0; }
.auth-benefits li { display: flex; gap: .9rem; margin-bottom: 1.15rem; }
.auth-benefits li i {
    width: 36px; height: 36px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-soft); color: var(--primary);
    border-radius: var(--radius); font-size: .85rem;
}
.auth-benefits strong { display: block; font-size: .88rem; color: var(--dark); font-weight: 700; }
.auth-benefits span { display: block; font-size: .8rem; color: var(--text-light); line-height: 1.45; }

/* Sifre sifirlama / tek kolon auth sayfalari */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-wrap .auth-card { text-align: center; }
.auth-wrap h2 { font-size: 1.35rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; letter-spacing: -.02em; }
.auth-lead { font-size: .88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.5rem; }
.auth-icon {
    width: 56px; height: 56px; margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-soft); color: var(--primary);
    border-radius: 50%; font-size: 1.35rem;
}
.auth-icon.is-success { background: #d1fae5; color: var(--success); }
.auth-icon.is-danger { background: #fee2e2; color: var(--danger); }
.auth-alt { margin: 1.5rem 0 0; text-align: center; font-size: .85rem; color: var(--text-light); }
.auth-alt a { font-weight: 700; }

/* KVKK / onay kutusu */
.consent-box {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: .85rem 1rem; margin: 1.25rem 0 0;
}
.consent-box .form-check-label {
    font-size: .8rem; color: var(--text-light); line-height: 1.5;
}
.consent-box a { font-weight: 600; }
.consent-box .req { color: var(--danger); font-weight: 700; }
.form-label .req { color: var(--danger); font-weight: 700; }

/* ========== ILETISIM ========== */
.contact-grid {
    display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 1.5rem; align-items: start;
}
.contact-form-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.contact-form-title {
    font-size: 1.25rem; font-weight: 700; color: var(--dark);
    margin-bottom: .35rem; letter-spacing: -.02em;
}
.contact-success { text-align: center; padding: 1.5rem 0; }
.contact-success h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.contact-success p { font-size: .88rem; color: var(--text-light); line-height: 1.6; margin: 0; }

.contact-side { display: flex; flex-direction: column; gap: 1rem; }
.contact-side-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.25rem;
}
.contact-side-card h5 {
    display: flex; align-items: center; gap: .5rem;
    font-size: .92rem; font-weight: 700; color: var(--dark); margin-bottom: .75rem;
}
.contact-side-card h5 i { color: var(--primary); font-size: .85rem; }
.contact-side-card p { font-size: .84rem; color: var(--text-light); line-height: 1.6; margin-bottom: .85rem; }
.contact-side-card.is-accent { background: var(--primary-soft); border-color: transparent; }
.contact-side-card.is-accent p { margin-bottom: 0; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: .84rem; padding: .45rem 0;
}
.hours-list li + li { border-top: 1px solid var(--border); }
.hours-list span { color: var(--text-light); }
.hours-list strong { color: var(--dark); font-weight: 700; }
.account-nav { list-style: none; padding: 0; margin: 0; }
.account-nav a {
    display: block; padding: .55rem .75rem; color: var(--text);
    text-decoration: none; border-radius: 8px; font-size: .875rem;
}
.account-nav a:hover, .account-nav a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

/* ========== PRODUCT DETAIL ========== */
/* Sabit oran: yuklenen gorselin en-boy orani ne olursa olsun kutu ayni yer kaplar,
   dikey/yatay gorsel arasinda gecerken sayfa asagi yukari kaymaz. */
.product-detail-img {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 2rem; position: relative;
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
}
.product-detail-img img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
}
.detail-discount-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--danger); color: #fff;
    padding: .3rem .7rem; border-radius: 99px;
    font-size: .74rem; font-weight: 700; letter-spacing: .01em;
}
.product-detail-info { padding-left: 1.5rem; }
.product-detail-info h1 { font-weight: 800; font-size: 1.5rem; color: var(--dark); margin-bottom: .3rem; letter-spacing: -.02em; }
.product-detail-info .sku { color: var(--text-muted); font-size: .8rem; }
.product-detail-info .detail-price { margin: .75rem 0; }
.product-detail-info .detail-price .old-price {
    display: block; font-size: .95rem; text-decoration: line-through;
    color: var(--text-muted); font-weight: 400; line-height: 1;
}
.detail-price-row { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin-top: .2rem; }
.detail-price-current { font-size: 1.75rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.detail-savings {
    background: #ecfdf5; color: #059669;
    font-size: .78rem; font-weight: 700;
    padding: .25rem .6rem; border-radius: 99px;
}

/* Adet secici + satin alma satiri */
.buy-row { display: flex; gap: .75rem; align-items: stretch; margin-bottom: 1.25rem; max-width: 420px; }
.qty-stepper {
    display: flex; align-items: stretch; flex-shrink: 0;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    background: var(--white);
}
.qty-stepper .qty-btn {
    width: 42px; border: none; background: var(--bg); color: var(--text);
    font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s;
}
.qty-stepper .qty-btn:hover { background: var(--primary); color: #fff; }
.qty-stepper .qty-input {
    width: 54px; border: none; text-align: center;
    font-size: .95rem; font-weight: 700; color: var(--dark); background: var(--white);
    -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-stepper .qty-input:focus { outline: none; }

/* Ikincil eylem: WhatsApp ile sor */
.btn-ask-wp {
    display: inline-flex; align-items: center;
    background: var(--white); color: #128c7e;
    border: 1px solid #cfe9e3; font-weight: 600; font-size: .85rem;
    padding: .5rem 1rem; border-radius: var(--radius);
    text-decoration: none; transition: all .15s;
}
.btn-ask-wp:hover { background: #f0fbf8; border-color: #25D366; color: #0f7a6c; }

/* Teknik ozellik tablosu */
.spec-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--border); }
.spec-table th {
    text-align: left; font-weight: 600; color: var(--text-light);
    padding: .6rem 1rem .6rem 0; width: 40%;
}
.spec-table td { padding: .6rem 0; color: var(--dark); font-weight: 600; }

.stock-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .78rem; padding: 4px 10px; border-radius: 99px; font-weight: 600;
}
.stock-badge.in-stock { background: #ecfdf5; color: #059669; }
.stock-badge.low-stock { background: #fffbeb; color: #d97706; }
.stock-badge.out-of-stock { background: #fef2f2; color: #dc2626; }

/* ========== CART ========== */
.cart-table th {
    background: var(--bg); font-weight: 700; border: none;
    font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-light);
}
.cart-item-img {
    width: 76px; height: 76px; object-fit: contain;
    border-radius: var(--radius); background: var(--white);
    border: 1px solid var(--border); padding: 4px; flex-shrink: 0;
}
.qty-input { width: 64px; text-align: center; }
/* Sepetten kaldir: sakin dursun, uzerine gelince uyarsin */
.btn-remove-item {
    width: 34px; height: 34px; display: inline-flex;
    align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); color: var(--text-muted);
    font-size: .8rem; transition: all .15s; text-decoration: none;
}
.btn-remove-item:hover { background: #fef2f2; border-color: #fecaca; color: var(--danger); }
/* Kupon alani: deger buyuk harf olsun ama placeholder bagirmasin */
input[name="coupon_code"] { text-transform: uppercase; }
input[name="coupon_code"]::placeholder { text-transform: none; }
.payment-option { cursor: pointer; }
.payment-option:has(.form-check-input:checked) { border-color: var(--primary) !important; background: var(--primary-soft); }

/* ========== FAQ ========== */
.faq-accordion .accordion-item { border: none; background: var(--white); border-radius: var(--radius-lg) !important; margin-bottom: .5rem; }
.faq-accordion .accordion-button { font-weight: 600; color: var(--dark); border-radius: var(--radius-lg) !important; font-size: .9rem; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--primary-soft); color: var(--primary); box-shadow: none; }

/* ========== CONTACT ========== */
.contact-info-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 2rem; text-align: center; height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.contact-info-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.contact-info-card .icon {
    width: 48px; height: 48px; background: var(--primary-soft);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto .75rem; color: var(--primary); font-size: 1.1rem;
}

/* ========== FOOTER ========== */
.site-footer { margin-top: 0; }
.footer-main { background: var(--dark); color: #fff; padding: 3rem 0 2rem; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr .9fr 1fr 1.1fr 1.2fr;
    gap: 2rem;
}
.footer-logo { height: 48px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; display: block; }
.footer-about p { color: rgba(255,255,255,.5); font-size: .84rem; line-height: 1.7; }
.footer-social { display: flex; gap: .4rem; margin-top: 1rem; }
.footer-social a {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); border-radius: 8px;
    color: rgba(255,255,255,.5); text-decoration: none; font-size: .8rem;
    transition: all .2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.footer-main h6 {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 1rem;
}
.footer-main ul { list-style: none; padding: 0; margin: 0; }
.footer-main ul li { margin-bottom: .3rem; }
.footer-main ul a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .84rem; }
.footer-main ul a:hover { color: #fff; }
.footer-contact-list li {
    display: flex; align-items: flex-start; gap: .5rem;
    color: rgba(255,255,255,.55); font-size: .84rem; margin-bottom: .6rem;
}
.footer-contact-list i { color: var(--primary); width: 14px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-contact-list a:hover { color: #fff; }
.footer-bottom {
    /* Kendi koyu zemini olmali: yalnizca rgba(0,0,0,.25) verilince katman
       sayfa arka planinin (beyaz) uzerine biniyor ve serit acik gri cikiyordu;
       uzerindeki beyaz yazi okunmuyordu. */
    background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)), var(--dark);
    border-top: 1px solid rgba(255,255,255,.07);
    padding: .75rem 0;
}
.footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: .75rem 1.5rem;
}
.footer-bottom span { color: rgba(255,255,255,.68); font-size: .78rem; }
.footer-payments { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-payments-label { color: rgba(255,255,255,.58); font-size: .72rem; }
.pay-chip {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px; padding: .25rem .6rem;
    font-size: .72rem !important; color: rgba(255,255,255,.82) !important;
}
.pay-chip i { font-size: .7rem; opacity: .8; }

/* ========== WHATSAPP ========== */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px;
    width: 52px; height: 52px; background: #25D366;
    color: #fff; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; z-index: 9999; text-decoration: none;
    box-shadow: 0 4px 14px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37,211,102,.5); color: #fff;
}

/* ========== BUTTONS ========== */
.btn { font-weight: 600; font-size: .875rem; border-radius: var(--radius); }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: .7rem 1.75rem; font-size: .92rem; border-radius: 12px; }

/* ========== MISC ========== */
.pagination .page-link { color: var(--text); border-radius: 8px; margin: 0 2px; border: 1px solid var(--border); font-weight: 500; font-size: .85rem; }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }
.alert { border-radius: var(--radius-lg); border: none; }
.card { border: none; border-radius: var(--radius-lg); }
.card-header { background: var(--white); border-bottom: 1px solid var(--border); font-weight: 700; font-size: .88rem; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-light); }
.empty-state i { font-size: 2.5rem; margin-bottom: 1rem; color: var(--border); display: block; }
.dropdown-menu { border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(0,0,0,.1); border-radius: var(--radius-lg); padding: .4rem; }
.dropdown-item { border-radius: 8px; padding: .45rem .75rem; font-size: .85rem; }
.dropdown-item:hover { background: var(--primary-soft); color: var(--primary); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .hero-text { max-width: 540px; }
    .hero h1 { font-size: 2.05rem; }
}
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mega-menu { display: none !important; }
    .hero { min-height: 430px; }
    .hero-text { max-width: 470px; }
    .hero h1 { font-size: 1.85rem; }
    .hero-media img { object-position: 72% bottom; }
    /* metin ve butonlarin arkasi daha genis alanda koyu kalsin */
    .hero-scrim {
        background:
            linear-gradient(90deg, rgba(8,22,44,.95) 0%, rgba(8,22,44,.90) 38%, rgba(8,22,44,.62) 62%, rgba(8,22,44,.14) 86%, transparent 100%),
            linear-gradient(180deg, rgba(8,22,44,.26) 0%, transparent 32%, transparent 72%, rgba(7,20,40,.34) 100%);
    }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hero { padding: 2.25rem 0 10rem; min-height: 470px; align-items: flex-start; }
    .hero-text { max-width: none; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { max-width: none; font-size: .92rem; margin-bottom: 1.25rem; }
    /* Mobilde gorsel altta kalir, perde dikey doner - metin ustte okunur */
    .hero-media img { object-position: center bottom; }
    /* Metin ust yariya, urunler alt yariya: gecis keskin degil ama net */
    .hero-scrim {
        background:
            linear-gradient(180deg, rgba(8,22,44,.96) 0%, rgba(8,22,44,.94) 42%, rgba(8,22,44,.66) 60%, rgba(8,22,44,.20) 80%, rgba(7,20,40,.34) 100%);
    }
    .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
    .section { padding: 2rem 0; }
    .section-head h2 { font-size: 1.15rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
    .product-scroll .product-card { min-width: 170px; max-width: 170px; }
    .info-band-inner { justify-content: center; gap: .5rem 1.5rem; }
    .info-item { font-size: .72rem; }
    .cta-card { padding: 1.5rem; text-align: center; justify-content: center; }
    .cta-actions { justify-content: center; }
    .product-detail-info { padding-left: 0; margin-top: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .auth-card { padding: 1.5rem; }
    .auth-split { grid-template-columns: 1fr; gap: 1.5rem; }
    .auth-aside { padding: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-card { padding: 1.5rem; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .buy-row { max-width: none; }
    .product-detail-img { padding: 1.25rem; }
    .page-header { padding: 1.25rem 0; }
    .page-header h1,
    .page-header .page-header-title { font-size: 1.15rem; }
    .header-logo img { height: 42px; }
}
@media (max-width: 576px) {
    .hero h1 { font-size: 1.35rem; }
    .hero { min-height: 440px; padding-bottom: 9rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
    .product-scroll .product-card { min-width: 155px; max-width: 155px; }
    .product-body { padding: .6rem .75rem .75rem; }
    .product-title { font-size: .84rem; }
    .product-price { font-size: .85rem; }
    .product-desc { font-size: .72rem; -webkit-line-clamp: 1; }
    .product-stock { font-size: .68rem; }
    .product-card .product-img { padding: .6rem; }
    .btn-cart { width: 30px; height: 30px; }
    .cat-chip { padding: .35rem .7rem; font-size: .72rem; }
    .header-inner { gap: .75rem; }
}

html { scroll-behavior: smooth; }
::selection { background: var(--primary-light); color: var(--primary-hover); }

/* ========== ERISILEBILIRLIK ========== */
/* Klavyeyle gezinenler icin gorunur odak halkasi (fare tiklamasinda cikmaz) */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}
.header-search input:focus-visible,
.header-search-mobile input:focus-visible,
.qty-stepper .qty-input:focus-visible {
    outline: 3px solid var(--primary); outline-offset: 1px;
}
/* Koyu zeminlerde odak halkasi beyaz olsun */
.site-footer :focus-visible,
.hero :focus-visible,
.cta-card :focus-visible { outline-color: #fff; }

/* Icerige atla baglantisi: yalnizca klavye ile odaklaninca gorunur */
.skip-link {
    position: absolute; left: 50%; transform: translateX(-50%) translateY(-150%);
    top: 0; z-index: 2000;
    background: var(--primary); color: #fff;
    padding: .7rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius);
    font-size: .85rem; font-weight: 700; text-decoration: none;
    transition: transform .18s ease;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); color: #fff; }

/* Hareket azaltma tercihine saygi */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .product-card:hover { transform: none; }
}

/* WhatsApp siparis onay karti */
.wa-order-card { border: 1px solid #cfe9e3; }
.btn-wa-order {
    background: #25D366; color: #fff; font-weight: 700;
    padding: .7rem 1.25rem; border-radius: var(--radius);
    border: none; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s, transform .15s;
}
.btn-wa-order:hover { background: #1da851; color: #fff; transform: translateY(-1px); }

/* ========== BLOG ========== */
.nav-blog-item .nav-link-plain {
    display: inline-flex; align-items: center; padding: .55rem .7rem;
    font-size: .82rem; font-weight: 600; color: var(--text);
    text-decoration: none; white-space: nowrap; border-radius: var(--radius);
}
.nav-blog-item .nav-link-plain:hover { color: var(--primary); background: var(--primary-soft); }

.blog-intro {
    max-width: 720px; color: var(--text-light);
    font-size: .95rem; line-height: 1.75; margin-bottom: 1.5rem;
}

/* Kategori çipleri */
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.blog-cat-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .9rem; border-radius: 99px;
    background: var(--white); border: 1px solid var(--border);
    font-size: .82rem; font-weight: 600; color: var(--text);
    text-decoration: none; transition: all .2s;
}
.blog-cat-chip span {
    font-size: .7rem; font-weight: 700; color: var(--text-muted);
    background: var(--bg); padding: .1rem .4rem; border-radius: 99px;
}
.blog-cat-chip:hover { border-color: var(--primary); color: var(--primary); }
.blog-cat-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.blog-cat-chip.active span { background: rgba(255,255,255,.22); color: #fff; }

/* Rozet */
.blog-badge {
    display: inline-block; padding: .22rem .6rem; margin-bottom: .6rem;
    background: var(--primary-light); color: var(--primary-hover);
    border-radius: 99px; font-size: .68rem; font-weight: 700;
    letter-spacing: .02em; text-decoration: none; text-transform: uppercase;
}
a.blog-badge:hover { background: var(--primary); color: #fff; }

/* Öne çıkan yazı */
.blog-featured {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 2.5rem;
}
.blog-featured-img { display: block; position: relative; min-height: 280px; background: var(--bg); }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-featured-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .75rem; line-height: 1.3; }
.blog-featured-body h2 a { color: var(--dark); text-decoration: none; }
.blog-featured-body h2 a:hover { color: var(--primary); }
.blog-featured-body p { color: var(--text-light); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.blog-featured-body .btn { align-self: flex-start; }

/* Kart gridi */
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.blog-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: transparent; }
.blog-card-img {
    display: block; aspect-ratio: 16/9; background: var(--bg);
    border-bottom: 1px solid var(--border); overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-img-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-light) 100%);
    color: var(--primary); font-size: 2rem;
}
.blog-card-body { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: .5rem; letter-spacing: -.01em; }
.blog-card-body h3 a { color: var(--dark); text-decoration: none; }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p {
    color: var(--text-light); font-size: .84rem; line-height: 1.65; margin-bottom: .85rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Meta satırı */
.blog-meta {
    display: flex; flex-wrap: wrap; gap: .9rem; margin-top: auto;
    font-size: .74rem; color: var(--text-muted);
}
.blog-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.blog-meta i { font-size: .72rem; }

/* Yazı sayfası */
.blog-post { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; }
.blog-post-head { border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; margin-bottom: 1.5rem; }
.blog-post-head h1 { font-size: 1.85rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.25; margin-bottom: .75rem; color: var(--dark); }
.blog-post-lead { font-size: 1rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; }
.blog-post-img { margin: 0 0 1.5rem; }
.blog-post-img img { width: 100%; border-radius: var(--radius-lg); display: block; }

.blog-post-content { font-size: .95rem; line-height: 1.85; color: var(--text); }
.blog-post-content h2 {
    font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--dark);
    margin: 2rem 0 .85rem; padding-bottom: .45rem; border-bottom: 2px solid var(--primary-light);
}
.blog-post-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 .6rem; }
.blog-post-content p { margin-bottom: 1rem; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 1.15rem 1.15rem; padding: 0; }
.blog-post-content li { margin-bottom: .45rem; }
.blog-post-content strong { color: var(--dark); font-weight: 700; }
.blog-post-content a { color: var(--primary); font-weight: 600; }
.blog-post-content table {
    width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; font-size: .86rem;
}
.blog-post-content thead th {
    background: var(--bg); text-align: left; font-weight: 700; color: var(--dark);
    padding: .6rem .7rem; border-bottom: 2px solid var(--border);
}
.blog-post-content td { padding: .55rem .7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.blog-post-content blockquote {
    margin: 1.25rem 0; padding: .9rem 1.1rem;
    background: var(--primary-soft); border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text); font-size: .9rem;
}
.blog-post-content blockquote p:last-child { margin-bottom: 0; }
/* Geniş tablolar taşmasın */
.blog-post-content { overflow-x: auto; }

.blog-share {
    display: flex; align-items: center; gap: .5rem;
    margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
    font-size: .82rem; color: var(--text-muted);
}
.blog-share a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--bg); color: var(--text-light); text-decoration: none;
    transition: background .2s, color .2s;
}
.blog-share a:hover { background: var(--primary); color: #fff; }

/* Yazı altı teklif kutusu */
.blog-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    margin-top: 1.5rem; padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, var(--dark-soft) 0%, var(--dark) 100%);
    border-radius: var(--radius-xl); color: #fff;
}
.blog-cta h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .35rem; letter-spacing: -.015em; }
.blog-cta p { font-size: .86rem; color: rgba(255,255,255,.65); margin: 0; line-height: 1.6; }
.blog-cta-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.blog-cta-actions .btn-outline-primary { color: #fff; border-color: rgba(255,255,255,.35); }
.blog-cta-actions .btn-outline-primary:hover { background: #fff; color: var(--dark); border-color: #fff; }

@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-img { min-height: 220px; aspect-ratio: 16/9; }
    .blog-featured-body { padding: 1.5rem; }
}
@media (max-width: 768px) {
    .blog-post { padding: 1.25rem; }
    .blog-post-head h1 { font-size: 1.4rem; }
    .blog-post-content h2 { font-size: 1.1rem; }
    .blog-cta { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
    .blog-cta-actions { width: 100%; }
    .blog-cta-actions .btn { flex: 1; }
}
@media (max-width: 576px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured-body h2 { font-size: 1.2rem; }
}
