/* ==========================================================================
   O2care booking form — Shopify Dawn section
   --------------------------------------------------------------------------
   Every selector and custom property is namespaced (.o2c-* / --o2c-*) so this
   file cannot collide with Dawn's base.css or any other section's styles.
   Colour tokens marked "theme-editor" are overridden by the section's inline
   {%- style -%} block, so don't hardcode those values anywhere else.
   ========================================================================== */

.o2c {
  /* brand — theme-editor overridable */
  --o2c-blue: #0f4e77;
  --o2c-blue-deep: #0b3a59;
  --o2c-blue-700: #13598a;
  --o2c-blue-tint: #e9f1f8;
  --o2c-blue-tint-2: #d6e6f2;
  --o2c-green: #3a8e0e;
  --o2c-green-deep: #2e7209;
  --o2c-green-lt: #8fd45f;
  --o2c-green-tint: #ebf6e2;

  /* surfaces */
  --o2c-bg: #eef3f7;
  --o2c-card: #fff;
  --o2c-ink: #15242e;
  --o2c-muted: #627585;
  --o2c-muted-2: #8b9aa7;
  --o2c-line: #e3eaf0;
  --o2c-line-2: #d2dce5;

  /* status */
  --o2c-amber: #e8870a;
  --o2c-amber-ink: #9a5a06;
  --o2c-amber-ink-2: #a77b3c;
  --o2c-amber-tint: #fcebcc;
  --o2c-amber-line: #f3d9a8;
  --o2c-danger: #c0392b;

  --o2c-shadow-sm: 0 1px 2px rgba(15, 40, 60, 0.06), 0 1px 3px rgba(15, 40, 60, 0.05);
  --o2c-shadow-md: 0 4px 16px rgba(15, 40, 60, 0.08), 0 2px 6px rgba(15, 40, 60, 0.05);
  --o2c-shadow-lg: 0 18px 48px rgba(11, 40, 60, 0.16);

  --o2c-r-lg: 22px;
  --o2c-r-md: 16px;
  --o2c-r-sm: 12px;

  /* Height the app fills in full-bleed mode. A host that wraps the app in
     other chrome (the Workers preview adds a disclaimer bar) overrides this
     with 100% so the sticky CTA isn't pushed below the fold. */
  --o2c-app-h: 100vh;

  --o2c-font: 'Plus Jakarta Sans O2C', ui-sans-serif, system-ui, -apple-system,
    'Segoe UI', Roboto, sans-serif;

  font-family: var(--o2c-font);
  color: var(--o2c-ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

/* Dawn's base.css sets margins/box-sizing on plenty of primitives; reset only
   inside our subtree so the ported layout maths still holds. */
.o2c *,
.o2c *::before,
.o2c *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* These resets neutralise Dawn's element-level button/input styling. They are
   wrapped in :where() so they contribute ZERO specificity beyond `.o2c` —
   otherwise `.o2c button` (0,1,1) would outrank every single-class component
   below it (`.o2c-cta`, `.o2c-opt`, `.o2c-size`, `.o2c-chip` …) and strip their
   backgrounds and borders. Order matters too: these must stay above the
   components so equal-specificity rules resolve in the components' favour. */
.o2c :where(button) {
  font-family: inherit;
  font-size: 100%;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  letter-spacing: inherit;
  text-transform: none;
  box-shadow: none;
  min-height: 0; /* Dawn sets min-height on .button */
}

.o2c :where(input, select, textarea) {
  font-family: inherit;
  font-size: 16px; /* below 16px iOS zooms the page on focus */
  color: var(--o2c-ink);
  box-shadow: none;
  border-radius: 0;
}

/* outline only — a box-shadow reset here would erase the focus rings the
   .o2c-ctrl:focus / .o2c-phone-wrap:focus-within rules paint. */
.o2c :where(input, select, textarea):focus {
  outline: none;
}

.o2c svg {
  display: block;
  flex: none;
}

/* Base geometry for every sprite icon. Contexts below override size, stroke
   and colour. `color` is set alongside `stroke` wherever an icon is tinted,
   because the one solid icon (bolt) fills with currentColor. */
.o2c .o2c-ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.o2c ul,
.o2c ol {
  list-style: none;
}

/* The wizard toggles the progress bar and footer with [hidden]; stated
   explicitly so no author-level display rule can outrank the UA default. */
.o2c [hidden] {
  display: none !important;
}

.o2c-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Visible keyboard focus everywhere. Dawn's :focus-visible reset is aggressive,
   so this is stated explicitly rather than inherited. */
.o2c :focus-visible {
  outline: 2px solid var(--o2c-blue);
  outline-offset: 2px;
}

/* Each step moves focus to its heading so screen readers announce the new step.
   The heading isn't interactive, so it gets the focus without the ring — a box
   drawn around a title reads as a rendering fault to sighted users. */
.o2c [data-o2c-focus]:focus,
.o2c [data-o2c-focus]:focus-visible {
  outline: none;
}

/* --------------------------------------------------------------------------
   App shell
   -------------------------------------------------------------------------- */

.o2c-app {
  display: grid;
  grid-template-columns: minmax(380px, 5fr) minmax(520px, 6fr);
  max-width: 1180px;
  margin: 0 auto;
  background: var(--o2c-bg);
}

@supports (height: 100dvh) {
  .o2c {
    --o2c-app-h: 100dvh;
  }
}

/* Full-bleed variant: the section owns the viewport (header/footer hidden by
   the section's scoped style block).

   The app is bounded to exactly one viewport and the booking column scrolls
   inside itself. Without the bounded row, a tall step grows the grid row, which
   drags the sticky CTA and the brand panel's order summary below the fold. */
.o2c--fullbleed .o2c-app {
  height: var(--o2c-app-h);
  grid-template-rows: minmax(0, 1fr);
}

.o2c--fullbleed .o2c-brand,
.o2c--fullbleed .o2c-book {
  height: 100%;
  min-height: 0;
}

/* Contained variant: sits inside Dawn's normal page flow, header/footer intact. */
.o2c--contained {
  padding: 0 0 2rem;
}

.o2c--contained .o2c-app {
  border-radius: var(--o2c-r-lg);
  overflow: hidden;
  box-shadow: var(--o2c-shadow-lg);
}

/* `relative`, not `static`: the brand panel's decorative circles are absolutely
   positioned and rely on the panel being their containing block. Going static
   hands them to the initial containing block, where overflow:hidden no longer
   clips them and they push the page ~120px wider. */
.o2c--contained .o2c-brand,
.o2c--contained .o2c-book {
  min-height: 0;
  height: auto;
  position: relative;
}

.o2c--contained .o2c-step-scroll {
  overflow: visible;
  padding-bottom: 26px;
}

.o2c--contained .o2c-foot {
  position: static;
  background: var(--o2c-bg);
}

@media screen and (max-width: 900px) {
  .o2c-app {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* --------------------------------------------------------------------------
   Brand panel (left)
   -------------------------------------------------------------------------- */

.o2c-brand {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 46px 44px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(165deg, var(--o2c-blue) 0%, var(--o2c-blue-deep) 70%, #0a3350 100%);
}

.o2c-brand::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 34px solid rgba(58, 142, 14, 0.18);
}

.o2c-brand::before {
  content: '';
  position: absolute;
  left: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 142, 14, 0.22), transparent 70%);
}

.o2c-brand-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.o2c-brand-logo {
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.o2c-brand-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.o2c-brand-name {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.o2c-brand-name span {
  color: var(--o2c-green-lt);
}

.o2c-brand-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: #a9c6dc;
  letter-spacing: 0.02em;
}

.o2c-brand-hero {
  position: relative;
  z-index: 1;
  margin-top: 42px;
}

.o2c-brand-hero h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  font-family: inherit;
}

.o2c-brand-hero p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.55;
  color: #c5daeb;
}

.o2c-trust {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.o2c-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.o2c-trust-ic {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.o2c-trust-ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--o2c-green-lt);
  color: var(--o2c-green-lt);
}

.o2c-trust-txt b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.o2c-trust-txt span {
  font-size: 12.5px;
  color: #a9c6dc;
}

.o2c-brand-foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 26px;
}

