/* Online Arrangements Nav Ã¢â‚¬â€ matches reference design */

.online_arrangements_nav {
  --oan-radius: 999px;
  --oan-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  padding: 28px 0;
  z-index: 20;
}

.oan-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(50, 122, 229, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 30%, rgba(179, 50, 123, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #f7f5fa 0%, #f3f6f8 100%);
  pointer-events: none;
}

.online_arrangements_nav .container {
  position: relative;
}

/* White pill bar */
.oan-steps-list {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 10px 16px;
  list-style: none;
  background: #fff;
  border-radius: var(--oan-radius);
  box-shadow:
    0 4px 24px rgba(10, 7, 8, 0.06),
    0 12px 48px rgba(10, 7, 8, 0.04);
}

/* Step item */
.oan-step-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.oan-step-item .btn_bg {
  display: block;
  position: relative;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  border-radius: 99px;
  transition: background 0.35s var(--oan-ease);
  background: rgba(var(--step-rgb), 0.04);
  border: 1px solid rgba(var(--step-rgb), 0.1);
  /* border-left: 4px solid rgba(var(--step-rgb),0.5); */
  /* border-right: 4px solid rgba(var(--step-rgb),0.5); */
  border-bottom: 4px solid rgba(var(--step-rgb), 0.7);
}

.oan-step-item:hover .btn_bg,
.oan-step-item.is-open .btn_bg {
  background: rgba(var(--step-rgb), 0.1);
  border-color: rgba(var(--step-rgb), 1);
}

.oan-step-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Icon circles */
.oan-icon {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
}

.oan-icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(var(--step-rgb), 0.12);
  transition: transform 0.4s var(--oan-ease), box-shadow 0.4s ease;
}

.oan-icon-core {
  position: absolute;
  inset: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--step-color);
  box-shadow: 0 4px 16px rgba(var(--step-rgb), 0.35);
  transition: transform 0.4s var(--oan-ease), box-shadow 0.4s ease;
}

.oan-icon-core svg {
  width: 22px;
  height: 22px;
}

.oan-step-item:hover .oan-icon-glow,
.oan-step-item.is-open .oan-icon-glow {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(var(--step-rgb), 0.08);
}

.oan-step-item:hover .oan-icon-core,
.oan-step-item.is-open .oan-icon-core {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(var(--step-rgb), 0.45);
}

/* Text */
.oan-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.stepcc {
  display: block;
  font-family: var(--body-font, "Jost", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--step-color) !important;
  line-height: 1.2;
}

.oan-title {
  display: block;
  font-family: var(--body-font, "Jost", sans-serif);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.25;
  color: #1a2b4a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Colored bottom bar per step */
.oan-bottom-bar {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--step-color);
  opacity: 0.85;
  transition: height 0.3s var(--oan-ease), opacity 0.3s ease;
  border-radius: 99px;
  display: none;
}

.oan-step-item:hover .oan-bottom-bar,
.oan-step-item.is-open .oan-bottom-bar {
  height: 4px;
  opacity: 1;
}

/* Dashed connectors */
.oan-connector {
  display: flex;
  align-items: center;
  flex: 0 0 56px;
  padding-bottom: 0;
  list-style: none;
}

.oan-connector span {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  border-top: 2px dashed #d4d8e0;
}

.oan-connector span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #c8ccd6;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.oan-connector:nth-of-type(2) span::after {
  border-color: rgba(50, 122, 229, 0.45);
}

.oan-connector:nth-of-type(4) span::after {
  border-color: rgba(179, 50, 123, 0.45);
}

/* Hover dropdown Ã¢â‚¬â€ nav_vital_box */
.nav_vital_box {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 30;
  min-width: 300px;
  max-width: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(var(--step-rgb), 0.12);
  box-shadow:
    0 16px 48px rgba(10, 7, 8, 0.12),
    0 0 0 1px rgba(10, 7, 8, 0.03);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px);
  transition:
    opacity 0.35s var(--oan-ease),
    transform 0.35s var(--oan-ease),
    visibility 0.35s;
  pointer-events: none;
}

.nav_vital_box::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(var(--step-rgb), 0.12);
  border-top: 1px solid rgba(var(--step-rgb), 0.12);
  transform: translateX(-50%) rotate(45deg);
}

.oan-step-item:hover .nav_vital_box,
.oan-step-item.is-open .nav_vital_box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav_vital_box>li {
  padding: 24px 16px;
  text-align: center;
}

.nav_vital_box .imgbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(var(--step-rgb), 0.1);
}

.nav_vital_box .imgbox.color_blue {
  color: var(--step-color);
}

.nav_vital_box .post-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav_vital_box .post-thumbnail svg {
  width: 34px;
  height: 34px;
}

.nav_vital_box h3 {
  margin: 0 0 5px;
  font-family: var(--title-font, "Playfair Display", serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1a2b4a;
}

.nav_vital_box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-color, #505050);
}

/* Responsive */
@media (max-width: 991px) {
  .oan-steps-list {
    flex-direction: column;
    border-radius: 24px;
    padding: 16px 20px 0;
  }

  .oan-connector {
    display: none;
  }

  .oan-step-item .btn_bg {
    padding: 14px 12px 18px;
  }

  .oan-title {
    white-space: normal;
  }

  .nav_vital_box {
    position: static;
    transform: none !important;
    max-width: none;
    margin-top: 0;
    border-radius: 0 0 16px 16px;
    border: none;
    border-top: 1px solid rgba(var(--step-rgb), 0.1);
    box-shadow: none;
  }

  .nav_vital_box::before {
    display: none;
  }

  .oan-step-item:not(.is-open) .nav_vital_box {
    display: none;
  }

  .oan-step-item.is-open .nav_vital_box {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 575px) {
  .online_arrangements_nav {
    padding: 16px 0 40px;
  }

  .oan-icon {
    width: 48px;
    height: 48px;
  }

  .oan-icon-core {
    inset: 7px;
  }

  .oan-icon-core svg {
    width: 18px;
    height: 18px;
  }

  .oan-step-content {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .nav_vital_box,
  .oan-icon-glow,
  .oan-icon-core,
  .oan-bottom-bar,
  .btn_bg {
    transition: none;
  }
}

/* ============================================================ */
/* ======================== Step 1 CSS ======================== */
/* ============================================================ */


/* Step 1 Ã¢â‚¬â€ Vital Statistics Full Page Form */

.vs-step-page {
  --vs-maroon: #8b2e34;
  --vs-maroon-dark: #74262b;
  --vs-navy: #1a2b48;
  --vs-text: #4a5568;
  --vs-muted: #6b7280;
  --vs-border: #e2e8f0;
  --vs-bg: #f4f6f9;
  --vs-card: #ffffff;
  --vs-radius: 12px;
  --vs-input-h: 46px;
  --vs-font: "Jost", sans-serif;
  margin: 0;
  font-family: var(--vs-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--vs-text);
  background: var(--vs-bg);
}

.vs-step-page *,
.vs-step-page *::before,
.vs-step-page *::after {
  box-sizing: border-box;
}

ul.slidess.s2-merch-list {
  list-style: none;
  padding: 0;
}

/* Top toolbar */
.vs-form-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--vs-bg);
  border-bottom: 1px solid var(--vs-border);
}

