/* ── MOBILE ── */
@media(max-width:768px){
  /* Mevcut diğer kodların... */

  .hero-left {
    align-items: center !important; /* Tüm içeriği yatayda ortalar */
    text-align: center !important;
  }

  .hero-left .btn-buy {
    align-self: center !important; /* Butonu merkeze çeker */
    margin: 0 auto 24px !important; /* Üst/Alt boşluk ve yatay orta */
  }

  .hero-left .countdown-wrap {
    justify-content: center !important; /* Sayacı merkeze hizalar */
    width: 100% !important;
    margin-top: 10px !important;
  }

  .price-row {
    justify-content: center !important; /* Fiyatı da ortalamak istersen */
  }

  .format-row {
    justify-content: center !important; /* Seçim butonlarını ortalar */
  }
  @media(max-width:768px){
  /* Mevcut kodlarını koru, sadece buy-grid ve buy-book-side kısımlarını güncelle */

  .buy-grid {
    grid-template-columns: 1fr; /* Alt alta dizilmelerini sağlar */
    text-align: center;
    gap: 30px;
  }

  .buy-book-side {
    display: flex !important; /* Gizlemeyi kaldırır */
    justify-content: center;
    order: 2; /* Metinden sonra gelmesini sağlar */
  }

  .buy-book-side img {
    width: 180px; /* Mobilde çok büyük durmaması için boyutu ayarladık */
    margin: 0 auto;
  }
}
@media(max-width:768px){
  /* ... diğer mobil kodların ... */

  .buy-grid {
    display: flex !important;
    flex-direction: column !important; /* Elemanları dikey dizer */
    text-align: center;
    gap: 20px;
  }

  .buy-book-side {
    display: flex !important; /* Görünür yapar */
    justify-content: center;
    order: -1 !important; /* KRİTİK: Görseli en üste taşır */
    margin-bottom: 20px;
  }

  .buy-text {
    order: 1 !important; /* Metni görselin altına atar */
  }

  .buy-book-side img {
    width: 160px; /* Mobilde daha zarif durması için ideal boyut */
    margin: 0 auto;
  }
}
@media(max-width:768px) {
  /* ... diğer mobil kodların ... */

  .reviews-grid {
    display: flex !important; /* Grid yapısını esnek yan yana yapıya çevirir */
    overflow-x: auto !important; /* Sağa sola kaydırmayı açar */
    scroll-snap-type: x mandatory; /* Kartların kayarken tık diye oturmasını sağlar */
    gap: 20px !important;
    padding: 20px 5% !important; /* Kenarlardan taşma payı */
    scrollbar-width: none; /* Firefox için kaydırma çubuğunu gizler */
  }

  .reviews-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari için kaydırma çubuğunu gizler */
  }

  .rcard {
    min-width: 280px !important; /* Kartların mobilde çok daralmasını engeller */
    scroll-snap-align: center; /* Kaydırınca kartın ortalanmasını sağlar */
    flex-shrink: 0;
  }
}
@media(max-width:768px) {
  /* ... diğer mobil kodların ... */

  .reviews-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 15px !important;
    /* Kartların kenarlardan tam sıfırlanmaması için iç boşluk */
    padding: 20px 10% !important; 
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; /* iOS için akıcı kaydırma */
  }

  .reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .rcard {
    /* Kartın genişliğini ekranın %80'ine sabitler, böylece her zaman sığar */
    min-width: 80vw !important; 
    max-width: 80vw !important;
    scroll-snap-align: center;
    flex-shrink: 0;
    /* Kart içindeki yazıların taşmaması için */
    word-wrap: break-word; 
  }

  .rcard-text {
    font-size: 13px !important; /* Mobilde yazı boyutunu biraz küçülterek sığdırıyoruz */
  }
}

@media (max-width: 768px) {
  .scroll-hint-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Margin-top değerini 30'dan 10'a düşürdük, böylece yukarı çıktı */
    margin: 10px auto 0; 
    width: 100%;
    opacity: 0.7;
    /* Alttaki bölüme çok yapışmaması için küçük bir alt boşluk ekledik */
    padding-bottom: 10px; 
  }

  .scroll-hint-text {
    font-family: 'Playfair Display', serif;
    font-size: 13px; /* Daha kompakt bir görünüm için hafif küçülttük */
    font-style: italic;
    color: #d8cccc;
  }

  .scroll-hint-arrow {
    color: #c0172a;
    width: 16px;
    height: 16px;
    animation: moveArrow 1.5s infinite;
  }
}

/* ── MOBİL ÖZEL ARKA PLAN ANİMASYONU ── */

