/*
Theme Name: Agrosserra
Theme URI: https://agrosserra.com.br
Template: hello-elementor
Author: Respira Comunicação
Author URI: https://respiracomunicacao.com.br
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1762229569
Updated: 2025-11-04 01:12:49
*/

/* Carrossel home */
.mainSwiper { width: 100%; }
.mainSwiper .swiper-slide img { width: 100%; height: auto; }

.legendas-swiper {
	background-color: #00743c;
	display: flex !important;
	font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
	justify-content: center;
	flex-wrap: nowrap;
	color: #fff;
	text-align: center;
	margin-top: -100px;
	margin-bottom: 30px;
	overflow: visible !important;
	text-transform: uppercase;
	z-index: 2 !important;
}

.legendas-swiper .swiper-slide {
	flex: 0 0 auto;
	padding: 10px;
	cursor: pointer;
	transition: all 0.2s;
	margin: 0;
}

.legendas-swiper .swiper-slide-thumb-active {
	transform: scale(1.4) !important;
	margin-top: 0;
	margin-bottom: -10px;
	background-color: #015a2f;
}

.legenda-titulo { font-weight: bold; font-size: 37px; line-height: 40px }
.legenda-qtd { font-size: 16px; font-weight: bold; margin: 3px 0; line-height: 20px }
.legenda-desc { font-size: 13px; line-height: 16px }

@media (max-width: 768px) {
	.legendas-swiper {margin-top: 0}
	.legendas-swiper .swiper-slide-thumb-active { margin-top: -5px; margin-bottom: -5px; }
}

/* Posts blog */
.loop-categoria {
  margin-bottom: 40px;
  text-align: center;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width:768px) {
	.posts-grid {
	  grid-template-columns: repeat(1, 1fr);
	}
}

