/*
Theme Name: TWOM
Theme URI: https://twom.pt
Description: Tema WordPress para o site TWOM by Ana Isidoro
Author: Pedro Mendonça
Author URI: https://pedromendonca.pt
Version: 1.0.1
Text Domain: twom
Template: calla
*/


/* Altura máxima das imagens do portefólio. */
.eltdf-portfolio-single-holder.eltdf-ps-small-slider-layout .eltdf-ps-image-holder .eltdf-ps-image img {
    max-height: 456px;
    width: auto !important;
}
.eltdf-portfolio-single-holder .eltdf-ps-image-holder .eltdf-ps-image a,
.eltdf-portfolio-single-holder .eltdf-ps-image-holder .eltdf-ps-image img {
    margin: auto;
}

.eltdf-ps-image-holder {
  /*background-color: #bb9934;*/
  background-color: rgba(187,153,52,1);
  padding: 10px;
}
.eltdf-owl-slider .owl-nav .owl-prev:hover,
.eltdf-owl-slider .owl-nav .owl-next:hover {
  color: #000 !important;
}

/*
Borda dos botões das variações dos produtos.
*/
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
    box-shadow: 0 0 0 2px rgba(187,153,52,.9) !important;
    background-color: rgba(187,153,52,.2);
}

/*
Títulos do catálogo
*/
h2.woocommerce-loop-category__title,
h5.eltdf-product-list-title {
  font-size: 18px;
  text-transform: none;
}

ul.products > .product .eltdf-pl-text-wrapper,
ul.products > .product a h2.woocommerce-loop-category__title {
  text-align: center;
}


/*
Shop Widget
*/
/* Categoria seleccionada. */
aside.eltdf-sidebar .widget ul.product-categories li.current-cat > a {
  font-weight: bold;
}
/* Categoria seleccionada e subcategorias. */
aside.eltdf-sidebar .widget ul.product-categories li.current-cat a {
  color: #bb9934;
}


/*
Título de página
*/
h2.eltdf-page-title.entry-title,
.eltdf-title-holder.eltdf-standard-with-breadcrumbs-type .eltdf-breadcrumbs {
  /*
  text-transform: none !important;
  */
}

/*
Produto
*/
.eltdf-woo-single-page .eltdf-single-product-summary p.stock.out-of-stock {
  color: red !important;
}
.eltdf-woo-single-page .eltdf-single-product-summary .eltdf-single-product-title {
  font-size: 30px;
  text-transform: none;
}

/*
Lista de produtos.
*/
ul.products > .product .price {
  margin-top: 12px !important;
}
ul.products > .product .price * {
  /* font-size: 24px !important; */
}


/**
 * Produto esgotado
 */
.woocommerce .eltdf-out-of-stock::before {
  border-color: transparent #bb9934 transparent !important;
}

.woocommerce .eltdf-new-product::before,
.woocommerce .eltdf-onsale::before,
.woocommerce .eltdf-out-of-stock::before {
  border-width: 0 100px 100px 0 !important;
}
