/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.0.0
*/
@media screen and (min-width:320px){
	
	.product-gallery-mobile{
		display:block;
	}
	
	.product-gallery-desktop{
		display:none !important;
	}
	
	.entry-content{
		margin-top:0px;
	}
	
	.wp-block-uagb-advanced-heading{
		margin:0px !important;
		padding:0px !important;
	}

	.ast-main-header-wrap .ast-primary-header-bar{
		min-height:60px;
	}
	
	.wp-block-uagb-container.uagb-block-474c825a{
		padding-top:245px;
		padding-bottom:245px;
	}
	
	.auxiliar-mobile-menu ul{
		display: inline-flex;
		justify-content: space-evenly;
	}
	
	.auxiliar-mobile-menu nav img{
		max-height:40px;
	}
	
	.wp-block-columns .wp-block-column:not(:last-child) {
		margin-bottom:0px;
	}
	
	.slider-produtos-home .wc-block-grid__product-image {
			width: 100%;
	}
	
	.slider-produtos-home .wc-block-grid__product-link{
		width:100%;
	}
	
	
	.faixa-cupom .destaque-cupom{
		font-size:1rem;
	}
	
	.faixa-cupom .caixa-cupom{
		font-size:1rem;
		padding:3px 10px;
		margin: 0.5rem 0;
	}
	
	.wc-block-grid__products{
		display:flex !important;
		flex-wrap: initial;
	}
	
	.entry-content .wc-block-handpicked-products{
		overflow-x: scroll;
			overflow-y: hidden;
			scroll-behavior: smooth;
			scroll-snap-type: x mandatory;
		margin-left: 1rem;
	}
	
	.entry-content .wp-block-handpicked-products .wc-block-grid__products .wc-block-grid__product{
		padding:1rem 0.5rem 0 0;
	}
	
	.entry-content .titulo-destaque-home h3 a{
		font-size:1.7rem;
	}
	
	.best-sellers .wc-block-grid__products {
			list-style: none;
			padding: 0;
			margin: 0;
			display: flex;
			flex-wrap: nowrap;
			left: 0px;
			transform: translateX(0%);
	}
	
	.best-sellers {
			overflow-x: scroll;
			overflow-y: hidden;
			scroll-behavior: smooth;
			scroll-snap-type: x mandatory;
			touch-action: pan-x;
			cursor: grab;
			scrollbar-width: none;
	}
	
	.site-content .best-sellers .wc-block-grid__products .wc-block-grid__product{
		max-width: 80%;
    scroll-snap-align: start;
    flex: 1 0 100%;
    margin-right: 2px;
	}
	
	#page .site-content .best-sellers-wrapper .wc-block-grid__product-title {
			font-size: 1.2rem;
	}
	
	
	.best-sellers-wrapper .wc-block-grid__product .wc-block-grid__product-price.price {
			font-size: 1.2rem;
	}
	
	.best-sellers .wc-block-grid__product-link {
			min-height: 313px;
	}
	
	.ast-container .banner-categoria{
		min-height: 400px;
		background-image:url("https://primitivestore.com.br/wp-content/uploads/2024/06/banner-camisetas-mobile-2.jpg");
		background-position:center;
	}
	
}

