/** Shopify CDN: Minification failed

Line 47:1 Unexpected "*"

**/
/* ============================================================
   Locket Builder — photo-based version
   All classes namespaced with mv-
   ============================================================ */

:root {
  --mv-bg: #f5f1ea;
  --mv-bg-soft: #ece5d8;
  --mv-surface: #ffffff;
  --mv-ink: #1d1b18;
  --mv-ink-soft: #5d564c;
  --mv-muted: #a8a093;
  --mv-line: #e2dccf;
  --mv-accent: #8a6a3a;
  --mv-gold: #d4af6a;
  --mv-gold-hi: #f3d48a;
  --mv-shadow-sm: 0 2px 8px rgba(29,27,24,.06);
  --mv-shadow-md: 0 10px 30px rgba(29,27,24,.10);
  --mv-shadow-lg: 0 30px 60px rgba(29,27,24,.16);
  --mv-radius: 14px;
  --mv-radius-sm: 8px;
  --mv-ease: cubic-bezier(.22,.61,.36,1);
  --mv-ease-spring: cubic-bezier(.34,1.35,.4,1);
  --mv-ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --mv-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --mv-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* * { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--mv-bg);
  color: var(--mv-ink);
  font-family: var(--mv-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
} */


**/
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    -webkit-font-smoothing: antialiased;
}

*, *:focus {
    outline: none;
}

html {
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    font-family: acumin-pro-wide, sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    background: #fffdf9;
    color: #202020;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
    width: 0;
}

::-webkit-input-placeholder {
    color: #BABABA;
    opacity: 1;
}

:-moz-placeholder, ::-moz-placeholder {
    color: #000;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #000;
    opacity: 1;
}



button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 500; margin: 0; letter-spacing: .2px; }

/* Section sits INSIDE the theme's content container — bounded height so the
   theme's header/footer stay visible above and below it. Internal panel
   scrolling still works because the panel gets a bounded height from this
   container.

   `max-width`, `height` and the color palette are set as inline CSS
   variables on .mv-root from the section schema (see locket-builder.liquid)
   so merchants can tune them in the Theme Customizer without editing CSS.

   No border / box-shadow / rounded corners here — the section blends with
   the surrounding page so nothing gets visually clipped at the edges. */
.mv-root {
  display: flex;
  flex-direction: column;
  margin: 0 auto 32px;
  background: var(--mv-bg);
  overflow: hidden;
}

/* ---- Theme-bleed defense ----
   Shopify themes commonly ship aggressive button defaults (uppercase, big
   padding, dark hover background, full-width, large min-height). These
   narrow resets only touch attributes that themes typically override, NOT
   background/color/padding (which our components set individually). */
.mv-root button {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  line-height: normal;
  width: auto;
}
.mv-root button > svg { display: block; }

/* Explicit hover background overrides so a theme rule like
   `button:hover { background: #000 }` can't paint our tiles dark. */
.mv-root .mv-option { background: var(--mv-surface); }
.mv-root .mv-option:hover {
  background: var(--mv-surface);
  border-color: var(--mv-ink);
}
.mv-root .mv-option.is-selected { background: var(--mv-bg); }
.mv-root .mv-options-charms .mv-option {
  /* Override possible theme `button { min-height: 60px }` that inflates tiles */
  min-height: 0;
}

.mv-root .mv-step:hover { background: transparent; }
.mv-root .mv-step.is-active { background: var(--mv-ink); }
.mv-root .mv-filter-chip:hover { background: transparent; }
.mv-root .mv-filter-chip.is-active { background: var(--mv-ink); }
.mv-root .mv-bg-opt { background: var(--mv-bg); }
.mv-root .mv-swatch { background: transparent; }

/* Lock the slot remove (×) button so theme padding/min-height can't
   inflate it. !important is necessary — some themes ship rules like
   `.shopify-section button { min-width: 120px; height: 44px }` that
   would otherwise outrank our overrides. */
