/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


.hero-section[data-type=type-2]>figure {
     border-radius: 50px 50px 0px 0px;
     margin: 0px 50px 0px 50px;
}

@media (max-width: 999.98px) {
.hero-section[data-type=type-2]>figure {
     border-radius: 0px 0px 0px 0px;
     margin: 0px 00px 0px 00px;
}

}

#custom-overlay {
    position: absolute;
    top: 148px; /* ajuste para a altura do header */
    left: 0;
    width: 100%;
    height: calc(100vh - 100px); /* ajusta para cobrir a tela abaixo do header */
    background-color: rgba(0, 0, 0, 0.8); 
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease; /* efeito de transição suave */
    z-index: 9999;
}

#header {
    z-index: 99999;
}

#custom-overlay.active {
    opacity: 1;
    visibility: visible;
}

/*
[data-products="type-1"] .product {
  align-items: flex-start !important;
  padding: 20px;
  background-color: var(--theme-palette-color-6);
}

[data-products] .product .entry-excerpt {
  text-align: left;
}

/*.ct-media-container{
    width: unset !important;
}*/

[data-products] figure {
  width: unset !important;
}*/

/* Sombra no breadcrumb que está no topo */

[data-block*="281"] > [class*="ct-container"] > article[class*="post"] {
  box-shadow: 0px 10px 20px rgba(44, 62, 80, 0.05);
  background-color: var(--theme-palette-color-8);
}

/* Formularios */
fieldset {
  padding: 30px;
  border: 0;
}

.frm_fields_container legend {
  display: none;
}

.frm_fields_container > div {
  margin-bottom: 20px;
}

/* Página:
  como-comprar/solicitar-orcamento/ar-condicionado/
  como-comprar/solicitar-orcamento/bombas-de-calor/
*/
.page-id-524 h1.page-title,
.page-id-536 h1.page-title {
  font-size: 48px;
  line-height: 1.313;
}

@media (max-width: 999.98px) {
  .page-id-524 h1.page-title,
  .page-id-536 h1.page-title {
    font-size: 40px;
  }
}

@media (max-width: 689.98px) {
  .page-id-524 h1.page-title,
  .page-id-536 h1.page-title {
    font-size: 32px;
  }
}

/* Margem  */
article
  > .entry-content
  > *:where(:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright)) {
  padding: 0px 32px 0px 32px;
}

.nav_breadcrumb {
  padding-left: 0 !important;
}

/* Page title */
[data-prefix="single_page"] .entry-header .page-title,
[data-prefix="single_page"] .entry-header .page-description {
  background-color: white;
  /*  width: 80%;*/
}

/*@media (max-width: 999.98px) {
  [data-prefix="single_page"] .entry-header .page-title,
  [data-prefix="single_page"] .entry-header .page-description {
    width: 100%;
  }

  [data-prefix="single_page"] .entry-header .page-description {
    margin-top: 0;
    padding: 0px 16px 0px 16px !important;
  }
  [data-prefix="single_page"] .entry-header .page-title {
    padding: 16px 16px 0px 16px !important;
  }
}*/

[data-prefix="single_page"] .entry-header .page-description {
  padding: 0px 32px 0px 32px;
}
[data-prefix="single_page"] .entry-header .page-title {
  border-radius: 50px 50px 0px 0px;
  padding: 32px 32px 0px 32px;
}

@media (max-width: 999.98px){
 [data-prefix="single_page"] .entry-header .page-title {
  border-radius: 16px 16px 0px 0px;
} 
}


.product-category,
[data-products] .product {
  flex-wrap: wrap; /* Allow wrapping to control layout on smaller screens */
  flex-direction: unset !important;
  border: 1px solid var(--theme-palette-color-6);
  padding: 20px;
}

.product-category figure {
  width: 50%;
  margin: 0;
}

.product-category h2,
.product-category .entry-excerpt {
  width: 100%; /* Ensure title and excerpt occupy full width within the content area */
    text-align: left;
}

.product-category h2 {
  margin: 0 0 10px 0; /* Spacing below the title */
}

.product-category .entry-excerpt {
  margin: 0;
}

/* Wrap h2 and .entry-excerpt in a container using the sibling selector */
.product-category figure + h2 {
    width: 75%;
    padding-left: 24px;
  text-align: left;
  box-sizing: border-box; /* Include padding within the width */
}

[data-products] .woocommerce-loop-product__title {
    padding-left: 24px;
  text-align: left;

}

@media (max-width: 689.98px){
.product-category figure + h2 {
    width: unset;
    padding-left: unset;
}

}

/* Adjust layout for smaller screens if needed */
@media (max-width: 768px) {
  .product-category {
    flex-direction: column; /* Stack figure and content vertically on smaller screens */
  }

  .product-category figure, 
  .product-category figure + h2 {
    width: 100%;
  }
}



/* na pagina de produto, coloco a imagem do lado direito */
@media(min-width: 1000px) {
    .ct-default-gallery .product-entry-wrapper,.ct-stacked-gallery .product-entry-wrapper {
        flex-direction: row-reverse;
    }

        .ct-default-gallery .entry-summary, .ct-stacked-gallery .entry-summary {
        margin-inline-end: 40px;
        margin-inline-start: 0px !important;
        width: calc(100% - var(--product-gallery-width, 50%));
    }


}

