.stm-pueblus-offers {
	margin: 0 auto var(--wp--preset--spacing--40, 1.5rem);
	max-width: var(--wp--style--global--wide-size, 1340px);
	padding: var(--wp--preset--spacing--30, 1rem) var(--wp--preset--spacing--40, 1.25rem);
	background: #fff;
	border: 1px solid #e8e0d4;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
	min-width: 0;
}

.stm-pueblus-offers__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.75rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid #f0ebe3;
}

.stm-pueblus-offers__title {
	margin: 0;
	font-size: 1.05rem;
	color: #1a1a1a;
}

.stm-pueblus-offers__source {
	font-size: 0.85rem;
	font-weight: 600;
	color: #c45f00;
	text-decoration: none;
	white-space: nowrap;
}

.stm-pueblus-offers__source:hover,
.stm-pueblus-offers__source:focus {
	text-decoration: underline;
}

.stm-pueblus-offers__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stm-pueblus-offers__item {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #f0e6d8;
	border-radius: 8px;
}

.stm-pueblus-offers__media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	padding: 0;
	border: none;
	background: #f3f3f3;
	cursor: zoom-in;
}

.stm-pueblus-offers__media-btn:hover .stm-pueblus-offers__image,
.stm-pueblus-offers__media-btn:focus-visible .stm-pueblus-offers__image {
	transform: scale(1.03);
}

.stm-pueblus-offers__media-btn:focus-visible {
	outline: 2px solid #c45f00;
	outline-offset: 2px;
}

.stm-pueblus-offers__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.stm-pueblus-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(0, 0, 0, 0.88);
}

.stm-pueblus-lightbox[hidden] {
	display: none !important;
}

.stm-pueblus-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.5rem;
	height: 2.5rem;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.stm-pueblus-lightbox__close:hover,
.stm-pueblus-lightbox__close:focus {
	background: rgba(255, 255, 255, 0.3);
}

.stm-pueblus-lightbox__figure {
	max-width: min(92vw, 900px);
	max-height: 90vh;
	margin: 0;
}

.stm-pueblus-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(90vh - 2rem);
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: 6px;
}

.stm-pueblus-lightbox__caption {
	margin-top: 0.75rem;
	color: #fff;
	text-align: center;
	font-size: 0.95rem;
}

html.stm-pueblus-lightbox-open {
	overflow: hidden;
}

.stm-pueblus-offers__body {
	padding: 0.65rem 0.75rem 0.75rem;
	background: linear-gradient(135deg, #fffaf5 0%, #fff 100%);
}

.stm-pueblus-offers__item-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.25rem 0.5rem;
	margin-bottom: 0.35rem;
}

.stm-pueblus-offers__category {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #888;
}

.stm-pueblus-offers__price {
	font-size: 0.8rem;
	font-weight: 700;
	color: #c45f00;
	white-space: nowrap;
}

.stm-pueblus-offers__item-title {
	margin: 0 0 0.35rem;
	font-size: 0.9rem;
	line-height: 1.3;
	color: #1a1a1a;
}

.stm-pueblus-offers__excerpt {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #555;
}

@media (max-width: 899px) {
	.stm-pueblus-offers__list {
		grid-template-columns: 1fr;
	}
}

/* Junto a Instagram: una columna hasta que haya espacio para tres */
@media (min-width: 900px) and (max-width: 1199px) {
	.stm-social-proof .stm-pueblus-offers__list {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 1200px) {
	.stm-social-proof .stm-pueblus-offers__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