.mv-root .mv-slot-remove {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--mv-ink);
  display: none;
  align-items: center; justify-content: center;
}
.mv-root .mv-slot.is-filled .mv-slot-remove { display: flex; }

/* Lock the zoom (open) button size/padding so theme button rules can't
   stretch it into a pill. Display + position are intentionally NOT
   overridden here — the existing rules already handle show/hide. */
.mv-root .mv-zoom-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.85);
  color: var(--mv-ink) !important;
}
.mv-root .mv-zoom-btn svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  fill: none !important;
}
/* Close button — scoped to .is-zoomed so the size lock doesn't make it
   appear when the stage isn't zoomed. */
.mv-stage.is-zoomed .mv-zoom-close {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
}
.mv-stage.is-zoomed .mv-zoom-close svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  fill: none !important;
}

/* Keep button labels on a single line — themes sometimes set
   white-space: normal on buttons, which breaks "Next →" into two rows. */
.mv-root .mv-btn { white-space: nowrap; }
.mv-root .mv-btn .mv-btn-icon { white-space: nowrap; }

/* ============================================================
   HEADER
   ============================================================ */
.mv-header {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mv-line);
  position: sticky; top: 0; z-index: 20;
}
.mv-header-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 10px 22px;
  gap: 14px;
}
.mv-brand { display: flex; align-items: center; gap: 9px; justify-self: start; }
.mv-brand-mark {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mv-gold-hi), var(--mv-gold) 45%, var(--mv-accent));
  color: #fff; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 3px 8px rgba(138,106,58,.3);
  font-size: 13px;
}
.mv-brand-name {  font-size: 19px; letter-spacing: .5px; }
.mv-brand-name em { font-style: italic; color: var(--mv-accent); }

.mv-header-actions { display: flex; gap: 8px; justify-self: end; }
.mv-btn {
  border: 1px solid var(--mv-line);
  background: var(--mv-surface);
  color: var(--mv-ink);
  padding: 7px 14px;
  border-radius: 999px;
  transition: transform .2s var(--mv-ease), background .2s var(--mv-ease), border-color .2s var(--mv-ease), box-shadow .2s var(--mv-ease), color .2s var(--mv-ease);
  font-weight: 500;
  letter-spacing: .2px;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px;
  font-size: 13.5px;
}
.mv-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--mv-shadow-sm); }
.mv-btn:active:not(:disabled) { transform: translateY(0); }
.mv-btn:disabled { opacity: .4; cursor: not-allowed; }
.mv-btn-ghost { background: transparent; }
.mv-btn-primary { background: var(--mv-ink); color: #fff; border-color: var(--mv-ink); }
.mv-btn-primary:hover:not(:disabled) { background: var(--mv-accent); border-color: var(--mv-accent); }
.mv-btn-sm { padding: 6px 12px; font-size: 13px; min-height: 32px; }
.mv-btn-icon { font-size: 15px; opacity: .85; }

/* Step nav */
.mv-steps {
  display: flex; gap: 4px; justify-content: center;
  margin: 0 auto 10px;
  background: var(--mv-surface); border: 1px solid var(--mv-line);
  padding: 3px; border-radius: 999px; box-shadow: var(--mv-shadow-sm);
  width: fit-content;
}
.mv-step {
  border: 0; background: transparent;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  color: var(--mv-ink-soft);
  transition: background .25s var(--mv-ease), color .25s var(--mv-ease);
  min-height: 32px;
}
.mv-step-num {
  display: inline-flex; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mv-bg-soft); color: var(--mv-ink-soft);
  align-items: center; justify-content: center; font-size: 10px; font-weight: 600; 
  transition: background .25s var(--mv-ease), color .25s var(--mv-ease);
}
.mv-step-label { font-weight: 500; }
.mv-step:hover { color: var(--mv-ink); }
.mv-step.is-active { background: var(--mv-ink); color: #fff; box-shadow: 0 4px 14px rgba(29,27,24,.25); }
.mv-step.is-active .mv-step-num { background: var(--mv-gold); color: var(--mv-ink); }
.mv-step.is-done .mv-step-num { background: var(--mv-accent); color: #fff; }

/* ============================================================
   MAIN GRID
   ============================================================ */
.mv-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, .9fr);
}