.o2c-hotline {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.o2c-hotline-ic {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--o2c-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.o2c-hotline-ic svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  color: #fff;
}

.o2c-hotline span {
  font-size: 11.5px;
  font-weight: 700;
  color: #a9c6dc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.o2c-hotline b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.o2c-hotline a {
  color: inherit;
  text-decoration: none;
}

/* "powered with Locate2u" lockup — rendered in markup, not injected */
.o2c-l2u {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-left: 2px;
}

.o2c-l2u span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.o2c-l2u img {
  height: 20px;
  width: auto;
  display: block;
}

/* running order summary (desktop) */
.o2c-mini {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.o2c-mini h4 {
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 800;
  color: #9fc0d8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: inherit;
}

.o2c-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  font-size: 13px;
  color: #dceaf5;
}

.o2c-mini-row span:first-child {
  color: #a9c6dc;
}

.o2c-mini-row b {
  font-weight: 700;
  color: #fff;
}

.o2c-mini-row--total {
  margin-top: 6px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.o2c-mini-row--express b {
  color: #ffd27a;
}

.o2c-mini-empty {
  font-size: 12.5px;
  color: #8faac2;
}

/* --------------------------------------------------------------------------
   Booking column (right)
   -------------------------------------------------------------------------- */

.o2c-book {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--o2c-bg);
}

.o2c-mobile-bar {
  display: none;
}

@media screen and (max-width: 900px) {
  .o2c-brand {
    display: none;
  }

  .o2c-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 18px;
    background: #fff;
    border-bottom: 1px solid var(--o2c-line);
  }

  .o2c-mobile-bar .o2c-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    box-shadow: var(--o2c-shadow-sm);
  }

  .o2c-mobile-bar .o2c-brand-logo img {
    width: 32px;
    height: 32px;
  }

  .o2c-mb-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--o2c-blue);
  }

  .o2c-mb-name span {
    color: var(--o2c-green);
  }

  .o2c-mb-hot {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--o2c-blue);
    text-decoration: none;
  }

  .o2c-mb-hot svg {
    width: 15px;
    height: 15px;
    stroke: var(--o2c-green);
    color: var(--o2c-green);
  }

  .o2c-l2u--mobile {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 0 9px;
    padding-left: 9px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
  }

  .o2c-l2u--mobile span {
    font-size: 10px;
    color: #9ca3af;
  }

  .o2c-l2u--mobile img {
    height: 17px;
  }
}