@media screen and (min-width:1000px){
	
	.product-gallery-desktop{
		display:flex !important;
	}
	
	.product-gallery-mobile{
		display:none;
	}
	
	.faixa-cupom{
		background-color:#f1f1f1;
		
	}
	
	.faixa-cupom .destaque-cupom{
		font-size:1.3rem;
	}
	
	.faixa-cupom .caixa-cupom{
		font-size:1.3rem;
	}
	
	.faixa-cupom{
		display:block;
	}
	
	.auxiliar-mobile-menu{
		display:none;
	}	
	
	.entry-content .wc-block-handpicked-products{
		overflow-x: hidden;
			overflow-y: hidden;
			scroll-behavior: smooth;
			scroll-snap-type: x mandatory;
	}
	
	.entry-content .wc-block-handpicked-products .wc-block-grid__products{
		max-width:100%;
	}
	
	.entry-content .wp-block-handpicked-products .wc-block-grid__products .wc-block-grid__product{
		padding:1rem;
	}
	
	.entry-content .wc-block-handpicked-products{
		margin-left:0px;
	}
	
	.entry-content .titulo-destaque-home h3 a{
		font-size:3rem;
	}
	
	/*Galeria produtos*/
	
	.site-content .ast-article-single .woocommerce-product-gallery{
		width:60% !important;
	}
	
	.woocommerce-product-gallery .flex-viewport{
		height:inherit !important;
	}
	
	.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
		display:flex;
		flex-flow:wrap;
    align-items: flex-start;
		transform:inherit !important;
		width:100% !important;
	}
	
	.woocommerce-product-gallery__image {
			width: 50% !important;
	}
	
	.flex-control-thumbs{
		display:none;
	}

	
	.site-content .best-sellers-wrapper .wc-block-grid__products .wc-block-grid__product {
    max-width: 32%;
	}
	
	#page .site-content .best-sellers-wrapper .wc-block-grid__product-title {
			font-size: 1.4rem;
	}
	
	
	.best-sellers-wrapper .wc-block-grid__product .wc-block-grid__product-price.price {
			font-size: 1.4rem;
	}
	
	.ast-container .banner-categoria{
		min-height: 600px;
		background-image: url(https://primitivestore.com.br/wp-content/uploads/2024/06/banner-camisetas-1.jpg);
	}

}


.ast-container{
	max-width:100%;
	flex-flow:wrap;
}

#primary{
	margin:0;
}

.omnisend-form-66392079fbff0b5b335be4d0-badge{
	display:none !important;
}

.site-header{
	position:sticky !important;
	top:0;
}


/*Menu auxiliar mobile*/


.auxiliar-mobile-menu {
    background-color: #f1f1f1;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}
	
.nav-auxiliar-mobile-menu ul {
	margin: 0;
	padding: 0;
	width: 100%;
	list-style-type: none;
}

.auxiliar-mobile-menu a {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: block;
}

.auxiliar-mobile-menu li{
	text-align:center;
}

.auxiliar-mobile-menu img {
    display: block;
    margin: 0 auto;
}

/*Footer */

.site-footer-primary-section-1 li{
	font-family:"altivo", sans-serif;
	font-weight:bold;
	margin-bottom:10px;
}

.site-footer-primary-section-1 a{
	color:#222 !important;
}

.site-footer-primary-section-1 h2{
	display:none;
}

.site-footer-primary-section-2 .widget:first-child{
	margin-bottom:0px !important;
}

.site-footer-primary-section-2 .widget:first-child p{
	margin-bottom:1rem;
}

.site-footer-primary-section-3 .widget{
	margin-bottom:0px !important;
}

.site-footer-primary-section-3 .widget:first-child p{
	margin-bottom:1rem;
}

#mc_embed_signup input{
	width:100%;
	margin-bottom:1rem;
}

/*Header*/

.ast-woo-header-cart-info-wrap {
    display: none !important;
}

h1, h2, h3, h4, p, a, li{
	font-family:"altivo", sans-serif;
}

.main-header-bar-navigation{
	font-family:"altivo", sans-serif;
}

.ast-above-header-bar{
	background-color:#f1f1f1 !important;
}
.ast-above-header-bar p{
	color:#676766;
}

.ast-below-header-bar{
	background-color:#e2e2e1 !important;	
}

.ast-header-html{
	width:100%;
}

.faixa-frete{
	text-align:center;
	background-color: #000;
	color: #fff;
	display: inline-flex;
	justify-content: space-around;
	align-items: center;
	width:100%;
	font-size:1rem;
	padding:0.5rem 0;
}

