/* ===== 1. Modern ürün kartları ve grid ===== */
/* Grid Kapsayıcı Ayarı */
.modern-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* Kartlar arası boşluk */
    padding: 15px;
    justify-content: flex-start;
}

/* Genel Kart Tasarımı (Görseldeki gibi ince çizgili ve oval) */
.modern-product-card {
    background: #fff;
    border: 1.5px solid #f0f0f0;
    border-radius: 24px; /* Görseldeki geniş yuvarlatılmış köşeler */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.modern-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
	background-color:#f9f9f9;
}

.m-card-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Resim Alanı ve Kalp Butonu */
.m-card-image-wrap {
    position: relative;
    padding: 12px; /* Resmin etrafındaki beyaz boşluk */
}

.m-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.3;
    object-fit: cover;
    border-radius: 18px; /* İç resmin yuvarlaklığı */
}

.m-card-fav-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 36px;
    height: 36px;
    background: #ffffffda;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #888;
    transition: color 0.2s, transform 0.1s;
}
.m-card-fav-btn svg { width: 18px; height: 18px; }
.m-card-fav-btn:hover { color: #e74c3c; transform: scale(1.05); }

/* İçerik Detayları */
.m-card-content {
    padding: 0 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Hızlı Teslimat Rozeti */
.m-card-badge {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}
.m-badge-icon {
    font-size: 11px;
    filter: grayscale(1); /* İkonu görseldeki gibi gri ton yapmak için */
}

/* Ürün Başlığı */
.m-card-title {
    font-family: 'Georgia', serif; /* Görseldeki font tipine yakın bir serif fontu */
    font-size: 15px;
    font-weight: 500;
    color: #111;
    margin: 4px 0 2px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px; /* İki satır taşmasını sabitlemek için */
}

/* Yıldızlar */
.m-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}
.m-stars {
    color: #111; /* Görseldeki gibi siyah/koyu yıldızlar */
    font-size: 14px;
    letter-spacing: -1px;
}
.m-rating-count {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: #777;
}

/* Fiyat Alanı */
.m-card-price-row {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}
.m-old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #999;
}
.m-main-price {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

/* 📱 MOBİL GÖRÜNÜM (Yan Yana 2'li Düzen) */
@media (max-width: 767px) {
    .modern-product-grid {
        gap: 10px;
        padding: 2px;
    }
    .modern-product-card {
        width: calc(50% - 5px); /* Tam ikiye böler */
        border-radius: 16px;
    }
    .m-card-image-wrap { padding: 8px; }
    .m-card-img { border-radius: 12px; }
    .m-card-content { padding: 0 10px 10px 10px; }
    .m-card-title { font-size: 13px; height: 34px; }
    .m-main-price { font-size: 17px; }
    .m-card-fav-btn { top: 14px; right: 14px; width: 30px; height: 30px; }
}

/* 💻 MASAÜSTÜ GÖRÜNÜM (Yan Yana 5'li Düzen) */
@media (min-width: 768px) {
    .modern-product-card {
        width: calc(20% - 13px); /* 5 adet kartı boşlukları düşerek tam sığdırır */
    }
}

.marquee-container {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: kayanyazi 25s linear infinite;
}

.marquee-text span {
    display: inline-block;
    padding-right: 60px; /* Cümleler arasındaki boşluk */
    font-size: 16px;
    font-weight: bold;
    color: #ffffff; /* Pembe zemin üzerinde net görünen beyaz yazı */
}

/* Mouse ile üzerine gelindiğinde yazının durması için */
.marquee-container:hover .marquee-text {
    animation-play-state: paused;
}

/* Kayma animasyonu */
@keyframes kayanyazi {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Işık efektinin taşmaması için ana resim kapsayıcısını hazırlıyoruz */
.m-card-image-wrap {
    position: relative;
    padding: 12px;
    overflow: hidden; /* Işığın kartın dışına taşmasını engeller */
}

/* Eğik Işık Katmanı (İlk başta gizli ve sol tarafta) */
.m-card-image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%; /* Başlangıç noktası (görünmeyen sol alan) */
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg); /* Işığı sağdan sola eğik yapar */
    pointer-events: none; /* Tıklamaları engellememesi için */
}

/* Ürünün üzerine gelindiğinde (Hover) tetiklenecek animasyon */
.modern-product-card:hover .m-card-image-wrap::after {
    animation: isikGecisi 0.8s ease-in-out;
}

