:root {
  --source-accent: var(--primary-color);
  --source-accent-2: var(--secondary-color);
  --source-ink: #0f172a;
  --source-soft: #f8fafc;
}

html[data-theme="dark"] {
  --source-ink: #f8fafc;
  --source-soft: #101827;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--secondary-color) 70%, white) 0%, transparent 40%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 1) 100%);
  color: #0f172a;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-theme="dark"] body {
  color: #f8fafc;
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--secondary-color) 22%, #0f172a) 0%, transparent 40%),
    linear-gradient(180deg, #070a12 0%, #0f172a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.78;
}

body[data-template="premium"] {
  background:
    radial-gradient(circle at top, rgba(15, 23, 42, 0.16) 0%, transparent 36%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 1) 100%);
}

body[data-template="local"] {
  background:
    radial-gradient(circle at top, rgba(16, 185, 129, 0.14) 0%, transparent 38%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 1) 100%);
}

body[data-source="instagram"] {
  --source-accent: #e11d48;
  --source-accent-2: #f97316;
  --source-ink: #2e1065;
  --source-soft: #fff7ed;
  background:
    radial-gradient(circle at 15% 0%, rgba(225, 29, 72, 0.22) 0%, transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(249, 115, 22, 0.18) 0%, transparent 30%),
    linear-gradient(180deg, rgba(255, 247, 237, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

body[data-source="story"] {
  --source-accent: #a855f7;
  --source-accent-2: #f43f5e;
  --source-ink: #2e1065;
  --source-soft: #faf5ff;
  background:
    radial-gradient(circle at 18% 0%, rgba(168, 85, 247, 0.24) 0%, transparent 34%),
    radial-gradient(circle at 90% 14%, rgba(244, 63, 94, 0.18) 0%, transparent 32%),
    linear-gradient(180deg, rgba(250, 245, 255, 0.94) 0%, rgba(255, 255, 255, 1) 100%);
}

body[data-source="whatsapp"] {
  --source-accent: #16a34a;
  --source-accent-2: #22c55e;
  --source-ink: #052e16;
  --source-soft: #ecfdf5;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 197, 94, 0.22) 0%, transparent 34%),
    linear-gradient(180deg, rgba(236, 253, 245, 0.94) 0%, rgba(255, 255, 255, 1) 100%);
}

body[data-source="whatsapp"]::before {
  background-image:
    radial-gradient(circle at 18px 18px, rgba(22, 163, 74, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 58px 52px, rgba(22, 163, 74, 0.06) 0 2px, transparent 3px);
  background-size: 76px 76px;
}

body[data-source="meta"] {
  --source-accent: #2563eb;
  --source-accent-2: #06b6d4;
  --source-ink: #172554;
  --source-soft: #eff6ff;
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.2) 0%, transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(6, 182, 212, 0.14) 0%, transparent 30%),
    linear-gradient(180deg, rgba(239, 246, 255, 0.88) 0%, rgba(255, 255, 255, 1) 100%);
}

body[data-source="qr"] {
  --source-accent: #111827;
  --source-accent-2: #f59e0b;
  --source-ink: #111827;
  --source-soft: #fffbeb;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
  background-size: 26px 26px, 26px 26px, auto;
}

body[data-source="email"] {
  --source-accent: #334155;
  --source-accent-2: #2563eb;
  --source-ink: #0f172a;
  --source-soft: #f8fafc;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 35%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body[data-source="tiktok"] {
  --source-accent: #111827;
  --source-accent-2: #06b6d4;
  --source-ink: #020617;
  --source-soft: #f0fdfa;
  background:
    radial-gradient(circle at 18% 0%, rgba(6, 182, 212, 0.18) 0%, transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(244, 63, 94, 0.16) 0%, transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

html[data-theme="dark"] body[data-template],
html[data-theme="dark"] body[data-source] {
  --source-ink: #f8fafc;
  --source-soft: #101827;
  background:
    radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--source-accent) 18%, transparent) 0%, transparent 32%),
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--source-accent-2) 14%, transparent) 0%, transparent 30%),
    linear-gradient(180deg, #070a12 0%, #0f172a 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.public-shell {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 16px calc(140px + env(safe-area-inset-bottom, 0px));
}

body[data-source="story"] .public-shell,
body[data-source="tiktok"] .public-shell {
  max-width: 440px;
}

body[data-source="email"] .public-shell {
  max-width: 560px;
}

body[data-source="qr"] .public-shell {
  max-width: 470px;
}

.public-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff7ed;
  color: #9a3412;
}

.offer-stage {
  touch-action: pan-y;
}

.offer-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .offer-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

body[data-source="instagram"] .offer-card,
body[data-source="story"] .offer-card {
  border-color: color-mix(in srgb, var(--source-accent) 18%, white);
  box-shadow: 0 30px 90px rgba(225, 29, 72, 0.13);
}

body[data-source="whatsapp"] .offer-card {
  border-color: rgba(22, 163, 74, 0.18);
  box-shadow: 0 26px 76px rgba(5, 46, 22, 0.1);
}

body[data-source="meta"] .offer-card {
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 30px 86px rgba(37, 99, 235, 0.12);
}

body[data-source="qr"] .offer-card {
  border: 2px solid #111827;
  box-shadow: 0 18px 0 rgba(17, 24, 39, 0.08);
}

body[data-source="email"] .offer-card {
  border-radius: 22px;
  box-shadow: 0 18px 56px rgba(15, 23, 42, 0.08);
}

body[data-template="premium"] .offer-card {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.14);
}

body[data-template="local"] .offer-card {
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
}

.hero-block {
  position: relative;
  background: color-mix(in srgb, var(--primary-color) 10%, white);
}

.hero-block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.22) 0%, transparent 34%, transparent 100%);
}

.channel-identity {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #ffffff;
  text-shadow: 0 1px 18px rgba(15, 23, 42, 0.28);
}

.channel-mark,
.channel-label {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 30px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(16px);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.channel-label {
  flex: 0 1 auto;
  max-width: min(54vw, 170px);
  margin-left: auto;
  background: color-mix(in srgb, var(--source-accent) 72%, rgba(15, 23, 42, 0.62));
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-image,
.hero-video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hero-video {
  background: #0f172a;
}

.hero-fallback {
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  color: var(--source-ink);
  font-weight: 800;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--source-accent) 20%, white), transparent 34%),
    linear-gradient(135deg, var(--source-soft), #ffffff);
}

