:root {
  --mco-accent: #ef5902;
  --mco-secondary: #242424;
  --mco-max-width: 680px;
  --mco-ink: #242424;
  --mco-muted: #737373;
  --mco-faint: #9a9a9a;
  --mco-line: #eceae8;
  --mco-surface: #f8f7f5;
  --mco-warm: #fff7f2;
  --mco-panel: #ffffff;
  --mco-radius: 24px;
}

html.mco-lock,
html.mco-lock body { overflow: hidden !important; }

.mco-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .24s ease;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.mco-modal[hidden] { display: none !important; }
.mco-modal.is-open { opacity: 1; }

.mco-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18,18,18,.60);
  backdrop-filter: blur(9px) saturate(.92);
  -webkit-backdrop-filter: blur(9px) saturate(.92);
}

.mco-dialog {
  position: relative;
  width: min(100%, var(--mco-max-width));
  max-height: min(92vh, 920px);
  overflow: hidden;
  background: var(--mco-panel);
  color: var(--mco-secondary);
  border: 1px solid rgba(36,36,36,.08);
  border-radius: var(--mco-radius);
  box-shadow:
    0 42px 100px rgba(0,0,0,.24),
    0 14px 36px rgba(0,0,0,.12),
    0 1px 0 rgba(255,255,255,.92) inset;
  transform: translateY(14px) scale(.985);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.mco-modal.is-open .mco-dialog { transform: translateY(0) scale(1); }

/* Compact headerless shell: the content starts immediately. */
.mco-x {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mco-line);
  border-radius: 50%;
  background: rgba(250,249,248,.96);
  color: #6c6c6c;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(36,36,36,.06);
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}
.mco-x:hover,
.mco-x:focus-visible {
  color: var(--mco-secondary);
  border-color: rgba(36,36,36,.22);
  background: #fff;
  transform: scale(1.03);
  outline: 0;
}

.mco-dialog-scroll {
  overflow: auto;
  max-height: min(92vh, 920px);
  padding: 28px 34px 26px;
  background: var(--mco-panel);
  scrollbar-color: #cbc7c3 transparent;
  scrollbar-width: thin;
}
.mco-dialog-scroll::-webkit-scrollbar { width: 6px; }
.mco-dialog-scroll::-webkit-scrollbar-track { background: transparent; }
.mco-dialog-scroll::-webkit-scrollbar-thumb { background: #cbc7c3; border-radius: 999px; }

.mco-header {
  text-align: left;
  padding: 0 54px 22px 0;
}
.mco-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px;
  padding: 0;
  background: transparent;
  color: var(--mco-accent);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .135em;
}
.mco-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mco-accent);
  box-shadow: 0 0 0 4px rgba(239,89,2,.10);
}
.mco-header h2 {
  margin: 0 0 9px;
  color: var(--mco-secondary);
  font-size: clamp(28px, 4.4vw, 36px);
  line-height: 1.08;
  font-weight: 720;
  letter-spacing: -.034em;
}
.mco-header p {
  margin: 0;
  max-width: 530px;
  color: var(--mco-muted);
  font-size: 15px;
  line-height: 1.55;
}

.mco-orientation {
  display: grid;
  gap: 11px;
}
.mco-choice {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) 28px;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  min-height: 72px;
  height: 72px;
  padding: 12px 14px;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #efedeb;
  border-radius: 15px;
  background: #fff;
  color: var(--mco-secondary) !important;
  text-decoration: none !important;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(36,36,36,.035);
  transition:
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}
.mco-choice::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.70);
  pointer-events: none;
}
.mco-choice:hover,
.mco-choice:focus-visible {
  border-color: rgba(239,89,2,.38);
  background: #fffdfc;
  box-shadow: 0 11px 28px rgba(36,36,36,.075);
  transform: translateY(-2px);
  outline: none;
}
.mco-choice:focus,
.mco-choice:active {
  outline: none;
}

