/* CSS Dosyası (örneğin public/reset.css ya da style.css) */

/* Lexend fontunu global olarak tanımlayalım */
@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/lexend/v17/wlpwgwvFAVdoq2_v-6QU.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/lexend/v17/wlpwgwvFAVdoq2_v-6QU.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/lexend/v17/wlpwgwvFAVdoq2_v-6QU.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/lexend/v17/wlpwgwvFAVdoq2_v-6QU.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tüm sitede Lexend fontunu kullan */
body {
    font-family: 'Lexend', sans-serif;
}


.text-xs {
    font-size: 12px;
    line-height: 1rem;
}

/* CaddeYıldız'ın genel renk tonlarını yakalamak için eklenen özel stiller */
.custom-gray {
    color: #4a4f59;
    /* Metin rengi için */
}

.text-turkuaz {
    color: #00bcd4;
    /* Caddeyildiz turkuaz tonu - PlatinPuan için */
}

.custom-border {
    /* Ürün başlığı altındaki ayırıcı çizginin rengi ve kalınlığı */
    border-color: #f0f0f0;

}

/* Miktar kutusu için birebir tasarım ayarları */
#urun_miktar_secenekleri {
    /* Tailwind'in varsayılan border-x'i yerine sadece kendimizinkini tanımlıyoruz */
    border-left: 1px solid #d1d5db;
    /* gray-300 */
    border-right: 1px solid #d1d5db;
    /* gray-300 */
    padding-top: 0;
    padding-bottom: 0;
    height: 40px;
    /* Butonlarla uyumlu olması için */
    line-height: 40px;
    /* Metni dikey ortalamak için */
}

/* Sepete Ekle Butonu Font Ayarı */
#sepete_ekle_buton,
.fiyatlar button {
    /* Bu tür butonlarda genellikle metin büyüklüğü ve kalınlığı biraz daha fazla olabilir */
    font-size: 1rem;
    /* Örnek değer */
    font-weight: 600;
    /* Semi-bold */
}

/* Ürün parça seçimi kısmındaki miktar kutularını sabitleme */
.lg\:w-2\/3 .flex input[type="text"] {
    width: 25px;
    /* Daha dar bir input alanı */
    padding: 0;
    border-left: 1px solid #d1d5db !important;
    border-right: 1px solid #d1d5db !important;
}

/* Yapışkan (sticky) fiyat/özet kutusu */
.lg\:w-1\/3.sticky {
    top: 30px;
    /* Üst navigasyon çubuğu (header) varsa onu hesaba katarak biraz aşağıdan başlama */
}

/* Görseldeki 4'lü fiyat kutusu düzenlemesi için ek stiller */
.fiyat-kutu {
    /* Metin üstte, fiyat altta ve ortalanmış */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Başlıklar sola hizalı */
    padding: 0.5rem 0.25rem;
    /* Yanlara boşluk az */
    flex-grow: 1;
    min-width: 0;
    /* Flex içinde taşmayı önlemek için */
}

.fiyat-kutu:last-child {
    /* Son kutu (Taksit Açıklaması) için özel hizalama */
    justify-content: flex-end;
    /* İçeriği alta hizalar */
    padding-top: 1.5rem;
    /* Üstteki başlık alanını boş bırakmak için */
}

.fiyat-kutu span:first-child {
    /* Başlık metni */
    font-size: 12px;
    color: #4b5563;
    /* gray-600 */
}

.fiyat-kutu .indirimli-fiyat {
    /* İndirimli Fiyat Stili (78.192 TL) */
    font-size: 16px;
    font-weight: 700;
    /* font-bold */
    color: #ff7e1fe3;
    /* red-600 benzeri bir renk */
    margin-top: 0.25rem;
}

.fiyat-kutu .urun-fiyati {
    /* Ürün Fiyatı Stili (91.990 TL) */
    font-size: 1.125rem;
    /* text-xl */
    font-weight: 500;
    /* font-medium */
    color: #6b7280;
    /* gray-500 */
    text-decoration: line-through;
    /* Üstü çizili */
    margin-top: 0.25rem;
}

.fiyat-kutu .taksitli-fiyat {
    /* Taksitli Fiyat Stili (85.229 TL) */
    font-size: 1.125rem;
    /* text-xl */
    font-weight: 500;
    /* font-medium */
    color: #1f2937;
    /* gray-800 */
    margin-top: 0.25rem;
}

