/**
 * Base da loja Capricho (Hello theme + WooCommerce puro).
 * Botões, inputs, stepper de quantidade e notices no padrão do tema.
 */

/* ==========================================================
   Botões
   ========================================================== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: #111 !important;
	background-color: #111 !important;
	color: #fff !important;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 14px 28px;
	transition: background 0.25s ease, color 0.25s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: #333 !important;
	background-color: #333 !important;
	color: #fff !important;
}

/* Botão desabilitado */
.woocommerce a.button.disabled,
.woocommerce button.button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ==========================================================
   Campos de formulário
   ========================================================== */
.woocommerce input[type='text'],
.woocommerce input[type='email'],
.woocommerce input[type='tel'],
.woocommerce input[type='password'],
.woocommerce input[type='number'],
.woocommerce input[type='search'],
.woocommerce select,
.woocommerce textarea {
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff;
	font-size: 14px;
	color: #1c1c1c;
	box-shadow: none;
}

.woocommerce input[type='text']:focus,
.woocommerce input[type='email']:focus,
.woocommerce input[type='tel']:focus,
.woocommerce input[type='password']:focus,
.woocommerce input[type='number']:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
	border-color: #1c1c1c;
	outline: none;
}

.woocommerce label {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: #1c1c1c;
}

/* ==========================================================
   Stepper de quantidade (produto e carrinho)
   ========================================================== */
.capricho-qty-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #ddd;
	border-radius: 27px;
	overflow: hidden;
	background: #fff;
}

.capricho-qty-stepper button {
	appearance: none;
	border: none;
	background: #f5f5f5;
	color: #333;
	width: 44px;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.capricho-qty-stepper button:hover {
	background: #e8e8e8;
}

.capricho-qty-stepper input.qty {
	width: 54px;
	height: 52px;
	border: none !important;
	text-align: center;
	font-size: 15px;
	color: #1c1c1c;
	background: #fff;
	box-shadow: none !important;
	border-radius: 0;
	-moz-appearance: textfield;
}

.capricho-qty-stepper input.qty::-webkit-outer-spin-button,
.capricho-qty-stepper input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ==========================================================
   Notices e mensagens
   ========================================================== */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
	border-top: none;
	border-left: 3px solid #111;
	background: #fafafa;
	border-radius: 0;
	font-size: 14px;
	color: #444;
	padding: 14px 18px;
}

.woocommerce .woocommerce-error {
	border-left-color: #c0392b;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
	display: none;
}

/* Preços em Montserrat (base para todas as áreas) */
.woocommerce .price,
.woocommerce-page .price,
.woocommerce-Price-amount {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