body[data-source="story"] .hero-image,
body[data-source="story"] .hero-video,
body[data-source="tiktok"] .hero-image,
body[data-source="tiktok"] .hero-video {
  aspect-ratio: 9 / 16;
  max-height: 680px;
}

body[data-source="qr"] .hero-image,
body[data-source="qr"] .hero-video {
  aspect-ratio: 1 / 1;
}

.offer-content {
  position: relative;
  z-index: 1;
  padding: 22px 18px 28px;
  background: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] .offer-content,
html[data-theme="dark"] .contact-panel.is-open,
html[data-theme="dark"] .sticky-cta {
  background: rgba(15, 23, 42, 0.96);
}

.business-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.business-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
}

.business-name {
  margin: 0;
  font-weight: 800;
}

.business-description {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.95rem;
}

html[data-theme="dark"] .business-description,
html[data-theme="dark"] .offer-description,
html[data-theme="dark"] .info-block p,
html[data-theme="dark"] .terms-block p,
html[data-theme="dark"] .source-fit-card p,
html[data-theme="dark"] .seller-info-block p,
html[data-theme="dark"] .section-header-inline p,
html[data-theme="dark"] .contact-chip-label,
html[data-theme="dark"] .sticky-copy,
html[data-theme="dark"] .legal-footer-links {
  color: #a6b0c2;
}

html[data-theme="dark"] .offer-price,
html[data-theme="dark"] .business-name,
html[data-theme="dark"] .offer-card h1,
html[data-theme="dark"] .sticky-price {
  color: #f8fafc;
}

.offer-card h1 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 5vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.offer-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-price {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 900;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.stock-pill.available {
  background: #dcfce7;
  color: #166534;
}

.stock-pill.sold-out {
  background: #fee2e2;
  color: #991b1b;
}

.offer-description,
.info-block p,
.terms-block p {
  color: #475569;
  line-height: 1.6;
}

.source-fit-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--source-accent) 10%, white), #ffffff);
  border: 1px solid color-mix(in srgb, var(--source-accent) 22%, white);
}

html[data-theme="dark"] .source-fit-card,
html[data-theme="dark"] .seller-info-block,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .lead-form-card,
html[data-theme="dark"] .contact-chip {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .seller-info-list dd {
  color: #f8fafc;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.44);
  color: #f8fafc;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #7b8494;
}

.theme-toggle {
  position: fixed;
  right: 16px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  min-width: 74px;
  min-height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #111827;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.84);
  color: #f8fafc;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.source-fit-card span {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--source-accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-fit-card h2 {
  margin: 0 0 6px;
  color: var(--source-ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.source-fit-card p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

body[data-source="whatsapp"] .source-fit-card {
  border-radius: 8px 22px 22px 22px;
  background: #dcf8c6;
  border-color: rgba(22, 163, 74, 0.16);
}

body[data-source="qr"] .source-fit-card {
  background: #111827;
  color: #ffffff;
}

body[data-source="qr"] .source-fit-card span,
body[data-source="qr"] .source-fit-card h2,
body[data-source="qr"] .source-fit-card p {
  color: #ffffff;
}

body[data-source="email"] .source-fit-card {
  background: #ffffff;
  border-left: 4px solid var(--source-accent);
  border-radius: 14px;
}

.benefits-block,
.info-block,
.booking-block,
.faq-block,
.terms-block,
.seller-info-block,
.contact-panel {
  margin-top: 22px;
}

.benefits-block h2,
.info-block h2,
.booking-block h2,
.faq-block h2,
.terms-block h2,
.seller-info-block h2,
.contact-panel h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.seller-info-block {
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: #f8fafc;
}

.seller-info-block p {
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.5;
}

.seller-info-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.seller-info-heading h2 {
  margin: 0;
}

.seller-verification-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 900;
}

.seller-verification-badge.is-verified {
  background: #dcfce7;
  color: #166534;
}

.seller-info-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.seller-info-list div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
}

.seller-info-list dt {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
}

.seller-info-list dd {
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 750;
  word-break: break-word;
}

.seller-responsibility {
  margin-top: 14px !important;
  font-size: 0.86rem;
}

.contact-panel[hidden] {
  display: none;
}

.contact-panel.is-open {
  display: block;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.benefits-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 12px 14px;
  border-radius: 18px;
  background: #f8fafc;
}

.section-header-inline {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}

.section-header-inline p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

.contact-rail {
  display: grid;
  gap: 10px;
}

.contact-chip {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.contact-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

body[data-source="whatsapp"] .contact-chip-whatsapp,
body[data-source="instagram"] .contact-chip-whatsapp,
body[data-source="story"] .contact-chip-whatsapp,
body[data-source="tiktok"] .contact-chip-whatsapp {
  background: #ecfdf5;
  border-color: rgba(22, 163, 74, 0.28);
}

body[data-source="email"] .contact-chip-email {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.22);
}

body[data-source="qr"] .contact-chip {
  border-color: #111827;
}

.contact-chip-email {
  border-color: rgba(37, 99, 235, 0.16);
}

.contact-chip-whatsapp {
  border-color: rgba(22, 163, 74, 0.18);
}

.contact-chip-phone {
  border-color: rgba(249, 115, 22, 0.18);
}

.contact-chip-label {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-chip-value {
  color: #0f172a;
  font-weight: 800;
  word-break: break-word;
}

.booking-block {
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.booking-slot-grid {
  display: grid;
  gap: 10px;
}

.booking-slot-button {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 18px;
  padding: 13px 14px;
  background: white;
  color: #0f172a;
  font: inherit;
  font-weight: 800;
  text-align: left;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.booking-slot-button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary-color) 40%, white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.booking-slot-button.is-active {
  border-color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 8%, white);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.booking-slot-feedback {
  margin-top: 12px;
  color: #475569;
  line-height: 1.5;
}

.lead-form-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.lead-form-card h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.lead-form-copy {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.5;
}

.lead-form-grid {
  display: grid;
  gap: 10px;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lead-form-grid input,
.lead-form-grid textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  background: white;
  color: #0f172a;
}

.lead-form-grid textarea {
  min-height: 108px;
  resize: vertical;
}

.inline-form-button {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 18px;
  padding: 14px 16px;
  background: #0f172a;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.inline-form-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22);
}

.inline-form-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

html[data-theme="dark"] .inline-form-button {
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(248, 250, 252, 0.12);
}

.public-delayed-loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  backdrop-filter: blur(4px);
}

.public-delayed-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.public-loader-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-weight: 900;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.public-loader-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.18);
  border-top-color: #0f172a;
  animation: public-spin 800ms linear infinite;
}

