/*
 Theme Name: Hello Elementor Child - Salvi Customizations
 Template: hello-elementor
 Description: Tema filho para manter customizacoes fora do Hello Elementor principal.
 Author: Salvi Custom
 Version: 1.0.0
 Text Domain: hello-elementor-child-salvi
*/

/* Hello Elementor passa a sublinhar links em .page-content apos atualizacao. */
.page-content a,
.comments-area a,
.elementor a {
	text-decoration: none !important;
}

.page-content a.reset_variations {
	text-decoration: underline !important;
}

/* Rodape: remove marcadores nativos das listas do Elementor/Jeg Kit. */
.elementor-location-footer ul,
.elementor-location-footer ol,
.elementor-location-footer li,
[data-elementor-type="jkit-footer"] ul,
[data-elementor-type="jkit-footer"] ol,
[data-elementor-type="jkit-footer"] li,
[data-elementor-type="footer"] ul,
[data-elementor-type="footer"] li,
footer .elementor-icon-list-items,
footer .elementor-icon-list-item,
footer .elementor-nav-menu,
footer .elementor-nav-menu li,
.site-footer ul,
.site-footer li {
	list-style: none !important;
	list-style-type: none !important;
}

.elementor-location-footer ul,
[data-elementor-type="jkit-footer"] ul,
[data-elementor-type="footer"] ul,
footer .elementor-icon-list-items,
footer .elementor-nav-menu,
.site-footer ul {
	margin: 0 !important;
	padding-inline-start: 0 !important;
}

.elementor-location-footer li::marker,
[data-elementor-type="jkit-footer"] li::marker,
[data-elementor-type="footer"] li::marker,
footer .elementor-icon-list-item::marker,
footer .elementor-nav-menu li::marker,
.site-footer li::marker {
	content: none !important;
	display: none !important;
}

/* Remove cart icons from product grid buttons. */
.woocommerce ul.products li.product a.button i,
.woocommerce ul.products li.product a.button svg,
.jkit-product-grid .jkit-product-block a.button i,
.jkit-product-grid .jkit-product-block a.button svg {
	display: none;
}

.single-product .sc-product__summary .price,
.single-product .sc-product__summary .woocommerce-variation-price .price,
.single-product .sc-product__summary .sc-variable-price .price {
	display: inline-block;
	margin: 0 0 16px;
	padding: 10px 18px;
	border: 1px solid rgba(15, 58, 109, 0.2);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(15, 58, 109, 0.08);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.1;
	color: #0f3a6d;
}

.single-product .sc-product__summary .single_add_to_cart_button {
	padding: 12px 22px;
	border-radius: 12px;
}

.single-product .sc-product__summary .woocommerce-variation-price,
.single-product .sc-product__summary .woocommerce-variation {
	margin-bottom: 16px;
}

.single-product .sc-product__summary .sc-variable-price {
	margin-bottom: 16px;
}

.single-product .sc-product__summary .variations {
	width: 100%;
	max-width: 360px;
	margin: 0 0 18px;
	border-collapse: separate;
	border-spacing: 0 12px;
	background: transparent;
}

.single-product .sc-product__summary .variations tr {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: transparent;
}

.single-product .sc-product__summary .variations th.label {
	display: block;
	padding: 0;
	text-align: left;
	color: #4b5563;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: transparent;
}

.single-product .sc-product__summary .variations td.value {
	display: block;
	padding: 0;
	background: transparent !important;
	border: 0;
	box-shadow: none;
}

.single-product .sc-product__summary .variations th,
.single-product .sc-product__summary .variations td,
.single-product .sc-product__summary .variations tbody,
.single-product .sc-product__summary .variations tr {
	background-color: transparent !important;
}

.single-product .sc-product__summary .variations tbody tr:nth-child(odd) td,
.single-product .sc-product__summary .variations tbody tr:nth-child(odd) th,
.single-product .sc-product__summary .variations tbody tr:hover td,
.single-product .sc-product__summary .variations tbody tr:hover th {
	background-color: transparent !important;
}

.single-product .sc-product__summary .variations th,
.single-product .sc-product__summary .variations td {
	padding: 0 !important;
	line-height: 1.4;
}

