.smf-funnel-page {
  --smf-ink: #101828;
  --smf-muted: #667085;
  --smf-line: #e4e7ec;
  --smf-accent: #7c3aed;
  --smf-accent-dark: #5b21b6;
  background: #f8fafc;
  color: var(--smf-ink);
  font-family: inherit;
  line-height: 1.6;
  overflow: hidden;
}

.smf-funnel-page *,
.smf-funnel-page *::before,
.smf-funnel-page *::after {
  box-sizing: border-box;
}

.smf-form-palette-lavender {
	--smf-ink: #27233a;
	--smf-muted: #7b7590;
	--smf-line: #ddd4ee;
	--smf-accent: #6d28d9;
	--smf-accent-dark: #5b21b6;
	--smf-form-surface: #fff;
}

.smf-form-palette-sunset {
  --smf-ink: #29201a;
  --smf-muted: #866f63;
	--smf-line: #f0d6c3;
	--smf-accent: #ea580c;
	--smf-accent-dark: #c2410c;
	--smf-form-surface: #fff;
}

.smf-form-palette-ocean {
  --smf-ink: #172b38;
  --smf-muted: #66818c;
	--smf-line: #c9e5ed;
	--smf-accent: #087ea4;
	--smf-accent-dark: #05627f;
	--smf-form-surface: #fff;
}

.smf-order-form.smf-form-palette-lavender,
.smf-order-form.smf-form-palette-sunset,
.smf-order-form.smf-form-palette-ocean {
  background: #fff;
}

.smf-announcement {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}

.smf-announcement small {
  margin-inline-start: 14px;
  color: #fed7aa;
  font-weight: 600;
}

.smf-layout-luxury_studio {
  --smf-ink: #f8fafc;
  --smf-muted: #cbd5e1;
  --smf-line: rgba(255, 255, 255, .16);
  --smf-accent: #d4a72c;
  --smf-accent-dark: #b7791f;
  background: #0f172a;
}

.smf-layout-luxury_studio .smf-hero,
.smf-layout-luxury_studio .smf-proof-grid,
.smf-layout-luxury_studio .smf-order-section {
  background: #0f172a;
}

.smf-layout-luxury_studio .smf-reviews-section {
  background: #111827;
}

.smf-layout-luxury_studio .smf-benefit,
.smf-layout-luxury_studio .smf-review,
.smf-layout-luxury_studio .smf-order-form,
.smf-layout-luxury_studio .smf-package-option {
  background: #172033;
  border-color: rgba(255, 255, 255, .14);
}

.smf-layout-luxury_studio .smf-hero h1,
.smf-layout-luxury_studio .smf-section-copy h2,
.smf-layout-luxury_studio .smf-section-heading h2,
.smf-layout-luxury_studio .smf-order-intro h2,
.smf-layout-luxury_studio .smf-benefit p,
.smf-layout-luxury_studio .smf-review footer strong,
.smf-layout-luxury_studio .smf-product-lockup strong,
.smf-layout-luxury_studio .smf-field label,
.smf-layout-luxury_studio .smf-package-fieldset legend,
.smf-layout-luxury_studio .smf-form-total span {
  color: #f8fafc;
}

.smf-layout-luxury_studio .smf-media-glow {
  background: rgba(212, 167, 44, .18);
}

.smf-layout-urgency_cod {
  --smf-accent: #ea580c;
  --smf-accent-dark: #c2410c;
}

.smf-layout-urgency_cod .smf-announcement {
  background: #7c2d12;
}

.smf-layout-urgency_cod .smf-hero {
  background: radial-gradient(circle at 80% 20%, #ffedd5, transparent 32%), #fffaf5;
}

.smf-layout-urgency_cod .smf-countdown-banner {
  background: #ffedd5;
}

.smf-layout-mobile_offer_stack {
  --smf-ink: #1f2937;
  --smf-muted: #667085;
  --smf-line: #eadfd5;
  --smf-accent: #d97706;
  --smf-accent-dark: #9a3412;
  background: #f3f4f6;
}

body.smf-standalone-funnel {
  margin: 0;
  background: #f3f4f6;
}

html.smf-standalone-html {
  margin-top: 0 !important;
}

.smf-standalone-funnel .smf-layout-mobile_offer_stack {
  min-height: 100vh;
}

.smf-layout-mobile_offer_stack .smf-announcement {
  background: #171717;
  color: #fff7ed;
}

.smf-mobile-shell {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.smf-mobile-hero {
  padding: 20px 18px 30px;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 76%);
  text-align: center;
}

.smf-mobile-badge,
.smf-mobile-section-kicker {
  color: var(--smf-accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.smf-mobile-badge {
  display: inline-flex;
  border-radius: 999px;
  background: #fed7aa;
  padding: 6px 11px;
  letter-spacing: 0;
  text-transform: none;
}

.smf-mobile-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  color: var(--smf-muted);
  font-size: 12px;
}

.smf-mobile-rating span {
  color: #f59e0b;
  letter-spacing: 2px;
}

.smf-mobile-hero h1 {
  margin: 16px auto 10px;
  max-width: 560px;
  color: var(--smf-ink);
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.smf-mobile-subtitle {
  max-width: 490px;
  margin: 0 auto;
  color: var(--smf-muted);
  font-size: 17px;
}

.smf-mobile-gallery {
  position: relative;
  margin: 18px auto 12px;
}

.smf-mobile-gallery-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #f8e7d3;
  box-shadow: inset 0 0 0 1px rgba(154, 52, 18, .06);
}

.smf-mobile-gallery-track {
  display: flex;
  direction: ltr;
  transition: transform .32s ease;
}

.smf-mobile-gallery-slide {
  display: grid;
  flex: 0 0 100%;
  min-height: 310px;
  place-items: center;
  margin: 0;
  padding: 16px;
}

.smf-mobile-gallery-slide img {
  display: block;
  width: 100%;
  height: 278px;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(124, 45, 18, .18));
}

.smf-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--smf-ink);
  box-shadow: 0 5px 14px rgba(31, 41, 55, .18);
  cursor: pointer;
  font-size: 29px;
  line-height: 1;
  transform: translateY(-50%);
}

