/* --- 1. MODERN FONT VE GENEL TEMİZLİK --- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');
body, table, td, tr, p, a, span, div, h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif !important; -webkit-font-smoothing: antialiased; }
body, p, a, span, div { font-weight: 600 !important; }
#ecem-cookie-mini, .cookie-notification, .sp-notification, .havale-fiyati { display: none !important; }

/* --- 2. AKILLI WHATSAPP VE YUKARI ÇIK --- */
#PM_main #PM_ust a#toTop { all: unset !important; background-color: #c92e27 !important; width: 50px !important; height: 50px !important; position: fixed !important; bottom: 30px !important; right: 25px !important; border-radius: 50% !important; z-index: 2147483647 !important; cursor: pointer !important; display: none; align-items: center !important; justify-content: center !important; box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important; }
#ecem-up-text { color: #ffffff !important; font-size: 28px !important; font-weight: bold !important; display: block !important; }
#ecem-whatsapp-float { position: fixed !important; bottom: 30px !important; left: 25px !important; width: 60px !important; height: 60px !important; background-color: #25d366 !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 9999998 !important; box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important; }
#ecem-whatsapp-float svg { width: 35px !important; height: 35px !important; fill: #fff !important; }

/* --- 3. ÜRÜN RESİMLERİ ZOOM --- */
.urun_resmi img, .urun img { transition: transform 0.4s ease !important; }
.urun:hover img { transform: scale(1.07) !important; }

/* --- 4. ORTAK BLOG KARTI STİLİ (ÇERÇEVE & HİZALAMA) --- */
.blog-item {
    border: 2px solid #c92e27 !important; /* Ecem Kırmızı Çerçeve */
    border-radius: 15px !important;
    background: #ffffff !important;
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease-in-out !important;
    overflow: hidden !important;
}

/* SEVDİĞİN HOVER (Zıplama) EFEKTİ */
.blog-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 35px rgba(201, 46, 39, 0.2) !important;
}

/* İçerik Alanlarını Esnetme (Butonu dibe itmek için) */
.blog-item .card-body, .blog-item .blog-body {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 10px 0 0 0 !important;
}

.blog-description, .card-tex {
    flex-grow: 1 !important;
    font-size: 12.5px !important;
    margin-bottom: 15px !important;
}

.blog-title, .card-title {
    font-size: 15px !important;
    min-height: 45px !important;
    margin-bottom: 10px !important;
}

/* DEVAMINI OKU BUTONU (Milimetrik Hizalama) */
.blog-btn {
    margin-top: auto !important; /* Her zaman en dibe mıknatıslanır */
    background-color: #c92e27 !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 2px solid #c92e27 !important;
    width: fit-content !important;
}

/* --- 5. ANA SAYFA SLİDER ÖZEL HİZALAMA (Garantili Yöntem) --- */
#blog-modul .owl-stage {
    display: flex !important;
    align-items: stretch !important; /* Tüm kartları en uzuna göre eşitler */
}
#blog-modul .owl-item {
    display: flex !important;
    height: auto !important;
}
#blog-modul .owl-item > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* --- 6. BLOG LİSTE SAYFASI ÖZEL (4'LÜ) --- */
#PM_Blog .blog-item { width: calc(25% - 20px) !important; margin: 10px !important; }
#PM_Blog .blog-wrapper { display: flex !important; flex-wrap: wrap !important; align-items: stretch !important; }

/* --- 7. SAĞ YAN MENÜ (SIDEBAR) --- */
.diger_blog .baslik { font-size: 15px !important; background: #c92e27 !important; color: #fff !important; padding: 12px !important; border-radius: 10px 10px 0 0 !important; margin: 0 !important; }
.diger_blog .icerik.panel { border: 1px solid #f0f0f0 !important; border-top: none !important; border-radius: 0 0 10px 10px !important; background: #fff !important; padding: 0 !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important; overflow: hidden; }
.diger_blog ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.diger_blog ul li { border-bottom: 1px solid #f5f5f5 !important; }
.diger_blog ul li a { display: block !important; padding: 12px 15px !important; color: #444 !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important; border-left: 0px solid #c92e27 !important; transition: 0.3s !important; }
.diger_blog ul li a:hover { background-color: #fff8f7 !important; color: #c92e27 !important; padding-left: 20px !important; border-left: 5px solid #c92e27 !important; }

/* --- 8. MOBİL VE TABLET --- */
@media (max-width: 1200px) { #PM_Blog .blog-item { width: calc(33.33% - 20px) !important; } }
@media (max-width: 992px) { 
    #PM_Blog .blog-item { width: calc(50% - 20px) !important; }
    #PM_Blog { flex-direction: column !important; }
    .diger_blog { width: 100% !important; padding: 0 !important; margin-top: 30px !important; }
}
@media (max-width: 768px) { #PM_Blog .blog-item { width: 100% !important; margin: 10px 0 !important; } }