/*!
Theme Name: Duas Formigas
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Rodrigo Grigoletti
Author URI: https://duasformigasdesign.com.br/
Description: Custom theme for Duas Formigas
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Header */
/* top */

.frases_header_top {
    display: flex;
    align-items: center;
    gap: 3em;
}

.frase_top_1,
.frase_top_2 {
    color: #333;
    font-size: 11px;
    font-weight: 600;
}

.frase_top_1::before {
    content: '';
    display: inline-block;
    width: 19px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='18' viewBox='0 0 21 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.875 12.125V0.75H0.75V12.125H13.875ZM13.875 12.125H20V7.75L17.375 5.125H13.875V12.125ZM6.875 14.3125C6.875 15.5206 5.89562 16.5 4.6875 16.5C3.47938 16.5 2.5 15.5206 2.5 14.3125C2.5 13.1044 3.47938 12.125 4.6875 12.125C5.89562 12.125 6.875 13.1044 6.875 14.3125ZM18.25 14.3125C18.25 15.5206 17.2706 16.5 16.0625 16.5C14.8544 16.5 13.875 15.5206 13.875 14.3125C13.875 13.1044 14.8544 12.125 16.0625 12.125C17.2706 12.125 18.25 13.1044 18.25 14.3125Z' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    vertical-align: middle;
    margin-right: 3px;
}

.frase_top_2::before {
    content: '';
    display: inline-block;
    width: 19px;
    height: 14px; 
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='16' viewBox='0 0 21 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.25 2.5C19.25 1.94772 18.8023 1.5 18.25 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13C1.5 13.5523 1.94772 14 2.5 14H18.25C18.8023 14 19.25 13.5523 19.25 13V2.5ZM20.75 13C20.75 14.3807 19.6307 15.5 18.25 15.5H2.5C1.11929 15.5 0 14.3807 0 13V2.5C0 1.11929 1.11929 0 2.5 0H18.25C19.6307 0 20.75 1.11929 20.75 2.5V13Z' fill='%23333333'/%3E%3Cpath d='M20 5.25C20.4142 5.25 20.75 5.58579 20.75 6C20.75 6.41421 20.4142 6.75 20 6.75H0.75C0.335786 6.75 0 6.41421 0 6C0 5.58579 0.335786 5.25 0.75 5.25H20Z' fill='%23333333'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    vertical-align: sub;
    margin-right: 3px;
}

/* Topo mobile com animação */

.frases_header_top_mobile {
	display: -webkit-box;
    display: -ms-flexbox;
	display: flex;
	gap: 2rem;
	overflow: hidden;
	user-select: none;
}

.frases_header_top_mobile .track {
	font-weight: 500;
	min-width: 75%;
	display: -webkit-box;
    display: -ms-flexbox;
	display: flex;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	gap: 2rem;
	animation: scroll 12s linear infinite;
	animation-delay: 0.5s;
}

@keyframes scroll {
    to {
		transform: translateX(calc(-100% - 2rem));
	}
}

@media (min-width: 768px) {
    .frase_top_1,
    .frase_top_2 {
        font-size: 12px;
        letter-spacing: 1px;
    }
    .frase_top_1::before {
        width: 21px;
        height: 18px;
    }
    .frase_top_2::before { 
        width: 21px;
        height: 16px;
    }
}




.user-icon-link {
    display: inline-block;
    margin-right: 0.5em;
}
.user-icon-link svg {
    vertical-align: middle;
}
.frase_topo {
	font-size: 16px;
	letter-spacing: .5px;
	font-weight: 500;
	text-align: center;
}

/* Topo mobile com animação */
.frase_topo_mobile {
	display: -webkit-box;
    display: -ms-flexbox;
	display: flex;
	gap: 2rem;
	overflow: hidden;
	user-select: none;
}
.track {
	font-weight: 500;
	min-width: 75%;
	display: -webkit-box;
    display: -ms-flexbox;
	display: flex;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	gap: 2rem;
	animation: scroll 12s linear infinite;
	animation-delay: 0.5s;
}
@keyframes scroll {
    to {
		transform: translateX(calc(-100% - 2rem));
	}
}

