/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ========================================
   ÜRÜN KARTI RESİM AYARLARI
   Kartlar 1:1 kare, resimler kutuya sığar
   ======================================== */

/* Resim container - 1:1 kare kutu */
.wd-product .product-image-link,
.product-element-top .product-image-link,
.wd-products .product-image-link,
.products .product-image-link,
.wd-carousel .product-image-link,
.wd-products-element .product-image-link,
.wd-carousel-item .product-image-link {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
    background-color: #fff !important;
}

/* Ürün resimleri - kutuya sığdır, kesme */
.wd-product .product-image-link img,
.product-element-top .product-image-link img,
.wd-products .product-image-link img,
.products .product-image-link img,
.wd-carousel .product-image-link img,
.wd-products-element .product-image-link img,
.wd-carousel-item .product-image-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background-color: #fff !important;
}

/* Hover resmi container */
.wd-product .hover-img,
.product-element-top .hover-img,
.products .hover-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Hover resimleri */
.wd-product .hover-img img,
.product-element-top .hover-img img,
.products .hover-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background-color: #fff !important;
}

/* ========================================
   MOBİL ÜRÜN ETİKETLERİ
   ======================================== */
@media (max-width: 768px) {
    .product-label {
        font-size: 8px !important;
        padding: 3px 6px !important;
        min-width: 35px !important;
    }
}

@media (max-width: 480px) {
    .product-label {
        font-size: 7px !important;
        padding: 2px 5px !important;
        min-width: 30px !important;
    }
}

/* ========================================
   TEST SAYFASI (ID: 82379) ÖZEL STİLLERİ
   Sadece bu sayfayı etkiler
   ======================================== */

/* Marka Logolari - Sadece test sayfasi */
.page-id-82379 .elementor-shortcode ul.brand-thumbnails,
.page-id-82379 ul.brand-thumbnails,
.page-id-82379 ul.brand-thumbnails.columns-6 {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
    max-width: 1400px !important;
}

.page-id-82379 .elementor-shortcode ul.brand-thumbnails li,
.page-id-82379 ul.brand-thumbnails li,
.page-id-82379 ul.brand-thumbnails.columns-6 li,
.page-id-82379 ul.brand-thumbnails li.first {
    list-style: none !important;
    list-style-type: none !important;
    padding: 20px !important;
    margin: 0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    text-indent: 0 !important;
}

.page-id-82379 .elementor-shortcode ul.brand-thumbnails li::before,
.page-id-82379 .elementor-shortcode ul.brand-thumbnails li::marker,
.page-id-82379 ul.brand-thumbnails li::before,
.page-id-82379 ul.brand-thumbnails li::marker {
    content: none !important;
    display: none !important;
    list-style: none !important;
}

.page-id-82379 ul.brand-thumbnails li:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

.page-id-82379 ul.brand-thumbnails li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 80px !important;
    text-decoration: none !important;
}

.page-id-82379 ul.brand-thumbnails li img,
.page-id-82379 ul.brand-thumbnails li img.brand-thumbnail {
    max-width: 140px !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .page-id-82379 .elementor-shortcode ul.brand-thumbnails,
    .page-id-82379 ul.brand-thumbnails,
    .page-id-82379 ul.brand-thumbnails.columns-6 {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px !important;
    }
}

/* Responsive - Mobil */
@media (max-width: 768px) {
    .page-id-82379 .elementor-shortcode ul.brand-thumbnails,
    .page-id-82379 ul.brand-thumbnails,
    .page-id-82379 ul.brand-thumbnails.columns-6 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    .page-id-82379 ul.brand-thumbnails li a {
        height: 60px !important;
    }

    .page-id-82379 ul.brand-thumbnails li img,
    .page-id-82379 ul.brand-thumbnails li img.brand-thumbnail {
        max-width: 100px !important;
        max-height: 45px !important;
    }
}

/* Responsive - Kucuk Mobil */
@media (max-width: 480px) {
    .page-id-82379 .elementor-shortcode ul.brand-thumbnails,
    .page-id-82379 ul.brand-thumbnails,
    .page-id-82379 ul.brand-thumbnails.columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .page-id-82379 ul.brand-thumbnails li {
        padding: 15px !important;
    }
}

/* ========================================
   HEADER TOPBAR - MOBİL UYUMLU
   ======================================== */

/* Tablet için */
@media (max-width: 768px) {
    .header-banner-container span,
    .wd-header-banner span {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
}

/* Mobil için */
@media (max-width: 576px) {
    .header-banner-container span,
    .wd-header-banner span {
        font-size: 9px !important;
        line-height: 1.3 !important;
    }

    .header-banner-container,
    .wd-header-banner {
        padding: 6px 5px !important;
    }
}

/* Küçük mobil için */
@media (max-width: 400px) {
    .header-banner-container span,
    .wd-header-banner span {
        font-size: 8px !important;
        letter-spacing: -0.3px !important;
    }
}