.post-item {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 385px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.overlay {
  background: rgba(0, 0, 0, 0.4);
  transition: all .3s ease-in;
  inset: 0;
  position: absolute;
  color: white;
  width: 100%;
  padding: 30px;
  padding-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
}

.overlay:hover,
.overlay:focus,
.overlay:active {
	background: rgba(0, 0, 0, 0.6);
}

.overlay h2 {
	font-size: 32px;
	max-width: 66%;
	text-align: left;
	font-weight: 500;
	margin: 0;
}

.overlay h2 a,
.overlay h2 a:hover,
.overlay h2 a:focus,
.overlay h2 a:active {
	color: white;
}

.btn-ler-mais {
  background: #007535;
  transition: all .2s ease-out;
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 14px;
  width: 30%;
  text-decoration: none;
  text-wrap-mode: nowrap;
}

.btn-load-more {
    background: #007535;
    color: #fff;
    font-size: 23px;
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    margin-top: 20px;
    cursor: pointer;
    line-height: 0;
}

.btn-load-more:hover,
.btn-load-more:focus,
.btn-load-more:active,
.btn-ler-mais:hover,
.btn-ler-mais:focus,
.btn-ler-mais:active {
	background: #005825;
	color: #fff;
}

/* Carrossel detalhado de produtos */
.produtos-slider {
  display: flex;
  flex-direction: column;
  gap: 3rem;
	font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
}

/* --- BLOCO DETALHE (produto ativo) --- */
.detalhe-conteudo {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.detalhe-imagem {
  background: #FFF4C0;
  flex: 0 0 500px;
  aspect-ratio: 1/1;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detalhe-imagem img {
  max-width: 90%;
  height: auto;
  object-fit: contain;
}

.detalhe-texto {
  flex: 1;
  color: #3c3c3c;
}

.detalhe-texto h4 {
  font-size: 20px;
  text-transform: uppercase;
  color: #007535;
  letter-spacing: 4px;
  margin-bottom: 0.4rem;
}

.detalhe-texto h2 {
  font-size: 46px;
  font-weight: 700;
  color: #2B1C15;
  margin: 0 0 1rem;
  line-height: 54px;
}

.detalhe-texto p.descricao {
  margin-bottom: 1.2rem;
  line-height: 1.6;
  color: #444;
}

.detalhe-texto p.info {
  font-size: 0.95rem;
  margin: 0.2rem 0;
}
.detalhe-texto p.info strong {
  color: #000;
}

/* --- MINIATURAS (SWIPER) --- */
.slider-area {
  position: relative;
  width: 100%;
}

.swiper {
  padding-bottom: 2rem;
}

.slider-area .swiper-slide {
  width: auto !important;
  cursor: pointer;
}

.thumb-card {
  width: 140px;
  background: #fff;
  text-align: center;
  transition: 0.3s;
  overflow: hidden;
}

.thumb-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  transition: 0.2s;
}

.thumb-card .info {
  padding: .5rem;
}

.thumb-card h4 {
  font-size: 14px;
  color: #007535;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

.thumb-card p {
  font-size: 0.8rem;
  color: #666;
  margin: 0.2rem 0 0;
}

.thumb-card:hover img,
.miniatura.ativo .thumb-card img {
	padding: 0;
	background-color: #FFF4C0;
}

/* linha classica */
.ps-alho-linha-classica .thumb-card h4 {
  color: #005825;
}
.ps-alho-linha-classica .detalhe-imagem,
.ps-alho-linha-classica .thumb-card:hover img,
.ps-alho-linha-classica .miniatura.ativo .thumb-card img {
	background-color: #005825;
}

/* linha premium */
.ps-alho-linha-premium .detalhe-texto h2,
.ps-alho-linha-premium .thumb-card h4 {
  color: #6B247B;
}
.ps-alho-linha-premium .detalhe-texto h4 {
	color: #DEB769;
}
.ps-alho-linha-premium .detalhe-imagem,
.ps-alho-linha-premium .thumb-card:hover img,
.ps-alho-linha-premium .miniatura.ativo .thumb-card img {
	background-color: #4B2A6B;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
  .detalhe-conteudo {
	flex-wrap: wrap;
  }
	
  .detalhe {
    flex-direction: column;
    text-align: center;
  }

  .detalhe-imagem {
    flex: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .detalhe-texto {
    padding: 0 1rem;
  }

  .thumb-card {
    width: 120px;
  }
}

/* Carrossel reduzido de produtos */
.categorias-slider { position: relative; width: 100%; margin-bottom: 2rem; }
.categorias-slider .swiper-slide {text-align: center; width: auto !important; flex-shrink: 0; }
.cat-thumb-card { display: block; overflow: hidden; text-align: center; transition: .3s; }
.cat-thumb-card img { width: auto; height: 200px !important; transition: all .2s ease; display: block; margin: 0 auto; }
.cat-thumb-card:hover img { transform: scale(1.1) }
.cat-thumb-card .info { padding: .6rem; color: white; font-family: var( --e-global-typography-primary-font-family ), Sans-serif; }
.cat-thumb-card h4 { font-size:19px; font-weight: bold; line-height: 26px; margin: 0; text-transform: uppercase; }
.cat-thumb-card p { font-size: 12px; margin: .3rem 0 0; }

.slider-alho-agrosserra .cat-thumb-card .info,
.slider-cenoura-agrosserra .cat-thumb-card .info,
.slider-graos-agrosserra .cat-thumb-card .info,
.slider-alho-linha-classica .cat-thumb-card .info {
	color: #007535;
}

@media (max-width: 768px) {
	.categorias-slider .swiper-slide {
		max-width: 250px;
	}
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: 0 !important;
}

.swiper-pagination-bullet-active {
	background: #007535 !important;
}

.slider-maca-agrosserra .swiper-pagination-bullet-active,
.slider-beterraba-agrosserra .swiper-pagination-bullet-active,
.slider-alho-linha-premium .swiper-pagination-bullet-active {
	background: #fff !important;
}