@keyframes public-spin {
  to {
    transform: rotate(360deg);
  }
}

html[data-theme="dark"] .public-delayed-loader {
  background: rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .public-loader-card {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

html[data-theme="dark"] .public-loader-spinner {
  border-color: rgba(248, 250, 252, 0.2);
  border-top-color: #f8fafc;
}

.checkout-feedback {
  margin-top: 18px;
  color: #b45309;
  min-height: 1.4rem;
}

.sticky-cta {
  position: fixed;
  left: max(16px, calc(50% - 250px + 16px));
  right: max(16px, calc(50% - 250px + 16px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: #ffffff;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

body[data-source="instagram"] .sticky-cta,
body[data-source="story"] .sticky-cta {
  border-color: color-mix(in srgb, var(--source-accent) 20%, white);
  box-shadow: 0 22px 60px rgba(225, 29, 72, 0.15);
}

body[data-source="whatsapp"] .sticky-cta {
  border-color: rgba(22, 163, 74, 0.18);
  background: rgba(240, 253, 244, 0.96);
}

body[data-source="qr"] .sticky-cta {
  border: 2px solid #111827;
  border-radius: 16px;
}

.sticky-price {
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
}

.sticky-copy {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.92rem;
}

.sticky-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: 0;
  min-width: 0;
}

.payment-legal-copy {
  max-width: 220px;
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.25;
}

.sticky-cta > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.sticky-price,
.sticky-copy {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cta-button {
  display: inline-flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  min-width: 172px;
  background: var(--primary-color);
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.share-button {
  display: inline-flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 106px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

body[data-source="instagram"] .cta-button {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

body[data-source="story"] .cta-button {
  background: linear-gradient(135deg, #a855f7, #f43f5e);
}

body[data-source="whatsapp"] .cta-button {
  background: #16a34a;
}

body[data-source="meta"] .cta-button {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

body[data-source="qr"] .cta-button {
  border-radius: 12px;
  background: #111827;
  box-shadow: none;
}

body[data-source="email"] .cta-button {
  background: #334155;
}

body[data-source="tiktok"] .cta-button {
  background: linear-gradient(135deg, #111827, #06b6d4);
}

.cta-button:disabled {
  opacity: 0.55;
}

.contact-button {
  cursor: pointer;
}

.brand-footer {
  margin-top: 18px;
  text-align: center;
  color: #64748b;
  font-size: 0.88rem;
}

.brand-footer a {
  color: #0f172a;
  font-weight: 900;
  text-decoration: none;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: #64748b;
  font-size: 0.9rem;
}

.legal-footer-links a {
  color: inherit;
  text-decoration: none;
}

.legal-body {
  min-height: 100vh;
}

.legal-shell {
  padding-bottom: 36px;
}

.legal-card {
  overflow: visible;
}

.legal-content h1 {
  margin-bottom: 10px;
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--primary-color);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-section {
  margin-top: 18px;
}

.legal-summary-nav {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 10px;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.legal-summary-nav a {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 850;
}

.legal-summary-nav a.is-active {
  background: #0f172a;
  color: white;
}

.legal-collapsible {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 16px;
  scroll-margin-top: 112px;
}

.legal-collapsible summary {
  cursor: pointer;
  color: #0f172a;
  font-weight: 900;
}

.legal-collapsible h2 {
  display: none;
}

html[data-theme="dark"] .legal-summary-nav {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.82);
}

html[data-theme="dark"] .legal-summary-nav a {
  background: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
}

html[data-theme="dark"] .legal-summary-nav a.is-active {
  background: #f8fafc;
  color: #0f172a;
}

html[data-theme="dark"] .legal-collapsible,
html[data-theme="dark"] .legal-collapsible summary {
  border-color: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

@media (max-width: 560px) {
  .public-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .sticky-cta {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    align-items: center;
    border-radius: 18px;
    padding: 10px;
  }

  .sticky-actions-group {
    position: static;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .payment-legal-copy {
    max-width: none;
    text-align: center;
  }

  .sticky-price {
    font-size: 0.95rem;
  }

  .sticky-copy {
    font-size: 0.78rem;
  }

  .cta-button {
    width: 100%;
    min-width: 0;
    padding: 12px 9px;
    border-radius: 14px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .channel-identity {
    right: auto;
    max-width: calc(100% - 28px);
    justify-content: flex-start;
  }

  .channel-mark {
    display: none;
  }

  .channel-mark,
  .channel-label {
    min-height: 28px;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .channel-label {
    max-width: min(48vw, 150px);
  }

  .share-button {
    width: 100%;
    min-width: 0;
    padding: 12px 9px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .offer-price-row {
    display: block;
  }

  .stock-pill {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card,
  .contact-chip,
  .cta-button {
    transition: none;
  }
}

/* Conversion polish: keep the offer, price and action visible before legal or technical details. */
.public-shell {
  max-width: 492px;
}

.hero-image,
.hero-video {
  aspect-ratio: 4 / 4.25;
  max-height: 52vh;
}

body[data-source="story"] .hero-image,
body[data-source="story"] .hero-video,
body[data-source="tiktok"] .hero-image,
body[data-source="tiktok"] .hero-video {
  aspect-ratio: 4 / 5;
  max-height: 52vh;
}

.offer-content {
  margin-top: -18px;
  padding-top: 24px;
  border-radius: 28px 28px 0 0;
}

.business-row {
  margin-bottom: 12px;
}

.business-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.offer-action-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}

.offer-action-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-card h1 {
  margin-bottom: 8px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 900;
}

.offer-description {
  margin-top: 14px;
  font-size: 1.03rem;
}

.soft-availability-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 22px;
  background: #fffbeb;
}

.soft-availability-card h2 {
  margin: 0 0 6px;
  color: #92400e;
  font-size: 1rem;
}

.soft-availability-card p {
  margin: 0;
  color: #78350f;
  line-height: 1.45;
}

.seller-info-block {
  padding: 14px;
  background: #ffffff;
}

.seller-compact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.seller-kicker {
  margin: 0 0 4px !important;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seller-compact-row h2 {
  margin: 0;
  font-size: 1.05rem;
}

.seller-compact-copy {
  margin: 10px 0 0 !important;
  color: #475569;
  font-size: 0.92rem;
}

.seller-legal-details {
  margin-top: 12px;
}

.seller-legal-details summary {
  cursor: pointer;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 850;
}

.seller-legal-details .seller-info-list {
  margin-top: 12px;
}

.sticky-cta {
  align-items: center;
  gap: 10px;
}

.sticky-copy,
.payment-legal-copy {
  display: none;
}

.cta-button {
  min-width: 142px;
  padding: 13px 17px;
  white-space: nowrap;
}

.share-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 16px;
  font-size: 1.05rem;
}

html[data-theme="dark"] .offer-action-badges span {
  background: rgba(148, 163, 184, 0.14);
  color: #dbe4f0;
}

html[data-theme="dark"] .soft-availability-card {
  background: rgba(120, 53, 15, 0.24);
  border-color: rgba(245, 158, 11, 0.28);
}

html[data-theme="dark"] .soft-availability-card h2,
html[data-theme="dark"] .soft-availability-card p,
html[data-theme="dark"] .seller-legal-details summary {
  color: #f8fafc;
}

@media (max-width: 560px) {
  .hero-image,
  .hero-video,
  body[data-source="story"] .hero-image,
  body[data-source="story"] .hero-video,
  body[data-source="tiktok"] .hero-image,
  body[data-source="tiktok"] .hero-video {
    max-height: 50vh;
  }

  .sticky-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sticky-actions-group {
    width: auto;
    grid-template-columns: 1fr auto;
  }

  .cta-button {
    width: auto;
    min-width: 128px;
  }

  .share-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
}

/* 2026-05-03 public offer redesign: one premium mobile-first offer card. */
:root {
  --ol-bg: #f8fafc;
  --ol-surface: #ffffff;
  --ol-surface-soft: #f6f8fb;
  --ol-text: #0f172a;
  --ol-muted: #64748b;
  --ol-muted-strong: #475569;
  --ol-border: rgba(15, 23, 42, 0.10);
  --ol-border-soft: rgba(15, 23, 42, 0.06);
  --ol-navy: #0b1220;
  --ol-navy-2: #111827;
  --ol-accent: #4f35d7;
  --ol-accent-soft: #ede9fe;
  --ol-success: #0f766e;
  --ol-warning: #b45309;
  --ol-radius-xl: 28px;
  --ol-radius-lg: 22px;
  --ol-radius-md: 16px;
  --ol-shadow-card: 0 24px 80px rgba(15, 23, 42, 0.10);
  --ol-shadow-soft: 0 12px 36px rgba(15, 23, 42, 0.08);
}

html,
body.public-offer-body {
  overflow-x: hidden;
}

body.public-offer-body.public-body {
  margin: 0;
  min-height: 100vh;
  color: var(--ol-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.13), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(79, 70, 229, 0.10), transparent 34%),
    linear-gradient(180deg, #fbfaf7 0%, #f8fafc 48%, #eef2f7 100%);
}

body.public-offer-body.public-body::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.public-offer-body .public-shell {
  width: min(100%, 480px);
  max-width: none;
  margin: 0 auto;
  padding: 24px 16px calc(132px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .public-offer-body .public-shell {
    width: 460px;
    padding-top: 40px;
  }
}

.public-card {
  overflow: hidden;
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
  border-radius: var(--ol-radius-xl);
  box-shadow: var(--ol-shadow-card);
}

.offer-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 28px 24px 18px;
  text-align: center;
}

.offer-logo-wrap {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ol-border-soft);
  box-shadow: var(--ol-shadow-soft);
  overflow: hidden;
}

.offer-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-logo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--ol-navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.offer-seller-name {
  color: var(--ol-text);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.offer-seller-meta {
  color: var(--ol-muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.offer-hero {
  padding: 0 18px;
}

.offer-hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02)),
    #eef2f7;
  border: 1px solid var(--ol-border-soft);
}

.offer-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.public-gallery-track {
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 180ms ease;
}

.offer-hero-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
  color: var(--ol-muted);
  font-weight: 850;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.20), transparent 28%),
    radial-gradient(circle at 75% 40%, rgba(79, 70, 229, 0.16), transparent 30%),
    linear-gradient(135deg, #f8fafc, #eef2f7);
}

.offer-source-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--ol-navy);
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}

.offer-source-badge span {
  color: var(--ol-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
}

.public-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 12px 0 0;
}

.public-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(100, 116, 139, 0.32);
}

.public-dot.active {
  width: 18px;
  background: var(--ol-navy);
}

.offer-main {
  padding: 28px 28px 22px;
  text-align: center;
}

.offer-type-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ol-accent-soft);
  color: var(--ol-accent);
  font-size: 0.70rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.offer-title {
  margin: 0;
  color: var(--ol-text);
  font-size: clamp(2.1rem, 9vw, 3.25rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.92;
}

.offer-description {
  margin: 14px auto 0;
  max-width: 340px;
  color: var(--ol-muted-strong);
  font-size: 1rem;
  line-height: 1.45;
}

.offer-price {
  margin: 24px 0 0;
  color: var(--ol-navy);
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.offer-highlights {
  display: grid;
  gap: 10px;
  max-width: 320px;
  margin: 22px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.offer-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ol-muted-strong);
  font-size: 0.95rem;
  line-height: 1.35;
}

.offer-highlights li span {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ol-accent-soft);
  color: var(--ol-accent);
  font-size: 0.78rem;
  font-weight: 950;
}

.offer-cta-wrap {
  padding: 0 28px 28px;
}

.offer-primary-cta,
.sticky-primary {
  border: 0;
  background: var(--ol-navy);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.offer-primary-cta {
  width: 100%;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 20px;
  font: inherit;
  font-size: 1.04rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.offer-primary-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.26);
}

.offer-primary-cta:active {
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.offer-primary-cta:disabled,
.sticky-primary:disabled {
  cursor: not-allowed;
  background: #cbd5e1;
  color: #64748b;
  box-shadow: none;
}

.cta-arrow {
  display: inline-flex;
  transform: translateY(1px);
}

.offer-trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--ol-muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.offer-notice {
  margin: 0 22px 22px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 750;
}

.offer-notice.warning {
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.public-top-notice {
  margin: 0 0 16px;
}

.offer-accordions {
  display: grid;
  gap: 12px;
  padding: 0 22px 28px;
}

.offer-accordion {
  border: 1px solid var(--ol-border);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.74);
  overflow: hidden;
}

.offer-accordion summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: var(--ol-text);
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.offer-accordion summary::-webkit-details-marker {
  display: none;
}

.offer-accordion summary::after {
  content: "+";
  color: var(--ol-muted);
  font-size: 1.25rem;
  font-weight: 900;
}

.offer-accordion[open] summary::after {
  content: "–";
}

.offer-accordion-content {
  padding: 0 18px 18px;
  color: var(--ol-muted-strong);
  font-size: 0.93rem;
  line-height: 1.5;
}

.offer-accordion-content p {
  margin: 0 0 10px;
}

.offer-accordion-content p:last-child {
  margin-bottom: 0;
}

.public-included-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-included-list li {
  position: relative;
  padding-left: 22px;
}

.public-included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ol-success);
  font-weight: 950;
}

.seller-info-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.seller-info-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
}

.seller-info-list dt {
  color: var(--ol-muted);
  font-weight: 800;
}

.seller-info-list dd {
  margin: 0;
  color: var(--ol-text);
  font-weight: 750;
  word-break: break-word;
}

.contact-rail {
  display: grid;
  gap: 10px;
}

.contact-chip {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--ol-border);
  background: #fff;
}

.contact-chip-label {
  color: var(--ol-muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-chip-value {
  color: var(--ol-text);
  font-weight: 850;
  word-break: break-word;
}

.booking-slot-grid,
.lead-form-grid {
  display: grid;
  gap: 10px;
}

.booking-slot-button,
.lead-form-grid input,
.lead-form-grid textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  padding: 13px 14px;
  background: white;
  color: var(--ol-text);
  font: inherit;
  font-size: 16px;
}

.lead-form-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.booking-slot-button {
  text-align: left;
  font-weight: 850;
}

.booking-slot-button.is-active {
  border-color: var(--ol-accent);
  background: var(--ol-accent-soft);
  color: var(--ol-accent);
}

.booking-slot-feedback,
.lead-form-copy {
  margin: 10px 0 0;
  color: var(--ol-muted);
  line-height: 1.5;
}

.inline-form-button {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--ol-navy);
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.checkout-feedback {
  min-height: 1.3rem;
  margin: 0 22px 22px;
  color: #b45309;
  font-weight: 750;
  text-align: center;
}

.offer-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px 16px 0;
  color: var(--ol-muted);
  font-size: 0.86rem;
}

.powered-by {
  color: var(--ol-muted);
  font-weight: 750;
  text-decoration: none;
}

.powered-by strong {
  color: var(--ol-text);
  font-weight: 950;
}

.offer-legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.offer-legal-links a {
  color: var(--ol-muted);
  text-decoration: none;
  font-weight: 750;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 50;
  width: min(calc(100% - 28px), 460px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--ol-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.22);
  transition: opacity 150ms ease, transform 150ms ease;
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

.sticky-price {
  padding-left: 8px;
  color: var(--ol-text);
  font-size: 0.95rem;
  font-weight: 950;
  white-space: nowrap;
}

.sticky-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 950;
}

.sticky-share {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--ol-border);
  background: white;
  color: var(--ol-text);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.public-delayed-loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  backdrop-filter: blur(4px);
}

.public-delayed-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.public-loader-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--ol-border);
  color: var(--ol-text);
  font-weight: 900;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.public-loader-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.18);
  border-top-color: var(--ol-text);
  animation: public-spin 800ms linear infinite;
}

.offer-primary-cta:focus-visible,
.sticky-primary:focus-visible,
.sticky-share:focus-visible,
.offer-legal-links a:focus-visible,
.offer-accordion summary:focus-visible,
.booking-slot-button:focus-visible,
.inline-form-button:focus-visible,
.contact-chip:focus-visible {
  outline: 3px solid rgba(79, 53, 215, 0.35);
  outline-offset: 3px;
}

html[data-theme="dark"] {
  --ol-bg: #050816;
  --ol-surface: #0b1220;
  --ol-surface-soft: #101827;
  --ol-text: #f8fafc;
  --ol-muted: #94a3b8;
  --ol-muted-strong: #cbd5e1;
  --ol-border: rgba(255, 255, 255, 0.12);
  --ol-border-soft: rgba(255, 255, 255, 0.08);
  --ol-navy: #f8fafc;
  --ol-navy-2: #e2e8f0;
  --ol-accent: #8b7cf6;
  --ol-accent-soft: rgba(139, 124, 246, 0.16);
  --ol-shadow-card: 0 24px 80px rgba(0, 0, 0, 0.38);
  --ol-shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] body.public-offer-body.public-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.10), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(139, 124, 246, 0.14), transparent 34%),
    linear-gradient(180deg, #050816 0%, #0b1220 100%);
}

