/* Theme Name: Apoteka
Theme URI: http://example.com
Author: Phillipe Calmet Williams
Author URI: https://phillipecw.com/
Description: Custom theme for Apoteka.
Version: 1.2.1
Requires at least: 6.8
Tested up to: 6.9
WC requires at least: 8.0
WC tested up to: 10.6
License: Private
Text Domain: aptk */

:root {
	--aptk_green: #09B2B5;
	--aptk_lgreen: #82CF30;
	--aptk_gray: #444444;
	--aptk_lgray: #999999;
}

body {
    background-color: #ffffff;
    font-family: 'Foco';
	overflow-x: hidden;
	width: 100vw;
}

p {
	margin-bottom: .5rem;
	padding: .5rem;
}

.page_inside h2 {
	margin-bottom: .5rem;
	font-size: 1.25rem;
	padding: .5rem;
}

.aptk_green {
    color: var(--aptk_green);
}

.aptk_lgreen {
    color: var(--aptk_lgreen);
}

.aptk_lgray {
    color: var(--aptk_lgray);
}

.bg_aptk_green {
    background-color: var(--aptk_green);
}

.bg_aptk_lgreen {
    background-color: var(--aptk_lgreen);
}

.bg_aptk_lgray {
    background-color: var(--aptk_lgray);
}

.border_aptk_green {
    border-color: var(--aptk_green);
}

.border_aptk_lgreen {
    border-color: var(--aptk_lgreen);
}

.border_aptk_lgray {
    border-color: var(--aptk_lgray);
}

.page_inside {
    padding: 2rem 5rem 5rem;
}

.shidden {
    display: none !important;
}

@media screen and (min-width: 768px) {
	.md\:block {
		display: block !important;
	}
}

@media screen and (max-width: 767px) {
    .page_inside {
        padding: 2rem 0;
    }
}

.main_button {
    background-color: #ffffff;
	color: var(--aptk_green);
	border: 2px solid var(--aptk_green);
	border-radius: 50px;
	text-transform: uppercase;
	font-size: 0.8rem;
	padding: 1rem 2.4rem;
}

.breadcrumb {
    background-color: #efefef;
}

.woocommerce-cart .breadcrumb,
.woocommerce-checkout .breadcrumb {
    background-color: #ffffff;
}

/* - - - header - - - */
.aws-container .aws-search-form .aws-form-btn {
    background: transparent;
}

#toggleSearch svg path,
.aws-container .aws-search-form .aws-form-btn svg path {
    fill: var(--aptk_green);
}

.aws-container .aws-show-clear .aws-search-field {
    border-right-width: 0;
}

.search_columns li,
.woocommerce-wishlist .products li {
	width: 30.75%;
	float: left;
	margin: 0 3.8% 2.992em 0;
    margin-left: 0px;
	padding: 0;
	position: relative;
	margin-left: 0;
	list-style: none outside;
}

.search_columns li:first {
	clear: both;
}

ul#menu-main-menu > li {
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.ico_home {
    background-image: url('assets/images/ico_home.png');
    background-position: top left;
    background-repeat: no-repeat;
    padding: 0.25rem 1rem 0.25rem 2rem;
}

.ico_contacto {
    background-image: url('assets/images/ico_contacto.png');
    background-position: top left;
    background-repeat: no-repeat;
    padding: 0.25rem 1rem 0.25rem 2rem;
}

.ico_dermo {
    background-image: url('assets/images/ico_dermo.png');
    background-position: top left;
    background-repeat: no-repeat;
    padding: 0.25rem 1rem 0.25rem 2rem;
}

.ico_natura {
    background-image: url('assets/images/ico_natura.png');
    background-position: top left;
    background-repeat: no-repeat;
    padding: 0.25rem 1rem 0.25rem 2rem;
}

.ico_dieta {
    background-image: url('assets/images/ico_dieta.png');
    background-position: top left;
    background-repeat: no-repeat;
    padding: 0.25rem 1rem 0.25rem 2rem;
}

.ico_aceite {
    background-image: url('assets/images/ico_aceite.png');
    background-position: top left;
    background-repeat: no-repeat;
    padding: 0.25rem 1rem 0.25rem 2rem;
}

@media screen and (max-width: 767px) {
    .ico_home, .ico_contacto, .ico_dermo, .ico_natura, .ico_dieta, .ico_aceite {
        margin-left: 2rem;
    }
}

/* - - - content - - - */
.content-p2 p {
    padding: .5rem;
}

.home_banner .splide__slide p img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.splide__arrows {
    /*display: none;*/
}

.home_banner .splide__pagination {
    bottom: 2.75rem;
}

.home_banner .splide__pagination li button {
    background: #ffffff;
    opacity: 0.5;
    border: 1px solid var(--aptk_green);
    transform: scale(2.4);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.home_banner .splide__pagination li button.is-active {
    opacity: 1;
    transform: scale(2.4);
}

@media screen and (max-width: 767px) {
    .splide__arrows {
        /*display: block;*/
    }
}

.blog_tag_cloud a.tag-cloud-link {
    border-radius: 50px;
    border: 1px solid black;
    padding: 0.25rem 1rem;
    margin: 0.5rem 0.25rem;
	display: inline-block;
}

.blog_tag_cloud a.tag-cloud-link:nth-child(2n):after {
     content: "\A";
     white-space: pre;
}

/* - - - products - - - */
.woocommerce .products li,
.search .products li {
	text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.search ul.products li.product .woocommerce-loop-product__title,
.woocommerce-wishlist ul.products li.product .woocommerce-loop-product__title {
	font-weight: 700;
	height: 5rem;
	padding: .5em 0;
	margin: 0;
	font-size: 1em;
}

/* PDP: benefits + how to use */
.aptk_pdp_value_props {
	margin: 12px 0 8px;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}
.aptk_pdp_value_props__block + .aptk_pdp_value_props__block {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #f0f0f0;
}
.aptk_pdp_value_props__title {
	font-weight: 700;
	color: var(--aptk_gray);
	padding: 0 0 6px;
}
.aptk_pdp_value_props__list {
	margin: 0;
	padding: 0 0 0 18px;
	list-style: disc outside;
}
.aptk_pdp_value_props__list li {
	padding: 2px 0;
	display: list-item;
}
.aptk_pdp_value_props__text {
	padding: 0;
}

/* PDP: sticky add-to-cart on mobile */
.aptk_pdp_sticky_atc {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: rgba(255,255,255,0.98);
	border-top: 1px solid #e5e7eb;
	box-shadow: 0 -10px 30px rgba(0,0,0,0.08);
	transform: translateY(100%);
	transition: transform .18s ease;
}
.aptk_pdp_sticky_atc.is-visible {
	transform: translateY(0);
}
.aptk_pdp_sticky_atc__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
}
.aptk_pdp_sticky_atc__meta {
	min-width: 0;
}
.aptk_pdp_sticky_atc__title {
	font-size: 12px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--aptk_gray);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 55vw;
}
.aptk_pdp_sticky_atc__price {
	font-size: 12px;
	line-height: 1.2;
	color: var(--aptk_lgray);
}
.aptk_pdp_sticky_atc__price_label {
	font-weight: 700;
	color: var(--aptk_gray);
}
.aptk_pdp_sticky_atc__actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

