      body {
        font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, Arial, sans-serif;
      }
      h1,
      h2,
      h3 {
        font-weight: 700;
      }
      .title,
      .btn {
        font-weight: 600;
      }
      :root {
        --brand: #ff7a00; /*orange */
        --brand-dark: #e86e00;

        --ink-2: #374151;
        --muted: #6b7280;
        --bg: #f8fafc;
        --card: #ffffff;
        --success: #16a34a;
        --danger: #ef4444;
        --radius: 12px;
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
      }
      input[type="number"]::-webkit-outer-spin-button,
      input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }
      input[type="number"] {
        -moz-appearance: textfield;
      }

      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
          sans-serif;
        color: var(--ink);
        background: transparent;
        min-width: 100%;
      }
      img {
        width: 100%;
      }
      /* Page Layout (replaces modal) */
      body {
        margin: 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8fafc;
      }
      @media (max-width: 980px) {
        body {
          align-items: stretch;
        }
      }

      /* Shell */
      .a-shell {
        display: grid;
        grid-template-columns: 285px minmax(665px, 900px);
        max-width: 1200px;
        width: 950px;
        min-height: 620px;
        background: var(--card);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow);
        margin: 20px auto;
      }
      @media (max-width: 980px) {
        .a-shell {
          grid-template-columns: 1fr;
          min-height: 100vh;
          max-height: 100vh;
          width: 100vw;
          border-radius: 0;
        }
      }
      @media (max-width: 980px) {
        .a-shell {
          grid-template-columns: 1fr;
          min-height: auto;
        }
      }

      /* Left rail */
      .a-rail {
        position: relative;
        color: #fff;
        padding: 40px 20px;
        background: #ff7a00;
        background-image: url("./covr.JPG");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 12px;
        text-align: left;
        background-image: url("./assets/side-content.webp");
      }
      /* .a-rail::before {
        content: "";
        background-image: url("./assets/left_after.png");
        z-index: 999;
        top: 87%;
        left: 10%;
        position: absolute;
        width: 230px;
        height: 100%;
        background-repeat: no-repeat;
        background-size: contain;
      } */
      .a-rail::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          179deg,
          rgb(248 149 23),
          rgb(207 198 190 / 0%)
        );
      }
      .a-rail > * {
        position: relative;
        z-index: 1;
      }
      .a-rail h2 {
        margin: 0;
        font-size: 32px;
        font-weight: 700;
        line-height: 1.1;
        white-space: pre-line;
        text-align: left;
      }
      .a-rail p {
        margin: 0;
        font-size: 18px;
        font-weight: 500;
        color: #fde7d0;
      }
      @media (max-width: 640px) {
        .a-rail h2 {
          font-size: 24px;
        }
        .a-rail p {
          font-size: 16px;
        }
        .a-rail {
          padding: 24px 16px;
          display: none;
        }
      }
      .repco {
        position: absolute;
        bottom: 48px;
        left: 20px;
        right: 20px;
        z-index: 10;
        display: flex;
        justify-content: center;
      }
      .repco img {
        object-fit: contain;
        width: 100%;
        max-width: 230px;
      }

      /* Right content */
   .a-body {
  padding: 28px 28px 0px;
  background: #f8f8fa;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  overflow: hidden; /* ✅ Prevent double scrollbars */
  /* height: 100%;  */
}
      @media (max-width: 640px) {
        .a-body {
          padding: 20px 16px 0px;
        }
      }
      .a-close {
        /* position: absolute; */
        top: 25px;
        right: 25px;
        border: none;
        background: transparent;
        cursor: pointer;
        line-height: 1;
      }
      @media (max-width: 640px) {
        /* .a-close {
                position: absolute;
                top: 18px;
                right: -8px;
                border: none;
                background: transparent;
                cursor: pointer;
                line-height: 1;
                z-index: 4;
              } */
      }
      /* Powered by at bottom of a-body div */
      /* .a-body .powered {
              font-size: 12px;
              color: #0c0c0c;
              display: flex;
              gap: 6px;
              justify-content: flex-end;
              font-weight: 600;
              padding: 6px 0;
              margin-top: auto;
            } */
      /* .a-body .powered img {
              height: 14px;
              display: inline-block;
              vertical-align: middle;
            } */

      /* Top nav */
     .a-top {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  background: #f8f8fa;
  z-index: 3;
  padding-bottom: 8px;
  justify-content: space-between;
  flex-shrink: 0; /* ✅ Don't let this shrink */
  min-height: 50px; /* ✅ Fixed height */
}
      @media (max-width: 640px) {
        /* .a-body .powered {
                margin-left: 100px;
              } */
        /* .a-top {
                display: flex;
                align-items: center;
                width: 100%;
                max-width: 338px;
                gap: 12px;
                position: sticky;
                top: 0;
                background: #f8f8fa;
                z-index: 3;
                padding-bottom: 8px;
              } */
      }
      .a-back {
        border: none;
        background: transparent;
        cursor: pointer;
        font-size: 20px;
        display: flex;
        align-items: center;
        transition: all 300ms;
        color: #ff7a00;
      }
      .a-back:hover {
        transform: scale(1.1);
      }
      .a-back:active {
        transform: scale(0.95);
      }
      .a-progress {
        flex: 0.885;
        height: 6px;
        border-radius: 999px;
        background: #ebecf4;
        position: relative;
        overflow: hidden;
        margin-right: 20px;
      }
      .a-progress > span {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        background: var(--brand);
        width: 0;
        transition: width 0.3s ease;
      }

      h3.step-title {
        margin-bottom: 27px !important;
        margin: 12px 0 8px;
        font-size: 26px;
        text-align: center;
      }
      @media (max-height: 720px) {
        h3.step-title {
          font-size: 28px;
          margin-top: 8px;
          margin-bottom: 27px;
        }
      }
      @media (max-width: 640px) {
        h3.step-title {
          font-size: 18px;
          margin: 22px 0 6px;
          margin-bottom: 22px;
        }
      }
      p.step-sub {
        margin: 0 0 16px;
        color: var(--muted);
      }
      @media (max-width: 640px) {
        p.step-sub {
          font-size: 14px;
          margin-bottom: 12px;
        }
      }

      /* Grid selections */
      .grid {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 100%; /* ✅ Changed from 520px */
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .grid {
    gap: 12px;
  }
}
      /* #step {
              width: 100%;
              max-width: 550px;
              display: flex;
              justify-content: flex-start;
              align-items: center;
              flex-direction: column;
              overflow: hidden;
            } */
      /* Animate cards */
      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
      .animate-fadeIn {
        animation: fadeIn 200ms ease-out forwards;
      }
      @media (max-width: 720px) {
        .grid {
          grid-template-columns: 2fr 2fr;
        }
      }

      .card {
        position: relative;
        border-radius: 12px;
        width: 100%;
        height: 150px;
        /* border: 1px solid #e5e7eb; */
        /* background: var(--card); */
        overflow: hidden;
        cursor: pointer;
        transition: all 200ms;
      }
      @media (max-width: 640px) {
        .card {
          width: 100%;
          max-width: 280px;
          height: 120px;
        }
      }
      .card:hover {
        border-color: var(--brand);
        background: #fef7f0;
      }
      .card.active {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.25);
        border-radius: 12px;
      }
      .card .img {
        position: relative;
        height: 100%;
        background: #0b0b0b center/cover no-repeat;
        filter: brightness(0.37);
        transition: all 300ms;
      }
      .card .img::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--brand);
        opacity: 0;
        pointer-events: none;
        transition: all 300ms;
      }
      .card:hover .img::after {
        opacity: 0.5;
      }
      .card:hover .img {
        transform: scale(1.05);
      }
      .card .title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        text-align: center;
        font-weight: 700;
        font-size: 24px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
        z-index: 10;
      }
      @media (max-width: 640px) {
        .card .title {
          font-size: 20px;
        }
      }

      /* Service cards - different design */
      .service-card {
        position: relative;
        border-radius: 8px;
        width: 100%;
        height: 135px;
        border: 1px solid #afb4c0;
        background: #fff;
        overflow: hidden;
        cursor: pointer;
        transition: all 200ms;
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 6px;
      }
      @media (max-width: 640px) {
        .service-card {
          width: 100%;
          max-width: 280px;
          height: 150px;
          padding: 10px;
        }
      }
      .service-card:hover {
        border-color: var(--brand);
        background: #fef7f0;
      }
      .service-card.active {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.25);
      }
      .service-card .img {
        position: relative;
        height: 100px;
        background: #fff center/contain no-repeat;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid transparent;
        transition: all 200ms;
      }
      .service-card:hover .img {
        border-color: #e5e7eb;
      }
      .service-card .img img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        transition: all 200ms;
      }
      .service-card:hover .img img {
        transform: scale(1.05);
      }
      .service-card .title {
        color: #000;
        text-align: left;
        font-weight: 600;
        font-size: 16px;
        margin: 0;
        padding: 0;
        z-index: 10;
      }
      @media (max-width: 640px) {
        .service-card .title {
          font-size: 15px;
        }
      }

      /* Add-on cards - different design */
      .addon-card {
        position: relative;
        border-radius: 4px;
        /* width: 212px;
        height: 118px; */
        border: 1px solid #e5e7eb;
        background: var(--card);
        overflow: hidden;
        cursor: pointer;
        transition: all 200ms;
      }
      @media (max-width: 640px) {
        .addon-card {
          width: 100%;
          /* max-width: 250px; */
          height: 100px;
        }
      }
      .addon-card:hover {
        border-color: var(--brand);
        background: #fef7f0;
      }
      .addon-card.active {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.25);
      }
      .addon-card .img {
        position: relative;
        height: 100%;
        background: #0b0b0b center/cover no-repeat;
        filter: brightness(0.75);
        transition: all 300ms;
      }
      /* .main_box > div {
        margin: auto;
        max-width: fit-content;
      } */
      .div#step {
        margin: auto;
      }
      .addon-card .img::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--brand);
        opacity: 0;
        pointer-events: none;
        transition: all 300ms;
      }
      .addon-card:hover .img::after {
        opacity: 0.5;
      }
      .addon-card:hover .img {
        transform: scale(1.05);
      }
      .addon-card .title {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 80%;
        transform: translate(-50%, -50%);
        color: #fff;
        text-align: center;
        font-weight: 700;
        font-size: 18px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
        z-index: 10;
      }
      @media (max-width: 640px) {
        .addon-card .title {
          font-size: 16px;
        }
      }

      /* Add-on Cards - Unified for mobile and desktop */
      .addon-card {
        position: relative;
        border-radius: 14px;
        width: 245px;
        height: 90px;
        border: 1px solid #e5e7eb;
        background: var(--card);
        overflow: hidden;
        cursor: pointer;
        transition: all 200ms;
        /* margin-bottom: 12px; */
      }
      .addon-card:hover {
        border-color: var(--brand);
        background: #fef7f0;
      }
      .addon-card.active {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.25);
      }
      .addon-card .img {
        position: relative;
        height: 100%;
        background: #0b0b0b center/cover no-repeat;
        filter: brightness(0.75);
        transition: all 300ms;
      }
      .addon-card .img::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--brand);
        opacity: 0;
        pointer-events: none;
        transition: all 300ms;
      }
      /* spinner */
      .loader-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 0;
      }
      .loader {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 3px solid #e5e7eb;
        border-top-color: var(--brand);
        animation: spin 0.8s linear infinite;
      }
      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }
      .addon-card:hover .img::after {
        opacity: 0.5;
      }
      .addon-card:hover .img {
        transform: scale(1.05);
      }
      .addon-card .title {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 80%;
        transform: translate(-50%, -50%);
        color: #fff;
        text-align: center;
        font-weight: 700;
        font-size: 18px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
        z-index: 10;
      }
      .addon-mobile-content {
        filter: brightness(0.5);
      }

      /* Mobile Add-on Cards */
      @media (max-width: 640px) {
        .addon-card {
          width: 100%;
          height: 70px;
          margin-bottom: 8px;
        }
        .addon-card .img {
          display: none; /* Hide background image on mobile */
        }
        .addon-card .title {
          display: none; /* Hide overlay title on mobile */
        }
        .addon-card .addon-mobile-content {
          display: flex;
          align-items: center;
          gap: 12px;
          padding: 8px 12px;
          height: 100%;
        }
        .addon-card .addon-mobile-img {
          width: 48px;
          height: 48px;
          border-radius: 8px;
          overflow: hidden;
          flex-shrink: 0;
        }
        .addon-card .addon-mobile-img img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        .addon-card .addon-mobile-text {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
        }
        .addon-card .addon-mobile-title {
          font-size: 16px;
          font-weight: 600;
          color: #000;
          margin: 0;
          line-height: 1.2;
        }
      }

      /* Mobile Add-ons Container */
      .addons-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-width: 100%;
      }

      @media (min-width: 641px) {
        .addons-container {
          display: grid;
          grid-template-columns: repeat(2, 1fr);

          gap: 20px;
        }
      }

      @media (max-width: 640px) {
        .step-sub {
          font-size: 14px;
          margin-bottom: 16px;
          color: #6b7280;
          text-align: center;
        }
      }

      /* Form */
      .form-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
      }
      .form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
      }
      .form-grid-1 {
        grid-template-columns: 1fr;
      }
      @media (max-width: 768px) {
        .bar {
          position: sticky;
          bottom: 0;
          background-color: #f8f8fa;
          padding: 10px;
        }

        div#booking-modal {
          height: 90vh;
        }
        aside.a-rail {
          display: none;
        }
        .form-section .form-row {
          display: block;
        }
      }
      @media (max-width: 840px) {
        .form-grid,
        .form-grid-2 {
          grid-template-columns: 1fr;
        }
      }
      .form-section {
        display: flex;
        flex-direction: column;
        gap: 5px;
        max-width: 600px;
        width: 100%;
      }
      @media (max-width: 640px) {
        .form-section {
          gap: 8px;
        }
      }
      .form-row {
        display: flex;
        gap: 8px;
      }
      .form-row:not(:last-child) {
        margin-bottom: 0;
      }
      .form-group {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
      }
      .form-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 500;
        color: #374151;
      }
      .form-group label::after {
        content: "*";
        color: #ef4444;
        font-size: 16px;
      }
      .form-group.error label::after {
        content: "* Required";
        color: #ef4444;
        font-size: 12px;
        font-weight: 400;
      }
      .form-group input,
      .form-group textarea {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        background: #fff;
        font-size: 16px;
        color: #374151;
        outline: none;
      }
      @media (max-width: 640px) {
        .form-group input,
        .form-group textarea {
          padding: 12px 14px;
          font-size: 16px;
          min-height: 48px;
        }
      }
      .form-group input:focus,
      .form-group textarea:focus {
        border-color: #ff7a00;
      }
      .form-group.error input,
      .form-group.error textarea {
        border-color: #ef4444;
      }
      .form-group.error label span {
        display: inline;
        color: #ef4444;
        font-size: 12px;
        margin-left: 8px;
      }
      .form-group.error label::after {
        content: "* Required";
        color: #ef4444;
        opacity: 1;
        font-size: 14px;
        font-weight: 500;
      }
      .form-group.error label .required-text {
        display: inline;
        color: #ef4444;
        font-size: 12px;
        margin-left: 8px;
      }
      .form-group textarea {
        min-height: 80px;
        resize: none;
      }
      input,
      select,
      textarea {
        width: 100%;
        padding: 12px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        background: #fff;
        font: inherit;
        color: var(--ink);
      }
      @media (max-width: 640px) {
        .main_box > div {
          max-width: 100% !important;
          width: 100% !important;
        }
        input,
        select,
        textarea {
          padding: 14px 16px;
          min-height: 48px;
          font-size: 16px;
        }
      }
      textarea {
        min-height: 88px;
        resize: vertical;
      }
      .addon-card.animate-fadeIn {
        display: flex;
        align-items: center;
        padding: 10px;
        gap: 20px;
        width: 100%;
      }
      .addon-card.animate-fadeIn img {
        width: 56px;
        height: 56px;
        object-fit: contain;
      }
      .addon-card.animate-fadeIn .title1 {
        font-weight: 600;
      }
      .addon-card.animate-fadeIn img {
        transition: transform 1s ease-in-out;
      }

      .addon-card.animate-fadeIn:hover img {
        transform: scale(1.2);
      }

      .bar {
        display: flex;
        gap: 12px;
        justify-content: flex-end;
        margin-top: 20px !important;
        width: 100%;
        max-width: 100% !important;
      }
      @media (max-width: 640px) {
        .bar {
          justify-content: end;
          gap: 16px;
        }
      }
      .btn {
        appearance: none;
        border: none;
        background: var(--brand);
        color: #fff;
        padding: 12px 18px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
      }
      @media (max-width: 640px) {
        .btn {
          padding: 14px 20px;
          min-height: 48px;
          font-size: 16px;
        }
      }
      .btn[disabled] {
        opacity: 0.6;
        cursor: not-allowed;
      }
      .btn.secondary {
        background: #f3f4f6;
        color: var(--ink);
      }

      .hint {
        font-size: 16px;
        color: #6b6163;
        text-align: center;
      }
      .hint1 {
        font-size: 17px;
        color: #5e5e5e;
        margin-bottom: 0;
        margin-top: 0;
        font-weight: 600;
        padding: 10px 0px;
      }
      .extraTitle {
        margin: 0;
        text-align: center;
        color: #999;
        font-size: 0.875rem;
        margin-bottom: 27px;
      }
      .noBotMar h3 {
        margin-bottom: 0px !important;
      }
      .cardy {
        color: #6b7280;
      }
      .month-icon {
        margin-left: 13px;
        display: flex;
        align-items: center;
      }
      .month-icon svg {
        width: 18px;
        height: 18px;
      }
      .toast {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        background: #111827;
        color: #fff;
        padding: 10px 14px;
        border-radius: 999px;
        box-shadow: var(--shadow);
        display: none;
      }
      .toast.show {
        display: inline-block;
      }

      .success {
        display: flex;
        flex-direction: column;
        gap: 14px;
        text-align: left;
        padding: 0;
      }
      .success .hero {
        height: 160px;
        background: var(--brand) center/cover no-repeat;
        border-radius: 12px;
        margin: 8px 0 16px 0;
        position: relative;
        overflow: hidden;
      }
      @media (max-width: 640px) {
        .success .hero {
          height: 174px;
          margin: 6px 0 12px 0;
        }
      }
      .success .hero > .overlay {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          179deg,
          rgb(248 149 23),
          rgb(207 198 190 / 0%)
        );
      }
      /* .success-container {
        padding: 0px 52px;
      } */
      .success .hero h3 {
        position: absolute;

        justify-content: center;
        margin: 0;
        color: #fff;
        font-size: 26px;
        line-height: 1.1;
        height: 100%;
        width: 80%;
        display: flex;
        align-items: center;
        text-align: center;
        left: 10%;
      }
      @media (max-width: 640px) {
        .success-container {
          padding: 0px;
        }
        .success .hero h3 {
          font-size: 30px;
          padding: 10px;
          width: 100%;
          left: unset;
        }
      }
      .success .cardy {
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 12px;
        background: #fff;
      }
      .success .row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
      }
      .success .row + .row {
        border-top: 1px solid #eef2f7;
      }
      .success .actions {
        display: flex;
        justify-content: center;
        margin-top: 16px;
      }
      .success .actions .btn {
        min-width: 100%;
      }

      /* powered by */
      .powered {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        margin-bottom: 10px;
        margin-top: 10px;
      }
      /* .powered img {
              height: 14px;
              display: inline-block;
              vertical-align: middle;
            } */

      .success .tick {
        font-size: 44px;
        color: #fff;
        background: var(--success);
        width: 64px;
        height: 64px;
        display: none;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
      }

      /* Appointment step look-alike */
      .month-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 6px 0 14px;
      }
      @media (max-width: 640px) {
        .month-row {
          flex-wrap: wrap;
          gap: 8px;
          margin: 4px 0 12px;
        }
      }
      .dateicon {
        display: flex;
        gap: 1rem;
      }
      .month-pill {
        background: var(--brand);
        color: #fff;
        border: none;
        border-radius: 4px;
        padding: 10px 14px;
        font-weight: 700;
        cursor: default;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      @media (max-width: 640px) {
        .month-pill {
          padding: 8px 12px;
          font-size: 14px;
        }
      }
      .nav-icon {
        width: 34px;
        font-size: 22px;
        height: 34px;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
        background:#f8f8fa;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      @media (max-width: 640px) {
        .nav-icon {
          width: 40px;
          height: 40px;
          font-size: 20px;
        }
      }

      .daystrip {
        /* justify-content: center; */
        display: flex;
        gap: 12px;
        /* overflow-x: auto; */
        padding-bottom: 12px;
      }
      @media (max-width: 640px) {
        .daystrip {
          gap: 8px;
          padding-bottom: 8px;
          overflow: hidden;
          display: flex;
          justify-content: space-between;
        }
      }
      .day {
        min-width: 68px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        text-align: center;
        padding: 10px 8px;
        background: #fff;
        cursor: pointer;
      }
      @media (max-width: 980px) {
       div#step {
  flex: 1; /* ✅ Grow to fill available space */
  /* overflow-y: auto;  */
  /* overflow-x: hidden; */
  min-height: 0; /* ✅ Allow flexbox shrinking */
  padding-bottom: 16px;
}
        .day {
          min-width: 72px;
          padding: 8px 6px;
        }
      }
      @media (max-height: 720px) {
        .day {
          min-width: 72px;
          padding: 12px 8px;
          min-height: 72px;
          font-size: 14px;
          height: 72px;
        }
      }

      .day .dow {
        font-size: 12px;
        color: #252525;
        margin-bottom: 6px;
      }
      .day .dnum {
        font-size: 22px;
        font-weight: 500;
      }
      .dow.active {
        color: #ff7a00;
      }
      @media (max-width: 640px) {
        .day {
          min-width: 70px;
          padding: 12px 8px;
          font-size: 14px;
          width: 100%;
        }
        .day .dnum {
          font-size: 1.5rem;
          font-weight: 500;
        }
      }
      .day.active {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.2);
        color: #fff;
        background-color: #ff7a00;
      }
      .day.active .dow {
        color: #fff;
      }
      .day.disabled {
        opacity: 0.5;
        pointer-events: none;
      }
      .day.disabled .dnum {
        text-decoration-line: line-through;
      }
      .slots-wrap {
        margin-top: 14px;
        max-height: 42vh;
        overflow-y: auto;
        padding-right: 6px;
      }
      .slots {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
      .slots-wrap::-webkit-scrollbar {
        width: 8px;
      }
      .slots-wrap::-webkit-scrollbar-thumb {
        background: #e5e7eb;
        border-radius: 999px;
      }
      @media (max-height: 720px) {
        .slots-wrap {
          max-height: 42vh;
        }
      }
      .slot {
        display: flex;
        cursor: pointer;
        align-items: center;
        justify-content: space-between;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 14px 16px;
        background: #fff;
        transition: all 200ms;
      }
      @media (max-width: 640px) {
        .slot {
          padding: 16px;
          min-height: 48px;
          font-size: 16px;
        }
      }
      .slot.selected {
        background: #ff7a0026;
      }
      @media (max-height: 720px) {
        .slot {
          padding: 20px;
        }
      }
      .slot .left {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #16a34a;
      }
      @media (max-width: 640px) {
        .sticky-cta {
          justify-content: center;
        }
      }
      .btn.book {
        min-width: 140px;
      }
      @media (max-width: 640px) {
        .btn.book {
          width: 100%;
          max-width: 200px;
        }
        .slots-wrap {
          max-height: 34vh;
        }
      }

      /* Calendar popover */
      .cal-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2147483647;
        height: 100vh;
        width: 100vw;
      }
      .cal-card {
        background: #fff;
        border-radius: 16px;
        box-shadow: var(--shadow);
        width: min(640px, 92vw);
        padding: 18px;
      }
      .dot-orange {
        height: 10px;
        width: 10px;
        border-radius: 999px;
        background: #ff9500;
      }
      .addon-card {
        position: relative; /* This allows the tick mark to be positioned relative to the card */
      }

      .tick-mark {
        position: absolute;
        top: 5px; /* Adjust this value to move the tick mark closer or further from the top */
        right: 5px; /* Adjust this value to move the tick mark closer or further from the right */
        font-size: 20px; /* Adjust the size of the tick mark */
        display: none; /* Initially hide the tick mark */
        color: #ff7a00;
        height: 15px;
        width: 15px;
      }

      .cal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
      }
      .cal-title {
        font-weight: 700;
      }
      .cal-nav {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .cal-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
        background: #fff;
        cursor: pointer;
      }
      .cal-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
        padding: 10px;
      }
      .cal-dow {
        font-size: 12px;
        color: #6b7280;
        text-align: center;
      }
      .cal-cell {
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #f1f5f9;
        background: #fff;
        cursor: pointer;
      }
      .cal-cell.disabled {
        opacity: 0.4;
        pointer-events: none;
      }
      .cal-cell.active,
      .cal-cell:hover {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
      }

      /* Flexible toggle */
      .flex-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        /* margin-top: 35px; */
      }
      @media (max-width: 640px) {
        /* .flex-row { */
        /* flex-direction: column;
                align-items: stretch;
                gap: 16px;
                margin-top: 12px;
              } */
      }
      .switch {
        position: relative;
        width: 46px;
        height: 26px;
        background: #e5e7eb;
        border-radius: 999px;
        cursor: pointer;
        transition: 0.2s;
      }
      .switch:before {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        transition: 0.2s;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
      }
      .switch.on {
        background: var(--brand);
      }
      .switch.on:before {
        left: 23px;
      }
      .flexible-label {
        display: flex;
        align-items: center;
        padding:12px 0px 0px 0px;
        gap: 10px;
        color: var(--ink);
      }
      .flexible-hint {
        font-size: 12px;
        color: var(--muted);
      }