/* progress */
.o2c-progress {
  padding: 22px 36px 0;
}

.o2c-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.o2c-progress-step {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--o2c-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.o2c-progress-count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--o2c-muted-2);
}

.o2c-progress-track {
  display: flex;
  gap: 6px;
}

.o2c-progress-seg {
  height: 6px;
  flex: 1;
  border-radius: 99px;
  background: var(--o2c-line-2);
  overflow: hidden;
}

.o2c-progress-seg i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--o2c-green), #5fb52e);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.o2c-progress-seg.is-done i {
  width: 100%;
}

.o2c-progress-seg.is-active i {
  width: 55%;
}

/* step body */
.o2c-step-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 26px 36px 150px;
}

.o2c-step-head {
  margin-bottom: 22px;
}

.o2c-step-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--o2c-muted);
  transition: color 0.15s;
}

.o2c-step-back:hover {
  color: var(--o2c-blue);
}

.o2c-step-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.o2c-step-title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--o2c-ink);
  font-family: inherit;
  line-height: 1.2;
}

.o2c-step-desc {
  margin-top: 7px;
  max-width: 46ch;
  font-size: 14.5px;
  color: var(--o2c-muted);
}

@media screen and (max-width: 900px) {
  .o2c-progress {
    padding: 16px 18px 0;
  }

  .o2c-step-scroll {
    padding: 22px 18px 140px;
  }
}

/* --------------------------------------------------------------------------
   Step 1 — service options + express
   -------------------------------------------------------------------------- */

.o2c-opt-grid {
  display: grid;
  gap: 13px;
}

.o2c-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 18px;
  text-align: left;
  background: var(--o2c-card);
  border: 1.5px solid var(--o2c-line);
  border-radius: var(--o2c-r-md);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.o2c-opt:hover {
  border-color: var(--o2c-blue-tint-2);
  box-shadow: var(--o2c-shadow-sm);
}

