.og-wizard {
  --og-ink: #33241f;
  --og-muted: #887770;
  --og-soft: #fbf5f1;
  --og-blush: #f4ddd4;
  --og-accent: #d65b36;
  --og-line: rgba(67, 43, 34, .12);
  --og-shadow: 0 28px 80px rgba(82, 49, 37, .14);
  --og-card-shadow: 0 24px 68px rgba(63, 40, 31, .2);
  color: var(--og-ink);
  background: linear-gradient(180deg, #fffaf7 0, #fff 360px);
  padding: 72px 0 96px;
}
.og-wizard *, .og-wizard *::before, .og-wizard *::after { box-sizing: border-box; }
.og-hero { text-align: center; max-width: 920px; margin-bottom: 56px; }
.og-kicker, .og-panel-step {
  margin: 0 0 12px;
  color: var(--og-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.og-hero h1 {
  margin: 0;
  color: var(--og-ink);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
.og-lead {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--og-muted);
  font-size: 18px;
  line-height: 1.6;
}
.og-shell {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  padding-inline: clamp(28px, 3vw, 48px) !important;
}
.og-steps { position: relative; }
.og-progress { display: none; height: 3px; overflow: hidden; border-radius: 9px; background: var(--og-line); }
.og-progress span { display: block; width: 16.666%; height: 100%; background: var(--og-accent); transition: width .3s ease; }
.og-steps ol { position: sticky; top: 24px; list-style: none; margin: 0; padding: 0; }
.og-steps li { margin: 0; }
.og-steps button {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  width: 100%;
  padding: 12px 0;
  border: 0;
  color: var(--og-muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color .2s ease, opacity .2s ease;
}
.og-steps button:disabled { cursor: default; opacity: .45; }
.og-steps button span { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.og-steps button b { font-size: 13px; font-weight: 500; }
.og-steps button.is-active, .og-steps button.is-done { color: var(--og-ink); opacity: 1; }
.og-steps button.is-active b { font-weight: 700; }
.og-stage { display: grid; grid-template-columns: minmax(360px, 1.05fr) minmax(340px, .95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.og-preview { position: sticky; top: 24px; min-width: 0; perspective: 1200px; }
.og-preview-heading { display: flex; justify-content: flex-end; align-items: baseline; margin-bottom: 14px; }
.og-preview-heading small, .og-preview-note { color: var(--og-muted); font-size: 12px; }
.og-preview-note { margin: 16px auto 0; text-align: center; }
.og-card {
  --og-rotate-x: 0deg;
  --og-rotate-y: 0deg;
  --og-scale: 1;
  --og-tint: transparent;
  --og-sheen-x: 50%;
  --og-sheen-y: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.58;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 28px;
  background: linear-gradient(145deg, #f8d5c4, #efb59a);
  box-shadow: var(--og-card-shadow);
  isolation: isolate;
  transform: rotateX(var(--og-rotate-x)) rotateY(var(--og-rotate-y)) scale(var(--og-scale));
  transform-style: preserve-3d;
  transition: background .25s ease, box-shadow .35s ease, transform .18s ease-out;
}
.og-card::before, .og-card::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
}
.og-card::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 246, .5) 0%, rgba(255, 250, 246, .12) 48%, transparent 70%),
    linear-gradient(0deg, rgba(36, 24, 20, .16) 0%, transparent 30%);
}
.og-card::after { border: 1px solid rgba(255, 255, 255, .56); border-radius: inherit; }
.og-card.is-dark::before {
  background:
    linear-gradient(90deg, rgba(25, 23, 21, .52) 0%, rgba(25, 23, 21, .12) 52%, transparent 74%),
    linear-gradient(0deg, rgba(16, 14, 13, .34) 0%, transparent 34%);
}
.og-card-brand { position: absolute; z-index: 4; top: 7%; left: 7%; font-size: 15px; font-weight: 800; letter-spacing: .16em; }
.og-card-brand span { margin-left: 4px; font-weight: 400; }
.og-card-art { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.og-card-tint { position: absolute; z-index: 1; inset: 0; background: var(--og-tint); mix-blend-mode: color; opacity: .48; pointer-events: none; }
.og-card-sheen {
  position: absolute;
  z-index: 5;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--og-sheen-x) var(--og-sheen-y), rgba(255, 255, 255, .34), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.og-card.is-dark { color: #fff; }
.og-card.is-dark .og-card-footer { border-top-color: rgba(255, 255, 255, .34); }
.og-card-product {
  position: absolute;
  z-index: 4;
  right: 7%;
  bottom: 18%;
  left: 7%;
  max-width: 86%;
  overflow-wrap: anywhere;
  font-size: clamp(16px, 2.2vw, 25px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.12;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .42);
}
.og-card.is-dark .og-card-product { text-shadow: 0 1px 14px rgba(0, 0, 0, .4); }
.og-card-product[hidden] { display: none; }
.og-card-footer {
  position: absolute;
  z-index: 4;
  right: 7%;
  bottom: 6%;
  left: 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(51, 36, 31, .16);
  font-size: 9px;
  letter-spacing: .09em;
}
.og-card-footer strong { padding: 3px 8px; border-radius: 999px; background: rgba(255, 250, 246, .72); box-shadow: 0 2px 12px rgba(51, 36, 31, .08); font-size: 15px; letter-spacing: normal; }
.og-card.is-dark .og-card-footer strong { background: rgba(24, 22, 20, .58); box-shadow: none; }
.og-felicitation {
  margin-top: 18px;
  padding: 24px 28px 20px;
  border-block: 1px solid var(--og-line);
  background: rgba(255, 255, 255, .72);
  text-align: center;
}
.og-felicitation-kicker { display: block; margin-bottom: 18px; color: var(--og-muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.og-felicitation-to { font-size: clamp(21px, 2vw, 28px); font-weight: 700; line-height: 1.2; }
.og-felicitation-text { margin: 14px auto 0; max-width: 38em; min-height: 3.2em; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.og-felicitation-from { margin-top: 16px; font-size: 14px; font-weight: 600; }
.og-felicitation-to:empty::before, .og-felicitation-text:empty::before, .og-felicitation-from:empty::before { color: var(--og-muted); content: attr(data-placeholder); font-weight: 400; opacity: .58; }
.og-felicitation-number { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--og-line); color: var(--og-muted); font-size: 11px; letter-spacing: .04em; }
.og-panel { min-width: 0; padding: clamp(24px, 3vw, 42px); border: 1px solid var(--og-line); border-radius: 28px; background: rgba(255, 255, 255, .88); box-shadow: 0 18px 60px rgba(67, 43, 34, .07); backdrop-filter: blur(12px); }
.og-panel section { display: none; }
.og-panel section.is-active { display: block; animation: og-fade .24s ease; }
.og-panel h2 { margin: 0; color: var(--og-ink); font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; outline: none; }
.og-panel-intro { margin: 14px 0 28px; color: var(--og-muted); line-height: 1.55; }
.og-field-title, .og-panel label > span, .og-picker-caption { display: block; margin: 0 0 9px; color: var(--og-muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.og-field-title { margin-top: 24px; }
.og-designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-height: 390px; padding: 2px; overflow: auto; }
.og-designs button, .og-nominals button {
  appearance: none;
  border: 1px solid var(--og-line);
  border-radius: 16px;
  color: var(--og-ink);
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.og-designs button { min-width: 0; padding: 6px; text-align: center; }
.og-designs button:hover, .og-nominals button:hover { border-color: rgba(214, 91, 54, .5); transform: translateY(-1px); }
.og-designs button:focus-visible, .og-nominals button:focus-visible, .og-toggle button:focus-visible, .og-colors button:focus-visible { outline: 3px solid rgba(214, 91, 54, .22); outline-offset: 2px; }
.og-designs button img { width: 100%; height: auto; aspect-ratio: 1.6; border-radius: 11px; object-fit: cover; background: var(--og-soft); }
.og-designs button small { display: block; min-height: 30px; margin-top: 7px; overflow: hidden; font-size: 11px; line-height: 1.3; }
.og-designs button.is-active, .og-nominals button.is-active { border-color: var(--og-accent); box-shadow: inset 0 0 0 1px var(--og-accent), 0 8px 20px rgba(214, 91, 54, .12); }
.og-colors { display: flex; flex-wrap: wrap; gap: 11px; }
.og-colors button { width: 32px; height: 32px; padding: 0; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--og-line); cursor: pointer; }
.og-colors button.is-active { box-shadow: 0 0 0 2px var(--og-ink); }
.og-nominals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.og-nominals button { padding: 15px 12px; font-size: 17px; font-weight: 700; }
.og-panel label { position: relative; display: block; margin: 0 0 22px; }
.og-panel input, .og-panel textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--og-line);
  border-radius: 0;
  color: var(--og-ink);
  background: transparent;
  box-shadow: none;
  padding: 8px 0 12px;
  font: inherit;
  font-size: 17px;
  transition: border-color .18s ease;
}
.og-panel textarea { min-height: 110px; resize: vertical; }
.og-panel input:focus, .og-panel textarea:focus { border-color: var(--og-accent); outline: 0; }
.og-counter { position: absolute; right: 0; bottom: 8px; color: var(--og-muted); font-size: 11px; }
.og-toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; padding: 5px; border-radius: 15px; background: var(--og-soft); }
.og-toggle button { min-height: 44px; border: 0; border-radius: 11px; color: var(--og-muted); background: transparent; cursor: pointer; font-weight: 600; }
.og-toggle button.is-active { color: var(--og-ink); background: #fff; box-shadow: 0 4px 16px rgba(67, 43, 34, .08); }
.og-schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.og-schedule .og-hint { grid-column: 1 / -1; }
.og-picker-field { position: relative; min-width: 0; margin-bottom: 22px; }
.og-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 51px;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--og-line);
  color: var(--og-ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  text-align: left;
}
.og-picker-trigger:focus-visible { border-color: var(--og-accent); outline: 3px solid rgba(214, 91, 54, .18); outline-offset: 3px; }
.og-picker-field.is-custom > input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.og-calendar, .og-time-slots {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(326px, calc(100vw - 48px));
  padding: 14px;
  border: 1px solid var(--og-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(67, 43, 34, .18);
}
.og-calendar[hidden], .og-time-slots[hidden] { display: none; }
.og-calendar-head { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; margin-bottom: 10px; }
.og-calendar-head strong { font-size: 14px; font-weight: 700; text-align: center; text-transform: capitalize; }
.og-calendar-head button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: var(--og-ink); background: var(--og-soft); cursor: pointer; font-size: 22px; }
.og-calendar-week, .og-calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.og-calendar-week { margin-bottom: 5px; color: var(--og-muted); font-size: 10px; text-align: center; }
.og-calendar-days button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; color: var(--og-ink); background: transparent; cursor: pointer; font-size: 12px; }
.og-calendar-days button:hover { background: var(--og-soft); }
.og-calendar-days button.is-selected { color: #fff; background: var(--og-ink); }
.og-calendar-days button:disabled { color: rgba(136, 119, 112, .38); cursor: default; }
.og-calendar-days span { aspect-ratio: 1; }
.og-time-slots { right: 0; left: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 252px; overflow-y: auto; }
.og-time-slots button { min-height: 38px; padding: 0 6px; border: 1px solid var(--og-line); border-radius: 10px; color: var(--og-ink); background: #fff; cursor: pointer; font-size: 12px; }
.og-time-slots button:hover { border-color: rgba(214, 91, 54, .5); }
.og-time-slots button.is-selected { color: #fff; border-color: var(--og-ink); background: var(--og-ink); }
.og-hint { color: var(--og-muted); font-size: 13px; line-height: 1.5; }
.og-summary { display: grid; gap: 0; margin: 24px 0; }
.og-summary > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--og-line); }
.og-summary dt { color: var(--og-muted); font-size: 12px; text-transform: uppercase; }
.og-summary dd { margin: 0; overflow-wrap: anywhere; font-size: 15px; text-align: right; }
.og-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.og-actions .uk-button { min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-transform: none; }
.og-actions [data-role=back] { margin-right: auto; }
.og-actions [data-role=next] { min-width: 150px; color: #fff; border-color: var(--og-ink); background: var(--og-ink); }
.og-actions [data-role=next]:hover { background: #563c32; }
.og-actions [data-role=next]:disabled { opacity: .55; }
.og-error { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; color: #9f2f25; background: #fff0ed; font-size: 13px; }
.og-faq {
  max-width: 920px;
  margin: 72px auto 0;
}
.og-faq h2 {
  margin: 0 0 28px;
  color: var(--og-ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.og-faq-list { display: grid; gap: 10px; }
.og-faq details {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(82, 49, 37, .06);
  border: 1px solid var(--og-line);
}
.og-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  color: var(--og-ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}
.og-faq summary::-webkit-details-marker { display: none; }
.og-faq summary::after {
  content: '+';
  float: right;
  margin-left: 16px;
  color: var(--og-accent);
  font-weight: 400;
}
.og-faq details[open] summary::after { content: '–'; }
.og-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--og-muted);
  font-size: 16px;
  line-height: 1.6;
}
.og-public { max-width: 920px; margin: 40px auto; text-align: center; }
.og-public-number { margin: -8px 0 24px; color: var(--og-muted); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.og-public-card { width: 100%; border-radius: 28px; box-shadow: var(--og-shadow); }
@keyframes og-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .og-card { will-change: transform; }
  .og-card.is-hovered {
    --og-scale: 1.018;
    box-shadow: 0 34px 88px rgba(63, 40, 31, .28);
    transition-duration: .12s;
  }
  .og-card.is-hovered .og-card-sheen { opacity: .72; }
}
@media (max-width: 1100px) {
  .og-shell { grid-template-columns: 1fr; }
  .og-steps { display: grid; gap: 14px; }
  .og-progress { display: block; }
  .og-steps ol { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(30px, 1fr)); }
  .og-steps button { display: flex; justify-content: center; padding: 4px; text-align: center; }
  .og-steps button b { display: none; }
}
@media (max-width: 860px) {
  .og-wizard { padding-top: 48px; }
  .og-hero { margin-bottom: 36px; }
  .og-stage { grid-template-columns: 1fr; }
  .og-panel { order: 1; padding: 28px; }
  .og-panel section > h2 { scroll-margin-top: 88px; }
  .og-preview { position: static; order: 2; }
}
@media (max-width: 560px) {
  .og-wizard { padding: 36px 0 64px; }
  .og-hero { text-align: left; }
  .og-hero h1 { font-size: 42px; }
  .og-lead { margin-top: 18px; font-size: 16px; }
  .og-shell { gap: 24px; }
  .og-shell { padding-inline: 18px !important; }
  .og-preview-heading { display: none; }
  .og-card { border-radius: 20px; }
  .og-card-brand { font-size: 11px; }
  .og-card-product { bottom: 20%; font-size: clamp(13px, 4.2vw, 19px); }
  .og-card-footer { font-size: 7px; }
  .og-card-footer strong { font-size: 12px; }
  .og-felicitation { padding: 20px 18px 16px; }
  .og-felicitation-text { font-size: 13px; }
  .og-panel { padding: 24px 18px; border-radius: 22px; }
  .og-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 430px; }
  .og-designs button img { height: auto; }
  .og-schedule { grid-template-columns: 1fr; gap: 0; }
  .og-summary > div { grid-template-columns: 1fr; gap: 4px; }
  .og-summary dd { text-align: left; }
  .og-actions { position: sticky; z-index: 3; bottom: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 30px rgba(67, 43, 34, .12); backdrop-filter: blur(10px); }
  .og-actions .uk-button { min-width: 0; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .og-wizard *, .og-wizard *::before, .og-wizard *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
