:root {
	--farma-principal: #8DA81D;
	--farma-secundario: #F9D704;
	--farma-terciario: #6F3EC4;
}

.wpcf7-submit {
	background: var(--farma-principal) !important;
	color: #fff !important;
	font-weight: bold !important;
}

.wpcf7-submit:hover {
	background: var(--farma-secundario) !important;
	color: #000 !important;
}

.woocommerce-cart .cross-sells-product{
	display:none !important;
}

.wp-element-button, .wp-block-button__link {
	background-color: var(--farma-principal) !important;
	color: #fff;
	font-weight: bold;
}

.loop-add-to-cart-btn {
	display: none !important;
}

.variations {
	display: none;
}

.woostify-tab-wrapper:first-child {
	/* display: none; */
}

.sucursal_selector {
	background: #fff;
	color: var(--e-global-color-d49ac81);
	text-transform: uppercase;
	padding: 3px 40px 3px 10px;
	font-weight: 600;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 5px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Ctitle%3Edown-arrow%3C/title%3E%3Cg fill='%2302B6CF'%3E%3Cpath d='M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z' fill='%2302B6CF'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
	background-size: 0.6em;
	background-position: calc(100% - 1.3em) center;
	background-repeat: no-repeat;
}

#confirm-cambio-sucursal .title {
	line-height: 30px;
}

#confirm-cambio-sucursal .confirm {
	background: var(--farma-principal);
}

#confirm-cambio-sucursal .cancel {
	background: #b03921;
}

.webcimesModals {
	z-index: 10000;
}

#sucursal-modal {
	font-size: 16px;
	font-weight: bold;
}
#sucursal-modal .sucursal_selector {
	width: 100%;
	font-size: 16px;
}
#sucursal-estas {
	background: #e77414;
	color: #fff;
	padding: 5px;
	display: inline;
	border-radius: 4px;
	font-size: 15px;
}

.product .summary .price .amount {
	margin-top: 30px;
	color: var(--farma-terciario);
	font-size: 31px;
	font-weight: bold;
	display: block;
}

.woocommerce ul.product {
	display: flex;
	flex-wrap: wrap;
}

.woocommerce ul.product .stock {
	color: var(--farma-principal) !important;
}

/* .woocommerce ul.product form.cart .button {
	background: var(--e-global-color-d49ac81);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	padding: 13px 30px;
	border-radius: 10px;
	margin-top: 0;
	display: block;
	margin-bottom: 0;
	text-align: center;
} */

/* .elementor-16 .elementor-element.elementor-element-ceabbce.wpr-grid-last-element-yes .wpr-grid-item-below-content > div:last-child {
	position: unset !important;
} */

.woocommerce ul.products li.product .price .amount,
.wpr-grid-item-price .woocommerce-Price-amount,
.productos-destacados ul li a .woocommerce-Price-amount {
	margin-top: 20px !important;
	color: var(--farma-terciario) !important;
	font-size: 20px !important;
	font-weight: bold !important;
	text-align: center !important;
}

.single-product .woocommerce-Price-amount {
	margin-bottom: 30px !important;
}