/* Masaüstünde Tamamen Gizle */
.glow-container {
    display: none;
}

/* Sadece Mobilde (768px ve altı) Görünür Yap */
@media (max-width: 768px) {
    .glow-container {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none; /* Tıklamaları engeller, sitenin kullanımına engel olmaz */
        z-index: -1; /* Arka planın arkasına yerleştirir */
        overflow: hidden;
    }

    /* Işık Parçacıklarının Ortak Stili */
    .glow-particle {
        position: absolute;
        border-radius: 50%;
        filter: blur(8px); /* Hafif ve puslu bir parlama efekti verir */
        opacity: 0;
        animation: glowFloat linear infinite;
    }

    /* Bireysel Parçacık Ayarları (Boyut, Renk, Konum, Süre) */
    .p1 {
        width: 20px; height: 20px;
        background: #c0172a; /* Marka kırmızın */
        left: 15%; top: 20%;
        animation-duration: 10s;
        animation-delay: 2s;
    }

    .p2 {
        width: 15px; height: 15px;
        background: #f5f5f5; /* Kırık beyaz */
        left: 70%; top: 50%;
        animation-duration: 8s;
        animation-delay: 0s;
    }

    .p3 {
        width: 25px; height: 25px;
        background: #c0172a;
        left: 30%; top: 80%;
        animation-duration: 12s;
        animation-delay: 5s;
    }

    .p4 {
        width: 12px; height: 12px;
        background: #f5f5f5;
        left: 85%; top: 15%;
        animation-duration: 9s;
        animation-delay: 3s;
    }

    .p5 {
        width: 18px; height: 18px;
        background: #c0172a;
        left: 50%; top: 65%;
        animation-duration: 11s;
        animation-delay: 1s;
    }

    /* Parlama ve Süzülme Animasyonu */
    @keyframes glowFloat {
        0%, 100% {
            transform: translateY(0) scale(1);
            opacity: 0;
        }
        25% {
            opacity: 0.15; /* Hafif bir parlama */
            transform: translateY(-5px) scale(1.1);
        }
        50% {
            opacity: 0.05;
            transform: translateY(-10px) scale(1);
        }
        75% {
            opacity: 0.1;
            transform: translateY(-5px) scale(0.9);
        }
    }
}

/* ── MASAÜSTÜ (PC): YAZIYI TAMAMEN GİZLE ── */
.scroll-hint-wrapper {
    display: none !important;
}