.mco-choice::-moz-focus-inner {
  border: 0;
}
.mco-choice-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--mco-warm);
  color: var(--mco-accent);
  border: 1px solid rgba(239,89,2,.10);
  box-shadow: 0 3px 10px rgba(239,89,2,.06);
}
.mco-choice-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mco-choice-icon svg path[d^="M13"] { fill: currentColor; stroke: none; }
.mco-choice-copy { min-width: 0; display: block; }
.mco-choice-copy strong {
  display: block;
  color: var(--mco-secondary);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mco-choice-copy small {
  display: block;
  margin-top: 4px;
  color: #8a8886;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mco-choice-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--mco-accent);
  background: transparent;
  font-size: 17px;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}
.mco-choice:hover .mco-choice-arrow {
  transform: translateX(2px);
  background: var(--mco-warm);
}

.mco-search-form {
  display: flex;
  margin-top: 0;
  border: 1px solid rgba(239,89,2,.28);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(36,36,36,.06);
}
.mco-search-form[hidden] { display: none; }
.mco-search-form input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  padding: 15px 16px;
  font: inherit;
  outline: 0;
  color: var(--mco-secondary);
  background: #fff;
}
.mco-search-form button {
  width: 58px;
  flex: 0 0 58px;
  border: 0;
  background: var(--mco-secondary);
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  transition: background .16s ease;
}
.mco-search-form button:hover { background: var(--mco-accent); }

/* Premium offer card: brand-dark base + controlled orange accents. */
.mco-promo {
  position: relative;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 6%, rgba(239,89,2,.28), transparent 26%),
    linear-gradient(145deg, #2d2d2d 0%, var(--mco-secondary) 57%, #1f1f1f 100%);
  overflow: hidden;
  box-shadow:
    0 20px 42px rgba(36,36,36,.18),
    0 1px 0 rgba(255,255,255,.04) inset;
}
.mco-promo::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -112px;
  top: -138px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.mco-promo::after {
  content: "";
  position: absolute;
  width: 125px;
  height: 125px;
  right: -64px;
  top: -55px;
  border-radius: 50%;
  background: rgba(239,89,2,.10);
  filter: blur(2px);
  pointer-events: none;
}
.mco-promo-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mco-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.92);
  font-size: 9px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .10em;
  backdrop-filter: blur(4px);
}
.mco-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--mco-accent);
  box-shadow: 0 0 0 3px rgba(239,89,2,.15);
}
.mco-promo h3 {
  position: relative;
  z-index: 1;
  margin: 15px 0 17px;
  color: #fff;
  font-size: clamp(25px, 4.3vw, 31px);
  line-height: 1.06;
  font-weight: 680;
  letter-spacing: -.027em;
  text-align: center;
}
.mco-timer-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 7px 9px 7px 11px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.62);
  font-size: 10px;
  white-space: nowrap;
}
.mco-timer-wrap strong {
  min-width: 52px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .025em;
}

.mco-code {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) 34px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px 10px 15px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--mco-secondary);
  cursor: pointer;
  box-shadow:
    0 9px 24px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.50) inset;
  transition: transform .16s ease, box-shadow .16s ease;
}
.mco-code:hover,
.mco-code:focus-visible,
.mco-code.is-copied {
  transform: translateY(-1px);
  box-shadow:
    0 12px 30px rgba(0,0,0,.21),
    0 0 0 2px rgba(239,89,2,.22) inset;
  outline: 0;
}
.mco-code-label {
  color: #9a9692;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .12em;
}
.mco-code strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--mco-secondary);
  font-size: 18px;
  text-align: center;
  font-weight: 760;
  letter-spacing: .10em;
}
.mco-copy-icon {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--mco-warm);
  color: var(--mco-accent);
}
.mco-copy-status {
  min-height: 22px;
  padding-top: 7px;
  color: rgba(255,255,255,.52);
  font-size: 10px;
  text-align: center;
}

.mco-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 4px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: var(--mco-accent);
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .025em;
  box-shadow: 0 10px 26px rgba(239,89,2,.23);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.mco-cta:hover,