.vs-form-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1205px;
  margin: 0 auto;
  padding: 10px 16px;
}

.vs-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--vs-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--vs-navy);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vs-toolbar-btn svg {
  width: 18px;
  height: 18px;
}

.vs-toolbar-btn:hover {
  color: var(--vs-maroon);
}

.vs-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0;
}

.vs-toolbar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--vs-navy);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 0;
  background: transparent;
}

.vs-toolbar-icon-btn svg {
  width: 20px;
  height: 20px;
}

.vs-toolbar-icon-btn:hover {
  color: var(--vs-maroon);
  border-color: rgba(139, 46, 52, 0.35);
  background: rgba(139, 46, 52, 0.04);
}

@media print {

  .vs-form-toolbar,
  .kin-popup-overlay,
  .sig-modal {
    display: none !important;
  }
}

/* Page hero header */
.vs-form-hero {
  text-align: center;
  padding: 20px 20px 28px;
  background: var(--vs-bg);
}

.vs-form-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--vs-maroon);
  border-radius: 50%;
}

.vs-form-hero__icon svg {
  width: 22px;
  height: 22px;
}

.vs-form-hero__company {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vs-maroon);
}

.vs-form-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--vs-navy);
}

.vs-form-hero__note {
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
}

.vs-form-hero__note u {
  text-decoration: underline;
  font-weight: 600;
}

/* Form wrapper */
.vs-form-wrap {
  max-width: 1205px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

/* Cards */
.vs-form-card {
  margin-bottom: 24px;
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(26, 43, 72, 0.04);
  overflow: hidden;
}

.vs-form-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid #f0f2f6;
}

.vs-form-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--vs-maroon);
  background: rgba(139, 46, 52, 0.1);
  border-radius: 50%;
}

.vs-form-card__icon svg {
  width: 20px;
  height: 20px;
}

.vs-form-card__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--vs-maroon);
}

.vs-form-card__body {
  padding: 22px 24px 26px;
}

/* Grid */
.vs-form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px 20px;
}

.vs-field {
  grid-column: span 12;
  min-width: 0;
}

.vs-field--6 {
  grid-column: span 6;
}

.vs-field--4 {
  grid-column: span 4;
}

.vs-field--8 {
  grid-column: span 8;
}

.vs-field--3 {
  grid-column: span 3;
}

@media (max-width: 768px) {

  .vs-field--6,
  .vs-field--4,
  .vs-field--8,
  .vs-field--3 {
    grid-column: span 12;
  }
}

/* Labels & inputs */
.vs-label {
  display: block;
  margin-bottom: 7px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--vs-navy);
}

.vs-label small,
.vs-label .vs-hint {
  /* display: block; */
  color: #000;
  font-weight: bold;
  font-size: 17px;
}

.vs-input,
.vs-step-page input[type="text"],
.vs-step-page input[type="tel"],
.vs-step-page input[type="number"],
.vs-step-page input[type="email"] {
  display: block;
  width: 100%;
  height: var(--vs-input-h);
  padding: 0 14px;
  font-family: var(--vs-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--vs-navy);
  letter-spacing: 0.5px;
  background: #fff;
  border: 1px solid var(--vs-border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vs-input::placeholder,
.vs-step-page input::placeholder,
.vs-step-page input[type="text"]::placeholder,
.vs-step-page input[type="tel"]::placeholder,
.vs-step-page input[type="number"]::placeholder,
.vs-step-page input[type="email"]::placeholder {
  color: #ccc;
  font-weight: 100;
  font-size: 16px;
}

.vs-input:focus,
.vs-step-page input:focus {
  border-color: rgba(139, 46, 52, 0.45);
  box-shadow: none;
  outline: none;
}

.vs-input-wrap {
  position: relative;
}

.vs-input-wrap .vs-input {
  padding-right: 42px;
}

.vs-input-wrap__icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: flex;
  color: #9ca3af;
  pointer-events: none;
}

/* The calendar icon is an interactive button for date fields. */
.vs-input-wrap__icon.vs-date-picker-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.vs-input-wrap__icon svg {
  width: 18px;
  height: 18px;
}

.vs-input-wrap--left .vs-input {
  padding-left: 42px;
  padding-right: 14px;
}

.vs-input-wrap--left .vs-input-wrap__icon {
  /* right: auto; */
  /* left: 14px; */
}

/* Radio group */
.vs-radio-group {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--vs-input-h);
}

.vs-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--vs-navy);
}

.vs-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.vs-radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #c5cad6;
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s ease;
}

.vs-radio-mark::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 3px auto 0;
  border-radius: 50%;
  background: var(--vs-maroon);
  transform: scale(0);
  transition: transform 0.2s ease;
}

.vs-radio input:checked+.vs-radio-mark {
  border-color: var(--vs-maroon);
}

.vs-radio input:checked+.vs-radio-mark::after {
  transform: scale(1);
}

/* Notice */
.vs-notice {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #dc2626;
}

.vs-notice--info {
  margin-top: 10px;
  font-weight: 500;
  color: var(--vs-navy);
}

/* Certification */
.vs-cert-text {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--vs-navy);
}

.vs-signature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  .vs-signature-grid {
    grid-template-columns: 1fr;
  }
}

.vs-draw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--vs-font);
  font-size: 18px;
  font-weight: 100;
  color: #000000;
  background: #fafafa;
  border: 1.5px solid #cccccc;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  font-style: italic;
}

.vs-draw-btn:hover {
  background: rgba(139, 46, 52, 0.05);
}

button.vs-draw-btn,
button.custom-draw {
  appearance: none;
  -webkit-appearance: none;
}

.vs-draw-btn svg {
  width: 16px;
  height: 16px;
}

.vs-signature-preview {
  position: relative;
  min-height: 120px;
  background: #fff;
  border: 1px solid var(--vs-border);
  border-radius: 0;
  overflow: hidden;
}

.vs-signature-preview .blah {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  z-index: 2;
}

.vs-signature-preview.has-signature .blah {
  display: block;
}

.vs-signature-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  padding: 16px;
  color: #b8c0cc;
}

.vs-signature-placeholder svg {
  width: 56px;
  height: 28px;
  opacity: 0.5;
}

.vs-signature-placeholder span {
  font-size: 12px;
}

.vs-signature-preview.has-signature .vs-signature-placeholder {
  display: none;
}

.vs-form-card .sign_box {
  font-style: normal;
}

.vs-form-card .sign_box p {
  margin: 0;
}

