/*
File Name: style.css
Theme Name:  RT-Theme 19 | Child Theme
Author: RT-Themes
Version: 1.1
Author URI: http://themeforest.net/user/stmcan
Theme URI: http://themeforest.net/item/rttheme-19-responsive-multipurpose-wp-theme/10730591
Description: Responsive Multi-Purpose WordPress Theme
License: GNU General Public License
License URI: /Licensing/gpl.txt
Text Domain: rt_theme
Template: rttheme19
*/

/* Max Mega Menu mobil çubuğunu gizler */
.mega-menu-toggle {
    display: none !important;
}
/* --- Özel Caption Slider Kapsayıcı Ayarları --- */

.rt-caption-container {

    position: relative;

    cursor: pointer; /* Üzerine gelince el işareti */

}



/* --- Caption Normal Görünümü --- */

.rt-child-caption {

    width: 100%;

    display: block;

    text-align: center !important;

    margin-top: 10px;

    padding: 8px 5px;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;



    /* Arka plan başlangıçta şeffaf */

    background-color: transparent;



    /* Renk geçişi yumuşak olsun */

    transition: all 0.3s ease;

    border-radius: 4px;



    /* Not: Yazı rengi (color) JavaScript tarafından

       otomatik olarak başlık rengiyle aynı yapıldı. */

}



/* --- HOVER (Üzerine Gelince) Ayarları --- */

.rt-caption-container:hover .rt-child-caption {

    /* Aşağıdaki "!important" komutları JS'den gelen rengi ezmek için şarttır.

       Buraya istediğiniz renk kodlarını yazın.

    */

    color: #ce641c !important;           /* Hover Yazı Rengi (Örn: Koyu Mor) */

    background-color: #f1d0ba !important; /* Hover Arka Plan Rengi (Örn: Mor */

}


/* GRID Auto responsive product grid (only product lists) */
/* Ürün listeleme satırlarını ortala (az ürün + alt satıra inen satırlar) */
.product_holder.product-showcase .row.clearfix,
.product_holder.product-showcase .row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

/* Tema float kullanıyorsa satır içindeki kolonları da flex’e uyumlu yap (item'in display'ine dokunmadan) */
.product_holder.product-showcase .row.clearfix > [class*="col-"],
.product_holder.product-showcase .row > [class*="col-"]{
  float: none !important;
}

/* ÖNEMLİ: item'e display:flex verme, küçültüyor */
.product_holder.product-showcase .product_item_holder{
  display: block !important;
}
/* Ürün kartında görsel + başlık + Details ortalansın */
.product_holder.product-showcase .product_item_holder{
  text-align: center !important;
}

/* Başlık (ürün adı) ortalansın */
.product_holder.product-showcase .product_item_holder .product_info h5.clean_heading{
  text-align: center !important;
}

/* Details linkini kesin ortala (flex layout varken) */
.product_holder.product-showcase .product_item_holder .product_info_footer{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.product_holder.product-showcase .product_item_holder .action_buttons{
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.product_holder.product-showcase .product_item_holder .action_buttons a.details{
  float: none !important;
  margin: 0 !important; /* flex zaten ortalıyor */
}




