.mercury-offer-widget {
  border-radius: 12px;
  background: #282829;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.06);
}

.mercury-offer-widget__header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.mercury-offer-widget__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #f0f2f5;
}

.mercury-offer-widget__body {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mercury-offer-widget__info {
  flex: 1 1 260px;
}

.mercury-offer-widget__score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 600;
  color: #f0f2f5;
}

.mercury-offer-widget__score-label {
  font-size: 1rem;
}

.mercury-offer-widget__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mercury-offer-widget__prebutton {
  color: #c3c7c8;
  font-size: 0.95rem;
  text-align: center;
}

.mercury-offer-widget__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  background: #e8ae10 !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mercury-offer-widget__button:hover,
.mercury-offer-widget__button:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(228, 173, 29, 0.35);
  color: #1f1f1f;
}

.mercury-offer-widget__subtext {
  font-size: 0.95rem;
  color: #7f8c8d;
  margin-top: 2px;
}

.mercury-offer-widget__review {
  margin-top: 12px;
  text-align: center;
}

.mercury-offer-widget__review-link {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
}

.mercury-offer-widget__review-link:hover,
.mercury-offer-widget__review-link:focus {
  text-decoration: underline;
}

.mercury-offer-widget__logo {
  flex: 0 0 140px;
  text-align: center;
}

.mercury-offer-widget__logo-img {
  max-width: 140px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mercury-offer-widget__description {
  margin-top: 20px;
  font-size: 1.05rem;
  color: #f0f2f5;
  line-height: 1.6;
}

.mercury-offer-widget__benefits {
  margin-top: 18px;
}

.mercury-offer-widget__benefits-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0f2f5;
  margin-bottom: 10px;
}

.mercury-offer-widget__benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  margin-left: 16px !important;
  gap: 10px;
}

.mercury-offer-widget__benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: #f0f2f5;
}

.mercury-offer-widget__benefit-icon {
  color: #e4ad1d;
  font-size: 1rem;
  line-height: 1.4;
}

.mercury-offer-widget__pros-cons {
  display: block;
  margin-top: 18px;
}

.mercury-offer-widget__pros,
.mercury-offer-widget__cons {
  margin-bottom: 14px;
}

.mercury-offer-widget__pros-title,
.mercury-offer-widget__cons-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #f0f2f5;
  margin-bottom: 6px;
}

.mercury-offer-widget__pros-icon {
  color: #5fcf80;
}

.mercury-offer-widget__cons-icon {
  color: #e86c6c;
}

.mercury-offer-widget__pros-list,
.mercury-offer-widget__cons-list {
  list-style: disc;
  margin: 0 0 0 18px;
  padding: 0;
}

.mercury-offer-widget__pros-item,
.mercury-offer-widget__cons-item {
  color: #c3c7c8;
  padding: 4px 0;
}

.mercury-offer-widget-editor-preview {
  padding: 10px 0 20px;
}

.mercury-offer-widget-editor-preview .mercury-offer-widget {
  margin: 0;
}

/* Editor control styling */
.mercury-offer-widget__description-field {
  margin: 0 0 16px;
}

.mercury-offer-widget__description-label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #111;
}

.mercury-offer-widget__description-control {
  border: 1px solid #d9d9d9;
  min-height: 120px;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

@media (max-width: 720px) {
  .mercury-offer-widget {
    padding: 20px;
  }
    .mercury-offer-widget__body {
    flex-direction: column;
    align-items: center;
  }

  .mercury-offer-widget__logo {
    align-self: center;
    order: 1;
  }
  .mercury-offer-widget__info{
    flex: 1 1 auto;
    order: 2;
    width: 100%;
  }
  .mercury-offer-widget__cta,
  .mercury-offer-widget__button {
    max-width: 100%;
    width: 100%;
  }
  .mercury-offer-widget__benefits-list {
    margin-left: 0 !important;
  }
  .mercury-offer-widget__benefit {
    padding: 0 !important;
  }

}

.mercury-info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mercury-info-card {
  background: #1f2022;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  gap: 16px;
  height: 100%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.mercury-info-card__image {
  width: 38%;
  min-width: 180px;
  height: auto;
  object-fit: cover;
  display: block;
}

.mercury-info-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: center;
}

.mercury-info-card__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f2f5;
}

.mercury-info-card__description {
  color: #c3c7c8;
  line-height: 1.5;
}

.mercury-info-card__description p {
  margin: 0 0 6px;
}

.mercury-info-card__link {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.mercury-info-card__link::after {
  content: '→';
  font-size: 0.95rem;
}

.mercury-info-card__link:hover,
.mercury-info-card__link:focus {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.mercury-info-cards-editor-preview {
  margin-top: 12px;
}

.mercury-info-cards__placeholder {
  margin: 0 0 8px;
  color: #c3c7c8;
}

.mercury-info-cards__image-preview img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .mercury-info-cards {
    grid-template-columns: 1fr;
  }
  .mercury-info-card {
    flex-direction: column;
  }
  .mercury-info-card__image {
    width: 100%;
    min-width: 0;
    height: 200px;
  }
}

.mercury-promo-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.mercury-promo-card {
  background: #1f2022;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  gap: 16px;
  height: 100%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.mercury-promo-card__image {
  width: 38%;
  min-width: 180px;
  height: auto;
  object-fit: cover;
  display: block;
}

.mercury-promo-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: center;
}

.mercury-promo-card__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f2f5;
}

.mercury-promo-card__description {
  color: #c3c7c8;
  line-height: 1.5;
}

.mercury-promo-card__description p {
  margin: 0 0 6px;
}

.mercury-promo-card__link {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.mercury-promo-card__link::after {
  content: '→';
  font-size: 0.95rem;
}

.mercury-promo-card__link:hover,
.mercury-promo-card__link:focus {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.mercury-promo-cards-editor-preview {
  margin-top: 12px;
}

.mercury-promo-cards__placeholder {
  margin: 0 0 8px;
  color: #c3c7c8;
}

.mercury-promo-cards__image-preview img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .mercury-promo-cards {
    grid-template-columns: 1fr;
  }
  .mercury-promo-card {
    flex-direction: column;
  }
  .mercury-promo-card__image {
    width: 100%;
    min-width: 0;
    height: 200px;
  }
}