/* Işığın soldan sağa hızlıca akma animasyonu */
@keyframes isikGecisi {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/* Mobil cihazlarda padding ayarı değiştiği için taşmayı orada da önlüyoruz */
@media (max-width: 767px) {
    .m-card-image-wrap {
        overflow: hidden;
    }
}

/* ===== 2. Genel sayfa stilleri ===== */
/* ── Wrapper ── */
    .carousel-wrap {
      width: 100%;
      overflow: hidden;
      position: relative;
      user-select: none;
      -webkit-user-select: none;
    }

    /* ── Track (sliding container) ── */
    .track {
      display: flex;
      transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      will-change: transform;
    }
    .track.dragging { transition: none; }

    /* ── Individual slide ── */
    .slide {
      min-width: 100%;
      height: 600px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
    }

    /* Decorative SVG background sits behind everything */
    .slide-bg {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Gradient overlay that makes text readable */
    .overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.08) 55%,
        transparent 100%
      );
    }

    /* Text content */
    .slide-content {
      position: relative;
      z-index: 2;
      padding: 1.5rem 1.75rem;
      width: 100%;
      color: #fff;
    }
    .slide-label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      opacity: 0.75;
      margin-bottom: 5px;
    }
    .slide-title {
      font-size: 22px;
      font-weight: 600;
      line-height: 1.25;
    }
    .slide-sub {
      font-size: 14px;
      margin-top: 5px;
      opacity: 0.7;
    }

    /* ── Prev / Next buttons ── */
    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background: rgba(255, 255, 255, 0.18);
      border: 0.5px solid rgba(255, 255, 255, 0.35);
      border-radius: 50%;
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #fff;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      transition: background 0.2s;
    }
    .nav-btn:hover  { background: rgba(255, 255, 255, 0.3); }
    .nav-btn:active { background: rgba(255, 255, 255, 0.45); }
    .nav-btn.prev   { left: 12px; }
    .nav-btn.next   { right: 12px; }

    /* ── Dot indicators ── */
    .dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      padding: 14px 0 2px;
    }
    .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #c0bdb5;
      border: none;
      cursor: pointer;
      transition: all 0.25s ease;
    }
    .dot.active {
      width: 22px;
      border-radius: 4px;
      background: #2c2c2a;
    }
	
	/* Mobil Cihazlar İçin Ayarlar (Maksimum 767px genişlik) */
@media (max-width: 767px) {
  .slide {
    height: 130px; /* Mobilde yükseklik 300px'e düşer */
  }
}

/* ===== 3. Product-boxx stilleri ===== */
.product-boxx{border:1px solid #ccc;margin-bottom:30px;overflow:hidden;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;position:relative;}
.product-boxx img{width:100%;}
.product-boxx-resim{text-align:center;}
.product-boxx-baslik{text-align:center;padding:5px 10px;}
.product-boxx-baslik p{margin-bottom:0;}
.product-boxx-baslik p a{text-decoration:none;color:#000;}
.product-boxx-fiyat{text-align:center;padding:5px 10px;overflow:hidden;font-size:3.1rem;}
.product-boxx-fiyat span{display:inline-block;}
.product-boxx-fiyat-normal span:first-child{font-size:3.5rem;}
.product-boxx-fiyat-normal span:last-child{font-size:1.7rem;}
@media (max-width:768px){
.product-boxx-fiyat{padding:5px 2px;}
.product-boxx{padding:10px 3px;}
}

.product-boxx:hover{border:1px solid #5a5a5a80;}
.product-boxx-fiyat-normal{color:#5a5a5a;}

/* ===== 4. Ek stiller ===== */
.swiper-container-custom {
        width: 100%;
        padding: 20px 0;
        background-color: #fff;
        overflow: hidden; /* Taşmaları gizler */
        position: relative;
    }

    /* Her bir kategori kutusu */
    .category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        text-decoration: none;
        transition: transform 0.2s ease;
    }

    .category-item:hover {
        transform: translateY(-15px);
    }

    /* Yuvarlak Resim Tasarımı */
    .category-item img {
       
        transition: border-color 0.2s;
    }

    .category-item:hover img {
        border-color: #ff6b81; /* Üzerine gelince pembe çizgi */
    }

    /* Kategori Yazısı */
    .category-label {
        font-size: 13px;
        font-weight: 600;
        color: #333;
    }

/* ===== 5. Vitrindeki Çiçekler başlık ===== */
.vitrin-baslik-alani{text-align:center;padding:45px 15px 35px 15px;background:#fff;}
        .vitrin-baslik-ic{display:flex;align-items:center;justify-content:center;gap:25px;max-width:1200px;margin:0 auto;}
        .vitrin-baslik-ic::before,.vitrin-baslik-ic::after{content:"";flex:1;height:1px;background:#e0e0e0;max-width:340px;}
        .vitrin-baslik-alani h2{font-family:Georgia,'Times New Roman',serif;font-size:3.2rem;letter-spacing:3px;color:#3a3f45;font-weight:600;margin:0;white-space:nowrap;}
        .vitrin-baslik-alani p{font-size:1.5rem;color:#8a8f96;margin:12px 0 0 0;}
        @media(max-width:767px){
            .vitrin-baslik-alani h2{font-size:2.1rem;letter-spacing:2px;white-space:normal;}
            .vitrin-baslik-ic{gap:12px;}
            .vitrin-baslik-alani p{font-size:1.3rem;}
        }
