.offers-grid { margin: 0; overflow: hidden; background: transparent; }
.offers-grid.is-reveal-ready .offers-grid__heading { opacity: 0; transform: translateY(16px); transition: opacity 1000ms cubic-bezier(.22, 1, .36, 1), transform 1000ms cubic-bezier(.22, 1, .36, 1); }
.offers-grid.is-reveal-ready .offers-grid__card { opacity: 0; transform: translateY(12px); }
.offers-grid.is-reveal-ready .offers-grid__card.is-revealed { transition: opacity 1100ms cubic-bezier(.22, 1, .36, 1) var(--offers-reveal-delay, 0ms), transform 1100ms cubic-bezier(.22, 1, .36, 1) var(--offers-reveal-delay, 0ms); }
.offers-grid.is-reveal-ready .offers-grid__heading.is-revealed,
.offers-grid.is-reveal-ready .offers-grid__card.is-revealed { opacity: 1; transform: translateY(0); }
.offers-grid__inner { padding-block: 80px 96px; }
.offers-grid__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.offers-grid__header-content { flex: 1 1 auto; }
.offers-grid__heading { max-width: 923px; margin: 0; color: #fff; font-family: var(--magis-font-heading); font-size: clamp(40px, 4.2vw, 64px); font-weight: 500; line-height: 1.08; }
.offers-grid__toolbar { flex: 0 0 auto; width: max-content; }
.offers-grid__carousel { position: relative; margin-top: 32px; }
.offers-grid__list { --offers-grid-edge: max(var(--magis-gutter), calc((100vw - var(--magis-container)) / 2)); display: flex; box-sizing: border-box; width: calc(100% + var(--offers-grid-edge)); gap: 24px; overflow-x: auto; padding: 8px var(--offers-grid-edge) 24px 0; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.offers-grid__list::-webkit-scrollbar { display: none; }
.offers-grid__pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }
.offers-grid__pagination-button { width: 28px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #fff; cursor: pointer; }
.offers-grid__pagination-button.is-active { width: 80px; background: #1d4289; }
.offers-grid__arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 56px; height: 56px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; transform: translateY(-50%); }
.offers-grid__arrow--prev { left: -56px; }
.offers-grid__arrow--next { right: 0; }
.offers-grid__arrow img { width: 40px; height: 40px; }
.offers-grid__arrow:disabled { cursor: default; opacity: .45; }
.offers-grid__card { position: relative; display: flex; box-sizing: border-box; flex: 0 0 434px; min-height: 605px; flex-direction: column; gap: 40px; scroll-snap-align: start; overflow: hidden; border-radius: 16px; color: #fff; background: linear-gradient(180deg, #1d4289, #022b65); }
.offers-grid__card[hidden] { display: none; }
.offers-grid__card--luce { background: linear-gradient(199deg, #ff0066 0%, #e61561 10%, #022b65 100%); }
.offers-grid__card--gas { background: linear-gradient(199deg, #19a1eb 0%, #1556b5 35%, #022b65 100%); }
.offers-grid__card--luce-gas { background: linear-gradient(180deg, rgba(21, 36, 111, 0) 0%, rgb(2, 43, 101) 65%), linear-gradient(268.962deg, rgb(25, 161, 235) 0%, rgb(227, 22, 103) 97.537%); }
.offers-grid__card--placet { background: linear-gradient(180deg, #598a9e 0%, #083e5b 100%); }
.offers-grid__visual { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px; color: #fff; line-height: 1; }
.offers-grid__visual-energy { display: flex; gap: 10px; }
.offers-grid__visual img { width: 52px; height: 52px; }
.offers-grid__visual img.offers-grid__icon--fire { width: 34.6587px; height: 44.4272px; }
.offers-grid__status-badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 12px; border-radius: 100px; background: #d0edff; color: #022b65; font-family: var(--magis-font-heading); font-size: 16px; font-weight: 600; line-height: normal; white-space: nowrap; }
.offers-grid__visual .offers-grid__status-badge img { display: block; flex: 0 0 auto; max-width: none; max-height: none; }
.offers-grid__visual .offers-grid__status-badge img[src*="price-locked.svg"] { width: 16px; height: 21px; }
.offers-grid__visual .offers-grid__status-badge img[src*="price-variable.svg"] { width: 22px; height: 12px; }
.offers-grid__body { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; gap: 24px; padding: 0 24px 88px; }
.offers-grid__card[data-energy="luce-gas"] .offers-grid__body { gap: 16px; }
.offers-grid__title { margin: 0; font-family: var(--magis-font-heading); font-size: 52px; font-weight: 500; line-height: 1; }
.offers-grid__tariff { display: flex; gap: 4px; margin: 0; font-family: var(--magis-font-heading); font-size: 18px; line-height: 24px; }
.offers-grid__tariff span { font-weight: 400; }
.offers-grid__tariff strong { font-weight: 700; }
.offers-grid__prices { display: grid; min-width: 0; gap: 32px; padding-bottom: 24px; }
.offers-grid__prices.is-dual { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
.offers-grid__prices.is-dual .offers-grid__energy-details { display: contents; }
.offers-grid__prices.is-dual .offers-grid__energy-details--electricity > div { grid-column: 1; min-width: 0; }
.offers-grid__prices.is-dual .offers-grid__energy-details--gas > div { grid-column: 2; min-width: 0; }
.offers-grid__prices.is-dual .offers-grid__price { grid-row: 1; }
.offers-grid__prices.is-dual .offers-grid__fixed-fee { grid-row: 2; }
.offers-grid__card[data-energy="luce-gas"] .offers-grid__energy-details { gap: 16px; }
.offers-grid__energy-details { display: flex; min-width: 0; flex-direction: column; gap: 32px; }
.offers-grid__prices div div { display: flex; flex-direction: column; gap: 16px; }
.offers-grid__prices strong { min-width: 0; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 700; line-height: 20px; }
.offers-grid__info { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; margin-left: 8px; padding: 0; border: 0; background: transparent; vertical-align: middle; cursor: pointer; }
.offers-grid__info img, .offers-grid__tooltip-close img { display: block; width: 24px; height: 24px; }
.offers-grid__info:focus-visible, .offers-grid__tooltip-close button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.offers-grid__tooltip { width: min(896px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-sizing: border-box; margin: auto; padding: 24px 40px 40px; overflow: auto; border: 0; border-radius: 16px; background: #fff; color: #1d4289; font-family: var(--magis-font-body); }
.offers-grid__tooltip::backdrop { background: rgba(2, 43, 101, .5); }
.offers-grid__tooltip-close { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.offers-grid__tooltip-close button { display: flex; width: 24px; height: 24px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.offers-grid__tooltip h2 { margin: 0 0 10px; color: inherit; font-family: inherit; font-size: 24px; font-weight: 700; line-height: 28px; }
.offers-grid__tooltip p { margin: 0; color: inherit; font-size: 18px; font-weight: 400; line-height: 28px; }
.offers-grid__prices span { display: flex; min-width: 0; align-items: baseline; flex-wrap: wrap; gap: 4px; font-family: var(--magis-font-heading); font-size: 32px; font-weight: 700; line-height: 42px; }
.offers-grid__prices small { min-width: 0; font-family: var(--magis-font-body); font-size: 16px; font-weight: 400; line-height: 24px; overflow-wrap: anywhere; }
.offers-grid__link { position: absolute; right: 24px; bottom: 32px; left: 24px; display: flex; box-sizing: border-box; align-items: center; justify-content: center; gap: 10px; height: 56px; min-height: 56px; border: 2px solid #fff; border-radius: 999px; color: #fff; font-family: var(--magis-font-heading); font-size: 18px; font-weight: 500; text-decoration: none; }
.offers-grid__link:hover, .offers-grid__link:focus-visible { background: #fff; color: #022b65; }
.offers-grid__preview { display: flex; flex-direction: column; gap: 8px; padding: 32px; border: 1px dashed #9ba7b3; background: #f4f6f8; color: #17202a; }
@media (min-width: 1101px) {
	.offers-grid__inner { padding-block: 80px 115px; }
	.offers-grid__header { align-items: flex-start; }
	.offers-grid__heading { font-size: 60px; line-height: 1.15; }
	.offers-grid__toolbar { width: 251px; height: 56px; margin-top: 71px; margin-right: 9px; }
	.offers-grid__toggle .magis-switch__option { min-width: 0; height: 44px; flex: 1 1 0; }
	.offers-grid__carousel { margin-top: 93px; }
	.offers-grid__arrow { top: calc(50% - 22.5px); }
	.offers-grid__arrow--prev { left: calc(24px - 50vw + 50%); }
	.offers-grid__arrow--next { right: calc(50% - 50vw + 24px); }
	.offers-grid__pagination { margin-top: 45px; }
}
@media (max-width: 767px) {
	.offers-grid__tooltip { padding: 24px 24px 40px; }
	.offers-grid .offers-grid__inner { width: 100%; margin-inline: 0; padding: 157px 16px 64px 13px; }
	.offers-grid__header { align-items: stretch; flex-direction: column; gap: 32px; }
	.offers-grid__heading { font-size: 32px; line-height: normal; }
	.offers-grid__toolbar { width: 100%; align-self: stretch; }
	.offers-grid .offers-grid__toggle { width: 100%; padding-block: 2px; }
	.offers-grid .offers-grid__toggle .magis-switch__option { min-width: 0; flex: 1 1 0; }
	.offers-grid__carousel { display: grid; grid-template-columns: 1fr auto 1fr; row-gap: 32px; margin-top: 32px; }
	.offers-grid__list { grid-column: 1 / -1; grid-row: 1; width: 100%; gap: 32px; padding: 0; }
	.offers-grid__card { flex-basis: calc(100% - 3px); min-height: 553px; gap: 24px; }
	.offers-grid__visual { padding: 24px 24px 0; }
	.offers-grid__visual img { width: 52px; height: 52px; }
	.offers-grid__visual img.offers-grid__icon--fire { width: 34.6587px; height: 44.4272px; }
	.offers-grid__visual .offers-grid__status-badge { padding: 6px 16px 6px 8px; }
	.offers-grid__visual .offers-grid__status-badge img[src*="price-locked.svg"] { width: 24px; height: 24px; }
	.offers-grid__body { padding: 0 24px 88px; }
	.offers-grid__energy-details { gap: 20px; }
	.offers-grid__prices div div { gap: 8px; }
	.offers-grid__prices { gap: 24px; padding-bottom: 24px; }
	.offers-grid__prices span { font-size: 24px; line-height: 42px; }
	.offers-grid__prices small { font-size: 14px; line-height: 24px; }
	.offers-grid__link { right: 24px; bottom: 32px; left: 24px; height: 56px; min-height: 56px; }
	.offers-grid__pagination { display: none !important; }
	.offers-grid__arrow { position: relative; top: auto; display: grid; width: 44px; height: 44px; grid-row: 2; place-items: center; transform: none; }
	.offers-grid__arrow--prev { left: auto; grid-column: 2; justify-self: start; margin-left: -30px; background: #1d4289; }
	.offers-grid__arrow--next { right: auto; grid-column: 2; justify-self: start; margin-left: 30px; background: #1d4289; }
	.offers-grid__arrow:disabled { background: #7b9fc9; opacity: 1; }
	.offers-grid__arrow img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
	.offers-grid__title { font-size: 40px; line-height: normal; }
	.offers-grid__title-brand { display: block; }
}
@media (prefers-reduced-motion: reduce) { .offers-grid.is-reveal-ready .offers-grid__heading, .offers-grid.is-reveal-ready .offers-grid__card { transition: none; transform: none; } }