.vs-form-card .file-upload,
.vs-form-card .file-draw {
  display: none;
}

/* Submit bar */
.vs-form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: var(--vs-card);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  box-shadow: 0 2px 12px rgba(26, 43, 72, 0.04);
}

.vs-submit-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #dc2626;
}

.vs-submit-note__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  background: var(--vs-maroon);
  border-radius: 50%;
}

.vs-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 28px;
  font-family: var(--vs-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--vs-maroon);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vs-submit-btn:hover {
  background: var(--vs-maroon-dark);
}

.vs-submit-btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .vs-form-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .vs-submit-btn {
    justify-content: center;
  }
}

/* Hide legacy layout */
.vs-step-page .one_column {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vs-step-page #site_header .main_header,
.vs-step-page #content .full_width .container {
  max-width: none;
  padding: 0;
}

.vs-step-page #content .full_width {
  background: transparent;
}


/* if inline input fiele */
.inline-form {
  padding: 0;
}

.inline-form .vs-field {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.vs-field.aligin-items-center {
  align-items: center !important;
}

.inline-form .vs-field label {
  white-space: nowrap;
  margin-bottom: 0;
}

.inline-form .vs-field input {
  border: 0;
  border-bottom: 1px solid #000;
  padding: 0;
  background: transparent;
}

/* ======================= */
/* Step 1 popup start */
/* ======================= */
/* Step 1 Ã¢â‚¬â€ Kin Authority Popup */

.kin-popup-overlay {
  --kin-purple: #6c5ce7;
  --kin-purple-dark: #5a4bd4;
  --kin-blue: #4a7dff;
  --kin-navy: #1a2b4a;
  --kin-text: #5a6478;
  --kin-border: #e4e8ef;
  --kin-lavender: #f6f7ff;
  --kin-mint: #f0faf6;
  --kin-radius: 16px;
  --kin-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--kin-ease), visibility 0.4s;
}

.kin-popup-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.kin-popup-open {
  overflow: hidden;
}

.kin-popup-card {
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--kin-radius);
  box-shadow:
    0 24px 80px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  animation: kinPopupIn 0.45s var(--kin-ease);
}

@keyframes kinPopupIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Form sections */
.kin-form-section {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid #f0f2f6;
}

.kin-form-section--lavender {
  background: var(--kin-lavender);
}

.kin-form-section--mint {
  background: var(--kin-mint);
}

.kin-section-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.kin-section-icon svg {
  width: 22px;
  height: 22px;
}

.kin-section-icon--purple {
  color: var(--kin-purple);
  background: rgba(108, 92, 231, 0.12);
}

.kin-section-icon--blue {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
}

.kin-section-icon--green {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
}

.kin-section-content {
  flex: 1;
  min-width: 0;
}

.kin-question {
  margin: 0 0 14px;
  font-family: var(--body-font, "Jost", sans-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--kin-navy);
}

/* Custom radios */
.kin-radio-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.kin-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--kin-navy);
  user-select: none;
}

.kin-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.kin-radio-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid #c5cad6;
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.kin-radio-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kin-purple);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s var(--kin-ease);
}

.kin-radio input:checked+.kin-radio-mark {
  border-color: var(--kin-purple);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

.kin-radio input:checked+.kin-radio-mark::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Text input */
.kin-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-family: var(--body-font, "Jost", sans-serif);
  font-size: 15px;
  color: var(--kin-navy);
  background: #fff;
  border: 1px solid var(--kin-border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.kin-input::placeholder {
  color: #a8b0be;
  text-transform: capitalize;
}

.kin-input:focus {
  border-color: rgba(108, 92, 231, 0.45);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

/* Consent text */
.kin-consent-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #000000;
}

/* Signature */
.kin-form-section--signature {
  align-items: center;
}

.kin-signature-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.kin-signature-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.kin-signature-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--kin-navy);
}

.kin-draw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--body-font, "Jost", sans-serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: var(--kin-purple);
  background: #fff;
  border: 1.5px solid var(--kin-purple);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.kin-draw-btn:hover {
  background: rgba(108, 92, 231, 0.06);
}

button.kin-draw-btn {
  appearance: none;
  -webkit-appearance: none;
}

.kin-draw-btn .kin-pencil-icon {
  display: inline-flex;
}

.kin-draw-btn .kin-pencil-icon svg {
  width: 16px;
  height: 16px;
}

.kin-signature-preview {
  position: relative;
  flex: 1;
  min-height: 110px;
  background: #fff;
  border: 1px solid var(--kin-border);
  border-radius: 0;
  overflow: hidden;
  width: 100%;
}

.kin-signature-preview .blah {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  z-index: 2;
}

.kin-signature-preview.has-signature .blah {
  display: block;
}

.kin-signature-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-height: 110px;
  padding: 16px;
  color: #b8c0cc;
  border-radius: 0;
}

.kin-signature-placeholder svg {
  width: 48px;
  height: 32px;
  opacity: 0.55;
}

.kin-signature-placeholder span {
  font-size: 13px;
}

.kin-signature-preview.has-signature .kin-signature-placeholder {
  display: none;
}

.sign_box em,
.sign_box {
  font-style: normal;
}

.sign_box p {
  margin: 0;
}

.sign_box .file-upload,
.sign_box .file-draw {
  display: none;
}

/* Continue button */
.kin-continue-wrap {
  padding: 0;
}

.kin-continue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  font-family: var(--body-font, "Jost", sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #5b7fff 0%, #7c5cfc 55%, #8b5cf6 100%);
  border: none;
  border-radius: 0 0 var(--kin-radius) var(--kin-radius);
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.25s var(--kin-ease);
}

.kin-continue-btn:hover {
  filter: brightness(1.06);
}

.kin-continue-btn:active {
  transform: scale(0.99);
}

.kin-continue-btn svg {
  width: 18px;
  height: 18px;
}

/* Hide legacy list styles inside popup */
.kin-popup-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kin-popup-card .middle-container,
.kin-popup-card .middle-text,
.kin-popup-card .pop_text {
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .kin-form-section {
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px;
  }

  .kin-signature-row {
    flex-direction: column;
    align-items: stretch;
  }

  .kin-signature-left {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kin-popup-card {
    animation: none;
  }
}

/* ======================= */
/* Step 1 popup end */
/* ======================= */



/* ======================= */
/* Signature pad start */
/* ======================= */
/* Signature pad modal */

.sig-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.sig-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.sig-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.sig-modal__box {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 20px 20px 16px;
}

.sig-modal__close-x {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: #111;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sig-modal__close-x:hover {
  background: #333;
}

.sig-modal__canvas-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

#signatureCanvas {
  display: block;
  width: 100%;
  height: 220px;
  touch-action: none;
  cursor: crosshair;
}

.sig-modal__hint {
  margin: 10px 0 14px;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  text-align: center;
  color: #9ca3af;
}

