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

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

@media (max-width: 767px) {
    .m-text-center, .m-text-center .title, .m-text-center .subtitle, .m-text-center .description, .m-text-center .text, .m-text-center img, .m-text-center .text-right, .m-text-center .text-left {
        text-align: center !important;
    }
    .m-hidden {
        display: none !important;
    }
}
@media (min-width: 767px) {
    .d-hidden {
        display: none !important;
    }
}

/* header */
@media (min-width: 1025px) {
    .whb-boxed .whb-main-header {
        max-width: calc(var(--wd-container-w) - 30px);
    }
}
.whb-general-header {
    border: 0;
}
.whb-scroll-slide.whb-sticked .whb-main-header {
    animation: none !important;
    margin: 20px auto 0;
}
.mobile-nav #menu-kategoriler .item-level-0 {
    background: var(--bgcolor-gray-100);
}
.mobile-nav #menu-kategoriler .item-level-0 > a {
    letter-spacing: 3px;
}
/* sub menu elements */
.mobile-nav #menu-kategoriler .item-level-1 {
    background: #fff;
}
.mobile-nav #menu-kategoriler .item-level-1 a:before {
    content: "-";
    display: inline-block;
    padding-right: 10px;
}
.mobile-nav #menu-kategoriler .item-level-1 a {
    min-height: 35px !important;
}
.langselect {
    display: flex;
    align-items: center;
}
.langselect > div {
    display: flex;
    gap: 5px;
}
/* .pll-parent-menu-item .wd-dropdown {
    width: 80px;
    padding: 5px;
}
.pll-parent-menu-item .wd-dropdown ul {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
}
.pll-parent-menu-item .wd-dropdown ul li a {
    padding: 8px;
}
.pll-parent-menu-item .wd-dropdown ul li a img {
    margin: 0;
    padding: 0;
}
@media (max-width: 767px) {
    .whb-mobile-right ul.menu > li:last-child {
        display: none;
    }
    .mobile-nav .lang-item {
        display: inline-flex;
        width: 49%;
    }
} */

/* header altı boşluk */
.wd-content-layout {
    padding-block: 10px 20px;
}

/* yan menü */
#menu-kategoriler .dilsec {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid #ccc;
}
#menu-kategoriler .gtranslate_wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
}
#menu-kategoriler .dilsec a {
    padding: 10px 0;
    width: 50%;
    text-align: center;
    border-left: 1px solid #ccc;
    background: #eee;
}
#menu-kategoriler .dilsec a:hover {
    background: #ddd;
}



/* page title */
.page-id-15402 .wd-page-title .container {
    align-items: start;
}


/* homepage */
/* slider */
body:not(.el-type-woodmart_slide) .hero-heading .wd-text-block a,
body:not(.el-type-woodmart_slide) .hero-text .wd-text-block {
    color: #fff;
    font-weight: 600;
}
.hero-heading .wd-text-block a {
    position: relative;
    padding: 1.5rem 2rem;
    display: inline-flex;
    flex-direction: column;
    align-content: space-between;
    font-size: 1.25rem;
    line-height: 1;
    gap: 5px;
    background-image: 
        linear-gradient(to right, currentColor 100%, transparent 100%),
        linear-gradient(to bottom, currentColor 100%, transparent 100%),
        linear-gradient(to right, currentColor 100%, transparent 100%),
        linear-gradient(to bottom, currentColor 100%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 
        0% 1px,
        1px 0%,
        0% 1px,
        1px 60%;
    background-position: 
        0 0,
        100% 0,
        100% 100%,
        0 50%;
    transition: background-size 0.2s ease, background-position 0.2s ease;
}
.hero-heading .wd-text-block a:hover {
    background-size: 
        100% 1px,
        1px 100%,
        100% 1px,
        1px 100%;
    background-position: 
        0 0, 
        100% 0, 
        0 100%, 
        0 0;
    transition: 
        background-size 0.2s ease 0.2s,
        background-size 0.2s ease 0.4s,
        background-size 0.2s ease 0.6s,
        background-size 0.2s ease 0s,
        background-position 0.2s ease 0s;
}
.hero-text .wd-text-block {
    font-size: 1.2rem;
}
#hero-slider .wd-nav-arrows .wd-btn-arrow {
    opacity: 1 !important;
    width: 36px;
    height: 36px;
    position: absolute;
    top: unset;
    bottom: 60px;
    left: 60px;
}
#hero-slider .wd-nav-arrows .wd-btn-arrow.wd-next {
    left: 100px;
}
#hero-slider .wd-nav-arrows .wd-btn-arrow.wd-disabled {
    display: none;
}
#hero-slider .wd-arrow-inner {
    color: #fff;
    width: 36px;
    height: 36px;
}
#hero-slider .wd-arrow-inner:hover {
    transform: scale(1.1);
}
@media (max-width: 767px) {
    #hero-slider br {
        display: none;
    }
    #hero-slider .wd-nav-arrows .wd-btn-arrow {
        bottom: 20px;
        left: 20px;
    }
    #hero-slider .wd-nav-arrows .wd-btn-arrow.wd-next {
        left: 60px;
    }
}