/* ============================================================
   STAGE — photo composition
   ============================================================ */
.mv-stage {
  position: relative;
  /* Driven by --mv-preview-bg (set inline from the section schema). White
     by default so light parts of the product photos don't pick up a tint. */
  background: var(--mv-preview-bg, #ffffff);
  overflow: hidden;
  min-height: 500px;
}
.mv-stage-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  /* Very subtle warm key-light on the default white bg */
  background:
    radial-gradient(circle at 50% 38%, rgba(0,0,0,.035) 0%, transparent 55%);
}

.mv-stage-inner {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 18px 46px;
}
.mv-preview {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 3 / 4;
  display: block;
  user-select: none;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.18));
}
/* Chain — displayed at its NATURAL aspect ratio (height:auto), no object-fit
   letterboxing. chain_2.png is 1595×1533 and its clasp ring sits ~89% down
   the image. At width:88% the chain occupies ~63% of preview height, putting
   the clasp ring at ~56% of the preview. z-index:2 keeps the chain (and its
   clasp ring) in front of the locket bail so the bail threads through it. */
.mv-preview-chain {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 88%;
  height: auto;
  z-index: 2;
}
/* When the chain image src is swapped, JS toggles .is-entering to
   re-trigger this keyframe — the chain "drops" in from above and settles
   with a soft spring, like a jeweler laying a chain down on velvet. */
.mv-preview-chain.is-entering {
  animation: mv-chain-settle .65s var(--mv-ease-spring) both;
}
@keyframes mv-chain-settle {
  0%   { opacity: 0; transform: translate(-50%, -18px) scaleY(0.96); }
  55%  { opacity: 1; transform: translate(-50%, 3px) scaleY(1.02); }
  80%  { transform: translate(-50%, -1px) scaleY(1); }
  100% { opacity: 1; transform: translate(-50%, 0) scaleY(1); }
}
/* Locket — natural aspect ratio (locket-1.png is 1542×1611).
   Position hand-tuned against the actual photos: top:55% / left:48%
   parks the bail inside the chain's clasp ring. All values are %-based
   inside .mv-preview (which is locked to aspect-ratio 3/4), so this
   composition holds identically at every screen size — no responsive
   overrides needed. z-index:1 keeps it behind the chain. */
.mv-preview-locket {
  position: absolute;
  top: 56%;
  left: 48%;
  transform: translateX(-50%);
  width: 35%;
  height: auto;
  z-index: 3;
}
/* Locket swap: a soft fade-in with a spring scale (like the locket was
   gently placed onto the chain). Slight bail-attach feel. */
.mv-preview-locket.is-entering {
  animation: mv-locket-clasp .55s var(--mv-ease-spring) both;
  transform-origin: 50% 5%; /* anchor at the bail so the body "swings" down */
}
@keyframes mv-locket-clasp {
  0%   { opacity: 0; transform: translate(-50%, -6px) scale(0.86); }
  55%  { opacity: 1; transform: translate(-50%, 1px) scale(1.05); }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
/* Charms are scattered inside the locket interior — each one gets its own
   absolute slot with a small rotation so the cluster looks hand-placed
   rather than grid-aligned. Host box is just the positioning context. */
.mv-preview-charms {
  position: absolute;
  top: 57%;
  left: 48%;
  transform: translateX(-50%);
  width: 20%;
  height: 22%;
  z-index: 4;
  pointer-events: none;
}
/* Charm slot — wrapper holds position + per-slot rotation.
   Position is set via inline `left`/`top` (%) and rotation via the
   `--mv-rot` custom property, so we can drive the transform from CSS
   keyframes (otherwise the inline `transform:` would conflict with the
   drop-in animation).  Left/top transition smoothly when the slot's
   coordinates change (e.g. when another charm is removed and the
   remaining charms shift positions). */
.mv-preview-charm-slot {
  position: absolute;
  display: block;
  width: 34%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--mv-rot, 0deg));
  transform-origin: center;
  transition: left .4s var(--mv-ease-spring), top .4s var(--mv-ease-spring);
}
.mv-preview-charm-slot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.28));
  transform-origin: center;
}
/* Just-added charm: drops into the locket with a satisfying spring
   bounce, mimicking the moment of placing a charm by hand. */