.smf-gallery-arrow-prev { right: 10px; }
.smf-gallery-arrow-next { left: 10px; }

.smf-mobile-gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 1px 2px 3px;
  direction: ltr;
}

.smf-mobile-gallery-thumbnails button {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  overflow: hidden;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff7ed;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.smf-mobile-gallery-thumbnails button[aria-pressed="true"] {
  border-color: var(--smf-accent-dark);
  box-shadow: 0 4px 10px rgba(154, 52, 18, .18);
  transform: translateY(-1px);
}

.smf-mobile-gallery-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.smf-mobile-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 14px 0 16px;
  padding: 13px 0;
  border-top: 1px solid var(--smf-line);
  border-bottom: 1px solid var(--smf-line);
  text-align: start;
}

.smf-mobile-current-price {
  color: var(--smf-accent-dark);
  font-size: 30px;
  font-weight: 900;
}

.smf-mobile-price-row del {
  margin-inline-start: 9px;
  color: #98a2b3;
  font-size: 14px;
}

.smf-mobile-price-row small {
  color: var(--smf-muted);
  font-size: 12px;
}

.smf-mobile-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 16px 12px;
  background: #1f2937;
  color: #fff;
}

.smf-mobile-trust-strip div {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.smf-mobile-trust-strip strong {
  color: #fdba74;
  font-size: 18px;
}

.smf-mobile-trust-strip span {
  font-size: 11px;
  line-height: 1.25;
}

.smf-mobile-preview-section,
.smf-mobile-benefits-section,
.smf-mobile-reviews-section,
.smf-mobile-faq {
  padding: 42px 18px;
}

.smf-mobile-preview-section {
  background: #fff;
}

.smf-mobile-preview-section h2,
.smf-mobile-benefits-section h2,
.smf-mobile-reviews-section h2 {
  margin: 7px 0 8px;
  color: var(--smf-ink);
  font-size: 29px;
  line-height: 1.15;
}

.smf-mobile-preview-section > p {
  margin: 0 0 18px;
  color: var(--smf-muted);
}

.smf-mobile-preview-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border-radius: 18px;
  background: #f8e7d3;
}

.smf-mobile-preview-card img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.smf-mobile-preview-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(31, 41, 55, .42));
  content: '';
}

.smf-mobile-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: rgba(31, 41, 55, .72);
  color: #fff;
  font-size: 20px;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.smf-mobile-preview-card small {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.smf-mobile-benefits-section {
  background: #fffaf5;
}

.smf-mobile-benefits-list,
.smf-mobile-review-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.smf-mobile-benefits-list article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--smf-line);
  border-radius: 14px;
  background: #fff;
}

.smf-mobile-benefits-list article > span {
  color: var(--smf-accent);
  font-size: 12px;
  font-weight: 900;
}

.smf-mobile-benefits-list strong {
  color: var(--smf-ink);
  font-size: 15px;
}

.smf-mobile-benefits-list p {
  margin: 3px 0 0;
  color: var(--smf-muted);
  font-size: 12px;
}

.smf-mobile-reviews-section {
  background: #1f2937;
}

.smf-mobile-reviews-section h2,
.smf-mobile-reviews-section .smf-mobile-section-kicker {
  color: #fff;
}

.smf-mobile-review-viewport {
  overflow: hidden;
  margin-top: 20px;
  border-radius: 20px;
}

.smf-mobile-review-track {
  display: flex;
  direction: ltr;
  transition: transform .32s ease;
}

.smf-mobile-review-card {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  min-height: 225px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  color: #fff;
  direction: rtl;
  box-shadow: 0 16px 32px rgba(2, 6, 23, .16);
}

.smf-mobile-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.smf-mobile-review-verified {
  border-radius: 999px;
  background: rgba(253, 186, 116, .16);
  color: #fed7aa;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.smf-mobile-review-quote-mark {
  position: absolute;
  top: 39px;
  left: 20px;
  color: rgba(253, 186, 116, .28);
  font-family: Georgia, serif;
  font-size: 70px;
  line-height: .8;
}

.smf-mobile-review-card p {
  position: relative;
  z-index: 1;
  min-height: 62px;
  margin: 26px 0 20px;
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.65;
}

.smf-mobile-review-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #cbd5e1;
  font-size: 12px;
}

.smf-mobile-review-card footer > div {
  display: grid;
  gap: 2px;
}

.smf-mobile-review-card footer strong {
  color: #fff;
  font-size: 13px;
}

.smf-mobile-review-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #fdba74;
  color: #7c2d12;
  font-weight: 900;
}

.smf-mobile-review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 13px;
  color: #cbd5e1;
  font-size: 12px;
}

.smf-mobile-review-controls strong {
  color: #fed7aa;
  font-size: 15px;
}

.smf-mobile-review-controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
}

.smf-mobile-review-controls button:hover {
  background: rgba(255, 255, 255, .18);
}

.smf-mobile-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  background: #ffedd5;
  color: #9a3412;
  font-weight: 800;
}

.smf-mobile-countdown strong {
  direction: ltr;
  letter-spacing: .08em;
}

.smf-mobile-order-section {
  padding: 42px 12px 46px;
  background: #f8fafc;
}

.smf-mobile-order-section .smf-order-form {
  padding: 18px;
  box-shadow: 0 8px 25px rgba(31, 41, 55, .06);
}