/* hero altı kutular */
a.hero-alt-kutu .title {
    position: relative;
    overflow: hidden;
    padding-bottom: 5px;
}
a.hero-alt-kutu .title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}
a.hero-alt-kutu:hover .title:after {
    transform: translateX(0);
}

/* home product slider */
.wd-products .wd-carousel-inner .wd-nav-arrows .wd-btn-arrow {
    opacity: 1 !important;
    transform: translate(10px) !important;
    background: #000;
}
.wd-products .wd-carousel-inner .wd-nav-arrows .wd-btn-arrow.wd-next {
    transform: translate(-10px) !important;
}
.wd-products .wd-carousel-inner .wd-nav-arrows .wd-btn-arrow.wd-disabled {
    display: none;
}
.wd-products .wd-carousel-inner .wd-arrow-inner {
    color: #fff;
    width: 36px;
    height: 36px;
}
.wd-products .wd-carousel-inner .wd-entities-title {
    height: 3rem;
    overflow: hidden;
}
.wd-products .wd-carousel-inner .wd-product-cats {
    display: none;
}

/* hareketli alan */
.parallax-product-bg img, 
.parallax-product-image img {
    pointer-events: none; /* Mouse olaylarının imaj tarafından kesilmesini önler */
    transform-style: preserve-3d; /* Safari için 3D render modunu sabitler */
}

/* kategori sayfasi */
.kategori-baslik-aciklama {
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}
.kategori-ic-menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    gap: 20px;
}
.kategori-ic-menu-list li {
    margin: 0;
}
.kategori-ic-menu-list li a {
    display: block;
    text-decoration: none;
    color: #000;
    transition: all 0.3s;
    padding: 8px 16px;
    font-weight: bold;
}
.kategori-ic-menu-list li a.aktif {
    color: #fff;
    background: #000;
}
.kategori-ic-menu-list li a:hover {
    text-decoration: underline;
}




/* hide quantity */
.quantity { 
    display: none !important; 
}

/******
*** product details page 
******/
/* ürün detay */
.mini-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mini-table td:nth-child(1) { font-weight: bold; width: 160px; text-align: left; }
.mini-table td:nth-child(2) { width: 20px; text-align: center; }
.mini-table td:nth-child(3) { text-align: right; }
.mini-table td { padding: 5px 0; border-bottom: 1px solid #f0f0f0; }

/*
.wd-gallery-thumb :is(.wd-carousel-item:hover,.wd-thumb-active,.wd-carousel:not(.wd-initialized) .wd-carousel-item:first-child) {
    opacity: 1 !important;
}
.wd-gallery-thumb img {
    border: 1px solid transparent;
    transition: .5s ease all;
}
.wd-gallery-thumb :is(.wd-carousel-item:hover,.wd-thumb-active,.wd-carousel:not(.wd-initialized) .wd-carousel-item:first-child) img {
    border-color: #444;
}

body.single-product .wd-single-price .woocommerce-Price-amount {
    font-size: 2.2rem;
}
*/





/******
*** sipariş listesi *****
******/
html[lang="en"] .siparis-listesi-kapak img {
    content: url('/wp-content/uploads/2025/12/cover-order-list.jpg');
}




/* blog */
/* single post */
@media (min-width: 768px) {
    body.single-post-large-image.wd-header-overlap .wd-page-title {
        padding-top: 250px !important;
        padding-bottom: 250px !important;
    }
}


/* 404 */
.error404 .wd-page-content {
    margin-top: 20vh;
}


/* footer */
footer ul.sub-sub-menu a {
    transition: .5s ease all;
    padding: 5px 0;
}
footer ul.sub-sub-menu a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (max-width: 767px) {
    footer ul.sub-sub-menu a {
        text-align: center !important;
    }
}



.wd-copyrights {
    background: #000;
    font-family: var(--wd-title-font);
}
@media (max-width: 768px) {
    .wd-copyrights p {
        text-align: center !important;
    }
    .wd-toolbar {
        position: fixed;
        inset-inline: 0;
        bottom: env(safe-area-inset-bottom);
        padding-bottom: calc(5px + env(safe-area-inset-bottom));
    }
}