/*
Theme Name:  Adolfo Theme
Theme URI:   https://adolfoncontroles.com
Author:      Adolfo N Controles
Description: Tema personalizado para Adolfo N Controles – WooCommerce B2B.
Version:     1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License:     GNU General Public License v2 or later
Text Domain: adolfo-theme
Tags:        woocommerce, custom-theme, b2b, industrial
*/

.whatsapp-floating {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1000;
	display: inline-flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: #25d366;
	color: #ffffff;
	box-shadow: 0 8px 24px rgba(11, 11, 11, 0.2);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-floating:hover,
.whatsapp-floating:focus-visible {
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(11, 11, 11, 0.28);
}

.whatsapp-floating .icon-whatsapp {
	font-size: 26px;
}

.product-card-thumb {
	position: relative;
}

.product-image-badge {
	position: absolute;
	top: 12px;
	z-index: 1;
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	padding: 4px 10px;
	border-radius: 9999px;
	font-family: DM Sans, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	box-shadow: 0 4px 12px rgba(11, 11, 11, 0.12);
}

.product-image-badge--saving {
	left: 12px;
	background-color: #ea7d02;
	color: #ffffff;
}

.product-image-badge--stock {
	right: 12px;
	border: 1px solid #003a9f;
	background-color: rgba(255, 255, 255, 0.95);
	color: #003a9f;
}

.product-search {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.product-search .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.product-search input[type='search'] {
	min-width: 0;
	flex: 1;
	height: 48px;
	padding: 0 20px;
	border: 1px solid #d4d4d4;
	border-radius: 9999px;
	background-color: #ffffff;
	color: #003a9f;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	outline: 2px solid transparent;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-search input[type='search']::placeholder {
	color: #a3a3a3;
}

.product-search input[type='search']:focus {
	border-color: #003a9f;
	box-shadow: 0 0 0 3px rgba(0, 58, 159, 0.12);
	outline: 0;
}

.product-search .btn {
	flex-shrink: 0;
}

.product-search-clear {
	flex-shrink: 0;
	color: #737373;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	white-space: nowrap;
}

.product-search-clear:hover,
.product-search-clear:focus-visible {
	color: #ea7d02;
}

@media (max-width: 640px) {
	.whatsapp-floating {
		right: 16px;
		bottom: 16px;
		width: 52px;
		height: 52px;
	}
}

@media (max-width: 767px) {
	.product-search {
		flex-wrap: wrap;
	}

	.product-search input[type='search'] {
		flex-basis: 100%;
	}

	.product-search .btn {
		flex: 1;
	}
}
