/* customCSS */
/* ==========================================================================

FontAwesome Kaynak Tanımı (404 Hatasını Önleme)
========================================================================== */
@font-face {
font-family: 'FontAwesome';
src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

/* ==========================================================================
2. YouTube Shorts ve Dikey Video Kapsayıcısı
========================================================================== */
.short-video-container {
position: relative;
width: 100%;
max-width: 350px;
aspect-ratio: 9 / 16;
margin: 0 auto;
border-radius: 12px;
overflow: hidden;
}

.short-video-container iframe {
width: 100%;
height: 100%;
border: 0;
}

/* ==========================================================================
3. Blog Tarih Rozetlerini Gizleme
========================================================================== */
.journal-blog-posts .post-date,
.blog-posts .post-date,
.p-date,
.p-date-image {
display: none !important;
}

/* ==========================================================================
4. Slider ve Banner Alanları (CLS Koruması)
========================================================================== */
.journal-slider,
.module-banners,
.banners-grid {
width: 100%;
min-height: 480px;
overflow: hidden;
}

@media (max-width: 768px) {
.journal-slider,
.module-banners,
.banners-grid {
min-height: auto;
aspect-ratio: 900 / 700;
}
}

/* ==========================================================================
5. Ürün Kartları ve Görsel Alanları
========================================================================== */
.product-thumb .image a,
.product-layout .image a {
display: block;
width: 100%;
aspect-ratio: 1 / 1.25;
background-color: #f8f8f8;
overflow: hidden;
}

.product-thumb .image img,
.product-layout .image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

/* ==========================================================================
6. Header ve Mobil Tavan Boşluğu Düzenlemeleri
========================================================================== */
.header-compact,
.journal-header {
min-height: 120px;
}

@media (max-width: 768px) {
.header-compact,
.journal-header,
.mobile-header {
min-height: auto !important;
height: auto !important;
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}

.journal-slider,
.journal-slider .slider-wrapper,
.journal-row:first-of-type,
#content > .journal-slider:first-child {
margin-top: 0 !important;
padding-top: 0 !important;
}
}

/* ==========================================================================
7. Mobil Dokunma Alanları (Touch Target - 48px Kuralı)
========================================================================== */
.swiper-button-prev,
.swiper-button-next,
.scroll-top,
.mobile-trigger,
.block-expand,
.admin-edit {
min-width: 48px !important;
min-height: 48px !important;
}

.scroll-top,
.mobile-trigger,
.block-expand,
.admin-edit {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
}

/* ==========================================================================
8. Google Translate Kaynaklı Boşluk ve CLS Kaymalarını Önleme
========================================================================== */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.goog-te-banner-frame,
iframe.skiptranslate,
#goog-gt-tt {
display: none !important;
width: 0 !important;
height: 0 !important;
overflow: hidden !important;
}

body {
top: 0px !important;
}

h2.title.module-title,
div.title.module-title {
font-size: 16px;
font-weight: 600;
text-transform: uppercase;
}

/* ==========================================================================
9. Erişilebilirlik (A11y) Kontrast Düzeltmeleri
========================================================================== */
.product-thumb .caption .name a,
.product-layout .caption .name a,
.product-details .product-title {
color: #1a1a1a !important;
}

.product-thumb .price,
.product-layout .price,
.product-thumb .price-new,
.product-layout .price-new,
.product-thumb .price-normal,
.product-layout .price-normal {
color: #111111 !important;
font-weight: 700;
}

.product-thumb .price-old,
.product-layout .price-old {
color: #595959 !important;
}

.journal-badge,
.product-thumb .badge,
.product-layout .badge,
.badge-new {
background-color: #0d0d0d !important;
color: #ffffff !important;
}

.module-title,
.journal-title,
.title.module-title {
color: #1a1a1a !important;
}

.product-thumb .caption .description,
.product-layout .caption .description {
color: #4a4a4a !important;
}

.footer-payment-icons svg,
.module-icons svg {
shape-rendering: geometricPrecision;
}

/* ==========================================================================
10. Forced Reflow / Layout Thrashing Önleme İzolasyonları (Menu-Safe)
========================================================================== */
.journal-slider,
.module-blocks {
contain: layout style;
}

.swiper-container,
.swiper-wrapper {
transform: translateZ(0);
-webkit-transform: translateZ(0);
}

.goog-te-banner-frame,
#goog-gt-tt {
contain: strict !important;
}

/* ==========================================================================
11. Blog Yazısı Kapak Görseli Sinematik Banner Ayarı
   ========================================================================== */
.route-journal3-blog-post .post-image,
.route-journal3-blog-post .post-image a,
.route-journal3-blog-post .post-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: 400px !important; /* Yüksekliği buradan artırıp azaltabilirsiniz */
  object-fit: cover !important;
  object-position: center 20% !important; /* Modelin yüzünü/başını kesmemek için odağı yukarı alır */
}

@media (max-width: 768px) {
  .route-journal3-blog-post .post-image,
  .route-journal3-blog-post .post-image a,
  .route-journal3-blog-post .post-image img {
    max-height: 240px !important;
  }
}