html[data-theme="dark"] .public-card,
html[data-theme="dark"] .offer-accordion,
html[data-theme="dark"] .contact-chip,
html[data-theme="dark"] .sticky-cta,
html[data-theme="dark"] .public-loader-card {
  background: rgba(11, 18, 32, 0.92);
}

html[data-theme="dark"] .offer-logo-wrap,
html[data-theme="dark"] .booking-slot-button,
html[data-theme="dark"] .lead-form-grid input,
html[data-theme="dark"] .lead-form-grid textarea,
html[data-theme="dark"] .sticky-share {
  background: rgba(2, 6, 23, 0.52);
  color: #f8fafc;
}

html[data-theme="dark"] .offer-primary-cta,
html[data-theme="dark"] .sticky-primary,
html[data-theme="dark"] .inline-form-button {
  background: #ffffff;
  color: #0b1220;
}

html[data-theme="dark"] .offer-notice.warning {
  color: #fed7aa;
  background: rgba(120, 53, 15, 0.24);
  border-color: rgba(245, 158, 11, 0.28);
}

html[data-theme="dark"] .offer-primary-cta:disabled,
html[data-theme="dark"] .sticky-primary:disabled {
  background: #334155;
  color: #94a3b8;
}

@media (max-width: 380px) {
  .public-offer-body .public-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .offer-brand {
    padding-top: 22px;
  }

  .offer-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .offer-title {
    font-size: 2.15rem;
  }

  .offer-price {
    font-size: 2.45rem;
  }

  .sticky-cta {
    grid-template-columns: 1fr 1.5fr auto;
    width: calc(100% - 18px);
  }

  .sticky-price {
    padding-left: 4px;
    font-size: 0.86rem;
  }

  .sticky-primary {
    font-size: 0.88rem;
  }
}