.sig-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sig-modal__actions-left {
  display: flex;
  gap: 8px;
}

.sig-modal__btn {
  padding: 8px 18px;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  background: #f9fafb;
  border: 1px solid #9ca3af;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sig-modal__btn:hover {
  background: #f3f4f6;
}

.sig-modal__btn--save {
  min-width: 140px;
}

body.sig-modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .sig-modal__actions {
    flex-wrap: wrap;
  }

  .sig-modal__btn--save {
    width: 100%;
    margin-top: 4px;
  }
}

/* ======================= */
/* Signature pad end */
/* ======================= */

.inline-form .vs-form-card__head {
  padding: 0;
  border: 0;
  margin-bottom: 1rem;
}

.inline-form .vs-form-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.inline-form .vs-form-card__body {
  padding: 0;
}






/* ============================================================ */
/* ======================== Step 2 CSS ======================== */
/* ============================================================ */

.step2-page {
  --s2-navy: #0c3d68;
  --s2-blue: #0f7aa8;
  --s2-blue-dark: #0a5b86;
  --s2-bg: #eef5fa;
  --s2-card: #ffffff;
  --s2-border: #d6e2ed;
  --s2-text: #22384a;
  --s2-muted: #607689;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9));
  color: var(--s2-text);
}

.step2-page .about_page {
  margin: 0;
  padding: 0 0 32px;
}

.step2-page .about_page>article.container.row>h3 {
  display: none;
}

.step2-page .step2-shell>.container {
  max-width: 1240px;
  margin: 0 auto;
}

.step2-page .step2-shell h1 {
  margin: 24px 0 8px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--s2-navy);
}

.step2-page .step2-shell hr {
  width: 120px;
  margin: 0 auto 12px;
  border-top: 2px solid rgba(12, 61, 104, 0.25);
}

.step2-page .step2-alert {
  /* max-width: 840px; */
  margin: 2rem auto;
  /* padding: 14px 18px; */
  font-size: 1.95rem;
  line-height: 1.4;
  color: #9c2735;
  /* background: rgba(255, 255, 255, 0.95); */
  /* border: 1px solid #edd9dd; */
  border-radius: 14px;
  /* box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06); */
}

.step2-page .inner_page_arrangement {
  width: 100%;
}

.step2-page .modern-step2 .inner_container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
  width: 100%;
  margin: 0;
}

.step2-page .modern-step2 .panel_content {
  display: none;
  width: 100%;
  margin: 0;
  padding: 18px;
  background: var(--s2-card);
  border: 1px solid var(--s2-border);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(7, 36, 61, 0.08);
}

.step2-page .modern-step2 .panel_content.is-active {
  display: block;
}

.step2-page .modern-step2 .panel_content h3,
.step2-page .modern-step2 .panel_content h4,
.step2-page .modern-step2 .panel_content h5,
.step2-page .modern-step2 .panel_content label,
.step2-page .modern-step2 .panel_content p {
  color: var(--s2-text);
}

.step2-page .modern-step2 .seal_before {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2rem;
}

.step2-page .modern-step2 .next_btn,
.step2-page .modern-step2 #paypal_submit,
.step2-page .modern-step2 .check_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 8.5px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  text-transform: none;
  text-decoration: none;
  background: linear-gradient(180deg, var(--s2-blue), var(--s2-blue-dark));
  border: 1px solid rgba(12, 61, 104, 0.25);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15, 122, 168, 0.26);
}

.step2-page .modern-step2 .next_btn.next_btn_back {
  color: var(--s2-navy) !important;
  background: #fff;
  box-shadow: none;
}

.step2-page .modern-step2 .next_btn.next_btn_back::before {
  content: "\2190";
  margin-right: 7px;
}

.step2-page .modern-step2 .next_btn.next_btn_next::after,
.step2-page .modern-step2 #paypal_submit::after {
  content: "\2192";
  margin-left: 7px;
}

.step2-page .modern-step2 .item_appear,
.step2-page .modern-step2 .item_num_detail,
.step2-page .modern-step2 .package_selected,
.step2-page .modern-step2 .contact_form {
  border: 1px solid var(--s2-border);
  border-radius: 10px;
  background: #fff;
}

.step2-page .modern-step2 .item_appear {
  margin-bottom: 14px;
  padding: 12px 14px;
}

.step2-page .modern-step2 .item_num_detail {
  margin-bottom: 8px;
  padding: 10px 12px;
}

.step2-page .modern-step2 .item_num_detail input[type="text"],
.step2-page .modern-step2 .item_num_detail input[type="number"],
.step2-page .modern-step2 .contact_form input,
.step2-page .modern-step2 select {
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid #d5dfe9;
  border-radius: 8px;
  background: #fbfdff;
}

input#photoimg {
  padding-top: 6px;
}

.step2-page .modern-step2 .choice {
  margin: 4px;
  padding: 9px 14px;
  font-size: 1.125rem;
  color: var(--s2-text);
  background: #f6f9fc;
  border: 1px solid #d8e4ef;
  border-radius: 9px;
  outline: none;
}

.step2-page .modern-step2 .choice.active {
  color: #fff;
  background: linear-gradient(180deg, #68a34d, #5f9349);
  border-color: #5f9349;
}

.step2-page .modern-step2 .covid19 {
  margin: 10px 0 14px;
  padding: 12px 16px;
  color: #fff !important;
  background: linear-gradient(90deg, #09395f, #0e5b90);
  border-radius: 999px;
}

.step2-page .modern-step2 .step_wrapper {
  grid-column: 2;
  position: sticky;
  top: 18px;
}

.step2-page .modern-step2 .step_side {
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--s2-border);
  border-radius: 10px;
}

.step2-page .modern-step2 .step_side h3 {
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  color: #fff;
  background: transparent;
}

.step2-page .modern-step2 .step_side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step2-page .modern-step2 .step_side ul li a {
  display: block;
  padding: 10px 12px;
  font-size: 1.65rem;
  color: var(--s2-text);
  text-decoration: none;
  border-bottom: 1px solid #edf2f7;
}

.step2-page .modern-step2 .step_side ul li.is-current a {
  font-weight: 700;
  color: var(--s2-navy);
  background: #eef7ff;
}

.step2-page .modern-step2 .card_item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf2f7;
}

.step2-page .modern-step2 .total_div {
  background: #f2f8fd;
}

/* ---- Modern sidebar: checklist + cart ---- */
.step2-page .modern-step2 .s2-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step2-page .modern-step2 .s2-sidebar .step_side {
  margin-bottom: 1rem;
  border: none;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.95));
  box-shadow:
    0 10px 28px rgba(9, 57, 95, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.step2-page .modern-step2 .s2-side-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  background: linear-gradient(135deg, #0a4a72 0%, #0e7aa8 55%, #14a0bf 100%);
  position: relative;
}

.step2-page .modern-step2 .s2-side-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.22), transparent 42%),
    radial-gradient(circle at 10% 100%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.step2-page .modern-step2 .s2-side-head>* {
  position: relative;
  z-index: 1;
}

.step2-page .modern-step2 .s2-side-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #0a4a72;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  font-size: 1rem;
}

