/** Shopify CDN: Minification failed

Line 77:0 Unexpected "}"

**/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

  .chapelet-app{
    --cream:#F6EFE3;
    --cream-deep:#EEE3D1;
    --panel-bg:#FBF6EC;
    --stage-bg:#F0E6D6;
    --ink:#2B2018;
    --ink-soft:#4A3B2C;
    --ink-dim:#8A7862;
    --gold:#B08A4E;
    --gold-deep:#8C6B3B;
    --gold-soft:#9C7A47;
    --line:rgba(43,32,24,0.16);
  }
  .chapelet-app *{box-sizing:border-box;}
  .chapelet-app,.chapelet-app{margin:0;padding:0;}
  .chapelet-app{
    background:
      radial-gradient(ellipse at 50% -10%, #FBF3E4 0%, var(--cream) 55%, #EAE0CD 100%);
    color:var(--ink);
    font-family: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
    min-height:100vh; padding:18px 14px 30px; display:flex; justify-content:center;
  }
  .chapelet-app .wrap{ width:100%; max-width:1500px; }
  .chapelet-app header{ text-align:center; margin-bottom:18px; }
  .chapelet-app .eyebrow{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    letter-spacing:.28em; text-transform:uppercase; font-size:11px;
    color:var(--gold-deep); opacity:.9; margin:0 0 10px;
  }
  .chapelet-app h1{
    font-family:'Playfair Display', Georgia, 'Iowan Old Style', serif;
    font-size:clamp(28px,4vw,42px); font-weight:500; margin:0 0 10px; letter-spacing:.01em;
    color:var(--ink);
  }
  .chapelet-app h1 em{ font-style:italic; color:var(--gold-deep); }
  .chapelet-app .sub{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color:var(--ink-dim); font-size:14.5px; max-width:540px; margin:0 auto; line-height:1.55;
  }
  .chapelet-app .studio{ display:grid; grid-template-columns:minmax(300px,1fr) minmax(250px,.78fr) minmax(390px,1.22fr); gap:18px; align-items:start; }
  @media (max-width:1050px){ .chapelet-app .studio{ grid-template-columns:minmax(280px,1fr) minmax(250px,.9fr); } .chapelet-app .separator-panel{grid-column:1;} .chapelet-app .tray{grid-column:2;grid-row:1 / span 2;} }
 /* =========================
   MOBILE — aperçu chapelet
   ========================= */

@media (max-width: 700px){

  .chapelet-app .stage-crop{
    width:100%;
    max-width:none;
    overflow:visible;
  }

  .chapelet-app .stage{
    left:50%;
    width:auto;
    height:100%;
    top:0;
    aspect-ratio:434 / 1489.57;
    transform:translateX(-50%);
  }

}

  .chapelet-app .separator-panel,
  .chapelet-app .tray{
    grid-column:auto;
    grid-row:auto;
  }
}  .chapelet-app .panel{
    border:1px solid var(--line); border-radius:3px; padding:26px 26px 10px;
    background:linear-gradient(180deg, var(--panel-bg), var(--cream-deep));
    box-shadow: 0 1px 2px rgba(43,32,24,0.04);
  }
  .chapelet-app .separator-panel{
    border:1px solid var(--line); border-radius:3px; padding:26px 22px 18px;
    background:linear-gradient(180deg, var(--panel-bg), var(--cream-deep));
    box-shadow:0 1px 2px rgba(43,32,24,0.04);
  }
  .chapelet-app .panel .separator-panel{
    margin:0 0 26px;
    padding:18px 16px 14px;
  }
  .chapelet-app .panel .separator-panel-title{font-size:18px;}
  .chapelet-app .panel .separator-panel-sub{margin-bottom:12px;}

