/*
Theme Name: Daxfy Store
Theme URI: https://lojadaxfy.com.br
Description: Tema da Daxfy Store — acessórios de tecnologia. Child theme do Twenty Twenty-Five, direção visual "Fluxo".
Author: Daxfy
Version: 1.0.0
Template: twentytwentyfive
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: daxfy-store
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Cartão de produto */
.woocommerce ul.products li.product {
	background: var(--wp--preset--color--superficie);
	border: 1px solid var(--wp--preset--color--borda);
	border-radius: 12px;
	padding: 1rem;
	transition: border-color .15s ease, transform .15s ease;
}
.woocommerce ul.products li.product:hover {
	border-color: var(--wp--preset--color--marca);
	transform: translateY(-2px);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: var(--wp--preset--font-size--pequeno);
	line-height: 1.4;
	font-weight: 500;
}

/* Preço */
.woocommerce .price {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	color: var(--wp--preset--color--tinta);
}
.woocommerce .price del {
	font-weight: 400;
	opacity: .6;
	margin-right: .4em;
}
.woocommerce .price ins {
	text-decoration: none;
	color: var(--wp--preset--color--marca);
}

/* Selo de promoção */
.woocommerce span.onsale {
	background: var(--wp--preset--color--urgencia);
	color: #fff;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .02em;
	padding: .25em .8em;
	min-height: 0;
	min-width: 0;
	line-height: 1.8;
}

/* Botões */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--wp--preset--color--marca);
	color: var(--wp--preset--color--superficie);
	border-radius: 8px;
	font-weight: 500;
	padding: .85em 1.75em;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--wp--preset--color--marca-escuro);
	color: var(--wp--preset--color--superficie);
}
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: var(--wp--preset--color--marca);
}

/* Ficha técnica */
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	font-family: var(--wp--preset--font-family--specs);
	font-size: var(--wp--preset--font-size--pequeno);
}

/* Aviso de estoque */
.woocommerce .stock.in-stock { color: var(--wp--preset--color--sucesso); font-weight: 500; }
.woocommerce .stock.out-of-stock { color: var(--wp--preset--color--urgencia); font-weight: 500; }

/* Acessibilidade: foco sempre visível */
:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--wp--preset--color--marca);
	outline-offset: 2px;
}