/* Public offer v2: smartphone-style premium sales card. */
:root {
  --public-bg: #f7f3ec;
  --public-bg-2: #f8fafc;
  --public-card: #fffdf8;
  --public-card-soft: #f8f5ef;
  --public-text: #0f172a;
  --public-muted: #64748b;
  --public-border: rgba(15, 23, 42, 0.1);
  --public-primary: #0f172a;
  --public-accent: #f59e0b;
  --public-success: #0f766e;
  --public-danger: #b45309;
  --public-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
  --public-radius-xl: 36px;
  --public-radius-lg: 28px;
  --public-radius-md: 20px;
}

body.public-offer-body {
  min-height: 100vh;
  margin: 0;
  color: var(--public-text);
  background:
    radial-gradient(circle at 18% 8%, rgba(245, 158, 11, 0.14), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--public-bg-2) 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.public-offer-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body.public-offer-body[data-source="instagram"],
body.public-offer-body[data-source="story"] {
  --public-accent: #e11d48;
  background:
    radial-gradient(circle at 16% 8%, rgba(225, 29, 72, 0.16), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(249, 115, 22, 0.14), transparent 24%),
    linear-gradient(180deg, #fff7ed 0%, var(--public-bg-2) 100%);
}

body.public-offer-body[data-source="whatsapp"] {
  --public-accent: #16a34a;
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 197, 94, 0.16), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.1), transparent 24%),
    linear-gradient(180deg, #f0fdf4 0%, var(--public-bg-2) 100%);
}