/* PDP: wishlist — móvil solo en barra sticky. OJO: en content-single-product.php el título móvil va en .md:hidden FUERA de .summary; hay que anclar a div.product. */
@media (max-width: 767px) {
	.single-product div.product .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist,
	.single-product div.product .aptk-pdp-title-wishlist .yith-add-to-wishlist-button-block {
		display: none !important;
	}
	/* Tras AJAX, YITH deja .yith-wcwl-wishlistaddedbrowse en la fila del título; ocultar (el toast va en .aptk_pdp_sticky_atc, fuera de div.product). */
	.single-product div.product .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse,
	.single-product div.product .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse {
		display: none !important;
		visibility: hidden !important;
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		margin: -1px !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		clip-path: inset(50%) !important;
		white-space: nowrap !important;
		border: 0 !important;
		pointer-events: none !important;
	}
}
.single-product .aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist {
	display: block !important;
}
@media (min-width: 768px) {
	.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist {
		display: inline-block !important;
		vertical-align: middle;
		margin-left: 1rem !important;
	}
	.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist a {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		position: relative;
		line-height: 1;
		border-radius: 999px;
		border: 1px solid #e5e7eb;
		background: #fff;
	}
	.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-button > a > span {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
	.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist i,
	.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist a > svg,
	.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist a > .yith-wcwl-icon {
		display: block;
		margin: 0 !important;
		font-size: 18px;
		line-height: 1;
		width: 18px;
		height: 18px;
		max-width: 18px;
		max-height: 18px;
		flex-shrink: 0;
		vertical-align: middle;
	}
	.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist i {
		position: absolute !important;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}
.aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist {
	margin: 0 !important;
	position: static !important;
	top: auto !important;
}
.aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	position: relative;
	line-height: 1;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
}
/* YITH 3.x: icono es SVG + <span> con la etiqueta; el span descuenta el centro del círculo */
.aptk_pdp_sticky_wishlist .yith-wcwl-add-button > a > span {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist i,
.aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist a > svg,
.aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist a > .yith-wcwl-icon {
	display: block;
	margin: 0 !important;
	font-size: 18px;
	line-height: 1;
	width: 18px;
	height: 18px;
	max-width: 18px;
	max-height: 18px;
	flex-shrink: 0;
	vertical-align: middle;
}
.aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist i {
	position: absolute !important;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.aptk_pdp_sticky_atc__btn {
	border: 0;
	color: #fff;
	border-radius: 999px;
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
}
@media screen and (max-width: 767px) {
	.single-product .aptk_pdp_sticky_atc {
		display: block;
		overflow: visible;
	}
	/* Avoid hiding content behind the sticky bar */
	body.single-product {
		padding-bottom: 68px;
	}
	/*
	 * YITH sustituye el botón por .yith-wcwl-wishlistaddedbrowse (texto + enlace).
	 * El wrapper del plugin usa position:relative estrecho; el mensaje rompía el flex.
	 */
	.aptk_pdp_sticky_atc .aptk_pdp_sticky_wishlist {
		min-width: 40px;
		flex-shrink: 0;
	}
	.aptk_pdp_sticky_atc .aptk_pdp_sticky_wishlist .yith-add-to-wishlist-button-block,
	.aptk_pdp_sticky_atc .aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist-button {
		position: static !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
	}
	/*
	 * Mientras YITH muestra “añadido” / “ya en lista”, el slot de la barra sigue
	 * viéndose como el botón circular con corazón (mismo SVG que el header).
	 */
	.aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist:has(.yith-wcwl-wishlistaddedbrowse),
	.aptk_pdp_sticky_wishlist .yith-wcwl-add-to-wishlist:has(.yith-wcwl-wishlistexistsbrowse),
	.aptk_pdp_sticky_wishlist .yith-add-to-wishlist-button-block:has(.yith-wcwl-wishlistaddedbrowse),
	.aptk_pdp_sticky_wishlist .yith-add-to-wishlist-button-block:has(.yith-wcwl-wishlistexistsbrowse) {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px;
		min-height: 40px;
		border-radius: 999px;
		border: 1px solid #e5e7eb;
		background-color: #fff;
		background-image: url('assets/images/favoritos-heart.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: 18px 18px;
		flex-shrink: 0;
		box-sizing: border-box;
		overflow: visible !important;
	}
	/* Toast encima de la barra sticky (~68px + margen), como respaldo Apoteka16. */
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(78px + env(safe-area-inset-bottom, 0px));
		padding: 36px 14px 12px;
		margin: 0;
		background: #fff;
		border: 1px solid #e5e7eb;
		border-radius: 10px;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
		display: flex !important;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 8px;
		text-align: center;
		font-size: 13px;
		line-height: 1.4;
		z-index: 100050;
		box-sizing: border-box;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}
	/* Home / archivo producto: mismo toast que en PDP, anclado abajo (sin barra sticky de compra). */
	body.home li.product .yith-wcwl-wishlistaddedbrowse,
	body.front-page li.product .yith-wcwl-wishlistaddedbrowse,
	body.home li.product .yith-wcwl-wishlistexistsbrowse,
	body.front-page li.product .yith-wcwl-wishlistexistsbrowse,
	body.woocommerce-shop li.product .yith-wcwl-wishlistaddedbrowse,
	body.woocommerce-shop li.product .yith-wcwl-wishlistexistsbrowse,
	body.tax-product_cat li.product .yith-wcwl-wishlistaddedbrowse,
	body.tax-product_cat li.product .yith-wcwl-wishlistexistsbrowse,
	body.tax-product_tag li.product .yith-wcwl-wishlistaddedbrowse,
	body.tax-product_tag li.product .yith-wcwl-wishlistexistsbrowse,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistaddedbrowse,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistexistsbrowse,
	body.page-promociones li.product .yith-wcwl-wishlistaddedbrowse,
	body.page-promociones li.product .yith-wcwl-wishlistexistsbrowse,
	body.single-product li.product .yith-wcwl-wishlistaddedbrowse,
	body.single-product li.product .yith-wcwl-wishlistexistsbrowse {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		padding: 36px 14px 12px;
		margin: 0;
		background: #fff;
		border: 1px solid #e5e7eb;
		border-radius: 10px;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 8px;
		text-align: center;
		font-size: 13px;
		line-height: 1.4;
		z-index: 100050;
		box-sizing: border-box;
	}
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed,
	body.home li.product .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.front-page li.product .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.home li.product .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed,
	body.front-page li.product .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed,
	body.woocommerce-shop li.product .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.woocommerce-shop li.product .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed,
	body.tax-product_cat li.product .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.tax-product_cat li.product .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed,
	body.tax-product_tag li.product .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.tax-product_tag li.product .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed,
	body.page-promociones li.product .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.page-promociones li.product .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed,
	body.single-product li.product .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.single-product li.product .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed {
		display: none !important;
	}
	.aptk-wl-wishlist-toast-close {
		position: absolute;
		top: 6px;
		right: 8px;
		width: 32px;
		height: 32px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: #f3f4f6;
		color: #374151;
		font-size: 1.35rem;
		line-height: 1;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		-webkit-tap-highlight-color: transparent;
	}
	.aptk-wl-wishlist-toast-close:active {
		background: #e5e7eb;
	}
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse .feedback,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse .feedback,
	body.home li.product .yith-wcwl-wishlistaddedbrowse .feedback,
	body.front-page li.product .yith-wcwl-wishlistaddedbrowse .feedback,
	body.home li.product .yith-wcwl-wishlistexistsbrowse .feedback,
	body.front-page li.product .yith-wcwl-wishlistexistsbrowse .feedback,
	body.woocommerce-shop li.product .yith-wcwl-wishlistaddedbrowse .feedback,
	body.woocommerce-shop li.product .yith-wcwl-wishlistexistsbrowse .feedback,
	body.tax-product_cat li.product .yith-wcwl-wishlistaddedbrowse .feedback,
	body.tax-product_cat li.product .yith-wcwl-wishlistexistsbrowse .feedback,
	body.tax-product_tag li.product .yith-wcwl-wishlistaddedbrowse .feedback,
	body.tax-product_tag li.product .yith-wcwl-wishlistexistsbrowse .feedback,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistaddedbrowse .feedback,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistexistsbrowse .feedback,
	body.page-promociones li.product .yith-wcwl-wishlistaddedbrowse .feedback,
	body.page-promociones li.product .yith-wcwl-wishlistexistsbrowse .feedback,
	body.single-product li.product .yith-wcwl-wishlistaddedbrowse .feedback,
	body.single-product li.product .yith-wcwl-wishlistexistsbrowse .feedback {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: 8px;
		max-width: 100%;
	}
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse .feedback svg,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse .feedback i,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse .feedback svg,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.home li.product .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.front-page li.product .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.home li.product .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.front-page li.product .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.home li.product .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.front-page li.product .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.home li.product .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.front-page li.product .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.woocommerce-shop li.product .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.woocommerce-shop li.product .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.woocommerce-shop li.product .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.woocommerce-shop li.product .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.tax-product_cat li.product .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.tax-product_cat li.product .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.tax-product_cat li.product .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.tax-product_cat li.product .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.tax-product_tag li.product .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.tax-product_tag li.product .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.tax-product_tag li.product .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.tax-product_tag li.product .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.page-promociones li.product .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.page-promociones li.product .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.page-promociones li.product .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.page-promociones li.product .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.single-product li.product .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.single-product li.product .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.single-product li.product .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.single-product li.product .yith-wcwl-wishlistexistsbrowse .feedback i {
		flex-shrink: 0;
		width: 1.125rem;
		height: 1.125rem;
		font-size: 1.125rem;
		line-height: 1;
	}
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse a,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse a,
	body.home li.product .yith-wcwl-wishlistaddedbrowse a,
	body.front-page li.product .yith-wcwl-wishlistaddedbrowse a,
	body.home li.product .yith-wcwl-wishlistexistsbrowse a,
	body.front-page li.product .yith-wcwl-wishlistexistsbrowse a,
	body.woocommerce-shop li.product .yith-wcwl-wishlistaddedbrowse a,
	body.woocommerce-shop li.product .yith-wcwl-wishlistexistsbrowse a,
	body.tax-product_cat li.product .yith-wcwl-wishlistaddedbrowse a,
	body.tax-product_cat li.product .yith-wcwl-wishlistexistsbrowse a,
	body.tax-product_tag li.product .yith-wcwl-wishlistaddedbrowse a,
	body.tax-product_tag li.product .yith-wcwl-wishlistexistsbrowse a,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistaddedbrowse a,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistexistsbrowse a,
	body.page-promociones li.product .yith-wcwl-wishlistaddedbrowse a,
	body.page-promociones li.product .yith-wcwl-wishlistexistsbrowse a,
	body.single-product li.product .yith-wcwl-wishlistaddedbrowse a,
	body.single-product li.product .yith-wcwl-wishlistexistsbrowse a {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex-direction: row !important;
		gap: 6px !important;
		font-weight: 600;
		font-size: 12px;
		white-space: nowrap;
		color: var(--aptk_green, #09b2b5);
		border-bottom: 1px solid rgba(9, 178, 181, 0.35);
		padding: 0 0 2px 0 !important;
		margin: 0;
		width: auto !important;
		height: auto !important;
		min-width: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse a svg,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse a svg,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon,
	body.home li.product .yith-wcwl-wishlistaddedbrowse a svg,
	body.front-page li.product .yith-wcwl-wishlistaddedbrowse a svg,
	body.home li.product .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.front-page li.product .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.home li.product .yith-wcwl-wishlistexistsbrowse a svg,
	body.front-page li.product .yith-wcwl-wishlistexistsbrowse a svg,
	body.home li.product .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon,
	body.front-page li.product .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon,
	body.woocommerce-shop li.product .yith-wcwl-wishlistaddedbrowse a svg,
	body.woocommerce-shop li.product .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.woocommerce-shop li.product .yith-wcwl-wishlistexistsbrowse a svg,
	body.woocommerce-shop li.product .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon,
	body.tax-product_cat li.product .yith-wcwl-wishlistaddedbrowse a svg,
	body.tax-product_cat li.product .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.tax-product_cat li.product .yith-wcwl-wishlistexistsbrowse a svg,
	body.tax-product_cat li.product .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon,
	body.tax-product_tag li.product .yith-wcwl-wishlistaddedbrowse a svg,
	body.tax-product_tag li.product .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.tax-product_tag li.product .yith-wcwl-wishlistexistsbrowse a svg,
	body.tax-product_tag li.product .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistaddedbrowse a svg,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistexistsbrowse a svg,
	body.post-type-archive.post-type-archive-product:not(.woocommerce-account) li.product .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon,
	body.page-promociones li.product .yith-wcwl-wishlistaddedbrowse a svg,
	body.page-promociones li.product .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.page-promociones li.product .yith-wcwl-wishlistexistsbrowse a svg,
	body.page-promociones li.product .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon,
	body.single-product li.product .yith-wcwl-wishlistaddedbrowse a svg,
	body.single-product li.product .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.single-product li.product .yith-wcwl-wishlistexistsbrowse a svg,
		body.single-product li.product .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon {
		width: 14px !important;
		height: 14px !important;
		flex-shrink: 0;
	}
	/* PDP móvil: solo toast sobre barra sticky — corazones como grilla home (--aptk_lgreen) */
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse .feedback svg,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse .feedback svg,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse a svg,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse a svg {
		color: var(--aptk_lgreen);
		fill: currentColor;
	}
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse .feedback svg path,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse .feedback svg path,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse a svg path,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse a svg path {
		fill: var(--aptk_lgreen);
		stroke: var(--aptk_lgreen);
	}
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse .feedback i,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse .feedback i,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	.aptk_pdp_sticky_atc .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon {
		color: var(--aptk_lgreen);
	}
}

/*
 * PDP escritorio (solo .summary): aviso “añadido / en lista” en flujo bajo el título — no toast fijo ancho viewport.
 * Móvil no usa este bloque (título fuera de .summary + toast en .aptk_pdp_sticky_atc en style.css ≤767px).
 */
@media (min-width: 768px) {
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist:has(.yith-wcwl-wishlistaddedbrowse),
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist:has(.yith-wcwl-wishlistexistsbrowse),
	body.single-product .summary .aptk-pdp-title-wishlist .yith-add-to-wishlist-button-block:has(.yith-wcwl-wishlistaddedbrowse),
	body.single-product .summary .aptk-pdp-title-wishlist .yith-add-to-wishlist-button-block:has(.yith-wcwl-wishlistexistsbrowse) {
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: auto !important;
		min-height: 0 !important;
		margin: 0.35rem 0 0;
		order: 5;
		border: 0;
		border-radius: 0;
		background: transparent !important;
		background-image: none !important;
		box-shadow: none;
		box-sizing: border-box;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse {
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		max-width: 26rem;
		padding: 0.65rem 2.5rem 0.65rem 0.75rem;
		margin: 0;
		background: #f8fafc;
		border: 1px solid #e5e7eb;
		border-radius: 8px;
		box-shadow: none;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0.35rem;
		text-align: left;
		font-size: 14px;
		line-height: 1.45;
		color: #374151;
		z-index: auto;
		box-sizing: border-box;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse.aptk-wl-toast-dismissed,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse.aptk-wl-toast-dismissed {
		display: none !important;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .aptk-wl-wishlist-toast-close {
		position: absolute;
		top: 6px;
		right: 8px;
		width: 32px;
		height: 32px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: #f3f4f6;
		color: #374151;
		font-size: 1.35rem;
		line-height: 1;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		-webkit-tap-highlight-color: transparent;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .aptk-wl-wishlist-toast-close:active {
		background: #e5e7eb;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse .feedback,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse .feedback {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
		gap: 0.5rem;
		max-width: 100%;
		margin: 0;
		font-weight: 500;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse .feedback i {
		flex-shrink: 0;
		width: 1.125rem;
		height: 1.125rem;
		font-size: 1.125rem;
		line-height: 1;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse a,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse a {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		flex-direction: row !important;
		gap: 6px !important;
		font-weight: 600;
		font-size: 13px;
		white-space: nowrap;
		color: var(--aptk_green, #09b2b5);
		border-bottom: 1px solid rgba(9, 178, 181, 0.35);
		padding: 0 0 2px 0 !important;
		margin: 0;
		width: auto !important;
		height: auto !important;
		min-width: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse a svg,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse a svg,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon {
		width: 14px !important;
		height: 14px !important;
		flex-shrink: 0;
	}
	/* Mismo verde que corazones en grilla home (.add-to-wishlist-before_image → --aptk_lgreen); solo iconos, no el texto del enlace */
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse .feedback svg,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse .feedback svg,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse a svg,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse a svg {
		color: var(--aptk_lgreen);
		fill: currentColor;
	}
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse .feedback svg path,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse .feedback svg path,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse a svg path,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse a svg path {
		fill: var(--aptk_lgreen);
		stroke: var(--aptk_lgreen);
	}
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse .feedback i,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse .feedback i,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse a .yith-wcwl-icon,
	body.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse a .yith-wcwl-icon {
		color: var(--aptk_lgreen);
	}
}

/* PDP: la barra sticky solo existe para móvil; asegurar que no aparezca en tablet/escritorio */
@media (min-width: 768px) {
	.single-product .aptk_pdp_sticky_atc,
	.single-product .aptk_pdp_sticky_atc.is-visible {
		display: none !important;
		transform: translateY(100%) !important;
		pointer-events: none !important;
		visibility: hidden !important;
	}
	body.single-product {
		padding-bottom: 0;
	}
}

/* PDP: align quantity + price + add to cart */
.single-product .summary form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}
.single-product .summary form.cart .quantity {
	margin: 0;
}
.single-product .summary form.cart .aptk_pdp_price_inline {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
}
.single-product .summary form.cart .aptk_pdp_price_inline__label {
	font-weight: 700;
	color: var(--aptk_gray);
}
.single-product .summary form.cart .aptk_pdp_price_inline__value,
.single-product .summary form.cart .woocommerce-variation-price {
	font-weight: 700;
}
.single-product .summary form.cart button.single_add_to_cart_button {
	margin: 0;
}

/* Variable products: keep variations table full width, CTA row aligned */
.single-product .summary form.variations_form .variations {
	flex-basis: 100%;
}
.single-product .summary form.variations_form .single_variation_wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	width: 100%;
}
.single-product .summary form.variations_form .woocommerce-variation {
	margin: 0;
}

@media screen and (max-width: 640px) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.search ul.products li.product .woocommerce-loop-product__title,
	.woocommerce-wishlist ul.products li.product .woocommerce-loop-product__title {
		height: auto;
	}
}

.woocommerce ul.products li.product .button,
.search ul.products li.product .button,
.woocommerce-wishlist ul.products li.product .button {
	background-color: #ffffff;
	color: var(--aptk_green);
	border: 2px solid var(--aptk_green);
	border-radius: 50px;
	text-transform: uppercase;
	font-size: 0.8rem;
	padding: 1rem 2.4rem;
	margin-top: 0;
	letter-spacing: 0.1rem;
}

.woocommerce ul.products li.product:hover .button,
.search ul.products li.product:hover .button,
.woocommerce-wishlist ul.products li.product:hover .button {
	background-color: var(--aptk_green);
	color: #ffffff;
	margin: 0;
}

.woocommerce ul.products li.product span.onsale,
.search ul.products li.product span.onsale,
.woocommerce-wishlist ul.products li.product span.onsale {
	background-color: var(--aptk_lgreen);
	color: #ffffff;
	font-size: 0.6rem;
	border-radius: 2px;
	top: 1rem;
	right: auto;
	left: 1rem;
	margin: 0;
	padding: 0rem 0.5rem;
	text-transform: uppercase;
}

.woocommerce ul.products li.product .price,
.search ul.products li.product .price,
.woocommerce-wishlist ul.products li.product .price {
	font-size: 1.4rem;
	color: var(--aptk_green);
	display: block;
	font-weight: 400;
	margin-bottom: 1em;
}

@media screen and (max-width: 640px) {
	.woocommerce ul.products li.product .price,
	.search ul.products li.product .price,
	.woocommerce-wishlist ul.products li.product .price {
		margin-bottom: 0.5em;
	}
}

.woocommerce ul.products li.product,
.search ul.products li.product,
.woocommerce-wishlist ul.products li.product {
    margin: 0;
    padding: 1rem 1rem 2rem 1rem;
}

.woocommerce ul.products li.product:hover,
.search ul.products li.product:hover,
.woocommerce-wishlist ul.products li.product:hover {
    border-color: var(--aptk_green);
}

.woocommerce ul.products li.product .woocommerce-placeholder,
.search ul.products li.product .woocommerce-placeholder,
.woocommerce-wishlist ul.products li.product .woocommerce-placeholder {
    border: 0;
}

@media screen and (max-width: 767px) {
    /*
    .woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
    	width: 100%;
    	display: block;
    }
    */
    .page_inside ul.products li.product, .woocommerce-page ul.products li.product {
    	width: 100% !important;
    	display: block;
    }
}

.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist {
	top: 1rem;
	left: auto;
	right: 1rem;
}

.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist .yith-wcwl-icon.fa.fa-heart,
.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist svg.yith-wcwl-icon-svg {
	color: var(--aptk_lgreen);
	fill: currentColor;
}

.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist .yith-wcwl-icon.fa.fa-heart-o {
	color: var(--aptk_lgray);
}

.single-product .summary .aptk-pdp-title-wishlist .yith-wcwl-add-to-wishlist,
.single-product .summary .aptk-pdp-title-wishlist .yith-add-to-wishlist-button-block {
	display: inline-block;
	margin-top: 0;
	margin-left: 0;
}

.single_add_to_wishlist span {
    display: none;
}

.entry-summary p.price,
.entry-summary span.price {
    color: var(--aptk_green) !important;
    font-size: 1.6em !important;
}

.entry-summary p.price del,
.entry-summary p.price ins {
    display: block !important;
}

.entry-summary p.price ins {
    text-decoration: none;
    font-weight: 400;
}

.entry-summary p.price ins span {
    position: relative;
}

.entry-summary p.price ins > span::after {
    content: '(Oferta)';
    position: relative;
    right: -5px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: var(--aptk_green);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--aptk_green);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: var(--aptk_green);
}

.sidebar_filters .widget_product_categories li.cat-item a:before,
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a:before {
    content: '';
	border: 2px solid #9D9994;
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-right: 0.5rem;
	border-radius: 0.25rem;
	margin-top: 0.25rem;
	position: relative;
	top: 0.2rem;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item--chosen a:before {
    border: 2px solid var(--aptk_green);
	background-color: var(--aptk_green);
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item--chosen a:before {
    /* display: none !important; */
}

.woocommerce-widget-layered-nav-list span.count {
    display: none !important;
}

.line_item img {
    width: 100%;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    background-color: var(--aptk_lgray);
    color: #ffffff;
    border: 0;
    border-radius: 100%;
    width: 32px;
    height: 32px;
    margin: 0 0.25rem;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--aptk_green);
    color: #ffffff;
}

.woocommerce .added_to_cart,
.woocommerce .xoo-cp-added,
.woocommerce #respond input#submit.added::after, .woocommerce a.button.added::after, .woocommerce button.button.added::after, .woocommerce input.button.added::after {
    display: none !important;
}

.orderby {
	background-color: #ffffff;
}

body.home .woocommerce ul.products li.product a img {
	width: 150px;
	height: 150px;
	margin: 0 auto;
}

/* - - - mobile sidebar - - - */
.sidebar_filters ul {
    padding: 0.5rem 1rem !important;
}

@media screen and (max-width: 767px) {
    .sidebar_filters {
      position: fixed;
      height: calc(100vh - 54px);
      background: #ffffff;
			right: 0;
			z-index: 99;
			top: 54px;
			padding: .5rem 1rem;
			overflow: auto;
			width: 100vw;
    }
}
/* - - - plus minus - - - */
.qib-container {
    border: 1px solid #979797;
    border-radius: .125rem;
    padding: 0.25rem 0.5rem;
}

.qib-container .qib-button,
.qib-container .input-text {
    background: transparent !important;
    border: 0 !important;
}
.single-product div.product .woocommerce-product-gallery .flex-viewport {
    border: 1px solid #DEDEDE;
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper {
    border: 1px solid #DEDEDE;
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    padding: 0.5rem;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    border: 1px solid #DEDEDE;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border: 1px solid #09B2B5;
}
@media screen and (max-width: 500px) {
    td.xoo-cp-pimg {
        display: block;
        width: 100px;
        float: left;
        margin-bottom: 3rem;
        padding-right: 1rem;
    }
    td.xoo-cp-ptitle,
    td.xoo-cp-pprice,
    td.xoo-cp-pqty {
        display: block;
        width: 100%;
        text-align: left;
        margin: 0;
    }
}
#tab-description p {
    padding: 1rem 0;
}

@media screen and (max-width: 768px) {
    .entry-summary .entry_title,
    .entry-summary .product_meta,
    .entry-summary .dscto {
        display: none;
    }
}
/* - - - cart / mini cart - - - */
#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img,
.xoo-cp-pimg img {
    width: 100px;
    height: auto;
    border-radius: 2px;
    border: 1px solid #dedede;
}

.woocommerce ul.product_list_widget li img {
    width: 48px;
    height: 48px;
}

#toggleMC {
    cursor: pointer;
}

.mini_cart {
    min-width: 300px;
}
@media screen and (min-width: 768px) {
    /* Desktop rules for mini-cart are defined in header.php (inline, high priority). */
}
.mini_cart::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid var(--aptk_green);
  top: -13px;
  left: 56%;
}
@media screen and (max-width: 767px) {
    .mini_cart {
        left: 0px;
        position: fixed;
        top: 46px;
        width: 100vw;
        min-width: 100vw;
        z-index: 120 !important;
    }

    .mini_cart::before {
        display: none;
    }
}

.mini_cart li.widget_shopping_cart {
    list-style: none;
    padding: 0 1rem 1rem 1rem;
}

.mini_cart li.widget_shopping_cart ul.product_list_widget {
    max-height: 288px;
	overflow: auto;
}

.mini_cart .mini_cart_item {
    padding: 0.5rem 0 !important;
    position: relative;
}

/* Mini cart: flex row (thumb + text) so cantidad/precio alinean con el título */
.mini_cart .apoteka-mini-cart-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding-right: 2rem;
    box-sizing: border-box;
}
.mini_cart .apoteka-mini-cart-media {
    flex: 0 0 84px;
    width: 84px;
}
.mini_cart .apoteka-mini-cart-media img {
    width: 100%;
    height: auto;
    max-height: 88px;
    object-fit: contain;
    display: block;
    float: none !important;
    margin: 0 !important;
}
.mini_cart .apoteka-mini-cart-main {
    flex: 1;
    min-width: 0;
}
.mini_cart .apoteka-mini-cart-title-link {
    display: block;
}
.mini_cart .apoteka-mini-cart-remove {
    position: absolute;
    top: 0.45rem;
    right: 0;
    z-index: 2;
    float: none !important;
}
/* Una sola línea visual: Cantidad | Precio ₡… — centrada (Woo pone el precio en spans que por defecto son bloque) */
.mini_cart .apoteka-mini-cart-qty-block {
    margin-top: 0.45rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0.35rem 0.25rem 0;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.4;
}
.mini_cart .apoteka-mini-cart-qty-inline {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    max-width: 100%;
    font-weight: 400;
    color: #374151;
    text-align: center;
}
.mini_cart .apoteka-mini-cart-qty-part,
.mini_cart .apoteka-mini-cart-price-part {
    white-space: nowrap;
    flex-shrink: 0;
}
.mini_cart .apoteka-mini-cart-price-html {
    display: inline;
    white-space: nowrap;
}
.mini_cart .apoteka-mini-cart-price-html .woocommerce-Price-amount,
.mini_cart .apoteka-mini-cart-price-html .woocommerce-Price-amount.amount {
    display: inline !important;
    float: none !important;
    margin: 0 !important;
}
.mini_cart .apoteka-mini-cart-price-html .woocommerce-Price-amount bdi {
    white-space: nowrap;
}
.mini_cart .apoteka-mini-cart-qty-inline strong {
    color: #1f2937;
    font-weight: 600;
}
.mini_cart .apoteka-mini-cart-qty-inline .apoteka-mini-cart-qty-sep {
    color: #9ca3af;
    font-weight: 400;
    padding: 0 0.1rem;
    flex-shrink: 0;
}
.mini_cart .apoteka-mini-cart-qty-inline .apoteka-mini-cart-qty-part {
    color: #374151;
}
.mini_cart .apoteka-mini-cart-qty-inline .apoteka-mini-cart-qty-part strong {
    color: #1f2937;
}
.mini_cart .apoteka-mini-cart-qty-inline .apoteka-mini-cart-price-part {
    color: #374151;
    font-weight: 400;
}
.mini_cart .apoteka-mini-cart-qty-inline .apoteka-mini-cart-price-html .woocommerce-Price-amount,
.mini_cart .apoteka-mini-cart-qty-inline .apoteka-mini-cart-price-html .woocommerce-Price-amount bdi {
    color: var(--aptk_green);
    font-weight: 600;
}

#miniCart .apoteka-mini-cart-main .apoteka-mini-cart-qty-block,
#miniCart .apoteka-mini-cart-qty-inline {
    text-align: center !important;
}

.mini_cart li img {
    float: left !important;
    margin-left: 0 !important;
    margin-right: 1rem;
    margin-bottom: 2rem;
}

/* Mobile mini-cart UX/UI improvements */
@media screen and (max-width: 767px) {
    .mini_cart li.widget_shopping_cart {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    .mini_cart .widgettitle {
        font-size: 1.4rem;
        line-height: 1.2;
        font-weight: 700;
        text-align: center;
        margin-bottom: 0.9rem;
    }
    .mini_cart .mini_cart_item {
        padding: 0.75rem 0 !important;
    }
    .mini_cart li img {
        width: 72px;
        height: 72px;
        margin-right: 0.9rem;
        margin-bottom: 0.75rem;
        object-fit: contain;
    }
    .mini_cart .apoteka-mini-cart-title-link,
    .mini_cart .mini_cart_item a:not(.remove):not(.apoteka-mini-cart-remove) {
        font-size: 1.05rem;
        line-height: 1.35;
        font-weight: 700;
        color: var(--aptk_gray);
    }
    .mini_cart .mini_cart_item .product-sku {
        font-size: 0.92rem;
        line-height: 1.3;
        color: #666;
    }
    .mini_cart .mini_cart_item .quantity.apoteka-mini-cart-qty-block,
    .mini_cart .mini_cart_item .apoteka-mini-cart-qty-block {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1.05rem !important;
        line-height: 1.45 !important;
    }
    .mini_cart .woocommerce-mini-cart__total {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem 0.75rem;
        font-size: 1.05rem;
        font-weight: 400;
        padding: 0.75rem 0 !important;
    }
    .mini_cart .woocommerce-mini-cart__total bdi,
    .mini_cart .woocommerce-mini-cart__total .woocommerce-Price-amount {
        float: none !important;
    }
    .mini_cart .woocommerce-mini-cart__total .woocommerce-Price-amount {
        margin-left: auto;
        font-size: 1.15rem;
    }
    .mini_cart .woocommerce-mini-cart__buttons {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
    }
    .mini_cart .woocommerce-mini-cart__buttons .button {
        width: 100% !important;
        min-height: 48px;
        font-size: 0.9rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.02em;
        line-height: 1.2;
        box-sizing: border-box;
    }
    .mini_cart .mini_cart_item .remove_from_cart_button {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        margin: -4px -4px 0 0;
        font-size: 1.5rem !important;
        line-height: 1;
    }
}

.mini_cart .xremove_from_cart_button {
    /*display: none !important;*/
}

.mini_cart .woocommerce-mini-cart__total {
    padding: 1rem 0 !important;
    border-top-style: solid !important;
    border-top-width: 1px !important;
    font-size: 1rem;
    font-weight: 400;
}

.mini_cart .woocommerce-mini-cart__total .apoteka-mini-cart-total-label {
    font-weight: 400;
}

/* Force mini-cart total label text on all render paths */
.mini_cart .woocommerce-mini-cart__total strong {
    font-size: 0;
    line-height: 0;
    font-weight: 400;
}
.mini_cart .woocommerce-mini-cart__total strong::before {
    content: "Total a pagar:";
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 400;
}

.mini_cart .woocommerce-mini-cart__total .woocommerce-Price-amount {
    font-weight: 500;
}

.mini_cart .woocommerce-mini-cart__total bdi {
    float: right;
    color: var(--aptk_green);
}
@media screen and (max-width: 767px) {
    .mini_cart .woocommerce-mini-cart__total bdi {
        float: none;
    }
}

.mini_cart .quantity {
    color: var(--aptk_green);
}
.mini_cart .quantity.apoteka-mini-cart-qty-block {
    color: #374151;
}

.mini_cart .woocommerce-mini-cart__buttons .button {
    background-color: var(--aptk_green);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    width: 48%;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.6rem;
}

.mini_cart .woocommerce-mini-cart__empty-message {
    padding: 1.5rem 1rem;
    font-size: 1.25rem;
}

/* Mini-cart mobile tweaks (layout principal: .apoteka-mini-cart-row) */
@media screen and (max-width: 767px) {
    .mini_cart .apoteka-mini-cart-row {
        padding-right: 1.75rem;
        gap: 0.55rem;
    }
    .mini_cart .apoteka-mini-cart-media {
        flex-basis: 80px;
        width: 80px;
    }
    .mini_cart .apoteka-mini-cart-qty-block {
        font-size: 1.14rem !important;
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
    }
    .mini_cart .woocommerce-mini-cart__buttons .button {
        font-size: 0.88rem !important;
        padding: 0.85rem 1rem !important;
    }
    .mini_cart .woocommerce-mini-cart__total {
        font-size: 1.05rem !important;
        font-weight: 400 !important;
    }
    .mini_cart .woocommerce-mini-cart__total .woocommerce-Price-amount {
        font-size: 1.2rem !important;
        font-weight: 500 !important;
    }
    .mini_cart .apoteka-mini-cart-title-link {
        font-size: 1rem !important;
        line-height: 1.35 !important;
    }
    .mini_cart .mini_cart_item .product-sku {
        display: block;
    }
}

.woocommerce-cart-form__cart-item {
    border-bottom: 1px solid #dedede;
}

.woocommerce-cart-form__cart-item:last-of-type {
    border-bottom: 0;
}

/* Carrito (/carrito/): tarjetas, jerarquía tipográfica, espaciado móvil */
.woocommerce-cart .apoteka-cart-item.woocommerce-cart-form__cart-item {
	border-bottom: none;
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	margin-bottom: 1rem;
	padding: 1rem 1rem 1.25rem;
}
@media (min-width: 768px) {
	.woocommerce-cart .apoteka-cart-item.woocommerce-cart-form__cart-item {
		padding: 1.5rem;
		margin-bottom: 1.25rem;
	}
}
.woocommerce-cart .apoteka-cart-product-title {
	display: block;
	font-size: 1.0625rem;
	line-height: 1.35;
	font-weight: 600;
	color: #111827;
	margin-bottom: 0.2rem;
}
/* WC smallscreen fuerza text-align:right en td; mantener lectura en LTR */
.woocommerce-cart table.shop_table_responsive.cart tbody tr.cart_item td.product-name {
	text-align: left !important;
}
.woocommerce-cart .cart_item .product-name .product-sku,
.woocommerce-cart .cart_item .product-name .aptk-cart-sku {
	text-align: left !important;
}
.woocommerce-cart .cart_item .product-name .product-sku {
	display: block;
	font-size: 0.8125rem;
	font-weight: 400;
	color: #6b7280;
	line-height: 1.35;
	margin-top: 0.1rem;
	margin-bottom: 0;
}
.woocommerce-cart .apoteka-cart-econ-mid-left .aptk-cart-line-sku,
.woocommerce-cart .apoteka-cart-econ-mid-left .product-sku.aptk-cart-line-sku {
	margin: 0 0 0.3rem 0;
	padding: 0;
	font-size: 0.8125rem;
	font-weight: 400;
	color: #6b7280;
	line-height: 1.35;
	text-align: left !important;
}
.woocommerce-cart .cart_item .product-name .variation,
.woocommerce-cart .cart_item .product-name dl.variation {
	font-size: 0.8125rem;
	font-weight: 400;
	color: #6b7280;
	margin-top: 0.35rem;
	text-align: left !important;
}
.woocommerce-cart .aptk-cart-sku {
	display: block;
}
.woocommerce-cart a.apoteka-cart-remove {
	display: inline-block;
	margin-top: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: #b91c1c !important;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}
/* Tarjeta línea: mitad (SKU + unitario | cantidad) + pie (eliminar | total) */
.woocommerce-cart table.shop_table_responsive.cart tbody tr.cart_item td.apoteka-cart-econ-cell {
	text-align: left !important;
}
.woocommerce-cart .apoteka-cart-econ-mid-right,
.woocommerce-cart .apoteka-cart-econ-foot-total {
	text-align: right !important;
}
.woocommerce-cart .apoteka-cart-econ {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	text-align: left;
}
.woocommerce-cart .apoteka-cart-econ-mid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.65rem 1.25rem;
}
.woocommerce-cart .apoteka-cart-econ-mid-left {
	flex: 1 1 0;
	min-width: 0;
	text-align: left;
	padding-left: 0;
	margin-left: 0;
}
.woocommerce-cart .apoteka-cart-econ-mid-left .apoteka-cart-unit {
	margin-top: 0;
}
.woocommerce-cart .apoteka-cart-econ-mid-right {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
	text-align: right;
}
.woocommerce-cart .apoteka-cart-econ-mid-right .quantity {
	margin-left: 0 !important;
	margin-bottom: 0 !important;
}
.woocommerce-cart .apoteka-cart-econ-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.5rem 0.75rem;
	padding-top: 0.4rem;
	border-top: 1px solid #f3f4f6;
	margin-top: 0;
}
.woocommerce-cart .apoteka-cart-econ-foot-remove {
	flex: 0 0 auto;
	text-align: left;
}
.woocommerce-cart .apoteka-cart-econ-foot-total {
	flex: 0 0 auto;
	text-align: right;
	min-width: 0;
}
.woocommerce-cart .aptk-cart-line-total-label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.2;
	margin-bottom: 0.15rem;
}
.woocommerce-cart .apoteka-cart-econ-foot-total .apoteka-cart-subtotal,
.woocommerce-cart .apoteka-cart-econ-foot-total .aptk-cart-line-total-value {
	margin-bottom: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
}
.woocommerce-cart .apoteka-cart-econ-foot-total .apoteka-cart-subtotal .woocommerce-Price-amount {
	font-weight: 700;
}
.woocommerce-cart .aptk-cart-econ-label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.2;
}
.woocommerce-cart .aptk-cart-econ-label--qty {
	margin-bottom: 0;
}
.woocommerce-cart a.apoteka-cart-remove:hover,
.woocommerce-cart a.apoteka-cart-remove:focus {
	color: #991b1b !important;
	border-bottom-color: rgba(185, 28, 28, 0.45);
}
.woocommerce-cart .apoteka-cart-subtotal {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 0.35rem;
}
.woocommerce-cart .apoteka-cart-subtotal .woocommerce-Price-amount {
	font-weight: 600;
}
.woocommerce-cart .apoteka-cart-unit {
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #6b7280;
	font-weight: 400;
}
.woocommerce-cart .apoteka-cart-unit .woocommerce-Price-amount {
	color: #4b5563;
	font-weight: 500;
}
.woocommerce-cart .apoteka-cart-unit-label {
	font-weight: 500;
	margin-right: 0.2rem;
}
@media screen and (max-width: 767px) {
	/* Miniatura + nombre; una sola franja precio+cantidad (menos altura, alineación consistente) */
	.woocommerce-cart table.shop_table_responsive.cart tbody tr.apoteka-cart-item.cart_item {
		display: grid !important;
		grid-template-columns: 84px minmax(0, 1fr);
		grid-template-areas:
			"thumb pname"
			"econ econ";
		column-gap: 0.75rem;
		row-gap: 0.45rem;
		align-items: start;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody tr.cart_item > td {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		padding: 0 !important;
		text-align: left !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.product-thumbnail.apoteka-cart-thumb {
		grid-area: thumb;
		padding: 0 !important;
		border: 0 !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.product-thumbnail.apoteka-cart-thumb::before {
		display: none !important;
		content: none !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.product-thumbnail.apoteka-cart-thumb img {
		width: 84px !important;
		height: 84px !important;
		max-width: 84px !important;
		object-fit: contain;
		border-radius: 0.5rem;
		border: 1px solid #e5e7eb;
		display: block;
		margin: 0 auto 0 0;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.product-name {
		grid-area: pname;
		align-self: start;
		padding-top: 0 !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.product-name::before {
		float: none !important;
		display: block !important;
		width: 100% !important;
		text-align: left !important;
		margin: 0 0 0.35rem 0 !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell {
		grid-area: econ;
		padding-top: 0.45rem !important;
		margin-top: 0.1rem;
		border-top: 1px solid #f3f4f6;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell::before {
		display: none !important;
		content: none !important;
	}
	/* Fila media: 2 columnas (SKU + unitario | cantidad a la derecha); pie debajo a todo el ancho */
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell .apoteka-cart-econ {
		gap: 0.45rem;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell .apoteka-cart-econ-mid {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
		justify-content: space-between;
		gap: 0.65rem 1rem;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell .apoteka-cart-econ-mid-left {
		flex: 1 1 0;
		min-width: 0;
		text-align: left !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell .apoteka-cart-econ-mid-left .apoteka-cart-unit {
		text-align: left !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell .apoteka-cart-econ-mid-right {
		flex: 0 0 auto;
		align-items: flex-end !important;
		text-align: right !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell .apoteka-cart-econ-mid-right .aptk-cart-econ-label--qty {
		text-align: right !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell .apoteka-cart-econ-foot {
		width: 100%;
		padding-top: 0.4rem;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td::before {
		font-weight: 500 !important;
		font-size: 0.8125rem !important;
		color: #6b7280 !important;
		line-height: 1.3;
	}
	.woocommerce-cart .cart_item .product-quantity .quantity .box-quantity {
		margin-left: 0;
		margin-top: 0;
	}
	body.woocommerce-cart .page_inside {
		padding-bottom: 5.5rem;
	}
}

/* Carrito escritorio: restaurar fila de tabla (evitar display:block en <tr>) y alinear bloque económico */
@media screen and (min-width: 768px) {
	.woocommerce-cart table.shop_table_responsive.cart {
		width: 100%;
		border-collapse: separate;
		border-spacing: 0;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody tr.apoteka-cart-item.cart_item,
	.woocommerce-cart table.shop_table_responsive.cart tbody tr.apoteka-cart-item.woocommerce-cart-form__cart-item {
		display: table-row !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody tr.apoteka-cart-item.cart_item > td,
	.woocommerce-cart table.shop_table_responsive.cart tbody tr.apoteka-cart-item.woocommerce-cart-form__cart-item > td {
		display: table-cell !important;
		width: auto;
		max-width: none;
		vertical-align: top;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.product-thumbnail.apoteka-cart-thumb {
		width: 1%;
		white-space: nowrap;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.apoteka-cart-econ-cell {
		min-width: 15rem;
		text-align: left !important;
	}
	.woocommerce-cart table.shop_table_responsive.cart tbody td.product-name {
		text-align: left !important;
	}
	.woocommerce-cart .apoteka-cart-econ-mid {
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: flex-start;
		gap: 1rem 1.5rem;
	}
	.woocommerce-cart .apoteka-cart-econ-mid-left {
		flex: 1 1 auto;
		min-width: 0;
		text-align: left !important;
	}
	.woocommerce-cart .apoteka-cart-econ-mid-left .aptk-cart-line-sku,
	.woocommerce-cart .apoteka-cart-econ-mid-left .product-sku.aptk-cart-line-sku,
	.woocommerce-cart .apoteka-cart-econ-mid-left .apoteka-cart-unit {
		text-align: left !important;
	}
	.woocommerce-cart .apoteka-cart-econ-mid-right {
		flex: 0 0 auto;
		align-items: flex-end !important;
		text-align: right !important;
	}
	.woocommerce-cart .apoteka-cart-econ-foot {
		width: 100%;
		margin-top: 0.35rem;
		padding-top: 0.5rem;
	}
}

.woocommerce-shipping-totals.shipping .woocommerce-shipping-methods,
.woocommerce-shipping-totals.shipping .woocommerce-shipping-destination {
    text-align: right;
}

#billing_factura_field .woocommerce-input-wrapper {
    display: flex;
}

#billing_factura_field .woocommerce-input-wrapper .input-radio {
    width: 20px;
    margin-right: 0.5rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order .product-name {
    font-size: 0.75rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order .product-thumbnail img {
    width: 100px;
    border: 1px solid #ccc;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: none;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    background: var(--aptk_green);
    float: none;
    margin: 0 auto;
    display: block;
    margin-top: 2rem;
    padding: 0.75rem 2.4rem;
    text-transform: uppercase;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background: var(--aptk_lgreen);
    color: #ffffff;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--aptk_lgreen);
}

@media screen and (max-width: 767px) {
    .woocommerce form .form-row-first, .woocommerce-page form .form-row-first,
    .woocommerce form .form-row-last, .woocommerce-page form .form-row-last {
        width: 100%;
    }
}

.woocommerce form.login {
    border: 0;
    padding: 0;
    margin: 0;
}

/* - - - add to cart popup - - - */
.xoo-cp-container {
    padding: 1.4rem 3rem;
    max-width: 700px;
}

@media screen and (max-width: 500px) {
    .xoo-cp-container {
        padding: 1.2rem;
        max-width: auto;
    }
}

/* Add-to-cart popup UX tweaks (mobile): reduce empty space, label price */
.xoo-cp-pdetails .xoo-cp-pprice::before {
	content: "Precio: ";
	color: var(--aptk_gray);
	font-weight: 700;
}
@media screen and (max-width: 500px) {
	/* Make product image more prominent */
	td.xoo-cp-pimg {
		width: 120px;
		margin-bottom: 1.25rem;
	}
	.xoo-cp-pimg img {
		width: 120px;
	}
	/* Tighten spacing in details */
	.xoo-cp-atcn.xoo-cp-success {
		padding: 0.75rem 0.75rem;
	}
	.xoo-cp-pdetails td {
		padding-top: 4px;
		padding-bottom: 4px;
	}
	.xoo-cp-container a.xcp-btn {
		margin-top: 10px;
	}
}

.xoo-cp-container .xoo-cp-remove,
.xoo-cp-container .xoo-cp-ptotal,
.xoo-cp-container .xoo-cp-btn-ch {
    display: none;
}

.xoo-cp-container a.xcp-btn {
    width: 48%;
    background-color: var(--aptk_green);
    color: #ffffff;
    border: 1px solid var(--aptk_green);
    border-radius: 50px;
}

.xoo-cp-container span.xoo-cp-close {
    display: none !important;
}

.xoo-cp-container a.xoo-cp-close {
    color: var(--aptk_green);
    background-color: #ffffff;
    float: right;
}

.xoo-cp-container a.xoo-cp-btn-vc {
    float: right;
}

@media screen and (max-width: 767px) {
    .xoo-cp-container a.xcp-btn {
        width: 100%;
    }

    .xoo-cp-container a.xoo-cp-close,
    .xoo-cp-container a.xoo-cp-btn-vc {
        float: none;
    }
}

.xoo-cp-atcn.xoo-cp-success {
    background-color: transparent;
    color: #000000;
    padding: 1rem;
    border-bottom: 1px solid #dedede;
    font-weight: 600;
}

.xoo-cp-pdetails td a {
    font-size: 1rem;
    font-weight: normal;
}

.xoo-cp-pdetails .xoo-cp-pprice {
    color: var(--aptk_green);
    font-size: 1rem;
}

.xoo-cp-atcn .xoo-cp-icon-check {
    background-color: var(--aptk_lgreen);
    border-radius: 50%;
    padding: 0.3rem;
    font-size: 0.6rem;
    color: #ffffff;
    top: -1px;
    position: relative;
}

/* - - - login popup - - - */
#loginPU {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    font-size: 0.8rem;
}

.woocommerce-form-login {
    /*min-width: 300px;*/
}

@media screen and (max-width: 767px) {
    #loginPU {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        overflow: auto;
        font-size: 1rem;
        line-height: 1.45;
    }

    #overlay {
        display: none !important;
    }

    .woocommerce-form-login {
        min-width: auto;
    }

    /* Login popup typography + spacing (mobile) */
    #loginPU h3 {
        font-size: 1.5rem;
        line-height: 1.2;
        padding-bottom: 0.75rem;
    }
    #loginPU p {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.5rem;
    }
    #loginPU .aptk-login-new-title {
        font-size: 1.75rem;
        line-height: 1.2;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }
    #loginPU input.input-text,
    #loginPU input[type="email"],
    #loginPU input[type="text"],
    #loginPU input[type="password"] {
        font-size: 1rem;
        padding: 0.85rem 0.9rem;
    }
    #loginPU .woocommerce-form-login__rememberme,
    #loginPU .woocommerce-form__label-for-checkbox {
        font-size: 1rem;
    }
    #loginPU .woocommerce-form-login .woocommerce-form-login__submit {
        font-size: 0.95rem;
        padding: 0.95rem 2.5rem !important;
    }
}

.woocommerce-form-login .form-row {
    display: block;
    width: 100% !important;
}

.woocommerce-form-login .form-row-first label,
.woocommerce-form-login .form-row-last label {
    display: none !important;
}

.woocommerce-form-login input.input-text {
    border: 1px solid #d8d8d8;
    padding: 0.5rem 0.75rem;
    width: 100%;
    margin: 0;
    line-height: normal;
}

.woocommerce-form-login .woocommerce-form-login__submit {
    background-color: var(--aptk_green);
    color: #ffffff;
    border: 1px solid var(--aptk_green);
    text-transform: none;
    border-radius: 2em;
    font-weight: 400;
    padding: 0.75rem 2.5rem !important;
    width: 100%;
    margin: 0.75rem 0 !important;
    display: block;
    text-transform: uppercase !important;
}

.woocommerce-form-login .lost_password {
    text-align: right;
}

.woocommerce-form-login .lost_password a {
    color: var(--aptk_green);
}

/* - - - main menu - - - */
#menu-main-menu .menu-item-has-children {
	position: relative;
	padding-bottom: .75rem;
	margin-bottom: -.25rem;
}

#menu-main-menu .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    background: #ffffff;
    top: 2.2rem;
    padding: 1rem;
    width: 100%;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);
	border-radius: 0.1rem;
}

#menu-main-menu .menu-item-has-children:hover .sub-menu {
    display: block;
}

#menu-main-menu .menu-item-has-children .sub-menu:hover {
    display: block;
}

#menu-main-menu .menu-item-has-children .sub-menu a:hover {
    color: var(--aptk_green);
}

#menu-main-menu .menu-item-has-children .sub-menu li {
    padding: .25rem;
}

/* - - - mobile menu - - - */
#mobileMenu {
    height: 94vh;
	background-color: #fff;
}

#mobileMenu .menu-item-has-children {
	position: relative;
}

#mobileMenu .menu-item-has-children:after {
	content: "";
	position: absolute;
	right: 0;
	background-position: top right;
	background-image: url('assets/images/flecha-r.png');
	background-size: contain;
	height: 15px;
	width: 15px;
	background-repeat: no-repeat;
	top: .75rem;
}

#mobileMenu li {
    margin-top: 1rem;
}

#mobileMenu li a.nav-link:hover {
    color: var(--aptk_green);
}