.o2c-opt.is-sel {
  border-color: var(--o2c-blue);
  box-shadow: 0 0 0 3px var(--o2c-blue-tint);
}

.o2c-opt-ic {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 13px;
  background: var(--o2c-blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.o2c-opt-ic svg {
  width: 25px;
  height: 25px;
  stroke: var(--o2c-blue);
  color: var(--o2c-blue);
}

.o2c-opt.is-sel .o2c-opt-ic {
  background: var(--o2c-blue);
}

.o2c-opt.is-sel .o2c-opt-ic svg {
  stroke: #fff;
  color: #fff;
}

.o2c-opt-body {
  flex: 1;
  min-width: 0;
}

.o2c-opt-body b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.o2c-opt-body p {
  margin-top: 3px;
  font-size: 13px;
  color: var(--o2c-muted);
}

.o2c-opt-check {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--o2c-line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}

.o2c-opt.is-sel .o2c-opt-check,
.o2c-opt-check.is-sel {
  background: var(--o2c-blue);
  border-color: var(--o2c-blue);
}

.o2c-opt-check svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  color: #fff;
  opacity: 0;
  transition: 0.15s;
}

.o2c-opt.is-sel .o2c-opt-check svg,
.o2c-opt-check.is-sel svg {
  opacity: 1;
}

.o2c-express {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 18px;
  padding: 16px 18px;
  text-align: left;
  border-radius: var(--o2c-r-md);
  background: linear-gradient(100deg, #fff6e9, #fffdf8);
  border: 1.5px solid var(--o2c-amber-line);
}

.o2c-express.is-on {
  border-color: var(--o2c-amber);
  box-shadow: 0 0 0 3px rgba(232, 135, 10, 0.13);
}

.o2c-express-ic {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--o2c-amber-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.o2c-express-ic svg {
  width: 21px;
  height: 21px;
  stroke: var(--o2c-amber);
  color: var(--o2c-amber);
  fill: var(--o2c-amber);
}

.o2c-express-body {
  flex: 1;
}

.o2c-express-body b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--o2c-amber-ink);
}

.o2c-express-body p {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--o2c-amber-ink-2);
}

.o2c-express-fee {
  font-size: 13px;
  font-weight: 800;
  color: var(--o2c-amber-ink);
  white-space: nowrap;
}

.o2c-switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex: none;
  border-radius: 99px;
  background: var(--o2c-line-2);
  transition: 0.2s;
}

.o2c-switch.is-on {
  background: var(--o2c-amber);
}

.o2c-switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}

.o2c-switch.is-on i {
  left: 23px;
}

/* --------------------------------------------------------------------------
   Step 2 — cylinder sizes
   -------------------------------------------------------------------------- */

.o2c-size-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.o2c-size {
  position: relative;
  overflow: hidden;
  padding: 16px;
  text-align: left;
  background: var(--o2c-card);
  border: 1.5px solid var(--o2c-line);
  border-radius: var(--o2c-r-md);
  transition: 0.15s;
}

.o2c-size:hover {
  border-color: var(--o2c-blue-tint-2);
  box-shadow: var(--o2c-shadow-sm);
}

.o2c-size.is-sel {
  border-color: var(--o2c-blue);
  box-shadow: 0 0 0 3px var(--o2c-blue-tint);
}

.o2c-size-tank {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  margin-bottom: 10px;
}

.o2c-tank {
  position: relative;
  width: 34px;
  flex: none;
  border-radius: 9px 9px 5px 5px;
  background: linear-gradient(180deg, #2c9a4c, #1e7d38);
}

.o2c-tank::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 9px;
  border-radius: 3px 3px 0 0;
  background: #9aa6ae;
}

.o2c-size.is-sel .o2c-tank {
  background: linear-gradient(180deg, var(--o2c-blue-700), var(--o2c-blue));
}

.o2c-size-cap b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.o2c-size-cap span {
  display: block;
  font-size: 12px;
  color: var(--o2c-muted);
}

.o2c-size-meta {
  min-height: 32px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--o2c-muted);
}