.taksit-link {
    font-size: 0.75rem;
    /* text-xs */
    color: #4b5563;
    /* gray-600 */
    text-align: left;
    line-height: 1.25;
    display: block;
}

.taksit-link a {
    color: #000000;
    /* Link metnini siyah yap */
    text-decoration: underline;
}

/* Takım İçeriğini Kişiselleştirin Bölümü İçin Dikdörtgen Çerçeve */
/* Mevcut rounded-lg sınıflarını ve border-radius tanımlarını kaldırıyoruz */
.kisilendirme-icerik .border,
.rounded-lg,
.kisilendirme-icerik .rounded-lg,
.kisilendirme-icerik .bg-white,
.kisilendirme-icerik .p-3,
.kisilendirme-icerik .hover\:border-gray-400,
.kisilendirme-icerik .hover\:border-red-500 {
    border-radius: 0 !important;
    /* Düz kenarlar için */
}

/* Yeni Eklenen Bölümler İçin Stiller */

/* Tüm bölümler arasında yatay çizgi */
.container .section-divider {
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

/* Yorumlar Bölümü */
.urun_yorumlar {
    padding: 2rem 0;
}

.urun_yorumlar .baslik {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: block;
}

.urun_yorumlar .yorumlar_bilgi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 0;
}

.urun_yorumlar .yorum_yok h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}

.urun_yorumlar .yorum_yok span {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.urun_yorumlar .yorum_a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #1f2937;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0;
    transition: background-color 0.2s;
}

.urun_yorumlar .yorum_a:hover {
    background-color: #374151;
}

/* Teslimat Bilgileri Bölümü */
.teslimat-bilgileri {
    padding: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.teslimat-bilgileri .teslimat {
    flex: 1 1 300px;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.teslimat-bilgileri .teslimat img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.teslimat-bilgileri .teslimat h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}

.teslimat-bilgileri .teslimat div {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.5rem 0;
}

.teslimat-bilgileri .teslimat a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.2s;
}

.teslimat-bilgileri .teslimat a:hover {
    color: #374151;
}

.teslimat-bilgileri .teslimat a::after {
    content: "→";
    font-size: 0.75rem;
}

/* Tablar için stil */
.urun_detay_tablar {
    padding: 2rem 0;
}

.urun_detay_tablar_ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 1rem;
}

.urun_detay_tablar_ul li {
    margin: 0;
}

.urun_detay_tablar_ul li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    border-radius: 0;
}

.urun_detay_tablar_ul li a:hover,
.urun_detay_tablar_ul li.active a {
    color: #1f2937;
    border-bottom-color: #1f2937;
}

.tab_container {
    padding: 1rem 0;
}

.tab_content {
    display: none;
}

.tab_content.active {
    display: block;
}

/* Kumaş Kartelası için stil */
.urun_yardim {
    padding: 2rem 0;
}