#mobileMenu .sub-menu {
    font-size: 0.8rem;
	transform: translateX(100vw);
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(.4,0,.2,1);
	transition-property: all;
	position: fixed;
	left: 0;
	top: 1rem;
	width: 100vw;
	background-color: rgba(0,0,0,0.5);
	height: 100%;
	z-index: 99;
}

#mobileMenu .sub-menu:before {
    content: "";
	position: absolute;
	background-position: 90vw center;
	background-image: url('assets/images/back.png');
	background-size: 20px;
	height: 28px;
	width: 100vw;
	background-repeat: no-repeat;
	background-color: #fff;
	top: 4px;
	padding: 1rem;
	cursor: pointer;
	display: none;
}

#mobileMenu .sub-menu .mobile-back-link {
	position: relative;
	background-position: 90vw center;
	background-image: url('assets/images/back.png');
	background-size: 20px;
	height: 28px;
	width: 100vw;
	background-repeat: no-repeat;
	background-color: #fff;
	top: 4px;
	padding: 1rem;
	cursor: pointer;
	margin-top: 4px;
  padding-top: 30px;
}
@media screen and (max-width: 767px){
	body.admin-bar #mobileMenu .sub-menu .mobile-back-link {
	  margin-top: 40px !important;
	}
}
#mobileMenu .sub-menu li {
    margin-top: 0;
	padding: 0;
	background-color: #fff;
}