.smf-mobile-faq {
  display: grid;
  gap: 9px;
  background: #fff;
}

.smf-mobile-faq details {
  padding: 14px 15px;
  border: 1px solid var(--smf-line);
  border-radius: 12px;
  background: #fffaf5;
}

.smf-mobile-faq summary {
  cursor: pointer;
  color: var(--smf-ink);
  font-weight: 800;
}

.smf-mobile-faq p {
  margin: 8px 0 0;
  color: var(--smf-muted);
  font-size: 13px;
}

.smf-funnel-page > section,
.smf-funnel-page > .smf-announcement {
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  padding-right: max(20px, calc((100vw - 1160px) / 2));
}

.smf-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  min-height: 650px;
  padding-top: 74px;
  padding-bottom: 74px;
  background: radial-gradient(circle at 18% 10%, #ede9fe, transparent 34%), #fff;
}

.smf-hero-copy {
  max-width: 560px;
}

.smf-hero h1 {
  margin: 12px 0 18px;
  color: var(--smf-ink);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.smf-hero-subtitle {
  max-width: 520px;
  margin: 0;
  color: var(--smf-muted);
  font-size: clamp(17px, 2vw, 21px);
}

.smf-product-lockup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 430px;
  margin: 30px 0 22px;
  padding: 14px 0;
  border-top: 1px solid var(--smf-line);
  border-bottom: 1px solid var(--smf-line);
}

.smf-product-lockup span {
  color: var(--smf-accent-dark);
  font-size: 20px;
  font-weight: 800;
}

.smf-primary-cta,
.smf-submit-order,
.smf-next-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--smf-accent);
  color: #fff !important;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.smf-primary-cta:hover,
.smf-submit-order:hover,
.smf-next-step:hover {
  background: var(--smf-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(124, 58, 237, .22);
}

.smf-hero-media {
  position: relative;
  min-height: 490px;
  display: grid;
  place-items: center;
}

.smf-media-glow {
  position: absolute;
  width: min(75vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ede9fe;
}

.smf-hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 530px);
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(15, 23, 42, .16));
}

.smf-countdown-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

.smf-countdown-banner strong {
  direction: ltr;
  color: #c2410c;
  font-size: 25px;
  letter-spacing: .08em;
}

.smf-proof-grid,
.smf-reviews-section,
.smf-order-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.smf-proof-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  background: #f8fafc;
}

.smf-section-copy h2,
.smf-section-heading h2,
.smf-order-intro h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.smf-section-copy p,
.smf-order-intro p {
  color: var(--smf-muted);
  font-size: 17px;
}