.chapelet-app .separator-panel-title{
    font-family:'Playfair Display',Georgia,serif; font-size:21px; font-weight:500;
    color:var(--ink); margin:0 0 5px;
  }
  .chapelet-app .separator-panel-sub{
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
    color:var(--ink-dim); font-size:11.5px; line-height:1.5; margin:0 0 18px;
  }
  .chapelet-app .separator-choice-grid{display:grid;grid-template-columns:1fr;gap:8px;}
  .chapelet-app .separator-choice{
    all:unset; cursor:pointer; display:flex; align-items:center; gap:11px;
    width:100%; padding:10px 11px; border:1px solid var(--line); border-radius:3px;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
    font-size:12.5px; color:var(--ink-soft); background:#fff;
    transition:border-color .18s ease, background .18s ease, transform .18s ease;
  }
  .chapelet-app .separator-choice:hover{border-color:var(--gold);background:#FFFDF8;transform:translateY(-1px);}
  .chapelet-app .separator-choice.active{border-color:var(--gold-deep);background:rgba(176,138,78,.12);}
  .chapelet-app .separator-choice .swatch{width:30px;height:30px;}
  .chapelet-app .separator-choice-name{flex:1;}
  .chapelet-app .separator-choice-check{font-size:12px;color:var(--gold-deep);opacity:0;}
  .chapelet-app .separator-choice.active .separator-choice-check{opacity:1;}
  .chapelet-app .field{ margin-bottom:26px; }
  .chapelet-app .field-label{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    display:flex; align-items:baseline; gap:10px;
    font-size:11.5px; letter-spacing:.16em; text-transform:uppercase;
    color:var(--gold-deep); margin-bottom:13px;
  }
  .chapelet-app .field-label .count{ color:var(--ink-dim); text-transform:none; letter-spacing:0; font-size:11px; }
  .chapelet-app .field-label::after{ content:''; flex:1; height:1px; background:var(--line); }
  .chapelet-app .options{ display:flex; flex-wrap:wrap; gap:10px; }
  .chapelet-app .opt{
    all:unset; cursor:pointer; display:flex; align-items:center; gap:10px;
    padding:9px 14px 9px 9px; border:1px solid var(--line); border-radius:2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size:13px; color:var(--ink-soft); background:#FFFFFF;
    transition:border-color .18s ease, color .18s ease, background .18s ease;
  }
  .chapelet-app .opt:hover{ border-color:var(--gold); color:var(--ink); background:#FFFDF8; }
  .chapelet-app .opt.active{ border-color:var(--gold-deep); color:var(--ink); background:rgba(176,138,78,0.12); }
  .chapelet-app .opt:focus-visible{ outline:2px solid var(--gold-deep); outline-offset:2px; }
  .chapelet-app .swatch{
    width:20px; height:20px; border-radius:50%; flex:0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(43,32,24,0.18), 0 1px 2px rgba(43,32,24,0.18);
    border:1px solid rgba(43,32,24,0.08);
    background-size:cover; background-position:center;
  }
  .chapelet-app .swatch.gold{ background: conic-gradient(from 200deg, #E9D9AE, #B98F3E, #F3E3BA, #A9782C, #E9D9AE); }
  .chapelet-app .swatch.silver{ background: conic-gradient(from 200deg, #F4F4F4, #9BA0A5, #FFFFFF, #7D8286, #F4F4F4); }
  .chapelet-app .bead-group{
    margin-bottom:18px;
    padding-bottom:14px;
    border-bottom:1px solid var(--line);
  }
  .chapelet-app .bead-group:last-child{ margin-bottom:0; }
  .chapelet-app .bead-group-title{
    font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--gold-deep);
    margin-bottom:9px;
  }
  .chapelet-app .bead-group .options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  .chapelet-app .note{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size:12px; line-height:1.6; color:var(--ink-dim); opacity:.9;
    border-top:1px solid var(--line); padding:16px 0 18px; margin-top:4px;
  }
  .chapelet-app .note b{ color:var(--gold-deep); font-weight:600; }
  .chapelet-app .tray{
    position:sticky; top:0; align-self:start; border:1px solid var(--line); border-radius:3px;
    background:
      radial-gradient(ellipse 70% 55% at 50% 18%, rgba(176,138,78,0.14), transparent 60%),
      linear-gradient(180deg, var(--stage-bg), #E7D9C0 70%);
    padding:18px 16px 10px; display:flex; flex-direction:column; align-items:center;
    min-height:450px;
    box-shadow: inset 0 1px 2px rgba(43,32,24,0.05);
  }
  .chapelet-app .tray-label{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size:10.5px; letter-spacing:.22em; text-transform:uppercase;
    color:var(--gold-deep); opacity:.8; align-self:flex-start; margin-bottom:6px;
  }

.chapelet-app .stage-crop{
  position:relative;
  width:min(100%, 720px);
  aspect-ratio:390 / 900;
  height:auto;
  margin:0 auto;
  overflow:hidden;
}

.chapelet-app .stage{
  position:absolute;
  top:-80%;
  left:46%;
  width:auto;
  height:240%;
  aspect-ratio:434 / 1489.57;
  transform:translateX(-50%);
}

  .chapelet-app .stage{
  position:absolute;
  top:-80%;
  left:50%;
  width:auto;
  height:240%;
  aspect-ratio:434 / 1489.57;
  transform:translateX(-50%);
}

/* Règle commune à tous les calques */
.chapelet-app .stage img{
  position:absolute;
  display:block;
}

/* =========================
   MÉDAILLON
   ========================= */
/* Les nouveaux médaillons et le crucifix utilisent des PNG détourés pour éviter les fonds blancs/noirs. */
.chapelet-app .layer-medaillon{
  top:52%;
  left:46.5%;
  width:10%;
  z-index:3;
  filter:drop-shadow(0 6px 8px rgba(43,32,24,0.28));
}

/* =========================
   CHAÎNE
   ========================= */
.chapelet-app .layer-chaine{
  top:29.301%;
  left:0%;
  width:100%;
  z-index:1;
  transition:filter .25s ease;
  filter:drop-shadow(0 3px 5px rgba(43,32,24,0.22));
}

/* =========================
   CROIX
   ========================= */
.chapelet-app .layer-bottom-separator{
  position:absolute;
  top:64.95%;
  left:49.85%;
  width:5.1%;
  height:auto;
  z-index:12;
  filter:drop-shadow(0 0.6px 0.8px rgba(43,32,24,0.28));
  pointer-events:none;
}

.chapelet-app .layer-croix{
  position:absolute;
  top:65.5%;
  left:41%;
  width:20%;
  z-index:10;
  display:block;
  filter:drop-shadow(0 6px 8px rgba(43,32,24,0.28));
}

.chapelet-app .layer-chaine.silver{
  filter:
    drop-shadow(0 3px 5px rgba(43,32,24,0.22))
    grayscale(1)
    brightness(1.05)
    contrast(0.97);
}

.chapelet-app .stage svg{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:2;
}

/* Raccords pour que les deux brins rejoignent les boucles latérales du médaillon. */
.chapelet-app #medallion-connectors{ pointer-events:none; z-index:2; overflow:visible; }
.chapelet-app #medallion-connectors .connector{ fill:none; stroke:#a9834a; stroke-width:2.4; stroke-linecap:round; filter:drop-shadow(0 1px 1px rgba(43,32,24,.25)); }
.chapelet-app #medallion-connectors .connector-link{ fill:none; stroke:#c7a06a; stroke-width:1.3; opacity:.95; }

.chapelet-app .bead-img{
  filter:drop-shadow(0 0.6px 0.8px rgba(43,32,24,0.28));
}
  .chapelet-app .layer-chaine.silver{ filter: drop-shadow(0 3px 5px rgba(43,32,24,0.22)) grayscale(1) brightness(1.05) contrast(0.97); }
  .chapelet-app .stage svg{ position:absolute; top:0; left:0; width:100%; height:100%; z-index:2; }
  .chapelet-app .bead-img{ filter: drop-shadow(0 0.6px 0.8px rgba(43,32,24,0.28)); }

  .chapelet-app .bead-layer{ pointer-events:none; filter:drop-shadow(0 0.6px 0.8px rgba(43,32,24,0.28)); }
  .chapelet-app .tag{ margin-top:24px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; text-align:center; }
  .chapelet-app .tag .name{ color:var(--ink); font-size:14.5px; letter-spacing:.02em; line-height:1.5; }
  .chapelet-app .tag .desc{ color:var(--ink-dim); font-size:12px; margin-top:6px; }
  .chapelet-app ::selection{ background:var(--gold); color:#FBF6EC; }

.chapelet-app .bead-group{
  margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(43,32,24,.10);
}
.chapelet-app .bead-group-title{
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:8px;
  color:var(--gold-deep);
}
.chapelet-app .bead-group .options{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

  /* Sélection directe des dizaines sur l'aperçu */
  .chapelet-app .decade-hotspot{
    fill:rgba(176,138,78,.01); stroke:transparent; cursor:pointer; pointer-events:all;
    transition:fill .2s ease, stroke .2s ease, filter .2s ease;
  }
  .chapelet-app .decade-hotspot-group:hover .decade-hotspot,.chapelet-app .decade-hotspot-group.active .decade-hotspot{
    fill:rgba(176,138,78,.18); stroke:rgba(145,108,55,.82); stroke-width:1;
    filter:drop-shadow(0 1px 2px rgba(43,32,24,.12));
  }
  .chapelet-app .decade-hotspot-group{cursor:pointer; outline:none;}
  .chapelet-app .decade-hotspot-group:focus-visible .decade-hotspot{stroke:rgba(145,108,55,.9); stroke-width:2.5;}
  .chapelet-app .decade-popover{
    position:absolute; z-index:30; width:250px; max-width:calc(100% - 24px);
    padding:14px; border:1px solid var(--gold); border-radius:4px;
    background:rgba(255,253,248,.97); box-shadow:0 10px 28px rgba(43,32,24,.18);
    display:none;
  }
  .chapelet-app .decade-popover.show{display:block}
  .chapelet-app .hotspot-overlay{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    z-index:20;
    pointer-events:none;
    overflow:visible;
  }
  .chapelet-app .medallion-hotspot{
    fill:rgba(176,138,78,.01);
    stroke:transparent;
    cursor:pointer;
    pointer-events:auto;
    transition:fill .2s ease, stroke .2s ease, filter .2s ease;
  }

  .chapelet-app .medallion-hitbox{
    position:absolute;
    z-index:21;
    display:block;
    padding:0;
    margin:0;
    border:1px solid transparent;
    border-radius:50%;
    background:rgba(176,138,78,.01);
    cursor:pointer;
    pointer-events:auto;
    transition:background .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .chapelet-app .medallion-hitbox:hover,
  .chapelet-app .medallion-hitbox:focus-visible,
  .chapelet-app .medallion-hitbox.active{
    background:rgba(176,138,78,.18);
    border-color:rgba(145,108,55,.82);
    box-shadow:0 1px 2px rgba(43,32,24,.12);
    outline:none;
  }
  .chapelet-app .medallion-hotspot:hover,
  .chapelet-app .medallion-hotspot:focus,
  .chapelet-app .medallion-hotspot.active{
    fill:rgba(176,138,78,.18);
    stroke:rgba(145,108,55,.82);
    stroke-width:2;
    filter:drop-shadow(0 1px 2px rgba(43,32,24,.12));
    outline:none;
  }
  .chapelet-app .decade-popover-title{font-family:'Playfair Display',Georgia,serif;font-size:18px;color:var(--ink);margin-bottom:3px}
  .chapelet-app .decade-popover-sub{font-size:11px;color:var(--ink-dim);margin-bottom:10px}
  .chapelet-app .decade-popover-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .chapelet-app .decade-popover .opt{margin:0;width:100%;padding:7px 8px;font-size:11px}
  .chapelet-app .decade-popover-close{position:absolute;right:7px;top:5px;border:0;background:none;color:var(--ink-dim);font-size:18px;cursor:pointer}
  @media(max-width:900px){.chapelet-app .decade-popover{position:fixed;left:12px!important;right:12px;bottom:12px;top:auto!important;width:auto;max-width:none}}

  .chapelet-app .separator-hotspot{
    fill:rgba(176,138,78,.01); stroke:transparent; pointer-events:all;
    transition:fill .2s ease, stroke .2s ease, filter .2s ease;
  }
  .chapelet-app .separator-hotspot-group{cursor:pointer;}
  .chapelet-app .separator-hotspot-group:hover .separator-hotspot,.chapelet-app .separator-hotspot-group.active .separator-hotspot{
    fill:rgba(176,138,78,.18); stroke:rgba(145,108,55,.82); stroke-width:1;
    filter:drop-shadow(0 1px 2px rgba(43,32,24,.12));
  }

  .chapelet-app .classic-hotspot{
    fill:rgba(176,138,78,.01); stroke:transparent; pointer-events:all;
    transition:fill .2s ease, stroke .2s ease, filter .2s ease;
  }
  .chapelet-app .classic-hotspot-group{cursor:pointer;}
  .chapelet-app .classic-hotspot-group:hover .classic-hotspot,
  .chapelet-app .classic-hotspot-group.active .classic-hotspot{
    fill:rgba(176,138,78,.18); stroke:rgba(145,108,55,.82); stroke-width:1;
    filter:drop-shadow(0 1px 2px rgba(43,32,24,.12));
  }

  .chapelet-app .direct-decade-field{display:none;}
  .chapelet-app .hover-only-field{display:none;}

  .chapelet-app .price-box{
    width:100%; max-width:330px; margin-top:6px; padding:14px 16px;
    border:1px solid var(--gold); background:rgba(255,253,248,.72);
    text-align:center; border-radius:3px;
  }
  .chapelet-app .price-label{
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
    font-size:10px; letter-spacing:.20em; text-transform:uppercase;
    color:var(--gold-deep); margin-bottom:5px;
  }
  .chapelet-app .price-value{
    font-family:'Playfair Display',Georgia,serif; font-size:30px;
    color:var(--ink); line-height:1.15;
  }
  .chapelet-app .price-detail{
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
    font-size:11px; color:var(--ink-dim); margin-top:5px; line-height:1.4;
  }

  .chapelet-app .step-indicator{
    margin:0 0 22px; padding:14px 16px 13px;
    border:1px solid var(--line); border-radius:3px;
    background:rgba(255,255,255,.28);
  }
  .chapelet-app .step-indicator-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
    font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep);}
  .chapelet-app .step-indicator-head strong{font-weight:600;color:var(--ink);letter-spacing:.08em;}
  .chapelet-app .steps{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;}
  .chapelet-app .step-dot{height:4px;border-radius:99px;background:var(--line);transition:background .2s,transform .2s;}
  .chapelet-app .step-dot.active{background:var(--gold-deep);}
  .chapelet-app .step-dot.done{background:var(--ink-dim);}
  @media(max-width:780px){.chapelet-app .step-indicator{margin-bottom:18px}.chapelet-app .steps{gap:4px}}

  /* ===== Mise en page grand écran : aperçu live à droite (NON TOUCHÉ) ===== */
  @media (min-width:1051px){
    .chapelet-app .wrap{max-width:1800px;}
    .chapelet-app{padding:10px 18px 24px;}
    .chapelet-app header{margin-bottom:10px;}
    .chapelet-app .studio{
      grid-template-columns:minmax(340px,.72fr) minmax(650px,1.65fr);
      gap:24px;
      align-items:start;
    }
    .chapelet-app .studio > .panel{grid-column:1;grid-row:1;}
    .chapelet-app .studio > .tray{grid-column:2;grid-row:1;}
    .chapelet-app .tray{
      min-width:0;
      display:flex;
      flex-direction:column;
      align-items:center;
    }
    .chapelet-app .stage-crop{
      width:min(720px, 55vw);
      height:min(90vh, 1080px);
      margin-top:0;
    }
    .chapelet-app .price-box{max-width:420px;}

    .chapelet-app .interaction-hint{
      position:absolute; top:14px; left:50%; transform:translateX(-50%);
      z-index:24; pointer-events:none; display:flex; align-items:center; gap:8px;
      padding:9px 15px; border:1px solid rgba(176,138,78,.48);
      border-radius:999px; background:rgba(255,253,248,.95);
      box-shadow:0 6px 20px rgba(43,32,24,.12);
      font-size:11px; letter-spacing:.035em; color:var(--ink-soft);
      white-space:nowrap; transition:opacity .22s ease, transform .22s ease;
    }
    .chapelet-app .interaction-hint-icon{
      width:18px; height:18px; flex:0 0 18px; display:grid; place-items:center;
      border-radius:50%; background:rgba(176,138,78,.14); color:var(--gold-deep);
      font-size:11px; font-weight:700;
    }
    .chapelet-app .stage.has-hover .interaction-hint{opacity:0; transform:translate(-50%,-6px);}
    .chapelet-app .decade-hotspot-group,.chapelet-app .separator-hotspot-group,.chapelet-app .classic-hotspot-group{cursor:pointer;}
    .chapelet-app .decade-hotspot-group:hover .decade-hotspot,
    .chapelet-app .separator-hotspot-group:hover .separator-hotspot,
    .chapelet-app .classic-hotspot-group:hover .classic-hotspot{
      fill:rgba(176,138,78,.26); stroke:rgba(145,108,55,.95); stroke-width:1.7;
      filter:drop-shadow(0 2px 4px rgba(43,32,24,.17));
    }
    @media(max-width:700px){
      .chapelet-app .interaction-hint{font-size:10px; padding:8px 11px; top:8px;}
    }
  }
  @media (min-width:1500px){
    .chapelet-app .studio{
      grid-template-columns:minmax(360px,.52fr) minmax(820px,2.25fr);
      gap:32px;
    }
    .chapelet-app .stage-crop{
      width:min(780px, 58vw);
      height:min(92vh, 1180px);
    }
  }
  @media (max-width:1050px){
    .chapelet-app .studio > .tray{grid-column:2;grid-row:1 / span 2;}
  }


  /* ===== Achat / panier Shopify ===== */
  .chapelet-app .purchase-box{
    width:100%; max-width:420px; margin-top:12px;
    padding:14px; border:1px solid var(--line); border-radius:3px;
    background:rgba(255,253,248,.88);
  }
  .chapelet-app .purchase-actions{display:flex;gap:8px;align-items:stretch}
  .chapelet-app .add-to-cart-btn{
    flex:1; min-height:48px; border:1px solid var(--gold-deep); border-radius:3px;
    background:var(--ink); color:#fff; cursor:pointer;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    font-size:13px; font-weight:600; letter-spacing:.04em;
    transition:transform .18s ease,opacity .18s ease,background .18s ease;
  }
  .chapelet-app .add-to-cart-btn:hover{transform:translateY(-1px);background:#3a2a1d}
  .chapelet-app .add-to-cart-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
  .chapelet-app .cart-toggle-btn{
    width:52px; min-height:48px; border:1px solid var(--gold);
    border-radius:3px; background:#fff; color:var(--ink); cursor:pointer;
    font-size:19px; position:relative;
  }
  .chapelet-app .cart-count{
    position:absolute; right:-5px; top:-7px; min-width:19px;height:19px;
    padding:0 5px; display:grid;place-items:center;border-radius:99px;
    background:var(--gold-deep);color:#fff;font:600 10px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  }
  .chapelet-app .purchase-note{
    margin:8px 2px 0; font:11px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    color:var(--ink-dim); text-align:center;
  }
  .chapelet-app .shopify-cart-drawer{
    position:fixed; inset:0; z-index:100;
    pointer-events:none; visibility:hidden;
  }
  .chapelet-app .shopify-cart-drawer.open{pointer-events:auto;visibility:visible}
  .chapelet-app .cart-backdrop{position:absolute;inset:0;background:rgba(43,32,24,.38);opacity:0;transition:opacity .22s}
  .chapelet-app .shopify-cart-drawer.open .cart-backdrop{opacity:1}
  .chapelet-app .cart-panel{
    position:absolute;right:0;top:0;height:100%;width:min(430px,94vw);
    background:var(--panel-bg);box-shadow:-12px 0 36px rgba(43,32,24,.2);
    transform:translateX(102%);transition:transform .25s ease;
    display:flex;flex-direction:column;
  }
  .chapelet-app .shopify-cart-drawer.open .cart-panel{transform:translateX(0)}
  .chapelet-app .cart-head{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid var(--line)}
  .chapelet-app .cart-head h2{font:500 24px 'Playfair Display',Georgia,serif;margin:0}
  .chapelet-app .cart-close{border:0;background:none;font-size:25px;color:var(--ink-dim);cursor:pointer}
  .chapelet-app .cart-items{flex:1;overflow:auto;padding:14px 20px}
  .chapelet-app .cart-empty{padding:40px 10px;text-align:center;color:var(--ink-dim);font:13px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
  .chapelet-app .cart-item{display:grid;grid-template-columns:62px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
  .chapelet-app .cart-item-image{width:62px;height:62px;object-fit:contain;background:#f3eadb;border:1px solid var(--line)}
  .chapelet-app .cart-item-title{font:600 13px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink)}
  .chapelet-app .cart-item-properties{margin-top:5px;font:10.5px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink-dim)}
  .chapelet-app .cart-item-price{font:600 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;white-space:nowrap}
  .chapelet-app .cart-item-controls{display:flex;align-items:center;gap:6px;margin-top:9px}
  .chapelet-app .cart-qty{width:28px;height:27px;border:1px solid var(--line);background:#fff;cursor:pointer}
  .chapelet-app .cart-remove{border:0;background:none;color:var(--ink-dim);font-size:11px;cursor:pointer;padding:4px 0}
  .chapelet-app .cart-foot{padding:16px 20px 20px;border-top:1px solid var(--line);background:#fffaf1}
  .chapelet-app .cart-subtotal{display:flex;justify-content:space-between;font:600 15px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin-bottom:12px}
  .chapelet-app .checkout-btn{
    width:100%;min-height:48px;border:1px solid var(--gold-deep);border-radius:3px;
    background:var(--ink);color:#fff;cursor:pointer;font:600 13px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    letter-spacing:.04em;
  }
  .chapelet-app .cart-error{margin:0 0 10px;color:#8b3a2f;font:11px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
  @media(max-width:500px){.chapelet-app .purchase-actions{flex-direction:row}.chapelet-app .cart-panel{width:100%}}
  /* =========================================================
   Ajustements MOBILE UNIQUEMENT (≤ 780px)
   À coller à la toute fin de chapelet-configurateur.css.
   N'écrase rien : ne s'applique qu'en dessous de 780px,
   donc aucun impact sur le rendu ordinateur/tablette.
   ========================================================= */
@media (max-width:780px){

  /* L'aperçu n'a plus besoin de rester collé en haut de l'écran :
     c'est maintenant la barre de prix/achat, fixée en bas, qui reste visible. */
  .chapelet-app .tray{ position:static; }

  /* Le message d'aide ("Survolez une zone…") était pensé pour la souris,
     et n'avait d'ailleurs aucune mise en forme sous 1051px (il traînait
     en texte brut au-dessus du chapelet). On lui donne une bulle discrète
     avec un texte adapté au doigt, sans toucher au JS ni à la version bureau. */
  .chapelet-app .interaction-hint{
    position:absolute; top:10px; left:50%; transform:translateX(-50%);
    z-index:24; pointer-events:none; display:flex; align-items:center; gap:7px;
    padding:7px 13px; border:1px solid rgba(176,138,78,.48);
    border-radius:999px; background:rgba(255,253,248,.95);
    box-shadow:0 4px 14px rgba(43,32,24,.12);
    font-size:10.5px; letter-spacing:.02em; color:var(--ink-soft);
    max-width:90%; text-align:center; white-space:nowrap;
  }
  .chapelet-app .interaction-hint-icon{
    width:16px; height:16px; flex:0 0 16px; display:grid; place-items:center;
    border-radius:50%; background:rgba(176,138,78,.14); color:var(--gold-deep);
    font-size:10px; font-weight:700;
  }
  .chapelet-app .interaction-hint span:last-child{ display:none; }
  .chapelet-app .interaction-hint::after{ content:"Touchez une zone pour la personnaliser"; }

  /* Prix + bouton d'achat regroupés dans une barre fixe en bas d'écran,
     toujours visible pendant que la personne fait ses choix plus bas.
     Nécessite le petit ajout HTML .tray-purchase (voir message). */
  .chapelet-app .tray-purchase{
    position:fixed; left:0; right:0; bottom:0; z-index:40;
    display:flex; align-items:center; gap:9px;
    padding:9px 12px calc(9px + env(safe-area-inset-bottom));
    background:rgba(251,246,236,.97);
    border-top:1px solid var(--line);
    box-shadow:0 -8px 22px rgba(43,32,24,.14);
  }
  .chapelet-app .tray-purchase .price-box{
    flex:0 0 auto; width:auto; max-width:none; margin:0;
    padding:6px 11px; text-align:left;
  }
  .chapelet-app .tray-purchase .price-label,
  .chapelet-app .tray-purchase .price-detail{ display:none; }
  .chapelet-app .tray-purchase .price-value{ font-size:18px; white-space:nowrap; }

  .chapelet-app .tray-purchase .purchase-box{
    flex:1; min-width:0; margin:0; padding:0; border:0; background:none;
  }
  .chapelet-app .tray-purchase .purchase-note{ display:none; }
  .chapelet-app .tray-purchase .add-to-cart-btn{ font-size:12px; padding:0 8px; }
  .chapelet-app .tray-purchase .cart-toggle-btn{ width:46px; }

  /* Marge en bas de la page pour que la barre fixe ne recouvre jamais
     la dernière ligne de texte (la note en bas du panneau d'options). */
  .chapelet-app{ padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}
/* =========================================================
   MOBILE — VUE COMPACTE 2 COLONNES
   Objectif : conserver les réglages à gauche et l'aperçu
   complet à droite, comme sur l'aperçu mobile fourni.
   Le desktop/tablette n'est pas modifié.
   ========================================================= */
@media (max-width:780px){
  .chapelet-app{
    padding:8px 6px 18px;
  }

  .chapelet-app .wrap{
    width:100%;
    max-width:none;
  }

  .chapelet-app header{
    margin-bottom:10px;
  }

  .chapelet-app h1{
    font-size:26px;
    line-height:1.12;
    margin-bottom:6px;
  }

  .chapelet-app .eyebrow{
    font-size:9px;
    margin-bottom:6px;
  }

  .chapelet-app .sub{
    font-size:11px;
    line-height:1.35;
    max-width:330px;
  }

 @media (max-width:780px){

 @media (max-width:780px){
  .chapelet-app .studio{
    grid-template-columns: minmax(0, 0.65fr) minmax(220px, 1fr);
  }
  .chapelet-app .studio > .panel{
    padding-left:6px;
    padding-right:6px;
  }
}

  /* Colonne des réglages */
  .chapelet-app .studio > .panel{
    min-width:0;
  }

  /* Frame de l'aperçu */
  .chapelet-app .studio > .tray{
    width:100%;
    min-width:0;
  }

}

  .chapelet-app .studio > .panel{
    grid-column:1;
    grid-row:1;
    min-width:0;
    padding:14px 10px 8px;
  }

  .chapelet-app .studio > .tray{
    grid-column:2;
    grid-row:1;
    min-width:0;
    width:100%;
    min-height:0;
    padding:10px 6px 10px;
    position:sticky;
    top:8px;
  }

  /* On garde le cadrage vertical du chapelet, mais sans élargissement
     qui provoquerait un débordement horizontal. */
  .chapelet-app .stage-crop{
    width:100%;
    max-width:none;
    aspect-ratio:390 / 900;
    height:auto;
    margin:0 auto;
    overflow:hidden;
  }

  /* Une seule position mobile : annule aussi le left:46% du doublon
     présent plus haut dans l'ancien CSS. */
  .chapelet-app .stage{
    top:-80%;
    left:50%;
    width:auto;
    height:240%;
    aspect-ratio:434 / 1489.57;
    transform:translateX(-50%);
  }

  .chapelet-app .tray-label{
    font-size:8px;
    letter-spacing:.15em;
    margin:0 0 5px;
  }

  .chapelet-app .tag{
    margin-top:10px;
  }

  .chapelet-app .tag .name{
    font-size:11px;
    line-height:1.3;
  }

  .chapelet-app .tag .desc{
    font-size:9px;
    line-height:1.3;
    margin-top:3px;
  }

  /* Les blocs de choix doivent rester lisibles dans la colonne étroite. */
  .chapelet-app .field{
    margin-bottom:14px;
  }

  .chapelet-app .field-label{
    font-size:9px;
    letter-spacing:.10em;
    gap:6px;
    margin-bottom:8px;
  }

  .chapelet-app .options,
  .chapelet-app .bead-group .options{
    gap:5px;
  }

  .chapelet-app .opt{
    min-width:0;
    padding:7px 7px 7px 6px;
    gap:7px;
    font-size:10.5px;
    line-height:1.15;
  }

  .chapelet-app .swatch{
    width:18px;
    height:18px;
  }

  .chapelet-app .bead-group{
    margin-bottom:12px;
    padding-bottom:9px;
  }

  .chapelet-app .bead-group-title{
    font-size:9px;
    margin-bottom:6px;
  }

  .chapelet-app .separator-panel{
    margin:0 0 14px;
    padding:12px 9px 10px;
  }

  .chapelet-app .panel .separator-panel-title{
    font-size:15px;
    line-height:1.15;
  }

  .chapelet-app .panel .separator-panel-sub{
    font-size:9.5px;
    line-height:1.4;
    margin-bottom:8px;
  }

  .chapelet-app .separator-choice-grid{
    gap:5px;
  }

  .chapelet-app .separator-choice{
    gap:6px;
    padding:7px 6px;
    font-size:10px;
  }

  .chapelet-app .separator-choice .swatch{
    width:22px;
    height:22px;
  }

  .chapelet-app .note{
    font-size:9px;
    line-height:1.45;
    padding:10px 0 12px;
  }

  .chapelet-app .price-box{
    max-width:none;
    width:100%;
    margin-top:8px;
    padding:9px 7px;
  }

  .chapelet-app .price-label{
    font-size:8px;
    letter-spacing:.13em;
  }

  .chapelet-app .price-value{
    font-size:21px;
  }

  .chapelet-app .price-detail{
    font-size:8.5px;
    line-height:1.3;
  }

  .chapelet-app .purchase-box{
    width:100%;
    max-width:none;
    margin-top:7px;
    padding:7px;
  }

  .chapelet-app .purchase-actions{
    gap:5px;
  }

  .chapelet-app .add-to-cart-btn{
    min-height:40px;
    padding:0 5px;
    font-size:10px;
  }

  .chapelet-app .cart-toggle-btn{
    width:40px;
    min-height:40px;
    font-size:16px;
  }

  .chapelet-app .purchase-note{
    display:none;
  }

  /* Sur petit écran, le popover reste en bas et ne dépasse pas la largeur. */
  .chapelet-app .decade-popover{
    left:8px !important;
    right:8px;
    bottom:8px;
    width:auto;
    max-width:none;
  }
}

/* Très petits téléphones : on resserre encore les deux colonnes. */
@media (max-width:390px){
  .chapelet-app{
    padding-left:4px;
    padding-right:4px;
  }

  .chapelet-app .studio{
    grid-template-columns:minmax(0,1.12fr) minmax(116px,.68fr);
    gap:6px;
  }

  .chapelet-app .studio > .panel{
    padding-left:8px;
    padding-right:8px;
  }

  .chapelet-app .studio > .tray{
    padding-left:4px;
    padding-right:4px;
  }

  .chapelet-app .opt{
    font-size:10px;
    padding:6px 5px;
  }

  .chapelet-app .separator-choice{
    font-size:9.5px;
  }
}
/* =========================================================
   MOBILE — POPUP DES DIZAINES TOUJOURS AU PREMIER PLAN
   ========================================================= */

@media (max-width:780px){

  /* Le popup doit pouvoir sortir de la zone de l'aperçu */
  .chapelet-app .stage-crop{
    overflow:visible;
  }

  /* L'aperçu passe au-dessus du panneau lorsque le popup est ouvert */
  .chapelet-app .tray{
    position:relative;
    z-index:200;
  }

  .chapelet-app .stage{
    z-index:201;
  }

  /* Tableau de choix */
  .chapelet-app .decade-popover{
    position:fixed !important;
    z-index:99999 !important;

    left:10px !important;
    right:10px !important;
    bottom:12px !important;
    top:auto !important;

    width:auto !important;
    max-width:none !important;

    padding:14px;
    border-radius:8px;

    background:rgba(255,253,248,.99);
    box-shadow:0 -8px 35px rgba(43,32,24,.28);
  }

  .chapelet-app .decade-popover.show{
    display:block !important;
  }

  .chapelet-app .decade-popover-options{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .chapelet-app .decade-popover .opt{
    min-height:44px;
    font-size:12px;
  }

  .chapelet-app .decade-popover-close{
    font-size:24px;
    width:32px;
    height:32px;
  }
}
/* Élargissement de l'aperçu UNIQUEMENT sur mobile */
@media (max-width:780px){
  .chapelet-app .tray{
    width:calc(100% + 400px);
    max-width:none;
    justify-self:start;
    margin-right:-400px;
  }

}