/* Tipografia */
h1,
h2,https://duasformigasdesign.com.br/loja/wp-admin/site-health.php
h3,
h4 {
	font-family: "Spartan", sans-serif !important;
}

/* Woo */
/* Geral */
.woocommerce-loop-product__title {
	font-weight: 500 !important;
}
.bold-word {
    font-weight: 700;
    display: inline;
    white-space: nowrap;
}
.cfvsw-swatches-option.cfvsw-label-option {
    line-height: 1;
    padding: 10px;
}
.kadence-woo-cart-form-wrap h2,
.woocommerce-checkout h3,
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
	font-size: 28px !important;
}
.woocommerce-mini-cart__buttons .button.checkout.wc-forward {
	padding: .6em 1.2em;
}
.button.wc-backward,
.button.wc-forward{
	padding: .8em 1.6em;
}

/* Loja */
.loop-entry .entry-content-wrap {
	text-align: center;
}
.woocommerce ul.products.woo-archive-btn-button .button:not(.kb-button),
.woocommerce ul.products li.woo-archive-btn-button .button:not(.kb-button) {
	width: auto !important;
	display: inline-block !important;
}

/* Single */
.woocommerce div.product div.summary .price {
	font-size: 1.5rem !important;
    margin: .5em 0 !important;
}
.woocommerce div.product p.stock {
    font-size: 1em;
    font-weight: 600;
}

.woocommerce div.product form.cart .variations label,
.payments-color-scheme-gray legend {
	font-weight: 600 !important;
}
.single-content ul {
	margin: 0 0 1em !important;
}
ul.check-list {
    list-style: none;
    padding-left: 1em !important;
}
ul.check-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}
ul.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M14 2.5l-8.5 8.5-3.5-3.5-1.5 1.5 5 5 10-10z'/%3E%3C/svg%3E");
}
/* back to stock */
.cwginstock-subscribe-form {
	max-width: 400px;
}
.cwginstock-panel-primary {
	border: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}
.cwginstock-panel-heading {
	background-color: var(--global-palette7) !important;
	border: 1px solid var(--global-palette7) !important;
}
.cwginstock-panel-heading h4 {
	font-size: 21px !important;
	color: #333 !important;
}
.cwginstock-panel-body {
	border: 1px solid #ddd;
	border-top: none;
	border-radius: 0 !important;
}

/* Tabela */
#tabela {
	clear: both;
	padding-top: 1em;
}
.tabela {
	display: -ms-grid;
	display: grid;
	gap: 1em;
}

.tabela h3 {
	text-align: center;
}

.tabela_icons {
	max-width: 500px;
    margin: 3em auto 0;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
    padding: 2.3em 1em;
    background: var(--global-palette7);
}

.tabela_icon_col {
	text-align: center;
	max-width: 200px;
	margin: 0 auto;
}

.tabela_icon_col p {
	line-height: 1.4;
	max-width: 190px;
}

.tabela_icon_img {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	min-height: 55px;
}

/* Tshirt */
.tabela_tshirt {
	margin: 3em 0 2em;
}

/* Medidas */
.table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}

.measurements {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-collapse: collapse;
  table-layout: fixed; /* 🔥 3 colunas com mesma largura */
  background: none;
  border: 1px solid #ddd;
  border-radius: 0;
  font: inherit; /* herda a fonte do tema */
}

.measurements th {
 	text-align: center;
 	padding: 10px;
 	border: 1px solid var(--global-palette7);
 	font-weight: 500;
	background: var(--global-palette7);
}

.measurements td{
 	padding: 10px;
 	border-bottom: 1px solid #ddd;
 	border-right: 1px solid #ddd;
	font: inherit;
	text-align: center;
}

.measurements tr td:last-child {
  border-right: none;
}

.measurements tbody tr:last-child td {
  border-bottom: none;
}

.single-product .related.products {
	margin-top: 3em;
}

.single-product .related.products h2 {
	font-size: 31px;
	text-align: center;
	margin-bottom: 1.5em;
}

.single-product .related.products ul {
	max-width: 800px;
	margin: 0 auto 1rem !important;
}

@media (max-width: 420px){
 	.measurements th, .measurements td { 
		padding: 8px;
	}
}