.smf-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.smf-benefit,
.smf-review,
.smf-order-form {
  border: 1px solid var(--smf-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.smf-order-form {
  border: 2px dashed #111;
}

.smf-benefit {
  padding: 22px;
}

.smf-benefit > span {
  color: var(--smf-accent);
  font-size: 12px;
  font-weight: 900;
}

.smf-benefit p {
  margin: 18px 0 0;
  font-weight: 700;
}

.smf-reviews-section {
  background: #fff;
}

.smf-section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.smf-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.smf-review {
  padding: 22px;
}

.smf-stars {
  color: #f59e0b;
  letter-spacing: 3px;
}

.smf-review p {
  min-height: 80px;
}

.smf-review footer {
  display: grid;
  gap: 1px;
  color: var(--smf-muted);
  font-size: 13px;
}

.smf-review footer strong {
  color: var(--smf-ink);
}

.smf-order-section {
  background: #f3f0ff;
}

.smf-order-intro {
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
}

.smf-order-form {
  max-width: 740px;
  margin: auto;
  padding: clamp(20px, 4vw, 38px);
}

.smf-form-basic {
  background: #fff;
}

.smf-form-section-heading {
  margin: 14px 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--smf-line);
  color: var(--smf-ink);
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.smf-form-product-heading {
  margin-top: 20px;
}

/* Keep the first order-information heading tight to the form content. */
.smf-form-basic .smf-form-section-heading {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.smf-form-basic .smf-package-fieldset {
	margin-top: 18px;
	padding: 12px;
	border: 1px solid var(--smf-line);
	border-radius: 16px;
	background: #fff;
}

.smf-form-basic .smf-package-options {
  gap: 7px;
}

.smf-form-basic .smf-package-option {
  min-height: 0;
  padding: 10px 8px;
  border-width: 1px;
  border-radius: 999px;
  text-align: center;
}

.smf-form-basic .smf-package-content {
  gap: 1px;
  justify-items: center;
}

.smf-form-basic .smf-package-content strong {
  font-size: 15px;
}

.smf-form-basic .smf-package-content small,
.smf-form-basic .smf-package-content em {
  display: none;
}

@media (max-width: 760px) {
  .smf-form-basic {
    padding: 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .smf-form-basic .smf-fields-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .smf-form-basic > .smf-field > label,
  .smf-form-basic .smf-fields-grid .smf-field > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .smf-form-basic > .smf-field input,
  .smf-form-basic > .smf-field textarea,
  .smf-form-basic .smf-fields-grid input,
  .smf-form-basic .smf-fields-grid .smf-city-search-input {
    min-height: 46px;
    border-color: var(--smf-line);
    border-radius: 11px;
    background: #fff;
    color: var(--smf-ink);
  }

  .smf-form-basic .smf-fields-grid .smf-field,
  .smf-form-basic > .smf-field {
    margin-bottom: 9px;
  }

  .smf-form-basic > .smf-field textarea {
    min-height: 46px;
    resize: vertical;
  }

  .smf-form-basic .smf-variation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smf-form-basic .smf-package-fieldset {
    margin-bottom: 16px;
    padding: 11px;
  }

  .smf-form-basic .smf-package-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smf-form-basic .smf-package-option {
    padding: 9px 5px;
  }

  .smf-form-basic .smf-package-content b {
    font-size: 11px;
  }

  .smf-form-basic .smf-package-content strong {
    font-size: 14px;
  }
}

.smf-package-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}

.smf-package-fieldset legend,
.smf-offer-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.smf-package-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.smf-package-option {
  position: relative;
  display: block;
  min-height: 130px;
  padding: 15px;
  border: 2px solid var(--smf-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}

.smf-package-option:hover,
.smf-package-option.is-selected {
  border-color: var(--smf-accent);
  transform: translateY(-2px);
}

.smf-package-option input {
  position: absolute;
  opacity: 0;
}

.smf-package-content {
  display: grid;
  gap: 5px;
}

.smf-package-content strong {
  color: var(--smf-accent-dark);
  font-size: 21px;
}

.smf-package-content em {
  width: fit-content;
  border-radius: 999px;
  background: #ede9fe;
  color: var(--smf-accent-dark);
  padding: 2px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.smf-package-content small {
  color: var(--smf-muted);
}

.smf-package-content del {
  color: #98a2b3;
  margin-inline-end: 4px;
}

.smf-field {
  margin: 0 0 16px;
}

.smf-fields-grid,
.smf-variation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.smf-variation-bundle {
  margin: 20px 0 6px;
}

.smf-variation-group {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid var(--smf-line);
  border-radius: 14px;
  background: #fafafa;
}

.smf-variation-group[hidden] {
  display: none;
}

.smf-variation-heading {
  margin-bottom: 12px;
  color: var(--smf-accent-dark);
  font-weight: 800;
}

.smf-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.smf-field label span {
  color: #dc2626;
}

.smf-field input,
.smf-field select,
.smf-field textarea {
  width: 100%;
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
  color: var(--smf-ink);
  padding: 12px 13px;
  font: inherit;
}

.smf-field input:focus,
.smf-field select:focus,
.smf-field textarea:focus {
  outline: 3px solid rgba(124, 58, 237, .16);
  border-color: #111;
}

.smf-city-combobox {
  position: relative;
}

.smf-city-search-input {
  padding-inline-start: 38px !important;
}

.smf-city-search-icon {
  position: absolute;
  top: 50%;
  right: 13px;
  z-index: 1;
  color: var(--smf-muted);
  font-size: 21px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-52%);
}

.smf-city-clear {
  position: absolute;
  top: 50%;
  left: 9px;
  z-index: 2;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: var(--smf-muted);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  transform: translateY(-50%);
}

.smf-city-dropdown {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 40;
  max-height: 250px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(15, 23, 42, .16);
}

.smf-city-option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--smf-ink);
  padding: 10px 11px;
  text-align: start;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.smf-city-option:hover,
.smf-city-option:focus-visible {
  outline: 0;
  background: #fff7ed;
  color: var(--smf-accent-dark);
}

/* Portable Landing Template components. Imported packages can choose their own
 * fields and placement, while these renderer-owned primitives keep layouts
 * responsive and safe. */
.smf-component-funnel {
  background: #f8fafc;
}

.smf-component-section,
.smf-component-group {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 78px) max(18px, 4vw);
}

.smf-component-section {
  display: grid;
  gap: 18px;
}

.smf-component-group {
  display: grid;
  gap: 14px;
  padding-top: 0;
  padding-bottom: 0;
}

.smf-component-section.smf-variant-surface,
.smf-component-group.smf-variant-surface {
  background: #fff;
}

.smf-component-section.smf-variant-muted,
.smf-component-group.smf-variant-muted {
  background: #f3f0ff;
}

.smf-component-section.smf-variant-dark,
.smf-component-group.smf-variant-dark {
  background: #111827;
  color: #f8fafc;
}

.smf-component-heading {
  max-width: 820px;
  margin: 0;
  color: var(--smf-ink);
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.smf-variant-dark .smf-component-heading,
.smf-component-section.smf-variant-dark .smf-component-heading {
  color: #fff;
}

.smf-component-text {
  max-width: 700px;
  margin: 0;
  color: var(--smf-muted);
  font-size: clamp(16px, 2vw, 20px);
}

.smf-variant-dark .smf-component-text,
.smf-component-section.smf-variant-dark .smf-component-text {
  color: #cbd5e1;
}

.smf-component-image {
  max-width: 700px;
  margin: 8px 0;
}

.smf-component-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 22px;
  object-fit: contain;
  background: #fff;
}

.smf-component-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--smf-accent);
  color: #fff !important;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
}

.smf-component-button:hover {
  background: var(--smf-accent-dark);
}

.smf-component-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 880px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}

.smf-component-list li {
  padding: 17px;
  border: 1px solid var(--smf-line);
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
}

.smf-component-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.smf-component-reviews article {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--smf-line);
  border-radius: 16px;
  background: #fff;
}

.smf-component-reviews p {
  min-height: 65px;
  margin: 0;
}

.smf-component-reviews footer {
  display: grid;
  color: var(--smf-muted);
  font-size: 13px;
}

.smf-component-product-name,
.smf-component-product-price {
  display: block;
  font-size: 20px;
}

.smf-component-product-price {
  color: var(--smf-accent-dark);
  font-weight: 800;
}

.smf-component-checkout {
  padding: clamp(22px, 5vw, 56px) max(18px, 4vw);
  background: #f3f0ff;
}

/* A finished long image is already the complete visual landing page. Keep it
 * uncropped and let the renderer-owned checkout follow it in a readable card. */
.smf-image-landing-funnel {
  background: #fff;
}

.smf-image-landing-funnel .smf-component-image {
  width: 100%;
  max-width: none;
  margin: 0;
}

.smf-image-landing-funnel .smf-component-image img {
  width: 100%;
  max-height: none;
  border-radius: 0;
  background: transparent;
  object-fit: initial;
}

