.imacps-card-placeholder {
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 18px 0;
	padding: 18px;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: #555;
}

.imacps-loading,
.imacps-error {
	font-size: 14px;
}

.imacps-buy span{
color:white !important;
}
.imacps-error {
	width: 100%;
	padding: 12px 14px;
	border-left: 4px solid #c62828;
	background: #fff5f5;
	color: #8a1f1f;
}

.imacps-product-card {
	display: grid;
	grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
	gap: 24px;
	margin: 22px 0;
	padding: 22px;
	border: 1px solid #e4e6e8;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.imacps-product-card__media img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 !important;
	border-radius: 6px;
}

.imacps-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.imacps-title {
	display: block;
	color: #212121;
	text-decoration: none;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.imacps-title:hover,
.imacps-product-card__body a:hover {
	color: #638c2f;
}

.imacps-product-card__body a {
	color: #212121;
	text-decoration: none;
}

.imacps-price {
	padding: 11px 16px;
	border-radius: 6px;
	background: #6f9f3a;
	color: #fff;
	font-size: 23px;
	font-weight: 700;
	text-align: center;
}

.imacps-price .offer {
	margin-right: 8px;
	text-decoration: line-through;
	opacity: 0.72;
}

.imacps-description {
	color: #424242;
	font-size: 14px;
	line-height: 1.45;
}

.imacps-combinations {
	max-height: 260px;
	overflow-y: auto;
	padding-right: 4px;
}

.imacps-combinations table {
	width: 100%;
	border-collapse: collapse;
}

.imacps-combinations td {
	padding: 10px 6px;
	border-bottom: 1px solid #efefef;
	vertical-align: middle;
}

.imacps-combination-row {
	cursor: pointer;
}

.imacps-combination-row:hover {
	background: #f7faf4;
}

.imacps-combination-row.is-disabled {
	cursor: not-allowed;
	opacity: 0.58;
}

.imacps-combination-name {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.imacps-reference {
	display: block;
	margin-top: 2px;
	color: #777;
	font-size: 12px;
	font-weight: 400;
}

.imacps-stock {
	width: 120px;
	color: #555;
	font-size: 13px;
	text-align: right;
	white-space: nowrap;
}

.imacps-stock-last {
	width: 120px;
	color: red;
	font-size: 13px;
	text-align: right;
	white-space: nowrap;
}

.imacps-stock--single {
	width: auto;
	text-align: left;
}

.imacps-combinations input[type="radio"] {
	accent-color: #6f9f3a;
	cursor: pointer;
}

.imacps-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: auto;
	text-align: center;
}

.imacps-buy,
.imacps-view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.imacps-buy {
	background: #6f9f3a;
	color: #fff;
}

.imacps-buy:hover {
	background: #5c842f;
	color: #fff;
}

.imacps-buy[aria-disabled="true"] {
	pointer-events: none;
	opacity: 0.45;
}

.imacps-buy.is-loading {
	cursor: wait;
	opacity: 0.75;
}

.imacps-view {
	border: 2px solid #d9dee2;
	background: #fff;
	color: #6f9f3a;
}

.imacps-view:hover {
	border-color: #6f9f3a;
	background: #f4faef;
	color: #5c842f;
}

.imacps-note {
	grid-column: 1 / -1;
	color: #638c2f;
	font-size: 13px;
	font-style: italic;
	text-align: center;
}

.imacps-cart-modal {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 100000;
	width: 360px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 16px;
	border: 1px solid rgba(111, 159, 58, 0.32);
	border-radius: 8px;
	background: rgba(22, 24, 25, 0.94);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	color: #fff;
}

.imacps-cart-modal[hidden] {
	display: none;
}

.imacps-cart-modal__header {
	margin-bottom: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.imacps-cart-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	text-decoration: none;
}

.imacps-cart-modal__products {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.imacps-cart-modal__product {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
}

.imacps-cart-modal__image {
	width: 54px;
	height: 54px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.imacps-cart-modal__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.imacps-cart-modal__title {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.imacps-cart-modal__detail,
.imacps-cart-modal__price {
	font-size: 12px;
	opacity: 0.9;
}

.imacps-cart-modal__qty {
	min-width: 34px;
	height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

.imacps-cart-modal__total {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-weight: 700;
	text-align: right;
}

.imacps-cart-modal__actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.imacps-cart-modal__actions a {
	flex: 1;
	padding: 10px 12px;
	border-radius: 6px;
	text-align: center;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

.imacps-cart-modal__continue {
	background: #fff;
	color: #333;
}

.imacps-cart-modal__go {
	background: #6f9f3a;
	color: #fff;
}

@media (max-width: 768px) {
	.imacps-product-card {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.imacps-product-card__media {
		max-width: 65%;
		margin: 0 auto;
	}

	.imacps-actions {
		grid-template-columns: 1fr;
	}

	.imacps-stock {
		width: auto;
	}

	.imacps-cart-modal {
		right: 12px;
		bottom: 12px;
		width: calc(100vw - 24px);
		max-height: 70vh;
	}

	.imacps-cart-modal__actions {
		flex-direction: column;
	}
}

.producto-blog-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding: 24px;
	border: 1px solid #e5e5e5;
	border-radius: 24px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: 0.3s ease;
}

.producto-blog-container:hover {
	box-shadow: 0 0 26px -3px rgba(0, 0, 0, 0.3);
}

.producto-blog img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 !important;
	border-radius: 10px;
}

.combis-blog.details-block {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

#titulo {
	display: block;
	margin: 0;
	color: #212121;
	text-decoration: none;
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: 0.3s ease;
}

#titulo:hover,
.details-block a:hover {
	color: #7bbd42;
}

.details-block a {
	color: #212121;
	text-decoration: none;
	transition: 0.3s ease;
}

[id^="price_combi_"] {
	position: relative;
	overflow: hidden;
	padding: 12px 18px;
	border-radius: 10px;
	background: linear-gradient(135deg, #7bbd42 0%, #6ba038 100%);
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
}

[id^="price_combi_"]::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: 0.6s ease;
}

[id^="price_combi_"]:hover::before {
	left: 100%;
}

.scrollComb {
	max-height: 260px;
	overflow-y: auto;
	padding-right: 4px;
}

.scrollComb table {
	width: 100%;
	border-collapse: collapse;
}

.scrollComb td {
	border-bottom: 1px solid #efefef;
}

.scrollComb table tr td p {
	padding: 0;
	margin: 0;
}

.combistd {
	padding: 14px 6px;
	font-size: 18px;
	font-weight: 500;
	color: #424242;
}

input[type="radio"] {
	accent-color: #7bbd42;
	cursor: pointer;
}

#caja_organizar_botones {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: auto;
	text-align: center;
}

a[class*="btn-comprar_"],
.btn-view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-radius: 8px;
	text-decoration: none;
	transition: 0.3s ease;
}

a[class*="btn-comprar_"] {
	background: linear-gradient(135deg, #7bbd42 0%, #6ba038 100%);
	color: #fff;
}

a[class*="btn-comprar_"].imacprestashop-buy-click {
	animation: imacprestashop-buy-pulse 420ms ease;
	will-change: transform;
}

@keyframes imacprestashop-buy-pulse {
	0% {
		transform: scale(1);
	}
	35% {
		transform: scale(0.96);
	}
	70% {
		transform: scale(1.02);
	}
	100% {
		transform: scale(1);
	}
}

.btn-view {
	background: #fff;
	color: #212121;
	border: 2px solid #e0e0e0;
}

.btn-view:hover {
	background: #7bbd42;
	border-color: #7bbd42;
}

.btn-view:hover .txt_view {
	color: #fff;
}

.txt_comprar {
	color: #fff;
}

.txt_view {
	color: #7bbd42;
	transition: 0.3s ease;
}

#frase {
	grid-column: 1 / -1;
	text-align: center;
	font-size: 13px;
	font-style: italic;
	color: #7bbd42;
	opacity: 0.85;
}

div[id^="price_combi_"] .offer:has(+ .price) {
	text-decoration: line-through;
	opacity: 0.6;
}

.caja_ventana {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1000;
	width: 360px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 16px;
	border: 1px solid rgba(123, 189, 66, 0.25);
	border-radius: 16px;
	background: rgba(20, 20, 20, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	color: #fff;
}

.caja_ventana.is-hidden {
	display: none;
}

.caja_ventana[hidden] {
	display: none !important;
}

.caja_products {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.total_ventana {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 14px;
	font-weight: 700;
	text-align: right;
}

.titulo_ventana {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.cabezera {
	margin-bottom: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #fff;
}

.caja_product {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
}

.info_ventana {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.detalle_ventana {
	font-size: 12px;
	opacity: 0.9;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.precio_ventana {
	font-size: 12px;
	font-weight: 700;
	opacity: 0.95;
}

.imagen_ventana {
	width: 54px;
	height: 54px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

.contador_ventana {
	margin-left: auto;
	min-width: 34px;
	height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.caja_botones {
	display: flex;
	gap: 12px;
	margin-top: 14px;
}

.caja_botones a {
	flex: 1;
	padding: 12px 16px;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	transition: 0.3s ease;
}

.btn_continue {
	background: #fff;
	color: #424242;
	border: 2px solid #e0e0e0;
}

.btn_continue:hover {
	background: #e0e0e0;
	color: #212121;
}

.btn_buy {
	background: linear-gradient(135deg, #7bbd42 0%, #6ba038 100%);
	color: #fff;
}

.btn_buy:hover {
	background: #2c313b;
	color: #fff;
}

.cross {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s ease;
}

.cross:hover {
	background: #c62828;
	color: #fff;
}

@media (max-width: 768px) {
	.producto-blog-container {
		grid-template-columns: 1fr;
		padding: 18px;
		gap: 18px;
		margin-bottom: 18px;
	}

	.producto-blog {
		display: block;
		margin: 0 auto;
		max-width: 60%;
	}

	.producto-blog img {
		max-width: 100%;
		height: auto;
	}

	#caja_titulo {
		text-align: center;
	}

	#caja_organizar_botones {
		grid-template-columns: 1fr;
	}

	.combistd {
		padding: 10px 5px;
		font-size: 16px;
	}

	.caja_ventana {
		right: 12px;
		bottom: 12px;
		width: unset;
		max-width: unset;
		height: 70vh;
		max-height: 70vh;
		padding: 14px;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.caja_products {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.caja_botones {
		flex-direction: column;
	}
}