@media (max-width: 719px) {
	.single-product .summary.entry-summary {
		margin-bottom: 0 !important;
	}
}

@media (max-width: 767px) {
	.single-product .related.products h2 {
		font-size: 22px;
	}
}

@media (min-width: 800px) {
	.tabela {
		-ms-grid-columns: 1fr 1fr;
		grid-template-columns: 1fr 1fr;
		gap: 2em;
	}
}

@media (min-width: 992px) {
	.tabela_icons {
		padding: 2.3em 2em;
	}
}

/* Cart */
.woocommerce div.product form.cart .reset_variations {
    font-size: 1em;
}
.woocommerce div.product form.cart .variations label {
    font-weight: 500;
}
/* Reset completo do botão remove */
.woocommerce a.remove {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    color: #333 !important;
    text-indent: 0 !important;
}

.woocommerce a.remove svg,
.woocommerce .woocommerce-mini-cart a.remove svg,
a.woocommerce-remove-tagline svg { /* selectors extras só por segurança */
    stroke: #333;
    fill: none !important; /* ou fill: transparent !important; se preferir */
    width: 18px;    /* ajuste de tamanho */
    height: 18px;   /* ajuste de tamanho */
    vertical-align: middle;
}
.woocommerce a.remove:hover svg,
.woocommerce .woocommerce-mini-cart a.remove:hover svg,
a.woocommerce-remove-tagline:hover svg {
	stroke: #B22222 !important;
}
/* Hover: ícone fica vermelho, sem fundo */
.woocommerce a.remove:hover,
.woocommerce .woocommerce-mini-cart a.remove:hover {
    background: none !important; /* tira o círculo vermelho */
    box-shadow: none !important;
}
/* Caso o tema aplique pseudo-elementos circulares no hover */
.woocommerce a.remove:hover::before,
.woocommerce a.remove::after,
.woocommerce .woocommerce-mini-cart a.remove:hover::before {
    background: none !important;
    content: none !important;
    box-shadow: none !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    padding: .8rem 2rem !important;
}

@media (max-width: 719px) {
	.kadence-woo-cart-form-wrap h2 {
		text-align: center;
	}
	.woocommerce table.shop_table_responsive tr:nth-child(2n) td,
	.woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
		background: none !important;
	}
	.woocommerce-cart table.cart img {
		width: 100px !important;
	}
}

.woocommerce-shipping-totals.shipping .woocommerce-shipping-destination {
	display: none !important;
}

/* Checkout*/
form.woocommerce-checkout .input-text,
form.woocommerce-checkout .select2-selection {
    border-radius: 0 !important;
}
.woocommerce form .form-row label {
    font-weight: 400 !important;
}
.form-row-first {
    clear: both !important;
}
.form-row-last {
    clear: none !important;
}
.person-type-field .select2 {
    width: 100% !important;
}
@media (max-width: 992px) {
    .form-row-first,
    .form-row-last {
        width: 100% !important;
    }
}
#payment #place_order {
    padding: 1rem !important;
}

/* Thank u */
.woocommerce-order-received .entry-title {
	text-align: center;
	margin-bottom: 1.5em;
}
.woocommerce-order-received .entry-title::before {
	content: '';
	display: block;
	margin: 0 auto;
	width: 40px;
	height: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%2328a745' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check-circle'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* Footer */
.wp-block-kadence-iconlist.kt-svg-icon-list-itemsblock-8_514cab-2b ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap .kt-svg-icon-list-single {
    margin-right: 5px !important;
}

@media (max-width: 1024.98px) {
	.icon_list_footer ul li {
		-webkit-box-pack: center;
        -ms-flex-pack: center;
		justify-content: center;
	}
}

@media (min-width: 1025px) {
	.icon_list_footer {
		padding-left: 5em;
	}
}

@media (min-width: 1200px) {
	.icon_list_footer {
		padding-left: 11em;
	}
}

/* For shop/archive pages */
.woocommerce span.onsale {
    background-color: var(--global-palette1) !important;
	text-transform: uppercase !important;
}

/* For single product pages (if different) */
.single-product .woocommerce span.onsale {
    background-color: var(--global-palette1) !important;
	text-transform: uppercase !important;
}
}