/**
Theme Name: Iberlan
Author: grafreak.net
Author URI: https://grafreak.net
Description: Iberlan Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iberlan
Template: astra
*/

/*PRODUCTS*/
.products .product h2{
	margin-bottom: 0 !important;
}
.products .product .woocommerce-Price-currencySymbol {
	font-size: 0.6em !important;
}
/*CATEGORY LIST HOME*/
.wc-block-product-categories-list-item {
	margin: 0 !important;
}
.wc-block-product-categories-list-item a {
	text-decoration: none !important;
}
.wc-block-product-categories-list--has-images {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 0;
	padding: 0;
}
@media screen and (min-width: 768px) {
	.wc-block-product-categories-list--has-images {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
@media screen and (min-width: 1024px) {
	.wc-block-product-categories-list--has-images {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	}
}
.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item__image {
	display: block !important;
	max-width: 100% !important;
	border: 0 !important;
	margin: 0 0 10px 0 !important;
}
.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item__name {
	font-family: 'Bebas Neue',sans-serif;
  	font-size: 1.2em;
  	line-height: 1em;
	text-decoration: none !important;
	color: var(--ast-global-color-3) !important;
}
/*SIDEBAR*/
.sidebar-main {
	padding-right: 30px;
	margin-top: 30px;
	margin-bottom: 30px;
}
.sidebar-main .widget {
	margin-bottom: 24px;
}
.wp-block-woocommerce-product-categories .wc-block-product-categories-list .wc-block-product-categories-list-item {
	padding: 0;
	margin-bottom: 0 !important;
}
.sidebar-main .wp-block-heading {
	font-size: 1em;
	margin-bottom: 0;
}

/* Product Branding */
.wc-pao-addon-name.wc-pao-legend {
	font-size: 2.5em;
  	font-weight: 400;
  	font-family: 'Bebas Neue',sans-serif;
  	line-height: 1.3em;
	padding: 0;
}
.wc-pao-addon-wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	align-items: stretch;
}
.wc-pao-addon-wrap:before {
	display: none;
}
.wc-pao-addon-wrap > div  {
	width: 23%;
	text-align: center;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	border: 3px solid #ddd;
	border-radius: 5px;
	align-items: stretch;
  	justify-content: space-around;
}
.wc-pao-addon-wrap > div input {
	display: none;
}
.wc-pao-addon-wrap > div:has(input:checked) {
	border-color: var(--ast-global-color-0);
	background-color: #f9f9f9;
}
.woocommerce .wc-pao-addon .wc-pao-addon-wrap label {
	display: flex;
	flex-direction: column;
	line-height: 1em;
	justify-content: space-around;
	height: 100%;
}
.woocommerce .wc-pao-addon .wc-pao-addon-wrap input+label {
	cursor: pointer;
	padding: 10px;
}
.woocommerce .wc-pao-addon .wc-pao-addon-wrap label img {
	display: block;
}
/* Efecto de transición suave */
.wc-pao-addon-wrap > div {
	transition: all 0.3s ease;
}

/* Efecto hover para mejor UX */
.wc-pao-addon-wrap > div:hover {
	border-color: #aaa;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wc-pao-addon-wrap > div img {
	max-height: 80px;
	margin: 0 auto 10px auto;
}
.wc-pao-addon-wrap > div img {
	max-height: 80px;
	margin: 0 auto 10px auto;
}

ul.products .product-labels {
	position: absolute;
	left: 0 !important;
	top: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex-direction: column;
}
div.product .product-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 1em;
}
.flex-viewport .product-labels {
	position: absolute;
  	top: .5em;
  	left: .5em;
 	z-index: 9;
}
.product-labels .ast-on-card-button, .product-labels .ast-shop-product-out-of-stock, .product-labels .product-tag {
	position: static !important;
	/* font-family: "Bebas Neue"; */
	text-transform: uppercase;
	font-size: 0.8em;
	border-radius: 0;
	box-shadow: none;
	left: 0 !important;
	font-weight: bold !important;
  	line-height: normal !important;
  	letter-spacing: normal !important;
	padding: 0.4em 0.8em !important;
	bottom: inherit !important;
	color: #FFF;
	width: fit-content;
}
.product-labels .product-tag {
	background-color: var(--ast-global-color-1);
}
.product-labels .product-tag.ast-onsale-card {
	background-color: var(--ast-global-color-0);
}
.product-labels .ast-shop-product-out-of-stock {
	background-color: #D57974 !important;
}