@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');

  .ahd-lab,
  .ahd-lab * {
    box-sizing: border-box;
  }

  /* ====== Color tokens — Dye Loudly LIGHT theme ====== */
  .ahd-lab {
    --bg: #ffffff;
    --bg-elev: #f6f6f6;
    --bg-elev-2: #efefef;
    --fg: #111111;
    --muted: #555555;
    --muted-2: #888888;
    --line: rgba(0,0,0,.08);
    --line-strong: rgba(0,0,0,.18);
    --accent: #FF3EA6;
    --rainbow: linear-gradient(90deg, #E91E23 0%, #F58220 16%, #FFD400 32%, #2CB34A 48%, #00B5D0 60%, #1E54A6 72%, #7A2DA0 84%, #C9147A 92%, #FF3EA6 100%);
    --rainbow-conic: conic-gradient(from 0deg,
      #E91E23 0%, #F58220 12%, #FFD400 25%,
      #2CB34A 38%, #00B5D0 50%, #1E54A6 62%,
      #7A2DA0 75%, #C9147A 87%, #FF3EA6 100%);
    --display: 'Unbounded', system-ui, sans-serif;
    --body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --navy: #FF3EA6;

    --ahd-header-offset: 80px;
    --ahd-section-height: calc(100vh - var(--ahd-header-offset));

    width: auto;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    overflow-x: clip;
    font-family: var(--body);
    background: var(--bg);
    color: var(--fg);
    min-height: var(--ahd-section-height);
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: visible;
    scrollbar-gutter: stable;
  }

  .ahd-lab.has-open-step {
    min-height: var(--ahd-section-height);
    overflow: visible;
  }

  /* ====== Title block ====== */
  .ahd-lab__title-block {
    text-align: center;
    padding: 22px 16px 12px;
    margin: 0 auto;
  }

  .ahd-lab__eyebrow {
    display: inline-block;
    font-family: var(--body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
  }

  .ahd-lab__title {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(40px, 6vw, 80px);
    line-height: .92;
    letter-spacing: -.04em;
    text-transform: uppercase;
    color: var(--fg);
    margin: 0;
  }

  .ahd-lab__title-rainbow-text {
    font-style: italic;
    background: var(--rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .ahd-lab__title-rainbow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    max-width: min(520px, 80%);
    margin-left: auto;
    margin-right: auto;
  }

  .ahd-lab__title-rainbow-line {
    flex: 1;
    height: 1px;
    background: var(--line-strong);
  }

  .ahd-lab__title-rainbow-diamond {
    color: var(--accent);
    font-size: 14px;
    line-height: 1;
  }

  /* ====== Shell ====== */
  .ahd-lab__shell {
    position: relative;
    width: 100%;
    padding: 0 24px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
  }

  .ahd-lab.has-open-step .ahd-lab__shell {
    overflow: visible;
  }

  /* ====== Marquee (boven Attitude Hair Studio) ====== */
  .ahd-lab__marquee {
    position: relative;
    overflow: hidden;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.22);
    border-bottom: 1px solid rgba(255,255,255,.22);
    background: var(--bg);
  }
  .ahd-lab__marquee-track {
    display: inline-flex;
    white-space: nowrap;
    animation: ahdLabMq 38s linear infinite;
    font-family: var(--display);
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -.005em;
    text-transform: uppercase;
    color: var(--fg);
  }
  .ahd-lab__marquee-track > span { padding: 0 32px; }
  .ahd-lab__marquee-track .star { color: var(--accent); font-size: 20px; }
  @keyframes ahdLabMq {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ====== Help button (rechts boven, start de tour) ====== */
  .ahd-lab__help-btn {
    position: absolute;
    top: 32px;
    right: 48px;
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-family: var(--display);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 0 0 0 rgba(255, 62, 166, .55), 0 8px 24px rgba(255, 62, 166, .35);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    animation: ahdHelpPulse 2.4s ease-in-out infinite;
  }
  @keyframes ahdHelpPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 62, 166, .55), 0 8px 24px rgba(255, 62, 166, .35); }
    50% { box-shadow: 0 0 0 12px rgba(255, 62, 166, 0), 0 8px 24px rgba(255, 62, 166, .55); }
  }
  .ahd-lab__help-btn:hover {
    transform: scale(1.1);
    background: #fff;
    color: var(--accent);
  }
  .ahd-lab__help-btn:focus-visible { outline: 3px solid var(--fg); outline-offset: 4px; }
  .ahd-lab__help-btn span { position: relative; z-index: 1; }
  .ahd-lab__help-btn::after {
    content: var(--ahd-tutorial-label, "Tutorial");
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    transform: translateY(-50%);
    background: var(--bg);
    color: var(--fg);
    font-family: var(--body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }
  .ahd-lab__help-btn:hover::after { opacity: 1; }
  @media (max-width: 768px) {
    .ahd-lab__help-btn {
      top: 10px;
      right: 10px;
      width: 38px;
      height: 38px;
      font-size: 18px;
      border-width: 1.5px;
    }
  }

  /* ====== Setup bar (vast onder de titel, geen sticky) ====== */
  .ahd-lab__setup-bar {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    padding: 0 24px 16px;
  }

  .ahd-lab__setup-wrap {
    position: relative;
    pointer-events: auto;
  }

  .ahd-lab__setup-wrap.is-pulse { animation: ahdSetupGlowWrap 0.72s cubic-bezier(.22, 1, .36, 1); }
  .ahd-lab__setup-wrap.is-pulse:not(.is-ring) .ahd-lab__setup-btn { animation: ahdSetupPulseBtn 0.65s cubic-bezier(.22, 1, .36, 1); }
  .ahd-lab__setup-wrap.is-ring:not(.is-pulse) .ahd-lab__setup-btn { animation: ahdSetupRing 0.9s cubic-bezier(.22, 1, .36, 1); }
  .ahd-lab__setup-wrap.is-pulse.is-ring .ahd-lab__setup-btn { animation: ahdSetupPulseBtn 0.65s cubic-bezier(.22, 1, .36, 1), ahdSetupRing 0.9s cubic-bezier(.22, 1, .36, 1); }
  .ahd-lab__setup-wrap.is-pulse .ahd-lab__setup-panel.is-open { animation: ahdSetupPulsePanel 0.65s cubic-bezier(.22, 1, .36, 1); }

  @keyframes ahdSetupGlowWrap {
    0% { filter: drop-shadow(0 0 0 rgba(255, 62, 166, 0)); }
    35% { filter: drop-shadow(0 0 18px rgba(255, 62, 166, .45)); }
    100% { filter: drop-shadow(0 0 0 rgba(255, 62, 166, 0)); }
  }
  @keyframes ahdSetupPulseBtn { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.045); } }
  @keyframes ahdSetupPulsePanel {
    0%, 100% { box-shadow: 0 14px 28px rgba(0, 0, 0, .12); }
    40% { box-shadow: 0 0 0 10px rgba(255, 62, 166, .15), 0 24px 48px rgba(255, 62, 166, .25); }
  }
  @keyframes ahdSetupRing {
    0%, 100% { transform: rotate(0deg) scale(1); }
    10% { transform: rotate(-6deg) scale(1.02); } 20% { transform: rotate(6deg) scale(1.02); }
    30% { transform: rotate(-5deg) scale(1.02); } 40% { transform: rotate(5deg) scale(1.02); }
    50% { transform: rotate(-3deg) scale(1.01); } 60% { transform: rotate(3deg) scale(1.01); }
  }

  .ahd-lab__setup-btn {
    position: relative; min-height: 54px; padding: 0 30px; border-radius: 999px; border: 0;
    background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 13px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: transform .18s ease;
    display: inline-flex; align-items: center; gap: 12px; z-index: 0; isolation: isolate;
  }
  .ahd-lab__setup-btn::before {
    content: ""; position: absolute; inset: -2px; border-radius: 999px;
    background: var(--rainbow-conic); z-index: -2;
  }
  .ahd-lab__setup-btn::after {
    content: ""; position: absolute; inset: 0; border-radius: 999px;
    background: var(--bg); z-index: -1; transition: background .18s ease;
  }
  .ahd-lab__setup-btn:hover { transform: translateY(-1px); }
  .ahd-lab__setup-btn:hover::after { background: var(--bg-elev); }
  .ahd-lab__setup-btn.is-open::after { background: var(--bg-elev-2); }
  .ahd-lab__setup-btn-text { position: relative; z-index: 1; }
  .ahd-lab__setup-btn-arrow { position: relative; z-index: 1; color: var(--fg); transition: transform .2s ease; }
  .ahd-lab__setup-btn:hover .ahd-lab__setup-btn-arrow { transform: translateX(2px); }

  /* Setup panel (dropdown) */
  .ahd-lab__setup-panel {
    position: absolute; top: calc(100% + 12px); right: 0; width: 340px; padding: 18px;
    border-radius: 18px; border: 1px solid var(--line); background: var(--bg-elev);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .14); opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 25;
  }
  .ahd-lab__setup-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .ahd-lab__setup-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
  .ahd-lab__setup-title { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--fg); letter-spacing: -.01em; text-transform: uppercase; }
  .ahd-lab__setup-close {
    width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
    color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
  }
  .ahd-lab__setup-close:hover { background: var(--bg-elev-2); border-color: var(--line-strong); color: var(--fg); }
  .ahd-lab__setup-products-section { margin-bottom: 18px; }
  .ahd-lab__setup-section-title { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; text-align: left; }
  .ahd-lab__setup-products { display: flex; flex-direction: column; gap: 8px; }
  .ahd-lab__setup-product { display: grid; grid-template-columns: 44px 1fr auto; gap: 0 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-elev-2); }
  .ahd-lab__setup-product-img-wrap { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
  .ahd-lab__setup-product-img { width: 100%; height: 100%; border-radius: 8px; object-fit: cover; display: block; }
  .ahd-lab__setup-product-fallback { width: 100%; height: 100%; border-radius: 8px; display: block; }
  .ahd-lab__setup-product-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .ahd-lab__setup-product-name { font-size: 13px; font-weight: 700; color: var(--fg); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ahd-lab__setup-product-volume { font-size: 11px; font-weight: 500; color: var(--muted-2); line-height: 1.2; }
  .ahd-lab__setup-product-price { font-size: 13px; font-weight: 700; color: var(--fg); white-space: nowrap; justify-self: end; }
  .ahd-lab__setup-product-price[data-price-placeholder] { opacity: 0.4; }

  /* Setup shop buttons */
  .ahd-lab__setup-shop-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .ahd-lab__setup-shop {
    position: relative; min-height: 50px; padding: 0 14px; border-radius: 999px; background: transparent;
    border: 0; color: var(--fg); font-family: var(--body); font-size: 12px; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    transition: transform .18s ease, opacity .18s ease; cursor: pointer; white-space: nowrap;
    z-index: 0; isolation: isolate;
  }
  .ahd-lab__setup-shop::before { content: ""; position: absolute; inset: -2px; border-radius: 999px; background: var(--rainbow-conic); z-index: -2; }
  .ahd-lab__setup-shop::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--bg-elev); z-index: -1; transition: background .18s ease; }
  .ahd-lab__setup-shop:hover { transform: translateY(-1px); }
  .ahd-lab__setup-shop:hover::after { background: var(--bg); }
  .ahd-lab__setup-shop-icon { flex-shrink: 0; }
  .ahd-lab__setup-shop:disabled, .ahd-lab__setup-shop.is-loading { opacity: .55; cursor: not-allowed; transform: none; }

  .ahd-lab__setup-toast {
    margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--bg-elev-2);
    border: 1px solid var(--line); color: var(--fg); font-size: 13px; font-weight: 600;
    text-align: center; opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .ahd-lab__setup-toast.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

  .ahd-lab__floating-toast {
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-12px);
    z-index: 10060; padding: 14px 22px; border-radius: 10px; background: var(--bg);
    border: 1px solid var(--line-strong); color: var(--fg); font-family: var(--body);
    font-size: 13px; font-weight: 700; letter-spacing: .04em; text-align: center;
    max-width: min(420px, calc(100vw - 24px)); box-shadow: 0 14px 28px rgba(0, 0, 0, .14);
    opacity: 0; transition: opacity .22s ease, transform .22s ease; pointer-events: none;
  }
  .ahd-lab__floating-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
  @media (max-width: 768px) {
    .ahd-lab__floating-toast { top: 16px; max-width: calc(100vw - 24px); font-size: 12px; padding: 10px 14px; }
  }

  /* Mini cart popup — white style matching Popup.png reference
     IMPORTANT: !important is used here because Odoo's website theme injects
     its own font-family / border-radius rules onto body descendants, which
     would otherwise break the popup's intended typography. */
  .ahd-lab__mini-cart-stack {
    position: fixed !important; top: 70px !important; right: 100px !important;
    z-index: 10050 !important; display: flex !important; flex-direction: column !important;
    gap: 12px !important; pointer-events: none !important;
    max-height: calc(100vh - 90px) !important; overflow-y: auto !important;
  }
  .ahd-lab__mini-cart-stack,
  .ahd-lab__mini-cart-stack *,
  .ahd-lab__mini-cart,
  .ahd-lab__mini-cart * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    box-sizing: border-box !important;
  }
  .ahd-lab__mini-cart {
    pointer-events: auto !important; width: min(360px, calc(100vw - 24px)) !important;
    padding: 14px !important;
    border-radius: 12px !important;
    background: #ffffff !important; border: 1px solid rgba(0, 0, 0, .06) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .05) !important;
    opacity: 0; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .ahd-lab__mini-cart.is-visible { opacity: 1 !important; transform: translateY(0) !important; }
  .ahd-lab__mini-cart-inner { display: flex !important; flex-direction: column !important; gap: 14px !important; }
  .ahd-lab__mini-cart-row {
    display: grid !important; grid-template-columns: 52px 1fr auto !important;
    align-items: center !important; gap: 14px !important; padding: 4px 4px 0 !important;
  }
  .ahd-lab__mini-cart-img-wrap {
    position: relative !important; width: 52px !important; height: 52px !important;
    border-radius: 8px !important; overflow: visible !important; background: #f3f3f3 !important;
    border: 0 !important;
  }
  .ahd-lab__mini-cart-img {
    width: 100% !important; height: 100% !important; object-fit: cover !important;
    display: block !important; border-radius: 8px !important;
  }
  .ahd-lab__mini-cart-img-placeholder {
    display: block !important; width: 100% !important; height: 100% !important;
    border-radius: 8px !important;
  }
  .ahd-lab__mini-cart-badge {
    position: absolute !important; top: -6px !important; right: -6px !important;
    min-width: 20px !important; height: 20px !important; padding: 0 6px !important;
    border-radius: 999px !important; background: #0a0a0a !important; color: #fff !important;
    font-size: 11px !important; font-weight: 600 !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    border: 2px solid #fff !important;
  }
  .ahd-lab__mini-cart-body {
    display: flex !important; flex-direction: column !important; gap: 2px !important;
    min-width: 0 !important;
  }
  .ahd-lab__mini-cart-name {
    font-size: 14px !important; font-weight: 500 !important; color: #111 !important;
    overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important;
    line-height: 1.3 !important; letter-spacing: -0.01em !important;
    text-transform: none !important;
  }
  .ahd-lab__mini-cart-volume {
    font-size: 12px !important; font-weight: 400 !important; color: #888 !important;
    line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important;
  }
  .ahd-lab__mini-cart-price {
    font-size: 14px !important; font-weight: 500 !important; color: #111 !important;
    white-space: nowrap !important; letter-spacing: -0.01em !important; text-transform: none !important;
  }
  .ahd-lab__mini-cart-btn {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 100% !important; min-height: 44px !important; padding: 0 16px !important;
    border-radius: 8px !important; background: #0a0a0a !important; color: #fff !important;
    font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0 !important;
    text-decoration: none !important; text-transform: none !important;
    transition: background .18s ease, transform .15s ease;
  }
  .ahd-lab__mini-cart-btn:hover { background: #FF3EA6 !important; color: #fff !important; text-decoration: none !important; transform: translateY(-1px); }
  .ahd-lab__mini-cart-btn:active { transform: translateY(0); }
  @media (max-width: 768px) {
    .ahd-lab__mini-cart-stack { top: auto; bottom: 16px; right: 12px; left: 12px; max-height: calc(100vh - 32px); }
    .ahd-lab__mini-cart { width: auto; }
  }

  /* ====== Canvas (3 strand cards) ====== */
  .ahd-lab__canvas { padding: 0; }
  .ahd-lab__strands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .ahd-lab__strand-column { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; }
  .ahd-lab__strand-label {
    display: block; font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 900;
    letter-spacing: -.02em; text-transform: uppercase; color: var(--fg); padding: 0 4px; line-height: 1;
    text-align: center;
  }
  .ahd-lab__strand-card {
    min-height: 0; height: 100%; border: 1px solid rgba(0, 0, 0, .08); border-radius: 24px;
    background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 0;
    position: relative; overflow: hidden;
  }
  .ahd-lab__strand-card { min-height: 520px; height: 520px; }
  .ahd-lab__strand-photo-wrap {
    position: absolute; z-index: 1; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center; overflow: hidden; background: transparent;
  }
  .ahd-lab__strand-photo {
    width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
    backface-visibility: hidden; transform: translateZ(0); opacity: 0; transition: opacity .24s ease;
  }
  .ahd-lab__strand-photo-wrap[data-empty="false"] .ahd-lab__strand-photo { opacity: 1; }
  .ahd-lab__strand-placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 24px; text-align: center; color: #888; font-family: var(--body); font-size: 13px;
    font-weight: 700; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase;
  }
  .ahd-lab__strand-photo-wrap[data-empty="false"] .ahd-lab__strand-placeholder { display: none; }

  /* ====== Colour wheel ====== */
  .ahd-lab__colour-wheel-btn {
    position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px;
    border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg-elev-2);
    padding: 6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; z-index: 4;
  }
  .ahd-lab__colour-wheel-btn:hover { transform: scale(1.08); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12); border-color: var(--accent); }
  .ahd-lab__colour-wheel-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .ahd-lab__colour-wheel-panel {
    position: absolute; right: 12px; bottom: 60px; width: 240px; background: var(--bg-elev);
    border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.60);
    padding: 16px; z-index: 10; display: flex; flex-direction: column; gap: 12px;
  }
  .ahd-lab__colour-wheel-panel[hidden] { display: none; }
  .ahd-lab__cw-title { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--fg); letter-spacing: .02em; text-transform: uppercase; }
  .ahd-lab__cw-wheel-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; user-select: none; touch-action: none; }
  .ahd-lab__cw-wheel { display: block; width: 100%; height: 100%; border-radius: 50%; cursor: crosshair; }
  .ahd-lab__cw-cursor {
    position: absolute; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none; transform: translate(-50%, -50%); left: 50%; top: 50%;
    background: var(--accent); transition: background .08s linear;
  }
  .ahd-lab__cw-lightness { width: 100%; height: 18px; border-radius: 9px; background: linear-gradient(to right, #000 0%, var(--accent) 50%, #fff 100%); position: relative; }
  .ahd-lab__cw-lightness input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
  .ahd-lab__cw-lightness input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid rgba(0, 0, 0, 0.5); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); cursor: pointer; }
  .ahd-lab__cw-lightness input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid rgba(0, 0, 0, 0.5); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); cursor: pointer; }
  .ahd-lab__cw-match { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: 10px; }
  .ahd-lab__cw-swatch { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-elev-2); border: 1px solid var(--line); flex-shrink: 0; }
  .ahd-lab__cw-info { display: flex; flex-direction: column; min-width: 0; }
  .ahd-lab__cw-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); line-height: 1.2; }
  .ahd-lab__cw-name { font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--fg); line-height: 1.3; text-transform: uppercase; }
  .ahd-lab__cw-apply { width: 100%; border: 0; background: var(--fg); color: var(--bg); border-radius: 999px; padding: 12px 16px; font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .15s ease, color .15s ease; }
  .ahd-lab__cw-apply:hover { background: var(--accent); color: #fff; }
  .ahd-lab__cw-apply:disabled { opacity: .5; cursor: not-allowed; }

  /* ====== Controls (3 step accordions) ====== */
  .ahd-lab__controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; padding: 14px 0 18px; }
  .ahd-lab__group { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 24px; overflow: visible; scroll-margin-top: 140px; position: relative; transition: border-color .2s ease; }
  .ahd-lab__group--open { border-color: var(--line-strong); }
  .ahd-lab__group::before {
    content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px;
    background: var(--rainbow); border-radius: 2px; opacity: 0; transition: opacity .25s ease;
    pointer-events: none;
  }
  .ahd-lab__group--open::before { opacity: 1; }

  .ahd-lab__main-btn { width: 100%; border: 0; background: transparent; cursor: pointer; padding: 0; text-align: left; position: relative; z-index: 2; }
  .ahd-lab__main-btn:hover .ahd-lab__main-header { background: var(--bg-elev-2); }
  .ahd-lab__main-header {
    margin: 10px; min-height: 88px; padding: 18px; border-radius: 18px; background: transparent;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    transition: background .2s ease;
  }
  .ahd-lab__group--open .ahd-lab__main-header { background: var(--bg-elev-2); }
  .ahd-lab__main-left { display: inline-flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
  .ahd-lab__step {
    position: relative; width: 44px; height: 44px; border-radius: 999px; background: var(--bg);
    color: var(--fg); display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--display); font-size: 20px; font-weight: 900; flex-shrink: 0; z-index: 0; isolation: isolate;
  }
  .ahd-lab__step::before { content: ""; position: absolute; inset: -2px; border-radius: 999px; background: var(--rainbow-conic); z-index: -2; }
  .ahd-lab__step::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--bg); z-index: -1; }
  .ahd-lab__main-copy { display: flex; flex-direction: column; min-width: 0; }
  .ahd-lab__main-copy--single { justify-content: center; }
  .ahd-lab__main-title-line { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; }
  .ahd-lab__main-title-line--tight { gap: 8px; }
  .ahd-lab__main-title { font-family: var(--display); font-size: 17px; line-height: 1.2; font-weight: 800; color: var(--fg); letter-spacing: -.005em; text-transform: uppercase; }
  .ahd-lab__main-sub { font-family: var(--body); font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 4px; }
  .ahd-lab__title-info-trigger {
    width: 22px; height: 22px; min-width: 22px; padding: 0; border-radius: 999px;
    border: 1px solid var(--line-strong); background: var(--bg);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; user-select: none; flex-shrink: 0; color: var(--muted);
    font-family: var(--body); font-size: 11px; font-weight: 800; line-height: 1;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
  }
  .ahd-lab__title-info-trigger span { display: block; transform: translateY(-0.5px); pointer-events: none; }
  .ahd-lab__title-info-trigger:hover { color: var(--accent); border-color: var(--accent); background: var(--bg-elev-2); }

  /* Status badge */
  .ahd-lab__status-badge {
    min-height: 56px; width: 210px; padding: 10px 14px; border-radius: 14px;
    background: var(--bg); border: 1px solid var(--line-strong);
    display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto;
  }
  .ahd-lab__status-swatch { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-elev-2); flex-shrink: 0; }
  .ahd-lab__status-value { font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
  .ahd-lab__status-chevron { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); line-height: 0; flex-shrink: 0; transition: transform .22s ease; margin-left: 2px; }
  .ahd-lab__status-chevron svg { width: 18px; height: 18px; display: block; }
  .ahd-lab__group--open .ahd-lab__status-chevron { transform: rotate(180deg); }

  /* Accordion */
  .ahd-lab__accordion-content { display: grid; grid-template-rows: 0fr; opacity: 0; overflow: hidden; transition: grid-template-rows .22s cubic-bezier(.22, 1, .36, 1), opacity .14s ease; }
  .ahd-lab__accordion-content.is-open { grid-template-rows: 1fr; opacity: 1; }
  .ahd-lab__accordion-inner { min-height: 0; overflow: hidden; padding: 0 14px 14px; }
  .ahd-lab__options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ahd-lab__options-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; }
  .ahd-lab__options-grid--five { grid-template-columns: repeat(4, minmax(92px, 1fr)); width: min(100%, 560px); margin-left: auto; margin-right: auto; }

  /* Pill buttons */
  .ahd-lab__pill-btn {
    --active: #ffffff; min-height: 52px; width: 100%; padding: 10px 14px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: var(--bg);
    display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px;
    cursor: pointer; color: var(--fg);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
    font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .02em;
    position: relative; overflow: visible;
  }
  .ahd-lab__pill-btn:hover { transform: translateY(-1px); border-color: var(--fg); background: var(--bg-elev-2); }
  .ahd-lab__pill-btn.is-active { border-width: 2px; border-color: var(--active); background: var(--bg-elev-2); }
  .ahd-lab__pill-swatch { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-elev-2); flex-shrink: 0; }
  .ahd-lab__pill-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ahd-lab__pill-text--level-row { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; }
  .ahd-lab__pill-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .ahd-lab__pill-level { font-weight: 500; color: var(--muted-2); margin-left: auto; text-align: right; font-size: 12px; letter-spacing: .04em; }
  .ahd-lab__pill-recommended { padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1; white-space: nowrap; text-transform: uppercase; }
  .ahd-lab__pill-btn.is-recommended { border-color: var(--accent); background: var(--bg-elev-2); }
  .ahd-lab__pill-btn.is-recommended .ahd-lab__pill-recommended { position: absolute; top: 0; left: 72%; transform: translate(-50%, -34%); border: 2px solid var(--bg); }

  /* Shade variants */
  .ahd-lab__shade-variants-wrap { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-elev-2); }
  .ahd-lab__shade-variants-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
  .ahd-lab__shade-variants-title { font-family: var(--display); font-size: 14px; font-weight: 800; color: var(--fg); letter-spacing: -.005em; text-transform: uppercase; }
  .ahd-lab__shade-variants-sub { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
  .ahd-lab__shade-variants { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .ahd-lab__variant-card {
    width: 100%; padding: 10px 8px; border-radius: 14px; border: 1px solid var(--line-strong);
    background: var(--bg-elev); cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; overflow: hidden;
  }
  .ahd-lab__variant-card:hover { transform: translateY(-2px); border-color: var(--fg); background: var(--bg-elev-2); }
  .ahd-lab__variant-card.is-active { border-width: 2px; border-color: var(--variant, var(--fg)); background: var(--bg-elev-2); }
  .ahd-lab__variant-photo-wrap { width: 100%; aspect-ratio: 1 / 1; height: auto; padding: 0; border-radius: 10px; overflow: hidden; background: var(--bg); border: 0; display: flex; align-items: center; justify-content: center; }
  .ahd-lab__variant-photo { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
  .ahd-lab__variant-pot { width: 66px; display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 2px; }
  .ahd-lab__variant-pot-lid { width: 48px; height: 10px; border-radius: 999px 999px 6px 6px; background: linear-gradient(180deg, #f3f3f3 0%, #e6e6e6 100%); }
  .ahd-lab__variant-pot-body { width: 58px; height: 54px; margin-top: -1px; border-radius: 10px 10px 14px 14px; border: 1px solid rgba(0,0,0,.08); position: relative; overflow: hidden; }
  .ahd-lab__variant-pot-body::before { content: ""; position: absolute; top: 7px; left: 10px; width: 12px; height: 32px; border-radius: 999px; background: rgba(0,0,0,.10); filter: blur(.4px); }
  .ahd-lab__variant-pot-body::after { content: "AHD"; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); font-family: var(--display); font-size: 11px; font-weight: 900; letter-spacing: .06em; color: rgba(0,0,0,.85); }
  .ahd-lab__variant-name { font-family: var(--body); font-size: 12px; line-height: 1.25; font-weight: 700; color: var(--fg); letter-spacing: .04em; text-transform: uppercase; }

  /* Footer row */
  .ahd-lab__footer-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .ahd-lab__footer-btn {
    position: relative; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
    background: transparent; color: var(--fg); font-family: var(--body); font-size: 12px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
    transition: transform .18s ease, opacity .18s ease; z-index: 0; isolation: isolate;
  }
  .ahd-lab__footer-btn:hover { transform: translateY(-1px); }
  .ahd-lab__footer-btn--primary { background: transparent; color: var(--fg); }
  .ahd-lab__footer-btn--primary::before { content: ""; position: absolute; inset: -2px; border-radius: 999px; background: var(--rainbow-conic); z-index: -2; }
  .ahd-lab__footer-btn--primary::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--bg); z-index: -1; transition: background .18s ease; }
  .ahd-lab__footer-btn--primary:hover::after { background: var(--bg-elev); }
  .ahd-lab__footer-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

  /* ====== Modals ====== */
  .ahd-lab__modal { position: fixed; inset: 0; z-index: 10020; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
  .ahd-lab__modal.is-open { opacity: 1; visibility: visible; }
  .ahd-lab__modal-backdrop { position: absolute; inset: 0; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); }
  .ahd-lab__modal-card {
    position: relative; width: min(760px, calc(100vw - 32px)); margin: 7vh auto 0;
    background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0,0,0,.18); padding: 28px; z-index: 1;
  }
  .ahd-lab__modal-card--small { width: min(520px, calc(100vw - 32px)); }
  #ahdVolumeWarnModal .ahd-lab__modal-card--small { position: absolute; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
  .ahd-lab__modal-close {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 999px;
    border: 1px solid var(--line); background: transparent; color: var(--muted);
    font-size: 24px; line-height: 1; cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  }
  .ahd-lab__modal-close:hover { background: var(--bg); border-color: var(--line-strong); color: var(--fg); transform: translateY(-1px); }
  .ahd-lab__modal-eyebrow { font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .ahd-lab__modal-eyebrow--warning { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
  .ahd-lab__warning-icon { color: var(--accent); font-size: 14px; line-height: 1; }
  .ahd-lab__modal-title { margin: 0; font-family: var(--display); font-size: 36px; line-height: 1; color: var(--fg); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
  .ahd-lab__modal-title--small { font-size: 28px; }
  .ahd-lab__modal-text { margin: 14px 0 0; color: var(--muted); font-family: var(--body); font-size: 15px; line-height: 1.6; max-width: 640px; }

  .ahd-lab__bleach-visual { margin-top: 24px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); display: flex; align-items: center; justify-content: center; gap: 20px; }
  .ahd-lab__bleach-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
  .ahd-lab__bleach-strand {
    width: 78px; height: 170px; display: block;
    clip-path: polygon(20% 0%, 80% 0%, 92% 72%, 76% 100%, 24% 100%, 8% 72%);
    border-radius: 30px 30px 26px 26px; box-shadow: 0 10px 20px rgba(0,0,0,.10);
    position: relative; overflow: hidden;
  }
  .ahd-lab__bleach-strand::after { content: ""; position: absolute; top: 8%; left: 32%; width: 18%; height: 58%; border-radius: 999px; background: rgba(0,0,0,.10); filter: blur(1px); }
  .ahd-lab__bleach-strand--dark { background: linear-gradient(180deg, #7b5434 0%, #5f391f 38%, #30190d 100%); }
  .ahd-lab__bleach-strand--lifted { background: linear-gradient(180deg, #f6e9c9 0%, #e5c890 38%, #c69457 100%); }
  .ahd-lab__bleach-strand--pink { background: linear-gradient(180deg, #ff9bcb 0%, #ea2c78 38%, #6f0228 100%); }
  .ahd-lab__bleach-caption { font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; }
  .ahd-lab__bleach-arrow { font-size: 28px; font-weight: 700; color: var(--muted-2); line-height: 1; }
  .ahd-lab__info-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ahd-lab__info-card { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); padding: 18px; }
  .ahd-lab__info-card-title { font-family: var(--display); font-size: 14px; font-weight: 800; color: var(--fg); letter-spacing: -.005em; text-transform: uppercase; margin-bottom: 8px; }
  .ahd-lab__info-card-text { margin: 0; font-family: var(--body); font-size: 13px; line-height: 1.6; color: var(--muted); }
  .ahd-lab__info-note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--accent); color: var(--fg); font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .02em; }

  /* ====== Responsive ====== */
  @media (max-width: 1180px) {
    .ahd-lab__strands, .ahd-lab__controls { grid-template-columns: 1fr; }
    .ahd-lab__strand-card { min-height: 420px; }
    .ahd-lab__strand-photo-wrap { height: 360px; width: min(100%, 220px); }
  }
  @media (max-width: 900px) { .ahd-lab__shade-variants { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 768px) {
    .ahd-lab { padding-left: 14px; padding-right: 14px; height: auto; min-height: auto; display: block; overflow: visible; }
    .ahd-lab__shell { padding-left: 0; padding-right: 0; height: auto; min-height: auto; display: block; overflow: visible; }
    .ahd-lab.is-mobile-interleaved > .ahd-lab__group, .ahd-lab__group { margin-top: 16px !important; }
    .ahd-lab__controls > .ahd-lab__group:first-child { margin-top: 0 !important; }
    .ahd-lab__strand-card { min-height: 360px; overflow: hidden; padding: 0 !important; }
    .ahd-lab__strand-photo-wrap {
      position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important;
      bottom: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important;
      display: flex !important; align-items: center !important; justify-content: center !important;
    }
    .ahd-lab__strand-photo { width: auto !important; max-width: 100%; height: 100% !important; object-fit: cover !important; object-position: center !important; }
    .ahd-lab.is-mobile-interleaved .ahd-lab__strand-column { margin-top: 24px; }
    .ahd-lab__setup-bar { padding: 0 14px 24px; display: flex; justify-content: center; }
    .ahd-lab__setup-wrap { width: auto; max-width: 100%; }
    .ahd-lab__setup-btn { width: auto; }
    .ahd-lab__setup-panel { position: absolute; top: calc(100% + 12px); right: 50%; transform: translateX(50%); margin-top: 0; }
    .ahd-lab__setup-panel.is-open { transform: translateX(50%) translateY(0); }
    .ahd-lab__setup-panel.is-open { display: block; }
    .ahd-lab__modal-card { margin-top: 24px; width: min(760px, calc(100vw - 20px)); padding: 22px; }
    .ahd-lab__bleach-visual { flex-direction: column; gap: 14px; }
    .ahd-lab__bleach-arrow { transform: rotate(90deg); }
    .ahd-lab__info-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .ahd-lab__main-header { flex-direction: column; align-items: stretch; gap: 14px; min-height: unset; }
    .ahd-lab__status-badge { width: 100%; min-width: 0; margin-left: 0; }
    .ahd-lab__options-grid, .ahd-lab__options-grid--two, .ahd-lab__options-grid--five, .ahd-lab__shade-variants { grid-template-columns: 1fr; }
    .ahd-lab__footer-row { grid-template-columns: 1fr; }
    .ahd-lab__shade-variants-head { flex-direction: column; align-items: flex-start; }
    .ahd-lab__strand-card { min-height: 360px; }
    .ahd-lab__strand-photo-wrap { height: 280px; width: min(100%, 170px); }
    .ahd-lab__modal-title { font-size: 28px; }
    .ahd-lab__bleach-strand { width: 66px; height: 145px; }
  }

  /* ====== Intro Tour ====== */
  .ahd-lab__tour { position: fixed; inset: 0; z-index: 10100; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
  .ahd-lab__tour.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
  .ahd-lab__tour-overlay {
    position: absolute; left: var(--tour-x, 0px); top: var(--tour-y, 0px);
    width: var(--tour-w, 100vw); height: var(--tour-h, 100vh); border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
    transition: left .35s cubic-bezier(.5, 0, .15, 1), top .35s cubic-bezier(.5, 0, .15, 1),
                width .35s cubic-bezier(.5, 0, .15, 1), height .35s cubic-bezier(.5, 0, .15, 1),
                border-radius .25s ease;
    pointer-events: none;
  }
  .ahd-lab__tour-tooltip {
    position: absolute; left: var(--tip-x, 50%); top: var(--tip-y, 50%);
    transform: var(--tip-transform, translate(-50%, -50%)); width: min(360px, calc(100vw - 32px));
    background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 16px;
    padding: 22px 24px 18px; box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
    transition: left .35s cubic-bezier(.5, 0, .15, 1), top .35s cubic-bezier(.5, 0, .15, 1);
    pointer-events: auto;
  }
  .ahd-lab__tour-arrow { position: absolute; width: 16px; height: 16px; background: var(--bg-elev); transform: rotate(45deg); border: 1px solid var(--line-strong); }
  .ahd-lab__tour-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; transition: background .15s ease, color .15s ease; }
  .ahd-lab__tour-close:hover { background: var(--bg); color: var(--fg); }
  .ahd-lab__tour-step-counter { font-family: var(--body); font-size: 11px; font-weight: 800; color: var(--muted-2); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; }
  .ahd-lab__tour-title { font-family: var(--display); font-size: 24px; font-weight: 900; color: var(--fg); margin: 0 0 8px; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
  .ahd-lab__tour-text { font-family: var(--body); font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; }
  .ahd-lab__tour-dots { display: flex; gap: 6px; margin-bottom: 16px; }
  .ahd-lab__tour-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: width .25s ease, background .25s ease; }
  .ahd-lab__tour-dot.is-active { width: 22px; border-radius: 4px; background: var(--accent); }
  .ahd-lab__tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .ahd-lab__tour-actions-right { display: flex; gap: 8px; }
  .ahd-lab__tour-btn { border: 0; cursor: pointer; font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: 10px 18px; transition: background .15s ease, opacity .15s ease, color .15s ease; }
  .ahd-lab__tour-btn--ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
  .ahd-lab__tour-btn--ghost:hover { color: var(--fg); border-color: var(--line-strong); background: var(--bg); }
  .ahd-lab__tour-btn--ghost:disabled { opacity: 0.35; cursor: not-allowed; }
  .ahd-lab__tour-btn--primary { background: var(--fg); color: var(--bg); padding: 11px 20px; }
  .ahd-lab__tour-btn--primary:hover { background: var(--accent); color: #fff; }
  @media (max-width: 768px) {
    .ahd-lab__tour-tooltip { left: 16px !important; right: 16px; bottom: 24px; top: auto !important; transform: none !important; width: auto; }
    .ahd-lab__tour-arrow { display: none; }
  }
  /* Odoo render-pipeline insurance: hide phantom duplicate swatches. */
  .ahd-lab__status-badge .ahd-lab__status-swatch ~ .ahd-lab__status-swatch { display: none !important; }
  /* Suppress Odoo's "Configureren" upsell dialog — the AHD lab covers bleach selection in-flow. */
  .modal.o_technical_modal { display: none !important; }
  body.modal-open { overflow: auto !important; padding-right: 0 !important; }
  /* Mini-cart popup placeholder: only show when the <img> errors out. The base
     style block force-shows the placeholder via display:block!important, which
     wins over the inline display:none and renders a coloured square below the
     real image, overlapping the "View cart" button. Hide it by default with
     higher specificity; the onerror handler still flips it to inline
     display:block which now wins via the same specificity tiebreak. */
  span.ahd-lab__mini-cart-img-placeholder { display: none !important; }
  span.ahd-lab__mini-cart-img-placeholder[style*="display: block"],
  span.ahd-lab__mini-cart-img-placeholder[style*="display:block"] { display: block !important; }