.mv-preview-charm-slot.is-new {
  animation: mv-charm-drop .55s var(--mv-ease-bounce) both;
}
@keyframes mv-charm-drop {
  0%   { opacity: 0; transform: translate(-50%, -90%) scale(0.35) rotate(var(--mv-rot, 0deg)); }
  55%  { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(var(--mv-rot, 0deg)); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1)    rotate(var(--mv-rot, 0deg)); }
}
/* Removed charm: fades and shrinks before being detached from the DOM. */
.mv-preview-charm-slot.is-exiting {
  animation: mv-charm-lift .28s ease forwards;
  pointer-events: none;
}
@keyframes mv-charm-lift {
  to { opacity: 0; transform: translate(-50%, -50%) scale(0.55) rotate(var(--mv-rot, 0deg)); }
}

.mv-stage-caption {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
  padding: 6px 13px; border-radius: 999px;
  font-size: 11.5px; color: var(--mv-ink-soft);
  border: 1px solid var(--mv-line);
  box-shadow: var(--mv-shadow-sm);
  white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis;
}
.mv-stage-caption .mv-dot { color: var(--mv-muted); }

/* Zoom buttons */
.mv-zoom-btn {
  position: absolute; top: 12px; right: 12px;
  z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border: 1px solid var(--mv-line); color: var(--mv-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--mv-shadow-sm);
  transition: transform .2s var(--mv-ease-bounce), background .2s var(--mv-ease);
}
.mv-zoom-btn:hover { transform: scale(1.08); background: var(--mv-surface); }
.mv-zoom-close {
  position: fixed; top: 18px; right: 18px;
  z-index: 10001;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--mv-line); color: var(--mv-ink);
  display: none; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--mv-shadow-sm);
  transition: transform .2s var(--mv-ease-bounce), background .2s var(--mv-ease);
}
.mv-zoom-close:hover { transform: scale(1.08); background: var(--mv-surface); }

/* When zoomed, the stage takes over the entire viewport — z-index must beat
   the theme's fixed header (commonly z-index: 999). */
