.site-header-row.site-header-row-center-column {
	grid-template-columns: 1fr 2fr 1fr;
}

.site-main-header-wrap .site-header-item.site-header-focus-item.site-header-item-main-navigation.header-navigation-layout-stretch-false.header-navigation-layout-fill-stretch-false, #secondary-navigation, .secondary-menu-container.header-menu-container, #secondary-menu, #menu-item-157 {
	width: 100%
}

#dgwt-wcas-search-input-1 {
	border-radius: 5px;
	border: 1px solid #4dc40f;
	background: #fff;
	padding: 10px 48px 10px 24px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	top: 17px;
	right: 27px;
	left: auto;
}

#masthead a[href*="/minha-conta"] {
	padding: 8px 16px;
	border-radius: 5px;
	border: 1px solid #4dc40f;
	display: inline-flex;
  align-items: center;
  gap: 6px;
	color: #2a344a;
}

#masthead a[href*="/minha-conta"]:hover {
	border-width: 2px;
}

#masthead a[href*="/minha-conta"]::before {
	content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' width='20' viewBox='0 0 448 512'%3E%3Cpath fill='%234dc40f' d='M224 248a120 120 0 1 0 0-240 120 120 0 1 0 0 240zm-29.7 56C95.8 304 16 383.8 16 482.3 16 498.7 29.3 512 45.7 512l356.6 0c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3l-59.4 0z'/%3E%3C/svg%3E");
	line-height: 1;
  flex-shrink: 0;
}
/*
.drawer-toggle.header-cart-button {
	position: relative;
}
*/
.header-cart-total.header-cart-is-empty-true {
	background: #4dc40f;
	font-size: 1rem;
	width: 1.5rem;
	height: 1.5rem;
	color: #2a344a;
}


/* Featured Products */

.wp-block-group.home-featured-products {
	overflow: hidden;
}

.featured-products-block ul li h5 a {
	width: 100%;
}
.wp-block-query.alignwide.featured-products-block.is-layout-flow.wp-block-query-is-layout-flow {
	margin: auto;
	max-width: 1290px;
}

.home-featured-products .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
	background-color: transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--global-palette13);    /* Mantém a tua border original */
    color: var(--global-palette13);
	font-weight: 600;
}

.home-featured-products .wc-block-components-product-button__button::before {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%; width: 0;
    background: var(--global-palette13);
    z-index: 0;
    transition: width .28s cubic-bezier(0.4,0,0.2,1);
}

.home-featured-products .wc-block-components-product-button__button:hover::before {
    width: 100%;
}

.home-featured-products .wc-block-components-product-button__button span,
.home-featured-products .wc-block-components-product-button__button .button-text {
    position: relative;
    z-index: 1;
    transition: color .2s;
}

.home-featured-products .wc-block-components-product-button__button:hover {
    color: #fff!important; /* Ou a cor contrastante sobre o fundo preenchido */
}


.featured-products-block .wp-block-post-featured-image {
	/*height: 300px!important;
	border: 1px solid var(--global-palette2);
	border-radius: 5px;*/
	margin: 0px auto!important;
}

.featured-products-block .wp-block-post-featured-image a {
	max-height: 290px;
}

.services-block {
	display: grid;
    grid-template-columns: repeat(3, 1fr); /* ajustar ao número de colunas que queres */
	gap: 20px;
}

.services-block .service-box {
	opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
	 display: flex;
    flex-direction: column;
    justify-content: flex-start; /* conteúdo crescente para baixo */
    min-height: 235px;   /* ajusta conforme o visual desejado */
    height: 100%;
    /* altura mínima dá aspecto de alinhamento mesmo com pouco conteúdo */
}

/* O container interno cresce para empurrar "Saber mais" para o fim */
.service-box .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
}

.service-box p.wp-block-paragraph:last-child {
    margin-top: auto;
    margin-bottom: 0 !important;
}

.service-box p.wp-block-paragraph:last-child a {
	text-decoration: none;
}


.service-box p.wp-block-paragraph:last-child a:hover {
	color: var(--global-palette13);
}

/* Quando entram na viewport */
/*.services-block.es-ativo .service-box {
  opacity: 1;
  transform: translateY(0);
}*/

.service-box.es-ativo {
	opacity: 1;
	transform: translateY(0);
}






.services-block .service-box {
	display: flex;
	gap: 16px;
	padding: 24px 20px;
	border: 1px solid transparent!important;
	transition: all .15s;
}

.services-block .service-box:hover {
	background: #fff!important;
	border-color: var(--global-palette13)!important;
	/*transform: translateY(-5px);
	transition-delay: 0.1s!important;*/
}

.services-block .service-box .wp-block-kadence-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all .15s;
}

.services-block .service-box:hover .wp-block-kadence-icon {
	color: var(--global-palette13);
			background: #fff;

}

.services-block .service-box h3 {
	font-size: .88rem;
	font-weight: 700;
	margin-bottom: 5px;
	color: #0b1120
}

.services-block .service-box p {
	font-size: .8rem;
	line-height: 1.6
}




.service-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}



.service-box h6 {
  min-height: 48px;
}

.slide-section {
	position: relative;
}

.botao-slide {
	position: absolute;
	z-index: 999;
	top: 78%;
	right: 0;
	width: 20%;
	justify-content: end;	
}

.botao-slide a {
	padding: 16px 48px;
}


footer.site-footer {
	color: white;
}

.site-footer #block-11 {
	text-align: justify;
}

.site-footer #block-13 ul, .site-footer #block-16 ul  {
	list-style: none;
}

.site-footer-middle-section-2, .site-footer-middle-section-3 {
	padding-top: 1rem;
}

.site-footer #block-16 ul li:not(:has(a[href*="ifaks"])):not(:has(a[href*="mochilas"])) {
    display: none;
}

.site-footer #block-15, 
.site-footer #block-12  {
	margin-left: 1.8em;
}

#nav_menu-3 a {
	color: white;
}

.phone-mail {
	display: flex;
	gap: 1rem;
}

.phone-mail a {
	color: white;
	font-size: 0.9rem;
	display: flex;
	justify-content: center;
}

.phone-mail a:hover {
	color: #4dc40f;
}

.phone-mail a span svg {
	width: 18px;
	height: 18px;
	vertical-align: middle;
}

.phone-mail a span {
	margin-right: 0.3rem;
}

.phone-mail .top-head-phone small {
	margin-top: 3px;
	margin-left: 3px;
}

/* 1. Garante que o grid alinha os cards todos pela altura */
.featured-product-query-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: stretch; /* força cada li a esticar à altura do mais alto */
}

/* 2. Card flex column para crescer naturalmente */
.featured-product-query-block .wp-block-post.product {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-featured-products {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  cursor: pointer;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}

.home-featured-products h6 {
	text-align: justify;
}


.home-featured-products:hover {
	border: 2px solid var(--global-palette13)!important;
	box-shadow: 0 6px 24px rgba(5,150,105,.12);
  	transform: translateY(-3px);
}

/* 3. O grupo que contem preço+botão: força a ir ao fundo */
.featured-product-query-block .wp-block-group {
  margin-top: auto!important;
  width: 100%;
  /* Este é o container do preço + botão, que queremos colado ao fundo */
}