.single-product .sc-product__summary .variations select {
	width: 100%;
	max-width: 100%;
	height: 44px;
	padding: 0 36px 0 14px;
	border-radius: 12px;
	border: 1px solid #cbd5e1;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23243b53' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6 6.5-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
	box-shadow: none !important;
	color: #243b53;
	font-size: 14px;
	font-weight: 600;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-product .sc-product__summary .variations select:hover {
	border-color: #0f3a6d;
}

.single-product .sc-product__summary .variations select:focus {
	outline: none;
	border-color: #0f3a6d;
	box-shadow: 0 0 0 3px rgba(15, 58, 109, 0.1);
}

.single-product .sc-product__summary .reset_variations {
	display: inline-block;
	margin-top: 4px;
	padding: 0;
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
	text-decoration: underline;
}

.single-product .sc-product__summary .sc-product__attributes {
	margin-bottom: 10px;
}

.single-product .sc-product__summary .sc-product__attribute {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 4px;
	color: #243b53;
}

.single-product .sc-product__summary .sc-product__attribute-label {
	min-width: 80px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #4b5563;
}

.single-product .sc-product__summary .sc-product__attribute-value {
	font-size: 14px;
	font-weight: 600;
	color: #111827;
}

.single-product .sc-product__summary .sc-product__buy {
	margin-top: 12px;
}

.single-product .sc-product__summary .sc-product__stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f1f8f4;
	color: #0f7a3f;
	font-size: 12px;
	font-weight: 700;
	text-transform: none;
}

.single-product .sc-product__summary .woocommerce-variation-availability .stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #f3f7fb;
	color: #0f7a3f;
	font-weight: 700;
	text-transform: none;
}

.single-product .sc-product__summary .woocommerce-variation-add-to-cart {
	margin-top: 10px;
}

/* Keep Portfolio tabs in horizontal layout on smaller screens. */
@media (max-width: 1024px) {
	.page-id-176 .elementor-element.elementor-element-c8ada03.elementor-widget-n-tabs.e-n-tabs-mobile,
	.page-id-176 .elementor-element.elementor-element-c8ada03.elementor-widget-n-tabs.e-n-tabs-tablet {
		--n-tabs-heading-display: flex !important;
		--n-tabs-content-display: flex !important;
	}

	.page-id-176 .elementor-element.elementor-element-c8ada03.elementor-widget-n-tabs > .e-n-tabs > .e-n-tabs-heading {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
	}

	.page-id-176 .elementor-element.elementor-element-c8ada03.elementor-widget-n-tabs > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title {
		order: initial !important;
		width: auto !important;
		margin-block-start: 0 !important;
		margin-block-end: 0 !important;
	}
}

/* Fix responsividade da sidebar lateral para exibir os botões em coluna em todos os celulares */
@media (max-width: 1024px) {
	/* Força o widget a ocupar 100% da largura, ignorando a configuração 'inline' (width-auto) do Elementor */
	.sc-mobile-quick-links .elementor-widget__width-auto {
		width: 100% !important;
		max-width: 100% !important;
	}

	.sc-mobile-quick-links .elementor-icon-list-items.elementor-inline-items,
	.elementor-popup-modal .elementor-icon-list-items.elementor-inline-items,
	.dialog-widget-content .elementor-icon-list-items.elementor-inline-items {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		flex-wrap: nowrap !important;
	}

	.sc-mobile-quick-links .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item,
	.elementor-popup-modal .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item,
	.dialog-widget-content .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 12px !important;
		justify-content: flex-start !important;
		display: flex !important;
	}
	
	.sc-mobile-quick-links .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item a {
		width: 100% !important;
		justify-content: flex-start !important;
	}
}

/* Produto simples: estoque antes do preco, mantendo a mesma estrutura visual do produto variavel. */
body.single-product .product .sc-product__buy > .sc-simple-variation-availability {
	display: flex !important;
	flex-direction: column;
	order: 9 !important;
}

body.single-product .product .sc-product__buy > a.sc-signup-to-buy {
	order: 30 !important;
}

body.single-product .product .sc-product__buy > .sew-estimativa-entrega-container {
	order: 40 !important;
}

/* Footer: reduz o vão grande entre icone e texto na lista de contato (endereco/email/telefone). */
.elementor-element-3b7a875 .elementor-icon-list-icon {
	width: auto !important;
	min-width: 0 !important;
	flex: 0 0 auto !important;
	justify-content: flex-start !important;
	text-align: left !important;
	padding-inline-end: 8px !important;
}

.elementor-element-3b7a875 .elementor-icon-list-text {
	padding-inline-start: 0 !important;
}