#mobileMenu .sub-menu li:first-child {
    margin-top: 2rem;
}

#mobileMenu .sub-menu li a {
    padding: .75rem 2rem;
	width: 100%;
	display: block;
}

#mobileMenu .menu-item-has-children.is_active .sub-menu {
	transform: translateX(0px);
}

#mobileMenu .mobile_bottom_options li {
    border-bottom: 1px solid #ffffff;
	margin: 0;
}

#mobileMenu .mobile_bottom_options li a {
    padding: 0.75rem 2rem;
	display: block;
}

#mobileMenu,
#mobileMenu .sub-menu {
	display: block;
}

@media screen and (min-width: 768px) {
	#mobileMenu,
	#mobileMenu .sub-menu {
		display: none;
	}
}

/* - - - account pages - - - */
.woocommerce form {
    font-size: 0.9rem;
}

.woocommerce label {
    color: #333333;
}
.woocommerce form #billing_factura_field {
    margin-bottom: 2rem;
}
.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #d8d8d8;
    padding: 0.5rem 0.75rem;
    margin: 0;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--aptk_green);
    color: #ffffff;
    border: 1px solid var(--aptk_green);
    /*text-transform: none;*/
    border-radius: 50px;
    font-weight: 400;
}

.woocommerce-EditAccountForm .woocommerce-Button {
    margin: 2rem auto 1rem auto !important;
    display: block !important;
    padding: 0.75rem 3rem !important;
}

