/* Vantaggi per te — expanded panel, guest layout */

.rt051-header__benefitCtaMobile {
  display: flex !important;
}

.rt051-header__benefitPanel {
  display: block !important;
}

.rt051-header--benefitOpen .rt051-header__benefitPanel {
  height: calc(100dvh - var(--header-height, 7rem));
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  -webkit-overflow-scrolling: touch;
}

body.benefit-panel-open {
  overflow: hidden;
}

.rt051-header__benefitPanel .rt259-user-benefits {
  height: auto;
  background: #fff;
  font-family: "DM Sans", sans-serif;
}

.benefit-panel__body {
  padding: 0 1rem 2.5rem;
}

.benefit-panel__counters {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.benefit-panel__counters::-webkit-scrollbar {
  display: none;
}

.benefit-panel__counter {
  flex: 1 0 0;
  min-width: 6.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.benefit-panel__lock {
  display: flex;
  line-height: 0;
}

.benefit-panel__counterLabel {
  font-size: 14px;
  font-weight: 500;
  line-height: 1rem;
  color: #333;
}

.benefit-panel__title {
  margin: 1rem 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 2rem;
  letter-spacing: 0.2px;
  color: #333;
}

.benefit-panel__separator {
  width: 18px;
  height: 4px;
  margin: 0.5rem 0;
  border-radius: 4px;
  background: #fed404;
}

.benefit-panel__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: #545454;
}

.benefit-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.rt051-header__benefitPanel .benefit-panel__cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 44px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
}

.rt051-header__benefitPanel .benefit-panel__cta .rt002-cta__label {
  width: 100%;
  text-align: center;
}

.benefit-panel__sectionTitle {
  margin: 2rem 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #333;
}

.benefit-panel__collection {
  position: relative;
  display: block;
  height: 141px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 0 3px 0 rgba(171, 147, 67, 0.15), 0 4px 8px -2px rgba(171, 147, 67, 0.15);
}

.benefit-panel__collection img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.benefit-panel__collectionOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25rem;
}

.page-download-fab.rt002-cta {
  position: fixed;
  z-index: 4900;
  left: 1rem;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto !important;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(235, 83, 5, 0.28);
}

.page-download-fab .rt002-cta__label {
  width: auto;
}

.rs1-page {
  padding-bottom: 5.5rem;
}

body.benefit-panel-open .page-download-fab {
  visibility: hidden;
}