.step2-page .modern-step2 .s2-side-icon--cart {
  color: #0e6b95;
}

.step2-page .modern-step2 .s2-side-head h3 {
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: none;
  line-height: 1.2;
}

.step2-page .modern-step2 .s2-side-sub {
  margin: 3px 0 0;
  font-size: 0.9rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
}

.step2-page .modern-step2 .s2-check-list {
  padding: 10px 12px 14px !important;
  position: relative;
}

.step2-page .modern-step2 .s2-check-list::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, #c9e3f2, #e8f3fa);
  border-radius: 2px;
}

.step2-page .modern-step2 .s2-check-list li {
  margin: 0;
  position: relative;
}

.step2-page .modern-step2 .s2-check-list li+li {
  margin-top: 2px;
}

.step2-page .modern-step2 .s2-check-list li a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 11px 12px !important;
  border: 1px solid transparent;
  border-radius: 12px;
  border-bottom: 1px solid transparent !important;
  background: transparent;
  color: #4a6478 !important;
  font-size: 1.125rem !important;
  font-weight: 600;
  line-height: 1.25 !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.step2-page .modern-step2 .s2-check-list li a:hover {
  background: #f3f9fd;
  border-color: #d8ebf6;
  border-bottom-color: #d8ebf6 !important;
}

.step2-page .modern-step2 .s2-step-num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5a7f96;
  background: #e8f2f9;
  border: 2px solid #d2e5f1;
  position: relative;
  z-index: 1;
  transition: all 0.2s ease;
}

.step2-page .modern-step2 .s2-step-text {
  flex: 1 1 auto;
  min-width: 0;
}

.step2-page .modern-step2 .s2-step-mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.65rem;
  color: transparent;
  background: transparent;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.2s ease;
}

.step2-page .modern-step2 .s2-check-list li.is-current a {
  background: linear-gradient(90deg, #e8f6ff, #f4fbff) !important;
  border-color: #b8dff3 !important;
  color: #0a4a72 !important;
  box-shadow: 0 4px 14px rgba(14, 122, 168, 0.12);
}

.step2-page .modern-step2 .s2-check-list li.is-current .s2-step-num {
  color: #fff;
  background: linear-gradient(145deg, #1090c0, #0a5f8a);
  border-color: #0e7aa8;
  box-shadow: 0 4px 10px rgba(14, 122, 168, 0.35);
}

.step2-page .modern-step2 .s2-check-list li.is-done a {
  color: #2f6b4f !important;
  background: #f3fbf6;
}

.step2-page .modern-step2 .s2-check-list li.is-done .s2-step-num {
  color: transparent;
  background: linear-gradient(145deg, #2f9e6b, #1f7a52);
  border-color: #2a8f61;
  font-size: 0;
}

.step2-page .modern-step2 .s2-check-list li.is-done .s2-step-num::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  font-size: 0.7rem;
  color: #fff;
}

.step2-page .modern-step2 .s2-check-list li.is-done .s2-step-mark {
  opacity: 1;
  transform: scale(1);
  color: #1f7a52;
  background: #d8f3e5;
}

.step2-page .modern-step2 .s2-cart-body {
  padding: 8px 12px 14px;
}

.step2-page .modern-step2 .s2-cart .card_item,
.step2-page .modern-step2 .s2-cart-line {
  align-items: center;
  margin: 0;
  padding: 11px 10px;
  border: none;
  border-bottom: 1px dashed #d9e8f2;
  background: transparent;
  font-size: 0.9rem;
}

.step2-page .modern-step2 .s2-cart .card_item:last-child,
.step2-page .modern-step2 .s2-cart-total {
  border-bottom: none;
}

.step2-page .modern-step2 .s2-cart .card_item label {
  margin: 0;
  font-size: 1.125rem;
  color: #002841;
}

.step2-page .modern-step2 .s2-cart-muted label {
  font-weight: 500;
  color: #6a8496;
}

.step2-page .modern-step2 .s2-cart-muted small {
  display: block;
  font-size: 0.92rem;
  color: #000000;
  font-weight: 300;
}

.step2-page .modern-step2 .s2-cart-amt {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0a4a72;
  white-space: nowrap;
}

.step2-page .modern-step2 .s2-cart-total {
  margin-top: 6px !important;
  padding: 14px 12px !important;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a4a72, #0e7aa8) !important;
  box-shadow: 0 8px 18px rgba(10, 74, 114, 0.22);
}

.step2-page .modern-step2 .s2-cart-total label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700;
}

.step2-page .modern-step2 .s2-cart-total .s2-cart-amt {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

@media (max-width: 992px) {
  .step2-page .modern-step2 .inner_container {
    grid-template-columns: 1fr;
  }

  .step2-page .modern-step2 .step_wrapper {
    grid-column: auto;
    position: static;
  }
}

/* Step-2 exact look refinements (Step-1 panel focused) */
.step2-page {
  background:
    radial-gradient(circle at 15% 20%, rgba(49, 139, 196, 0.08), transparent 36%),
    radial-gradient(circle at 90% 15%, rgba(73, 151, 196, 0.08), transparent 40%),
    linear-gradient(180deg, #f4fbff, #eef7fd);
}

.step2-page .modern-step2 .inner_container {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.step2-page .modern-step2 .panel_content {
  grid-column: 1;
  grid-row: 1;
  border-radius: 12px;
  padding: 14px;
}

.step2-page .modern-step2 .panel_content:not(.is-active) {
  display: none !important;
}

.step2-page .modern-step2 .step_wrapper {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.step2-page .step2-alert {
  /* position: relative; */
  /* max-width: 900px; */
  /* padding: 10px 16px 10px 52px; */
  /* font-size: 1.1rem; */
  /* border-radius: 12px; */
}

.step2-page .step2-alert::before {
  /* content: "\f132"; */
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #c99f3f;
  font-size: 20px;
}

.step2-page .modern-step2 #section1>.seal_before {
  justify-content: flex-end;
}

.step2-page .modern-step2 #section1>p {
  position: relative;
  margin: 0 0 10px;
  padding-left: 74px;
  min-height: 60px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.step2-page .modern-step2 #section1>p::before {
  content: "\f879";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(160deg, #0e7fa7, #09557d);
  box-shadow: 0 8px 18px rgba(15, 122, 168, 0.25);
}

.step2-page .modern-step2 .covid19 {
  position: relative;
  padding: 13px 18px 13px 74px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.step2-page .modern-step2 .covid19::before {
  content: "\f7a2";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
}

.step2-page .modern-step2 #section1 .item_appear {
  background: #f8fbff;
  border-radius: 10px;
}

.step2-page .modern-step2 #section1 .item_appear .label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #156086;
  background: #e7f3fa;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.step2-page .modern-step2 #section1 .choice {
  border-radius: 9px;
}

.step2-page .modern-step2 #section1 .direct_cremation .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #0f84ad, #0d6b9f);
  border-radius: 9px 9px 0 0;
  padding: 10px 14px;
}

.step2-page .modern-step2 #section1 .direct_cremation .label h3,
.step2-page .modern-step2 #section1 .direct_cremation .label h4 {
  margin: 0;
  color: #fff !important;
}

.step2-page .modern-step2 #section1 .direct_cremation .detail {
  padding-top: 8px;
}