.c4wp_user_input_captcha {
    border-width: 1px;
    border-style: solid;
    border-color: rgba(226,232,240,1);

}

.user_menu li {
    border-left: 3px solid white;
}

.user_menu li:hover {
    border-left: 3px solid var(--aptk_green);
    color: var(--aptk_green);
}

.user_menu li:last-of-type {
    font-weight: 700;
    border-top: 1px solid var(--aptk_lgray);
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

/* - - - footer - - - */
.footer {
	background: rgb(9,178,181);
	background: linear-gradient(90deg, rgba(9,178,181,1) 0%, rgba(32,197,131,1) 100%);
}
.footer_diagonal.inside {
    background-color: #F5F6FA;
}

.footer_diagonal svg {
    fill: var(--aptk_green);
}

.fsvg2 {
    display: block;
}
.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
    width: 50%;
}
.checkout.grid {
    display: block;
}
.woocommerce form .form-row.woocommerce-invalid label {
    color: #333;
}
.header-wishlist {
    margin-right: 15px;
}
.header-wishlist i {
    font-size: 22px;
    margin-left: -14px;
}
.field-boleta,
.field-boleta .optional {
    display: none;
}
#billing_tipo_documento_field > span {
    width: 100% !important;
}
.woocommerce-checkout .form-row {
  width: 50%;
}
.woocommerce-checkout .form-row.place-order {
  width: 100%;
}
@media screen and (max-width: 1024px) {
    .fsvg2 {
        display: none;
    }
}
@media (min-width: 768px) {
    .md\:w-1\/3,
    .md\:w-2\/3 {
        vertical-align: top;
        display: inline-block;
    }
    .md\:w-1\/3 {
        width: 31.333333%;
    }
}
.carrito-flex{
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.carrito-flex .columna-1{
	-ms-flex: 0 0 65%;
	flex: 0 0 65%;
	max-width: 65%;
	margin: 0;
}
.carrito-flex .columna-2{
	-ms-flex: 0 0 35%;
	flex: 0 0 35%;
	max-width: 35%;
	margin: 0;
}
.carrito-flex .cart_item .apoteka-cart-econ-cell,
.carrito-flex .cart_item .product-name{
	padding: 0 10px;
}
.carrito-flex .cart_item .apoteka-cart-econ-mid-left{
	text-align: left;
}
.carrito-flex .cart_item .apoteka-cart-econ-mid-right{
	text-align: right;
}
.woocommerce-cart .carrito-flex .columna-2 .inner{
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px;
}
.woocommerce-cart .carrito-flex .columna-2 .cart_totals{
	padding-top: 1rem;
}
.woocommerce-cart .carrito-flex .columna-2 .cart_totals table th,
.woocommerce-cart .carrito-flex .columna-2 .cart_totals table td{
	font-size: 1rem;
	line-height: 1.45;
	padding-top: .55rem;
	padding-bottom: .55rem;
}
.woocommerce-cart .carrito-flex .columna-2 .cart_totals table th{
	font-weight: 600;
	color: #374151;
}
.woocommerce-cart .carrito-flex .columna-2 .cart_totals table td{
	color: #111827;
}

.woocommerce-cart .carrito-flex .columna-2 .cart_totals tr.order-total th{
	font-size: 1.1rem;
	font-weight: 700;
	color: #111827;
	padding-top: .8rem;
}
.woocommerce-cart .carrito-flex .columna-2 .cart_totals tr.order-total td{
	font-size: 1.25rem;
	font-weight: 700;
}
.woocommerce-cart .carrito-flex .columna-2 .wc-proceed-to-checkout a{
	min-height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .02em;
}
.woocommerce-cart .page_inside .bg-white.container,
.woocommerce-checkout .page_inside .bg-white.container{
	width: 100%;
	max-width: 100%;
}
@media screen and (min-width: 1024px) {
	body.woocommerce-checkout .page_inside.checkout-page-tight .bg-white.container {
		padding-left: 1rem;
		padding-right: 1rem;
		max-width: 1240px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}
}
@media (max-width: 1160px){
	.woocommerce-cart .page_inside{
    padding-left: 20px;
		padding-right: 20px;
    max-width: 1150px;
    margin: 0 auto;
	}
	.carrito-flex .columna-1{
		-ms-flex: 0 0 70%;
		flex: 0 0 70%;
		max-width: 70%;
		margin: 0;
	}
	.carrito-flex .columna-2{
		-ms-flex: 0 0 30%;
		flex: 0 0 30%;
		max-width: 30%;
		margin: 0;
	}
}
@media (max-width: 1050px){
	.carrito-flex .columna-1,
	.carrito-flex .columna-2{
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	.carrito-flex .columna-2{
		border:0;
		padding: 0;
		margin-top: 40px;
	}
	.carrito-flex .columna-2 .inner{
    max-width: 450px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 12px;
	}
}
@media (max-width: 767px){
	.carrito-flex .cart_item .apoteka-cart-econ-cell,
	.carrito-flex .cart_item .product-name{
		padding: 0;
	}
}
@media (max-width: 550px){
	.woocommerce-cart .page_inside .woocommerce-cart-form__cart-item.cart_item.apoteka-cart-item{
		padding: 1rem 0.9rem 1.15rem;
	}
	.woocommerce-cart .breadcrumb .aptk_lgray,
	.woocommerce-checkout .breadcrumb .aptk_lgray{
		display: block;
		width:100%;
	}
}
@media (max-width: 420px){
	.carrito-flex .columna-2 .inner{
    padding-left: 20px;
    padding-right: 20px;
	}
	.woocommerce-cart .page_inside .bg-white.container{
		padding: 0 5px;
	}
}
.woocommerce-checkout #customer_details .checkout-comprobante.form-row fieldset{
    position: relative;
		display: inline-block;
}
.woocommerce-checkout #customer_details .checkout-comprobante.form-row fieldset .required{
	position: absolute;
	right: -10px;
	top: 0;
}
.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: start!important;
  justify-content: flex-start!important;
}
.woocommerce-checkout #customer_details #billing_factura_field{
	position: relative;
  top: -15px;
  left: 0;
  margin: 0;
  display: table;
	width:100%;
}
.woocommerce-checkout #customer_details #billing_country_field{
  clear: both;
}
.woocommerce form .form-row label {
  line-height: 2;
  height: 30px;
  display: block;
  width: 100%;
  position: initial !important;
}
.woocommerce-checkout #customer_details .wc_payment_methods li label{
    margin-top: -30px;
    padding-left: 25px;
}
.woocommerce-checkout #customer_details #payment{
	padding: 0;
}
.woocommerce-checkout #customer_details .form-row input.input-text,
.woocommerce-checkout #customer_details .form-row textarea {
    padding-top: 12px;
    padding-bottom: 12px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single {
  border: 1px solid #d8d8d8;
  border-radius: 0;
	height: 40px;
	padding-top: 6px;
	padding-left: 4px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 8px;
}