/* ── MOBİL (768px ve Altı): YAZIYI GÖRÜNÜR YAP ── */
@media (max-width: 768px) {
    .scroll-hint-wrapper {
        display: flex !important; /* Mobilde tekrar görünür hale gelir */
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 15px auto 0;
        opacity: 0.8;
    }

    .scroll-hint-text {
        font-family: 'Playfair Display', serif;
        font-size: 13px;
        font-style: italic;
        color: #d8cccc;
    }

    .scroll-hint-arrow {
        color: #c0172a;
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {

  .preview-grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .preview-text-side {
    margin-bottom: 0;
  }

  .preview-figure-side {
    display: flex;
    flex-direction: column;
    align-items: center; /* merkez referans */
  }

  /* 🔥 Asıl kritik nokta */
  .preview-figure-side img {
    transform: translateX(-35px); /* sadece figür sola kayar */
  }

  .btn-preview-mobile {
    display: inline-block;
    margin-top: 20px;
  }

  .preview-browser-note {
    text-align: center;
  }
}

.preview-text-side {
  margin-bottom: 10px;
}

@media (max-width: 768px) {

  .preview-text-side {
    position: relative;
    top: 60px; /* yazıyı aşağı indir */
  }

}

@media (max-width: 768px) {

  .preview-text-side,
  .preview-figure-side {
    text-align: center;
  }

  .preview-figure-side {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn-preview-mobile {
    display: block;
    margin: 15px auto 0 auto;
  }

}

@media (max-width: 768px) {

  .preview-grid {
    margin-top: -40px; /* 🔥 tüm içeriği yukarı alır */
  }

}

@media (max-width: 768px) {

  .about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-book-wrap {
    display: block;
    margin-top: 20px;
  }

  .about-book-wrap img {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

}

@media (max-width: 768px) {

  .about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-book-wrap {
    order: -1; /* 🔥 resmi yukarı alır */
    margin-bottom: 20px;
  }

  .about-book-wrap img {
    width: 100px; /* küçült */
    height: auto;
  }

}

@media (max-width: 768px) {

  .about-book-wrap img {
    width: 100px;
    height: auto;
  }

}

.nl-message {
  opacity: 0;
  margin-top: 10px;
  color: #ff3b3b;
  font-size: 14px;
  transition: 0.3s;
}

.nl-message.show {
  opacity: 1;
}

.nl-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nl-message {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.nl-message.show {
  opacity: 1;
  visibility: visible;
}

.nl-message {
  opacity: 0;
  visibility: hidden;
}

.nl-message.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {

  .about-book-wrap img {
    width: 240px !important;
  }

}

/* SADECE MOBİL CİHAZLAR İÇİN GEÇERLİ KODLAR */
@media screen and (max-width: 768px) {
    
    /* 1. Kapsayıcı (format-row) */
    .format-row {
        display: flex;
        flex-direction: row; 
        background-color: #422121; 
        border-radius: 14px; /* GÖRSELDEKİ YUMUŞAK KAVİS */
        padding: 4px; 
        width: 100%;
        border: 1px solid #421d1d; 
        box-sizing: border-box;
    }

    /* 2. Butonların genel ayarları */
    .format-row .fmt-btn {
        flex: 1; 
        background-color: transparent; 
        color: #ffffff; 
        border: none;
        border-radius: 10px; /* İç butonun dış çerçeveye estetik oturması için kavis */
        padding: 8px 4px; /* İnceliği ve görseldeki dengeyi sağlamak için ideali */
        margin: 0;
        font-size: 13px; 
        font-weight: bold;
        transition: background-color 0.3s ease; 
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.2;
        cursor: pointer;
    }

    /* 3. Aktif olan (seçili) buton - Kırmızı Renk (Korundu) */
    .format-row .fmt-btn.active {
        background-color: #ce222f; 
    }

    /* 4. Üstü çizili fiyatlar için ayar */
    .format-row .fmt-btn span {
        margin-left: 4px;
        display: inline-block;
        font-size: 11px !important; 
    }
}

.shopier-guvence {
    text-align: center;
    display: block;
    margin-top: -10px;            /* Butona tam yapışması için aradaki boşluğu eksi değerle geri çektik */
    margin-bottom: 20px;          /* Altındaki geri sayım (countdown) ile arasına nefes payı bıraktık */
    font-size: 10px;              /* Yazıyı iyice küçülttük ve kibarlaştırdık */
    color: rgba(255, 255, 255, 0.35); /* Soluk beyaz/gri görünüm (referansındaki gibi) */
    letter-spacing: 1.5px;        /* Punto küçüldüğü için harf aralığını daha estetik hale getirdik */
    font-weight: 400;
    font-family: inherit;
    line-height: 1;               
}

/* TÜM CİHAZLAR İÇİN ORTAK YAZI TİPİ */
.shopier-alt-yazi {
    display: block !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    letter-spacing: 1.5px !important;
    font-weight: 400 !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

/* BİLGİSAYAR (PC) İÇİN HİZALAMA */
@media screen and (min-width: 769px) {
    .shopier-alt-yazi {
        /* PC'de butonun tahmini genişliği kadar bir alan belirliyoruz */
        width: 220px !important; 
        text-align: center !important;
        
        /* Butona tam yapışması için mesafeyi iyice azalttık */
        margin-top: 4px !important; 
        margin-bottom: 20px !important;
    }
}

/* MOBİL İÇİN HİZALAMA */
@media screen and (max-width: 768px) {
    .shopier-alt-yazi {
        width: 100% !important;
        text-align: center !important;
        
        /* Mobilde de butona iyice yaklaştırdık */
        margin-top: 4px !important; 
        margin-bottom: 20px !important;
    }
}

/* TÜM CİHAZLAR İÇİN ORTAK YAPI */
.shopier-alt-yazi {
    display: block !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.4) !important; /* O zarif soluk görünüm */
    letter-spacing: 1.5px !important;
    font-weight: 400 !important;
    font-family: inherit !important;
    line-height: 1 !important;
    text-align: center !important;
    margin-top: 6px !important; /* Butona tam ideal uzaklık */
    margin-bottom: 20px !important; /* Alt kısımla mesafe */
}

/* 1. Dış Kapsayıcı */
.format-row {
    /* ...diğer kodların duruyor... */
    padding: 6px !important; /* Dış çerçevenin et payını biraz artırdık (eskiden muhtemelen 3px veya 4px idi) */
}

/* 2. İç Butonlar (Asıl kalınlığı veren kısım) */
.format-row .fmt-btn {
    /* ...diğer kodların duruyor... */
    padding: 16px 5px !important; /* DİKKAT: İlk değer olan 16px üst ve alt boşluğu artırarak barı kalınlaştırır */
}

}
