.jlo, .jlo * { box-sizing: border-box; }
.jlo {
  --jlo-navy: #0B1F3A;
  --jlo-mist: #F4F7FB;
  --jlo-white: #FFFFFF;
  --jlo-border: #DCE4EE;
  --jlo-outline: #C5D3E2;
  --jlo-ink: #1C2B3D;
  --jlo-slate: #44576C;
  --jlo-muted: #5B7188;
  --jlo-blue: #2F5C8A;
  width: min(100%, 1160px);
  margin-inline: auto;
  color: var(--jlo-slate);
  font: 400 18px/1.7 "Nunito Sans", "Manrope Local", system-ui, sans-serif;
}
.jlo h2, .jlo h3, .jlo h4 { margin: 0; color: var(--jlo-ink); font-family: inherit; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.jlo h2 { font-size: clamp(32px, 4vw, 48px); }
.jlo h3 { font-size: clamp(22px, 2.5vw, 28px); }
.jlo p { margin: 0; }
.jlo a { color: var(--jlo-blue); }
.jlo :is(button, a, input, select, textarea):focus-visible, .jlo-toast a:focus-visible { outline: 3px solid var(--jlo-blue); outline-offset: 3px; }
.jlo-intro { margin-bottom: 22px; }
.jlo-intro p { margin-top: 10px; color: var(--jlo-slate); }
.jlo-note { margin-bottom: 22px !important; color: var(--jlo-muted); font-size: 14px; }
.jlo-alert { margin: 0 0 24px; padding: 15px 18px; border: 1px solid #BAD1E7; border-radius: 10px; background: #EAF3FA; color: var(--jlo-ink); font-size: 15px; line-height: 1.55; }
.jlo-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--jlo-blue); border-radius: 10px; background: var(--jlo-blue); color: #FFFFFF !important; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none !important; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.jlo-button:hover { background: #244C75; transform: translateY(-1px); }
.jlo-button--outline { border-color: var(--jlo-outline); background: var(--jlo-white); color: var(--jlo-blue) !important; }
.jlo-button--outline:hover { border-color: var(--jlo-blue); background: var(--jlo-mist); }
.jlo-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.jlo-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.jlo [hidden], .jlo-toast[hidden] { display: none !important; }

/* Browser cart */
.jlo-cart__item { display: grid; grid-template-columns: 105px minmax(0, 1fr) auto; gap: 17px; align-items: center; margin-bottom: 12px; padding: 14px; border: 1px solid var(--jlo-border); border-radius: 16px; background: var(--jlo-white); }
.jlo-cart__photo { width: 105px; height: 100px; object-fit: cover; border-radius: 10px; background: #E3EAF3; }
.jlo-cart__body { min-width: 0; }
.jlo-cart__body h3 { margin-bottom: 4px; font-size: 18px; line-height: 1.35; }
.jlo-cart__body p { color: var(--jlo-muted); font-size: 14px; }
.jlo-cart__price { display: block; color: var(--jlo-blue); font-size: 17px; font-weight: 800; white-space: nowrap; }
.jlo-cart__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.jlo-quantity { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--jlo-outline); border-radius: 10px; background: var(--jlo-white); }
.jlo-quantity button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--jlo-blue); font-size: 24px; line-height: 1; cursor: pointer; }
.jlo-quantity button:hover { background: var(--jlo-mist); }
.jlo-quantity span { display: inline-block; min-width: 32px; color: var(--jlo-ink); font-size: 16px; font-weight: 800; text-align: center; }
.jlo-cart__remove { min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--jlo-muted); font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: underline; cursor: pointer; }
.jlo-cart__remove:hover { color: var(--jlo-blue); }
.jlo-empty { padding: 32px; border: 1px solid var(--jlo-border); border-radius: 16px; background: var(--jlo-white); text-align: center; }
.jlo-empty p { margin-bottom: 16px; }
.jlo-cart__totals { max-width: 550px; margin: 24px 0 0 auto; padding: 22px; border: 1px solid var(--jlo-border); border-radius: 16px; background: var(--jlo-white); }
.jlo-cart__totals > div:not(.jlo-actions) { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; }
.jlo-cart__totals strong { color: var(--jlo-blue); white-space: nowrap; }
.jlo-cart__total { margin-top: 9px; padding-top: 14px !important; border-top: 1px solid var(--jlo-border); font-weight: 800; }
.jlo-cart__totals p { margin: 14px 0 18px; color: var(--jlo-muted); font-size: 14px; line-height: 1.55; }
.jlo-cart__totals .jlo-actions { margin-top: 14px; }

