/*
 Theme Name:   Vexiro Child
 Theme URI:    http://klbtheme.com/vexiro/
 Description:  Vexiro Child Theme
 Author:       KlbTheme
 Author URI:   http://themeforest.net/user/KlbTheme
 Template:     vexiro
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  vexiro-child
*/

.site-page-header.style-4 {
  /*margin-bottom: 1.25rem;*/
  height:100vh;
}
@media screen and (max-width: 768px) {
  .site-page-header.style-4 {
    height:50vh;
  }
}
@media screen and (min-width: 768.1px) {
  .site-page-header.style-4 {
    /*margin-bottom: 2.25rem;*/
  }
}
.site-page-header.style-4 .page-header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.site-page-header.style-4 .page-header-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(3, 7, 18, 0.3);
  z-index: 1;
}
.site-page-header.style-4 .page-header-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.site-page-header.style-4 .site-page-header-inner {
  position: relative;
  color: var(--color-white);
  padding-top: 3.5rem;
  padding-bottom: 7rem;
  z-index: 2;
}
@media screen and (min-width: 576.1px) {
  .site-page-header.style-2 .site-page-header-inner {
    padding-top: 9.125rem;
    padding-bottom: 9.125rem;
  }
}
@media screen and (min-width: 768.1px) {
  .site-page-header.style-4 .site-page-header-inner .page-title {
    font-size: 4.125rem;
  }
}
.site-page-header.style-4 .site-page-header-inner .entry-description p {
  margin-bottom: 0;
}

.site-page-header.style-4 .site-page-header-inner {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
}
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estiliza o modal */
.post-type-archive-produto .modal {
    visibility: hidden;  /* Oculta sem remover do fluxo */
    opacity: 0;  /* Torna transparente */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Conteúdo do modal */
.post-type-archive-produto .modal-content {
    background: #fff;
    padding: 20px;
    width: 30rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Botão de fechar */
.post-type-archive-produto .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.post-type-archive .modal.active {
    visibility: visible;  /* Torna visível */
    opacity: 1;  /* Torna opaco */
    display: flex; /* Mantém o flex do layout */
}

/* Estilizando a lista */
.post-type-archive-produto  #category-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.post-type-archive-produto  #category-list li {
    margin: 10px 0;
}

.post-type-archive-produto  #category-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.post-type-archive-produto  #category-list a:hover {
    text-decoration:underline;
}

.product-categories-wrapper {
    background:black;
    color:white;
    text-align:center;
    padding:2rem;
    margin-bottom:4rem;
}

.product-categories-wrapper h2 {
    display: inline-block;
    position: relative;cursor:pointer
}

.product-categories-wrapper h2:after {
    content: "";
    position: absolute;
    color:white;
    top: 50%;
    right: -3rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: currentColor transparent transparent transparent;
}

.related-products-wrapper{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}