.step2-page .modern-step2 #section1>.next_btn {
  margin-left: auto;
}

.step2-page .modern-step2 .step_side h3 {
  font-size: 1.25rem;
  letter-spacing: 0;
  padding: 0;
}

.step2-page .modern-step2 .step_side ul li a {
  font-size: inherit;
  line-height: inherit;
  padding: inherit;
}

.step2-page .modern-step2 .card_item {
  font-size: 0.9rem;
}

.step2-page .modern-step2 .card_item label {
  font-size: inherit;
  margin: 0;
}

@media (max-width: 992px) {
  .step2-page .modern-step2 .panel_content {
    grid-row: auto;
  }
}

/* Keep right sidebar visible beside active step panel */
.step2-page .modern-step2 .inner_container.row {
  display: flex !important;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 16px;
}

.step2-page .modern-step2 .panel_content {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.step2-page .modern-step2 .panel_content:not(.is-active) {
  display: none !important;
}

.step2-page .modern-step2 .panel_content.is-active {
  display: block !important;
}

.step2-page .modern-step2 .step_wrapper {
  display: block !important;
  flex: 0 0 320px;
  width: 320px;
  margin-top: 0;
  position: sticky;
  top: 14px;
}

@media (max-width: 992px) {
  .step2-page .modern-step2 .inner_container.row {
    display: block !important;
  }

  .step2-page .modern-step2 .step_wrapper {
    width: 100%;
    position: static;
    margin-top: 14px;
  }
}

.step2-page .modern-step2 .step_wrapper:not(.step_wrapper_fixed) {
  display: none !important;
}

/* ---- Section 2â€“4: option rows matching section1 + mockup ---- */
.step2-page .modern-step2 .s2-section-block {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.step2-page .modern-step2 .s2-section-label {
  margin: 0 !important;
  padding: 12px 16px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(90deg, #0a4a72, #0e7aa8) !important;
  border-radius: 10px 10px 0 0;
}

.step2-page .modern-step2 .s2-section-block>.field_appear {
  padding: 12px 14px 14px;
}

.step2-page .modern-step2 .s2-block-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a4a72 !important;
}

.step2-page .modern-step2 .info_msg {
  margin: 0 0 12px;
  font-size: 1.125rem;
  color: #5a7a8f !important;
}

.step2-page .modern-step2 .error_pop {
  display: none;
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: #c0392b !important;
}

/* Red highlight on confirmation input when Next is clicked without verifying */
.step2-page .modern-step2 #vs_value.is-missing {
  border: 2px solid #c0392b !important;
  background: #fff5f5 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15) !important;
  animation: s2-shake 0.35s ease;
}

.step2-page .modern-step2 #confirmationSection.is-missing .error_pop {
  display: block !important;
}

@keyframes s2-shake {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-5px); }
  50%  { transform: translateX(5px); }
  75%  { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

.step2-page .modern-step2 .s2-option-row {
  display: grid;
  grid-template-columns: 22px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 12px 12px;
  border: 1px solid #e4eef5;
  border-radius: 12px;
  background: #fbfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.step2-page .modern-step2 .s2-option-row:hover {
  border-color: #c5dcec;
  background: #f5fafd;
}

.step2-page .modern-step2 .s2-option-row.is-active {
  border-color: #9fcce6;
  background: linear-gradient(90deg, #eef7fc, #f8fcff);
  box-shadow: 0 4px 14px rgba(14, 122, 168, 0.1);
}

.step2-page .modern-step2 .s2-option-row input[type="radio"],
.step2-page .modern-step2 .s2-option-row input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #0a4a72;
  cursor: pointer;
}

.step2-page .modern-step2 .s2-opt-check-spacer {
  width: 16px;
}

.step2-page .modern-step2 .s2-opt-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #0e7aa8;
  background: #e7f3fa;
  font-size: 1rem;
  flex-shrink: 0;
}

.step2-page .modern-step2 .s2-opt-icon--blue {
  color: #0d6b9f;
  background: #dff0fa;
}

.step2-page .modern-step2 .s2-opt-icon--teal {
  color: #0a8a7a;
  background: #e2f7f3;
}

.step2-page .modern-step2 .s2-opt-icon--navy {
  color: #0a4a72;
  background: #e4edf5;
}

.step2-page .modern-step2 .s2-opt-icon--green {
  color: #1f7a52;
  background: #e6f6ee;
}

.step2-page .modern-step2 .s2-opt-icon--gold {
  color: #a67c2a;
  background: #f8f0dc;
}

.step2-page .modern-step2 .s2-opt-body {
  min-width: 0;
}

.step2-page .modern-step2 .s2-opt-body>label {
  display: block;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #23485f !important;
  line-height: 1.35;
  cursor: pointer;
}

.step2-page .modern-step2 .s2-opt-hint {
  margin: 0 0 8px !important;
  font-size: 0.82rem !important;
  color: #6a8496 !important;
  line-height: 1.35;
}

.step2-page .modern-step2 .s2-show-detail {
  display: inline;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: #0e7aa8;
  font: inherit;
  font-size: 0.85em;
  font-style: italic;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  outline: none;
}

.step2-page .modern-step2 .showdetail {
  display: none;
  margin: 6px 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f0f7fb;
  border: 1px solid #d5e8f3;
}

.step2-page .modern-step2 .showdetail.is-open {
  display: block;
}

.step2-page .modern-step2 .showdetail p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4a6478 !important;
}

.step2-page .modern-step2 .s2-opt-price {
  margin: 8px 0 0 !important;
  padding: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0a4a72 !important;
  white-space: nowrap;
  text-align: right;
}

.step2-page .modern-step2 .s2-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.step2-page .modern-step2 .s2-inline-form input[type="text"] {
  flex: 1 1 180px;
  min-width: 160px;
}

.step2-page .modern-step2 .s2-inline-form .done {
  display: none;
  margin: 0;
  font-size: 0.85rem;
  color: #1f7a52 !important;
  font-weight: 600;
}

.step2-page .modern-step2 .s2-opt-body input[type="text"],
.step2-page .modern-step2 .s2-opt-body select {
  display: block;
  width: 100%;
  max-width: 280px;
  margin-top: 4px;
}

