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

.whb-mobile-right div span {
    color: #fff;
}

.wd-header-mobile-nav span {
    color: #fff;
}

.product-label {
    font-size: 16px !important;
}

.cat-design-mask-subcat .wd-cat-header {
    display: none !important;
}

div[capacetes="lista-animada"] ins .woocommerce-Price-amount.amount bdi {
  background-color: #fff !important;
  border-radius: 14px;
  font-size: 18px;
  line-height: 40px !important;
  padding: 5px;
}
#slider-67 {
    margin-top: -38px !important;
}

/* css para ajustar o tamanho das imagens dos produtos */
/* Base para todas as imagens de produtos */
.wd-product .product-image-link img,
.wd-product .hover-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block !important;
}

/* Container com altura responsiva - IMPORTANTE: position relative */
.wd-product .product-element-top {
    overflow: hidden !important;
    display: block !important;
    border-radius: 8px;
    position: relative !important;
}

/* Links das imagens ocupam 100% */
.wd-product .product-image-link,
.wd-product .hover-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

/* DESKTOP - Telas grandes */
@media (min-width: 1200px) {
    .wd-product .product-element-top {
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }
}

/* TABLET - Telas médias */
@media (min-width: 768px) and (max-width: 1199px) {
    .wd-product .product-element-top {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
}

/* MOBILE - Telas pequenas */
@media (max-width: 767px) {
    .wd-product .product-element-top {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    /* Ajusta o carousel para mobile */
    .wd-carousel-item {
        width: calc(50% - 10px) !important;
        margin-bottom: 20px;
    }
}

/* MOBILE PEQUENO - Celulares muito pequenos */
@media (max-width: 480px) {
    .wd-product .product-element-top {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }
    
    .wd-carousel-item {
        width: 100% !important;
    }
}

/* Remove espaçamentos que podem causar problemas */
.wd-product .product-image-link img,
.wd-product .hover-img img {
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: top !important;
}

/* Garante que labels não interfiram */
.wd-product .product-labels {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 10 !important;
}

/* Botões não devem interferir no layout da imagem */
.wd-product .wd-buttons {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
}