/*
Theme Name: Astra Child - Hobbytools
Version: 2.0.3
Description: Tema para loja Hobbytools.
Author: Sidney Benetti
Text Domain: astra-child
Template: astra
*/


/*--------------------------------------------
  Cabeçalho
--------------------------------------------*/
.ast-below-header-bar .main-header-menu {
  background-color: transparent;
}
.ast-below-header-wrap {
  padding-bottom: 8px;
  margin-bottom: -8px;
  background: url(images/menu-sombra.png) no-repeat bottom center;
}



/*--------------------------------------------
 Barra Lateral
--------------------------------------------*/
.ast-left-sidebar #primary, 
.ast-left-sidebar #secondary {
  border: 0;
}


/*--------------------------------------------
 Barra Lateral - Widgets
--------------------------------------------*/

#secondary .widget {
  margin-bottom: 1.5em;
}

#secondary li {
  margin: 0;
}

#secondary .widget-title {
  padding: 10px;
  background: url(images/heading-image.png) no-repeat 10px center, linear-gradient(to bottom, #a7a7a7 0%, #737373 100%);
  padding-left: 35px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
}

#secondary .widget_product_categories .widget-title {
  background: url(images/heading-image.png) no-repeat 10px center, linear-gradient(to bottom, #eecf42 0%, #f5b209 100%);
}

#secondary .widget_product_categories > ul,
#secondary .widget_price_filter > form,
#secondary .widget_pwb_list_widget > ul
{
  border: 1px solid #e6e6e6;
  padding: 10px
}

#secondary .widget_media_image {
  border: 1px solid #e6e6e6;
  text-align: center;
  background-color: #eee;
}

.widget_product_categories ul.product-categories > li ul li:before {
  display: none;
}

.widget_product_categories .children {
  padding: 0;
}

.widget_product_categories .current-cat > a {
  font-weight: bold;
}

.widget_price_filter > form .price_slider{
  margin: 1em 0.5em 1.7em;
}

.widget_pwb_list_widget li a,
.widget_product_categories li a {
  display: block;
  border-bottom: 1px solid #e6e6e6;
  padding: 0.4em 0 0.4em 0px;
}

.widget_pwb_list_widget ul.pwb-row > li:last-child > a,
.widget_product_categories ul.product-categories > li:last-child > a {
  border-bottom: 0;
}


/*--------------------------------------------
  Rodapé - Widgets
--------------------------------------------*/
.footer-widget-area .widget h2.widget-title {
  text-transform: uppercase;
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-widget-area .widget .textwidget,
.footer-widget-area .widget a,
.footer-social-inner-wrap .ast-builder-social-element .social-item-label {
  color: #868686;
  font-size: 0.9em;
}

.footer-widget-area .widget a:hover,
.footer-social-inner-wrap a.ast-builder-social-element:hover {
  color: #fff;
}

.footer-widget-area .widget ul.menu li {
  padding: 0;
  margin: 0 0 0.5em 0;
}


/*--------------------------------------------
  Rodapé - Widgets - Diagramação social links
--------------------------------------------*/
.footer-social-inner-wrap {
  display: flex;
  flex-direction: column;
}

.footer-social-inner-wrap .ast-builder-social-element {
  margin: 0;
  display: flex;
  padding: 0 0 1.2em;
}

.footer-social-inner-wrap .ast-builder-social-element .ahfb-svg-iconset  {
  width: 2em;
}

.footer-social-inner-wrap .ast-builder-social-element .social-item-label {
  flex: 1;
  line-height: 1.4em;
}

/*--------------------------------------------
  Rodapé - cards pagamentos
---------------------------------------------*/
.rodape-cards {
  margin: 0 0 2em;
  display: flex;
  justify-content: center;
  background: url(images/rodape-linha.png) repeat-x center;
}

.rodape-cards .card {
  margin: 0 5px;
  width: 45px;
  height: 28px;
  border-radius: 5px;
}

.card-pagseguro { background-image: url(images/minicard-pagseguro.jpg); }
.card-paypal { background-image: url(images/minicard-paypal.jpg); }
.card-mastercard { background-image: url(images/minicard-mastercard.jpg); }
.card-amex { background-image: url(images/minicard-amex.jpg); }
.card-visa { background-image: url(images/minicard-visa.jpg); }
.card-pix { background-image: url(images/minicard-pix.jpg); }




/*--------------------------------------------
 Grade de Produtos
--------------------------------------------*/
.ast-left-sidebar #primary {
  padding-left: 0;
}

.woocommerce ul.products li.product {
  border: 1px solid #e6e6e6;
  padding: 0.5em 0.5em 0;
  display: flex;
  justify-content: space-between;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.woocommerce ul.products li.product .ast-loop-product__link {
  flex: 1;
}

.eael-product-grid .woocommerce ul.products li.product .woocommerce-loop-product__title,
.eael-product-grid.eael-product-default .woocommerce ul.products .product h2.woocommerce-loop-product__title,
.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #868686 !important;
  font-size: 15px;
  line-height: 135%;
  margin: 5px 0 !important;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
}

.eael-product-grid .woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.eael-product-grid.eael-product-simple .woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: #43a5d5 !important;
}

.woocommerce .star-rating::before,
.eael-product-grid .woocommerce .star-rating::before {
  color: #ccc !important;
}

.woocommerce ul.products li.product .price {
  font-size: 18px;
  font-weight: bold;
}

.eael-product-grid:not(.list) .woocommerce ul.products li.product {
  text-align: left !important;
}



/*--------------------------------------------
  Grade de Produtos - Botão Carrinho
--------------------------------------------*/
.woocommerce ul.products li.product .astra-shop-summary-wrap {
  padding-right: 50px
}