.step2-page .modern-step2 .s2-note-card {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8e8;
  border: 1px solid #f0dca8;
}

.step2-page .modern-step2 .s2-note-card p {
  margin: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.45;
  color: #8a5a18 !important;
}

.step2-page .modern-step2 .seal_before--bottom {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.step2-page .modern-step2 .s2-urn-card {
  text-align: center;
  padding: 16px;
  border: 1px solid #e4eef5;
  border-radius: 12px;
  background: #fbfdff;
}

.step2-page .modern-step2 .s2-urn-card img {
  max-width: fit-content;
  height: auto;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  margin-bottom: 25px;
}

.step2-page .modern-step2 .s2-checkout-summary .package_selected {
  margin-bottom: 10px;
  padding: 0;
  overflow: hidden;
}

.step2-page .modern-step2 .s2-checkout-summary .row_title {
  padding: 10px 12px;
  font-size: 1.125rem;
  font-weight: 400;
  color: #fff;
  background: linear-gradient(90deg, #0a4a72, #0e7aa8);
}

.step2-page .modern-step2 .s2-checkout-summary .row_normal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf2f7;
}

.step2-page .modern-step2 .s2-checkout-summary .row_normal h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

.step2-page .modern-step2 .s2-checkout-summary .row_normal h5:last-child {
  font-weight: 700;
}

.step2-page .modern-step2 .s2-checkout-summary .panel21_output .row_title {
  border-radius: 10px 10px 0 0;
}

.step2-page .modern-step2 .s2-checkout-summary .panel22_output,
.step2-page .modern-step2 .s2-checkout-summary .panel23_1_output,
.step2-page .modern-step2 .s2-checkout-summary .panel23_output,
.step2-page .modern-step2 .s2-checkout-summary .panel24_output,
.step2-page .modern-step2 .s2-checkout-summary .panel25_output {
  margin-top: -10px;
  border-top: 0;
}

.step2-page .modern-step2 .s2-checkout-summary .panel23_output .row_normal {
  background: #fcfeff;
}

.step2-page .modern-step2 .s2-checkout-summary .panel21_output .row_normal h5:first-child,
.step2-page .modern-step2 .s2-checkout-summary .panel22_output .row_normal h5:first-child,
.step2-page .modern-step2 .s2-checkout-summary .panel23_1_output .row_normal h5:first-child,
.step2-page .modern-step2 .s2-checkout-summary .panel23_output .row_normal h5:first-child,
.step2-page .modern-step2 .s2-checkout-summary .panel24_output .row_normal h5:first-child,
.step2-page .modern-step2 .s2-checkout-summary .panel25_output .row_normal h5:first-child {
  flex: 1 1 auto;
  color: #29465a;
}

.step2-page .modern-step2 .s2-checkout-summary .panel21_output .row_normal h5:last-child,
.step2-page .modern-step2 .s2-checkout-summary .panel22_output .row_normal h5:last-child,
.step2-page .modern-step2 .s2-checkout-summary .panel23_1_output .row_normal h5:last-child,
.step2-page .modern-step2 .s2-checkout-summary .panel23_output .row_normal h5:last-child,
.step2-page .modern-step2 .s2-checkout-summary .panel24_output .row_normal h5:last-child,
.step2-page .modern-step2 .s2-checkout-summary .panel25_output .row_normal h5:last-child {
  flex: 0 0 auto;
  min-width: 84px;
  text-align: right;
  color: #0a4a72;
  font-weight: 700;
}

.step2-page .modern-step2 .s2-summary-totals .total_output {
  background: linear-gradient(90deg, #0a4a72, #0e7aa8);
}

.step2-page .modern-step2 .s2-summary-totals .total_output h5 {
  color: #fff !important;
}

.step2-page .modern-step2 .contact_form {
  padding: 14px;
  border: none;
  background: transparent;
}

.step2-page .modern-step2 .contact_form .form_row {
  margin-bottom: 14px;
}

.step2-page .modern-step2 .contact_form .form_row>label {
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
  color: #23485f !important;
}

.step2-page .modern-step2 .s2-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.step2-page .modern-step2 .s2-input-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

.step2-page .modern-step2 .contact_form input[type="text"],
.step2-page .modern-step2 .contact_form input[type="file"] {
  width: 100%;
}

.step2-page .modern-step2 .contact_form em {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #6a8496;
}

@media (max-width: 640px) {
  .step2-page .modern-step2 .s2-option-row {
    grid-template-columns: 22px 36px minmax(0, 1fr);
  }

  .step2-page .modern-step2 .s2-opt-price {
    grid-column: 2 / -1;
    text-align: left;
    margin-top: 0 !important;
  }

  .step2-page .modern-step2 .s2-input-grid,
  .step2-page .modern-step2 .s2-input-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ */
/* Step 3 lightbox + urn creative styles */
/* ============================================================ */

body.s2-lightbox-open {
  overflow: hidden;
}

.step2-page .s2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.step2-page .s2-lightbox.is-open {
  display: flex;
}

.step2-page .s2-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.step2-page .s2-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.step2-page .s2-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgb(0 0 0);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.2s ease;
}

.step2-page .s2-lightbox__close:hover {
  background: rgb(0 0 0 / 50%);
  transform: scale(1.02);
}

.step2-page .s2-lightbox__img {
  width: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 56px 16px 16px;
  margin: 0 auto;
}

/* Urn "creative" cards */
.step2-page .modern-step2 .s2-urn-card {
  position: relative;
  text-align: center;
  padding: 16px;
}

.step2-page .modern-step2 .s2-urn-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #c8a04a, #a67c2a);
  box-shadow: 0 10px 22px rgba(166, 124, 42, 0.25);
  text-transform: uppercase;
}

.step2-page .modern-step2 .s2-urn-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 26px;
}

.step2-page .modern-step2 .s2-urn-thumb {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(9, 57, 95, 0.1);
  background: #fff;
}

.step2-page .modern-step2 .s2-view-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 122, 168, 0.25);
  color: #fff;
  background: linear-gradient(180deg, #0f7aa8, #0a5b86);
  box-shadow: 0 10px 24px rgba(15, 122, 168, 0.18);
  cursor: pointer;
}

.step2-page .modern-step2 .s2-view-large i {
  font-size: 1rem;
}

.step2-page .modern-step2 .s2-view-large span {
  font-size: 0.92rem;
  font-weight: 700;
}

.step2-page .modern-step2 .s2-urn-meta {
  margin-top: 12px;
  text-align: left;
  border-top: 1px dashed #d9e8f2;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step2-page .modern-step2 .s2-urn-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step2-page .modern-step2 .s2-urn-meta-top h5 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: #23485f;
}

.step2-page .modern-step2 .s2-urn-sub {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #6a8496;
}

.step2-page .modern-step2 .s2-urn-meta-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
}