.form-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  color: #374151;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

@media (max-width: 640px) {
  .form-group select {
    padding: 12px 14px;
    font-size: 16px;
    min-height: 48px;
  }
}

.form-group select:focus {
  border-color: #ff7a00;
}

.form-group.error select {
  border-color: #ef4444;
}

      div#svc-grid > div:last-child {
        grid-column: 1 / -1; 
        justify-self: center; 
      }
      @media (max-width: 640px) {
        .flexible-label {
          gap: 12px;
          font-size: 16px;
        }
        .flexible-hint {
          font-size: 14px;
        }
      }

      @media (max-width: 640px) {
        /* #step {
                width: 100%;
                max-width: 550px;
                display: flex;
                justify-content: flex-start;
                align-items: normal;
                flex-direction: column;
                overflow: hidden;
              } */
      }

      /* Addition Code */
      .main_content{
         height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0; /* ✅ Allow flex child to shrink */
  overflow: hidden;
      }

      /* Fade and slide up animation */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-animate {
  animation: fadeSlideUp 0.4s ease-out forwards;
}

/* Stagger animation for child elements */
.step-animate > * {
  opacity: 0;
  animation: fadeSlideUp 0.4s ease-out forwards;
}

.step-animate > *:nth-child(1) { animation-delay: 0.05s; }
.step-animate > *:nth-child(2) { animation-delay: 0.1s; }
.step-animate > *:nth-child(3) { animation-delay: 0.15s; }
.step-animate > *:nth-child(4) { animation-delay: 0.2s; }
.step-animate > *:nth-child(5) { animation-delay: 0.25s; }

      /* ===================================
   FLEXBOX LAYOUT - HORIZONTAL UNTIL MOBILE
   =================================== */

