/* Hermosa Pack Skin — CSS issu de la maquette pack-template.html (stage3) */
.hps {
      --blue: #1826e8;
      --blue-dark: #111b91;
      --orange: #ff6a2b;
      --ink: #171d3b;
      --muted: #535e74;
      --paper: #f5f6fa;
      --white: #fff;
      --line: #dfe3ee;
      --radius: 18px;
      --ease: cubic-bezier(.2, .8, .2, 1);
    }
.hps, .hps * { box-sizing: border-box; }
.hps html { scroll-behavior: smooth; }
.hps {
      margin: 0;
      font-family: "Space Grotesk", Grotesk, Arial, sans-serif;
      color: var(--ink);
      background: var(--paper);
      font-size: 15px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
.hps h1, .hps h2, .hps h3, .hps p { margin: 0; }
.hps button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.hps button:disabled { cursor: not-allowed; }
.hps a { color: inherit; text-decoration: none; }
.hps img { display: block; max-width: 100%; }
.hps .shell { max-width: 1424px; width: 91%; margin: auto; padding-bottom: 120px; }
.hps .layout {
      display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
      gap: 5%; align-items: start;
    }
.hps .stage-col { position: sticky; top: 108px; }
.hps .stage {
      position: relative; isolation: isolate; min-height: 420px;
      border-radius: var(--radius); overflow: hidden;
      background: radial-gradient(ellipse at 50% 40%, #fff8 0, transparent 46%),
        linear-gradient(145deg, #e2e8ff 0, #dde4fa 48%, #cfd8fd 100%);
      display: flex; flex-direction: column; padding: 22px 16px 24px;
    }
.hps .stage-label {
      position: relative; z-index: 2; display: flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
    }
.hps .stage-label span { color: var(--blue); font-size: 18px; }
.hps .stage-word {
      position: absolute; z-index: 0; top: 14%; left: 50%; transform: translateX(-50%);
      font-size: clamp(72px, 7vw, 118px); font-weight: 700; letter-spacing: -.085em;
      color: #4b60c322; white-space: nowrap; pointer-events: none; line-height: 1;
    }
.hps .stage-sticker[hidden] { display: none; }
.hps .stage-sticker {
      position: absolute; z-index: 3; right: 16px; top: 22%;
      display: flex; align-items: center; gap: 10px;
      padding: 12px 14px; background: var(--orange); color: #fff;
      border-radius: 4px; transform: rotate(9deg);
      box-shadow: 0 16px 35px #c7462427;
    }
.hps .stage-sticker span { font-size: 16px; font-weight: 700; letter-spacing: -.6px; line-height: 1.05; }
.hps .stage-sticker i { font-style: normal; font-size: 22px; }
.hps .stage-buy { margin-top: 16px; }
.hps .pill {
      display: inline-flex; padding: 6px 9px; border-radius: 5px;
      background: #e9ecff; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .75px;
    }
.hps h1 {
      font-size: clamp(51px, 5.4vw, 82px); font-weight: 700; line-height: 1;
      letter-spacing: -.075em; margin: 16px 0 10px;
    }
.hps h1 em { font-style: normal; color: var(--orange); }
.hps .sub { font-size: 23px; line-height: 1.15; letter-spacing: -.8px; font-weight: 500; }
.hps .sub span { color: var(--blue); }
.hps .lede { max-width: 520px; font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 14px; }
.hps .tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.hps .tags span {
      font-size: 11px; padding: 5px 9px; background: #fff; border-radius: 99px; color: #51596f;
    }
.hps .buy {
      margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
    }
.hps .price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hps .price-line strong { font-size: 33px; font-weight: 600; letter-spacing: -1.7px; }
.hps .price-line .was { color: #8b93a8; text-decoration: line-through; font-size: 14px; margin-left: 8px; }
.hps .price-line .save { color: var(--blue); font-size: 12px; font-weight: 500; }
.hps .format-title {
      display: flex; justify-content: space-between; align-items: center; margin: 20px 0 10px;
    }
.hps .format-title h2 { font-size: 13px; font-weight: 600; }
.hps .format-title span { font-size: 11px; color: var(--muted); }
.hps .slots {
      position: relative; z-index: 1; flex: 1;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      margin-top: 12px;
    }
.hps .pod {
      flex: 1; max-width: 150px; min-width: 0;
      display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    }
.hps .pod-frame {
      width: 100%; aspect-ratio: .78; border-radius: 16px;
      background: #ffffff73; border: 1.5px dashed #7182d566;
      display: grid; place-items: center; position: relative;
    }
.hps .pod .plus { font-size: 28px; color: #7182d5; line-height: 1; }
.hps .pod.filled .pod-frame { background: transparent; border-color: transparent; }
.hps .pod img {
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 2px;
      filter: drop-shadow(0 16px 12px #24336230);
    }
.hps .pod b { font-size: 12px; font-weight: 600; letter-spacing: -.2px; }
.hps .pod small { font-size: 10px; color: var(--muted); }
.hps .pod .x {
      position: absolute; right: 4px; top: 4px; width: 22px; height: 22px;
      border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; line-height: 1;
    }
.hps .steps { display: flex; gap: 18px; margin: 16px 0 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.hps .steps button { padding: 10px 0 12px; font-size: 12px; color: var(--muted); white-space: nowrap; position: relative; }
.hps .steps button b { display: block; font-size: 10px; letter-spacing: .6px; color: var(--blue); margin-bottom: 2px; }
.hps .steps button.active { color: var(--ink); font-weight: 600; }
.hps .steps button.active:after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange);
    }
.hps .hint { min-height: 22px; margin: 14px 0 12px; font-size: 11px; color: #61697b; }
.hps .hint b { color: var(--blue); }
.hps .actions { display: flex; gap: 9px; }
.hps .primary {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      flex: 1; min-height: 55px; padding: 0 19px; border-radius: 9px;
      background: var(--orange); color: #271900; font-size: 13px; font-weight: 600;
      box-shadow: 0 10px 25px #ff6a2b24; transition: .2s;
    }
.hps .primary:hover:not(:disabled) { background: #ff7c45; transform: translateY(-2px); }
.hps .primary:disabled { background: #d9dde8; color: #8b93a8; box-shadow: none; transform: none; }
.hps .trust { display: flex; justify-content: center; gap: 20px; margin-top: 12px; color: #666f82; font-size: 11px; }
.hps .chooser { margin-top: 42px; }
.hps .chooser-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.hps .chooser-head h2 { font-size: 28px; font-weight: 600; letter-spacing: -.8px; }
.hps .chooser-head p { font-size: 12px; color: var(--muted); }
.hps .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hps .card {
      text-align: left; background: #fff; border-radius: var(--radius);
      overflow: hidden; box-shadow: 0 4px 18px #26356208; padding: 0 0 14px;
      transition: transform .2s;
    }
.hps .card:hover { transform: translateY(-2px); }
.hps .card-stage {
      position: relative; aspect-ratio: 1;
      background: linear-gradient(145deg, #e2e8ff 0, #dde4fa 48%, #cfd8fd 100%);
    }
.hps .card-stage img {
      width: 100%; height: 100%; object-fit: contain; padding: 18px;
      filter: drop-shadow(0 16px 12px #24336224);
    }
.hps .card-label {
      position: absolute; left: 12px; top: 12px; font-size: 10px; font-weight: 700;
      letter-spacing: 1px; color: var(--ink);
    }
.hps .card-check {
      position: absolute; right: 10px; top: 10px; width: 24px; height: 24px;
      border-radius: 50%; background: var(--blue); color: #fff;
      display: none; place-items: center; font-size: 12px;
    }
.hps .card.is-on .card-check { display: grid; }
.hps .card.is-on { outline: 2px solid var(--blue); outline-offset: -2px; }
.hps .card-data { padding: 12px 14px 0; }
.hps .card-title { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.hps .card-aroma { font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 36px; }
.hps .card-row {
      display: flex; justify-content: space-between; align-items: center;
      margin-top: 12px; padding: 0 14px;
    }
.hps .card-row strong { font-size: 16px; letter-spacing: -.5px; }
.hps .card-row small { display: block; font-size: 10px; color: var(--muted); }
.hps .pick {
      height: 36px; padding: 0 12px; border-radius: 9px; background: #e9edff;
      color: var(--blue); font-size: 12px; font-weight: 600;
    }
.hps .card.is-on .pick { background: var(--blue); color: #fff; }
.hps .dock {
      position: fixed; display: flex; align-items: center; justify-content: space-between;
      gap: 20px; z-index: 18; bottom: 0; left: 0; right: 0;
      background: #ffffffd9; backdrop-filter: blur(24px);
      padding: 12px 5% calc(12px + env(safe-area-inset-bottom));
      box-shadow: 0 -8px 35px #171d3b09;
    }
.hps .dock b { display: block; font-size: 11px; font-weight: 500; }
.hps .dock b span { color: #5b6580; margin-left: 6px; }
.hps .dock strong { display: block; font-size: 21px; letter-spacing: -.7px; font-weight: 600; margin-top: 1px; }
.hps .dock .primary { flex: 0 0 auto; min-width: 200px; min-height: 46px; }
@media (min-width: 861px) {
  .hps .dock { display: none; }
  .hps .shell { padding-bottom: 48px; }
}
@media (max-width: 860px) {
  .hps h1 { font-size: 40px; }
  .hps .layout { display: flex; flex-direction: column; }
  .hps .copy { display: contents; }
  .hps .hero { order: 1; }
  .hps .stage-col {
        order: 2; position: sticky; top: 64px; z-index: 16;
        background: var(--paper);
        box-shadow: 0 10px 24px #171d3b0c;
        width: 100vw; max-width: 100vw;
        margin-left: calc(50% - 50vw);
        padding: 8px 4.5vw 12px;
        box-sizing: border-box;
      }
  .hps .steps { order: 3; margin-top: 0; }
  .hps .chooser { order: 4; margin-top: 8px; }
  .hps .stage-buy { display: none; }
  .hps .stage {
        min-height: 0; padding: 12px 12px 14px;
        flex-direction: row; flex-wrap: wrap; align-items: center;
        box-shadow: 0 12px 28px #171d3b0d;
      }
  .hps .stage-word { display: none; }
  .hps .stage-label { flex: 1; }
  .hps .stage-sticker {
        position: static; transform: none; order: 2;
        padding: 6px 8px; gap: 6px; box-shadow: none;
      }
  .hps .stage-sticker span { font-size: 11px; }
  .hps .stage-sticker i { font-size: 14px; }
  .hps .slots { flex: 1 0 100%; order: 3; margin-top: 8px; gap: 6px; align-items: flex-start; }
  .hps .pod { max-width: none; gap: 4px; }
  .hps .pod-frame { height: 72px; aspect-ratio: auto; border-radius: 12px; }
  .hps .pod b {
        font-size: 11px; max-width: 100%;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      }
  .hps .pod small { font-size: 9px; }
  .hps .pod .x { width: 18px; height: 18px; font-size: 12px; }
  .hps .card-aroma { min-height: 0; }
  .hps .card-row { gap: 8px; align-items: center; }
  .hps .pick { white-space: nowrap; height: 32px; padding: 0 10px; font-size: 11px; }
  .hps .dock .primary { min-width: 132px; }
}
.hps .stage-col{top:108px}
.hps .status{font-size:12px;margin-top:10px}.hps .status.is-error{color:#c0392b}.hps .status.is-ok{color:var(--blue)}
.hps .primary.is-loading{opacity:.6}
.hps .thc{font-size:10px;color:var(--muted);display:block;margin-top:2px}
.hps .shell{padding-top:24px}

/* v0.3 — isolation contre les styles du thème */
.hps, .hps * { font-family: var(--hps-font, "Space Grotesk"), Arial, sans-serif !important; text-transform: none !important; }
.hps button { letter-spacing: normal; text-shadow: none; min-height: 0; line-height: 1.2; border: 0; border-radius: 0; background: none; color: inherit; padding: 0; margin: 0; box-shadow: none; text-decoration: none; }
.hps .card { padding: 0 0 14px !important; border-radius: var(--radius) !important; background: #fff !important; width: 100%; color: var(--ink) !important; display: block; }
.hps .card .card-title { font-size: 15px; letter-spacing: -.3px; color: var(--ink); }
.hps .card-label, .hps .stage-label, .hps .pill { text-transform: uppercase !important; }
.hps .pick { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 9px; background: #e9edff; color: var(--blue); font-size: 12px; font-weight: 600; }
.hps .card.is-on .pick { background: var(--blue); color: #fff; }
.hps .primary { display: flex !important; border-radius: 9px !important; padding: 0 19px !important; background: var(--orange) !important; color: #271900 !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: normal !important; }
.hps .primary:disabled { background: #d9dde8 !important; color: #8b93a8 !important; }
.hps .pod .x { display: grid !important; place-items: center; z-index: 2; width: 22px !important; height: 22px !important; padding: 0 !important; border-radius: 50% !important; background: var(--ink) !important; color: #fff !important; font-size: 14px !important; line-height: 1 !important; }
.hps .shell { padding-top: 48px; scroll-margin-top: 120px; }
.hps .stage-col { top: calc(var(--hps-header, 112px) + 8px); }
@media (max-width: 860px) {
  .hps .shell { padding-top: 24px; }
  .hps .stage-col { top: var(--hps-header, 96px); }
  .hps .pod .x { width: 18px !important; height: 18px !important; font-size: 12px !important; }
  .hps .pick { height: 32px; padding: 0 10px; font-size: 11px; }
  .hps .primary { padding: 0 14px !important; }
}

/* v0.4 — dock mobile fixe sous <body> */
.hps.hps-dock-wrap { display: contents; }
.hps.hps-dock-wrap .dock { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 99990; transform: none; gap: 10px; padding: 10px 4% calc(10px + env(safe-area-inset-bottom)); background: #fffffff2; }
.hps .dock-slots { display: flex; gap: 6px; flex: 0 0 auto; }
.hps .ds { position: relative; width: 44px; height: 52px; border-radius: 10px; border: 1.5px dashed #7182d566; background: #eef1ff; display: grid; place-items: center; color: #7182d5; font-size: 18px; }
.hps .ds.on { border-color: transparent; background: linear-gradient(145deg,#e2e8ff,#cfd8fd); }
.hps .ds img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.hps .ds .x { position: absolute !important; right: -5px; top: -5px; width: 18px !important; height: 18px !important; font-size: 11px !important; }
.hps .dock-info { flex: 1; min-width: 0; }
.hps .dock-info b { font-size: 10px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hps .dock-info strong { font-size: 18px !important; }
.hps.hps-dock-wrap .dock .primary { min-width: 0 !important; min-height: 44px; font-size: 12px !important; white-space: nowrap; }
@media (min-width: 861px) { .hps.hps-dock-wrap .dock { display: none !important; } }
@media (max-width: 860px) {
  .hps .stage-col { position: static !important; }
  .hps .stage-col .stage { display: none; }
  .hps .shell { padding-bottom: 110px; }
}
/* le bouton cadeau flottant du site (≈56px, bas-droite) recouvrait le CTA */
@media (max-width: 860px) { .hps.hps-dock-wrap .dock { padding-right: 84px !important; } .hps .dock-info b span { display: none; } }
.hps .dock-info strong { white-space: nowrap; font-size: 17px !important; } .hps .dock-info b { max-width: 100%; }

/* v0.5 — résumé épinglé en haut */
.hps .stage-col { position: relative !important; top: auto !important; align-self: stretch; }
.hps .hps-pin { z-index: 30; }
@media (max-width: 860px) {
  .hps .stage-col { display: none !important; }
  .hps.hps-dock-wrap .dock { top: var(--hps-header, 64px) !important; bottom: auto !important; padding: 8px 4% !important; box-shadow: 0 8px 24px #171d3b14 !important; border-bottom: 1px solid var(--line); }
  .hps .ds { width: 38px; height: 44px; }
  .hps.hps-dock-wrap .dock .primary { min-height: 40px !important; }
  .hps .shell { padding-bottom: 40px !important; padding-top: 76px !important; }
}

/* v0.6 — centrage + marges hautes */
.hps:not(.hps-dock-wrap) { display: block; width: 100% !important; max-width: none !important; align-self: stretch !important; margin: 0 !important; box-sizing: border-box; }
.hps .shell { width: auto !important; max-width: 1280px !important; margin: 0 auto !important; padding: var(--hps-top-pad, 32px) 32px 64px !important; box-sizing: border-box; }
.hps .layout { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px) !important; gap: 48px !important; align-items: start; }
@media (min-width: 1600px) { .hps .layout { grid-template-columns: minmax(0, 1fr) 460px !important; } }
.hps .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1200px) { .hps .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .hps .shell { padding: var(--hps-top-pad, 140px) 16px 40px !important; }
  .hps .layout { display: flex !important; gap: 0 !important; }
  .hps .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 860px) {
  .hps .card-row { flex-direction: column; align-items: stretch !important; gap: 8px !important; padding: 0 12px !important; }
  .hps .pick { justify-content: center; width: 100%; }
  .hps .chooser-head { flex-direction: column; align-items: flex-start !important; gap: 4px !important; }
  .hps .chooser-head h2 { font-size: 24px !important; }
}

/* v1.0 — variables pilotées par le widget Elementor */
.hps .shell { max-width: var(--hps-max, 1280px) !important; }
.hps .grid { grid-template-columns: repeat(var(--hps-cols, 3), minmax(0, 1fr)) !important; }
@media (max-width: 1199px) { .hps:not([style*="--hps-cols"]) .grid { grid-template-columns: repeat(var(--hps-cols, 2), minmax(0, 1fr)) !important; } }
.hps .hero .hps-title { font-size: clamp(51px, 5.4vw, 82px); }
.hps-empty { padding: 24px; border: 1px dashed #c00; }

/* 1.2.0 — étapes des packs multi-catégories */
.hps .hps-steps { display: flex; gap: 8px; margin: 0 0 16px; }
.hps .hps-step { flex: 1 1 0; min-width: 0; display: flex !important; align-items: center; gap: 8px; padding: 8px 10px !important; margin: 0 !important; border: 1.5px solid var(--line, #dfe3ee) !important; border-radius: 12px !important; background: #fff !important; color: var(--ink) !important; font: 600 13px/1.2 var(--hps-font, "Space Grotesk"), Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; text-align: left; cursor: pointer; box-shadow: none !important; min-height: 0 !important; }
.hps .hps-step:hover { border-color: var(--blue) !important; }
.hps .hps-step.is-current { border-color: var(--blue) !important; box-shadow: 0 0 0 2px rgba(24, 38, 232, .18) !important; }
.hps .hps-step .n { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #e9edff; color: var(--blue); display: grid; place-items: center; font-size: 12px; }
.hps .hps-step.is-done .n { background: var(--blue); color: #fff; }
.hps .hps-step img { flex: 0 0 32px; width: 32px; height: 32px; object-fit: contain; }
.hps .hps-step .t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hps .hps-step .t b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hps .hps-step small { font-size: 11px; font-weight: 500; color: var(--muted, #535e74); }
.hps .hps-step.is-done small { color: var(--blue); text-decoration: underline; }
.hps .pod[data-goto], .hps-dock-wrap .ds[data-goto] { cursor: pointer; }
.hps .hps-shake { animation: hps-shake .35s; }
@keyframes hps-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (max-width: 860px) {
  .hps .hps-steps { flex-direction: column; gap: 6px; }
  .hps .hps-step { padding: 6px 10px !important; }
  .hps .hps-step .t { flex: 1; flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
  .hps .hps-step img { flex-basis: 26px; width: 26px; height: 26px; }
}

/* 1.2.1 — composeur au-dessus de la ligne de flottaison */
.hps .chooser > .hps-steps:first-child, .hps .chooser > .grid:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .hps .hps-steps { flex-direction: row; overflow-x: auto; gap: 6px; margin-bottom: 12px; scrollbar-width: none; }
  .hps .hps-steps::-webkit-scrollbar { display: none; }
  .hps .hps-step { flex: 1 0 auto; min-width: 104px; max-width: 46%; padding: 6px 8px !important; }
  .hps .hps-step img { display: none; }
  .hps .hps-step .t { flex-direction: column; align-items: flex-start; gap: 0; }
  .hps .hps-step .t b { font-size: 12px; }
}
