/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*/ Mega Menü Düzenlemeleri /*/ 
.wd-event-hover:hover>.wd-dropdown, .wd-event-click.wd-opened>.wd-dropdown, .wd-dropdown.wd-opened {pointer-events: unset !important;}
.wd-nav[class*="wd-style-"]>li:is(.wd-has-children,.menu-item-has-children)>a:after {display: none !important;}
/*/ Mega Menü Düzenlemeleri /*/ 

/*/ Single Blog Sayfası gereksizleri kaldırma. /*/ 
.wd-post-cat.wd-style-with-bg {display: none !important;}
.post-single-page .wd-entry-meta {display: none !important;}
.wd-post-date.wd-style-with-bg {display: none !important;}

/*/ Sidebar woodmart recent post gereksiz yerlerin kaldırılması /*/ 
.woodmart-recent-posts :is(.recent-posts-time,.recent-posts-comment) {display: none !important;}

/*/ Yatay Kategori Menusunun Üstündeki Iconları Yukarı alma ve Düzenleme /*/ 
.wd-nav-img {max-height: 32px !important;}
.wd-nav>li>a {flex-direction: column !important; justify-content: center !important;}
.wd-nav[class*="wd-style-separated"] .nav-link-text {margin-top: 6px !important;}
.wd-nav.wd-style-separated>li:not(:last-child):after {height: 32px !important;}
/*/ Yatay Kategori Menusunun Üstündeki Iconları Yukarı alma ve Düzenleme /*/ 


/*/ Ürün Boyutlarını Eşit Hale Getirme Dekstop /*/ 
.wd-product .product-image-link {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-content: center !important;
    justify-content: center !important;
    margin: 20px; !important}


.wd-product :is(.product-image-link,.hover-img) img {
    width: auto !important;
    max-height: 300px !important;}

@media (min-width: 1025px) {
    .wd-product.wd-hover-buttons-on-hover .product-element-top {
        min-height: 300px !important;
		display: flex !important;
		justify-content: center !important;}}

.wd-product .wd-entities-title {min-height: 40px !important;}
/*/ Ürün Boyutlarını Eşit Hale Getirme Dekstop /*/ 


@media only screen and (max-width: 768px) {.joinchat__button {bottom: 60px; right: 20px !important;}}

/*/ Wp Story Düzenlemeleri /*/ 
.wpstory-item-circles .wpstory-feed-item-ins .wpstory-circle-image:before, 
.wpstory-item-circles .wpstory-feed-item-ins .wpstory-feed-canvas:before {
  background: linear-gradient(45deg, #2e4a3a 25%, #6b8f71 100%) !important; /* İki renkli gradient */}
.wpstory-circle-title {display:none !important;}
.wpstory-modal-author-image {display:none !important;}

/*/ Wp Story Düzenlemeleri /*/ 


/*/ Ürünler Tab Başlık Renk Ayarlamaları /*/ 
.wd-tabs.wd-header-with-bg .wd-tabs-header {
    display: flex !important;
    justify-content: center !important;
}
/*/ Ürünler Tab Başlık Renk Ayarlamaları /*/ 



/*/ Kategori Açıklamalarına Overflow Ekleme /*/ 
.wd-products-element+:is(.term-description,.page-description) {
    margin-top: 25px;
    overflow-y: auto;
    max-height: 200px;
    border: 1px solid #ddd;
    padding: 20px;}
/*/ Kategori Açıklamalarına Overflow Ekleme /*/ 




/* Tum Markalar Menu Button Customization */
.tummarkalarbutton > a {
    background-color: var(--wd-alternative-color) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 5px 15px !important; /* Ust ve alttan az, yanlardan fazla bosluk */
    margin: 5px 0 !important;
    display: flex !important;
    align-items: center;
    transition: all 0.3s ease;}

.tummarkalarbutton > a:hover {
    opacity: 0.85;
    color: #ffffff !important;
}

/* Eger ikon varsa onun da rengini ayarlayalim */
.tummarkalarbutton > a .wd-nav-img, 
.tummarkalarbutton > a .wd-nav-icon {
    color: var(--wd-primary-color) !important;
}

/* Yeni Scrollbar Renklendirmesi (Genislik Orjinal Birakildi) */
::-webkit-scrollbar-track {
    background: #141414;
}

::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}

/* Firefox Icin */
* {
    scrollbar-color: #ff0000 #141414;
}

/* Buzlu Cam (Glassmorphism) Efekti Sinifi */
.buzlu-cam {
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

/* Header ile Afis arasindaki kusuratli boslugu (Sub-pixel) kapatma yamasi */
.wd-page-title {
    margin-top: -1px !important;
}