.woocommerce-checkout form.checkout.grid{
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.woocommerce-checkout form.checkout.grid #customer_details{
	-ms-flex: 0 0 65%;
	flex: 0 0 65%;
	max-width: 65%;
	margin: 0;
}
.woocommerce-checkout form.checkout.grid #order_review{
	-ms-flex: 0 0 35%;
	flex: 0 0 35%;
	max-width: 35%;
	margin: 0;
}
@media (max-width: 991px){
	.woocommerce-checkout form.checkout.grid{
		-ms-flex-pack: center!important;
    justify-content: center!important;
	}
	.woocommerce-checkout form.checkout.grid #customer_details{
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	.woocommerce-checkout form.checkout.grid #order_review{
		-ms-flex: 0 0 60%;
		flex: 0 0 60%;
		max-width: 60%;
	}
}
@media (max-width: 767px){
	.woocommerce-checkout form.checkout.grid #order_review{
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
}
@media (max-width: 600px){
	.woocommerce-checkout form.checkout.grid #order_review{
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}
@media (max-width: 500px){
	.woocommerce-checkout form.checkout.grid #customer_details .border-solid.border-b,
	.woocommerce-checkout form.checkout.grid #customer_details .bg-white.mb-4.p-6{
		padding-left: 2px !important;
		padding-right: 2px !important;
	}
}
#order_comments_field #order_comments{
    height: 70px;
}
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-checkout{
	width:100%;
}
.woocommerce-NoticeGroup-updateOrderReview,
.woocommerce-NoticeGroup-checkout{
    margin-top: -130px;
    padding-top: 130px;
}
.woocommerce-account .woocommerce-form-login.login{
  max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
.woocommerce-account .page_inside h2{
	text-align: center;
}
.woocommerce-account.logged-in .page_inside h2 {
    text-align: left;
}
@media (max-width: 500px){
	#createAccount .woocommerce-form-row{
		width:100%;
	}
	#ls-register .w-full.p-4{
		padding-left: 0;
		padding-right: 0;
	}
}
.row-z{
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.colz-12{
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
}
.content-medios-footer{
  max-width: 1150px;
  margin: 0 auto;
}
.content-medios-footer ul li{
	display: inline-block;
	margin-right: 7px !important;
}
.content-medios-footer ul li img {
  max-height: 50px !important;
  height: auto !important;
  max-width: 60px !important;
  width: auto !important;
}
@media (max-width: 767px){
	.content-medios-footer{
		padding: 0 15px !important;
		padding-top: 20px !important;
	}
}
@media (min-width: 767px){
	.woocommerce ul.products li.product a img {
		width: auto;
    height: auto;
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
	}
	.bloque-img-0.con-img{
    min-height: 335px;
	}
	.bloque-img-0.con-img img{
		display: none !important;
	}
	.bloque-img-0.con-img .box-img-single{
		height: 310px;
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		width:100%;
	}
}
@media (min-width: 767px) and (max-width: 1300px){
	.bloque-img-0.con-img .box-img-single{
		height: 265px;
	}
	.bloque-img-0.con-img {
    min-height: 0;
	}
}
@media (min-width: 767px) and (max-width: 1200px){
	.bloque-img-0.con-img .box-img-single{
		height: 240px;
	}
}
@media (min-width: 767px) and (max-width: 1100px){
	.bloque-img-0.con-img .box-img-single{
		height: 220px;
	}
}
@media (min-width: 767px) and (max-width: 910px){
	.bloque-img-0.con-img .box-img-single{
		height: 200px;
	}
}
@media (max-width: 1450px){
	section.page_inside{
		padding-left: 20px;
		padding-right: 20px;
	}
}
.sg-overlay{
	z-index: 999;
}
.sg-del-add-map-container {
  height: 280px !important;
  margin: 0 -60px !important;
  margin-top: -30px !important;
  width: auto !important;
}
@media (max-width: 500px){
	.sg-del-add-map-container {
	  margin: -30px -36px 0 !important;
	}
}
.woocommerce-billing-fields .select,
.woocommerce-input-wrapper .select2,
.woocommerce-input-wrapper .select2-selection{
	height: 42px !important;
}
@media (max-width: 490px){
	.woocommerce-page form.woocommerce-checkout .form-row-first,
	.woocommerce-page form.woocommerce-checkout .form-row-last,
	.sg-del-add-add-new-opt{
    width: 100% !important;
	}
}
.woocommerce-order-received .breadcrumb{
	display: none;
}
.woocommerce-order-received .woocommerce-order{
	padding-top: 15px;
	max-width: 1000px;
	margin: 0 auto;
}
.woocommerce-order-received .woocommerce-customer-details address{
	border: 2px solid #09b2b5;
	padding-top: 14px;
	padding-bottom: 11px;
	font-size: 14px;
	min-height: 175px;
}
.woocommerce-order-received .woocommerce-customer-details address p{
  padding-top: 0;
  padding-bottom: 0;
}
.woocommerce-order-received .woocommerce-order .woocommerce-notice{
	font-size: 26px;
	text-align: center;
	font-weight: bold;
}
.woocommerce-order-received ul.order_details{
  display: table;
  margin: 30px auto;
}
.woocommerce-order-received ul.order_details li{
  margin-bottom: 10px;
}
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .woocommerce-order-details__title{
	margin-bottom: 5px;
	padding-bottom: 0;
	font-weight: bold;
	font-size: 18px;
	color: #09b2b5;
}
.woocommerce-order-received table.shop_table{
	border-color: #09b2b5;
	border-width: 2px;
}
@media (max-width: 767px){
	.woocommerce-order-received .woocommerce-customer-details address{
		min-height: 0;
	}
}
@media (max-width: 750px){
	.woocommerce-order-received ul.order_details li {
    float: none;
    margin-bottom: 15px;
    width: 100%;
    border: 0;
		padding: 0;
	}
	.woocommerce-order-received ul.order_details {
    width: 100%;
	}
	.woocommerce-order-received .woocommerce-column--2{
    padding-top: 20px;
	}
}
.woof_container_inner h4 {
	margin-bottom: 0;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	padding: 10px;
	font-weight: bold;
	font-size: 18px;
}
.woof_container_inner .woof_checkbox_label{
	position: relative;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 10px;
}
.woof_container_inner .woof_checkbox_term ~ .iCheck-helper::before{
	content: '';
	border: 2px solid #9D9994;
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-right: 0.5rem;
	border-radius: 0.25rem;
	margin-top: 0.25rem;
	position: absolute;
	top:0;
	left: -6px;
	background: #fff;
}
.woof_container_inner .woof_checkbox_term{
	opacity: 0;
	position: absolute;
	left:0;
	top:0;
}
.woof_container_inner .woof_checkbox_term ~ .iCheck-helper{
	opacity: 1 !important;
	cursor: pointer;
}
.woof_container_inner .woof_checkbox_term:checked ~ .iCheck-helper::before{
	background: #09b2b5;
	border-color: #09b2b5;
}
.woof_submit_search_form_container .button{
	background-color: #ffffff;
	color: #09b2b5;
	border: 2px solid #09b2b5;
	border-radius: 50px;
	text-transform: uppercase;
	font-size: 0.8rem;
	padding: 1rem 2.4rem;
	margin-top: 0;
	letter-spacing: 0.1rem;
	transition: all 0.4s;
}
.woof_submit_search_form_container .button:hover{
	color:#fff;
	background: #09b2b5;
}
.woocommerce-wishlist .woocommerce ul.products,
.woocommerce .listados-productos ul.products{
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.woocommerce-wishlist .woocommerce ul.products li.product,
.woocommerce .listados-productos ul.products li.product,
.woocommerce-page .listados-productos ul.products li.product{
	-ms-flex: 0 0 33.2222%;
	flex: 0 0 33.2222%;
	max-width: 33.2222%;
}
.modalContainer {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.modalContainer .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid lightgray;
  border-top: 10px solid #58abb7;
  width: 60%;
}
.modalContainer .close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modalContainer .close:hover,
.modalContainer .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 1080px){
	.woocommerce-wishlist .woocommerce ul.products li.product,
	.woocommerce .listados-productos ul.products li.product,
	.woocommerce-page .listados-productos ul.products li.product{
		-ms-flex: 0 0 49.8888%;
		flex: 0 0 49.8888%;
		max-width: 49.8888%;
	}
}
@media (max-width: 700px){
	.woocommerce-wishlist .woocommerce ul.products li.product,
	.woocommerce .listados-productos ul.products li.product,
	.woocommerce-page .listados-productos ul.products li.product{
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}
.single .summary .entry_title{
	 line-height: 1.2;
}

/* PDP: wishlist — escritorio junto al título; móvil en barra sticky (ver reglas arriba) */
.single .summary .product_meta{
	margin-top: 15px;
}
.page_inside{
	z-index: 2;
	position: relative;
}
.grid .woof_products_top_panel_ul .woof_reset_button_2{
	padding: 0;
}
@media (min-width: 768px){
	#sidebarMobile{
		display: none;
	}
}
/* PDP favoritos “en lista” (escritorio): toast en style.css @media (min-width: 768px); evitar herencia del h1 */
.single .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistaddedbrowse .feedback,
.single .summary .aptk-pdp-title-wishlist .yith-wcwl-wishlistexistsbrowse .feedback {
	font-style: normal;
}
@media (max-width: 767px){
	#mobileMenu{
	  overflow-x: hidden;
	}
}
@media (max-width: 500px){
	.breadcrumb .aptk_lgray {
    color: #fff;
		text-shadow: 1px 1px 3px #7b7b7b;
	}
	/* Carrito/checkout sin imagen de fondo: el h1 no debe forzarse a blanco */
	.woocommerce-cart .breadcrumb h1,
	.woocommerce-checkout .breadcrumb h1 {
		color: #111827 !important;
		text-shadow: none !important;
	}
}
@media (max-width: 390px){
	header #toggleMC img.carrito{
    height: 23px !important;
    position: absolute;
    width: 24px !important;
    max-width: 24px;
    right: -10px;
    top: 0;
	}
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content p a{
	text-decoration: underline;
}
.section-orden-0{
	padding-top: 50px !important;
	padding-bottom: 40px;
}
.section-orden-0 .titulo-0{
	font-size: 36px !important;
  line-height: 1.2;
	color:#999999;
}
.section-orden-0 .content,
.section-orden-0 .description{
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}
.section-orden-0 .content p,
.section-orden-0 .description p{
	font-size: 18px;
	color:#999999;
}
.section-orden-0 .content-btn{
    text-align: center;
    margin-top: 25px;
}
.section-orden-0 .content-btn .button{
	min-width: 220px;
	height: 45px !important;
	padding-top: 13px;
}
body > .mensaje-validacion {
    background: #fff;
    position: absolute;
    max-width: 400px;
    border: 1px solid #dedede;
    z-index: 99;
    left: 50%;
    margin: -80px 0 0 -200px;
    top: 50vh;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 4px 0px #000;
    border-radius: 10px;
    font-size: 20px;
}
@media (max-width: 500px){
	.section-orden-0 .titulo-0 {
	  font-size: 28px !important;
	}
	.section-orden-0 {
    padding-bottom: 25px;
	}
}
.o612-email-verification{
    display: block;
    text-align: center;
    padding: 30px;
    background: #1fc584;
    color: white;
    font-size: 18px;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: anywhere;
}
.o612-email-verification-close {
    width: 32px;
    height: 32px;
    position: absolute;
    right: -10px;
    top: -10px;
    cursor: pointer;
}
.o612-email-verification-close:before {
    content: "\f00d";
    color: blue;
    font: normal normal normal 14px/1 "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 22px;
    color: #fff;
}
@media (max-width: 767px){
    .o612-email-verification{
        padding: 16px 14px;
        font-size: 1rem;
    }
}
#loginform .input {
    border: 1px solid #ccc;
    width: 100%;
    padding: 8px;
}

