:root {
  --sgcas-ink: #172234;
  --sgcas-muted: #5e6877;
  --sgcas-purple: #6c4bd6;
  --sgcas-purple-dark: #4d31ae;
  --sgcas-gold: #e5ac39;
  --sgcas-line: #ded9ee;
  --sgcas-soft: #f7f4ff;
  --sgcas-success: #176b3a;
}

/* V2 0.3.26: user-triggered, accessible Beat-the-Clock checkout bonus. */
.sgcas-v2__bonus { margin-top: 22px; border: 1px solid rgba(245, 178, 55, .55); border-radius: 18px; padding: 18px; background: linear-gradient(135deg, #fff8dc, #fff 62%, #f2edff); box-shadow: 0 18px 44px rgba(69, 48, 126, .1); text-align: center; }
.sgcas-v2 .sgcas-v2__bonus-trigger, .sgcas-v2 .sgcas-v2__bonus-claim { width: 100%; min-height: 58px; border: 0; border-radius: 14px; padding: 14px 20px; background: linear-gradient(135deg, #5d38b1, #7c4be2 55%, #4b2a98); color: #fff; box-shadow: 0 12px 28px rgba(91, 56, 177, .28); font-weight: 900; letter-spacing: .01em; cursor: pointer; }
.sgcas-v2__bonus-trigger { animation: sgcas-v2-bonus-pulse 2.2s ease-in-out infinite; }
.sgcas-v2__bonus-trigger span[aria-hidden] { margin-right: 5px; font-size: 19px; }
.sgcas-v2__bonus-panel { text-align: left; }
.sgcas-v2__bonus-kicker { margin: 0 0 5px; color: #865f00; font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.sgcas-v2__bonus-panel h3 { margin: 0 0 8px; color: var(--sgcas-purple-dark); font-size: clamp(21px, 4vw, 28px); }
.sgcas-v2__bonus-panel > p:not(.sgcas-v2__bonus-kicker):not(.sgcas-v2__bonus-clock) { color: var(--sgcas-muted); line-height: 1.55; }
.sgcas-v2__bonus-clock { display: inline-flex; align-items: baseline; margin: 8px 0 14px; border-radius: 999px; padding: 8px 13px; background: #211747; color: #fff; gap: 7px; }
.sgcas-v2__bonus-clock strong { min-width: 48px; font-variant-numeric: tabular-nums; font-size: 20px; }
.sgcas-v2__bonus-status { margin: 10px 0 0; color: var(--sgcas-muted); font-size: 13px; }
.sgcas-v2__bonus-savings { color: #2f7d45; font-weight: 850; }
.sgcas-v2__bonus.is-celebrating { animation: sgcas-v2-bonus-celebrate .8s ease-out 1; }
@keyframes sgcas-v2-bonus-pulse { 0%, 100% { box-shadow: 0 12px 28px rgba(91, 56, 177, .28); transform: translateY(0); } 50% { box-shadow: 0 16px 36px rgba(91, 56, 177, .42); transform: translateY(-2px); } }
@keyframes sgcas-v2-bonus-celebrate { 0% { transform: scale(1); } 38% { transform: scale(1.018); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .sgcas-v2__bonus-trigger, .sgcas-v2__bonus.is-celebrating { animation: none; } }

.sgcas-v2,
.sgcas-v2 * { box-sizing: border-box; }
.sgcas-v2 [hidden] { display: none !important; }

.sgcas-v2 {
  max-width: 980px;
  margin: 32px auto;
  color: var(--sgcas-ink);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sgcas-v2__preview {
  margin-bottom: 14px;
  padding: 9px 14px;
  border: 1px solid #d8b869;
  border-radius: 9px;
  background: #fff8df;
  text-align: center;
  font-weight: 700;
  color: #654c13;
}

.sgcas-v2__header,
.sgcas-v2__form {
  border: 1px solid var(--sgcas-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(41, 29, 78, .09);
}

.sgcas-v2__header { padding: 34px clamp(22px, 5vw, 54px); text-align: center; }
.sgcas-v2__header h1 { margin: 4px 0 8px; font-size: clamp(30px, 5vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.sgcas-v2__header > p:last-of-type { max-width: 680px; margin: 0 auto; color: var(--sgcas-muted); }
.sgcas-v2__header > p.sgcas-v2__guarantee { max-width: 760px; margin: 18px auto 0; border: 1px solid rgba(116, 83, 181, .2); border-radius: 999px; padding: 11px 18px; background: #f4f0ff; color: var(--sgcas-purple-dark); font-size: 14px; line-height: 1.45; }
.sgcas-v2__eyebrow { margin: 0; color: var(--sgcas-purple); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }

.sgcas-v2 button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--sgcas-purple);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.sgcas-v2 button:hover { background: var(--sgcas-purple-dark); }
.sgcas-v2 button:focus-visible,
.sgcas-v2 input:focus-visible,
.sgcas-v2 select:focus-visible,
.sgcas-v2 textarea:focus-visible { outline: 3px solid rgba(108, 75, 214, .25); outline-offset: 2px; }
.sgcas-v2 button:disabled { cursor: wait; opacity: .6; }
.sgcas-v2__save-toggle { margin-top: 20px; background: #fff !important; color: var(--sgcas-purple) !important; border: 1px solid var(--sgcas-purple) !important; }
.sgcas-v2__save-panel { max-width: 540px; margin: 16px auto 0; padding: 18px; border-radius: 14px; background: var(--sgcas-soft); text-align: left; }
.sgcas-v2__save-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; margin-top: 12px; color: var(--sgcas-muted); font-size: 14px; line-height: 1.45; column-gap: 9px; }
.sgcas-v2__save-consent input { width: 18px; height: 18px; margin: 2px 0 0; }
.sgcas-v2__save-consent a { color: var(--sgcas-purple-dark); font-weight: 700; }
.sgcas-v2__save-panel button { margin-top: 10px; width: 100%; }
.sgcas-v2__save-panel p { overflow-wrap: anywhere; }

.sgcas-v2__progress { height: 7px; margin: 18px 22px; border-radius: 99px; background: #ebe8f4; overflow: hidden; }
.sgcas-v2__progress span { display: block; height: 100%; width: 16.67%; background: linear-gradient(90deg, var(--sgcas-purple), var(--sgcas-gold)); transition: width .25s ease; }

.sgcas-v2__form { padding: clamp(22px, 5vw, 54px); }
.sgcas-v2__step-label { margin: 0 0 4px; color: var(--sgcas-purple); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.sgcas-v2__step h2 { margin: 0 0 24px; font-size: clamp(26px, 4vw, 36px); line-height: 1.18; }
.sgcas-v2__choice-intro { max-width: 760px; margin: -12px 0 24px; color: var(--sgcas-muted); font-size: 17px; }
.sgcas-v2__step h3 { margin: 24px 0 12px; }
.sgcas-v2__grid { display: grid; gap: 18px; }
.sgcas-v2__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sgcas-v2__conditional-field { grid-column: 1 / -1; max-width: 620px; }

.sgcas-v2 label,
.sgcas-v2 legend { display: block; font-weight: 760; }
.sgcas-v2 input[type="text"],
.sgcas-v2 input[type="email"],
.sgcas-v2 input[type="tel"],
.sgcas-v2 input:not([type]),
.sgcas-v2 select,
.sgcas-v2 textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cfc9dc;
  border-radius: 10px;
  padding: 12px 13px;
  background: #fff;
  color: var(--sgcas-ink);
  font: inherit;
  font-weight: 500;
}
.sgcas-v2 textarea { resize: vertical; }
.sgcas-v2__character-count { display: block; margin-top: 5px; color: var(--sgcas-muted); font-size: 13px; font-weight: 650; text-align: right; }
.sgcas-v2__character-count.is-low { color: #8a4b13; }
.sgcas-v2__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sgcas-v2 fieldset { margin: 22px 0; border: 0; padding: 0; }
.sgcas-v2__checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.sgcas-v2__checks label { padding: 9px 12px; border: 1px solid var(--sgcas-line); border-radius: 9px; font-weight: 600; }

.sgcas-v2__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sgcas-v2__card { position: relative; display: flex !important; flex-direction: column; gap: 9px; padding: 22px; border: 2px solid var(--sgcas-line); border-radius: 16px; cursor: pointer; }
.sgcas-v2__card--experience { min-height: 100%; }
.sgcas-v2__card--signature { background: linear-gradient(145deg, #fbfaff 0%, #f2f6ff 100%); }
.sgcas-v2__card:has(input:checked) { border-color: var(--sgcas-purple); background: var(--sgcas-soft); box-shadow: 0 0 0 3px rgba(108, 75, 214, .11); }
.sgcas-v2__card input { position: absolute; right: 18px; top: 18px; }
.sgcas-v2__card-title { padding-right: 30px; font-size: 21px; font-weight: 850; }
.sgcas-v2__card ul { margin: 2px 0 0 20px; padding: 0; color: var(--sgcas-muted); font-weight: 500; }
.sgcas-v2__badge { align-self: flex-start; display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #ece9ff; color: var(--sgcas-purple-dark); font-size: 12px; font-weight: 850; letter-spacing: .02em; }
.sgcas-v2__card--signature .sgcas-v2__badge,
.sgcas-v2__card--extended .sgcas-v2__badge { background: linear-gradient(90deg, #5f4bd8, #5276e7); color: #fff; }
.sgcas-v2__experience-price { margin-top: auto; padding-top: 6px; color: var(--sgcas-purple-dark); font-size: 18px; }
.sgcas-v2__card-help { color: var(--sgcas-muted); font-size: 13px; font-weight: 650; }
.sgcas-v2__price { font-size: 19px; }
.sgcas-v2__price del { color: var(--sgcas-muted); }
.sgcas-v2__price small { display: block; color: var(--sgcas-success); font-size: 13px; }
.sgcas-v2__wedding-note,
.sgcas-v2__terms,
.sgcas-v2__business-route,
.sgcas-v2__addon-note { padding: 14px 16px; border-left: 4px solid var(--sgcas-gold); border-radius: 8px; background: #fff8e8; }

.sgcas-v2__delivery-date { display: flex; flex-direction: column; gap: 3px; margin-top: 15px; padding: 16px 18px; border-radius: 12px; background: var(--sgcas-soft); }
.sgcas-v2__delivery-choice { margin-top: 24px; }
.sgcas-v2__delivery-date strong { font-size: 18px; }
.sgcas-v2__delivery-date span { color: var(--sgcas-muted); }

.sgcas-v2__addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.sgcas-v2__addons label { display: flex; align-items: center; gap: 9px; padding: 13px; border: 1px solid var(--sgcas-line); border-radius: 11px; }
.sgcas-v2__addons label > .sgcas-v2__addon-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.sgcas-v2__addon-title { font-weight: 800; }
.sgcas-v2__addon-copy small { color: var(--sgcas-muted); font-size: 13px; font-weight: 500; line-height: 1.4; }
.sgcas-v2__show-all { margin: -8px 0 18px; background: #eeeaf8 !important; color: var(--sgcas-purple-dark) !important; }
.sgcas-v2__physical-selector { margin: 18px 0 24px; padding: 20px; border: 1px solid #d9def6; border-radius: 16px; background: linear-gradient(135deg, #f8f7ff, #eff5ff); }
.sgcas-v2__physical-selector h3 { margin: 3px 0 4px; }
.sgcas-v2__physical-selector p { margin: 0; color: var(--sgcas-muted); }
.sgcas-v2__keepsake-kicker { color: var(--sgcas-purple-dark); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.sgcas-v2__physical-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.sgcas-v2__physical-card { position: relative; display: grid !important; grid-template-columns: 70px 1fr; align-items: center; gap: 11px; overflow: hidden; padding: 10px; border: 2px solid #e0e3f3; border-radius: 13px; background: #fff; cursor: pointer; }
.sgcas-v2__physical-card:has(input:checked) { border-color: var(--sgcas-purple); box-shadow: 0 0 0 3px rgba(108,75,214,.1); }
.sgcas-v2__physical-card input { position: absolute; top: 9px; right: 9px; }
.sgcas-v2__physical-card img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; }
.sgcas-v2__physical-card span { display: flex; flex-direction: column; padding-right: 14px; }
.sgcas-v2__physical-card strong { line-height: 1.25; }
.sgcas-v2__physical-card b { margin-top: 3px; color: var(--sgcas-purple-dark); }
.sgcas-v2__physical-card small { margin-top: 4px; color: var(--sgcas-muted); line-height: 1.3; }
.sgcas-v2__physical-learn { display: inline-block; margin-top: 14px; color: var(--sgcas-purple-dark); font-weight: 800; }
.sgcas-v2__agree { margin-top: 18px; padding: 14px; background: #faf9fd; border-radius: 10px; }
.sgcas-v2__guarantee-card { display: grid; margin-top: 22px; border: 1px solid rgba(116, 83, 181, .24); border-radius: 16px; padding: 20px; background: linear-gradient(135deg, #f0ebff, #fff); gap: 6px; }
.sgcas-v2__guarantee-card strong { color: var(--sgcas-purple-dark); font-size: 18px; }
.sgcas-v2__guarantee-card span { color: var(--sgcas-muted); font-size: 14px; line-height: 1.55; }
.sgcas-v2__policy { margin-top: 20px; border: 1px solid var(--sgcas-line); border-radius: 14px; background: #fff; }
.sgcas-v2__policy summary { padding: 16px 18px; color: var(--sgcas-purple-dark); font-weight: 850; cursor: pointer; }
.sgcas-v2__policy-body { padding: 0 18px 18px; }
.sgcas-v2__policy-body section { padding: 14px 0; border-top: 1px solid var(--sgcas-line); }
.sgcas-v2__policy-body h4 { margin: 0 0 6px; font-size: 16px; }
.sgcas-v2__policy-body p { margin: 0; color: var(--sgcas-muted); font-size: 14px; line-height: 1.6; }

.sgcas-v2__summary { margin-top: 24px; padding: 22px; border-radius: 16px; background: #f6f4fb; }
.sgcas-v2__summary h3 { margin-top: 0; }
.sgcas-v2__summary dl { margin: 0; }
.sgcas-v2__summary dl div,
.sgcas-v2__summary li,
.sgcas-v2__totals p { display: flex; justify-content: space-between; gap: 18px; }
.sgcas-v2__summary dt { color: var(--sgcas-muted); }
.sgcas-v2__summary dd { margin: 0; text-align: right; font-weight: 750; }
.sgcas-v2__summary ul { list-style: none; margin: 0; padding: 0; }
.sgcas-v2__totals { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--sgcas-line); }
.sgcas-v2__savings { color: var(--sgcas-success); }
.sgcas-v2__total { margin-bottom: 0; padding-top: 10px; border-top: 1px solid var(--sgcas-line); font-size: 21px; }
.sgcas-v2__checkout { width: 100%; margin-top: 16px; padding: 16px !important; font-size: 18px !important; }
.sgcas-v2__checkout-status { margin-top: 10px; color: #a23b2d; font-weight: 700; }

.sgcas-v2__validation { min-height: 24px; margin-top: 18px; color: #a23b2d; font-weight: 750; }
.sgcas-v2__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.sgcas-v2__nav [data-sgcas-back] { background: #eeeaf8; color: var(--sgcas-purple-dark); }
.sgcas-v2__nav [data-sgcas-next] { margin-left: auto; }

@media (max-width: 680px) {
  .sgcas-v2 { margin: 12px; }
  .sgcas-v2__grid--2,
  .sgcas-v2__cards,
  .sgcas-v2__addons { grid-template-columns: 1fr; }
	.sgcas-v2__physical-grid { grid-template-columns: 1fr; }
  .sgcas-v2__header,
  .sgcas-v2__form { border-radius: 16px; }
  .sgcas-v2__summary dl div { flex-direction: column; gap: 0; margin-bottom: 10px; }
  .sgcas-v2__summary dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .sgcas-v2 * { scroll-behavior: auto !important; transition: none !important; }
}