.titulo-destaque-home{
	text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.entry-content .titulo-destaque-home a{
	color:#fff;
	font-family: "arno-pro", serif;
	font-weight:400;
	line-height:100%;
}

.titulo-destaque-home h3{
	text-align:center;
	font-family: "arno-pro", serif !important;
font-weight: 400;
font-style: italic;
	padding:0;
	margin:0 !important;
	color:#fff;
	line-height:100%;
}

.ast-woocommerce-container{
	padding:0px !important;
}

/* Substitulo home */

.sucessos-primitive{
	text-align:center;
	font-size:3rem;
	margin-top:1em;
	font-family: "arno-pro", serif !important;
    border-bottom: 2px solid #f8c588;
    display: table;
}


/* Slider Produtos */


.wp-block-handpicked-products .woo-custom-installments-offer {
    margin: 0 auto;
		margin-bottom:0 !important;
}

.wp-block-handpicked-products .wc-block-grid__product-add-to-cart{
	width:100%;
}

.wp-block-handpicked-products .wc-block-grid__product-add-to-cart .add_to_cart_button{
	width:100%;
}

.wc-block-handpicked-products{
	margin-bottom:1rem;
}

.wc-block-handpicked-products .wc-block-grid__products .wc-block-grid__product{
	text-align:center;
}

.wp-block-handpicked-products .wc-block-grid__product-rating{
	display:none;
}

ul.product-colors-list {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 1rem auto;
	width:30%;
}

li.product-color {
    content: "";
    display: block;
    border: 1px solid #666;
    padding: 2px;
    border-radius: 50%;
		background-color:#eee;
}

li.product-color span {
    display: block;
    /* width: 100%; */
    /* height: 100%; */
    /* content: ""; */
    padding: 4px;
    border-radius: 50%;
}

.product-colors-list .Preta span{
	background-color:#000;
}

.product-colors-list .Vermelha span{
	background-color:#FF0000;
}

.product-colors-list .Branca span{
	background-color:#ffffff;
}

.wc-block-grid__product-cart-icon {
    background-color: #fff;
    padding: 0.7rem 0.7rem 0.2rem 0.7rem;
    position: absolute;
    bottom: 2rem;
    right: 1rem;
}

ul.wc-block-grid__products {
    margin: 0;
		flex-wrap: nowrap;
	margin-top:-2rem;
}

.entry-content .wc-block-handpicked-products .wc-block-grid__products .wc-block-grid__product{
	max-width:80%;
	scroll-snap-align: start;
}

.wc-block-handpicked-products .wc-block-grid__products .wc-block-grid__product{
	margin-bottom:0;
	font-size:1rem  !important;
}

.wc-block-grid__product-image, .wc-block-grid__product-link{
	width:100%;
}

.wc-block-grid__products .wc-block-grid__product{
	border:none;
}

.wc-block-handpicked-products .ast-select-options-trigger {
	bottom:2rem;
	top:inherit;
	visibility:visible;
	opacity:1;
}

.ast-on-card-button .ahfb-svg-iconset{
	opacity:1;
}

.wc-block-handpicked-products .added_to_cart.wc-forward{
	display:none;
}

.entry-content .wc-block-handpicked-products .wc-block-grid__product .wc-block-grid__product-image{
	margin:0;
}

.wc-block-grid__product-discount {
    position: absolute;
    z-index: 1;
    top: 2rem;
    background-color: #000;
    color: #fff;
    padding: 0.3rem 1rem 0.1rem 0.7rem;
    text-transform: uppercase;
    border-radius: 0px 1rem 1rem 0px;
}

/*Subtítulos*/

h3.wp-block-heading {
    margin: 0 auto;
    max-width: 1200px !important;
    /* display: block; */
}

.entry-content h3{
	font-family: "arno-pro", serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.1rem;
    margin-bottom: 0;
}


/* Quem somos nós home */

.quem-somos-nos-home h3{
	font-family: "arno-pro", serif !important;
	font-size:2rem !important;
	font-style:italic;
}


/* Página de produtos */

.pdp-sticky-atc {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 10px;
  z-index: 9998;
  display: none;
}
.pdp-sticky-atc__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.pdp-grid{
	display: flex;
	max-width: 90%;
	margin: 0 auto;
	justify-content: space-between;
	padding-top: 2rem;
}

.pdp-media{
	width: 65%;
}

.pdp-summary{
	width: 32%;
}

.woo-custom-installments-offer{
	display: none;
}

.pdp-gallery {
  display: grid;
  grid-template-columns: 1fr;         /* por padrão, 1 coluna */
  gap: 12px;
}

.pdp-gallery__item {
	height: 350px;
	display: flex;
	justify-content: center;   /* centraliza horizontal */
	align-items: flex-start;   /* topo do container */
	overflow: hidden;          /* evita que a imagem “escape” */
}

.pdp-grid .product_title{
	font-size: 2.7rem;
}

.pdp-grid .wopb-variation-switcher-price ins{
	font-size: 2rem;
}

/* === SWATCHES DE COR (somente color) === */
.wopb-variation-swatches[data-attribute_name="attribute_pa_color"] {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* cada swatch vira bolinha só para COR */
.wopb-variation-swatches[data-attribute_name="attribute_pa_color"] .wopb-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  position: relative;
  transition: transform .1s ease, box-shadow .1s ease;
}

/* esconder o texto somente nas CORES */
.wopb-variation-swatches[data-attribute_name="attribute_pa_color"] .wopb-swatch.wopb-swatch-label {
  font-size: 0;
}

/* hover/selecionado somente nas CORES */
.wopb-variation-swatches[data-attribute_name="attribute_pa_color"] .wopb-swatch:hover {
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.wopb-variation-swatches[data-attribute_name="attribute_pa_color"] .wopb-swatch.selected {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* MAPA DE CORES (adicione as suas) */
.wopb-variation-swatches[data-attribute_name="attribute_pa_color"] .swatch-preta  { background:#000; border-color:#000; }
.wopb-variation-swatches[data-attribute_name="attribute_pa_color"] .swatch-branca { background:#fff; border-color:#d1d5db; }

/* tooltips do ProductX (cores): opcional ocultar */
.wopb-variation-swatches[data-attribute_name="attribute_pa_color"] .wopb-variation-swatch-tooltip { display:none; }

/* === TAMANHOS permanecem intactos === */
/* (não há regra genérica mais; logo tamanhos seguem o estilo do ProductX) */

.woocommerce-js div.product form.cart .reset_variations{
	display: none;
}

.pdp-sizechart-trigger{
	display: block;
}

.woocommerce-variation.single_variation {
    display: block;
    clear: both;
}

/* Container do acordeão */
.pdp-accordion {
  border-bottom: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2rem;
}

/* Cada item */
.pdp-accordion .acc-item + .acc-item {
  border-top: 1px solid #e5e7eb;
}

/* Cabeçalho clicável */
.acc-header {
  width: 100%;
  color: #000;
  background-color: transparent;
  border: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.acc-header:hover, .acc-header:focus{
	background-color: transparent;
}

/* Ícone seta */
.acc-caret {
  transition: transform .2s ease;
}
.acc-header[aria-expanded="true"] .acc-caret {
  transform: rotate(180deg);
}

/* Painel com transição (max-height animada) */
.acc-panel {
  padding: 0 16px;
  overflow: hidden;
  max-height: 0;               /* colapsado */
  transition: max-height .25s ease;
}
.acc-panel.is-open {
  padding: 12px 16px 16px;
}

/* Conteúdo interno */
.pdp-usp ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
}


.wopb-wishlist-add{
	display: none;
}


.pdp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  z-index: 99999; /* bem alto pra passar de ProductX/Elementor */
}
.pdp-modal[aria-hidden="false"] { display: grid; place-items: center; }
.pdp-modal__dialog {
  background:#fff; width:min(720px,92vw);
  border-radius:10px; padding:20px; position:relative;
}
.pdp-modal__close { position:absolute; right:8px; top:8px; background:transparent; border:0; font-size:28px; cursor:pointer; }




@media (min-width: 600px) {
  .pdp-gallery {
    grid-template-columns: repeat(2, 1fr); /* em telas médias pra cima, 2 colunas */
  }
}

.pdp-gallery__item img {
	height: 100%;              /* ocupa 100% da altura do container */
	width: auto;               /* ajusta largura proporcionalmente */
	object-fit: cover;       /* garante que a imagem não deforme */
  border-radius: 6px;
}




@media (max-width: 767px) {
  .pdp-sticky-atc { display: block; }
  .pdp-summary .single_add_to_cart_button { display: none; } /* evita duplicidade no mobile */
}


.woocommerce-notices-wrapper {
    width: 100%;
}

.wopb-builder-container{
	max-width:inherit !important;
}

.ast-article-single .product_title{
	font-weight:bold;
}

.variations h4{
	margin-bottom:0.5rem;
	font-size:1rem;
}

.cfvsw-swatches-container{
	margin-bottom:1rem;
}

.ast-article-single .cfvsw-swatches-container{
	grid-gap: 10px;
}

.ast-article-single .cfvsw-swatches-option {
	padding:0.8rem 1.2rem;
}

.ast-article-single .cfvsw-swatches-option:hover {
	background-color:#f1f1f1;
	border:1px solid #f1f1f1;
}

.woocommerce-js div.product form.cart .button.single_add_to_cart_button{
	padding:20px;
	font-size:1.2rem;
	font-weight:bold;
	letter-spacing:1px;
	margin:0px;
}



/* Mais vendidos */

.best-sellers .woo-custom-installments-group {
    display: none;
}

.best-sellers .wc-block-grid__product-rating{
	display:none;
}

.best-sellers-wrapper{
	padding: 2rem;
    background-color: #f1f1f1;
	margin-bottom:2rem;
}

.wp-block-product-best-sellers ul {
    margin-top: 0px;
	justify-content: space-between;
}

h1.product_title.entry-title.wopb-builder-product-title {
    font-weight: bold;
}

.best-sellers-wrapper .wc-block-grid__products .wc-block-grid__product {
    text-align: center;
}

.best-sellers-wrapper .wc-block-grid__product .product-colors-list span {
    padding: 8px;
}

.best-sellers a.wp-block-button__link.add_to_cart_button {
    display: block;
}

.best-sellers .original-price del .amount{
	font-size:1rem;
}

.best-sellers h2{
	font-family: "arno-pro", serif !important;
}

.best-sellers-wrapper .wp-block-uagb-advanced-heading {
    text-align: center;
}

.best-sellers-wrapper h2 {
    font-family: "arno-pro", serif !important;
    margin: 0 auto;
    border-bottom: 2px solid #f8c588;
    /* text-align: center; */
    display: inline-block;
	font-size:2.625rem !important;
	margin-bottom:2rem !important;
}

.best-sellers-wrapper hr{
	display:none;
}

.best-sellers .wc-block-grid__product-onsale{
	margin-top:1rem !important;
}

/* Fim best sellers */

.wp-block-separator{
	border:none;
}


.best-option-wrapper{
	background-color:#f1f1f1;
	padding:1rem;
	text-align:left;
}

.best-option-wrapper a{
	padding:0.5rem 1rem;
	background-color:#000;
	color:#fff;
	display:inline-block;
	text-transform:uppercase;
	font-weight:bold;
}

.wc-block-grid__product-onsale {
    border-radius: 0px !important;
    padding: 0.5rem 0.5rem !important;
    border: none !important;
    top: 0px !important;
    margin-top: 2rem !important;
    margin-right: 0.3rem !important;
    line-height: 100% !important;
    font-size: 1rem !important;
}

.wc-block-grid__product-onsale b {
    display: block;
	font-family: "arno-pro", serif !important;
	font-size:1.5rem;
	font-weight:700;
}

/*Galeria mobile*/

.product-gallery-mobile-container{
	overflow-x: scroll;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	touch-action: pan-x;
	cursor: grab;
	scrollbar-width: none;
}

.product-gallery-mobile-container ol{
	list-style:none;
	padding:0;
	margin:0;
	display: flex;
	flex-wrap: nowrap;
	left: 0px;
	transform: translateX(0%);
}

.product-gallery-mobile-container .carousel__slide {
    max-width: 80%;
    scroll-snap-align: start;
    flex: 1 0 100%;
		margin-right:2px;
}

.product-gallery-mobile .carousel__navigation {
    position: absolute;
    margin-top: -2rem;
}

.product-gallery-mobile .carousel__navigation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.product-gallery-mobile .carousel__navigation-button {
    /* border: 1px solid #fff; */
    display: block;
    position: relative;
    cursor: pointer;
		width:2rem;
	text-align:center;
}

.product-gallery-mobile .carousel__navigation-button span{
	width:0.5rem;
	height:0.5rem;
	background-color:#fff;
	display:inline-block;
	border-radius:50%;
}

/* Página categorias */

.ast-container{
	max-width:inherit !important;
}

.ast-container .widget-area{
	display:none;
}

.ast-container #primary{
	width:100%;
	margin-top:0 !important;
}

.ast-container .banner-categoria{
	width: 100%;
    background-size: cover;
}