.smf-image-landing-funnel .smf-component-checkout {
  padding: clamp(24px, 5vw, 58px) max(18px, 4vw);
}

/* Image landings are complete visual pages; remove the fallback theme header
 * so the uploaded artwork starts immediately at the top of the viewport. */
.smf-body-image-landing #header,
.smf-body-image-landing #page > hr {
  display: none !important;
}

.smf-body-image-landing #page {
  margin: 0 !important;
}

/* Funnels are standalone sales pages: do not show the theme navigation shell. */
body.smf-standalone-funnel .stylemen-announcement-bar,
body.smf-standalone-funnel .premium-header,
body.smf-standalone-funnel .mobile-drawer-overlay,
body.smf-standalone-funnel .mobile-drawer,
body.smf-standalone-funnel .premium-footer {
  display: none !important;
}

body.smf-standalone-funnel #page,
body.smf-standalone-funnel .wp-site-blocks {
  margin: 0 !important;
  padding-top: 0 !important;
}

/* Desktop fallback: keep the normal WooCommerce product presentation, then
 * place the Funnel's COD form directly underneath it. */
.smf-default-product-page {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
}

.smf-default-product-content {
  padding: 24px 18px 8px !important;
}

/* The product template is rendered inside a funnel page, so the active theme
 * cannot rely on its normal single-product body classes for the layout. Keep
 * the selected product visible and give its gallery/summary their own stable
 * desktop layout. */
.smf-default-product-content #primary,
.smf-default-product-content #main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.smf-default-product-content .woocommerce-breadcrumb {
  max-width: 1180px;
  margin: 0 auto 24px;
}

.smf-default-product-content .product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 40px;
  align-items: start;
  position: relative;
  width: 100% !important;
  max-width: 1180px;
  margin: 0 auto !important;
}

.smf-default-product-content .product > .onsale {
  position: absolute !important;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: auto !important;
}

.smf-default-product-content .woocommerce-product-gallery {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0;
  float: none !important;
  opacity: 1 !important;
}

.smf-default-product-content .woocommerce-product-gallery .flex-viewport,
.smf-default-product-content .woocommerce-product-gallery__wrapper {
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

.smf-default-product-content .woocommerce-product-gallery__wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 !important;
}

.smf-default-product-content .woocommerce-product-gallery__image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.smf-default-product-content .woocommerce-product-gallery__image:first-child {
  grid-column: 1 / -1;
}

.smf-default-product-content .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 16px;
  background: #f8fafc;
}

.smf-default-product-content .summary.entry-summary {
  display: block !important;
  width: 100% !important;
  float: none !important;
  min-width: 0;
  margin: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.smf-default-product-content .woocommerce-tabs {
  grid-column: 1 / -1;
}

.smf-default-product-order {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 18px 112px;
}

.smf-default-product-summary {
  padding: 18px;
}

.smf-default-product-price {
  margin: 10px 0;
  color: var(--smf-accent-dark);
  font-size: 20px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .smf-default-product-content {
    padding: 0 12px 8px;
  }

  .smf-default-product-content .product {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .smf-default-product-content .woocommerce-tabs {
    grid-column: auto;
  }

  .smf-default-product-order {
    padding: 18px 12px 112px;
  }
}

@media (max-width: 700px) {
  .smf-component-list,
  .smf-component-reviews {
    grid-template-columns: 1fr;
  }
}

.smf-city-empty {
  margin: 0;
  padding: 12px 10px;
  color: var(--smf-muted);
  font-size: 12px;
  text-align: center;
}

.smf-extra-offers {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.smf-extra-offers > label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--smf-line);
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
}

.smf-extra-offers > label span {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 12px;
}

.smf-extra-offers small {
  color: var(--smf-accent-dark);
  font-weight: 800;
}

.smf-form-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 22px 0 15px;
  padding-top: 18px;
  border-top: 1px solid var(--smf-line);
}

.smf-form-total strong {
  color: var(--smf-accent-dark);
  font-size: 27px;
}

.smf-submit-order,
.smf-next-step {
  width: 100%;
}

.smf-submit-order:disabled {
  opacity: .7;
  cursor: wait;
}

.smf-trust-line,
.smf-form-message {
  margin: 12px 0 0;
  text-align: center;
  color: var(--smf-muted);
  font-size: 13px;
}

.smf-form-message.is-error {
  color: #b42318;
}

.smf-field-error {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-right: 3px solid #dc2626;
  border-radius: 5px;
  background: #fff1f2;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: right;
}

.smf-form-message.is-success {
  border-radius: 10px;
  background: #ecfdf3;
  color: #027a48;
  padding: 12px;
  font-weight: 700;
}