body.public-offer-body[data-source="meta"] {
  --public-accent: #2563eb;
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.14), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(6, 182, 212, 0.12), transparent 24%),
    linear-gradient(180deg, #eff6ff 0%, var(--public-bg-2) 100%);
}

body.public-offer-body[data-source="qr"] {
  --public-accent: #111827;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf0 0%, var(--public-bg-2) 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

body.public-offer-body[data-source="email"] {
  --public-accent: #334155;
  background:
    radial-gradient(circle at 50% 8%, rgba(37, 99, 235, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body.public-offer-body[data-source="tiktok"] {
  --public-accent: #06b6d4;
  background:
    radial-gradient(circle at 18% 8%, rgba(6, 182, 212, 0.14), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(244, 63, 94, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

html[data-theme="dark"] body.public-offer-body {
  --public-bg: #070a12;
  --public-bg-2: #0f172a;
  --public-card: #111827;
  --public-card-soft: #172033;
  --public-text: #f8fafc;
  --public-muted: #a6b0c2;
  --public-border: rgba(255, 255, 255, 0.12);
  --public-primary: #f8fafc;
  background:
    radial-gradient(circle at 18% 8%, rgba(245, 158, 11, 0.12), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(94, 234, 212, 0.08), transparent 24%),
    linear-gradient(180deg, #05070d 0%, #0f172a 100%);
}

.public-offer-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 28px 16px 170px;
}

.public-offer-card {
  overflow: hidden;
  border-radius: var(--public-radius-xl);
  background: var(--public-card);
  border: 1px solid var(--public-border);
  box-shadow: var(--public-shadow);
}

.public-offer-hero {
  position: relative;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 245, 239, 0.7));
}

html[data-theme="dark"] .public-offer-hero {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.72));
}

.public-offer-badges {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.public-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.52);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  backdrop-filter: blur(16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-pill.light {
  background: rgba(255, 255, 255, 0.72);
  color: var(--public-text);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .public-pill.light {
  background: rgba(15, 23, 42, 0.66);
  border-color: rgba(255, 255, 255, 0.14);
}

.public-business {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 52px 0 14px;
  text-align: center;
}

.public-business-logo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  background: white;
  border: 1px solid var(--public-border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.public-business-logo-fallback {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #92400e;
  font-weight: 900;
}

.public-business-name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.public-business-meta {
  max-width: 320px;
  margin: -4px 0 0;
  color: var(--public-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.public-offer-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: 300px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(15, 118, 110, 0.08)),
    #f1f5f9;
}

.public-gallery-track {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 260ms ease;
  will-change: transform;
}

.public-offer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.public-gallery-image {
  flex: 0 0 100%;
  min-width: 100%;
}

.public-offer-image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(15, 23, 42, 0.55);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-offer-content {
  padding: 22px 24px 28px;
  text-align: center;
}

.public-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 0 0 18px;
}

.public-dot {
  border: 0;
  padding: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
  cursor: pointer;
}

.public-dot.active {
  width: 18px;
  background: var(--public-text);
}

html[data-theme="dark"] .public-dot {
  background: rgba(248, 250, 252, 0.24);
}

.public-offer-title {
  margin: 0;
  color: var(--public-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 8vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.public-offer-description {
  max-width: 340px;
  margin: 14px auto 0;
  color: var(--public-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.public-quick-facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 22px 0 0;
  color: #475569;
}

.public-quick-fact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 650;
}

.public-quick-fact-icon {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  color: var(--public-muted);
}

html[data-theme="dark"] .public-quick-facts {
  color: #cbd5e1;
}

.public-price {
  margin: 26px 0 0;
  color: var(--public-text);
  font-size: clamp(2.05rem, 8vw, 2.85rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.public-primary-cta {
  width: 100%;
  margin-top: 18px;
  min-height: 62px;
  border: none;
  border-radius: 24px;
  background: #0f172a;
  color: white;
  font: inherit;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.public-primary-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.25);
}

.public-primary-cta:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

html[data-theme="dark"] .public-primary-cta {
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(248, 250, 252, 0.12);
}

.public-trust-line {
  margin-top: 12px;
  color: var(--public-muted);
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.public-trust-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
}

.public-section-stack {
  display: grid;
  gap: 12px;
  padding: 0 24px 24px;
}

.public-info-card {
  text-align: left;
  border-radius: 24px;
  border: 1px solid var(--public-border);
  background: rgba(248, 250, 252, 0.72);
  padding: 16px;
}

html[data-theme="dark"] .public-info-card {
  background: rgba(15, 23, 42, 0.62);
}

.public-info-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--public-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.public-info-card summary::-webkit-details-marker {
  display: none;
}

.public-info-card summary::after {
  content: "+";
  color: var(--public-muted);
  font-weight: 900;
}

.public-info-card[open] summary::after {
  content: "-";
}

.public-info-card-content {
  margin-top: 12px;
  color: #475569;
  line-height: 1.55;
  font-size: 0.95rem;
}

.public-info-card-content p {
  margin: 0 0 10px;
}

.public-info-card-content p:last-child {
  margin-bottom: 0;
}

html[data-theme="dark"] .public-info-card-content {
  color: #cbd5e1;
}

.public-included-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.public-included-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.public-included-list li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--public-success);
  font-weight: 900;
}

.public-seller-compact {
  display: grid;
  gap: 10px;
}

.public-seller-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 10px;
}

.public-seller-row:first-child {
  border-top: none;
  padding-top: 0;
}

.public-seller-label {
  color: var(--public-muted);
  font-weight: 750;
}

.public-seller-value {
  text-align: right;
  font-weight: 750;
  word-break: break-word;
}

html[data-theme="dark"] .public-seller-label {
  color: #a6b0c2;
}

html[data-theme="dark"] .public-seller-value {
  color: #f8fafc;
}

.public-notice {
  margin: 0 24px 24px;
  text-align: left;
  border-radius: 22px;
  padding: 10px 14px;
  background: #fff8ed;
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #7c2d12;
  line-height: 1.45;
  font-size: 0.92rem;
  font-weight: 700;
}

.public-inline-contact {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  margin: 0 24px 16px;
  border-radius: 18px;
  border: 1px solid var(--public-border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--public-text);
  font-weight: 850;
  text-decoration: none;
}

html[data-theme="dark"] .public-inline-contact {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

html[data-theme="dark"] .public-notice {
  background: rgba(120, 53, 15, 0.24);
  border-color: rgba(245, 158, 11, 0.22);
  color: #fed7aa;
}

.public-top-notice {
  margin: 0 0 14px;
}

.public-footer {
  padding: 20px 24px 30px;
  margin-bottom: 120px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--public-muted);
  font-size: 0.86rem;
}

.public-footer a,
.public-powered a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.public-powered {
  margin: 18px auto 0;
  text-align: center;
  color: var(--public-muted);
  font-size: 0.88rem;
}

.public-powered a {
  color: var(--public-text);
  font-weight: 900;
}

.public-sticky-bar {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 430px);
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, opacity 180ms ease;
}

.public-sticky-bar.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}

html[data-theme="dark"] .public-sticky-bar {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
}

.public-sticky-price {
  padding-left: 8px;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--public-text);
  white-space: nowrap;
}

.public-sticky-action {
  min-height: 48px;
  border: none;
  border-radius: 18px;
  background: #0f172a;
  color: white;
  font: inherit;
  font-weight: 900;
  padding: 0 22px;
  cursor: pointer;
  white-space: nowrap;
}

html[data-theme="dark"] .public-sticky-action {
  background: #f8fafc;
  color: #0f172a;
}

.public-sticky-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.public-share-button {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: white;
  color: var(--public-text);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

html[data-theme="dark"] .public-share-button {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.public-offer-body .contact-panel {
  margin-top: 0;
}

.public-offer-body .contact-rail {
  margin-top: 12px;
}

.public-offer-body .lead-form-card,
.public-offer-body .booking-block {
  margin-top: 0;
}

.public-offer-body .checkout-feedback {
  margin: 0 24px 18px;
  min-height: 0;
  text-align: center;
}

@media (max-width: 520px) {
  .public-offer-shell {
    width: 100%;
    padding: 0 0 170px;
  }

  .public-offer-card {
    border-radius: 0 0 34px 34px;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .public-offer-hero {
    padding: 10px;
  }

  .public-offer-badges {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .public-business {
    margin-top: 52px;
  }

  .public-business-meta {
    max-width: 260px;
    letter-spacing: 0.14em;
  }

  .public-offer-image-wrap {
    border-radius: 26px;
    aspect-ratio: 4 / 3.45;
  }

  .public-offer-content {
    padding: 22px 20px 26px;
  }

  .public-section-stack {
    padding: 0 20px 22px;
  }

  .public-notice {
    margin: 0 20px 22px;
  }

  .public-sticky-bar {
    bottom: 12px;
    width: min(calc(100% - 20px), 430px);
    grid-template-columns: auto 1fr auto;
  }

  .public-sticky-price {
    font-size: 0.95rem;
  }

  .public-sticky-action {
    padding: 0 18px;
  }
}

@media (max-width: 380px) {
  .public-sticky-bar {
    grid-template-columns: 1fr auto;
  }

  .public-sticky-price {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-primary-cta,
  .public-sticky-action,
  .public-gallery-track {
    transition: none;
  }
}

/* 2026-04-28 public mobile-first hardening. */
html,
body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
}

@media (max-width: 768px) {
  input,
  textarea,
  select,
  button {
    font-size: 16px;
  }

  .legal-page-shell,
  .public-legal-shell {
    width: 100%;
    padding: 18px 16px 64px;
  }

  .legal-page-card,
  .public-legal-card,
  .legal-content-card {
    border-radius: 24px;
    padding: 20px;
  }
}

@media (max-width: 520px) {
  body.public-offer-body {
    background: #f8f5ef;
  }

  .public-offer-shell {
    width: 100%;
    padding: 0 0 180px;
  }

  .public-offer-card {
    width: 100%;
    border-radius: 0 0 34px 34px;
  }

  .public-offer-image-wrap {
    aspect-ratio: 4 / 3;
    max-height: 310px;
  }

  .public-offer-title {
    font-size: clamp(1.95rem, 9.5vw, 2.65rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
  }

  .public-price {
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .public-primary-cta {
    min-height: 60px;
    border-radius: 22px;
  }

  .public-section-stack {
    padding: 0 16px 24px;
  }

  .public-info-card {
    border-radius: 22px;
    padding: 16px;
  }

  .public-footer {
    margin-bottom: 96px;
    padding-bottom: 40px;
  }

  .public-sticky-bar {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    transform: none;
    width: auto;
    grid-template-columns: auto 1fr auto;
    border-radius: 24px;
  }

  .public-sticky-action {
    min-height: 48px;
    padding: 0 18px;
    white-space: nowrap;
  }

  .public-share-button {
    width: 48px;
    height: 48px;
  }
}

/* Public offer v3 final overrides: keep the new Jinja offer card isolated from legacy public-offer CSS. */
body.public-offer-body.public-body {
  min-height: 100vh;
  margin: 0;
  color: var(--ol-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.13), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(79, 70, 229, 0.10), transparent 34%),
    linear-gradient(180deg, #fbfaf7 0%, #f8fafc 48%, #eef2f7 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.public-offer-body.public-body::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.public-offer-body .public-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-width: none;
  margin: 0 auto;
  padding: 24px 16px calc(132px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.public-offer-body .public-card {
  overflow: hidden;
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
  border-radius: var(--ol-radius-xl);
  box-shadow: var(--ol-shadow-card);
}

.public-offer-body .offer-hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02)),
    #eef2f7;
  border: 1px solid var(--ol-border-soft);
}

.public-offer-body .public-gallery-track {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 180ms ease;
  will-change: transform;
}

.public-offer-body .public-gallery-image {
  flex: 0 0 100%;
  min-width: 100%;
}

.public-offer-body .offer-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.public-offer-body .public-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 12px 0 0;
}

.public-offer-body .public-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(100, 116, 139, 0.32);
  cursor: pointer;
}

.public-offer-body .public-dot.active {
  width: 18px;
  background: var(--ol-navy);
}

.public-offer-body .public-included-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-offer-body .public-included-list li {
  position: relative;
  display: block;
  padding-left: 22px;
}

.public-offer-body .public-included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ol-success);
  font-weight: 950;
}

.public-offer-body .contact-chip {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--ol-border);
  background: #fff;
  color: var(--ol-text);
  text-decoration: none;
}

.public-offer-body .contact-chip-label {
  color: var(--ol-muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-offer-body .contact-chip-value {
  color: var(--ol-text);
  font-weight: 850;
  word-break: break-word;
}

.public-offer-body .checkout-feedback {
  min-height: 1.3rem;
  margin: 0 22px 22px;
  color: #b45309;
  font-weight: 750;
  text-align: center;
}

.public-offer-body .sticky-cta {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 50;
  width: min(calc(100% - 28px), 460px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--ol-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.22);
  transition: opacity 150ms ease, transform 150ms ease;
}

.public-offer-body .sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

.public-offer-body .sticky-price {
  padding-left: 8px;
  color: var(--ol-text);
  font-size: 0.95rem;
  font-weight: 950;
  white-space: nowrap;
}

.public-offer-body .sticky-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  background: var(--ol-navy);
  color: #fff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.public-offer-body .sticky-share {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--ol-border);
  background: white;
  color: var(--ol-text);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.public-offer-body .public-delayed-loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  backdrop-filter: blur(4px);
}

.public-offer-body .public-delayed-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.public-offer-body .public-loader-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--ol-border);
  color: var(--ol-text);
  font-weight: 900;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.public-offer-body .public-loader-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.18);
  border-top-color: var(--ol-text);
  animation: public-spin 800ms linear infinite;
}

