.snc-offer-dialog.snc-design-portrait{width:min(100%,390px);border-radius:6px}
.snc-offer-dialog.snc-design-portrait .snc-offer-product-card{flex-direction:column;margin-right:0}
.snc-offer-dialog.snc-design-portrait .snc-offer-product-thumb{width:110px!important;height:150px!important;object-fit:contain}
.snc-offer-dialog.snc-design-landscape{width:min(100%,740px);border-radius:8px}
.snc-offer-dialog.snc-design-landscape .snc-offer-product-card{flex-direction:row;gap:24px}
.snc-offer-dialog.snc-design-landscape .snc-offer-product-thumb{width:180px!important;height:110px!important;object-fit:contain}
.snc-offer-dialog.snc-design-landscape .snc-offer-details{grid-template-columns:repeat(4,minmax(0,1fr))}
.snc-offer-dialog.snc-design-right_image{width:min(100%,530px);border-radius:24px 4px 24px 4px}
.snc-offer-dialog.snc-design-right_image .snc-offer-product-card{flex-direction:row-reverse;margin-right:30px}
.snc-offer-dialog.snc-design-right_image .snc-offer-product-thumb{width:100px!important;height:100px!important}
.snc-offer-dialog.snc-design-round_portrait{width:min(100%,400px);border-radius:44px}
.snc-offer-dialog.snc-design-round_portrait .snc-offer-product-card{flex-direction:column;margin-right:0;background:transparent}
.snc-offer-dialog.snc-design-round_portrait .snc-offer-product-thumb{width:120px!important;height:120px!important;border-radius:50%;object-fit:contain}
.snc-offer-dialog.snc-design-square{width:min(100%,520px);border-radius:0;border:2px solid var(--snc-offer-accent,#1557b0)}
.snc-offer-dialog.snc-design-square .snc-offer-product-thumb{width:90px!important;height:90px!important;border-radius:0}
.snc-offer-dialog.snc-design-square .snc-offer-product-card{border-radius:0}
.snc-offer-dialog.snc-design-hero{width:min(100%,580px);border-radius:18px}
.snc-offer-dialog.snc-design-hero .snc-offer-product-card{flex-direction:column;margin-right:0;background:linear-gradient(135deg,#f2f6ff,#e4f1f4)}
.snc-offer-dialog.snc-design-hero .snc-offer-product-thumb{width:100%!important;height:210px!important;object-fit:contain}
.snc-offer-dialog.snc-design-ticket{width:min(100%,460px);border-radius:28px 28px 8px 8px;border:2px dashed var(--snc-offer-accent,#1557b0)}
.snc-offer-dialog.snc-design-ticket .snc-offer-product-card{border-bottom:2px dashed #b8c7dc;padding-bottom:18px;border-radius:0;background:transparent}
.snc-offer-dialog.snc-design-ticket .snc-offer-product-thumb{width:64px!important;height:64px!important;transform:rotate(-5deg)}
.snc-offer-dialog.snc-design-sidebar{width:min(100%,760px);display:grid;grid-template-columns:210px minmax(0,1fr);column-gap:22px;border-radius:12px}
.snc-offer-dialog.snc-design-sidebar>.snc-offer-product-card{grid-column:1;grid-row:2/7;flex-direction:column;align-self:stretch;margin:0;background:#eaf1fa;justify-content:flex-start;padding-top:20px}
.snc-offer-dialog.snc-design-sidebar>.snc-offer-brand{grid-column:1/-1;grid-row:1}
.snc-offer-dialog.snc-design-sidebar>:not(.snc-offer-brand):not(.snc-offer-product-card):not(.snc-offer-close){grid-column:2}
.snc-offer-dialog.snc-design-sidebar .snc-offer-product-thumb{width:160px!important;height:160px!important;object-fit:contain}
.snc-offer-dialog.snc-design-bottom_image{width:min(100%,490px);border-radius:18px;display:flex;flex-direction:column}
.snc-offer-dialog.snc-design-bottom_image>.snc-offer-product-card{order:2;flex-direction:row-reverse;margin:18px 0 0;border-top:1px solid #ddd}
.snc-offer-dialog.snc-design-bottom_image .snc-offer-product-thumb{width:80px!important;height:80px!important}
.snc-offer-dialog.snc-design-pill{width:min(100%,500px);border-radius:36px 36px 12px 12px}
.snc-offer-dialog.snc-design-pill .snc-offer-product-card{border-radius:80px;background:#e8f0fb;margin-right:24px}
.snc-offer-dialog.snc-design-pill .snc-offer-product-thumb{width:64px!important;height:64px!important;border-radius:50%}
.snc-thumb-portrait,.snc-thumb-round_portrait{max-width:105px;margin:auto;height:135px!important}
.snc-thumb-portrait b,.snc-thumb-round_portrait b{float:none!important;margin:3px auto!important;height:45px!important}
.snc-thumb-round_portrait,.snc-thumb-pill{border-radius:25px!important}
.snc-thumb-round_portrait b,.snc-thumb-pill b{border-radius:50%!important}
.snc-thumb-landscape{height:90px!important;margin:10px 0}
.snc-thumb-landscape b{width:65px!important}
.snc-thumb-right_image b,.snc-thumb-bottom_image b{float:right!important;margin-left:8px!important}
.snc-thumb-right_image{border-radius:20px 2px!important}
.snc-thumb-square,.snc-thumb-square b{border-radius:0!important}
.snc-thumb-hero b{float:none!important;width:100%!important;height:40px!important}
.snc-thumb-ticket{border:2px dashed #1557b0!important;border-radius:18px 18px 3px 3px!important}
.snc-thumb-ticket b{transform:rotate(-8deg)}
.snc-thumb-sidebar{padding-left:55px!important}
.snc-thumb-sidebar b{position:absolute;left:4px;top:25px;width:40px!important;height:55px!important}
.snc-thumb-bottom_image b{position:absolute;bottom:3px;right:5px;height:24px!important;width:30px!important}
@media(max-width:600px){
 .snc-offer-dialog.snc-design-sidebar{display:block}
 .snc-offer-dialog.snc-design-sidebar>.snc-offer-product-card{flex-direction:row;margin:0 28px 16px 0;padding:10px}
 .snc-offer-dialog.snc-design-sidebar .snc-offer-product-thumb{width:70px!important;height:70px!important}
 .snc-offer-dialog.snc-design-landscape .snc-offer-details{grid-template-columns:1fr 1fr}
 .snc-offer-dialog.snc-design-landscape .snc-offer-product-thumb{width:100px!important;height:90px!important}
 .snc-offer-dialog.snc-design-hero .snc-offer-product-thumb{height:140px!important}
 .snc-offer-dialog.snc-design-round_portrait{border-radius:24px}
}
@media(max-width:380px){.snc-offer-dialog.snc-design-landscape .snc-offer-details{grid-template-columns:1fr}}

/* 2.5.3 modern concepts: clean centered desktop modal, product-led split desktop modal, and mobile bottom sheet. */
.snc-offer-dialog.snc-design-modern,
.snc-offer-dialog.snc-design-split_modern {
  --snc-modern-ink: #172033;
  --snc-modern-muted: #6c7484;
  --snc-modern-line: #e8ebf1;
  --snc-modern-soft: #f6f8fc;
  width: min(100%, 520px);
  max-height: min(92vh, 780px);
  overflow-y: auto;
  padding: 22px 20px 20px;
  border: 1px solid var(--snc-modern-line);
  border-radius: 24px;
  color: var(--snc-modern-ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 32, 51, .22);
}
.snc-offer-dialog.snc-design-modern .snc-offer-brand,
.snc-offer-dialog.snc-design-split_modern .snc-offer-brand {
  margin: -22px -20px 18px;
  min-height: 58px;
  border-radius: 24px 24px 0 0;
  background: #1557d6;
}
.snc-offer-dialog.snc-design-modern .snc-offer-close,
.snc-offer-dialog.snc-design-split_modern .snc-offer-close {
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  color: #667085;
  background: #f3f5f8;
  font-size: 21px;
}
.snc-offer-dialog.snc-design-modern .snc-offer-product-card,
.snc-offer-dialog.snc-design-split_modern .snc-offer-product-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px;
  border-radius: 14px;
  background: var(--snc-modern-soft);
}
.snc-offer-dialog.snc-design-modern .snc-offer-product-thumb,
.snc-offer-dialog.snc-design-split_modern .snc-offer-product-thumb {
  width: 58px !important;
  height: 58px !important;
  flex-basis: 58px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.snc-offer-dialog.snc-design-modern .snc-offer-product-copy h2,
.snc-offer-dialog.snc-design-split_modern .snc-offer-product-copy h2 {
  max-width: 100%;
  margin: 0 0 4px !important;
  color: var(--snc-modern-ink);
  font-size: 16px !important;
  line-height: 1.3;
  text-align: left !important;
}
.snc-offer-dialog.snc-design-modern .snc-offer-product-copy span,
.snc-offer-dialog.snc-design-split_modern .snc-offer-product-copy span {
  color: #1557d6;
  font-size: 12px;
  font-weight: 700;
}
.snc-offer-dialog.snc-design-modern .snc-offer-buy-now,
.snc-offer-dialog.snc-design-split_modern .snc-offer-buy-now {
  margin: 0;
  color: var(--snc-modern-muted);
  font-size: 12px;
  text-align: right;
}
.snc-offer-dialog.snc-design-modern .snc-offer-hint,
.snc-offer-dialog.snc-design-split_modern .snc-offer-hint {
  margin: 0 0 14px;
  color: var(--snc-modern-muted);
  font-size: 12px;
  text-align: left;
}
.snc-offer-dialog.snc-design-modern .snc-offer-label,
.snc-offer-dialog.snc-design-split_modern .snc-offer-label {
  margin: 0 0 7px;
  color: #545d6e;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
}
.snc-offer-dialog.snc-design-modern .snc-offer-amount,
.snc-offer-dialog.snc-design-split_modern .snc-offer-amount {
  justify-content: flex-start;
  gap: 5px;
  margin: 0;
  padding: 0 12px;
  min-height: 54px;
  border: 2px solid #1557d6;
  border-radius: 12px;
  background: #fff;
}
.snc-offer-dialog.snc-design-modern .snc-offer-amount span,
.snc-offer-dialog.snc-design-split_modern .snc-offer-amount span {
  color: var(--snc-modern-muted);
  font-size: 14px;
}
.snc-offer-dialog.snc-design-modern .snc-offer-amount input,
.snc-offer-dialog.snc-design-split_modern .snc-offer-amount input {
  width: 100% !important;
  color: var(--snc-modern-ink);
  font-size: 24px !important;
  font-weight: 800;
}
.snc-offer-dialog.snc-design-modern .snc-offer-suggestions,
.snc-offer-dialog.snc-design-split_modern .snc-offer-suggestions {
  gap: 7px;
  margin: 10px 0 18px;
}
.snc-offer-dialog.snc-design-modern .snc-offer-suggestions button,
.snc-offer-dialog.snc-design-split_modern .snc-offer-suggestions button {
  padding: 7px 8px;
  border: 1px solid #dbe1ed;
  border-radius: 999px;
  color: #1557d6;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}
.snc-offer-dialog.snc-design-modern .snc-offer-form textarea,
.snc-offer-dialog.snc-design-split_modern .snc-offer-form textarea,
.snc-offer-dialog.snc-design-modern .snc-offer-form input,
.snc-offer-dialog.snc-design-split_modern .snc-offer-form input {
  border: 1px solid #dfe4ed;
  border-radius: 10px;
  background: #fff;
}
.snc-offer-dialog.snc-design-modern .snc-offer-form textarea,
.snc-offer-dialog.snc-design-split_modern .snc-offer-form textarea {
  min-height: 70px;
}
.snc-offer-dialog.snc-design-modern .snc-offer-details,
.snc-offer-dialog.snc-design-split_modern .snc-offer-details {
  gap: 10px;
  margin-top: 14px;
}
.snc-offer-dialog.snc-design-modern .snc-offer-details label,
.snc-offer-dialog.snc-design-split_modern .snc-offer-details label {
  color: #545d6e;
  font-size: 11px;
  font-weight: 800;
}
.snc-offer-dialog.snc-design-modern .snc-terms,
.snc-offer-dialog.snc-design-split_modern .snc-terms {
  margin: 12px 0;
  color: #8790a0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}
.snc-offer-dialog.snc-design-modern .snc-submit-offer,
.snc-offer-dialog.snc-design-split_modern .snc-submit-offer {
  min-height: 48px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #1557d6 !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
}
.snc-offer-dialog.snc-design-modern .snc-offer-help,
.snc-offer-dialog.snc-design-split_modern .snc-offer-help {
  margin-top: 12px;
}
.snc-offer-dialog.snc-design-modern .snc-offer-help summary,
.snc-offer-dialog.snc-design-split_modern .snc-offer-help summary {
  color: #1557d6;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* Product-led desktop concept. */
.snc-offer-dialog.snc-design-split_modern {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  column-gap: 22px;
  width: min(100%, 760px);
  padding: 22px;
}
.snc-offer-dialog.snc-design-split_modern .snc-offer-brand {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: -22px -22px 18px;
}
.snc-offer-dialog.snc-design-split_modern > .snc-offer-product-card {
  grid-column: 1;
  grid-row: 2 / span 3;
  align-self: start;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: 18px;
  background: #edf3ff;
}
.snc-offer-dialog.snc-design-split_modern > .snc-offer-product-card .snc-offer-product-thumb {
  width: 100% !important;
  height: 200px !important;
  flex-basis: auto;
}
.snc-offer-dialog.snc-design-split_modern > .snc-offer-product-card .snc-offer-product-copy h2 {
  margin-top: 10px !important;
  font-size: 20px !important;
}
.snc-offer-dialog.snc-design-split_modern > .snc-offer-buy-now,
.snc-offer-dialog.snc-design-split_modern > .snc-offer-hint {
  grid-column: 1;
  text-align: left;
}
.snc-offer-dialog.snc-design-split_modern > .snc-offer-buy-now { grid-row: 5; margin: 10px 18px 0; }
.snc-offer-dialog.snc-design-split_modern > .snc-offer-hint { grid-row: 6; margin: 0 18px; }
.snc-offer-dialog.snc-design-split_modern > .snc-offer-form { grid-column: 2; grid-row: 2 / span 5; }
.snc-offer-dialog.snc-design-split_modern > .snc-offer-help { grid-column: 2; grid-row: 7; }

/* The clean concept becomes a bottom sheet on phones. */
@media (max-width: 600px) {
  .snc-popup-design-modern,
  .snc-popup-design-split_modern {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .snc-offer-dialog.snc-design-modern,
  .snc-offer-dialog.snc-design-split_modern {
    width: 100% !important;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    padding: 18px 16px 16px;
  }
  .snc-offer-dialog.snc-design-modern .snc-offer-brand,
  .snc-offer-dialog.snc-design-split_modern .snc-offer-brand {
    margin: -18px -16px 16px;
    border-radius: 24px 24px 0 0;
  }
  .snc-offer-dialog.snc-design-split_modern {
    display: block;
  }
  .snc-offer-dialog.snc-design-split_modern > .snc-offer-product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0 16px;
    padding: 10px;
  }
  .snc-offer-dialog.snc-design-split_modern > .snc-offer-product-card .snc-offer-product-thumb {
    width: 58px !important;
    height: 58px !important;
    flex-basis: 58px;
  }
  .snc-offer-dialog.snc-design-split_modern > .snc-offer-product-card .snc-offer-product-copy h2 {
    margin-top: 0 !important;
    font-size: 16px !important;
  }
  .snc-offer-dialog.snc-design-split_modern > .snc-offer-buy-now,
  .snc-offer-dialog.snc-design-split_modern > .snc-offer-hint {
    margin: 0;
  }
}

/* 2.5.4: isolate the offer thumbnail from theme/WooCommerce image rules. */
.snc-offer-dialog .snc-offer-product-card {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}
.snc-offer-dialog .snc-offer-product-card .snc-offer-product-thumb {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  float: none !important;
  clear: none !important;
  display: block !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  margin: 0 !important;
  transform: none !important;
  vertical-align: middle !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-position: center center !important;
}
.snc-offer-dialog.snc-design-split_modern > .snc-offer-product-card .snc-offer-product-thumb {
  align-self: center !important;
}