.smf-step-label {
  margin-bottom: 16px;
  color: var(--smf-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.smf-missing-product {
  min-height: 50vh;
  padding: 80px 20px;
  text-align: center;
}

.smf-custom-content {
  max-width: 1160px;
  margin: 0 auto;
}

.smf-custom-content > * {
  max-width: 100%;
}

.smf-custom-content img {
  max-width: 100%;
  height: auto;
}

.smf-custom-benefits {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.smf-custom-benefits li {
  padding: 14px 18px;
  border: 1px solid var(--smf-line);
  border-radius: 12px;
  background: #fff;
}

.smf-custom-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.smf-custom-review {
  padding: 18px;
  border: 1px solid var(--smf-line);
  border-radius: 14px;
  background: #fff;
}

.smf-custom-review p {
  min-height: 58px;
}

.smf-custom-review strong,
.smf-custom-review small {
  display: block;
}

.smf-custom-review small {
  color: var(--smf-muted);
}

.smf-custom-order-fallback {
  padding: 70px max(20px, calc((100vw - 1160px) / 2));
  background: #f3f0ff;
}

@media (max-width: 760px) {
  .smf-hero,
  .smf-proof-grid {
    grid-template-columns: 1fr;
  }

  .smf-hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .smf-hero-media {
    min-height: 320px;
    order: -1;
  }

  .smf-benefit-list,
  .smf-reviews-grid,
  .smf-custom-reviews,
  .smf-package-options,
  .smf-fields-grid,
  .smf-variation-grid {
    grid-template-columns: 1fr;
  }

  .smf-proof-grid,
  .smf-reviews-section,
  .smf-order-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .smf-countdown-banner {
    flex-wrap: wrap;
    gap: 5px 16px;
  }
}

/* Mobile Offer Stack: keep checkout compact and reserve room for one fixed CTA. */
.smf-layout-mobile_offer_stack {
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

.smf-mobile-fixed-cta {
  position: fixed;
  right: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 100;
  display: flex;
  width: min(calc(100% - 24px), 640px);
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 7px 8px 7px 13px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(31, 41, 55, .25);
  color: var(--smf-ink) !important;
  text-decoration: none !important;
  transform: translateX(50%);
  backdrop-filter: blur(10px);
}

.smf-mobile-fixed-cta > span {
  flex: 0 0 auto;
  color: var(--smf-accent-dark);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.smf-mobile-fixed-cta > b {
  flex: 1;
  border-radius: 10px;
  background: var(--smf-accent-dark);
  color: #fff;
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
}

.smf-mobile-fixed-cta:focus-visible,
.smf-gallery-arrow:focus-visible,
.smf-mobile-gallery-thumbnails button:focus-visible {
  outline: 3px solid rgba(217, 119, 6, .35);
  outline-offset: 3px;
}

.smf-mobile-order-section {
  scroll-margin-top: 16px;
  padding: 30px 12px 112px;
}

.smf-mobile-order-section .smf-order-intro {
  margin-bottom: 16px;
}

.smf-mobile-order-section .smf-order-intro h2 {
  font-size: 25px;
}

.smf-mobile-order-section .smf-order-intro p {
  margin: 0;
  font-size: 13px;
}

.smf-mobile-order-section .smf-order-form {
  padding: 16px;
  border-radius: 16px;
}

.smf-mobile-order-section .smf-package-fieldset {
  margin-bottom: 16px;
}

.smf-mobile-order-section .smf-package-fieldset legend {
  margin-bottom: 8px;
  font-size: 14px;
}

.smf-mobile-order-section .smf-package-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.smf-mobile-order-section .smf-package-option {
  min-height: 82px;
  padding: 9px 6px;
  border-width: 1px;
  border-radius: 10px;
}

.smf-mobile-order-section .smf-package-content {
  gap: 2px;
}

.smf-mobile-order-section .smf-package-content b {
  font-size: 12px;
}

.smf-mobile-order-section .smf-package-content strong {
  font-size: 15px;
}

.smf-mobile-order-section .smf-package-content small,
.smf-mobile-order-section .smf-package-content em {
  font-size: 9px;
  line-height: 1.15;
}

.smf-mobile-order-section .smf-package-content em {
  padding: 2px 5px;
}

.smf-mobile-order-section .smf-fields-grid,
.smf-mobile-order-section .smf-variation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.smf-mobile-order-section .smf-field {
  margin-bottom: 10px;
}

.smf-mobile-order-section .smf-field label {
  margin-bottom: 4px;
  font-size: 12px;
}

.smf-mobile-order-section .smf-field input,
.smf-mobile-order-section .smf-field select,
.smf-mobile-order-section .smf-field textarea {
  padding: 10px;
  border-radius: 9px;
  font-size: 13px;
}

.smf-mobile-order-section .smf-variation-bundle {
  margin: 12px 0 3px;
}

.smf-mobile-order-section .smf-variation-group {
  margin-top: 8px;
  padding: 11px;
  border-radius: 11px;
}

.smf-mobile-order-section .smf-variation-heading {
  margin-bottom: 8px;
  font-size: 13px;
}

.smf-mobile-order-section .smf-extra-offers {
  margin: 12px 0;
}

.smf-mobile-order-section .smf-extra-offers > label {
  padding: 9px;
  font-size: 12px;
}

.smf-mobile-order-section .smf-form-total {
  margin: 14px 0 10px;
  padding-top: 12px;
}

.smf-mobile-order-section .smf-form-total strong {
  font-size: 22px;
}

.smf-mobile-order-section .smf-submit-order {
  padding: 13px;
  font-size: 14px;
}

@media (min-width: 761px) {
  .smf-mobile-fixed-cta {
    bottom: 18px;
  }
}

/* Refined social-proof block: compact summary + two-card mobile carousel. */
.smf-layout-mobile_offer_stack .smf-mobile-reviews-section {
  padding: 28px 18px 22px;
  background: #1f2937;
}

.smf-mobile-review-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.smf-mobile-review-heading h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 27px;
}

.smf-mobile-review-summary {
  display: grid;
  flex: 0 0 76px;
  justify-items: center;
  gap: 2px;
  color: #cbd5e1;
  text-align: center;
}

.smf-mobile-review-summary strong {
  color: #f59e0b;
  font-size: 30px;
  line-height: 1;
}

.smf-mobile-review-summary .smf-stars {
  letter-spacing: 1px;
  font-size: 11px;
}

.smf-mobile-review-summary small {
  font-size: 9px;
  white-space: nowrap;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-viewport {
  margin-top: 16px;
  padding: 1px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-track {
  gap: 8px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-card {
  flex-basis: calc((100% - 8px) / 2);
  min-height: 164px;
  padding: 13px;
  border-radius: 13px;
  background: #2d3748;
  box-shadow: none;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-top {
  align-items: flex-start;
  gap: 4px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-card .smf-stars {
  letter-spacing: 1px;
  font-size: 11px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-verified {
  padding: 3px 5px;
  font-size: 8px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-quote-mark {
  top: 27px;
  left: 8px;
  font-size: 50px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-card p {
  min-height: 48px;
  margin: 15px 0 10px;
  font-size: 12px;
  line-height: 1.5;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-card footer {
  gap: 6px;
  font-size: 9px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-card footer strong {
  font-size: 10px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-avatar {
  width: 23px;
  height: 23px;
  font-size: 10px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-controls {
  margin-top: 11px;
}

.smf-layout-mobile_offer_stack .smf-mobile-review-controls button {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.smf-layout-mobile_offer_stack[data-review-count="1"] .smf-mobile-review-card {
  flex-basis: 100%;
}

@media (min-width: 761px) {
  .smf-layout-mobile_offer_stack .smf-mobile-review-card {
    flex-basis: calc((100% - 16px) / 3);
  }
}

/* Keep the three offer choices visually light and easy to scan on small screens. */
.smf-mobile-order-section .smf-package-option {
  min-height: 76px;
  padding: 8px 5px;
}

.smf-mobile-order-section .smf-package-content {
  gap: 1px;
}

.smf-mobile-order-section .smf-package-content b {
  font-size: 11px;
  line-height: 1.1;
}

.smf-mobile-order-section .smf-package-content strong {
  font-size: 14px;
  line-height: 1.2;
}

.smf-mobile-order-section .smf-package-content small {
  font-size: 8px;
  line-height: 1.1;
  white-space: nowrap;
}

/* Full-page previews opened from the template library. */
body.smf-template-preview-body {
  margin: 0;
  background: #f3f4f6;
}

.smf-template-preview-page {
  min-height: 100vh;
  overflow: hidden;
  background: #f8fafc;
}

.smf-template-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px max(20px, calc((100vw - 1160px) / 2));
  background: #111827;
  color: #fff;
}

.smf-template-preview-bar > div {
  display: grid;
  gap: 2px;
}

.smf-template-preview-bar .smf-eyebrow {
  color: #fdba74;
}

.smf-template-preview-bar strong {
  font-size: 17px;
}

.smf-template-preview-bar small {
  color: #cbd5e1;
}

.smf-template-preview-context {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 44px !important;
  padding-bottom: 30px !important;
  background: #fffaf5;
}

.smf-template-preview-context > div:first-child {
  display: grid;
  min-height: 150px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #f8e7d3;
}

.smf-offer-preview-mark {
  display: grid !important;
  place-items: center;
  background: linear-gradient(135deg, #7c3aed, #c084fc) !important;
  color: #fff;
}

.smf-offer-preview-mark span {
  font-size: 72px;
  font-weight: 200;
  line-height: 1;
}

.smf-template-preview-context img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.smf-template-preview-context h1 {
  margin: 8px 0;
  color: var(--smf-ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.smf-template-preview-context p {
  margin: 0 0 12px;
  color: var(--smf-muted);
}

.smf-template-preview-context > div:last-child > strong {
  color: var(--smf-accent-dark);
  font-size: 24px;
}

.smf-template-preview-page .smf-order-section {
  background: #fff;
}

@media (max-width: 600px) {
  .smf-template-preview-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .smf-template-preview-context {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px !important;
  }

  .smf-template-preview-context > div:first-child {
    min-height: 190px;
  }

  .smf-template-preview-context img {
    height: 190px;
  }
}

/* Smart Form: compact, dynamic COD checkout based on the approved mobile layout. */
.smf-order-section:has(.smf-form-smart) > .smf-order-intro,
.smf-mobile-order-section:has(.smf-form-smart) > .smf-order-intro {
  display: none;
}

.smf-order-section:has(.smf-form-smart),
.smf-mobile-order-section:has(.smf-form-smart),
.smf-component-checkout:has(.smf-form-smart) {
  padding: 0;
  background: #f6f4ff;
}

.smf-form-smart {
  width: calc(100% - 24px);
  max-width: 440px;
  min-height: 0;
  margin: 24px auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.smf-smart-form-area {
  padding: 20px 16px 24px;
  border: 2px dashed #111;
  border-radius: 18px;
  background: #fff;
}

.smf-order-section.is-form-in-view .smf-smart-form-area,
.smf-mobile-order-section.is-form-in-view .smf-smart-form-area,
.smf-component-checkout.is-form-in-view .smf-smart-form-area {
  padding-bottom: 20px;
}

.smf-form-smart .smf-smart-trust {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 2px 0 18px;
  white-space: nowrap;
  scrollbar-width: none;
}

.smf-form-smart .smf-smart-trust::-webkit-scrollbar { display: none; }

.smf-form-smart .smf-smart-trust span {
  flex: 0 0 auto;
  border: 1px solid var(--smf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--smf-accent-dark);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.smf-form-smart .smf-smart-intro h2 {
  margin: 0 0 6px;
  color: var(--smf-ink);
  font-size: 21px;
  line-height: 1.25;
}

.smf-form-smart .smf-smart-intro p {
  margin: 0 0 18px;
  color: var(--smf-muted);
  font-size: 14px;
}

.smf-form-smart .smf-form-section-heading {
  margin: 14px 0 9px;
  padding-top: 14px;
  border-top: 0;
  color: var(--smf-ink);
  font-size: 15px;
}

.smf-form-smart .smf-field,
.smf-form-smart .smf-fields-grid .smf-field {
  margin-bottom: 8px;
}

.smf-form-smart .smf-field > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.smf-form-smart .smf-fields-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.smf-form-smart .smf-field input,
.smf-form-smart .smf-field textarea,
.smf-form-smart .smf-field select,
.smf-form-smart .smf-city-search-input {
  min-height: 46px;
  height: 46px;
  border: 1px solid #d1d5db !important;
  border-radius: 11px;
  background: #fff;
  padding: 0 12px;
  color: var(--smf-ink);
  box-shadow: none;
}

.smf-form-smart .smf-field input:focus,
.smf-form-smart .smf-field textarea:focus,
.smf-form-smart .smf-field select:focus,
.smf-form-smart .smf-city-search-input:focus {
  border: 1px solid #d1d5db !important;
  outline: 3px solid rgba(107, 114, 128, .14);
}

.smf-form-smart .smf-field textarea {
  padding-top: 12px;
  resize: none;
}

.smf-form-smart .smf-package-fieldset {
  margin: 14px 0;
  padding: 10px;
  border: 1px solid var(--smf-line);
  border-radius: 13px;
  background: #fff;
}

.smf-form-smart .smf-package-fieldset legend {
  margin: 0 0 8px;
  color: var(--smf-muted);
  font-size: 12px;
}

.smf-form-smart .smf-package-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.smf-form-smart .smf-package-option {
  display: inline-flex;
  min-height: 0;
  padding: 7px 9px;
  border: 1px solid var(--smf-line);
  border-radius: 999px;
  background: #fff;
  transform: none;
}

.smf-form-smart .smf-package-option:hover,
.smf-form-smart .smf-package-option.is-selected {
  border-color: var(--smf-accent);
  background: #fff;
  transform: none;
}

.smf-form-smart .smf-package-option.is-selected {
  background: color-mix(in srgb, var(--smf-accent) 9%, #fff);
}

.smf-form-smart .smf-package-content {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.smf-form-smart .smf-package-content b,
.smf-form-smart .smf-package-content strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.2;
}

.smf-form-smart .smf-package-content strong { color: var(--smf-accent-dark); }
.smf-form-smart .smf-package-content em,
.smf-form-smart .smf-package-content small { display: none; }
.smf-smart-offer-star { color: #e3a008; font-style: normal; font-size: 12px; }

.smf-form-smart .smf-variation-bundle { margin: 0; }
.smf-form-smart .smf-variation-group {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.smf-form-smart .smf-variation-group[data-variation-index="0"] .smf-variation-heading { display: none; }
.smf-form-smart .smf-variation-heading { margin: 8px 0; font-size: 13px; }
.smf-form-smart .smf-variation-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.smf-form-smart .smf-choice-field {
  margin: 0;
}

.smf-form-smart .smf-choice-label {
  display: block;
  margin: 0 0 8px;
  color: var(--smf-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
}

.smf-form-smart .smf-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.smf-form-smart .smf-choice-option {
  min-width: 56px;
  min-height: 50px;
  padding: 8px 10px;
  border: 2px solid #c6cdd5;
  border-radius: 4px;
  background: #fff;
  color: var(--smf-ink);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.smf-form-smart .smf-choice-option:hover,
.smf-form-smart .smf-choice-option:focus-visible,
.smf-form-smart .smf-choice-option.is-selected {
  border-color: var(--smf-accent);
  background: color-mix(in srgb, var(--smf-accent) 8%, #fff);
  color: var(--smf-accent-dark);
  outline: none;
}

.smf-form-smart .smf-choice-option:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.smf-form-smart .smf-variation-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.smf-form-smart .smf-smart-note {
  margin: 14px 0 0;
  border-radius: 11px;
  background: #f8f7fa;
  padding: 10px 12px;
  color: var(--smf-muted);
  font-size: 12px;
  text-align: center;
}

.smf-smart-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px max(16px, calc((100vw - 440px) / 2 + 16px));
  border-top: 1px solid var(--smf-line);
  background: rgba(255, 255, 255, .97);
}

.smf-smart-bottom .smf-submit-order {
  flex: 1;
  width: auto;
  margin: 0;
  border-radius: 11px;
  background: var(--smf-accent);
  padding: 13px 16px;
  font-size: 15px;
}

.smf-smart-bottom #smf-form-total {
  order: -1;
  color: var(--smf-accent-dark);
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}

/* Once the form is in view, the Smart Form's action joins the form flow so
 * visitors see the moving order button exactly where they finish filling it. */
.smf-order-section.is-form-in-view .smf-smart-bottom,
.smf-mobile-order-section.is-form-in-view .smf-smart-bottom,
.smf-component-checkout.is-form-in-view .smf-smart-bottom {
  position: static;
  z-index: auto;
  margin: 16px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--smf-line);
  background: transparent;
}

.smf-fixed-order-cta {
  position: fixed;
  right: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 110;
  width: min(calc(100% - 28px), 440px);
  text-decoration: none !important;
  transform: translateX(50%);
  animation: smf-cta-nudge 4.6s ease-in-out infinite;
}

.smf-order-section .smf-submit-order,
.smf-mobile-order-section .smf-submit-order,
.smf-custom-order-fallback .smf-submit-order {
  animation: smf-form-cta-nudge 4.6s ease-in-out infinite;
}

.smf-fixed-order-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.smf-fixed-order-cta span {
  display: block;
  border-radius: 10px;
  background: var(--smf-accent);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--smf-accent) 34%, transparent);
  color: #fff;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

@keyframes smf-cta-nudge {
  0%, 78%, 100% { transform: translateX(50%) translateY(0); }
  84% { transform: translateX(50%) translateY(-4px); }
  90% { transform: translateX(50%) translateY(0); }
}

@keyframes smf-form-cta-nudge {
  0%, 78%, 100% { transform: translateY(0); }
  84% { transform: translateY(-3px); }
  90% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .smf-fixed-order-cta,
  .smf-order-section .smf-submit-order,
  .smf-mobile-order-section .smf-submit-order,
  .smf-custom-order-fallback .smf-submit-order { animation: none; }
}
