/* Custom Offers: every selector is scoped to the widget component. */
.custom-offers {
	--co-accent: #00b977;
	--co-description-height: 220px;
	--co-gradient-color: #ffffff;
	--co-badge-skew: -16deg;
	box-sizing: border-box;
	width: 100%;
}

.custom-offers *,
.custom-offers *::before,
.custom-offers *::after {
	box-sizing: border-box;
}

.custom-offers__container {
	width: 100%;
}

.custom-offers-align-center .custom-offers__container {
	margin-right: auto;
	margin-left: auto;
}

.custom-offers-align-right .custom-offers__container {
	margin-left: auto;
}

.custom-offers__heading {
	margin: 0 0 34px;
	color: inherit;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.15;
}

.custom-offers__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

.custom-offer-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px;
	color: inherit;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgb(0 0 0 / 6%);
	transition-property: background-color, border-color, box-shadow, transform;
	transition-timing-function: ease;
	transition-duration: 200ms;
}

.custom-offers--equal-cards .custom-offer-card {
	height: 100%;
}

/* An expanded card must grow independently; otherwise CSS Grid stretches all
 * cards in its row and leaves a large blank area below their content. */
.custom-offers--equal-cards.custom-offers--has-expanded-card .custom-offers__grid {
	align-items: start;
}

.custom-offers--equal-cards.custom-offers--has-expanded-card .custom-offer-card {
	height: auto;
}

.custom-offer-card:hover {
	transform: translateY(-2px);
}

.custom-offer-card__badge {
	position: absolute;
	top: -15px;
	right: 18px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 138px;
	min-height: 34px;
	padding: 8px 19px;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
	background: #7426c9;
	border-radius: 6px;
	box-shadow: 0 4px 9px rgb(0 0 0 / 17%);
	transform: skewX(var(--co-badge-skew));
}

.custom-offer-card__badge > span {
	display: block;
	transform: skewX(calc(var(--co-badge-skew) * -1));
}

.custom-offers--badge-no-skew .custom-offer-card__badge,
.custom-offers--badge-no-skew .custom-offer-card__badge > span {
	transform: none;
}

.custom-offer-card__badge--special {
	background: #7426c9;
}

.custom-offer-card__badge--new {
	background: #d88412;
}

.custom-offer-card__badge--hot {
	background: #dc3636;
}

.custom-offer-card__badge--mexico {
	background: #128c64;
}

.custom-offer-card__badge--custom {
	background: #365bbd;
}

.custom-offer-card__header {
	display: flex;
	flex-direction: row;
	gap: 16px;
	align-items: flex-start;
	margin: 0 0 18px;
}

.custom-offer-card__image {
	display: block;
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	max-width: 100%;
	object-fit: cover;
	border-radius: 9px;
}

.custom-offer-card__title {
	min-width: 0;
	margin: 0;
	color: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.22;
	overflow-wrap: anywhere;
}

.custom-offers--equal-titles .custom-offer-card__title {
	display: flex;
	align-items: center;
	min-height: 96px;
}

.custom-offer-card__description {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	color: inherit;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.custom-offers--equal-descriptions .custom-offer-card__description {
	min-height: var(--co-description-height);
}

.custom-offer-card__description > :first-child {
	margin-top: 0;
}

.custom-offer-card__description > :last-child {
	margin-bottom: 0;
}

.custom-offer-card__description p {
	margin: 0 0 1em;
}

.custom-offer-card__description ul,
.custom-offer-card__description ol {
	margin: 0 0 1em;
	padding-inline-start: 1.35em;
}

.custom-offer-card__description li + li {
	margin-top: 0.35em;
}

.custom-offer-card__description li::marker {
	color: var(--co-accent);
}

.custom-offer-card__description a {
	color: var(--co-accent);
	text-underline-offset: 0.15em;
}

.custom-offers--has-js .custom-offer-card.is-description-collapsible:not(.is-expanded) .custom-offer-card__description {
	max-height: var(--co-description-height);
	overflow: hidden;
}

.custom-offers--has-js .custom-offer-card.is-description-collapsible:not(.is-expanded) .custom-offer-card__description::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 48px;
	pointer-events: none;
	content: '';
	background: linear-gradient(to bottom, rgb(255 255 255 / 0%), var(--co-gradient-color));
}

.custom-offer-card__read-more,
.custom-offers__show-more {
	appearance: none;
	cursor: pointer;
	font: inherit;
}

.custom-offer-card__read-more {
	display: none;
	align-self: flex-start;
	padding: 8px 0;
	color: var(--co-accent);
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	background: transparent;
	border: 0;
	border-radius: 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition-property: color, background-color, border-color, opacity, transform;
	transition-timing-function: ease;
	transition-duration: 200ms;
}

.custom-offers--has-js .custom-offer-card__read-more {
	display: inline-flex;
}

.custom-offer-card__read-more[hidden],
.custom-offers__show-more[hidden] {
	display: none;
}

.custom-offer-card__read-more:hover,
.custom-offer-card__read-more:focus-visible {
	color: #008958;
}

.custom-offer-card__footer {
	display: flex;
	flex-direction: row;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e6e6e6;
}

.custom-offer-card__prices {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.custom-offer-card__old-price {
	color: #737373;
	font-size: 0.94rem;
	line-height: 1.2;
	text-decoration: line-through;
}

.custom-offer-card__price {
	color: #222;
	font-size: 1.55rem;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.custom-offer-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 21px;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	background: var(--co-accent);
	border: 1px solid var(--co-accent);
	border-radius: 999px;
	transition-property: color, background-color, border-color, opacity, transform;
	transition-timing-function: ease;
	transition-duration: 200ms;
}

.custom-offer-card__button:hover,
.custom-offer-card__button:focus-visible {
	color: #fff;
	background: #008f5e;
	border-color: #008f5e;
	transform: translateY(-1px);
}

.custom-offer-card__read-more:focus-visible,
.custom-offer-card__button:focus-visible,
.custom-offers__show-more:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 3px;
}

.custom-offers__show-more {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 30px auto 0;
	padding: 12px 24px;
	color: var(--co-accent);
	font-weight: 700;
	background: transparent;
	border: 1px solid currentcolor;
	border-radius: 999px;
	transition: color 200ms ease, background-color 200ms ease;
}

.custom-offers__show-more:hover,
.custom-offers__show-more:focus-visible {
	color: #fff;
	background: var(--co-accent);
}

@media (max-width: 1024px) {
	.custom-offers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.custom-offers__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.custom-offer-card {
		padding: 22px;
	}

	.custom-offer-card__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.custom-offer-card__button {
		width: 100%;
	}
}
