/* HR Géant Emballage — website guide ("Packy"). Scoped with the hrg- prefix. */
.hrg-ready .whatsapp{display:none!important} /* WhatsApp now lives inside the guide panel */

.hrg-launch{position:fixed;z-index:900;inset-block-end:calc(20px + env(safe-area-inset-bottom,0px));inset-inline-end:20px;
  display:flex;align-items:center;gap:10px;min-height:56px;padding:6px 18px 6px 6px;border-radius:999px;cursor:pointer;
  background:rgba(13,17,20,.92);color:#f3ece0;border:1px solid rgba(230,197,135,.45);
  box-shadow:0 10px 30px rgba(0,0,0,.45);font:600 .95rem/1 system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;letter-spacing:0}
[dir=rtl] .hrg-launch{padding:6px 6px 6px 18px;font-family:Tahoma,'Noto Sans Arabic',sans-serif}
.hrg-launch:hover{border-color:#e6c587;background:#11161a}
.hrg-launch:focus-visible,.hrg-panel :focus-visible{outline:2px solid #e6c587;outline-offset:3px}
.hrg-open .hrg-launch{opacity:0;pointer-events:none}
.hrg-bot{display:block;width:44px;height:44px;flex:none}
.hrg-bot svg{display:block;width:100%;height:100%}
.hrg-bot-sm{width:40px;height:40px}

.hrg-panel{position:fixed;z-index:901;inset-block-end:20px;inset-inline-end:20px;width:min(370px,calc(100vw - 40px));
  max-height:min(640px,calc(100vh - 110px));display:flex;flex-direction:column;border-radius:20px;overflow:hidden;
  background:rgba(13,17,20,.97);color:#f3ece0;border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 70px rgba(0,0,0,.55),0 0 0 1px rgba(230,197,135,.08);
  font:400 .95rem/1.5 system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;letter-spacing:0;
  opacity:0;transform:translateY(12px) scale(.98);transform-origin:100% 100%;transition:opacity .25s ease,transform .3s ease}
[dir=rtl] .hrg-panel{transform-origin:0 100%;font-family:Tahoma,'Noto Sans Arabic',sans-serif}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .hrg-panel{background:rgba(13,17,20,.82);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%)}}
.hrg-panel.hrg-in{opacity:1;transform:none}
.hrg-panel[hidden]{display:none}