.o2c-size-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.o2c-size-price b {
  font-size: 16px;
  font-weight: 800;
  color: var(--o2c-blue);
}

.o2c-size-price span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--o2c-muted-2);
}

.o2c-size-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: var(--o2c-green);
  border-bottom-left-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.o2c-qty {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--o2c-line-2);
  border-radius: 10px;
}

.o2c-qty button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--o2c-blue);
  transition: 0.12s;
}

.o2c-qty button:hover:not(:disabled) {
  background: var(--o2c-blue-tint);
}

.o2c-qty button:disabled {
  color: var(--o2c-line-2);
  cursor: not-allowed;
}

.o2c-qty output {
  min-width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Step 3 — address
   -------------------------------------------------------------------------- */

.o2c-field {
  margin-bottom: 16px;
  border: 0;
}

.o2c-field label,
.o2c-field legend {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--o2c-ink);
  padding: 0;
}

.o2c-field label em,
.o2c-field legend em {
  font-style: normal;
  font-weight: 600;
  color: var(--o2c-muted-2);
}

.o2c-ctrl {
  width: 100%;
  padding: 13px 15px;
  font-size: 16px; /* 16px, not the prototype's 15px: below 16 iOS zooms on focus */
  background: #fff;
  border: 1.5px solid var(--o2c-line-2);
  border-radius: var(--o2c-r-sm);
  transition: 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.o2c-ctrl::placeholder {
  color: var(--o2c-muted-2);
  opacity: 1;
}

.o2c-ctrl:focus {
  border-color: var(--o2c-blue);
  box-shadow: 0 0 0 3px var(--o2c-blue-tint);
}

textarea.o2c-ctrl {
  min-height: 78px;
  line-height: 1.5;
  resize: vertical;
}

.o2c-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.o2c-phone-wrap {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--o2c-line-2);
  border-radius: var(--o2c-r-sm);
  transition: 0.15s;
}

.o2c-phone-wrap:focus-within {
  border-color: var(--o2c-blue);
  box-shadow: 0 0 0 3px var(--o2c-blue-tint);
}

.o2c-phone-pre {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 700;
  color: var(--o2c-blue);
  background: var(--o2c-blue-tint);
  border-right: 1.5px solid var(--o2c-line-2);
  white-space: nowrap;
}

.o2c-phone-wrap input {
  flex: 1;
  min-width: 0;
  padding: 13px 15px;
  border: none;
  background: none;
}

.o2c-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.o2c-chip {
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--o2c-ink);
  background: #fff;
  border: 1.5px solid var(--o2c-line-2);
  border-radius: 99px;
  transition: 0.13s;
}

.o2c-chip:hover {
  border-color: var(--o2c-blue-tint-2);
}

.o2c-chip.is-sel {
  color: #fff;
  background: var(--o2c-blue);
  border-color: var(--o2c-blue);
}

.o2c-region-label {
  margin: 14px 0 9px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--o2c-muted-2);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* --------------------------------------------------------------------------
   Step 4 — date + slots
   -------------------------------------------------------------------------- */

.o2c-date-scroll {
  display: flex;
  gap: 10px;
  padding: 4px 2px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.o2c-date-scroll::-webkit-scrollbar {
  display: none;
}

.o2c-date {
  position: relative;
  width: 78px;
  flex: none;
  padding: 13px 0;
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--o2c-line);
  border-radius: 14px;
  transition: 0.14s;
}

.o2c-date:hover {
  border-color: var(--o2c-blue-tint-2);
}

.o2c-date.is-sel {
  color: #fff;
  background: var(--o2c-blue);
  border-color: var(--o2c-blue);
}

.o2c-date .o2c-dow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--o2c-muted);
}

.o2c-date.is-sel .o2c-dow {
  color: #bfd9ec;
}

.o2c-date .o2c-dnum {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 800;
}

.o2c-date .o2c-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  background: var(--o2c-amber);
  border-radius: 99px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.o2c-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.o2c-slot {
  padding: 16px;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--o2c-line);
  border-radius: var(--o2c-r-md);
  transition: 0.14s;
}

