/*
 Theme Name:   Storefront Child
 Description:  Grafikeriniz.com Rafine Tasarım Paketi
 Template:     storefront
 Version:      5.2.0
*/
/*
 Theme Name:   Storefront Child
 Description:  Grafikeriniz.com Rafine Tasarım Paketi
 Version:      5.2.1
*/

/* ==========================================================================
   1. GLOBAL STYLES (Her Yerde Geçerli Olanlar)
   ========================================================================== */

/* Başlıklar */
.single .entry-title, .single h1, .entry-title a {
    font-weight: 800 !important;
    color: #4a148c !important;
    text-transform: none;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.entry-title a:hover {
    color: #8e44ad !important;
}

/* "Okumaya Devam Et" Butonu */
.more-link {
    display: inline-block;
    background-color: #8e44ad;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.more-link:hover {
    background-color: #6c3483;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* Okunma Bilgisi ve Özet Kutusu */
.okuma-bilgisi {
    font-size: 12px;
    font-weight: 300;
    color: #888888;
    margin: 5px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.okuma-bilgisi i { font-size: 14px; position: relative; top: 2px; }
.ayirac { color: #ddd; margin: 0 5px; }

.okuma-bilgisi + p {
    background-color: #fbf7fd;
    border-left: 4px solid #8e44ad;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-size: 14px;
    margin-top: 5px;
}

.okuma-bilgisi + p::before {
    content: "\f348";
    font-family: "dashicons";
    color: #8e44ad;
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}

/* Temizlik ve Gizleme İşlemleri */
.single .entry-header .posted-on, .single .entry-header .post-author, .single .entry-header .post-comments,
.blog .entry-header .posted-on, .blog .entry-header .post-author, .blog .entry-header .post-comments,
.archive .entry-header .posted-on, .archive .entry-header .post-author, .archive .entry-header .post-comments,
.home .entry-header, .home .storefront-breadcrumb, .home .woocommerce-breadcrumb, .delimiter {
    display: none !important;
}

/* Boşluk Düzenlemeleri */
.single .entry-header, .blog .entry-header, .archive .entry-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.entry-title { margin-bottom: 5px !important; }

/* Sepet ve Ödeme Butonları */
.site-header-cart .widget_shopping_cart .buttons a.checkout {
    background-color: #7822e8 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-weight: bold !important;
}

.site-header-cart .widget_shopping_cart .buttons a.checkout:hover,
.widget_shopping_cart .buttons a:hover {
    background-color: #6c3483 !important;
    color: #ffffff !important;
}

.site-header-cart .widget_shopping_cart .buttons a:not(.checkout) {
    background-color: #eceff1 !important;
    color: #455a64 !important;
}

/* ==========================================================================
   2. DESKTOP STYLES (Sadece Bilgisayarlar)
   ========================================================================== */
@media only screen and (min-width: 769px) {
    .site-header { background-color: #F3E5F5 !important; }
    
    .main-navigation a {
        font-weight: 700 !important;
        color: #333333 !important;
        transition: all 0.3s ease;
        padding: 10px 15px;
        border-radius: 5px;
    }

    .main-navigation a:hover {
        background-color: #4A148C !important;
        color: #ffffff !important;
    }

    /* Breadcrumb Lego Düzeni */
    .storefront-breadcrumb nav {
        display: flex !important;
        margin: 15px 0 0 0 !important;
    }

    .ozel-breadcrumb-kutu {
        display: inline-flex !important;
        align-items: center;
        position: relative;
        height: 28px;
        background: #eceff1;
        padding: 0 10px 0 20px;
        font-size: 12px;
        color: #455a64;
    }

    .ozel-breadcrumb-kutu::after {
        content: "";
        position: absolute;
        right: -14px;
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
        border-left: 14px solid #eceff1;
        z-index: 10;
    }

    .ozel-breadcrumb-kutu:first-child {
        background: #7822e8 !important;
        color: #ffffff !important;
        border-radius: 4px 0 0 4px;
        padding-left: 15px;
    }
    
    .ozel-breadcrumb-kutu:first-child::after { border-left-color: #7822e8 !important; }
    .ozel-breadcrumb-kutu:first-child a { color: #ffffff !important; }

    .storefront-breadcrumb { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .single .entry-header { margin-top: 5px !important; }
}

/* ==========================================================================
   3. MOBILE STYLES (Sadece Telefonlar)
   ========================================================================== */
@media only screen and (max-width: 768px) {
    .handheld-navigation, .main-navigation.toggled, .site-header {
        background-color: #fcf5fd !important;
    }

    .handheld-navigation ul.menu li a {
        display: block !important;
        background-color: #ffffff !important;
        border: 1px solid #e1bee7 !important;
        border-radius: 8px !important;
        text-align: right !important;
        padding: 12px 15px !important;
        margin: 0 10px 8px 10px !important;
        color: #4a148c !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    }
}

/* Ödeme Sayfası Genel Temizlik */
.woocommerce-checkout .col-2, 
.woocommerce-checkout h3#order_review_heading {
    display: none !important; /* Gereksiz başlıkları ve ikinci sütunu gizler */
}

/* Form Alanlarını Güzelleştirme */
.woocommerce-checkout input.input-text {
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important; /* Köşeleri yumuşatır */
    padding: 15px !important; /* Tıklama alanını genişletir (Mobil dostu) */
    font-size: 16px !important; /* Mobilde otomatik yakınlaştırmayı engeller */
    background-color: #f9f9f9 !important;
    transition: all 0.3s ease;
}

/* Kutuya tıklandığında (Focus) */
.woocommerce-checkout input.input-text:focus {
    border-color: #007cba !important; /* Odaklanınca renk değişir */
    background-color: #ffffff !important;
    outline: none;
}

/* Etiketleri (Ad, Telefon) belirginleştirme */
.woocommerce-checkout label {
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
    color: #333;
}

/* Ödeme Yap / Siparişi Onayla Butonu */
#place_order {
    width: 100% !important; /* Butonu tam genişlik yapar */
    padding: 18px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 12px !important;
    background-color: #2ecc71 !important; /* Canlı yeşil (Onay rengi) */
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3) !important;
    text-transform: uppercase;
}

/* Mobil için Gereksiz Boşlukları Kaldır */
@media (max-width: 768px) {
    .woocommerce-checkout .col-1 {
        width: 100% !important;
        padding: 0 !important;
    }
    .woocommerce-content-area {
        padding: 10px !important;
    }
}

/* "Fatura Detayları" yazısını daha şık yapalım */
.woocommerce-checkout h3 {
    font-size: 22px !important;
    text-align: center;
    margin-bottom: 25px !important;
    color: #2c3e50;
}