/* Three-step checkout preview */
.jlo-checkout__layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); align-items: start; gap: 24px; }
.jlo-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.jlo-progress li { padding: 10px 11px; border: 1px solid var(--jlo-border); border-radius: 10px; background: var(--jlo-white); color: var(--jlo-muted); font-size: 13px; font-weight: 700; line-height: 1.35; text-align: center; }
.jlo-progress li[aria-current="step"] { border-color: var(--jlo-blue); background: #EAF3FA; color: var(--jlo-blue); }
.jlo-form, .jlo-checkout__summary { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--jlo-border); border-radius: 16px; background: var(--jlo-white); }
.jlo-form h3 { margin-bottom: 18px; }
.jlo-form label { display: block; margin-bottom: 17px; color: var(--jlo-ink); font-size: 15px; font-weight: 700; }
.jlo-form label small { color: var(--jlo-muted); font-size: 13px; font-weight: 400; }
.jlo-form input:not([type="radio"]), .jlo-form textarea, .jlo-form select { display: block; width: 100%; min-height: 44px; margin-top: 7px; padding: 10px 12px; border: 1px solid var(--jlo-outline); border-radius: 10px; background: var(--jlo-white); color: var(--jlo-ink); font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.4; }
.jlo-form textarea { min-height: 104px; resize: vertical; }
.jlo-form input::placeholder, .jlo-form textarea::placeholder { color: var(--jlo-muted); }
.jlo-form input:focus, .jlo-form textarea:focus, .jlo-form select:focus { border-color: var(--jlo-blue); }
.jlo-form .jlo-actions { margin-top: 20px; }
.jlo-choice { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.jlo-choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 8px 13px; border: 1px solid var(--jlo-outline); border-radius: 10px; background: var(--jlo-white); cursor: pointer; }
.jlo-choice label:has(input:checked) { border-color: var(--jlo-blue); background: #EAF3FA; }
.jlo-choice input { accent-color: var(--jlo-blue); }
.jlo-error { margin-bottom: 15px !important; padding: 11px 13px; border: 1px solid #DAA3A3; border-radius: 10px; background: #FFF2F2; color: #8E2929; font-size: 15px; }
.jlo-map-note { margin-bottom: 12px !important; color: var(--jlo-muted); font-size: 14px; }
.jlo-map { width: 100%; height: 330px; min-height: 330px; border: 1px solid var(--jlo-border); border-radius: 10px; background: #E3EAF3; }
.jlo-map + .jlo-actions { margin-top: 12px; }
.jlo-map-status { margin: 9px 0 16px !important; color: var(--jlo-muted); font-size: 14px; }
.jlo-review { margin: 19px 0; padding: 16px; border: 1px solid var(--jlo-border); border-radius: 10px; background: var(--jlo-mist); font-size: 15px; }
.jlo-review p + p { margin-top: 4px; }
.jlo-checkout__summary h3 { margin-bottom: 16px; font-size: 22px; }
.jlo-summary__item { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--jlo-border); font-size: 15px; line-height: 1.45; }
.jlo-summary__item strong { flex: 0 0 auto; color: var(--jlo-blue); }
.jlo-checkout__summary .jlo-cart__totals { margin: 15px 0 0; padding: 0; border: 0; }
.jlo-checkout__summary .jlo-cart__totals > div { font-size: 14px; }
.jlo-checkout__empty { padding: 25px; border: 1px solid var(--jlo-border); border-radius: 16px; background: var(--jlo-white); }
.jlo-checkout__empty p { margin-bottom: 15px; }

/* The tracker is an explicitly labelled preview, never a fabricated order. */
.jlo-tracker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.jlo-tracker li { overflow: hidden; border: 1px solid var(--jlo-border); border-radius: 10px; background: var(--jlo-white); color: var(--jlo-muted); font-size: 15px; font-weight: 700; text-align: center; }
.jlo-tracker li:has(button[aria-pressed="true"]) { border-color: var(--jlo-blue); background: #EAF3FA; }
.jlo-tracker button { display: grid; place-items: center; width: 100%; min-height: 72px; padding: 14px 12px; border: 0; background: transparent; color: inherit; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.35; cursor: pointer; }
.jlo-tracker button:hover, .jlo-tracker button[aria-pressed="true"] { color: var(--jlo-blue); }
.jlo-status__heading { margin: 30px 0 8px !important; }
.jlo-stage-detail { margin: 0 0 20px !important; padding: 15px 17px; border: 1px solid var(--jlo-border); border-radius: 10px; background: var(--jlo-white); color: var(--jlo-slate); font-size: 15px; }
.jlo-demo { margin: 0 0 25px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--jlo-border); border-radius: 16px; background: var(--jlo-white); }
.jlo-demo__badge { display: inline-block; margin-bottom: 14px !important; padding: 6px 10px; border: 1px solid #BAD1E7; border-radius: 6px; background: #EAF3FA; color: var(--jlo-blue); font-size: 12px; font-weight: 800; letter-spacing: .035em; }
.jlo-demo h3 { margin-bottom: 16px; font-size: clamp(22px, 2.5vw, 28px); }
.jlo-demo__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0 0 20px; }
.jlo-demo__details > div { padding: 10px 0; border-bottom: 1px solid var(--jlo-border); }
.jlo-demo__details dt { color: var(--jlo-muted); font-size: 13px; font-weight: 700; }
.jlo-demo__details dd { margin: 2px 0 0; color: var(--jlo-ink); font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.jlo-demo__empty { padding: 22px; border: 1px solid var(--jlo-border); border-radius: 16px; background: var(--jlo-white); }
.jlo-demo__empty p { margin-bottom: 14px; }

.jlo-toast { position: fixed; right: 20px; bottom: 20px; z-index: 999999; display: flex; gap: 16px; align-items: center; max-width: min(430px, calc(100vw - 40px)); padding: 15px 18px; border: 1px solid var(--jlo-border, #DCE4EE); border-radius: 12px; background: #0B1F3A; box-shadow: 0 15px 40px rgba(11,31,58,.26); color: #FFFFFF; font: 700 15px/1.4 "Nunito Sans", system-ui, sans-serif; }
.jlo-toast a { color: #9AD0F7; white-space: nowrap; }

@media (max-width: 800px) {
  .jlo-checkout__layout { grid-template-columns: 1fr; }
  .jlo-checkout__summary { order: -1; }
}
@media (max-width: 560px) {
  .jlo-cart__item { grid-template-columns: 80px minmax(0, 1fr); gap: 11px; padding: 11px; }
  .jlo-cart__photo { width: 80px; height: 82px; }
  .jlo-cart__controls { grid-column: 1 / -1; justify-content: space-between; padding-top: 7px; border-top: 1px solid var(--jlo-border); }
  .jlo-progress li { font-size: 11px; }
  .jlo-tracker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jlo-demo__details { grid-template-columns: 1fr; }
  .jlo-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .jlo *, .jlo-toast * { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