/* Checkout móvil: evita solape de etiquetas (height:30px global), tipografía más ligera, espaciado */
@media screen and (max-width: 767px) {
	body.woocommerce-checkout form.checkout .form-row {
		width: 100% !important;
		float: none;
		margin-bottom: 1rem;
		padding-left: 0;
		padding-right: 0;
	}
	body.woocommerce-checkout form.checkout .form-row.place-order {
		width: 100%;
		margin-bottom: 0;
	}
	body.woocommerce-checkout form.checkout .form-row label:not(.woocommerce-form__label-for-checkbox) {
		height: auto !important;
		min-height: 0;
		line-height: 1.45 !important;
		margin-bottom: 0.4rem;
		font-weight: 400;
		color: #374151;
	}
	body.woocommerce-checkout form.checkout .form-row input.input-text,
	body.woocommerce-checkout form.checkout .form-row textarea {
		font-weight: 400;
		color: #111827;
		border-radius: 8px;
		border: 1px solid #d1d5db;
		font-size: 1rem;
	}
	body.woocommerce-checkout form.checkout .form-row select {
		font-weight: 400;
		color: #111827;
		font-size: 1rem;
	}
	body.woocommerce-checkout form.checkout .form-row label.woocommerce-form__label-for-checkbox {
		display: flex !important;
		align-items: flex-start;
		gap: 0.75rem;
		height: auto !important;
		min-height: 0;
		line-height: 1.45 !important;
		margin-bottom: 0 !important;
		padding-top: 0.15rem;
		font-weight: 400;
		color: #374151;
	}
	body.woocommerce-checkout form.checkout .form-row label.woocommerce-form__label-for-checkbox input[type="checkbox"] {
		width: 1.125rem;
		height: 1.125rem;
		min-width: 1.125rem;
		margin: 0.2rem 0 0 0 !important;
		flex-shrink: 0;
	}
	body.woocommerce-checkout form.checkout .form-row label.woocommerce-form__label-for-checkbox > span {
		flex: 1;
		min-width: 0;
	}
	body.woocommerce-checkout .select2-container--default .select2-selection--single {
		border-radius: 8px;
		border-color: #d1d5db;
		min-height: 46px;
	}
	body.woocommerce-checkout #customer_details #billing_factura_field {
		top: 0;
		position: relative;
	}
	body.woocommerce-checkout #payment .wc_payment_methods label {
		font-weight: 400;
		line-height: 1.4;
	}
}