.urun_yardim .aciklama {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.urun_yardim .aciklama .kumas-aciklama {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.urun_yardim .aciklama .kumas-cesitleri {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.urun_yardim .aciklama .kumas {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    cursor: pointer;
}

.urun_yardim .aciklama .kumas img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.urun_yardim .aciklama .kumas .alt-bilgi {
    padding: 0.5rem;
    background-color: #ffffff;
    text-align: center;
    font-size: 0.75rem;
    color: #1f2937;
}

.urun_yardim .aciklama .kumas .alt-bilgi .kod {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

/* Genel Font Güncellemesi */
body {
    font-family: 'Lexend', sans-serif;
    /* Yukarıda tanımlanan fontu kullanıyoruz */
}

.overlay {
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}

.menu-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.menu-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    border-top: 1px solid #f3f4f6;
    cursor: pointer;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
}

.submenu.open {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.arrow-icon {
    transition: transform 0.3s;
}

.arrow-icon.rotated {
    transform: rotate(90deg);
}

/* MEGA MENÜ STİLLERİ */
.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mega-menu-column h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    /* Gray-800 */
}

.mega-menu-column a {
    color: #4b5563;
    /* Gray-600 */
    transition: color 0.2s;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

.mega-menu-column a:hover {
    color: #000000;
    /* Primary color (Black) */
    text-decoration: underline;
}

/* Mobil Arama Çubuğunu Sabitleme */
/* Masaüstünde gizli kalması için lg:hidden sınıfını zaten kullanıyoruz */
.mobile-search-bar {
    transition: transform 0.3s ease-in-out;
    border-bottom: 1px solid #e5e7eb;
    /* border-gray-200 */
}

/* Gizleme sınıfı, JS ile eklenecek */
.mobile-search-bar.hidden-on-scroll {
    transform: translateY(-100%);
}


/* ----------------------------------- */
/* YENİ RENK KUTUCUKLARI İÇİN GEREKLİ CSS STİLLERİ */
/* ----------------------------------- */
/* Renk Kutucukları Alanı */
.color-swatches {
    display: flex;
    gap: 15px;
    /* Kutucuklar arası boşluk */
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Tekil Renk Kutucuğu Stili (BUTTON element) */
.color-swatch {
    /* Yuvarlak Şekil */
    width: 30px;
    /* Biraz küçültüldü */
    height: 30px;
    /* Biraz küçültüldü */
    border-radius: 50%;
    /* Tam yuvarlak */
    /* Arka Plan Rengi: CSS Değişkeni ile ayarlanır */
    background-color: var(--swatch-color);
    /* Kenarlık ve Etkileşim */
    border: 2px solid transparent;
    /* Varsayılan şeffaf kenarlık */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    outline: none;
}

/* Aktif (Seçili) Kutucuk Stili */
.color-swatch.active {
    border-color: #000;
    /* Mevcut tasarımınızdaki gibi siyah kenarlık */
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--swatch-color);
    /* Seçimi vurgulayan çift kenarlık efekti */
    transform: scale(1.05);
}

/* Seçilen Bilgi Metni */
.selected-info {
    font-size: 0.875rem;
    /* text-sm */
    color: #4B5563;
    /* text-gray-700 */
}

/* Masaüstü için özel 1536px genişlik */
@media (min-width: 1536px) {
    .container-1536 {
        max-width: 1536px;
    }
}

/* Mobil resim tam genişlik ayarı ve slider için */
@media (max-width: 1023px) {
    .urun_resmi img {
        /* Ekranın tam genişliği */
        width: 100vw;
        /* Viewport width */
        /* Gerekirse mevcut kenarlıklardan veya padding'den kurtulmak için */
        margin-left: calc(50% - 50vw);
        /* Sol kenarı sayfaya yasla */
        margin-right: calc(50% - 50vw);
        /* Gerekirse sağ kenarı da yaslar, genelde gerekmez */
        max-width: 100vw;
        /* Aşırı boyutlanmayı engeller */
        /* padding kaldırıldı */
    }

    .product-image-small {
        padding-left: 0;
        /* lg:px-0 yerine mobilde padding kaldırıldı */
        padding-right: 0;
    }

    /* container'daki varsayılan yatay padding'i kaldırır */
    .container-mobile-padding-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Slider overlay stil */
    .slider-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 50;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .slider-content {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }

    .slider-content img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        /* Oranları koru */
    }

    .close-slider {
        position: absolute;
        top: 10px;
        right: 15px;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 51;
    }

    .nav-slider {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        box-sizing: border-box;
        z-index: 51;
    }

    .nav-slider button {
        background: rgba(255, 255, 255, 0.3);
        border: none;
        color: white;
        font-size: 1.5rem;
        padding: 10px;
        cursor: pointer;

    }
}

/* Genel yatay çizgi stil ayarları */
.section-divider {
    @apply border-t border-gray-200 my-4;
}

/* Özel border class'ı */
.custom-border {
    border-color: #e5e7eb;
    /* border-gray-200 */
}

/* Kişiselleştirme Bölümü Resimleri */
.kisilendirme-icerik .flex.items-center.justify-between img {
    width: 16px;
    /* Önceki 8px idi */
    height: 16px;
    /* Önceki 8px idi */
    /* object-cover zaten uygulanmış */
}

/* Miktar kontrol için daha küçük boyut */
.kisilendirme-icerik .miktar-kontrol {
    width: auto;
    /* Genişliği içeriğe göre ayarlar */
}

.kisilendirme-icerik .miktar-kontrol input,
.kisilendirme-icerik .miktar-kontrol button {
    font-size: 0.75rem;
    /* text-xs */
}



/* Yukarıdaki tek satırlık kodu buraya yapıştırabilirsiniz */
#urun-aciklama-text-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-top: 24px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: capitalize
}

#urun-aciklama-text-content h3:first-child {
    margin-top: 0
}

#urun-aciklama-text-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px
}

#urun-aciklama-text-content ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 20px
}

#urun-aciklama-text-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #374151;
    font-size: 15px
}

#urun-aciklama-text-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%
}