.step2-page .modern-step2 .s2-urn-qty label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #6a8496;
  margin-bottom: 6px;
}

.step2-page .modern-step2 .s2-urn-price {
  font-weight: 900;
  color: #0a4a72;
}

/* ============================================================ */
/* Thank You page */
/* ============================================================ */
.thankyou-page {
  min-height: 100vh;
  margin: 0;
  font-family: "Jost", sans-serif;
  color: #244257;
  background:
    radial-gradient(circle at 15% 20%, rgba(60, 142, 190, 0.12), transparent 35%),
    radial-gradient(circle at 90% 15%, rgba(12, 95, 131, 0.12), transparent 38%),
    linear-gradient(180deg, #f4fbff, #edf6fc);
}

.thankyou-shell {
  padding: 46px 16px 54px;
}

.thankyou-card {
  max-width: 980px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d3e5f0;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(8, 56, 87, 0.13);
  padding: 32px 36px 30px;
}

.thankyou-head {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #dce9f1;
}

.thankyou-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  background: linear-gradient(145deg, #0f7aa8, #0a5b86);
  box-shadow: 0 10px 24px rgba(15, 122, 168, 0.28);
}

.thankyou-head h1 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #0a4a72;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.thankyou-head p {
  margin: 0;
  font-size: 1.05rem;
  color: #557387;
}

.thankyou-confirm-box {
  margin: 26px 0 18px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #c9e1f0;
  background: linear-gradient(180deg, #f2f9ff, #f8fcff);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.thankyou-confirm-box h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d4f76;
}

.thankyou-confirm-number {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #0b658f;
}

.thankyou-confirm-note {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  color: #3f6d86;
}

.thankyou-text {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.55;
  color: #2f4f63;
}

.thankyou-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.thankyou-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid #0f6d99;
  background: linear-gradient(180deg, #0f7aa8, #0a5b86);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.thankyou-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 122, 168, 0.25);
}

.thankyou-btn-secondary {
  background: #fff;
  color: #0a4a72;
  border-color: #c4dced;
}

.thankyou-btn-primary {
  background: #0a4a72;
  color: #fff;
  border-color: #0a4a72;
}

.thankyou-btn-primary:hover {
  background: #0a4a72;
  color: #fff;
  border-color: #0a4a72;
}

.thankyou-btn-secondary:hover {
  color: #0a4a72;
  box-shadow: 0 8px 16px rgba(8, 56, 87, 0.12);
}

@media (max-width: 768px) {
  .thankyou-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .thankyou-confirm-box h2 {
    font-size: 1.2rem;
  }

  .thankyou-text {
    font-size: 1.02rem;
  }
}

/* ============================================================ */
/* Step 3 paperwork page */
/* ============================================================ */
.paperwork-page {
  background:
    radial-gradient(circle at 8% 20%, rgba(15, 122, 168, 0.08), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(10, 74, 114, 0.08), transparent 38%),
    linear-gradient(180deg, #f5fbff, #eef7fd);
}

.paperwork-shell {
  padding: 34px 0 52px;
}

.paperwork-head {
  text-align: center;
  margin-bottom: 20px;
}

.paperwork-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 10px;
  background: linear-gradient(145deg, #0f7aa8, #0a5b86);
  box-shadow: 0 10px 24px rgba(10, 74, 114, 0.26);
}

.paperwork-head h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  color: #0a4a72;
}

.paperwork-head hr {
  width: 120px;
  margin: 12px auto 14px;
  border-top: 2px solid rgba(12, 61, 104, 0.2);
}

.paperwork-subtext {
  margin: 0 auto;
  padding: 12px 14px;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #24556f;
  font-style: italic;
}

.paperwork-card {
  background: #fff;
  border: 1px solid #d2e4ef;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(7, 36, 61, 0.11);
  padding: 22px;
}

.paperwork-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #f3f9fd;
  border-radius: 8px;
}

.paperwork-note p {
  margin: 0 0 15px;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #325669;
}

.paperwork-note p:last-child {
  margin-bottom: 0;
}

.paperwork-list-wrap {
  border: 1px solid #d6e7f1;
  border-radius: 12px;
  overflow: hidden;
}

.paperwork-list-title {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(90deg, #0a4a72, #0e7aa8);
}

.paperwork-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: paperitem;
}

.paperwork-list li {
  counter-increment: paperitem;
  padding: 12px 14px;
  border-top: 1px solid #e8f2f8;
  background: #fff;
}

.paperwork-list li:nth-child(even) {
  background: #fcfeff;
}

.paperwork-list li::before {
  content: counter(paperitem) ".";
  float: left;
  font-weight: 700;
  color: #0f6f98;
  margin-right: 10px;
  padding-top: 2px;
}

.paperwork-list li>a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  text-decoration: none;
}

.paperwork-list li>a:hover {
  text-decoration: none;
}

.paperwork-list li>a:hover .paperwork-item-text {
  color: #0a5f86;
  text-decoration: none;
}

.paperwork-item-text {
  font-size: 1rem;
  line-height: 1.45;
  color: #27485c;
  font-weight: 500;
}

.paperwork-tag {
  justify-self: end;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 400;
  color: #0e5f85;
  background: #e9f5fc;
  border: 1px solid #cbe5f3;
}

.paperwork-tag--muted {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
  color: #546f80;
  background: #f5f8fb;
  border-color: #d9e5ee;
}

.paperwork-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.paperwork-page .paperwork-actions .next_btn {
  min-width: 130px;
}

@media (max-width: 860px) {
  .paperwork-list li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .paperwork-tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }
}

@media (max-width: 640px) {
  .paperwork-card {
    padding: 16px;
    border-radius: 12px;
  }

  .paperwork-note p,
  .paperwork-item-text {
    font-size: 0.93rem;
  }
}


/* ============================================================ */
/* Handling of Cremated Remains */
/* ============================================================ */
.handling_of_cremated_remains {
  display: inline-block;
  width: 100%;
  border: 2px solid #000;
  padding: 20px;
  margin-bottom: 30px;
}

.handling_of_cremated_remains li {
  display: inline-block;
  width: 100%;
  margin-bottom: 0px !important;
}

.handling_of_cremated_remains li p {}

.handling_of_cremated_remains li .fa {
  color: #dbdbdb;
  font-size: 24px;
  cursor: pointer;
  display: inline-block;
  margin: 9px 10px 0 0px;
  float: left;
}

.handling_of_cremated_remains li .fa.black_color {
  color: #000;
}

.fa-square-o:before {
  content: "\f096";
}

.check-square-o:before {
  content: "\f046" !important;
}


@media print {
  .handling_of_cremated_remains {
    padding: 5px;
  }

  .handling_of_cremated_remains li {
    line-height: 1;
  }

  .handling_of_cremated_remains li .fa {
    font-size: 16px;
  }

  .handling_of_cremated_remains li p {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}