.single-product .wc-dnd-file-upload {
	padding-top: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3,
.productos-destacados ul li a h2 {
	/* min-height: 73px; */
	color: var(--farma-principal);
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 18px;
}

.woocommerce ul.products li.product .add_to_cart_button,
.wpr-grid-item-price .add_to_cart_button,
.productos-destacados ul li .add_to_cart_button {
	background: var(--farma-principal);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	padding: 7px 10px;
	border-radius: 10px;
	margin: 5px auto;
	display: block !important;
	width: 200px;
	text-align: center;
	position: relative;
	line-height: 20px;
	transition: all 0.3s ease;
}

.woocommerce ul.products li.product .add_to_cart_button:hover,
.wpr-grid-item-price .add_to_cart_button:hover,
.productos-destacados ul li .add_to_cart_button:hover {
	background: var(--farma-secundario);
}

.woocommerce ul.products li.product .add_to_cart_button.in-stock,
.wpr-grid-item-price .add_to_cart_button.in-stock {
	padding: 5px 10px 5px 40px;
}

.woocommerce ul.products li.product .add_to_cart_button.in-stock:before,
.wpr-grid-item-price .add_to_cart_button.in-stock:before,
.productos-destacados ul li .add_to_cart_button:not(.venta-presencial):before {
	display: block;
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: var(--farma-secundario);
	content: "";
	top: -5px;
	left: -3px;
	color: var(--farma-principal);
	/* Agregamos estas propiedades para el SVG */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");

	background-repeat: no-repeat;
	background-position: center;
	background-size: 60%;
}

.productos-destacados ul li .add_to_cart_button {
	margin-top: 10px;
}

.productos-destacados ul li .add_to_cart_button:before {
	top: -3px;
	left: -5px;
}

.productos-destacados ul li .add_to_cart_button:nth-child(2) {
	display: none !important;
}

.wpr-grid-item-price,
.wpr-grid-item-price * {
	width: 100%;
}

.product-loop-meta .price {
	display: none !important;
}

.product-loop-meta .price.not-hidden {
	display: block !important;
}

.products .woostify-out-of-stock-label.position-left,
.wpr-grid-item-price .woostify-out-of-stock-label.position-left {
	position: absolute;
	top: 0;
	left: 0;
	background: #b03921;
	color: #fff;
	width: 90px;
	padding: 5px 10px;
	display: block;
	font-size: 15px;
}

.single-product .in-stock {
	display: none;
}

.single-product .product_title {
	color: var(--farma-principal);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 40px;
	font-weight: bold;
}

.single-product .single_add_to_cart_button {
	background: var(--farma-secundario) !important;
}

.single-product .single_add_to_cart_button:hover {
	color: var(--farma-principal) !important;
	background-color: #fff !important;
}

.productos-destacados ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.productos-destacados ul:not(.product-slide) {
	gap: 10px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

@media (max-width: 1000px) {
	.productos-destacados ul:not(.product-slide) {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.productos-destacados ul:not(.product-slide) {
		grid-template-columns: repeat(1, 1fr);
	}
}

.productos-destacados ul li {
	position: relative;
	width: 100%;
	max-width: 500px;
	margin: 0 auto 30px;
}

.productos-destacados ul li a {
	display: grid;
	grid-template-columns: 130px auto;
	grid-template-rows: repeat(4, auto);
	gap: 10px;
	text-decoration: none;
}

.productos-destacados ul li a img {
	grid-column: 1 / 2;
	grid-row: 1 / 5;
}

/* .productos-destacados ul li a .woocommerce-Price-amount {
	margin-top: 20px !important;
	color: #ff8c00 !important;
	font-size: 18px !important;
	font-weight: bold !important;
	text-align: center !important;
} */

/* .productos-destacados ul li .add_to_cart_button {
	background: var(--e-global-color-d49ac81);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	padding: 7px 10px 7px 30px;
	border-radius: 10px;
	margin: 5px 20px 5px auto;
	display: block !important;
	width: 200px;
	text-align: center;
	position: relative;
	line-height: 20px;
} */

/* .productos-destacados ul li .add_to_cart_button:before {
	display: block;
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: #ff8c00;
	background-position-x: 0%;
	background-position-y: 0%;
	background-repeat: repeat;
	background-image: none;
	background-size: auto;
	content: "";
	top: -3px;
	left: -4px;
	color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 60%;
} */

.productos-destacados ul li > .price {
	display: none;
}

/* .productos-destacados ul li .add_to_cart_button:last-of-type {
	display: none !important;
} */

.archive.tax-product_cat.term-medicos .products .product .price {
	display: none;
}

.archive.tax-product_cat.term-medicos h2 {
	font-size: 20px;
	font-weight: bold;
	color: #ff8c00;
}

.archive.tax-product_cat.term-medicos .products .product .button {
	background: var(--e-global-color-d49ac81);
	color: #fff;
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
	margin-right: 1%;
}

.wc-block-components-product-badge {
	display: none !important;
}

.wc-block-cart-item__product .wc-block-components-product-metadata__description {
	display: none !important;
}

.mwb-bfwp-booking-quantity__public-show {
	display: none !important;
}

.mwb-mbfw-total-area {
	display: none !important;
}

.product-template-default.single .product-type-mwb_booking .product_meta {
	display: none !important;
}

.wp-block-woocommerce-cart .wc-block-product-new {
	display: none !important;
}

.wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) {
	display: none !important;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-price,
.wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description {
	display: none !important;
}

:is(
		.elementor-widget-woocommerce-product-add-to-cart,
		.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
		.elementor-widget-wc-add-to-cart,
		.woocommerce div.product .elementor-widget-wc-add-to-cart
	)
	form.cart.variations_form
	.woocommerce-variation-add-to-cart,
:is(
		.elementor-widget-woocommerce-product-add-to-cart,
		.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
		.elementor-widget-wc-add-to-cart,
		.woocommerce div.product .elementor-widget-wc-add-to-cart
	)
	form.cart:not(.grouped_form):not(.variations_form) {
	display: block !important;
}

.select2-container--default .select2-selection--single {
	height: 40px !important;
	line-height: 35px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 35px;
}

#billing_country_field,
#shipping_country_field {
	display: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	color: var(--farma-principal);
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--farma-principal);
	color: #fff;
}

.post-type-archive-product .woocommerce-products-header,
.post-type-archive-product .woocommerce-breadcrumb {
	display: none;
}

.post-type-archive-product .woocommerce-result-count{
	color: #636363;
}