.mv-stage.is-zoomed {
  position: fixed; inset: 0; z-index: 10000;
  background: radial-gradient(ellipse at 50% 24%, #ffffff 0%, #f3f3f2 60%, #e8e8e6 100%);
  min-height: 0;
  animation: mv-zoom-fade-in .26s ease;
}
@keyframes mv-zoom-fade-in { from { opacity: 0; } to { opacity: 1; } }
.mv-stage.is-zoomed .mv-zoom-btn   { display: none; }
.mv-stage.is-zoomed .mv-zoom-close { display: inline-flex; }
.mv-stage.is-zoomed .mv-stage-inner { padding: 76px 24px 80px; height: 100%; width: 100%; }
/* All preview children are position:absolute, so the preview's content
   size is 0. Without an explicit dimension the aspect-ratio collapses to
   0×0 and the popup looks empty. Lock height to 100% and let width derive
   from aspect-ratio (3/4), with max-width:100% to handle narrow viewports. */
.mv-stage.is-zoomed .mv-preview {
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}
.mv-stage.is-zoomed .mv-stage-caption {
  background: rgba(255,255,255,.85); color: var(--mv-ink-soft);
  border-color: var(--mv-line); font-size: 13px; padding: 8px 16px; bottom: 28px;
}
body.mv-zoom-locked { overflow: hidden; }

/* ============================================================
   PANEL
   ============================================================ */
.mv-panel {
  background: var(--mv-surface);
  border-left: 1px solid var(--mv-line);
  display: flex; flex-direction: column;
  position: relative;
  min-height: 0;
}
.mv-pane-price {
  position: absolute; top: 16px; right: 22px; z-index: 5;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px;
  background: linear-gradient(135deg, rgba(212,175,106,.14), rgba(138,106,58,.08));
  border: 1px solid rgba(212,175,106,.35);
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(138,106,58,.12), inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden;
}
.mv-pane-price-label {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.6px; 
  color: var(--mv-accent); font-weight: 600;
}
.mv-pane-price-value {
   font-size: 16px; font-weight: 600; 
  color: var(--mv-ink); line-height: 1;
}
.mv-pane { padding: 18px 22px 12px; flex: 1; overflow-y: auto; min-height: 0; }
.mv-pane[hidden] { display: none; }
.mv-pane-head { margin-bottom: 14px; padding-right: 130px; }
.mv-pane-head h2 { font-size: 22px; margin-bottom: 2px; line-height: 1.15; }
.mv-pane-head p {  margin: 0; font-size: 12px; }
.mv-pane-body > * + * { margin-top: 14px; }

.mv-group-title {
  font-family: acumin-pro-wide, sans-serif;
  text-transform: uppercase; font-size: 10px; letter-spacing: 1.4px;
  color: var(--mv-muted); font-weight: 500; margin-bottom: 8px;  
}

/* Option grids — image-based tiles */
.mv-options { display: grid; gap: 8px; }
.mv-options-chain  { grid-template-columns: repeat(3, 1fr); }
.mv-options-locket { grid-template-columns: repeat(3, 1fr); }
.mv-options-charms { grid-template-columns: repeat(8, 1fr); gap: 4px; }

.mv-option {
  border: 1px solid var(--mv-line);
  background: var(--mv-surface);
  border-radius: var(--mv-radius-sm);
  padding: 8px 6px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: border-color .2s var(--mv-ease), transform .2s var(--mv-ease), box-shadow .2s var(--mv-ease), background .2s var(--mv-ease);
  cursor: pointer; position: relative;
  min-height: 70px;
}
.mv-option:hover { border-color: var(--mv-ink); transform: translateY(-2px); box-shadow: var(--mv-shadow-sm); }
.mv-option:active { transform: translateY(0); }
.mv-option.is-selected {
  border-color: var(--mv-ink);
  background: var(--mv-bg);
  box-shadow: inset 0 0 0 1px var(--mv-ink);
}
.mv-option.is-selected::after {
  content: "✓"; position: absolute; top: 4px; right: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--mv-ink); color: #fff; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.mv-option img {
  width: 100%; height: 70px; object-fit: contain;   
  pointer-events: none;
}
.mv-option-name {
  font-size: 11px; color: var(--mv-ink-soft); text-align: center;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Compact charm tile — locked height so theme button rules (e.g.
   `button { min-height: 44px }`) can't stretch it. */
.mv-options-charms .mv-option {
  padding: 5px !important;
  min-height: 0 !important;
  max-height: 48px !important;
  height: 48px !important;
  gap: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.mv-options-charms .mv-option img {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.mv-options-charms .mv-option-name { display: none; }

/* ---- Metal swatches (Step 1 chain + Step 2 locket) ----
   Round dot + small label, mirrored from the parent .lb-swatch pattern so
   the picker feels identical between builders. Selected dot grows + gets
   an ink-ring halo. */
.mv-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.mv-swatch {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  border: 0; background: transparent; padding: 3px;
  min-height: 48px;
}
.mv-swatch-dot {
  width: 28px; height: 28px; border-radius: 50%;
  box-shadow:
    inset 2px 2px 3px rgba(255,255,255,.35),
    inset -1px -2px 4px rgba(0,0,0,.15),
    0 1px 3px rgba(0,0,0,.12);
  transition: transform .2s var(--mv-ease-bounce), box-shadow .2s var(--mv-ease);
}
.mv-swatch:hover .mv-swatch-dot { transform: scale(1.1); }
.mv-swatch.is-selected .mv-swatch-dot {
  transform: scale(1.1);
  box-shadow:
    inset 2px 2px 3px rgba(255,255,255,.35),
    inset -1px -2px 4px rgba(0,0,0,.15),
    0 0 0 2px var(--mv-surface),
    0 0 0 3.5px var(--mv-ink),
    0 2px 5px rgba(0,0,0,.12);
}
.mv-swatch-label {
  font-size: 10.5px; color: var(--mv-ink-soft); letter-spacing: .1px;margin-top: 5px;
}

/* ---- Charm category filter chips (above the library) ---- */
.mv-charm-filters { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.mv-filter-chip {
  padding: 5px 12px; font-size: 11.5px;
  border: 1px solid var(--mv-line); border-radius: 999px;
  background: transparent; color: var(--mv-ink-soft);
  transition: all .2s var(--mv-ease);
  min-height: 28px;
}
.mv-filter-chip:hover { color: var(--mv-ink); }
.mv-filter-chip.is-active { background: var(--mv-ink); color: #fff; border-color: var(--mv-ink); }

/* Empty state when a category has no charms yet */
.mv-charm-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 12px;
  color: var(--mv-muted);
  font-size: 13px;
  border: 1px dashed var(--mv-line);
  border-radius: var(--mv-radius-sm);
}

/* ---- Metal tint rules ----
   Two independent classes on .mv-root drive the cascade: one for chain
   imagery, one for locket. This lets customers mix finishes (e.g. yellow
   chain + white locket). Yellow = no filter (original art). */
.mv-chain-metal-rose .mv-preview-chain,
.mv-chain-metal-rose .mv-options-chain .mv-option img {
  filter: hue-rotate(-28deg) saturate(0.75) brightness(0.98);
}
.mv-chain-metal-white .mv-preview-chain,
.mv-chain-metal-white .mv-options-chain .mv-option img {
  filter: grayscale(0.92) brightness(1.08) contrast(0.96);
}
.mv-locket-metal-rose .mv-preview-locket,
.mv-locket-metal-rose .mv-options-locket .mv-option img {
  filter: hue-rotate(-28deg) saturate(0.75) brightness(0.98);
}
.mv-locket-metal-white .mv-preview-locket,
.mv-locket-metal-white .mv-options-locket .mv-option img {
  filter: grayscale(0.92) brightness(1.08) contrast(0.96);
}

/* Charm bar — soft cream gradient card holding the 6 slots. Lives in the
   non-scrolling top region of the charm pane (see .mv-pane[data-pane="charms"]
   below), so no `position: sticky` is needed any more. */
.mv-charmbar {
  background: linear-gradient(135deg, var(--mv-bg), var(--mv-surface));
  padding: 10px;
  border-radius: var(--mv-radius);
  border: 1px dashed var(--mv-line);
  box-shadow: 0 6px 12px -8px rgba(29, 27, 24, 0.18);
}

/* ---- Charm pane layout: head + charmbar + filter chips are pinned;
        only the library grid scrolls inside its own container.
        :not([hidden]) is required so this `display: flex` doesn't override
        the `display: none` that hides inactive panes. ---- */
.mv-pane[data-pane="charms"]:not([hidden]) {
  display: flex;
  flex-direction: column;
  overflow: hidden;            /* override the default overflow-y:auto on .mv-pane */
}
.mv-pane[data-pane="charms"] .mv-pane-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.mv-pane[data-pane="charms"] .mv-charmbar,
.mv-pane[data-pane="charms"] .mv-group-title,
.mv-pane[data-pane="charms"] .mv-charm-filters {
  flex-shrink: 0;
}
.mv-pane[data-pane="charms"] .mv-options-charms {
  /* flex: 1; */
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Top/side insets give the tile hover-lift (translateY(-2px)) and its
     focus-ring shadow room to render — otherwise they get clipped against
     the scroll-port edges, leaving a notch on the top row's border. */
  padding: 4px 4px 0 2px;
}
.mv-charmbar-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.mv-slot {
  aspect-ratio: 1;
  border: 1.5px dashed var(--mv-muted);
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color .2s var(--mv-ease), background .2s var(--mv-ease);
}
.mv-slot.is-filled {
  border-style: solid; border-color: var(--mv-accent);
  background: linear-gradient(145deg, #fff, #faf7f1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.04), 0 2px 6px rgba(138,106,58,.12);
  /* No overflow:hidden — the remove (×) button is positioned outside the
     slot's bounds (top:-6px right:-6px) and was getting clipped. The charm
     image inside is sized 75% so it doesn't need clipping anyway. */
}
.mv-slot img { width: 75%; height: 75%; object-fit: contain; pointer-events: none; }
.mv-slot-remove {
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--mv-ink); color: #fff; border: 2px solid var(--mv-surface);
  font-size: 13px; line-height: 1;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(29,27,24,.22);
  cursor: pointer;
  z-index: 2;
  transition: transform .15s var(--mv-ease-bounce), background .15s var(--mv-ease);
}
.mv-slot.is-filled .mv-slot-remove { display: flex; }
.mv-slot-remove:hover { transform: scale(1.12); background: var(--mv-accent); }
.mv-charmbar-actions { display: flex; justify-content: flex-end; margin-top: 8px; }

/* Pane footer (Back/Next) */
.mv-pane-foot {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 22px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--mv-line);
  background: var(--mv-surface);
}
.mv-pane-foot .mv-btn { flex: 1; justify-content: center; }

/* Review pane */
/* Review pane: summary list + total only. The live stage on the left
   stays visible on this step (no second mini-preview). */
.mv-review-list {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--mv-line); border-radius: var(--mv-radius-sm);
  overflow: hidden; border: 1px solid var(--mv-line);
}
.mv-review-row {
  display: grid; grid-template-columns: 70px 1fr auto;
  gap: 10px; padding: 10px 14px;
  background: var(--mv-surface); align-items: center;
}
.mv-review-row-label {
  text-transform: uppercase; font-size: 10px; letter-spacing: 1.4px;
  color: var(--mv-muted); font-weight: 600;
}
.mv-review-row-value { font-size: 13px; color: var(--mv-ink); line-height: 1.35; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mv-review-edit {
  background: transparent; border: 1px solid var(--mv-line); color: var(--mv-ink);
  padding: 4px 12px; border-radius: 999px; font-size: 11.5px;
  cursor: pointer; transition: all .2s var(--mv-ease);
}
.mv-review-edit:hover { background: var(--mv-ink); color: #fff; border-color: var(--mv-ink); }
.mv-review-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(212,175,106,.14), rgba(138,106,58,.08));
  border: 1px solid rgba(212,175,106,.35);
  border-radius: var(--mv-radius);
}
.mv-review-total-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--mv-accent); font-weight: 600;
}
.mv-review-total-value {  font-size: 20px; font-weight: 600; color: var(--mv-ink); }

