.srcf-shell {
  max-width: 1080px;
  margin: 1.5rem auto;
  padding: 1.5rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #0b2b4a 0%, #436AB3 48%, #f36f21 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.srcf-hero {
  text-align: center;
  color: #fff;
}

.srcf-kicker {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}

.srcf-title {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: #fff;
}

.srcf-subtitle {
  margin: 0 0 1rem;
  color: #f2f5f8;
}

.srcf-open-modal {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
}

.srcf-coupons {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.95rem;
}

.srcf-section-title {
  color: #fff;
  margin: 1.25rem 0 0.2rem;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.srcf-card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  color: #111;
  position: relative;
  overflow: hidden;
}

.srcf-ticket {
  border: 2px dashed #436AB3;
}

.srcf-ticket::before,
.srcf-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #436AB3;
  border-radius: 50%;
}

.srcf-ticket::before {
  left: -11px;
}

.srcf-ticket::after {
  right: -11px;
}

.srcf-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0e5a9b;
  font-weight: 700;
}

.srcf-card__brand {
  margin-bottom: 0.45rem;
  text-align: center;
}

.srcf-card__brand-logo {
  max-width: 170px;
  width: 100%;
  height: auto;
  display: inline-block;
}

.srcf-card__discount {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0e5a9b;
  margin-top: 0.4rem;
}

.srcf-card__code-wrap {
  margin-top: 0.8rem;
  border: 1px dashed #cbced3;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  text-align: center;
  background: #f6f8fa;
}

.srcf-card__code {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.srcf-card__meta {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: #475569;
}

.srcf-card__photo {
  margin-top: 0.65rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dbe2ea;
}

.srcf-card__photo img {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  display: block;
}

.srcf-card__title {
  margin-top: 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.srcf-card__title--main {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 0.8rem;
}

.srcf-print-coupon {
  margin-top: 0.8rem;
  display: inline-block;
  text-decoration: none;
}

.srcf-card__actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.srcf-book-now,
.srcf-reveal-code,
.srcf-print-coupon {
  margin-top: 0;
  display: inline-block;
  text-decoration: none;
}

.srcf-book-now {
  margin-left: 10px;
}

.srcf-reveal-code {
  margin-left: 0;
}

.srcf-book-now:hover,
.srcf-book-now:focus {
  color: #fff;
}

.srcf-empty {
  background: rgba(255, 255, 255, 0.94);
  color: #1f2937;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.srcf-shell.is-locked .srcf-card__code {
  filter: blur(6px);
  user-select: none;
}

.srcf-shell.is-locked .srcf-card__code-wrap::after {
  content: "Submit form to reveal";
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 0.68rem;
  color: #0e5a9b;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.srcf-shell.is-locked .srcf-print-coupon {
  display: none;
}

.srcf-shell.is-unlocked .srcf-hero .srcf-open-modal {
  display: none;
}

.srcf-shell.is-unlocked .srcf-reveal-code {
  display: none;
}

.srcf-modal {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(2, 8, 23, 0.66);
  z-index: 9999;
  padding: 1rem;
}

.srcf-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.srcf-modal__dialog {
  background: #fff;
  border-radius: 16px;
  max-width: 760px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 1rem;
}

.srcf-modal__close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
}

.srcf-modal__title {
  margin: 0.1rem 0 0.25rem;
  color: #0f172a;
  font-size: 1.4rem;
}

.srcf-modal__subtitle {
  margin: 0 0 0.75rem;
  color: #475569;
}

.srcf-modal__body .webform-submission-form {
  margin-top: 0.4rem;
}

.srcf-modal__body .form-item label,
.srcf-modal__body legend {
  color: #111827;
}

.srcf-modal__body .description {
  color: #475569;
}

@media (max-width: 767px) {
  .srcf-modal {
    padding: 168px 12px 120px;
  }

  .srcf-modal.is-open {
    align-items: flex-start;
  }

  .srcf-shell {
    margin: 1rem;
    padding: 1rem;
  }

  .srcf-modal__dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 288px);
    padding: 0.85rem;
  }

  .srcf-shell.is-locked .srcf-card__code-wrap {
    padding-top: 1.35rem;
  }

  .srcf-shell.is-locked .srcf-card__code-wrap::after {
    right: 50%;
    top: 0.2rem;
    transform: translateX(50%);
    font-size: 0.62rem;
    white-space: nowrap;
  }
}