/* Checkout móvil: resumen de compra (cupón + tabla) */
@media screen and (max-width: 767px) {
	body.woocommerce-checkout .apoteka-checkout-sidebar {
		padding: 0.8rem !important;
		border-radius: 12px;
	}
	body.woocommerce-checkout .apoteka-checkout-sidebar > h2 {
		margin-bottom: 0.65rem !important;
		font-size: 1.55rem;
		line-height: 1.15;
	}
	body.woocommerce-checkout .apoteka-checkout-sidebar .bg-white {
		padding: 0.8rem !important;
		border-radius: 12px;
		border-left-width: 3px !important;
	}
	body.woocommerce-checkout .apoteka-checkout-sidebar .checkout_coupon {
		display: block;
		width: 100%;
		max-width: 100%;
		margin-bottom: 0.75rem !important;
	}
	body.woocommerce-checkout .apoteka-checkout-sidebar .checkout_coupon .form-row-first,
	body.woocommerce-checkout .apoteka-checkout-sidebar .checkout_coupon .form-row-last,
	body.woocommerce-checkout .apoteka-checkout-sidebar .checkout_coupon .form-row {
		float: none !important;
		width: 100% !important;
		max-width: 100%;
		padding: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .apoteka-checkout-sidebar .checkout_coupon p {
		margin-bottom: 0.45rem;
		line-height: 1.3;
	}
	body.woocommerce-checkout .apoteka-checkout-sidebar .checkout_coupon p.form-row {
		width: 100% !important;
		margin: 0 0 0.5rem 0 !important;
		padding: 0 !important;
	}
	body.woocommerce-checkout .apoteka-checkout-sidebar .checkout_coupon input.input-text {
		display: block;
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
		height: 42px;
		border-radius: 8px;
		font-size: 0.95rem;
	}
	body.woocommerce-checkout .apoteka-checkout-sidebar .checkout_coupon .button {
		display: flex;
		width: 100%;
		max-width: 100%;
		min-height: 42px;
		font-size: 0.9rem;
		letter-spacing: 0.01em;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table {
		margin: 0 !important;
		border-radius: 10px;
		overflow: hidden;
		border: 1px solid #e5e7eb;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
		font-size: 0.78rem;
		letter-spacing: 0.03em;
		color: #4b5563;
		padding: 0.62rem 0.7rem !important;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td {
		padding: 0.62rem 0.7rem !important;
		vertical-align: top;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name {
		font-size: 0.89rem;
		line-height: 1.35;
		color: #111827;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name .product-quantity,
	body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name .product-sku {
		display: block;
		font-size: 0.82rem;
		line-height: 1.3;
		color: #4b5563;
		font-weight: 500;
		margin-top: 0.22rem;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name .product-quantity {
		color: #111827;
		font-size: 0.92rem;
		font-weight: 600;
		margin-top: 0.32rem;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-total {
		text-align: right;
		white-space: nowrap;
		font-size: 0.98rem;
		font-weight: 600;
		color: #111827;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
	body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
		padding: 0.7rem 0.75rem !important;
		font-size: 0.93rem;
	}
	body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
	body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
		font-size: 1.05rem;
		font-weight: 700;
		color: #111827;
	}
}

/* Checkout mobile lite: remove decorative lines/shadows for faster paint */
@media screen and (max-width: 767px) {
	body.woocommerce-checkout .apoteka-checkout-layout > .apoteka-checkout-main > #customer_details > .bg-gray-50,
	body.woocommerce-checkout .apoteka-checkout-layout > .apoteka-checkout-sidebar,
	body.woocommerce-checkout .apoteka-checkout-layout > .apoteka-checkout-payment-wrap .bg-gray-50 {
		background: #fff !important;
		border: 1px solid #eceff3 !important;
		border-radius: 10px !important;
		box-shadow: none !important;
	}
	body.woocommerce-checkout .apoteka-checkout-layout > .apoteka-checkout-main > #customer_details > .bg-gray-50 > .bg-white,
	body.woocommerce-checkout .apoteka-checkout-layout > .apoteka-checkout-sidebar > .bg-white,
	body.woocommerce-checkout .apoteka-checkout-layout > .apoteka-checkout-payment-wrap .bg-gray-50 > .bg-white {
		border-left: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
		background: #fff !important;
		border-radius: 8px !important;
	}
	body.woocommerce-checkout .apoteka-checkout-layout > .apoteka-checkout-sidebar .shadow-sm {
		box-shadow: none !important;
	}
}