.mco-cta:focus-visible {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(239,89,2,.30);
  filter: brightness(1.045);
  outline: 0;
}
.mco-note {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.mco-continue {
  display: block;
  margin: 18px auto 0;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: #8a8886;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  text-decoration: none;
  transition: color .15s ease;
}
.mco-continue::after {
  content: "  →";
  color: var(--mco-accent);
}
.mco-continue:hover,
.mco-continue:focus-visible { color: var(--mco-secondary); outline: 0; }

.mco-modal.is-expired .mco-code,
.mco-modal.is-expired .mco-cta { opacity: .45; pointer-events: none; }

@media (min-width: 760px) {
  .mco-dialog[style*="--mco-max-width"] { max-width: var(--mco-max-width); }
}

@media (max-width: 640px) {
  .mco-modal {
    padding: 8px;
    align-items: end;
  }
  .mco-backdrop {
    background: rgba(18,18,18,.64);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }
  .mco-dialog {
    width: 100%;
    max-height: 96vh;
    border-radius: 22px 22px 10px 10px;
  }
  .mco-x {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
  .mco-dialog-scroll {
    max-height: 96vh;
    padding: 20px 16px 16px;
  }
  .mco-header { padding: 0 46px 18px 0; }
  .mco-header h2 { font-size: 28px; }
  .mco-header p { font-size: 14px; }
  .mco-choice {
    grid-template-columns: 42px minmax(0,1fr) 26px;
    min-height: 66px;
    height: 66px;
    padding: 10px 11px;
    gap: 11px;
    border-radius: 13px;
  }
  .mco-choice-icon { width: 42px; height: 42px; border-radius: 12px; }
  .mco-choice-copy strong { font-size: 14px; }
  .mco-choice-copy small { font-size: 11px; }
  .mco-promo {
    padding: 17px 14px 15px;
    margin-top: 18px;
    border-radius: 17px;
  }
  .mco-promo-topline { align-items: center; }
  .mco-promo h3 { margin-top: 14px; font-size: 25px; }
  .mco-timer-wrap span { display: none; }
  .mco-timer-wrap { padding-left: 9px; }
  .mco-code {
    grid-template-columns: minmax(0,1fr) 34px;
    min-height: 58px;
    padding-left: 13px;
  }
  .mco-code-label { display: none; }
  .mco-code strong { text-align: left; font-size: 16px; }
  .mco-cta { min-height: 48px; }
}

@media (max-width: 390px) {
  .mco-choice-copy small { display: none; }
  .mco-badge { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mco-promo h3 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .mco-modal,
  .mco-dialog,
  .mco-choice,
  .mco-choice-arrow,
  .mco-code,
  .mco-cta,
  .mco-x { transition: none !important; }
}

.mco-modal .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* v2.0 persistent offer surfaces */
.mco-floating-offer{position:fixed;right:22px;bottom:22px;z-index:999990;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 16px;border:0;border-radius:999px;background:var(--mco-secondary,#242424);color:#fff;box-shadow:0 16px 38px rgba(0,0,0,.22);font:inherit;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.mco-floating-offer[hidden]{display:none!important}.mco-floating-offer.is-left{right:auto;left:22px}.mco-floating-offer:hover,.mco-floating-offer:focus-visible{transform:translateY(-2px);box-shadow:0 19px 44px rgba(0,0,0,.27);outline:0}.mco-floating-dot{width:8px;height:8px;border-radius:50%;background:var(--mco-accent,#ef5902);box-shadow:0 0 0 5px rgba(239,89,2,.18)}.mco-floating-offer strong{font-size:13px;letter-spacing:.01em;font-variant-numeric:tabular-nums}
.mco-cart-notice{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;border:1px solid rgba(239,89,2,.18);border-radius:12px;background:#fff8f3;color:#242424;font-size:13px;line-height:1.4}.mco-cart-notice-dot{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#ef5902}.mco-inline-timer{font-weight:800;font-variant-numeric:tabular-nums;color:#ef5902}
.mco-debug-panel{position:fixed;left:14px;bottom:14px;z-index:9999999;width:min(360px,calc(100vw - 28px));max-height:44vh;overflow:auto;padding:12px;border-radius:12px;background:rgba(20,20,20,.94);color:#fff;box-shadow:0 18px 50px rgba(0,0,0,.28);font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.mco-debug-panel[hidden]{display:none!important}.mco-debug-panel>strong{display:block;margin-bottom:8px;color:#ef5902}.mco-debug-panel div{display:grid;grid-template-columns:88px 1fr;gap:8px;padding:3px 0;border-top:1px solid rgba(255,255,255,.06)}.mco-debug-panel span{color:#aaa}.mco-debug-panel code{color:#fff;background:transparent;padding:0;overflow-wrap:anywhere}
.mco-modal.is-expired .mco-cta{opacity:1;pointer-events:auto}.mco-modal.is-expired .mco-code{opacity:.45;pointer-events:none}
@media(max-width:640px){.mco-floating-offer{right:12px;bottom:12px;max-width:calc(100vw - 24px);min-height:44px;padding:9px 13px}.mco-floating-offer.is-left{left:12px}.mco-debug-panel{display:none!important}}
