/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* Tablo Düzeltmesi */

/* FlowSmart - Tablo Düzeltmesi */
.elementor-widget-text-editor table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.elementor-widget-text-editor table th,
.elementor-widget-text-editor table td {
    border: 1px solid #aaa !important;
    padding: 10px 14px !important;
    text-align: left !important;
    vertical-align: middle !important;
    background: none !important;
}

.elementor-widget-text-editor table tr:nth-child(2n) td {
    background: none !important;
}

.elementor-widget-text-editor table tr:last-child td,
.elementor-widget-text-editor table tr:last-child th {
    border-bottom: 1px solid #aaa !important;
}

.elementor-widget-text-editor table tr td:last-child,
.elementor-widget-text-editor table tr th:last-child {
    border-right: 1px solid #aaa !important;
}

/* Header Login*/
.mfn-header-login .woocommerce-form label[for="username"] {
	line-height:normal;
} 

/* Sözleşmeler Modal */
.hezarfen-unified-modal table,
.hezarfen-modal-content table {
    border-collapse: collapse !important;
    width: 100% !important;
    border: 1px solid #ccc !important;
}

.hezarfen-unified-modal table td,
.hezarfen-unified-modal table th,
.hezarfen-modal-content table td,
.hezarfen-modal-content table th {
    border: 1px solid #ccc !important;
    padding: 8px 12px !important;
	text-align:left;
}

.hezarfen-unified-modal .tab-navigation {
	background:#f1f3f4 !important;
	padding:10px !important;
	gap:10px !important;
}

.hezarfen-unified-modal .tab-navigation .tab-button {
	background:#ffffff !important;
}

.hezarfen-unified-modal .tab-pane ul,
.hezarfen-modal-content .tab-pane ul,
.hezarfen-customer-modal .agreement-content ul {
	list-style: disc outside !important;
    margin: 0 0 1.5em 0 !important;
    padding-left: 1.5em !important;
}

/* Ürün Filtreleme Fiyat */

.wc-block-components-price-slider--is-input-inline 
.wc-block-components-price-slider__controls 
.wc-block-components-price-slider__amount {
    max-width: 80px !important;
    width: 80px !important;
	border-radius:5px !important;
}

/* Kategori Sayfası "Sepete Ekle" */

.woocommerce ul.products li.product .mfn-li-product-row-button a.button, 
.woocommerce-page ul.products li.product .mfn-li-product-row-button a.button {
	gap: 10px;
    display: inline-flex;
	padding: 16px 30px;
}

/* Site Geneli Başlık */

.woocommerce .column_shop_title .woocommerce-products-header__title,
#Subheader .title {
  font-size: 26px;
  line-height: 32px;
}

@media only screen and (max-width: 479px) {
    .woocommerce .column_shop_title .woocommerce-products-header__title,
	#Subheader .title {
        font-size: 26px;
        line-height: 30px;
    }
}

/* Ürün Detay Başlık */
.woocommerce .product div.entry-summary h1.product_title {
    font-size: 20px;
    line-height: 26px;
}

.subheader-both-center #Subheader .breadcrumbs li:last-child {
	font-weight:600;
}

/* Ürün Fiyat*/
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.woocommerce .product div.entry-summary .price {
	color:#f6922e;
	margin-top:10px;
	margin-bottom:10px;
}

/* Sepete Ekle Buton*/
.button.alt {
	background-color:#f6922e;
}
.button.alt:hover {
	background-color:#c57525;
}

/*İlgili Ürünler */ 

ul.products li.product h4, .woocommerce-page ul.products li.product h4 {
	font-size: 16px;
	line-height: 24px;
}

/* Sipariş Alındı */
.woocommerce-order p.woocommerce-notice {
    font-size: 24px !important;
    font-weight: 600;
    border: 1px #ccc solid;
    padding: 40px 100px;
    border-radius: 10px;
    background: #ffffff;
}

/* İndirimde Badge*/
.image_frame span.onsale, .woocommerce span.onsale, .shop_slider .shop_slider_ul .item_wrapper span.onsale {
    background-color: #f6922e;
}

/* Sipariş Adımı */
.mfn-checkout-steps li.active .mfn-step-number {
	background-color:#f6922e;
}

/* Hezarfen Eklenti*/
.hezarfen-customer-modal .hezarfen-tab-nav {
    padding: 10px !important;;
    border-radius: 10px !important;;
}

.hezarfen-view-agreements-btn {
    background: #4f799b !important;
    border: 1px solid #4f799b !important;
    padding: 15px 16px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
}

.hezarfen-customer-modal .hezarfen-tab-button {
	margin-right:10px !important;
	font-weight: 600 !important;
}

.hezarfen-customer-modal .hezarfen-tab-button.active {
    color: #4f799b !important;
    border-bottom-color: #4f799b !important;
	margin-right:10px;
}

/* Footer Padding */
@media only screen and (max-width: 767px) {
    .mfn-footer-tmpl .mcb-section:not(.full-width) {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Header menü — kategori ve alt kategori genişliğini içeriğe göre otomatik ayarlar */
.mfn-header-menu ul.mfn-submenu,
.mfn-header-menu ul.mfn-submenu ul.mfn-submenu {
    width: auto !important;
    min-width: max-content;
}

.mfn-header-menu ul.mfn-submenu .mfn-menu-link .mfn-menu-sub-subicon {
    margin-left: auto;   /* oku her zaman sağ kenara iter */
    padding-left: 16px;  /* metin ile ok arasında minimum boşluk */
}

/* Mobil menü — sadece ürün kategorilerini bold yap */

@media (max-width: 1110px) {
    .menu-item-object-product_cat.menu-item-has-children > a .menu-label {
    	font-weight: 600 !important;
	}
}

/* Sepetim sayfası — ürün görseli genişliği */
.woocommerce-cart-form .product-thumbnail {
    width: 120px !important;
    min-width: 120px !important;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 100px !important;
    object-fit: cover !important;
	border-radius: 10px !important;
}

/* Müşteri Hizmetleri - Sidebar Menü*/

#menu-flowsmart-musteri-hizmetleri > li > a {
	font-weight: 600;
	font-size:15px;
	font-weight:bold;
}

#menu-flowsmart-musteri-hizmetleri > li > a:hover {
	color: inherit;
}

/*
#menu-flowsmart-musteri-hizmetleri > li > a {
    cursor: default;
    pointer-events: none;
}*/

#menu-flowsmart-musteri-hizmetleri .sub-menu li a {
	font-size: 14px;
	padding-left:10px;
}

/* Wishlist sayfası - Sepetim butonu padding düzeltmesi */
.wishlist .wishlist-row .wishlist-options .added_to_cart {
    padding-top: 16px !important;
}

.woocommerce .product_meta {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
}

.woocommerce .product_meta span {
	margin:0;
}

.woocommerce .product_meta span.posted_in {
	margin-top:10px;
    font-size: 14px;
    line-height: normal;
}

.wishlist .wishlist-row .price {
	color:#f6922e;
}

/* Giriş Yap modalindeki "Üye Ol" butonu */
.mfn-header-login .create_account a {
    font-weight: 600;
	color: #4F799B !important;
    width: 100% !important;
}
.mfn-header-login .create_account a:hover { 
	color: #4F799B !important;
}
	
	
.shop-filters .woocommerce-ordering select {
    background-color: #ffffff !important;
    border: 1px #E7E7E7 solid;
    width: max-content;
    padding: 5px 30px 5px 10px;
    cursor: pointer;
}

.shop-filters .woocommerce-ordering select:focus {
    background-color: #ffffff !important;
}