.eael-product-grid.eael-product-default .woocommerce ul.products li.product .button.add_to_cart_icon,
.woocommerce ul.products li.product a.add_to_cart_icon {
  background: url(images/cart1.png) no-repeat center center #f0f0f0;
  height: 55px;
  width: 55px;
  position: absolute;
  right: 0px;
  bottom: 0px;
  margin: 0;
  border-radius: 3px 0 0;
}

.eael-product-grid.eael-product-default .woocommerce li.product a:hover.add_to_cart_icon,
.woocommerce ul.products li.product a:hover.add_to_cart_icon {
  background: url(images/cart2.png) no-repeat center center #43a5d5;
  background-color: #43a5d5 !important;
}

.woocommerce ul.products li.product.outofstock a.add_to_cart_icon {
  display: none;
}

.eael-product-grid.eael-product-default .woocommerce li.product .button.add_to_cart_button {
  background-color: #f0f0f0 !important;
}

.eael-product-grid.eael-product-default .button.add_to_cart_button::before {
  content: none;
}




/*--------------------------------------------
  Produtos - Selos
---------------------------------------------*/
ul.products li.product .produto-selo,
.product .summary .produto-selo {
  background-repeat: no-repeat;
  background-size: contain;
}

.produto-selo-imperdivel { background-image: url(images/selo-imperdivel.png); }
.produto-selo-pronta-entrega { background-image: url(images/selo-pronta-entrega.png);  }
.produto-selo-peca-unica { background-image: url(images/selo-unica-peca.png); }

/*--------------------------------------------
  Grade de Produtos - Selos
--------------------------------------------*/
ul.products li.product .produto-selo {
  position: absolute;
  top: 0;
  right: 4px;
  width: 80px;
  height: 80px;
  z-index: 70;
}

/*--------------------------------------------
  Single do Produto - Selos
--------------------------------------------*/
.product .summary .produto-selo {
  position: relative;
  float: right;
  width: 120px;
  height: 120px;
}


/*--------------------------------------------
  Single do produto - Abas
--------------------------------------------*/
.woocommerce #content div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
  content: none;
}

.woocommerce div.product .woocommerce-tabs {
  margin-bottom: 5em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-size: 1.2em;
  font-weight: 400;
  padding: 0.8em 1.2em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #eee;
  border: 1px solid #ddd;
  border-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #F4B209;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #fff;
}

.woocommerce div.product .woocommerce-tabs .panel {
  padding: 1.5em;
  margin-top: -1px;
  background: #fff;
  border: 1px solid #ddd;
}


@media (min-width: 545px) {

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0.4em;
    margin-right: -0.4em;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    border: 1px solid #ddd;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    flex-grow: 1;
    text-align: center;
  }

  .woocommerce #content div.product .woocommerce-tabs ul.tabs li,
  .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
  }   

  .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #F4B209 url(images/arrow-tab.png) no-repeat center bottom;
    border-bottom: 1px solid #fff;
  }
 
}


/*--------------------------------------------
  Produtos - Indicador oferta / promoção
--------------------------------------------*/
.woocommerce ul.products li.product .onsale,
.woocommerce.single-product .sale>span.onsale {
  position: absolute;
  top: 0;
  left: 0;
  right: unset;
  background: #cccccc33;
  color: #F7AE01;
  border-radius: 0 0 10px;
  border-color: #E6E6E6;
  border-style: solid;
  border-width: 0 1px 1px 0;
  padding: 0.6em 1em;
  margin: 0;
  font-weight: bold;
  line-height: unset;
  min-height: unset;
}

.woocommerce.single-product .sale:not(.ast-product-gallery-layout-vertical-slider)>span.onsale { top: 0; }



/*--------------------------------------------
  Single do produto - Título
--------------------------------------------*/
.woocommerce div.product h1.product_title {
  color: #000;
  font-size: 2.5em;
  font-weight: normal;
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

.woocommerce .related.products h2, 
.woocommerce .up-sells h2 {
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 140%;
}


/*--------------------------------------------
  Single do produto - Meta tags
--------------------------------------------*/
.woocommerce div.product .product_meta {
  border: 0;
  margin: 0;
  padding: 3em 0 2em;
  display: flex;
  flex-direction: column;
  color: #868686;
  font-size: 0.9em;
}

.woocommerce div.product .product_meta>span {
  font-weight: bold;
}


/*--------------------------------------------
  Single do produto - Preço
--------------------------------------------*/
.single-product div.product p.price {
  padding: 1.2em 0;
}

.single-product div.product p.price bdi {
  font-size: 1.4em;
  color: #5c5c5c;
  font-weight: bold;
}

.single-product div.product p.price del bdi {
  font-weight: normal;
  opacity: 0.8;
  font-size: 1em;
}


/*--------------------------------------------
  Single do produto - Imagens
--------------------------------------------*/
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery .flex-viewport {
  border: 1px solid #ddd;
  cursor: move;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
  border: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs:after, 
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs:before {
  content: none;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  border: 1px solid #ddd;
  width: 100% !important;
  margin: 0 !important;
  clear: none !important;
}

.single-product div.product .woocommerce-product-gallery img {
  margin: 0 auto;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  background: #ffffffcc url(images/zoom.png) no-repeat scroll center center;
  color: #333333;
  font-size: 0;
  width: 40px;
  height: 40px;
  position: absolute;
  right: 1px;
  top: 1px;
  z-index: 100;
  border-radius: 0 0 0 10px;
  border-color: #ddd;
  border-style: solid;
  border-width: 0 0 1px 1px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover {
  background-color: #fff;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:before,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after {
  content: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger img {
  display: none!important;
}