.o2c-slot:hover:not(.is-dis) {
  border-color: var(--o2c-blue-tint-2);
  box-shadow: var(--o2c-shadow-sm);
}

.o2c-slot.is-sel {
  background: #f5fafe;
  border-color: var(--o2c-blue);
  box-shadow: 0 0 0 3px var(--o2c-blue-tint);
}

.o2c-slot.is-dis {
  opacity: 0.5;
  cursor: not-allowed;
}

.o2c-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.o2c-slot-time {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.o2c-slot-win {
  font-size: 12.5px;
  color: var(--o2c-muted);
}

.o2c-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 99px;
  white-space: nowrap;
}

.o2c-tag svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
}

.o2c-tag--early {
  color: var(--o2c-blue);
  background: var(--o2c-blue-tint);
}

.o2c-tag--avail {
  color: var(--o2c-green-deep);
  background: var(--o2c-green-tint);
}

.o2c-tag--few {
  color: var(--o2c-amber-ink);
  background: var(--o2c-amber-tint);
}

.o2c-tag--full {
  color: #9aa6ae;
  background: #f1f1f1;
}

/* --------------------------------------------------------------------------
   Step 5 — contact, summary, payment
   -------------------------------------------------------------------------- */

.o2c-sum-card {
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
  border: 1.5px solid var(--o2c-line);
  border-radius: var(--o2c-r-md);
}

.o2c-sum-sec {
  padding: 16px 18px;
  border-bottom: 1px solid var(--o2c-line);
}

.o2c-sum-sec:last-child {
  border-bottom: none;
}

.o2c-sum-sec h5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--o2c-muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: inherit;
}

.o2c-sum-sec h5 button {
  font-size: 11px;
  font-weight: 800;
  color: var(--o2c-blue);
  text-transform: none;
  letter-spacing: 0;
}

.o2c-sum-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
}

.o2c-sum-line .o2c-k {
  color: var(--o2c-muted);
}

.o2c-sum-line .o2c-v {
  font-weight: 600;
  text-align: right;
}

.o2c-sum-line--express .o2c-k {
  font-weight: 700;
  color: var(--o2c-amber);
}

.o2c-sum-line--addr .o2c-v {
  text-align: left;
}

.o2c-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--o2c-blue-tint);
}

.o2c-sum-total .o2c-k {
  font-size: 15px;
  font-weight: 700;
}

.o2c-sum-total .o2c-v {
  font-size: 22px;
  font-weight: 800;
  color: var(--o2c-blue);
}

.o2c-pay {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.o2c-pay-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--o2c-line);
  border-radius: var(--o2c-r-sm);
  transition: 0.14s;
}

.o2c-pay-opt:hover {
  border-color: var(--o2c-blue-tint-2);
}

.o2c-pay-opt.is-sel {
  border-color: var(--o2c-blue);
  box-shadow: 0 0 0 3px var(--o2c-blue-tint);
}

.o2c-pay-logo {
  width: 42px;
  height: 42px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.o2c-pay-body {
  flex: 1;
}

.o2c-pay-body b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}

.o2c-pay-body span {
  font-size: 12px;
  color: var(--o2c-muted);
}

.o2c-radio {
  position: relative;
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--o2c-line-2);
  transition: 0.14s;
}

.o2c-pay-opt.is-sel .o2c-radio {
  border-color: var(--o2c-blue);
}

.o2c-pay-opt.is-sel .o2c-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--o2c-blue);
}

/* --------------------------------------------------------------------------
   Sticky footer CTA
   -------------------------------------------------------------------------- */

.o2c-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 36px 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(238, 243, 247, 0), var(--o2c-bg) 28%);
}

.o2c-foot-inner {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.o2c-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 16px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--o2c-blue);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 78, 119, 0.28);
  transition: 0.16s;
}

.o2c-cta:hover:not(:disabled) {
  background: var(--o2c-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 78, 119, 0.34);
}