.hrg-head{display:flex;align-items:center;gap:12px;padding:14px 12px 12px 16px;border-bottom:1px solid rgba(255,255,255,.1)}
[dir=rtl] .hrg-head{padding:14px 16px 12px 12px}
.hrg-who{flex:1;min-width:0}
.hrg-panel .hrg-title{margin:0;font-weight:700;font-size:1.05rem;line-height:1.2;font-family:inherit;letter-spacing:0;color:#e6c587;text-transform:none}
.hrg-sub{margin:2px 0 0;font-size:.8rem;color:#b9ad9b}
.hrg-x{flex:none;width:44px;height:44px;border-radius:12px;border:0;background:transparent;color:#f3ece0;font-size:1.6rem;line-height:1;cursor:pointer}
.hrg-x:hover{background:rgba(255,255,255,.08)}

.hrg-body{padding:16px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px}
.hrg-say{margin:0;color:#f3ece0}
.hrg-disclose,.hrg-note,.hrg-count{margin:0;font-size:.78rem;color:#9e978b}
.hrg-note{display:block;margin-top:3px;font-weight:400;color:inherit;opacity:.75}
.hrg-label{margin:8px 0 0;font-size:.78rem;font-weight:700;color:#e6c587}
.hrg-stop{margin:0;font-weight:700;color:#e6c587;font-size:.9rem}
.hrg-extra{margin:0;font-size:.85rem;color:#cfc6b8}
.hrg-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hrg-contact{display:flex;flex-direction:column;gap:8px;margin-top:4px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}
.hrg-nav{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;margin-top:4px}

.hrg-btn{display:flex;flex-direction:column;justify-content:center;min-height:44px;padding:10px 14px;border-radius:12px;box-sizing:border-box;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#f3ece0;text-decoration:none;cursor:pointer;
  font-weight:600;font-size:.9rem;line-height:1.3;font-family:inherit;text-align:start;letter-spacing:0}
.hrg-btn:hover{background:rgba(230,197,135,.14);border-color:rgba(230,197,135,.5)}
.hrg-primary{background:linear-gradient(135deg,#f1d9a4,#c99a4c);color:#1a1208;border-color:transparent}
.hrg-primary:hover{background:linear-gradient(135deg,#f6e2b6,#d4a65a);color:#1a1208}
.hrg-wide{align-items:center;text-align:center}
.hrg-nav .hrg-btn{align-items:center;text-align:center}
.hrg-link{min-height:44px;background:none;border:0;color:#b9ad9b;text-decoration:underline;text-underline-offset:3px;align-items:center}
.hrg-link:hover{background:none;color:#f3ece0}
.hrg-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* the section being presented */
.hrg-spot{box-shadow:inset 0 0 0 2px rgba(230,197,135,.55);transition:box-shadow .4s ease}

/* phones: bottom sheet */
@media (max-width:700px){
  .hrg-launch{padding:5px;min-height:0;inset-inline-end:16px;inset-block-end:calc(16px + env(safe-area-inset-bottom,0px))}
  .hrg-launch-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
  .hrg-bot{width:48px;height:48px}
  .hrg-bot-sm{width:36px;height:36px}
  .hrg-panel{inset-inline:0;inset-block-end:0;width:100%;max-height:78vh;max-height:78dvh;border-radius:20px 20px 0 0;
    border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px);transform:translateY(24px);transform-origin:50% 100%}
  .hrg-panel:before{content:"";display:block;width:40px;height:4px;border-radius:4px;background:rgba(255,255,255,.25);margin:8px auto 0}
  /* during the tour the sheet stays short so the section above stays visible */
  .hrg-panel.hrg-touring{max-height:46vh;max-height:46dvh}
  .hrg-panel.hrg-touring .hrg-head{padding-block:6px}
  .hrg-panel.hrg-touring .hrg-sub{display:none}
}
@media (prefers-reduced-motion:reduce){
  .hrg-panel,.hrg-spot{transition:none}
}

/* ---------- Packy on the homepage ---------- */
.hrg-has-hero .hero-object{display:none}
.hrg-hero-visible .hrg-launch{opacity:0;pointer-events:none;visibility:hidden}
.hrg-hero{position:absolute;z-index:3;inset-inline-end:7%;bottom:10%;width:230px;padding:0;border:0;background:none;cursor:pointer;color:#f3ece0;
  display:flex;flex-direction:column;align-items:center;-webkit-tap-highlight-color:transparent;pointer-events:none}
/* only Packy and the bubble take taps; empty space lets taps reach the page underneath */
.hrg-bubble{pointer-events:auto}
.hrg-hero:focus-visible{outline:2px solid #e6c587;outline-offset:6px;border-radius:16px}
.hrg-scene{display:block;width:100%}
.hrg-scene svg{display:block;width:100%;height:auto;overflow:visible}
.hrg-bubble{position:relative;max-width:220px;margin-bottom:-78px;transition:margin .45s ease;padding:10px 14px;border-radius:16px;
  background:rgba(13,17,20,.86);border:1px solid rgba(230,197,135,.5);box-shadow:0 10px 30px rgba(0,0,0,.4);
  font:600 .88rem/1.35 system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;letter-spacing:0;text-transform:none;text-align:center}
[dir=rtl] .hrg-bubble{font-family:Tahoma,'Noto Sans Arabic',sans-serif}
.hrg-bubble:after{content:"";position:absolute;left:50%;bottom:-7px;width:12px;height:12px;margin-left:-6px;transform:rotate(45deg);
  background:rgba(13,17,20,.95);border-right:1px solid rgba(230,197,135,.5);border-bottom:1px solid rgba(230,197,135,.5)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.hrg-bubble{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}}
.hrg-hero:hover .hrg-bubble,.hrg-hero:focus-visible .hrg-bubble{border-color:#e6c587}.p-eyes,.p-look{transform-box:fill-box}
.p-eyes{transform-origin:center;animation:p-blink 4.6s infinite}
.p-look{animation:p-look 8s ease-in-out infinite}
.hrg-hero.is-out .p-look{animation:none}
@keyframes p-blink{0%,44%,48%,100%{transform:scaleY(1)}46%{transform:scaleY(.1)}}
@keyframes p-look{0%,30%,100%{transform:translateX(0)}38%,52%{transform:translateX(5px)}60%,78%{transform:translateX(-5px)}}

@media (max-width:850px){.hrg-hero{inset-inline-end:3%;bottom:9%;width:190px}}
.hrg-hero.is-out .hrg-bubble{margin-bottom:-14px}
@media (max-width:700px){
  /* phones: Packy sits in the bottom corner below the buttons, his bubble beside him */
  .hrg-has-hero .hero-bottom{display:none}
  .hrg-hero{inset-inline-end:4px;bottom:2px;width:auto;flex-direction:row;align-items:flex-end}
  .hrg-scene{width:118px;flex:none}
  .hrg-bubble,.hrg-hero.is-out .hrg-bubble{max-width:176px;margin:0 0 14px;margin-inline-end:-4px;padding:8px 11px;font-size:.74rem;border-radius:12px;text-align:start}
  .hrg-bubble:after{left:auto;inset-inline-end:-7px;bottom:14px;margin-left:0;border-bottom:0;border-top:1px solid rgba(230,197,135,.5)}
  [dir=rtl] .hrg-bubble:after{border-top:0;border-right:0;border-bottom:1px solid rgba(230,197,135,.5);border-left:1px solid rgba(230,197,135,.5)}
}
@media (prefers-reduced-motion:reduce){.p-eyes,.p-look{animation:none}
}

/* ---------- window-free tour ---------- */
.hrg-touring-mode .hrg-launch{opacity:0;pointer-events:none;visibility:hidden}
.hrg-spot{box-shadow:none}
.hrg-tour{position:fixed;z-index:902;inset-inline-end:24px;bottom:calc(22px + env(safe-area-inset-bottom,0px));display:flex;align-items:flex-end;gap:8px}
.hrg-tour[hidden]{display:none}
.hrg-tour-bot{width:60px;height:60px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.5));animation:hrg-hover 2.8s ease-in-out infinite}
.hrg-tour-bot.hrg-emit{animation:hrg-hover 2.8s ease-in-out infinite,hrg-emit .6s ease-out}
@keyframes hrg-hover{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes hrg-emit{0%{filter:drop-shadow(0 0 0 rgba(255,210,120,0))}40%{filter:drop-shadow(0 0 14px rgba(255,210,120,.9))}100%{filter:drop-shadow(0 8px 18px rgba(0,0,0,.5))}}
.hrg-pill{display:flex;align-items:center;gap:2px;padding:4px;border-radius:999px;background:rgba(13,17,20,.9);
  border:1px solid rgba(230,197,135,.45);box-shadow:0 10px 30px rgba(0,0,0,.45)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.hrg-pill{background:rgba(13,17,20,.75);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}
.hrg-pbtn{width:44px;height:44px;border-radius:50%;border:0;background:transparent;color:#f3ece0;font-size:1rem;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;padding:0}
.hrg-pbtn:hover{background:rgba(230,197,135,.16)}
.hrg-pbtn:focus-visible{outline:2px solid #e6c587;outline-offset:1px}
.hrg-pnext{background:linear-gradient(135deg,#f1d9a4,#c99a4c);color:#1a1208}
.hrg-pnext:hover{background:linear-gradient(135deg,#f6e2b6,#d4a65a)}
.hrg-arrow{font-size:1.7rem;padding-bottom:3px}
.hrg-play{font-size:.8rem;letter-spacing:-2px}
.hrg-pcount{min-width:42px;text-align:center;font:600 .8rem/1 system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:#e6c587;letter-spacing:0}

/* signal waves from Packy's antenna towards the title */
.hrg-waves{position:fixed;z-index:899;pointer-events:none;border-radius:50%;opacity:0;
  -webkit-mask:conic-gradient(from var(--from,0deg),#000 0deg,#000 64deg,transparent 64deg);mask:conic-gradient(from var(--from,0deg),#000 0deg,#000 64deg,transparent 64deg)}
.hrg-waves.go{opacity:1}
.hrg-waves i{position:absolute;inset:0;border-radius:50%;border:3px solid rgba(255,222,160,.95);box-shadow:0 0 24px 4px rgba(255,200,110,.6),inset 0 0 24px 4px rgba(255,200,110,.45);
  transform:scale(.05);opacity:0}
.hrg-waves.go i{animation:hrg-ring 1.3s cubic-bezier(.2,.7,.3,1) forwards}
.hrg-waves.go i:nth-child(2){animation-delay:.22s}
.hrg-waves.go i:nth-child(3){animation-delay:.44s}
@keyframes hrg-ring{0%{transform:scale(.05);opacity:0}15%{opacity:1}100%{transform:scale(1);opacity:0}}

/* the page's own title and text light up */
.hrg-lit-title{position:relative;text-shadow:0 0 22px rgba(255,205,120,.55),0 0 2px rgba(255,230,180,.6);transition:text-shadow .6s ease}
.hrg-lit-title:after{content:"";position:absolute;inset:-6px -10px;pointer-events:none;border-radius:8px;mix-blend-mode:screen;
  background:linear-gradient(100deg,transparent 35%,rgba(255,214,140,.55) 50%,transparent 65%) 0 0/250% 100% no-repeat;
  animation:hrg-sweep 1.1s ease-out forwards}
@keyframes hrg-sweep{from{background-position:130% 0;opacity:1}to{background-position:-40% 0;opacity:0}}
.hrg-lit-text{position:relative;color:#fff!important;transition:color .6s ease}
.hrg-lit-text:after{content:"";position:absolute;left:-8px;right:-8px;top:0;height:1.7em;pointer-events:none;border-radius:6px;mix-blend-mode:screen;
  background:linear-gradient(90deg,rgba(255,210,130,0),rgba(255,210,130,.38),rgba(255,210,130,0));
  animation:hrg-scan 1.8s ease-in-out forwards}
@keyframes hrg-scan{0%{transform:translateY(0);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:translateY(calc(var(--hrg-h,4em) - 1.2em));opacity:0}}

@media (max-width:700px){
  .hrg-tour{bottom:calc(12px + env(safe-area-inset-bottom,0px));inset-inline-end:10px;gap:6px}
  .hrg-tour-bot{width:50px;height:50px}
  .hrg-pbtn{width:42px;height:42px}
}
@media (prefers-reduced-motion:reduce){
  .hrg-tour-bot,.hrg-tour-bot.hrg-emit{animation:none}
  .hrg-waves{display:none}
  .hrg-lit-title:after,.hrg-lit-text:after{display:none}
  .hrg-spot{box-shadow:inset 0 0 0 2px rgba(230,197,135,.55)}
}

/* ---------- Phase 1: intents, live demonstrations, design mode ---------- */
.hrg-eyes-live .p-look{animation:none;transition:transform .18s ease-out}
.hrg-ask{font-size:1.05rem;font-weight:700;color:#fff}
.hrg-intents{display:flex;flex-direction:column;gap:8px}
.hrg-intent{min-height:48px;font-size:.92rem;background:rgba(255,255,255,.07)}
.hrg-intent:hover{background:rgba(230,197,135,.16);border-color:#e6c587;transform:translateX(2px)}
[dir=rtl] .hrg-intent:hover{transform:translateX(-2px)}
.hrg-design{min-height:48px;align-items:center;text-align:center;background:transparent;border:1px dashed rgba(230,197,135,.7);color:#e6c587}
.hrg-design:hover{background:rgba(230,197,135,.12)}

.hrg-tour{flex-direction:column;align-items:flex-end}
.hrg-tour-row{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:calc(100vw - 20px)}
.hrg-tbubble{margin:0;max-width:min(340px,calc(100vw - 24px));padding:14px 17px;border-radius:14px;background:rgba(13,17,20,.92);color:#f3ece0;
  border:1px solid rgba(230,197,135,.5);box-shadow:0 10px 30px rgba(0,0,0,.45);
  font:600 .95rem/1.55 system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;letter-spacing:0;display:flex;flex-direction:column;gap:8px;
  translate:var(--hrg-drag-x,0px) var(--hrg-drag-y,0px);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.hrg-tbubble.hrg-dragging{cursor:grabbing;animation:none}
.hrg-tbubble button,.hrg-tbubble a{touch-action:auto;cursor:pointer}
.hrg-tbubble:focus-visible{outline:2px solid #e6c587;outline-offset:3px}
.hrg-item-note{display:block;font-size:.87rem;line-height:1.55;font-weight:400;color:#e8ded0;border-top:1px solid rgba(255,255,255,.18);padding-top:9px}
[dir=rtl] .hrg-tbubble{font-family:Tahoma,'Noto Sans Arabic',sans-serif}
.hrg-tbubble.pop{animation:hrg-pop .35s cubic-bezier(.34,1.56,.64,1)}
@keyframes hrg-pop{from{transform:scale(.9) translateY(6px);opacity:0}to{transform:none;opacity:1}}
.hrg-send{align-items:center;text-align:center;background:linear-gradient(135deg,#f1d9a4,#c99a4c);color:#1a1208;border-color:transparent}
.hrg-send:hover{background:linear-gradient(135deg,#f6e2b6,#d4a65a);color:#1a1208}
.hrg-tbubble .hrg-note{font-weight:400;color:#b9ad9b}

/* elements Packy points at */
.hrg-lit-item{outline:2px solid rgba(255,214,140,.9)!important;outline-offset:4px;border-radius:6px;
  box-shadow:0 0 0 6px rgba(230,197,135,.12),0 0 34px rgba(255,200,110,.35)!important;transition:outline-color .3s,box-shadow .3s}
.hrg-pin{position:relative}
.hrg-pin:after{content:"";position:absolute;left:50%;top:50%;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;pointer-events:none;
  border:3px solid #ffd68c;box-shadow:0 0 18px rgba(255,200,110,.8);animation:hrg-pinpulse 1.4s ease-out infinite}
@keyframes hrg-pinpulse{from{transform:scale(.4);opacity:1}to{transform:scale(3.2);opacity:0}}

@media (max-width:700px){
  .hrg-tour{inset-inline-end:10px;max-width:calc(100vw - 20px)}
  .hrg-tour-bot{width:68px;height:68px}
  .hrg-tbubble{max-width:calc(100vw - 24px);font-size:1rem;line-height:1.55;padding:15px 17px}
  .hrg-item-note{font-size:.9rem}
  .hrg-scene{width:min(140px,38vw)}
  .hrg-bubble,.hrg-hero.is-out .hrg-bubble{max-width:min(190px,54vw);font-size:.84rem;line-height:1.45}
}
@media (prefers-reduced-motion:reduce){
  .hrg-tbubble.pop,.hrg-pin:after{animation:none}
  .hrg-intent:hover{transform:none}
}

/* design mode: featured entry + copy button */
.hrg-design{background:linear-gradient(135deg,rgba(241,217,164,.16),rgba(201,154,76,.1));border:1px solid rgba(230,197,135,.75);border-style:solid;color:#f1d9a4;gap:3px}
.hrg-design .hrg-note{display:block;color:#cfc6b8;font-weight:400}
.hrg-copy{align-items:center;text-align:center}
.hrg-body > *{flex-shrink:0}

/* 2026-09-28: repeat-all state, Packy larger and clearer on phones */
.hrg-repeat.is-on{background:rgba(230,197,135,.22);color:#f1d9a4;box-shadow:inset 0 0 0 1px rgba(230,197,135,.7)}
.hrg-tbubble:before{content:"";display:block;width:28px;height:4px;border-radius:4px;background:rgba(230,197,135,.45);margin:-4px auto 2px}
.hrg-tour:not([hidden]) .hrg-tour-bot{animation:hrg-grow .45s cubic-bezier(.34,1.56,.64,1),hrg-hover 2.8s .45s ease-in-out infinite}
@keyframes hrg-grow{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
@media (max-width:700px){
  .hrg-hero{bottom:0}
  .hrg-scene{width:min(156px,42vw)}
  .hrg-launch .hrg-bot{width:58px;height:58px}
  .hrg-tour-bot{width:78px;height:78px}
  .hrg-bot-sm{width:44px;height:44px}
  .hrg-pbtn{width:44px;height:44px}
  .hrg-arrow{font-size:1.9rem}
}
@media (prefers-reduced-motion:reduce){.hrg-tour:not([hidden]) .hrg-tour-bot{animation:none}}

/* A dedicated sightline for the box demonstration. Packy's message sits above
   the sticky preview, while the controls and the box remain visible together. */
.hrg-design-tour .hrg-tbubble{
  position:fixed;top:calc(78px + env(safe-area-inset-top,0px));inset-inline-end:24px;
  width:min(340px,calc(100vw - 40px));max-height:min(126px,22vh);overflow-y:auto;
  box-sizing:border-box;
}
.hrg-design-tour .config-preview-col{top:220px}
.hrg-design-tour .config-preview.is-live{height:min(520px,calc(100vh - 320px));min-height:280px}
.hrg-design-tour .hrg-waves{display:none}
.hrg-design-summary .hrg-tbubble{max-height:min(260px,42vh);touch-action:pan-y}
@media (max-width:850px) and (min-width:701px){
  .hrg-design-tour .config-preview-col{top:206px}
  .hrg-design-tour .config-preview.is-live{height:min(440px,calc(100vh - 300px));min-height:260px}
}
@media (max-width:700px){
  .hrg-design-tour .hrg-tbubble{
    top:calc(68px + env(safe-area-inset-top,0px));inset-inline:10px;width:auto;
    max-width:none;max-height:132px;padding-inline-start:75px;
    font-size:.92rem;line-height:1.42;
  }
  .hrg-design-tour .hrg-tour-bot{
    position:fixed;top:calc(76px + env(safe-area-inset-top,0px));inset-inline-start:18px;
    width:52px;height:52px;z-index:1;
  }
  .hrg-design-tour .config-preview-col{top:calc(210px + env(safe-area-inset-top,0px))}
  .hrg-design-tour .config-preview.is-live{height:clamp(220px,34dvh,250px);min-height:0}
  .hrg-design-tour .hrg-tour-row{max-width:calc(100vw - 20px)}
  .hrg-design-summary .hrg-tbubble{max-height:min(290px,44dvh)}
}
@media (max-width:700px) and (max-height:650px){
  .hrg-design-tour .hrg-tbubble{max-height:106px}
  .hrg-design-tour .config-preview-col{top:calc(180px + env(safe-area-inset-top,0px))}
  .hrg-design-tour .config-preview.is-live{height:220px}
}

/* 2026-09-28: calmer, more premium preview during "Design your box with me", and more room for the box */
.box-stage.hrg-glide .box3{transition:transform 1.1s cubic-bezier(.22,.8,.2,1)}
.box-stage.hrg-swap{animation:hrg-swap .9s ease-out}
@keyframes hrg-swap{0%{opacity:.25;filter:blur(3px)}100%{opacity:1;filter:none}}
.hrg-design-tour .hrg-tbubble:before{display:none}
.hrg-design-tour .hrg-tbubble{padding:10px 14px;gap:6px;font-size:.9rem;line-height:1.4;max-height:min(112px,20vh)}
.hrg-design-tour .config-preview-col{top:var(--hrg-dock,220px)}
.hrg-design-tour .box-stage{scale:1.18}
@media (max-width:700px){
  .hrg-design-tour .hrg-tbubble{top:calc(64px + env(safe-area-inset-top,0px));padding:9px 12px;padding-inline-start:62px;font-size:.86rem;line-height:1.38;max-height:98px}
  .hrg-design-tour .hrg-tour-bot{top:calc(70px + env(safe-area-inset-top,0px));inset-inline-start:14px;width:42px;height:42px}
  .hrg-design-tour .config-preview-col{top:var(--hrg-dock,170px)}
  .hrg-design-tour .config-preview.is-live{height:clamp(230px,36dvh,280px)}
  .hrg-design-tour .box-stage{scale:1.32}
  .hrg-design-tour .preview-caption{display:none}
  .hrg-design-summary .hrg-tbubble{max-height:min(260px,40dvh)}
}
@media (prefers-reduced-motion:reduce){.box-stage.hrg-glide .box3{transition:none}.box-stage.hrg-swap{animation:none}}

/* 2026-09-28: Packy steps aside at the footer; social links in his contact panel */
.hrg-footer-visible:not(.hrg-open) .hrg-launch{opacity:0;pointer-events:none;visibility:hidden}
.hrg-social{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hrg-social .hrg-btn{align-items:center;text-align:center}

/* 2026-09-29 Packy review: smart glass bubble, compact text on phones, dock that moves away from what Packy shows */
.hrg-tbubble,.hrg-pill{background:rgba(13,17,20,.94)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .hrg-tbubble,.hrg-pill{background:rgba(12,16,19,.64);-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%)}
}
@media (prefers-reduced-transparency:reduce){.hrg-tbubble,.hrg-pill{background:rgba(13,17,20,.97)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
.hrg-tbubble{border-color:rgba(230,197,135,.4);text-shadow:0 1px 2px rgba(0,0,0,.55)}
.hrg-tb-text{display:flex;flex-direction:column;gap:6px}
.hrg-tb-line{font-weight:600}
.hrg-item-note{display:block;padding-top:6px;border-top:1px solid rgba(255,255,255,.12);font-weight:500;color:#e8dcc4}
.hrg-tb-more{align-self:flex-start;min-height:32px;padding:4px 12px;margin-top:2px;border-radius:999px;border:1px solid rgba(230,197,135,.45);background:transparent;color:#e6c587;font:600 .78rem/1 inherit;font-family:inherit;cursor:pointer}
.hrg-tb-more:hover{background:rgba(230,197,135,.12)}
.hrg-tb-more:focus-visible{outline:2px solid #e6c587;outline-offset:2px}
.hrg-tour.hrg-dock-top{bottom:auto;top:calc(var(--hrg-header-h,64px) + 10px);flex-direction:column-reverse}
.hrg-tour.hrg-dock-top .hrg-tbubble{animation:hrg-pop .35s cubic-bezier(.34,1.56,.64,1)}
@media (max-width:700px){
  /* phones: three lines by default, "More" opens the rest */
  body:not(.hrg-design-tour) .hrg-tb-text{max-height:calc(1.45em * 3 + 2px);overflow:hidden;line-height:1.45}
  body:not(.hrg-design-tour) .hrg-tbubble.is-open .hrg-tb-text{max-height:min(46vh,340px);overflow:auto}
  body:not(.hrg-design-tour) .hrg-tbubble{font-size:.92rem;padding:10px 14px;gap:6px}
  .hrg-tour.hrg-dock-top{top:calc(var(--hrg-header-h,64px) + 6px)}
}
@media (prefers-reduced-motion:reduce){.hrg-tour.hrg-dock-top .hrg-tbubble{animation:none}}
.hrg-item-note.is-first{padding-top:0;border-top:0;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.12);color:#fff;font-weight:600}
.hrg-item-note.is-first + .hrg-tb-line{font-weight:500;color:#d8d2c6}

/* ==========================================================================
   Packy 2026-09-30: folded-cardboard rhombicuboctahedron mascot
   ========================================================================== */
.hrg-bot .hrg-mascot,.hrg-scene .hrg-mascot{display:block;width:100%;height:100%;overflow:visible}
.hrg-scene{position:relative;display:block;width:150px;height:150px;flex:none}
.hrg-scene .hrg-mascot{position:relative;filter:drop-shadow(0 14px 22px rgba(0,0,0,.55))}
.hrg-scene-shadow{position:absolute;left:18%;right:18%;bottom:2%;height:10%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(0,0,0,.55),rgba(0,0,0,0) 70%)}
.hrg-hero{width:auto}
.hrg-bubble{margin-bottom:6px}
/* friendly tap response: anticipation tilt, small turn and bounce, blink, settle */
.hrg-mascot{transform-origin:50% 70%}
.hrg-mascot.is-tapped{animation:hrg-tap .72s cubic-bezier(.3,.7,.3,1) 1}
.hrg-mascot.is-tapped .p-eyes{animation:hrg-tap-blink .72s ease 1}
@keyframes hrg-tap{0%{transform:none}18%{transform:rotate(-7deg) scale(.94)}46%{transform:rotate(6deg) translateY(-10%) scale(1.05)}70%{transform:rotate(-2deg) translateY(0) scale(.99)}100%{transform:none}}
@keyframes hrg-tap-blink{0%,30%,50%,100%{transform:scaleY(1)}40%{transform:scaleY(.1)}}
.p-eyes{transform-box:fill-box;transform-origin:center}
.hrg-hero:hover .hrg-mascot:not(.is-tapped){transform:translateY(-3px)}
.hrg-mascot{transition:transform .25s ease}
.hrg-launch .hrg-bot{width:48px;height:48px}
@media (max-width:700px){
  .hrg-scene{width:104px;height:104px}
  .hrg-launch .hrg-bot{width:52px;height:52px}
}
@media (prefers-reduced-motion:reduce){
  .hrg-mascot,.hrg-mascot.is-tapped,.hrg-mascot.is-tapped .p-eyes{animation:none;transition:none}
  .hrg-mascot.is-tapped{filter:drop-shadow(0 0 10px rgba(230,197,135,.85))}
}
.hrg-hero .hrg-scene,.hrg-hero .hrg-mascot{pointer-events:auto;cursor:pointer}

/* Expressive face: eye motion, blink and mouth never share transforms. */
.hrg-tour-bot{min-width:44px;min-height:44px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:12px}
.hrg-tour-bot>.hrg-bot{width:100%;height:100%}
.hrg-tour-bot:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.hrg-mascot .p-mouth{transition:opacity .12s ease}
.hrg-panel .hrg-bot-sm{width:52px;height:52px}
@media(max-width:700px){
  .hrg-has-hero .hero{height:auto;min-height:100svh;max-height:none;flex-direction:column;align-items:stretch;justify-content:center;padding-block-start:110px}
  .hrg-has-hero .hero-content{padding-top:0}
  .hrg-hero{position:relative;inset:auto;width:fit-content;max-width:calc(100% - 16px);align-self:flex-end;margin:24px 8px calc(12px + env(safe-area-inset-bottom,0px))}
  .hrg-scene{width:clamp(96px,27vw,108px);height:clamp(96px,27vw,108px)}
  .hrg-bubble,.hrg-hero.is-out .hrg-bubble{max-width:min(176px,calc(100vw - 166px));font-size:.8rem}
  .hrg-launch .hrg-bot{width:clamp(58px,15vw,64px);height:clamp(58px,15vw,64px)}
  .hrg-launch,[dir=rtl] .hrg-launch{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;min-width:44px;min-height:44px}
  .hrg-launch:hover{background:transparent;border-color:transparent}
  .hero h1{font-size:clamp(2.4rem,10.4vw,3.4rem);overflow-wrap:anywhere}
  h2{overflow-wrap:anywhere;hyphens:auto}
  .company-grid>*{min-width:0}
}
@media(max-width:360px){
  .header-inner{padding-inline:12px;gap:8px}
  .brand{gap:6px;font-size:.6rem}
  .brand img{width:36px;height:36px}
  .brand small{font-size:.5rem}
  .header-actions{gap:6px}
  .language{gap:0}
  .menu-toggle{width:44px;flex:none}
}
@media(prefers-reduced-motion:reduce){
  .hrg-mascot,.hrg-mascot.is-tapped,.hrg-tour-bot,.hrg-tour:not([hidden]) .hrg-tour-bot{animation:none!important;transition:none!important}
  .hrg-hero:hover .hrg-mascot:not(.is-tapped){transform:none}
}

/* 2026-09-30: no light rectangle during tours; Packy never shows a tap/focus square */
.hrg-lit-title:after,.hrg-lit-text:after{content:none;display:none}
.hrg-lit-text{text-shadow:0 0 14px rgba(255,205,120,.35)}
.hrg-tour-bot,.hrg-launch,.hrg-scene,.hrg-mascot{-webkit-tap-highlight-color:transparent}
.hrg-tour-bot:focus:not(:focus-visible),.hrg-launch:focus:not(:focus-visible){outline:none}
.hrg-tour-bot,.hrg-tour-bot:hover,.hrg-tour-bot:active,.hrg-tour-bot:focus{background:transparent;box-shadow:none;-webkit-appearance:none;appearance:none}


/* ==========================================================================
   2026-09-30 Stage + Dock: "Design your box" on phones and short touch screens.
   Only active while guide.js has mounted the layer (html.hrg-docked).
   Glass is decorative only: every instruction, label and button sits on a solid surface.
   ========================================================================== */
.hrg-shell{--hrg-gold:#e6c587;--hrg-ink:#f3ece0;--hrg-dock-bg:#0b0f12;--hrg-card:#12171b;--hrg-rim:rgba(255,255,255,.1);--hrg-rim-hi:rgba(255,255,255,.3);
  position:fixed;z-index:950;left:0;right:0;top:var(--hrg-vvt,0px);height:100vh;height:100dvh;height:var(--hrg-vvh,100dvh);
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--hrg-stage-h,46%) minmax(0,1fr);
  box-sizing:border-box;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px);
  background:var(--hrg-dock-bg);color:var(--hrg-ink);overflow:hidden;
  font:400 1rem/1.45 system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;letter-spacing:0}
.hrg-shell[hidden]{display:none!important}
[dir=rtl] .hrg-shell,.hrg-shell[dir=rtl]{font-family:Tahoma,'Noto Sans Arabic',sans-serif}
/* Automatic stage sizing: large for every demonstration, smaller only for typing and the summary */
.hrg-shell[data-stage=large]{--hrg-stage-h:clamp(200px,48%,480px)}
.hrg-shell[data-stage=summary]{--hrg-stage-h:clamp(150px,30%,240px)}
.hrg-shell[data-stage=compact]{--hrg-stage-h:clamp(96px,28%,132px)}
html.hrg-docked,html.hrg-docked body{overflow:hidden;overscroll-behavior:none}
html.hrg-docked .site-header,html.hrg-docked .hrg-tour,html.hrg-docked .hrg-launch,html.hrg-docked .hrg-waves{visibility:hidden}

/* Stage: the real .config-preview, full size, nothing essential over the box */
.hrg-shell-stage{position:relative;min-height:0;overflow:hidden}
html.hrg-docked .hrg-shell .config-preview.is-live{position:absolute;inset:0;height:auto;min-height:0;margin:0;border:0}
html.hrg-docked .hrg-shell .preview-caption{display:none}
html.hrg-docked .hrg-shell .config-views{top:10px;inset-inline:10px}
html.hrg-docked .hrg-shell .config-views button{min-height:40px;padding:8px 12px;background:#0e1316;color:#eef0ee;
  border:1px solid var(--hrg-rim);border-top-color:var(--hrg-rim-hi);border-radius:10px}
html.hrg-docked .hrg-shell .config-views button.is-on{background:#1470AE;border-color:#1470AE;border-top-color:rgba(255,255,255,.45);color:#fff}
html.hrg-docked .hrg-shell .box-stage,html.hrg-docked .hrg-shell .flat-blank{inset:58px 8px 24px}
html.hrg-docked .hrg-shell .box-stage{scale:1.06}
html.hrg-docked .hrg-shell .flute-inset{bottom:22px;inset-inline-end:8px;width:88px;padding:4px;background:#0e1316;border-color:var(--hrg-rim)}
.hrg-shell[data-stage=compact] .config-views,.hrg-shell[data-stage=compact] .flute-inset,.hrg-shell[data-stage=summary] .flute-inset{display:none}
html.hrg-docked .hrg-shell[data-stage=compact] .box-stage,html.hrg-docked .hrg-shell[data-stage=compact] .flat-blank{inset:6px 6px 18px}
/* Frosted seam: a decorative 14 px band at the bottom edge of the stage. The box and the flute
   inset stop above it, so it never covers the box or any text. */
.hrg-shell-seam{position:absolute;z-index:4;left:0;right:0;bottom:0;height:14px;pointer-events:none;
  background:rgba(11,15,18,.9);border-top:1px solid rgba(255,255,255,.12)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .hrg-shell:not(.hrg-lite) .hrg-shell-seam{background:rgba(11,15,18,.5);-webkit-backdrop-filter:blur(10px) saturate(140%);backdrop-filter:blur(10px) saturate(140%)}}
@media (prefers-reduced-transparency:reduce){.hrg-shell .hrg-shell-seam{background:#0b0f12!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}

/* Dock: solid surface, progress in the logo colours (decorative; the step count is the text) */
.hrg-shell-dock{position:relative;display:flex;flex-direction:column;min-height:0;background:var(--hrg-dock-bg);
  border-top:1px solid rgba(230,197,135,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.hrg-shell-progress{position:absolute;top:-1px;inset-inline-start:0;height:3px;width:var(--hrg-progress,0%);
  background:linear-gradient(90deg,#1470AE,#62A843,#F8E21A,#E62E7B);transition:width .35s ease}
[dir=rtl] .hrg-shell-progress,.hrg-shell[dir=rtl] .hrg-shell-progress{background:linear-gradient(270deg,#1470AE,#62A843,#F8E21A,#E62E7B)}
.hrg-shell-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:10px}
.hrg-shell-msg{display:flex;align-items:flex-start;gap:12px;padding:12px 14px 6px}

/* Packy and his message inside the dock (overrides the floating design-tour placement) */
html.hrg-docked .hrg-shell .hrg-tour-bot{position:static;flex:none;width:52px;height:52px;min-width:44px;min-height:44px;filter:none;animation:none}
html.hrg-docked .hrg-shell .hrg-tbubble{position:static;flex:1 1 auto;min-width:0;width:auto;max-width:none;max-height:none;overflow:visible;
  margin:0;padding:10px 12px;translate:none;touch-action:auto;cursor:auto;user-select:text;-webkit-user-select:text;
  background:var(--hrg-card);border:1px solid var(--hrg-rim);border-radius:14px;box-shadow:none;text-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;color:var(--hrg-ink);font-size:.95rem;line-height:1.45;gap:8px}
html.hrg-docked .hrg-shell .hrg-tbubble .hrg-btn{min-height:48px}
html.hrg-docked .hrg-shell .hrg-tbubble .hrg-note{color:#c9c0b2}

/* The real configurator form, one step at a time */
html.hrg-docked .hrg-shell .config-controls{padding:4px 14px 12px;gap:10px}
html.hrg-docked .hrg-shell .config-label{margin-top:4px;color:#e9ebe8}
html.hrg-docked .hrg-shell .config-controls select,html.hrg-docked .hrg-shell .config-controls input{min-height:48px;font-size:16px;border-radius:10px}
html.hrg-docked .hrg-shell .dimension-fields{gap:8px}
html.hrg-docked .hrg-shell .dimension-fields label,html.hrg-docked .hrg-shell .config-qty{color:#c3c9cb;font-size:.8rem}
html.hrg-docked .hrg-shell .config-style-note{margin:4px 0 0}
html.hrg-docked .hrg-shell .config-export textarea{min-height:120px}
html.hrg-docked .hrg-shell #config-cta{display:none} /* summary buttons call it; guide.js clicks it */
#config-form[data-hrg-step=d1]>[data-hrg-for]:not([data-hrg-for=d1]),
#config-form[data-hrg-step=d2]>[data-hrg-for]:not([data-hrg-for=d2]),
#config-form[data-hrg-step=d3]>[data-hrg-for]:not([data-hrg-for=d3]),
#config-form[data-hrg-step=d4]>[data-hrg-for]:not([data-hrg-for=d4]),
#config-form[data-hrg-step=d5]>[data-hrg-for]:not([data-hrg-for=d5]),
#config-form[data-hrg-step=d6]>[data-hrg-for]:not([data-hrg-for=d6]),
#config-form[data-hrg-step=d7]>[data-hrg-for],
#config-form[data-hrg-step=d8]>[data-hrg-for]:not([data-hrg-for=d8]){display:none}
html.hrg-docked #config-form[data-hrg-step]>.config-error[data-hrg-for]:not([hidden]){display:block}
html.hrg-docked .hrg-shell .hrg-lit-item{outline-offset:2px;box-shadow:0 0 0 4px rgba(230,197,135,.14)!important}

/* Persistent tour bar: solid, 44-48 px targets, glass rim on the buttons only */
.hrg-shell-bar{flex:none;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));background:#0d1215;border-top:1px solid rgba(255,255,255,.08)}
html.hrg-docked .hrg-shell .hrg-pill{display:flex;align-items:center;gap:5px;width:100%;padding:0;margin:0;
  background:transparent;border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html.hrg-docked .hrg-shell .hrg-pbtn{flex:none;width:48px;height:48px;border-radius:14px;background:#161c20;color:var(--hrg-ink);
  border:1px solid var(--hrg-rim);border-top-color:var(--hrg-rim-hi)}
html.hrg-docked .hrg-shell .hrg-pnext{flex:1 1 auto;width:auto;min-width:56px;background:linear-gradient(135deg,#f1d9a4,#c99a4c);color:#1a1208;border-color:transparent}
html.hrg-docked .hrg-shell .hrg-pbtn[hidden]{display:none}
html.hrg-docked .hrg-shell .hrg-pcount{flex:none;min-width:36px}
html.hrg-docked .hrg-shell .hrg-pbtn:focus-visible,html.hrg-docked .hrg-shell :focus-visible{outline:2px solid #F8E21A;outline-offset:2px}
@media (max-width:359px){html.hrg-docked .hrg-shell .hrg-pbtn{width:44px;height:44px}.hrg-shell-bar{padding-inline:8px}}

/* Landscape phones: preview beside the dock */
@media (orientation:landscape) and (max-height:520px){
  .hrg-shell,.hrg-shell[data-stage]{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1.1fr) minmax(290px,1fr)}
  .hrg-shell-dock{border-top:0;border-inline-start:1px solid rgba(230,197,135,.3)}
  .hrg-shell-msg{padding-top:8px}
  html.hrg-docked .hrg-shell .hrg-tour-bot{width:40px;height:40px}
}
@media (prefers-reduced-motion:reduce){.hrg-shell-progress{transition:none}}

/* Desktop and tablet: Packy's floating launcher is just the character (no label, no circle).
   The label stays for screen readers; the button keeps its focus ring and 44 px minimum. */
.hrg-launch,[dir=rtl] .hrg-launch{padding:0;gap:0;min-width:44px;min-height:44px;border:0;border-radius:16px;background:transparent;box-shadow:none}
.hrg-launch:hover{background:transparent;border-color:transparent}
.hrg-launch .hrg-launch-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.hrg-launch .hrg-bot{width:64px;height:64px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.5));transition:transform .2s ease}
.hrg-launch:hover .hrg-bot{transform:translateY(-3px)}
@media (max-width:700px){.hrg-launch .hrg-bot{width:clamp(58px,15vw,64px);height:clamp(58px,15vw,64px)}}
@media (prefers-reduced-motion:reduce){.hrg-launch .hrg-bot{transition:none}.hrg-launch:hover .hrg-bot{transform:none}}