.public-offer-body .stripe-wordmark {
  width: auto;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.public-offer-body .offer-trust-line .stripe-wordmark {
  height: 17px;
}

html[data-theme="dark"] body.public-offer-body.public-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.10), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(139, 124, 246, 0.14), transparent 34%),
    linear-gradient(180deg, #050816 0%, #0b1220 100%);
}

html[data-theme="dark"] .public-offer-body .public-card,
html[data-theme="dark"] .public-offer-body .offer-accordion,
html[data-theme="dark"] .public-offer-body .contact-chip,
html[data-theme="dark"] .public-offer-body .sticky-cta,
html[data-theme="dark"] .public-offer-body .public-loader-card {
  background: rgba(11, 18, 32, 0.92);
}

html[data-theme="dark"] .public-offer-body .offer-logo-wrap,
html[data-theme="dark"] .public-offer-body .booking-slot-button,
html[data-theme="dark"] .public-offer-body .lead-form-grid input,
html[data-theme="dark"] .public-offer-body .lead-form-grid textarea,
html[data-theme="dark"] .public-offer-body .sticky-share {
  background: rgba(2, 6, 23, 0.52);
  color: #f8fafc;
}

html[data-theme="dark"] .public-offer-body .offer-primary-cta,
html[data-theme="dark"] .public-offer-body .sticky-primary,
html[data-theme="dark"] .public-offer-body .inline-form-button {
  background: #ffffff;
  color: #0b1220;
}

@media (min-width: 768px) {
  .public-offer-body .public-shell {
    width: 460px;
    padding-top: 40px;
  }
}

@media (max-width: 380px) {
  .public-offer-body .public-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .public-offer-body .offer-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .public-offer-body .offer-title {
    font-size: 2.15rem;
  }

  .public-offer-body .offer-price {
    font-size: 2.45rem;
  }

  .public-offer-body .sticky-cta {
    grid-template-columns: 1fr 1.5fr auto;
    width: calc(100% - 18px);
  }

  .public-offer-body .sticky-price {
    padding-left: 4px;
    font-size: 0.86rem;
  }

  .public-offer-body .sticky-primary {
    font-size: 0.88rem;
  }
}