.o2c-cta:disabled {
  color: #fff;
  background: var(--o2c-line-2);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.o2c-cta svg {
  width: 19px;
  height: 19px;
  stroke: #fff;
  color: #fff;
}

.o2c-cta.is-busy {
  cursor: progress;
}

.o2c-foot-note {
  text-align: center;
  font-size: 12px;
  color: var(--o2c-muted);
}

.o2c-foot-note b {
  font-weight: 700;
  color: var(--o2c-green-deep);
}

@media screen and (max-width: 900px) {
  .o2c-foot {
    padding: 14px 18px 18px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------------------------
   Confirmation
   -------------------------------------------------------------------------- */

.o2c-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 26px 30px;
}

.o2c-confirm-badge {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--o2c-green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.o2c-confirm-badge::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--o2c-green-tint);
}

.o2c-confirm-badge svg {
  width: 48px;
  height: 48px;
  stroke: var(--o2c-green);
  color: var(--o2c-green);
  stroke-width: 2.5;
}

.o2c-confirm h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: inherit;
  color: var(--o2c-ink);
}

.o2c-confirm > p {
  max-width: 40ch;
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--o2c-muted);
}

.o2c-confirm-ref {
  margin-top: 22px;
  padding: 16px 26px;
  background: var(--o2c-blue-tint);
  border-radius: 14px;
}

.o2c-confirm-ref span {
  font-size: 11px;
  font-weight: 800;
  color: var(--o2c-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.o2c-confirm-ref b {
  display: block;
  margin-top: 3px;
  font-size: 24px;
  font-weight: 800;
  color: var(--o2c-blue);
  letter-spacing: 0.05em;
}

.o2c-confirm-eta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--o2c-ink);
  background: #fff;
  border: 1.5px solid var(--o2c-line);
  border-radius: 12px;
}

.o2c-confirm-eta svg {
  width: 18px;
  height: 18px;
  stroke: var(--o2c-green);
  color: var(--o2c-green);
}

.o2c-confirm-eta b {
  font-weight: 800;
  color: var(--o2c-green-deep);
}

.o2c-confirm-eta--hotline {
  border-color: var(--o2c-blue-tint-2);
}

.o2c-confirm-eta--hotline b {
  color: var(--o2c-blue);
}

.o2c-confirm-eta a {
  color: inherit;
  text-decoration: none;
}

.o2c-again {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
  padding: 14px 30px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--o2c-blue);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 78, 119, 0.28);
  transition: 0.16s;
}

.o2c-again:hover {
  background: var(--o2c-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 78, 119, 0.34);
}

.o2c-again:active {
  transform: translateY(0);
}

.o2c-again svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Shared helpers
   -------------------------------------------------------------------------- */

.o2c-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 4px;
  padding: 13px 15px;
  background: #fff;
  border: 1.5px solid var(--o2c-line);
  border-radius: 12px;
}

.o2c-note svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  stroke: var(--o2c-blue);
  color: var(--o2c-blue);
}

.o2c-note p {
  font-size: 13px;
  color: var(--o2c-muted);
}

.o2c-note b {
  color: var(--o2c-ink);
}

.o2c-note--qty {
  margin-top: 18px;
  align-items: center;
  justify-content: space-between;
}

.o2c-note--qty > div {
  display: flex;
  gap: 9px;
  align-items: center;
}

.o2c-note--express {
  margin-bottom: 14px;
  background: #fff9ef;
  border-color: var(--o2c-amber-line);
}

.o2c-note--express svg {
  stroke: var(--o2c-amber);
  color: var(--o2c-amber);
  fill: var(--o2c-amber);
}

.o2c-note--express b {
  color: var(--o2c-amber-ink);
}

.o2c-note--error {
  background: #fdf3f2;
  border-color: #f0c6c1;
}

.o2c-note--error svg {
  stroke: var(--o2c-danger);
  color: var(--o2c-danger);
}

.o2c-note--error b {
  color: var(--o2c-danger);
}

.o2c-fade-in {
  animation: o2c-fade-in 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

@keyframes o2c-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .o2c *,
  .o2c *::before,
  .o2c *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .o2c-cta:hover:not(:disabled),
  .o2c-again:hover {
    transform: none;
  }
}

@media screen and (max-width: 560px) {
  .o2c-slots {
    grid-template-columns: 1fr;
  }

  .o2c-field-row {
    grid-template-columns: 1fr;
  }
}