/* Toast */
.mv-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--mv-ink); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--mv-ease), transform .3s var(--mv-ease);
  font-size: 13px; box-shadow: var(--mv-shadow-md); z-index: 100;
}
.mv-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .mv-main { grid-template-columns: minmax(0, 1fr) minmax(330px, .88fr); }
}
/* Desktop: charm grid scrolls inside the right-hand pane. .mv-root is
   already height-bounded (see top), so we just need the inner overflow
   bookkeeping. No html/body lock — the theme page scrolls normally. */
@media (min-width: 961px) {
  .mv-main  { min-height: 0; }
  .mv-panel { min-height: 0; overflow: hidden; }
  .mv-stage { overflow: hidden; }
  .mv-pane  { -webkit-overflow-scrolling: touch; }
}
@media (max-width: 960px) {
  .mv-main {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 38svh) minmax(0, 1fr);
    min-height: 0; overflow: hidden;
  }
  .mv-panel { border-left: 0; border-top: 1px solid var(--mv-line); min-height: 0; overflow: hidden; }
  .mv-stage { min-height: 0; overflow: hidden; }
  .mv-stage-inner { padding: 10px 14px 24px; }
  /* Footer just flows at the bottom of the panel — no sticky / fixed so
     it can't escape the section box and overlap the theme footer. */
  .mv-pane {
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 720px) {
  .mv-header-top { gap: 10px; padding: 8px 12px; }
  .mv-header-actions { gap: 5px; }
  .mv-header-actions .mv-btn-text { display: none; }
  .mv-header-actions .mv-btn { padding: 6px 9px; min-width: 32px; min-height: 32px; justify-content: center; }
  .mv-pane-price { top: 12px; right: 14px; padding: 5px 12px 5px 11px; background: #fffdf9;}
  .mv-pane-price-value { font-size: 15px; }
  .mv-steps { margin: 0 auto 8px; padding: 2px; }
  .mv-step { padding: 5px 11px; min-height: 28px; }
  .mv-step-label { font-size: 12px; }
  .mv-step-num { width: 18px; height: 18px; font-size: 10px; }
  .mv-pane { padding: 12px 14px 10px; }
  .mv-pane-head { margin-bottom: 8px; padding-right: 110px; }
  .mv-pane-head h2 { font-size: 19px; }
  .mv-pane-head p { font-size: 12px; }
  .mv-options-chain  { grid-template-columns: repeat(2, 1fr); }
  .mv-options-locket { grid-template-columns: repeat(2, 1fr); }
  .mv-options-charms { grid-template-columns: repeat(7, 1fr); gap: 4px; }
}
@media (max-width: 520px) {
  .mv-options-charms { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .mv-charmbar-slots { grid-template-columns: repeat(6, 1fr); gap: 4px; }
}

/* ============================================================
   Compact layout (Shopify section only): old top header is gone,
   step tabs + total moved into the panel's top row, and Reset / 
   Share / Save moved into the footer next to Back / Next. This
   reclaims the whole header strip for actual content.
   ============================================================ */

/* The top header is no longer rendered, but its old styles still live
   above. These overrides win because they come later in the file. */
.mv-header { display: none; }

.mv-pane-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--mv-line);
  background: var(--mv-surface);

  flex-shrink: 0;
  position: relative;
  z-index: 6;
}
.mv-pane-top .mv-steps {
  /* Was margin: 0 auto 10px to centre under a wider header — here we
     want it flush-left, no bottom gap. */
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.mv-pane-top .mv-steps::-webkit-scrollbar { display: none; }
/* Price pill — anchored to the panel just under the tabs row so it sits
   on the same line as the pane heading ("Choose your chain" etc.). */
.mv-pane-price {
  position: absolute;
  top: 82px;
  right: 18px;
  z-index: 5;
}
/* pane-head reserves room on the right so its h2 doesn't run under
   the absolutely positioned price pill. */
.mv-pane-head { padding-right: 180px; }
 
/* Footer is now two button groups */
.mv-pane-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  border-top: 1px solid var(--mv-line);
  background: var(--mv-surface);
  flex-shrink: 0;
}
.mv-pane-foot-actions,
.mv-pane-foot-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mobile-friendly action buttons: icon-only when space gets tight so
   all 5 buttons (Reset / Share / Save / Back / Next) still fit. */
@media (max-width: 720px) {
  .mv-pane-top { padding: 8px 12px; }
  .mv-pane-foot { padding: 8px 12px; gap: 6px; }
  .mv-pane-foot-actions .mv-btn-text { display: none; }
  .mv-pane-foot-actions .mv-btn {
    padding: 6px 9px; min-width: 32px; min-height: 32px;
    justify-content: center;
  }

  .mv-pane-price {
    position: relative;
    top: 0;
    right: 0;
    z-index: 5;
    width: max-content;
    margin: 10px;
}
}
.site-i-wrappper:has(.lb-section-wrapper) {
  background: transparent;
}

.site-header-top{ padding-bottom: 11px }