.a-shell {
  display: flex;
  flex-direction: row; /* Keep horizontal */
  max-width: 1200px;
  width: 950px;
  min-height: 620px;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 20px auto;
}

/* Left Sidebar - Fixed width */
.a-rail {
  /* flex: 0 0 285px; */
  width: 260px;
  min-width: 260px;
}

/* Main Content - Flexible */
.a-body {
  flex: 1;
  min-width: 0; /* Allow shrinking */
  /* padding: 28px 28px 0px; */
  padding: 2% 10%;
  background: #f8f8fa;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.content_wrap{
      display: flex;
    gap: 03px;
    flex-direction: column;
}

/* ===================================
   TABLET: STILL HORIZONTAL
   =================================== */
@media (max-width: 980px) {
  .a-shell {
    flex-direction: row; /* Keep side-by-side */
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    border-radius: 0;
    margin: 0;
  }
  
  /* Slightly narrower sidebar on tablet */
  /* .a-rail {
    flex: 0 0 240px;
    width: 240px;
    min-width: 240px;
    padding: 30px 15px;
  } */
  
  .a-body {
    flex: 1;
  }
}

/* ===================================
   MOBILE: STACK VERTICALLY
   =================================== */
@media (max-width: 640px) {
  .a-shell {
    flex-direction: column; /* NOW stack vertically */
    width: 100vw;
    height: 100vh;
  }
  
  /* Hide sidebar completely on mobile OR show it on top */
  .a-rail {
    display: none; /* Option 1: Hide it */
    
    /* Option 2: Show on top (uncomment below, comment above) */
    /* flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
    max-height: 150px;
    padding: 20px 16px; */
  }
  
  .a-body {
    flex: 1;
    width: 100%;
    padding: 20px 16px 0px;
  }
  
  .main_box > div {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ===================================
   VERY SMALL MOBILE
   =================================== */
@media (max-width: 380px) {
  .a-body {
    padding: 16px 12px 0px;
  }
}

#button-container {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  background: #f8f8fa;
  padding: 12px 0;
  width: 100%;
  max-width: 100% !important;
  z-index: 2;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0; /* ✅ Don't let this shrink */
  min-height: 60px; /* ✅ Fixed minimum height */
}
@media (max-width: 768px) {
  #button-container {
    padding: 10px;
  }
}

#powered {
  flex-shrink: 0; /* ✅ Don't let this shrink */
  min-height: 10px;
}

@media (max-width: 640px) {
  .a-body {
    padding: 20px 16px 0px;
    height: 100vh; /* ✅ Full viewport height on mobile */
  }
  
  div#step {
    padding-bottom: 12px;
    overflow: auto;
  }
  
  #button-container {
    padding: 10px 0;
    min-height: 70px; /* ✅ Slightly taller on mobile for touch */
  }
}

.grid > .service-card:last-child{
  width: 240px;
}